]> sourceware.org Git - glibc.git/blame - ChangeLog
Fix unused variable warnings from MIPS syscall macros.
[glibc.git] / ChangeLog
CommitLineData
ee663277
JM
12012-11-19 Joseph Myers <joseph@codesourcery.com>
2
116fc08a
JM
3 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4 [POSIX] (EADDRNOTAVAIL): Likewise.
5 [POSIX] (EAFNOSUPPORT): Likewise.
6 [POSIX] (EALREADY): Likewise.
7 [POSIX] (ECONNABORTED): Likewise.
8 [POSIX] (ECONNREFUSED): Likewise.
9 [POSIX] (ECONNRESET): Likewise.
10 [POSIX] (EDESTADDRREQ): Likewise.
11 [POSIX] (EDQUOT): Likewise.
12 [POSIX] (EHOSTUNREACH): Likewise.
13 [POSIX] (EIDRM): Likewise.
14 [POSIX] (EISCONN): Likewise.
15 [POSIX] (ELOOP): Likewise.
16 [POSIX] (EMULTIHOP): Likewise.
17 [POSIX] (ENETDOWN): Likewise.
18 [POSIX] (ENETUNREACH): Likewise.
19 [POSIX] (ENOBUFS): Likewise.
20 [POSIX] (ENODATA): Likewise.
21 [POSIX] (ENOLINK): Likewise.
22 [POSIX] (ENOMSG): Likewise.
23 [POSIX] (ENOPROTOOPT): Likewise.
24 [POSIX] (ENOSR): Likewise.
25 [POSIX] (ENOSTR): Likewise.
26 [POSIX] (ENOTCONN): Likewise.
27 [POSIX] (ENOTSOCK): Likewise.
28 [POSIX] (EOPNOTSUPP): Likewise.
29 [POSIX] (EOVERFLOW): Likewise.
30 [POSIX] (EPROTO): Likewise.
31 [POSIX] (EPROTONOSUPPORT): Likewise.
32 [POSIX] (EPROTOTYPE): Likewise.
33 [POSIX] (ESTALE): Likewise.
34 [POSIX] (ETIME): Likewise.
35 [POSIX] (ETXTBSY): Likewise.
36 [POSIX] (EWOULDBLOCK): Likewise.
37 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
38 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
39 [POSIX] (SEEK_CUR): Likewise.
40 [POSIX] (SEEK_END): Likewise.
41 [POSIX || UNIX98] (mode_t): Do not require.
42 [POSIX] (off_t): Likewise.
43 [POSIX] (pid_t): Likewise.
44 [POSIX] (sys/stat.h): Do not allow header.
45 [POSIX] (unistd.h): Likewise.
46 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
47 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
48 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
49 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
50 require.
51 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
52 sigevent): Specify elements.
53 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
54 entry.
55 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
56 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
57
a483863f
JM
58 * conform/data/cpio.h-data [POSIX]: Disable whole file.
59 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
60 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
61 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
62 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
63 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
64 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
65 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
66 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
67 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
68 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
69 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
70 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
71 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
72 Likewise.
73 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
74 Likewise.
75 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
76 Likewise.
77 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
78 Likewise.
79 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
80 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
81 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
82 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
83 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
84 Specify lower bound on value.
85 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
86 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
87 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
88 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
89 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
90 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
91 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
92 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
93 value.
94 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
95 as optional.
96 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
97 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
98 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
99 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
100 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
101 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
102 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
103 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
104 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
105 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
106 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
107 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
108 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
109 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
110 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
111 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
112 entry.
113 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
114 optional.
115 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
116 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
117 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
118 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
119 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
120 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
121 Likewise.
122 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
123 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
124 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
125 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
126 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
127 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
128 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
129 as optional.
130 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
131 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
132 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
133 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
134 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
135 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
136 specify as optional.
137 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
138 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
139 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
140 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
141 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
142 [XPG3] (NL_LANGMAX): Likewise.
143 [POSIX || XPG3] (NL_MSGMAX): Likewise.
144 [POSIX || XPG3] (NL_NMAX): Likewise.
145 [POSIX || XPG3] (NL_SETMAX): Likewise.
146 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
147 [XPG3] (NZERO): Likewise.
148 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
149 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
150 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
151 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
152 (REG_ERANGE): Expect.
153 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
154 optional-constant.
155 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
156 Use (void) in prototype.
157 [POSIX] (*_t): Allow.
158 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
159 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
160 (WRDE_BADVAL): Expect.
161
5ba924e3
JM
162 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
163 expect.
164 [XPG3 || XPG4] (O_RSYNC): Likewise.
165 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
166 Likewise.
167 [XPG3 || XPG4] (pthread_sigmask): Likewise.
168 [XPG3 || XPG4] (sigqueue): Likewise.
169 [XPG3 || XPG4] (sigtimedwait): Likewise.
170 [XPG3 || XPG4] (sigwaitinfo): Likewise.
171 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
172 [XPG3 || XPG4] (vsnprintf): Likewise.
173 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
174 Likewise.
175 [XPG3 || XPG4] (blksize_t): Likewise.
176 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
177 Likewise.
178 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
179 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
180 [XPG3 || XPG4] (struct itimerspec): Likewise.
181 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
182 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
183 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
184 [XPG3 || XPG4] (clockid_t): Likewise.
185 [XPG3 || XPG4] (timer_t): Likewise.
186 [XPG3 || XPG4] (clock_getres): Likewise.
187 [XPG3 || XPG4] (clock_gettime): Likewise.
188 [XPG3 || XPG4] (clock_settime): Likewise.
189 [XPG3 || XPG4] (nanosleep): Likewise.
190 [XPG3 || XPG4] (timer_create): Likewise.
191 [XPG3 || XPG4] (timer_delete): Likewise.
192 [XPG3 || XPG4] (timer_gettime): Likewise.
193 [XPG3 || XPG4] (timer_getoverrun): Likewise.
194 [XPG3 || XPG4] (timer_settime): Likewise.
195 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
196 [XPG3 || XPG4] (getlogin_r): Likewise.
197 [XPG3 || XPG4] (pread): Likewise.
198 [XPG3 || XPG4] (pthread_atfork): Likewise.
199 [XPG3 || XPG4] (pwrite): Likewise.
200
ee663277
JM
201 [BZ #14835]
202 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
203 <bits/siginfo.h>.
204
942caa16
PT
2052012-11-19 Pino Toscano <toscano.pino@tiscali.it>
206
e19af380
PT
207 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
208 finalizing MALLSTREAM.
209
942caa16
PT
210 * sysdeps/mach/hurd/syncfs.c: New file.
211
cfde9b46
SP
2122012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
213
214 [BZ #14719]
215 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
216 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
217 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
218 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
219 (_nss_dns_gethostbyname4_r): Likewise.
220 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
221 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
222
f6da27e5
PH
2232012-11-19 Peng Haitao <penght@cn.fujitsu.com>
224
225 [BZ #13763]
226 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
227
6665d4a2
SM
2282012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
229
1f51ee92
SM
230 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
231 * elf/cache.c (print_entry): Print ",AArch64" for
232 FLAG_AARCH64_LIB64
233
6665d4a2
SM
234 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
235 * elf/cache.c (print_entry): Print ",hard-float" for
236 FLAG_ARM_LIBHF.
237
05b227bd
DM
2382012-11-18 David S. Miller <davem@davemloft.net>
239
240 With help from Joseph Myers.
241 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
242 cutoff to 2**-13.
243 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
244 cutoff to 2**-25.
245 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
246 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
247 small.
248 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
249 * math/libm-test.inc (y0_test): New tests.
250 (y1_test): New tests.
251 * sysdeps/i386/fpu/libm-test-ulps: Update.
252 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
253 * sysdeps/sparc/fpu/libm-test-ulps: Update.
254
786b0b67
AS
2552012-11-18 Andreas Schwab <schwab@linux-m68k.org>
256
257 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
258 64-bit targets.
259 * configure: Regenerated.
260
8e18b86d
DM
2612012-11-17 David S. Miller <davem@davemloft.net>
262
263 [BZ #14811]
264 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
265 nonzero exponents with absolute value below 0x1p-128 to +/-
266 0x1p-128.
267
531f1ae0
JM
2682012-11-17 Joseph Myers <joseph@codesourcery.com>
269
12df29e2
JM
270 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
271
150dc1a0
JM
272 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
273
531f1ae0
JM
274 * posix/getconf-speclist.c: New file.
275 * posix/posix-envs.def: Likewise.
276 * posix/confstr.c (START_ENV_GROUP): New macro.
277 (END_ENV_GROUP): Likewise.
278 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
279 (KNOWN_PRESENT_ENV_STRING): Likewise.
280 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
281 (UNKNOWN_ENVIRONMENT): Likewise.
282 (confstr): Include posix-envs.def instead of handling
283 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
284 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
285 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
286 (END_ENV_GROUP): Likewise.
287 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
288 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
289 (UNKNOWN_ENVIRONMENT): Likewise.
290 (__sysconf): Include posix-envs.def instead of handling associated
291 cases directly here.
292 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
293 preprocessing getconf-speclist.c rather than running getconf or
294 generating empty file.
295
a93f9cbc
PT
2962012-11-16 Pino Toscano <toscano.pino@tiscali.it>
297
298 * scripts/check-local-headers.sh: Ignore 'mach' headers.
299
d64d9f87
AL
3002012-11-16 Andrej Lajovic <natrij@gmail.com>
301
302 [BZ #14672]
303 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
304
447885eb
DM
3052012-11-16 David S. Miller <davem@davemloft.net>
306
307 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
308 smaller than LDBL_EPSILON/2.0L, just return xm1.
309
bcbf9830
L
3102012-11-16 H.J. Lu <hongjiu.lu@intel.com>
311
312 * elf/tst-array1.c (init): Set constructor priority to 1000.
313 (fini): Set destructor priority to 1000.
314 * elf/tst-array2dep.c: Likewise.
315
2b766585
SP
3162012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
317
318 [BZ #11741]
319 * libio/fileops.c (_IO_new_file_write): Correctly return error.
320 (_IO_new_file_xsputn): Also return EOF if none of the input
321 data was written when overflow failed.
322 * libio/iopadn.c (_IO_padn): Likewise.
323 * libio/iowpadn.c (_IO_wpadn): Likewise.
324 * stdio-common/tst-put-error.c: Add copyright notice.
325 (do_test): Add case for printing padded string.
326 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
327 _IO_padn returned error.
328 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
329 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
330 return EOF.
331
b1848fde
SP
3322012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
333
334 * libio/libioP.h: Add comment note that the references to C++
335 bits are now obsolete.
336
2fd89785
MS
3372012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
338
339 * math/libm-test.inc (check_complex): Use asprintf.
340
e3ea5409
JM
3412012-11-14 Joseph Myers <joseph@codesourcery.com>
342
343 * debug/pcprofiledump.c (print_version): Update copyright year.
344 * malloc/memusagestat.c (print_version): Likewise.
345
2e64d265
L
3462012-11-14 H.J. Lu <hongjiu.lu@intel.com>
347
348 [BZ #14831]
349 * elf/Makefile (tests): Add tst-audit8.
350 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
351 ($(objpfx)tst-audit8.out): New target.
352 (tst-audit8-ENV): New variable.
353 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
354 audit if l_reloc_result is NULL.
355 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
356 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
357 * elf/tst-audit8.c: New file.
358
c485e4d2
MS
3592012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
360
361 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
362 * misc/Makefile (CFLAGS-select.c): Define.
363 * posix/Makefile (CFLAGS-pause.c): Define.
364
3a0d900a
DM
3652012-11-13 David S. Miller <davem@davemloft.net>
366
367 * crypt/Makefile: Move test targets after toplevel Rules
368 inclusion. Grab any necessary sysdep routines when linking.
369 * crypt/md5.c (md5_process_block): Remove define, we will always
370 name it __md5_process_block.
371 (md5_finish_ctx): Update md5_process_block call.
372 (md5_stream): Likewise.
373 (md5_process_bytes): Likewise.
374 (md5_process_block): Rename to __md5_process_block and move to ...
375 * crypt/md5-block.c: ... here.
376 * crypt/sha256.c (sha256_process_block): Move to ...
377 * crypt/sha256-block.c: ... here.
378 * crypt/sha512.c (sha512_process_block): Move to ...
379 * crypt/sha512-block.c: ... here.
380 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
381 path.
382 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
383 * sysdeps/sparc/sparc64/multiarch/Makefile
384 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
385 crypt subdir.
386 (localedef-aux): Add md5 crypto assembler when in locale subdir.
387 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
388 multiarch changes.
389 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
390 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
391 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
392 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
393 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
394 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
395 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
396 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
397 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
398 file.
399 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
400 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
401 file.
402 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
403
8ca89318
JM
4042012-11-13 Joseph Myers <joseph@codesourcery.com>
405
e27d476a
JM
406 * timezone/tzselect.ksh: Update from tzcode git revision
407 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
408 * timezone/zdump.c: Likewise.
409 * timezone/zic.c: Likewise.
410 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
411 in TZVERSION setting, not $(PKGVERSION).
412 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
413 REPORT_BUGS_TO settings.
414
8ca89318
JM
415 [BZ #14838]
416 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
417 macro.
418
47594329
MS
4192012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
420
421 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
422 detection to immediately after _FP_ROUND().
423 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
424 bits are 0.
425
640ac3f1
DM
4262012-11-11 David S. Miller <davem@davemloft.net>
427
428 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
429 inttypes.h
430 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
431 __close rather than their public counterparts.
432
3d2577bb
JM
4332012-11-10 Joseph Myers <joseph@codesourcery.com>
434
435 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
436 file.
437 [UNIX98] (sem_timedwait): Do not expect.
438 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
439 [XPG4 || UNIX98] (sockatmark): Do not expect.
440 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
441 (clock_getcpuclockid): Do not expect.
442 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
443 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
444 Do not expect.
445 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
446 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
447 [UNIX98] (vwscanf): Likewise.
448 [UNIX98] (vswscanf): Likewise.
449
fb1ae1ee
JM
4502012-11-09 Joseph Myers <joseph@codesourcery.com>
451
9ec6f8bd
JM
452 * timezone/version.h: Remove file.
453 * timezone/README: Do not refer to version.h.
454 * timezone/Makefile ($(objpfx)zic.o): New dependency on
455 $(objpfx)version.h.
456 ($(objpfx)zdump.o): Likewise.
c3f81911 457 ($(objpfx)version.h): New target.
9ec6f8bd 458
0aa8f8a1
JM
459 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
460 2012i.
461 * timezone/README: Don't mention modification to tzselect.ksh.
462 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
463 work on unmodified tzselect.ksh. Substitute version numbers in
464 tzselect.ksh.
465
4e87147f
JM
466 * Makefile (format-me): Remove.
467 (INSTALL): Adjust indentation. Use commands directly instead of
468 using $(format-me).
469
8b748aed
JM
470 * aclocal.m4 (ACX_PKGVERSION): New macro.
471 (ACX_BUGURL): Likewise.
472 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
473 (PKGVERSION): New AC_DEFINE_UNQUOTED.
474 (REPORT_BUGS_TO): Likewise.
475 * configure: Regenerated.
476 * config.h.in (PKGVERSION): New macro.
477 (REPORT_BUGS_TO): Likewise.
478 * config.make.in (PKGVERSION): New variable.
479 (PKGVERSION_TEXI): Likewise.
480 (REPORT_BUGS_TO): Likewise.
481 (REPORT_BUGS_TEXI): Likewise.
482 * Makefile (format-me): Use -I$(common-objpfx)manual.
483 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
484 ($(common-objpfx)manual/%): New target.
485 (manual/%): Remove target.
486 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
487 (print_version): Use PKGVERSION.
488 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
489 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
490 and REPORT_BUGS_TO.
491 ($(objpfx)xtrace): Likewise.
492 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
493 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
494 (print_version): Use PKGVERSION.
495 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
496 (do_version): Use PKGVERSION.
497 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
498 REPORT_BUGS_TO.
499 (common-ldd-rewrite): Likewise.
500 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
501 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
502 (print_version): Use PKGVERSION.
503 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
504 * elf/pldd.c (argp_program_bug_address): Remove variable.
505 (more_help): New function.
506 (argp): Use more_help.
507 (print_version): Use PKGVERSION.
508 * elf/sln.c (main): Use PKGVERSION.
509 (usage): Use REPORT_BUGS_TO.
510 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
511 (top level): Use PKGVERSION.
512 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
513 (print_version): Use PKGVERSION.
514 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
515 (print_version): Use PKGVERSION.
516 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
517 (print_version): Use PKGVERSION.
518 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
519 (print_version): Use PKGVERSION.
520 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
521 (print_version): Use PKGVERSION.
522 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
523 (print_version): Use PKGVERSION.
524 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
525 and BUGURL.
526 ($(objpfx)memusage): Likewise.
527 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
528 (do_version): Use PKGVERSION.
529 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
530 (print_version): Use PKGVERSION.
531 * malloc/mtrace.pl ($PACKAGE): Remove variable.
532 ($PKGVERSION): New variable.
533 ($REPORT_BUGS_TO): Likewise.
534 (usage): Use $REPORT_BUGS_TO.
535 (top level): Use $PKGVERSION.
536 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
537 ($(objpfx)pkgvers.texi): New rule.
538 ($(objpfx)stamp-pkgvers): Likewise.
539 * manual/install.texi: Include pkgvers.texi.
540 (--with-pkgversion): Document new configure option.
541 (--with-bugurl): Likewise.
542 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
543 than necessarily for this particular distribution. Use
544 REPORT_BUGS_TO for where to report bugs.
545 * INSTALL: Regenerated.
546 * manual/libc.texinfo: Include pkgvers.texi.
547 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
548 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
549 (print_version): Use PKGVERSION.
550 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
551 (print_version): Use PKGVERSION.
552 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
553 (print_version): Use PKGVERSION.
554 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
555 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
556 macro.
557 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
558 (print_version): Use PKGVERSION.
559 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
560 (print_version): Use PKGVERSION.
561 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
562 and PKGVERSION.
563
92e4b6a9
JM
564 * timezone/checktab.awk: Update from tzcode 2012i.
565 * timezone/ialloc.c: Likewise.
566 * timezone/private.h: Likewise.
567 * timezone/scheck.c: Likewise.
568 * timezone/tzfile.h: Likewise.
569 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
570 (TZVERSION): Hardcode tzcode version number.
571 * timezone/zdump.c: Update from tzcode 2012i.
572 * timezone/zic.c: Likewise.
573 * timezone/version.h: New file.
574 * timezone/README: Describe version.h. Update upstream location.
575
9bde902c
JM
576 [BZ #14824]
577 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
578 (mktemp): Enable declaration.
579 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
580 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
581 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
582 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
583 Likewise.
584 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
585 Likewise.
586 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
587 Likewise.
588 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
589 Likewise.
590 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
591 Likewise.
592 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
593 Likewise.
594
fb1ae1ee
JM
595 [BZ #14821]
596 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
597 offset in buffer as u_int32_t not u_long. Consistently use memcpy
598 for copies of such integer values.
599 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
600 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
601
2c1adbcb
AJ
6022012-11-09 Andreas Jaeger <aj@suse.de>
603
604 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
605 definitions and declarations that are provided by
606 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
607
d0f8457e
AK
6082012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
609
610 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
611 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
612 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
613 definition.
614
57241e26
MS
6152012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
616
617 * elf/elf.h: Update comment before AArch64 relocations.
618
60e8270d
DM
6192012-11-07 David S. Miller <davem@davemloft.net>
620
621 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
622 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
623 (__start_context): Declare.
624 (__makecontext_ret): Delete.
625 (__makecontext): Hook up __start_context instead of
626 __makecontext_ret.
627 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
628 (sysdep_routines): Add __start_context when in stdlib.
629
0fbb0fbc
JM
6302012-11-07 Joseph Myers <joseph@codesourcery.com>
631
632 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
633 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
634 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
635 hardcoded "nm".
636 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
637 (READELF): New variable. Use it instead of hardcoded "readelf".
638
eb48db7e
L
6392012-11-07 H.J. Lu <hongjiu.lu@intel.com>
640
641 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
642 * sysdeps/x86/Makefile: Here.
643 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
644 * sysdeps/x86/tst-xmmymm.sh: This.
645
05bcf62a
JM
6462012-11-07 Joseph Myers <joseph@codesourcery.com>
647
c4b6cf53
JM
648 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
649 expectations.
650 [UNIX98] (pthread_barrier_t): Do not expect.
651 [UNIX98] (pthread_barrierattr_t): Likewise.
652 [UNIX98] (pthread_spinlock_t): Likewise.
653 [UNIX98] (pthread_barrier_destroy): Likewise.
654 [UNIX98] (pthread_barrier_init): Likewise.
655 [UNIX98] (pthread_barrier_wait): Likewise.
656 [UNIX98] (pthread_barrierattr_destroy): Likewise.
657 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
658 [UNIX98] (pthread_barrierattr_init): Likewise.
659 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
660 [UNIX98] (pthread_getcpuclockid): Likewise.
661 [UNIX98] (pthread_mutex_timedlock): Likewise.
662 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
663 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
664 [UNIX98] (pthread_sigmask): Likewise.
665 [UNIX98] (pthread_spin_destroy): Likewise.
666 [UNIX98] (pthread_spin_init): Likewise.
667 [UNIX98] (pthread_spin_lock): Likewise.
668 [UNIX98] (pthread_spin_trylock): Likewise.
669 [UNIX98] (pthread_spin_unlock): Likewise.
670 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
671 Do not expect.
672 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
673 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
674 [XPG3 || XPG4] (pthread_cond_t): Likewise.
675 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
676 [XPG3 || XPG4] (pthread_key_t): Likewise.
677 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
678 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
679 [XPG3 || XPG4] (pthread_once_t): Likewise.
680 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
681 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
682 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
683 [XPG3 || XPG4] (pthread_t): Likewise.
684
cbe6e120
JM
685 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
686 not expect.
687 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
688
1b126443
JM
689 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
690 Change function return type to int.
691
b961a573
JM
692 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
693 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
694 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
695 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
696 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
697 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
698 [!POSIX] (posix_madvise): Likewise.
699 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
700 && !UNIX98].
701 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
702 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
703 (mode_t): Likewise.
704 (posix_mem_offset): Likewise.
705 (posix_typed_mem_get_info): Likewise.
706 (posix_typed_mem_open): Likewise.
707
9e188909
JM
708 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
709 Change condition to [XOPEN2K8].
710
05bcf62a
JM
711 * conform/conformtest.pl: Preprocess allow-header data with -x c
712 instead of from stdin.
713 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
714 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
715 [C99-based standards] (cerfc): Likewise.
716 [C99-based standards] (cexp2): Likewise.
717 [C99-based standards] (cexpm1): Likewise.
718 [C99-based standards] (clog10): Likewise.
719 [C99-based standards] (clog1p): Likewise.
720 [C99-based standards] (clog2): Likewise.
721 [C99-based standards] (clgamma): Likewise.
722 [C99-based standards] (ctgamma): Likewise.
723 [C99-based standards] (cerff): Likewise.
724 [C99-based standards] (cerfcf): Likewise.
725 [C99-based standards] (cexp2f): Likewise.
726 [C99-based standards] (cexpm1f): Likewise.
727 [C99-based standards] (clog10f): Likewise.
728 [C99-based standards] (clog1pf): Likewise.
729 [C99-based standards] (clog2f): Likewise.
730 [C99-based standards] (clgammaf): Likewise.
731 [C99-based standards] (ctgammaf): Likewise.
732 [C99-based standards] (cerfl): Likewise.
733 [C99-based standards] (cerfcl): Likewise.
734 [C99-based standards] (cexp2l): Likewise.
735 [C99-based standards] (cexpm1l): Likewise.
736 [C99-based standards] (clog10l): Likewise.
737 [C99-based standards] (clog1pl): Likewise.
738 [C99-based standards] (clog2l): Likewise.
739 [C99-based standards] (clgammal): Likewise.
740 [C99-based standards] (ctgammal): Likewise.
741 * conform/data/inttypes.h-data [C99-based standards]: Include
742 stdint.h-data. Remove all expectations for stdint.h contents.
743 [C99-based standards] (PRI*): Do not allow.
744 [C99-based standards] (SCN*): Likewise.
745 [C99-based standards] (*_t): Likewise.
746 [C99-based-standards] (PRId8): Expect macro.
747 [C99-based-standards] (PRIi8): Likewise.
748 [C99-based-standards] (PRIo8): Likewise.
749 [C99-based-standards] (PRIu8): Likewise.
750 [C99-based-standards] (PRIx8): Likewise.
751 [C99-based-standards] (PRIX8): Likewise.
752 [C99-based-standards] (SCNd8): Likewise.
753 [C99-based-standards] (SCNi8): Likewise.
754 [C99-based-standards] (SCNo8): Likewise.
755 [C99-based-standards] (SCNu8): Likewise.
756 [C99-based-standards] (SCNx8): Likewise.
757 [C99-based-standards] (PRIdLEAST8): Likewise.
758 [C99-based-standards] (PRIiLEAST8): Likewise.
759 [C99-based-standards] (PRIoLEAST8): Likewise.
760 [C99-based-standards] (PRIuLEAST8): Likewise.
761 [C99-based-standards] (PRIxLEAST8): Likewise.
762 [C99-based-standards] (PRIXLEAST8): Likewise.
763 [C99-based-standards] (SCNdLEAST8): Likewise.
764 [C99-based-standards] (SCNiLEAST8): Likewise.
765 [C99-based-standards] (SCNoLEAST8): Likewise.
766 [C99-based-standards] (SCNuLEAST8): Likewise.
767 [C99-based-standards] (SCNxLEAST8): Likewise.
768 [C99-based-standards] (PRIdFAST8): Likewise.
769 [C99-based-standards] (PRIiFAST8): Likewise.
770 [C99-based-standards] (PRIoFAST8): Likewise.
771 [C99-based-standards] (PRIuFAST8): Likewise.
772 [C99-based-standards] (PRIxFAST8): Likewise.
773 [C99-based-standards] (PRIXFAST8): Likewise.
774 [C99-based-standards] (SCNdFAST8): Likewise.
775 [C99-based-standards] (SCNiFAST8): Likewise.
776 [C99-based-standards] (SCNoFAST8): Likewise.
777 [C99-based-standards] (SCNuFAST8): Likewise.
778 [C99-based-standards] (SCNxFAST8): Likewise.
779 [C99-based-standards] (PRId16): Likewise.
780 [C99-based-standards] (PRIi16): Likewise.
781 [C99-based-standards] (PRIo16): Likewise.
782 [C99-based-standards] (PRIu16): Likewise.
783 [C99-based-standards] (PRIx16): Likewise.
784 [C99-based-standards] (PRIX16): Likewise.
785 [C99-based-standards] (SCNd16): Likewise.
786 [C99-based-standards] (SCNi16): Likewise.
787 [C99-based-standards] (SCNo16): Likewise.
788 [C99-based-standards] (SCNu16): Likewise.
789 [C99-based-standards] (SCNx16): Likewise.
790 [C99-based-standards] (PRIdLEAST16): Likewise.
791 [C99-based-standards] (PRIiLEAST16): Likewise.
792 [C99-based-standards] (PRIoLEAST16): Likewise.
793 [C99-based-standards] (PRIuLEAST16): Likewise.
794 [C99-based-standards] (PRIxLEAST16): Likewise.
795 [C99-based-standards] (PRIXLEAST16): Likewise.
796 [C99-based-standards] (SCNdLEAST16): Likewise.
797 [C99-based-standards] (SCNiLEAST16): Likewise.
798 [C99-based-standards] (SCNoLEAST16): Likewise.
799 [C99-based-standards] (SCNuLEAST16): Likewise.
800 [C99-based-standards] (SCNxLEAST16): Likewise.
801 [C99-based-standards] (PRIdFAST16): Likewise.
802 [C99-based-standards] (PRIiFAST16): Likewise.
803 [C99-based-standards] (PRIoFAST16): Likewise.
804 [C99-based-standards] (PRIuFAST16): Likewise.
805 [C99-based-standards] (PRIxFAST16): Likewise.
806 [C99-based-standards] (PRIXFAST16): Likewise.
807 [C99-based-standards] (SCNdFAST16): Likewise.
808 [C99-based-standards] (SCNiFAST16): Likewise.
809 [C99-based-standards] (SCNoFAST16): Likewise.
810 [C99-based-standards] (SCNuFAST16): Likewise.
811 [C99-based-standards] (SCNxFAST16): Likewise.
812 [C99-based-standards] (PRId32): Likewise.
813 [C99-based-standards] (PRIi32): Likewise.
814 [C99-based-standards] (PRIo32): Likewise.
815 [C99-based-standards] (PRIu32): Likewise.
816 [C99-based-standards] (PRIx32): Likewise.
817 [C99-based-standards] (PRIX32): Likewise.
818 [C99-based-standards] (SCNd32): Likewise.
819 [C99-based-standards] (SCNi32): Likewise.
820 [C99-based-standards] (SCNo32): Likewise.
821 [C99-based-standards] (SCNu32): Likewise.
822 [C99-based-standards] (SCNx32): Likewise.
823 [C99-based-standards] (PRIdLEAST32): Likewise.
824 [C99-based-standards] (PRIiLEAST32): Likewise.
825 [C99-based-standards] (PRIoLEAST32): Likewise.
826 [C99-based-standards] (PRIuLEAST32): Likewise.
827 [C99-based-standards] (PRIxLEAST32): Likewise.
828 [C99-based-standards] (PRIXLEAST32): Likewise.
829 [C99-based-standards] (SCNdLEAST32): Likewise.
830 [C99-based-standards] (SCNiLEAST32): Likewise.
831 [C99-based-standards] (SCNoLEAST32): Likewise.
832 [C99-based-standards] (SCNuLEAST32): Likewise.
833 [C99-based-standards] (SCNxLEAST32): Likewise.
834 [C99-based-standards] (PRIdFAST32): Likewise.
835 [C99-based-standards] (PRIiFAST32): Likewise.
836 [C99-based-standards] (PRIoFAST32): Likewise.
837 [C99-based-standards] (PRIuFAST32): Likewise.
838 [C99-based-standards] (PRIxFAST32): Likewise.
839 [C99-based-standards] (PRIXFAST32): Likewise.
840 [C99-based-standards] (SCNdFAST32): Likewise.
841 [C99-based-standards] (SCNiFAST32): Likewise.
842 [C99-based-standards] (SCNoFAST32): Likewise.
843 [C99-based-standards] (SCNuFAST32): Likewise.
844 [C99-based-standards] (SCNxFAST32): Likewise.
845 [C99-based-standards] (PRId64): Likewise.
846 [C99-based-standards] (PRIi64): Likewise.
847 [C99-based-standards] (PRIo64): Likewise.
848 [C99-based-standards] (PRIu64): Likewise.
849 [C99-based-standards] (PRIx64): Likewise.
850 [C99-based-standards] (PRIX64): Likewise.
851 [C99-based-standards] (SCNd64): Likewise.
852 [C99-based-standards] (SCNi64): Likewise.
853 [C99-based-standards] (SCNo64): Likewise.
854 [C99-based-standards] (SCNu64): Likewise.
855 [C99-based-standards] (SCNx64): Likewise.
856 [C99-based-standards] (PRIdLEAST64): Likewise.
857 [C99-based-standards] (PRIiLEAST64): Likewise.
858 [C99-based-standards] (PRIoLEAST64): Likewise.
859 [C99-based-standards] (PRIuLEAST64): Likewise.
860 [C99-based-standards] (PRIxLEAST64): Likewise.
861 [C99-based-standards] (PRIXLEAST64): Likewise.
862 [C99-based-standards] (SCNdLEAST64): Likewise.
863 [C99-based-standards] (SCNiLEAST64): Likewise.
864 [C99-based-standards] (SCNoLEAST64): Likewise.
865 [C99-based-standards] (SCNuLEAST64): Likewise.
866 [C99-based-standards] (SCNxLEAST64): Likewise.
867 [C99-based-standards] (PRIdFAST64): Likewise.
868 [C99-based-standards] (PRIiFAST64): Likewise.
869 [C99-based-standards] (PRIoFAST64): Likewise.
870 [C99-based-standards] (PRIuFAST64): Likewise.
871 [C99-based-standards] (PRIxFAST64): Likewise.
872 [C99-based-standards] (PRIXFAST64): Likewise.
873 [C99-based-standards] (SCNdFAST64): Likewise.
874 [C99-based-standards] (SCNiFAST64): Likewise.
875 [C99-based-standards] (SCNoFAST64): Likewise.
876 [C99-based-standards] (SCNuFAST64): Likewise.
877 [C99-based-standards] (SCNxFAST64): Likewise.
878 [C99-based-standards] (PRIdMAX): Likewise.
879 [C99-based-standards] (PRIiMAX): Likewise.
880 [C99-based-standards] (PRIoMAX): Likewise.
881 [C99-based-standards] (PRIuMAX): Likewise.
882 [C99-based-standards] (PRIxMAX): Likewise.
883 [C99-based-standards] (PRIXMAX): Likewise.
884 [C99-based-standards] (SCNdMAX): Likewise.
885 [C99-based-standards] (SCNiMAX): Likewise.
886 [C99-based-standards] (SCNoMAX): Likewise.
887 [C99-based-standards] (SCNuMAX): Likewise.
888 [C99-based-standards] (SCNxMAX): Likewise.
889 [C99-based-standards] (PRIdPTR): Likewise.
890 [C99-based-standards] (PRIiPTR): Likewise.
891 [C99-based-standards] (PRIoPTR): Likewise.
892 [C99-based-standards] (PRIuPTR): Likewise.
893 [C99-based-standards] (PRIxPTR): Likewise.
894 [C99-based-standards] (PRIXPTR): Likewise.
895 [C99-based-standards] (SCNdPTR): Likewise.
896 [C99-based-standards] (SCNiPTR): Likewise.
897 [C99-based-standards] (SCNoPTR): Likewise.
898 [C99-based-standards] (SCNuPTR): Likewise.
899 [C99-based-standards] (SCNxPTR): Likewise.
900 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
901 allow.
902 * conform/data/stdint.h-data: Update comments to clarify
903 requirements.
904 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
905 type.
906 [C99-based standards] (INT8_MAX): Likewise.
907 [C99-based standards] (INT16_MIN): Likewise.
908 [C99-based standards] (INT16_MAX): Likewise.
909 [C99-based standards] (INT32_MIN): Likewise.
910 [C99-based standards] (INT32_MAX): Likewise.
911 [C99-based standards] (INT64_MIN): Likewise.
912 [C99-based standards] (INT64_MAX): Likewise.
913 [C99-based standards] (UINT8_MAX): Likewise.
914 [C99-based standards] (UINT16_MAX): Likewise.
915 [C99-based standards] (UINT32_MAX): Likewise.
916 [C99-based standards] (UINT64_MAX): Likewise.
917 [C99-based standards] (INT_LEAST8_MIN): Likewise.
918 [C99-based standards] (INT_LEAST8_MAX): Likewise.
919 [C99-based standards] (INT_LEAST16_MIN): Likewise.
920 [C99-based standards] (INT_LEAST16_MAX): Likewise.
921 [C99-based standards] (INT_LEAST32_MIN): Likewise.
922 [C99-based standards] (INT_LEAST32_MAX): Likewise.
923 [C99-based standards] (INT_LEAST64_MIN): Likewise.
924 [C99-based standards] (INT_LEAST64_MAX): Likewise.
925 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
926 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
927 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
928 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
929 [C99-based standards] (INT_FAST8_MIN): Likewise.
930 [C99-based standards] (INT_FAST8_MAX): Likewise.
931 [C99-based standards] (INT_FAST16_MIN): Likewise.
932 [C99-based standards] (INT_FAST16_MAX): Likewise.
933 [C99-based standards] (INT_FAST32_MIN): Likewise.
934 [C99-based standards] (INT_FAST32_MAX): Likewise.
935 [C99-based standards] (INT_FAST64_MIN): Likewise.
936 [C99-based standards] (INT_FAST64_MAX): Likewise.
937 [C99-based standards] (UINT_FAST8_MAX): Likewise.
938 [C99-based standards] (UINT_FAST16_MAX): Likewise.
939 [C99-based standards] (UINT_FAST32_MAX): Likewise.
940 [C99-based standards] (UINT_FAST64_MAX): Likewise.
941 [C99-based standards] (INTPTR_MIN): Likewise.
942 [C99-based standards] (INTPTR_MAX): Likewise.
943 [C99-based standards] (UINTPTR_MAX): Likewise.
944 [C99-based standards] (INTMAX_MIN): Likewise.
945 [C99-based standards] (INTMAX_MAX): Likewise.
946 [C99-based standards] (UINTMAX_MAX): Likewise.
947 [C99-based standards] (PTRDIFF_MIN): Likewise.
948 [C99-based standards] (PTRDIFF_MAX): Likewise.
949 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
950 [C99-based standards] (SIZE_MAX): Likewise.
951 [C99-based standards] (WCHAR_MAX): Likewise.
952 [C99-based standards] (WINT_MAX): Likewise.
953 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
954 constraint on value.
955 [C99-based standards] (WCHAR_MIN): Likewise.
956 [C99-based standards] (WINT_MIN): Likewise.
957 [C99-based standards] (*_t): Allow.
958 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
959 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
960 Include math.h-data and complex.h-data. Remove all expectations
961 of math.h and complex.h contents.
962 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
963 at end of line.
964 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
965 (struct tm): Expect tag.
966 [C99-based-standards] (wcstof): Expect function.
967 [C99-based-standards] (wcstold): Likewise.
968 [C99-based-standards] (wcstoll): Likewise.
969 [C99-based-standards] (wcstoull): Likewise.
970 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
971 macro-int-constant. Specify type.
972 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
973 constraint on value.
974 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
975 Specify type.
976 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
977 Specify value.
978 [ISO C standards]: Do not allow headers.
979 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
980 wcs[abcdefghijklmnopqrstuvwxyz]*.
981 [ISO C standards] (*_t): Do not allow.
982 * conform/data/wctype.h-data [C99-based standards] (iswblank):
983 Expect function.
984 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
985 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
986 Specify type.
987 [ISO C standards]: Do not allow headers.
988 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
989 is[abcdefghijklmnopqrstuvwxyz]*.
990 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
991 to[abcdefghijklmnopqrstuvwxyz]*.
992 [ISO C standards] (*_t): Do not allow.
993 * conform/data/stdalign.h-data: New file.
994 * conform/data/stdbool.h-data: Likewise.
995 * conform/data/stdnoreturn.h-data: Likewise.
996
01f34a3b
JL
9972012-11-07 Andreas Jaeger <aj@suse.de>
998
999 [BZ #14809]
1000 * sysdeps/unix/sysv/linux/sys/sysctl.h (_UAPI_LINUX_KERNEL_H)
1001 (_UAPI_LINUX_TYPES_H): Starting with Linux 3.7, the include header
1002 guards are changed. Only define if not yet defined, #undef back
1003 after including linux/sysctl.h if defined here.
1004
7514feb8
RM
10052012-11-07 Roland McGrath <roland@hack.frob.com>
1006
1007 [BZ #14815]
1008 * manual/filesys.texi (Directory Entries): Typo fix.
1009 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1010
19b2ecfc
MS
10112012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1012
1013 * elf/elf.h (EM_AARCH64): New macro.
1014 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1015 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1016 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1017 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1018 (R_AARCH64_TLSDESC): Likewise.
1019 (NT_ARM_TLS): Likewise.
1020 (NT_ARM_HW_BREAK): Likewise.
1021 (NT_ARM_HW_WATCH): Likewise.
1022
60e235ee
JM
10232012-11-07 Joseph Myers <joseph@codesourcery.com>
1024
1025 [BZ #14811]
1026 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1027 (__ieee754_powl): Saturate nonzero exponents with absolute value
1028 below 0x1p-79 to +/- 0x1p-79.
1029 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1030 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1031 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1032 nonzero exponents with absolute value below 0x1p-32 to +/-
1033 0x1p-32.
1034 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1035 (__ieee754_powl): Saturate nonzero exponents with absolute value
1036 below 0x1p-79 to +/- 0x1p-79.
1037 * math/libm-test.inc (pow_test): Add more tests.
1038
0ab234b7
AK
10392012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1040
1041 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1042 _dl_s390_cap_flags with kernel. Increase string length.
1043 (_dl_s390_platforms): Add z196 and zEC12.
1044
45832f74
JM
10452012-11-07 Joseph Myers <joseph@codesourcery.com>
1046
1047 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1048 Change XOPEN21K to XOPEN2K.
1049
19218757
MK
10502012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
1051
1052 * string/memmove.c: Use memcpy when possible.
1053
c5f45721
AJ
10542012-11-06 Andreas Jaeger <aj@suse.de>
1055
1056 * po/eo.po: Update from translation team.
1057
82477c28
JM
10582012-11-06 Joseph Myers <joseph@codesourcery.com>
1059
1060 [BZ #14793]
1061 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1062 exponent and small x and y exponents, scale x or y up. Increase
1063 by 2 the exponent used in scaling up.
1064 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1065 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1066 * math/libm-test.inc (fma_test): Add more tests.
1067 (fma_test_towardzero): Likewise.
1068 (fma_test_downward): Likewise.
1069 (fma_test_upward): Likewise.
1070
99252c8c
JM
10712012-11-05 Joseph Myers <joseph@codesourcery.com>
1072
acfa885f
JM
1073 [BZ #14805]
1074 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1075 fenv_t *.
1076
99252c8c
JM
1077 [BZ #14801]
1078 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1079 namespace for names of struct fields.
1080 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1081 fenv_t fields.
1082 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1083 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1084
d6d98dea
ST
10852012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1086
1087 [BZ #3665]
1088 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1089
e10bb107
TS
10902012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1091
1092 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1093 PTR_DEMANGLE.
1094
1095 [BZ #5246]
1096 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1097 PTR_DEMANGLE.
1098
a0c2940d
JM
10992012-11-04 Joseph Myers <joseph@codesourcery.com>
1100
1101 [BZ #14797]
1102 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1103 definitely overflow as x * y not x * y + z.
1104 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1105 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1106 * math/libm-test.inc (fma_test): Add more tests.
1107 (fma_test_towardzero): Likewise.
1108 (fma_test_downward): Likewise.
1109 (fma_test_upward): Likewise.
1110
b830319d
TS
11112012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1112
1113 [BZ #157]
1114
1115 * include/stub-tag.h: Remove file.
1116 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1117 '#include' of it.
1118 * manual/maint.texi (Porting): Don't reference it.
1119 * Makerules ($(objpfx)stubs): Likewise.
1120 * dirent/closedir.c: Don't include <stub-tag.h>.
1121 * dirent/dirfd.c: Likewise.
1122 * dirent/fdopendir.c: Likewise.
1123 * dirent/getdents.c: Likewise.
1124 * dirent/getdents64.c: Likewise.
1125 * dirent/opendir.c: Likewise.
1126 * dirent/readdir.c: Likewise.
1127 * dirent/readdir64.c: Likewise.
1128 * dirent/readdir64_r.c: Likewise.
1129 * dirent/readdir_r.c: Likewise.
1130 * dirent/rewinddir.c: Likewise.
1131 * dirent/seekdir.c: Likewise.
1132 * dirent/telldir.c: Likewise.
1133 * gmon/profil.c: Likewise.
1134 * grp/setgroups.c: Likewise.
1135 * inet/if_index.c: Likewise.
1136 * io/access.c: Likewise.
1137 * io/chdir.c: Likewise.
1138 * io/chmod.c: Likewise.
1139 * io/chown.c: Likewise.
1140 * io/close.c: Likewise.
1141 * io/dup.c: Likewise.
1142 * io/dup2.c: Likewise.
1143 * io/dup3.c: Likewise.
1144 * io/euidaccess.c: Likewise.
1145 * io/faccessat.c: Likewise.
1146 * io/fchdir.c: Likewise.
1147 * io/fchmod.c: Likewise.
1148 * io/fchmodat.c: Likewise.
1149 * io/fchown.c: Likewise.
1150 * io/fchownat.c: Likewise.
1151 * io/fcntl.c: Likewise.
1152 * io/flock.c: Likewise.
1153 * io/fstatfs.c: Likewise.
1154 * io/fstatfs64.c: Likewise.
1155 * io/fstatvfs.c: Likewise.
1156 * io/fstatvfs64.c: Likewise.
1157 * io/futimens.c: Likewise.
1158 * io/fxstat.c: Likewise.
1159 * io/fxstat64.c: Likewise.
1160 * io/fxstatat.c: Likewise.
1161 * io/fxstatat64.c: Likewise.
1162 * io/getcwd.c: Likewise.
1163 * io/isatty.c: Likewise.
1164 * io/lchmod.c: Likewise.
1165 * io/lchown.c: Likewise.
1166 * io/link.c: Likewise.
1167 * io/linkat.c: Likewise.
1168 * io/lseek.c: Likewise.
1169 * io/lseek64.c: Likewise.
1170 * io/lxstat64.c: Likewise.
1171 * io/mkdir.c: Likewise.
1172 * io/mkdirat.c: Likewise.
1173 * io/mkfifo.c: Likewise.
1174 * io/mkfifoat.c: Likewise.
1175 * io/open.c: Likewise.
1176 * io/open64.c: Likewise.
1177 * io/openat.c: Likewise.
1178 * io/openat64.c: Likewise.
1179 * io/pipe.c: Likewise.
1180 * io/pipe2.c: Likewise.
1181 * io/poll.c: Likewise.
1182 * io/posix_fadvise.c: Likewise.
1183 * io/posix_fadvise64.c: Likewise.
1184 * io/posix_fallocate.c: Likewise.
1185 * io/posix_fallocate64.c: Likewise.
1186 * io/read.c: Likewise.
1187 * io/readlink.c: Likewise.
1188 * io/readlinkat.c: Likewise.
1189 * io/rmdir.c: Likewise.
1190 * io/sendfile.c: Likewise.
1191 * io/sendfile64.c: Likewise.
1192 * io/statfs.c: Likewise.
1193 * io/statfs64.c: Likewise.
1194 * io/statvfs.c: Likewise.
1195 * io/statvfs64.c: Likewise.
1196 * io/symlink.c: Likewise.
1197 * io/symlinkat.c: Likewise.
1198 * io/ttyname.c: Likewise.
1199 * io/ttyname_r.c: Likewise.
1200 * io/umask.c: Likewise.
1201 * io/unlink.c: Likewise.
1202 * io/unlinkat.c: Likewise.
1203 * io/utime.c: Likewise.
1204 * io/utimensat.c: Likewise.
1205 * io/write.c: Likewise.
1206 * io/xmknod.c: Likewise.
1207 * io/xmknodat.c: Likewise.
1208 * io/xstat.c: Likewise.
1209 * io/xstat64.c: Likewise.
1210 * login/getpt.c: Likewise.
1211 * login/grantpt.c: Likewise.
1212 * login/unlockpt.c: Likewise.
1213 * math/e_acoshl.c: Likewise.
1214 * math/e_acosl.c: Likewise.
1215 * math/e_asinl.c: Likewise.
1216 * math/e_atan2l.c: Likewise.
1217 * math/e_atanhl.c: Likewise.
1218 * math/e_coshl.c: Likewise.
1219 * math/e_expl.c: Likewise.
1220 * math/e_fmodl.c: Likewise.
1221 * math/e_gammal_r.c: Likewise.
1222 * math/e_hypotl.c: Likewise.
1223 * math/e_j0l.c: Likewise.
1224 * math/e_j1l.c: Likewise.
1225 * math/e_jnl.c: Likewise.
1226 * math/e_lgammal_r.c: Likewise.
1227 * math/e_log10l.c: Likewise.
1228 * math/e_log2l.c: Likewise.
1229 * math/e_logl.c: Likewise.
1230 * math/e_powl.c: Likewise.
1231 * math/e_rem_pio2l.c: Likewise.
1232 * math/e_sinhl.c: Likewise.
1233 * math/e_sqrtl.c: Likewise.
1234 * math/fclrexcpt.c: Likewise.
1235 * math/fedisblxcpt.c: Likewise.
1236 * math/feenablxcpt.c: Likewise.
1237 * math/fegetenv.c: Likewise.
1238 * math/fegetexcept.c: Likewise.
1239 * math/fegetround.c: Likewise.
1240 * math/feholdexcpt.c: Likewise.
1241 * math/fesetenv.c: Likewise.
1242 * math/fesetround.c: Likewise.
1243 * math/feupdateenv.c: Likewise.
1244 * math/fgetexcptflg.c: Likewise.
1245 * math/fraiseexcpt.c: Likewise.
1246 * math/fsetexcptflg.c: Likewise.
1247 * math/ftestexcept.c: Likewise.
1248 * math/k_cosl.c: Likewise.
1249 * math/k_rem_pio2l.c: Likewise.
1250 * math/k_sinl.c: Likewise.
1251 * math/k_tanl.c: Likewise.
1252 * math/s_asinhl.c: Likewise.
1253 * math/s_atanl.c: Likewise.
1254 * math/s_cbrtl.c: Likewise.
1255 * math/s_erfl.c: Likewise.
1256 * math/s_expm1l.c: Likewise.
1257 * math/s_log1pl.c: Likewise.
1258 * math/s_tanhl.c: Likewise.
1259 * misc/acct.c: Likewise.
1260 * misc/brk.c: Likewise.
1261 * misc/chflags.c: Likewise.
1262 * misc/chroot.c: Likewise.
1263 * misc/fchflags.c: Likewise.
1264 * misc/fgetxattr.c: Likewise.
1265 * misc/flistxattr.c: Likewise.
1266 * misc/fremovexattr.c: Likewise.
1267 * misc/fsetxattr.c: Likewise.
1268 * misc/fsync.c: Likewise.
1269 * misc/ftruncate.c: Likewise.
1270 * misc/futimes.c: Likewise.
1271 * misc/futimesat.c: Likewise.
1272 * misc/getdomain.c: Likewise.
1273 * misc/getdtsz.c: Likewise.
1274 * misc/gethostid.c: Likewise.
1275 * misc/gethostname.c: Likewise.
1276 * misc/getloadavg.c: Likewise.
1277 * misc/getpagesize.c: Likewise.
1278 * misc/getsysstats.c: Likewise.
1279 * misc/getxattr.c: Likewise.
1280 * misc/gtty.c: Likewise.
1281 * misc/ioctl.c: Likewise.
1282 * misc/lgetxattr.c: Likewise.
1283 * misc/listxattr.c: Likewise.
1284 * misc/llistxattr.c: Likewise.
1285 * misc/lremovexattr.c: Likewise.
1286 * misc/lsetxattr.c: Likewise.
1287 * misc/lutimes.c: Likewise.
1288 * misc/madvise.c: Likewise.
1289 * misc/mincore.c: Likewise.
1290 * misc/mlock.c: Likewise.
1291 * misc/mlockall.c: Likewise.
1292 * misc/mmap.c: Likewise.
1293 * misc/mprotect.c: Likewise.
1294 * misc/msync.c: Likewise.
1295 * misc/munlock.c: Likewise.
1296 * misc/munlockall.c: Likewise.
1297 * misc/munmap.c: Likewise.
1298 * misc/preadv.c: Likewise.
1299 * misc/preadv64.c: Likewise.
1300 * misc/ptrace.c: Likewise.
1301 * misc/pwritev.c: Likewise.
1302 * misc/pwritev64.c: Likewise.
1303 * misc/readv.c: Likewise.
1304 * misc/reboot.c: Likewise.
1305 * misc/remap_file_pages.c: Likewise.
1306 * misc/removexattr.c: Likewise.
1307 * misc/revoke.c: Likewise.
1308 * misc/select.c: Likewise.
1309 * misc/setdomain.c: Likewise.
1310 * misc/setegid.c: Likewise.
1311 * misc/seteuid.c: Likewise.
1312 * misc/sethostid.c: Likewise.
1313 * misc/sethostname.c: Likewise.
1314 * misc/setregid.c: Likewise.
1315 * misc/setreuid.c: Likewise.
1316 * misc/setxattr.c: Likewise.
1317 * misc/sstk.c: Likewise.
1318 * misc/stty.c: Likewise.
1319 * misc/swapoff.c: Likewise.
1320 * misc/swapon.c: Likewise.
1321 * misc/sync.c: Likewise.
1322 * misc/syncfs.c: Likewise.
1323 * misc/syscall.c: Likewise.
1324 * misc/truncate.c: Likewise.
1325 * misc/ualarm.c: Likewise.
1326 * misc/usleep.c: Likewise.
1327 * misc/ustat.c: Likewise.
1328 * misc/utimes.c: Likewise.
1329 * misc/vhangup.c: Likewise.
1330 * misc/writev.c: Likewise.
1331 * posix/_exit.c: Likewise.
1332 * posix/alarm.c: Likewise.
1333 * posix/execve.c: Likewise.
1334 * posix/fexecve.c: Likewise.
1335 * posix/fork.c: Likewise.
1336 * posix/fpathconf.c: Likewise.
1337 * posix/getaddrinfo.c: Likewise.
1338 * posix/getegid.c: Likewise.
1339 * posix/geteuid.c: Likewise.
1340 * posix/getgid.c: Likewise.
1341 * posix/getgroups.c: Likewise.
1342 * posix/getlogin.c: Likewise.
1343 * posix/getlogin_r.c: Likewise.
1344 * posix/getpgid.c: Likewise.
1345 * posix/getpid.c: Likewise.
1346 * posix/getppid.c: Likewise.
1347 * posix/getresgid.c: Likewise.
1348 * posix/getresuid.c: Likewise.
1349 * posix/getsid.c: Likewise.
1350 * posix/getuid.c: Likewise.
1351 * posix/glob64.c: Likewise.
1352 * posix/nanosleep.c: Likewise.
1353 * posix/pathconf.c: Likewise.
1354 * posix/pause.c: Likewise.
1355 * posix/posix_madvise.c: Likewise.
1356 * posix/pread.c: Likewise.
1357 * posix/pread64.c: Likewise.
1358 * posix/pwrite.c: Likewise.
1359 * posix/pwrite64.c: Likewise.
1360 * posix/sched_getaffinity.c: Likewise.
1361 * posix/sched_getp.c: Likewise.
1362 * posix/sched_gets.c: Likewise.
1363 * posix/sched_primax.c: Likewise.
1364 * posix/sched_primin.c: Likewise.
1365 * posix/sched_rr_gi.c: Likewise.
1366 * posix/sched_setaffinity.c: Likewise.
1367 * posix/sched_setp.c: Likewise.
1368 * posix/sched_sets.c: Likewise.
1369 * posix/sched_yield.c: Likewise.
1370 * posix/setgid.c: Likewise.
1371 * posix/setlogin.c: Likewise.
1372 * posix/setpgid.c: Likewise.
1373 * posix/setresgid.c: Likewise.
1374 * posix/setresuid.c: Likewise.
1375 * posix/setsid.c: Likewise.
1376 * posix/setuid.c: Likewise.
1377 * posix/sleep.c: Likewise.
1378 * posix/spawni.c: Likewise.
1379 * posix/sysconf.c: Likewise.
1380 * posix/times.c: Likewise.
1381 * posix/wait.c: Likewise.
1382 * posix/wait3.c: Likewise.
1383 * posix/wait4.c: Likewise.
1384 * posix/waitpid.c: Likewise.
1385 * resolv/gai_sigqueue.c: Likewise.
1386 * resource/getpriority.c: Likewise.
1387 * resource/getrlimit.c: Likewise.
1388 * resource/getrusage.c: Likewise.
1389 * resource/nice.c: Likewise.
1390 * resource/setpriority.c: Likewise.
1391 * resource/setrlimit.c: Likewise.
1392 * resource/ulimit.c: Likewise.
1393 * rt/aio_cancel.c: Likewise.
1394 * rt/aio_fsync.c: Likewise.
1395 * rt/aio_read.c: Likewise.
1396 * rt/aio_sigqueue.c: Likewise.
1397 * rt/aio_suspend.c: Likewise.
1398 * rt/aio_write.c: Likewise.
1399 * rt/clock_getres.c: Likewise.
1400 * rt/clock_gettime.c: Likewise.
1401 * rt/clock_nanosleep.c: Likewise.
1402 * rt/clock_settime.c: Likewise.
1403 * rt/lio_listio.c: Likewise.
1404 * rt/mq_close.c: Likewise.
1405 * rt/mq_getattr.c: Likewise.
1406 * rt/mq_notify.c: Likewise.
1407 * rt/mq_open.c: Likewise.
1408 * rt/mq_receive.c: Likewise.
1409 * rt/mq_send.c: Likewise.
1410 * rt/mq_setattr.c: Likewise.
1411 * rt/mq_timedreceive.c: Likewise.
1412 * rt/mq_timedsend.c: Likewise.
1413 * rt/mq_unlink.c: Likewise.
1414 * rt/shm_open.c: Likewise.
1415 * rt/shm_unlink.c: Likewise.
1416 * rt/timer_create.c: Likewise.
1417 * rt/timer_delete.c: Likewise.
1418 * rt/timer_getoverr.c: Likewise.
1419 * rt/timer_gettime.c: Likewise.
1420 * rt/timer_settime.c: Likewise.
1421 * setjmp/__longjmp.c: Likewise.
1422 * setjmp/setjmp.c: Likewise.
1423 * signal/kill.c: Likewise.
1424 * signal/killpg.c: Likewise.
1425 * signal/raise.c: Likewise.
1426 * signal/sigaction.c: Likewise.
1427 * signal/sigaltstack.c: Likewise.
1428 * signal/sigblock.c: Likewise.
1429 * signal/sigignore.c: Likewise.
1430 * signal/sigintr.c: Likewise.
1431 * signal/signal.c: Likewise.
1432 * signal/sigpause.c: Likewise.
1433 * signal/sigpending.c: Likewise.
1434 * signal/sigqueue.c: Likewise.
1435 * signal/sigreturn.c: Likewise.
1436 * signal/sigset.c: Likewise.
1437 * signal/sigsetmask.c: Likewise.
1438 * signal/sigstack.c: Likewise.
1439 * signal/sigsuspend.c: Likewise.
1440 * signal/sigtimedwait.c: Likewise.
1441 * signal/sigvec.c: Likewise.
1442 * signal/sigwait.c: Likewise.
1443 * signal/sigwaitinfo.c: Likewise.
1444 * signal/sysv_signal.c: Likewise.
1445 * socket/accept.c: Likewise.
1446 * socket/accept4.c: Likewise.
1447 * socket/bind.c: Likewise.
1448 * socket/connect.c: Likewise.
1449 * socket/getpeername.c: Likewise.
1450 * socket/getsockname.c: Likewise.
1451 * socket/getsockopt.c: Likewise.
1452 * socket/isfdtype.c: Likewise.
1453 * socket/listen.c: Likewise.
1454 * socket/recv.c: Likewise.
1455 * socket/recvfrom.c: Likewise.
1456 * socket/recvmsg.c: Likewise.
1457 * socket/send.c: Likewise.
1458 * socket/sendmsg.c: Likewise.
1459 * socket/sendto.c: Likewise.
1460 * socket/setsockopt.c: Likewise.
1461 * socket/shutdown.c: Likewise.
1462 * socket/sockatmark.c: Likewise.
1463 * socket/socket.c: Likewise.
1464 * socket/socketpair.c: Likewise.
1465 * stdio-common/ctermid.c: Likewise.
1466 * stdio-common/cuserid.c: Likewise.
1467 * stdio-common/remove.c: Likewise.
1468 * stdio-common/rename.c: Likewise.
1469 * stdio-common/renameat.c: Likewise.
1470 * stdio-common/tempname.c: Likewise.
1471 * stdlib/getcontext.c: Likewise.
1472 * stdlib/makecontext.c: Likewise.
1473 * stdlib/setcontext.c: Likewise.
1474 * stdlib/swapcontext.c: Likewise.
1475 * stdlib/system.c: Likewise.
1476 * streams/fattach.c: Likewise.
1477 * streams/fdetach.c: Likewise.
1478 * streams/getmsg.c: Likewise.
1479 * streams/getpmsg.c: Likewise.
1480 * streams/putmsg.c: Likewise.
1481 * streams/putpmsg.c: Likewise.
1482 * sysdeps/unix/bsd/getpt.c: Likewise.
1483 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
1484 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
1485 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
1487 Likewise.
1488 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
1489 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
1490 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1491 * sysvipc/msgctl.c: Likewise.
1492 * sysvipc/msgget.c: Likewise.
1493 * sysvipc/msgrcv.c: Likewise.
1494 * sysvipc/msgsnd.c: Likewise.
1495 * sysvipc/semctl.c: Likewise.
1496 * sysvipc/semget.c: Likewise.
1497 * sysvipc/semop.c: Likewise.
1498 * sysvipc/semtimedop.c: Likewise.
1499 * sysvipc/shmat.c: Likewise.
1500 * sysvipc/shmctl.c: Likewise.
1501 * sysvipc/shmdt.c: Likewise.
1502 * sysvipc/shmget.c: Likewise.
1503 * termios/tcdrain.c: Likewise.
1504 * termios/tcflow.c: Likewise.
1505 * termios/tcflush.c: Likewise.
1506 * termios/tcgetattr.c: Likewise.
1507 * termios/tcgetpgrp.c: Likewise.
1508 * termios/tcsendbrk.c: Likewise.
1509 * termios/tcsetattr.c: Likewise.
1510 * termios/tcsetpgrp.c: Likewise.
1511 * time/adjtime.c: Likewise.
1512 * time/clock.c: Likewise.
1513 * time/getitimer.c: Likewise.
1514 * time/gettimeofday.c: Likewise.
1515 * time/setitimer.c: Likewise.
1516 * time/settimeofday.c: Likewise.
1517 * time/stime.c: Likewise.
1518 * time/time.c: Likewise.
1519
15202012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 1521
a20492cf
PT
1522 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
1523 /usr/old/bin.
1524
72e182e3
PT
1525 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
1526 instead of spaces.
1527 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
1528
fbeafede
JM
15292012-11-03 Joseph Myers <joseph@codesourcery.com>
1530
5b5b04d6
JM
1531 [BZ #14796]
1532 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
1533 FE_TONEAREST before applying Dekker multiplication and Knuth
1534 addition. Clear inexact exceptions and check for exact zero
1535 results afterwards.
1536 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1537 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1538 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1539 * math/libm-test.inc (fma_test): Add more tests.
1540 (fma_test_towardzero): Likewise.
1541 (fma_test_downward): Likewise.
1542 (fma_test_upward): Likewise.
1543 * sysdeps/generic/math_private.h (default_libc_fesetround): New
1544 function.
1545 (libc_fesetround): New macro.
1546 (libc_fesetroundf): Likewise.
1547 (libc_fesetroundl): Likewise.
1548 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
1549 function.
1550 (libc_fesetround_387): Likewise.
1551 (libc_fesetroundf): New macro.
1552 (libc_fesetround): Likewise.
1553 (libc_fesetroundl): Likewise.
1554 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
1555 function.
1556 (libc_fesetroundf): New macro.
1557 (libc_fesetround): Likewise.
1558 (libc_fesetroundl): Likewise.
1559 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
1560 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
1561 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
1562 libm_hidden_ver.
1563 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
1564 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
1565 libm_hidden_def.
1566 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
1567 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
1568 libm_hidden_ver.
1569 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
1570 libm_hidden_def.
1571
fbeafede
JM
1572 [BZ #3439]
1573 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
1574 integer constant usable in #if and use that to give value to enum
1575 constant.
1576 (FE_DIVBYZERO): Likewise.
1577 (FE_UNDERFLOW): Likewise.
1578 (FE_OVERFLOW): Likewise.
1579 (FE_INVALID): Likewise.
1580 (FE_INVALID_SNAN): Likewise.
1581 (FE_INVALID_ISI): Likewise.
1582 (FE_INVALID_IDI): Likewise.
1583 (FE_INVALID_ZDZ): Likewise.
1584 (FE_INVALID_IMZ): Likewise.
1585 (FE_INVALID_COMPARE): Likewise.
1586 (FE_INVALID_SOFTWARE): Likewise.
1587 (FE_INVALID_SQRT): Likewise.
1588 (FE_INVALID_INTEGER_CONVERSION): Likewise.
1589 (FE_TONEAREST): Likewise.
1590 (FE_TOWARDZERO): Likewise.
1591 (FE_UPWARD): Likewise.
1592 (FE_DOWNWARD): Likewise.
1593 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
1594 (FE_DIVBYZERO): Likewise.
1595 (FE_OVERFLOW): Likewise.
1596 (FE_UNDERFLOW): Likewise.
1597 (FE_INEXACT): Likewise.
1598 (FE_TONEAREST): Likewise.
1599 (FE_DOWNWARD): Likewise.
1600 (FE_UPWARD): Likewise.
1601 (FE_TOWARDZERO): Likewise.
1602 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
1603 (FE_UNDERFLOW): Likewise.
1604 (FE_OVERFLOW): Likewise.
1605 (FE_DIVBYZERO): Likewise.
1606 (FE_INVALID): Likewise.
1607 (FE_TONEAREST): Likewise.
1608 (FE_TOWARDZERO): Likewise.
1609 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
1610 (FE_OVERFLOW): Likewise.
1611 (FE_UNDERFLOW): Likewise.
1612 (FE_DIVBYZERO): Likewise.
1613 (FE_INEXACT): Likewise.
1614 (FE_TONEAREST): Likewise.
1615 (FE_TOWARDZERO): Likewise.
1616 (FE_UPWARD): Likewise.
1617 (FE_DOWNWARD): Likewise.
1618 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
1619 (FE_DIVBYZERO): Likewise.
1620 (FE_OVERFLOW): Likewise.
1621 (FE_UNDERFLOW): Likewise.
1622 (FE_INEXACT): Likewise.
1623 (FE_TONEAREST): Likewise.
1624 (FE_DOWNWARD): Likewise.
1625 (FE_UPWARD): Likewise.
1626 (FE_TOWARDZERO): Likewise.
1627
105ca950
CM
16282012-11-02 Chris Metcalf <cmetcalf@tilera.com>
1629
1630 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
1631
a542b389
AS
16322012-11-03 Andreas Schwab <schwab@linux-m68k.org>
1633
1634 * scripts/cross-test-ssh.sh (command): Use newlines to separate
1635 commands. Quote $PWD.
1636 (blacklist_exports): Don't use remove_newlines. Replace "declare
1637 -x" by "export".
1638 (remove_newlines): Remove.
1639
f62c8abc
L
16402012-11-02 H.J. Lu <hongjiu.lu@intel.com>
1641
1642 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
1643 * stdlib/stdlib.h (atof): Moved to ...
1644 * include/bits/stdlib-float.h: Here. New file.
1645 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
1646 * stdlib/bits/stdlib-float.h: New file.
1647 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
1648 -mno-sse -mno-mmx.
1649 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
1650 <xmmintrin.h>.
1651
0155d5b2
JM
16522012-11-02 Joseph Myers <joseph@codesourcery.com>
1653
a68d0680
JM
1654 * conform/conformtest.pl (@headers): Add fenv.h.
1655 * conform/data/fenv.h-data: New file.
1656 * include/fenv.h [_ISOMAC]: Disable all contents of file except
1657 include of <math/fenv.h>.
1658
caf7f573
JM
1659 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
1660 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
1661 && !UNIX98]. Enables tests for XOPEN2K8.
1662 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
1663 POSIX2008]: Likewise.
1664
6c073ad6
JM
1665 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
1666 (struct rusage): Do not expect type or its members.
1667
0155d5b2
JM
1668 [BZ #3439]
1669 * math/math.h (FP_NAN): Define macro to integer constant usable in
1670 #if and use that to give value to enum constant.
1671 (FP_INFINITE): Likewise.
1672 (FP_ZERO): Likewise.
1673 (FP_SUBNORMAL): Likewise.
1674 (FP_NORMAL): Likewise.
1675
b5dcacb4
AS
16762012-11-02 Andreas Schwab <schwab@linux-m68k.org>
1677
1678 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
1679 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
1680 arguments.
1681
f7934be8
RM
16822012-11-02 Roland McGrath <roland@hack.frob.com>
1683
1684 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
1685 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
1686 autoconf-time if not.
1687 * configure.in: Remove AC_PREREQ.
1688
d7d08bde
TMQMF
16892012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1690
1691 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
1692 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
1693 of the internal implementation.
1694
dcdae19a
JM
16952012-11-02 Joseph Myers <joseph@codesourcery.com>
1696
1697 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
1698 except include of <misc/sys/syslog.h>.
1699
d6cffd3e
AS
17002012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1701
1702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
1703 function returns with a NULL context exit with zero.
1704
b3563932
TMQMF
17052012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1706
1707 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
1708
b288a93d
L
17092012-11-01 H.J. Lu <hongjiu.lu@intel.com>
1710
1711 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
1712 (run_program_cmd): This.
1713 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
1714 (tst_langinfo): New variable. Use it.
1715
a2421a68
SAS
17162012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
1717
1718 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
1719 floating point opcodes.
1720
6f796e1b
TS
17212012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1722
7402596b
TS
1723 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
1724 variable.
1725
d0d4f868
TS
1726 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
1727
6f796e1b
TS
1728 * sysdeps/mach/hurd/powerpc: Remove directory.
1729 * sysdeps/mach/powerpc: Likewise.
1730
4da224a2
AS
17312012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1732
1733 * scripts/check-local-headers.sh: Ignore c++ headers.
1734
341dd673
TS
17352012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1736
1737 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
1738 __libc_cleanup_region_start argument.
1739
473611b2
JM
17402012-11-01 Joseph Myers <joseph@codesourcery.com>
1741
1742 [BZ #14784]
1743 [BZ #14785]
1744 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
1745 x * y using scaling, not as x * y + z.
1746 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1747 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1748 * math/libm-test.inc (fma_test): Add more tests.
1749 (fma_test_towardzero): Likewise.
1750 (fma_test_downward): Likewise.
1751 (fma_test_upward): Likewise.
1752
4078da3d
TS
17532012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1754
1755 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
1756
903252aa
JM
17572012-10-31 Joseph Myers <joseph@codesourcery.com>
1758
1759 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
1760 New variable.
1761
cbc818d0
TS
17622012-10-31 Thomas Schwinge <thomas@codesourcery.com>
1763
1764 * rt/tst-shm.c (worker): Correct checking for mmap failure.
1765
5a03cb1e
AS
17662012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1767
1768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1769 Fix sort order.
1770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1771 Likewise.
1772
90aff2ff
TMQMF
17732012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1774
1775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1776 Fix the order of the list for glibc 2.17.
1777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1778 Likewise.
1779
1818fcb7
AS
17802012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1781
1782 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1783
ef82f4da
JM
17842012-10-31 Joseph Myers <joseph@codesourcery.com>
1785
16a0e2ec
JM
1786 [BZ #14610]
1787 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
1788 for low part of x being zero before using __atanl (y).
1789 * math/libm-test.inc (atan2_test): Add another test.
1790
0eb69512
JM
1791 * manual/install.texi (Configuring and compiling): Document
1792 general use of test-wrapper and test-wrapper-env.
1793 * INSTALL: Regenerated.
1794
ef82f4da
JM
1795 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
1796 (__fma): Do not extract and scale down low bits on after-rounding
1797 systems when result rounded to normal precision would have normal
1798 exponent.
1799 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
1800 (__fmal): Do not extract and scale down low bits on after-rounding
1801 systems when result rounded to normal precision would have normal
1802 exponent.
1803 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
1804 (__fmal): Do not extract and scale down low bits on after-rounding
1805 systems when result rounded to normal precision would have normal
1806 exponent.
1807 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
1808 macro.
1809 (fma_test): Add more tests.
1810 (fma_test_towardzero): Likewise.
1811 (fma_test_downward): Likewise.
1812 (fma_test_upward): Likewise.
1813
954ef0d9
L
18142012-10-30 H.J. Lu <hongjiu.lu@intel.com>
1815
1816 * sysdeps/i386/tininess.h: Renamed to ...
1817 * sysdeps/x86/tininess.h: This.
1818 * sysdeps/x86_64/tininess.h: Removed.
1819
df61ffb2
JM
18202012-10-30 Joseph Myers <joseph@codesourcery.com>
1821
1822 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
1823 input. Use $(build-program-cmd).
1824 ($(objpfx)tst-array1-static.out): Likewise.
1825 ($(objpfx)tst-array2.out): Likewise.
1826 ($(objpfx)tst-array3.out): Likewise.
1827 ($(objpfx)tst-array4.out): Likewise.
1828 ($(objpfx)tst-array5.out): Likewise.
1829 ($(objpfx)tst-array5-static.out): Likewise.
1830
01767843
CM
18312012-10-30 Chris Metcalf <cmetcalf@tilera.com>
1832
47cc1490
CM
1833 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
1834 if defined.
1835
01767843
CM
1836 * nss/nsswitch.h (nss_interface_function): Provide new
1837 macro for use with NSS functions.
1838 * grp/initgroups.c: Use new macro.
1839 * nss/getXXbyYY.c: Likewise.
1840 * nss/getXXbyYY_r.c: Likewise.
1841 * nss/getXXent.c: Likewise.
1842 * nss/getXXent_r.c: Likewise.
1843 * sysdeps/posix/getaddrinfo.c: Likewise.
1844
8321aa97
AJ
18452012-10-30 Andreas Jaeger <aj@suse.de>
1846
1847 * po/ru.po: Update Russion translation from translation project.
1848
2a27fd6d
JM
18492012-10-30 Joseph Myers <joseph@codesourcery.com>
1850
8627a232
JM
1851 [BZ #14152]
1852 [BZ #14783]
1853 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
1854 result and shift together with sticky bit instead of replicating
1855 round-to-nearest rounding.
1856 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1857 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1858 * math/libm-test.inc (fma_test): Add more tests. Do not permit
1859 missing underflow exceptions.
1860 (fma_test_towardzero): Add more tests.
1861 (fma_test_downward): Likewise.
1862 (fma_test_upward): Likewise.
1863
2a27fd6d
JM
1864 [BZ #14047]
1865 * sysdeps/generic/tininess.h: New file.
1866 * sysdeps/i386/tininess.h: Likewise.
1867 * sysdeps/sh/tininess.h: Likewise.
1868 * sysdeps/x86_64/tininess.h: Likewise.
1869 * stdlib/tst-strtod-underflow.c: Likewise.
1870 * stdlib/tst-tininess.c: Likewise.
1871 * stdlib/strtod_l.c: Include <tininess.h>.
1872 (round_and_return): Do not set errno for exact underflow cases.
1873 Force an underflow exception when setting errno for underflow.
1874 Determine underflow based on rounding to normal precision if
1875 TININESS_AFTER_ROUNDING.
1876 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
1877 ERANGE for exact underflow cases.
1878 * stdlib/Makefile (tests): Add tst-tininess and
1879 tst-strtod-underflow.
1880 ($(objpfx)tst-tininess): Use $(link-libm).
1881 ($(objpfx)tst-strtod-underflow): Likewise.
1882
e7170363
AJ
18832012-10-30 Andreas Jaeger <aj@suse.de>
1884
e5088dc6
AJ
1885 [BZ#14767]
1886 * elf/Makefile (tests): Remove conditional for have-initfini-array
1887 since this is now always required and the variable does not exist
1888 anymore.
1889 (tests-static): Likewise.
1890 (modules-names): Likewise.
1891
e7170363 1892 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
1893
1894 * elf/tst-array1.c (fini_array): Make writeable so that it can be
1895 merged with constructor/destructor.
1896 (init_array): Likewise.
1897 * elf/tst-array2dep.c (fini_array): Likewise.
1898 (init_array): Likewise.
1899
60457d8a
MF
19002012-10-29 Mike Frysinger <vapier@gentoo.org>
1901
1902 * manual/message.texi: Delete @cartouche tags.
1903
8bece752
PT
19042012-10-29 Pino Toscano <toscano.pino@tiscali.it>
1905
94ce799f
PT
1906 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
1907 EOPNOTSUPP.
1908 * sysdeps/mach/hurd/fsync.c: Likewise.
1909
8bece752
PT
1910 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
1911 [_POSIX_REALTIME_SIGNALS]: Change condition to
1912 [_POSIX_REALTIME_SIGNALS > 0].
1913
86ebe6b1
AJ
19142012-10-27 Andreas Jaeger <aj@suse.de>
1915
1916 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
1917 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
1918 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
1919 [__WORDSIZE != 64]: Likewise.
1920
54399c08
L
19212012-10-26 H.J. Lu <hongjiu.lu@intel.com>
1922
1923 * iconvdata/tst-table.sh: Remove ${SHELL}.
1924 * iconvdata/tst-tables.sh: Likewise.
1925
e2211bed
DM
19262012-10-25 David S. Miller <davem@davemloft.net>
1927
1928 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1929 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
1930 of strtoull.
1931
f303f97c
DM
1932 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
1933 ifunc-impl-list.c
1934 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1935 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
1936 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
1937 file.
1938
1e9d84cd
RM
19392012-10-25 Roland McGrath <roland@hack.frob.com>
1940
1941 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1942 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
1943 __getdirentries.
1944
df381762
JM
19452012-10-25 Joseph Myers <joseph@codesourcery.com>
1946 Jim Blandy <jimb@codesourcery.com>
1947
1948 * scripts/cross-test-ssh.sh: New file.
1949 * manual/install.texi (Configuring and compiling): Document use of
1950 cross-test-ssh.sh.
1951 * INSTALL: Regenerated.
1952
bff64913
PT
19532012-10-25 Pino Toscano <toscano.pino@tiscali.it>
1954
1955 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
1956 EOPNOTSUPP.
1957
25fe8932
JM
19582012-10-25 Joseph Myers <joseph@codesourcery.com>
1959
1960 * Makeconfig (run-program-prefix): Fix comment.
1961
cc1290d0
JM
19622012-10-24 Joseph Myers <joseph@codesourcery.com>
1963 Jim Blandy <jimb@codesourcery.com>
1964
1965 * Makeconfig (test-wrapper): New variable,
1966 (test-wrapper-env): Likewise.
1967 [$(cross-compiling) = yes && $(test-wrapper) != ""]
1968 (run-built-tests): Define to yes.
1969 (run-program-prefix): Use $(test-wrapper).
1970 (built-program-cmd): Likewise.
1971 * Rules (make-test-out): Use $(test-wrapper-env) and
1972 $(host-built-program-cmd).
1973 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
1974 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
1975 tst-pathopt.sh.
1976 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
1977 $(test-wrapper-env) to tst-rtld-load-self.sh.
1978 ($(objpfx)order2.out): Use $(test-wrapper).
1979 ($(objpfx)tst-initorder.out): Likewise.
1980 ($(objpfx)tst-initorder2.out): Likewise.
1981 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
1982 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
1983 (test_wrapper_env): New variable. Use it to run ld.so.
1984 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
1985 Use it to run ld.so.
1986 (test_wrapper_env): Likewise.
1987 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
1988 $(test-wrapper) to run-iconv-test.sh.
1989 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
1990 (ICONV): Use $test_wrapper.
1991 * posix/Makefile ($(objpfx)globtest.out): Pass
1992 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
1993 globtest.sh, not $(run-program-prefix).
1994 * posix/globtest.sh (run_via_rtld_prefix): New variable.
1995 (test_wrapper): Likewise.
1996 (test_wrapper_env): Likewise. Use it to run globtest with HOME
1997 set together with run_via_rtld_prefix.
1998 (run_program_prefix): Define in terms of test_wrapper and
1999 run_via_rtld_prefix.
2000
6e6249d0
RM
20012012-10-24 Roland McGrath <roland@hack.frob.com>
2002
2003 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2004 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2005 Targets removed.
2006
2007 [BZ #14743]
2008 * include/time.h: Remove librt_hidden_proto (clock_gettime).
2009 Declare __clock_getres, __clock_gettime, __clock_settime,
2010 __clock_nanosleep, and __clock_getcpuclockid.
2011 * rt/clock_gettime.c: Define __clock_gettime as an alias.
2012 Remove librt_hidden_def (clock_gettime).
2013 * sysdeps/unix/clock_gettime.c: Likewise.
2014 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2015 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2016 * rt/clock_getres.c: Define __clock_getres as an alias.
2017 * sysdeps/posix/clock_getres.c: Likewise.
2018 * rt/clock_settime.c: Define __clock_settime as an alias.
2019 * sysdeps/unix/clock_settime.c: Likewise.
2020 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2021 * sysdeps/unix/clock_nanosleep.c: Likewise.
2022 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2023 * rt/clock-compat.c: New file.
2024 * rt/Makefile (librt-routines): Add clock-compat and move
2025 $(clock-routines) to ...
2026 (routines): ... here, new variable.
2027 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2028 Don't add get_clockfreq here.
2029 * rt/Versions (libc: GLIBC_2.17): New version set.
2030 Add clock_* symbols here.
2031 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
2032 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2033 (GLIBC_2.17): Add clock_* symbols.
2034 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2035 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2036 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2038 Likewise.
2039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2040 Likewise.
2041 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2042 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2043 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2044 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2045 * NEWS: Mention the move.
2046
2047 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2048 Use __open, __read, __close rather than their public counterparts.
2049 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2050 (__get_clockfreq_via_cpuinfo): Likewise.
2051 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2052 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2053
2054 * config.h.in (HAVE_IFUNC): New #undef.
2055 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2056 was successful.
2057 * configure: Regenerated.
2058
0cae3f4b
MF
20592012-10-24 Mike Frysinger <vapier@gentoo.org>
2060
2061 * configure.in: Move READELF check to start of file.
2062 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2063 libc_cv_asm_gnu_indirect_function in the process.
2064 * configure: Regenerated.
2065
8175a253
MF
20662012-10-24 Mike Frysinger <vapier@gentoo.org>
2067
2068 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2069 send the output to /dev/null.
2070 (libc_cv_cc_with_libunwind): Likewise.
2071 (libc_cv_as_noexecstack): Likewise.
2072 * configure: Regenerate.
2073
0708a7d1
JM
20742012-10-24 Joseph Myers <joseph@codesourcery.com>
2075
10b40d85
JM
2076 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2077
0708a7d1
JM
2078 * posix/globtest.sh (TMPDIR): Do not set.
2079 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2080 (testout): Likewise.
2081
9fddec1a
AJ
20822012-10-24 Andreas Jaeger <aj@suse.de>
2083
3a8db22f
AJ
2084 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2085 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2086 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2087 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2088 posix_fadvise64, posix_fallocate64.
2089
9fddec1a
AJ
2090 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2091 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2092 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2093 Likewise.
2094 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2095 Likewise.
2096 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2097
2098 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2099 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2100 <bits/fcntl-linux.h>.
2101 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2102
2103 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2104 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2105 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2106 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2107 [__WORDSIZE != 64]: Likewise.
2108
ebfd1bbd
JM
21092012-10-23 Joseph Myers <joseph@codesourcery.com>
2110
03ac099f
JM
2111 * Makeconfig (run-built-tests): New variable.
2112 * Rules [$(cross-compiling) = yes]: Change condition to
2113 [$(run-built-tests) = no].
2114 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2115 to [$(run-built-tests) = yes].
2116 * elf/Makefile [$(cross-compiling) = no]: Likewise
2117 * grp/Makefile [$(cross-compiling) = no]: Likewise.
2118 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2119 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2120 * intl/Makefile [$(cross-compiling) = no]: Likewise.
2121 * io/Makefile [$(cross-compiling) = no]: Likewise.
2122 * libio/Makefile [$(cross-compiling) = no]: Likewise.
2123 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2124 * misc/Makefile [$(cross-compiling) = no]: Likewise.
2125 * posix/Makefile [$(cross-compiling) = no]: Likewise.
2126 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2127 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2128 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2129 * string/Makefile [$(cross-compiling) = no]: Likewise.
2130
ebfd1bbd
JM
2131 * posix/Makefile ($(objpfx)globtest.out): Pass
2132 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2133 $(rtld-installed-name).
2134 * posix/globtest.sh (elf_objpfx): Remove variable.
2135 (rtld_installed_name): Likewise.
2136 (library_path): Likewise.
2137 (run_program_prefix): New variable. Use for running globtest
2138 binary.
2139
166bca24
JB
21402012-10-23 Jim Blandy <jimb@codesourcery.com>
2141 Joseph Myers <joseph@codesourcery.com>
2142
2143 * Makeconfig (host-built-program-cmd): New variable.
2144 * elf/Makefile (tst-stackguard1-ARGS): Use
2145 $(host-built-program-cmd).
2146 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2147 (tst-spawn-ARGS): Likewise.
2148 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2149
88866099
JM
21502012-10-23 Joseph Myers <joseph@codesourcery.com>
2151 Jim Blandy <jimb@codesourcery.com>
2152
2153 * Makeconfig (run-via-rtld-prefix): New variable.
2154 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2155 (built-program-cmd): Likewise.
2156
b4b4c296
AJ
21572012-10-22 Andreas Jaeger <aj@suse.de>
2158
2159 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
2160 __O_RSYNC if it exists, otherwise to O_SYNC.
2161
6fb54a22
JB
21622012-10-22 Jim Blandy <jimb@codesourcery.com>
2163 Joseph Myers <joseph@codesourcery.com>
2164
2165 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
2166 /dev/null.
2167 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
2168 from /dev/null
2169 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
2170 /dev/null.
2171
481b90b9
AJ
21722012-10-22 Andreas Jaeger <aj@suse.de>
2173
2a0e2669
AJ
2174 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
2175 Define always.
2176 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
2177
76e38f9a
AJ
2178 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2179 bits/fcntl-linux.h.
2180
7cd37b43
AJ
2181 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
2182 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2183
481b90b9
AJ
2184 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
2185 to __O_LARGEFILE.
2186 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
2187 to __O_LARGEFILE.
2188
aba75984
JB
21892012-10-21 Jim Blandy <jimb@codesourcery.com>
2190 Joseph Myers <joseph@codesourcery.com>
2191
2192 * config.make.in (NM): New variable.
2193
88d4247f
AJ
21942012-10-21 Andreas Jaeger <aj@suse.de>
2195
2196 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
2197 definitions and declarations that are provided by
2198 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2199
f2eed205
L
22002012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2201
2202 [BZ #14683]
2203 * elf/Makefile (tests-static): Add tst-leaks1-static.
2204 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
2205 ($(objpfx)tst-leaks1-static): New rule.
2206 ($(objpfx)tst-leaks1-static-mem): Likewise.
2207 (tst-leaks1-static-ENV): New macro.
2208 * elf/dl-open.c (dl_open_worker): Check the main application
2209 only if SHARED is defined.
2210 * elf/tst-leaks1-static.c: New file.
2211
335e6931
AJ
22122012-10-20 Andreas Jaeger <aj@suse.de>
2213
2214 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
2215 generic values for Linux.
2216 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
2217 and declarations that are provided by <bits/fcntl-linux.h> and
2218 include <bits/fcntl-linux.h>.
2219 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2220 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2221
ac5c94d3
RM
22222012-10-20 Roland McGrath <roland@hack.frob.com>
2223
2224 * io/fcntl.h: Move include of <bits/types.h> to the top and
2225 include it unconditionally.
2226
de54b33a
L
22272012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2228
228cfb01
L
2229 * wcsmbs/Makefile (tests-ifunc): New variable.
2230 (tests): Add $(tests-ifunc).
2231 * wcsmbs/test-wcschr-ifunc.c: New file.
2232 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2233 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2234 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2235 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2236 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2237
69f07e5f
L
2238 * string/Makefile (tests-ifunc): New variable.
2239 (tests): Add $(tests-ifunc).
2240 * string/test-memccpy.c (TEST_NAME): New macro.
2241 * string/test-memchr.c (TEST_NAME): Likewise.
2242 * string/test-memcmp.c (TEST_NAME): Likewise.
2243 * string/test-memcpy.c (TEST_NAME): Likewise.
2244 * string/test-memmem.c (TEST_NAME): Likewise.
2245 * string/test-memmove.c (TEST_NAME): Likewise.
2246 * string/test-memset.c (TEST_NAME): Likewise.
2247 * string/test-rawmemchr.c (TEST_NAME): Likewise.
2248 * string/test-stpcpy.c (TEST_NAME): Likewise.
2249 * string/test-stpncpy.c (TEST_NAME): Likewise.
2250 * string/test-strcasecmp.c (TEST_NAME): Likewise.
2251 * string/test-strcasestr.c (TEST_NAME): Likewise.
2252 * string/test-strcat.c (TEST_NAME): Likewise.
2253 * string/test-strchr.c (TEST_NAME): Likewise.
2254 * string/test-strcmp.c(TEST_NAME): Likewise.
2255 * string/test-strcpy.c (TEST_NAME): Likewise.
2256 * string/test-strcspn.c (TEST_NAME): Likewise.
2257 * string/test-strlen.c (TEST_NAME): Likewise.
2258 * string/test-strncasecmp.c (TEST_NAME): Likewise.
2259 * string/test-strncmp.c (TEST_NAME): Likewise.
2260 * string/test-strncpy.c (TEST_NAME): Likewise.
2261 * string/test-strnlen.c (TEST_NAME): Likewise.
2262 * string/test-strpbrk.c (TEST_NAME): Likewise.
2263 * string/test-strrchr.c (TEST_NAME): Likewise.
2264 * string/test-strspn.c (TEST_NAME): Likewise.
2265 * string/test-strstr.c (TEST_NAME): Likewise.
2266 * string/test-bcopy-ifunc.c: New file.
2267 * string/test-bzero-ifunc.c: Likewise.
2268 * string/test-memccpy-ifunc.c: Likewise.
2269 * string/test-memchr-ifunc.c: Likewise.
2270 * string/test-memcmp-ifunc.c: Likewise.
2271 * string/test-memcpy-ifunc.c: Likewise.
2272 * string/test-memmem-ifunc.c: Likewise.
2273 * string/test-memmove-ifunc.c: Likewise.
2274 * string/test-mempcpy-ifunc.c: Likewise.
2275 * string/test-memset-ifunc.c: Likewise.
2276 * string/test-rawmemchr-ifunc.c: Likewise.
2277 * string/test-stpcpy-ifunc.c: Likewise.
2278 * string/test-stpncpy-ifunc.c: Likewise.
2279 * string/test-strcasecmp-ifunc.c: Likewise.
2280 * string/test-strcasestr-ifunc.c: Likewise.
2281 * string/test-strcat-ifunc.c: Likewise.
2282 * string/test-strchr-ifunc.c: Likewise.
2283 * string/test-strchrnul-ifunc.c: Likewise.
2284 * string/test-strcmp-ifunc.c: Likewise.
2285 * string/test-strcpy-ifunc.c: Likewise.
2286 * string/test-strcspn-ifunc.c: Likewise.
2287 * string/test-strlen-ifunc.c: Likewise.
2288 * string/test-strncasecmp-ifunc.c: Likewise.
2289 * string/test-strncat-ifunc.c: Likewise.
2290 * string/test-strncmp-ifunc.c: Likewise.
2291 * string/test-strncpy-ifunc.c: Likewise.
2292 * string/test-strnlen-ifunc.c: Likewise.
2293 * string/test-strpbrk-ifunc.c: Likewise.
2294 * string/test-strrchr-ifunc.c: Likewise.
2295 * string/test-strspn-ifunc.c: Likewise.
2296 * string/test-strstr-ifunc.c: Likewise.
2297
de54b33a
L
2298 * debug/Makefile (tests-ifunc): New variable.
2299 (tests): Add $(tests-ifunc).
2300 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2301 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2302 * debug/test-stpcpy_chk-ifunc.c: New file.
2303 * debug/test-strcpy_chk-ifunc.c: Likewise.
2304
88481c16
SP
23052012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2306
2307 [BZ #13601]
2308 * elf/dl-load.c (open_verify): Retry read if the entire ELF
2309 header is not read in.
2310
135948bd
JM
23112012-10-19 Joseph Myers <joseph@codesourcery.com>
2312
89f1c388
JM
2313 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
2314 script to $(SHELL) as $<. Pass $(common-objpfx) to script
2315 directly. Pass built executable to script as
2316 $(built-program-cmd).
2317 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
2318 $testprogram without using LD_LIBRARY_PATH and $ldso.
2319
e40a0d21
JM
2320 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
2321 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
2322 $(rtld-installed-name).
2323 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
2324 (rtld_installed_name): Likewise.
2325 (library_path): Likewise.
2326 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
2327 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
2328 $(run-program-prefix) to tst-tables.sh.
2329 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
2330 it to run tst-table-from and tst-table-to.
2331 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
2332 Pass it to tst-table.sh.
2333 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
2334 $(run-program-prefix) to tst-gettext.sh.
2335 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
2336 tst-translit.sh.
2337 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
2338 tst-gettext2.sh.
2339 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
2340 to run tst-gettext.
2341 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
2342 to run tst-gettext2.
2343 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
2344 to run tst-translit.
2345 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2346 $(run-program-prefix) to tst-mtrace.sh.
2347 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
2348 to run tst-mtrace.
2349 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2350 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2351 $(rtld-installed-name).
2352 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
2353 (rtld_installed_name): Likewise.
2354 (run_program_prefix): New variable. Use it to run wordexp-test.
2355
728e272a
JM
2356 * Makeconfig (ARCH): Remove all definitions.
2357 (machine): Likewise.
2358 [ARCH]: Remove conditional code.
2359 [!objdir]: Give error.
2360 [!objdir] (objpfx): Remove.
2361 [!objdir] (common-objpfx): Likewise.
2362 [!objdir] (common-objdir): Likewise.
2363 * configure.in (config_makefile): Remove. Hardcode Makefile in
2364 AC_CONFIG_FILES call.
2365 * configure: Regenerated.
2366
d528cdcf
JM
2367 [BZ #13888]
2368 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
2369 or TMPDIR.
2370 (testout): Likewise.
2371
135948bd
JM
2372 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
2373 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
2374 $(rtld-installed-name).
2375 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
2376 (rtld_installed_name): Likwise.
2377 (runit): Remove function.
2378 (run_getconf): New variable, Use it for running getconf binary.
2379
38c78296
L
23802012-10-18 H.J. Lu <hongjiu.lu@intel.com>
2381
2382 [BZ #14716]
2383 * string/test-memmem.c (check_result): New function.
2384 (do_one_test): Use it.
2385 (check1): New function.
2386 (test_main): Use it.
2387
d077f65f
MT
23882012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
2389
2390 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
2391
ced52c71
JM
23922012-10-18 Joseph Myers <joseph@codesourcery.com>
2393
2394 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
2395 (_G_LSEEK64): Likewise.
2396 (_G_MMAP64): Likewise.
2397 (_G_FSTAT64): Likewise.
2398 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
2399 (_G_LSEEK64): Likewise.
2400 (_G_MMAP64): Likewise.
2401 (_G_FSTAT64): Likewise.
2402 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
2403 unconditional. Call __mmap64 directly.
2404 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
2405 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
2406 __lseek64 directly.
2407 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
2408 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
2409 __mmap64 directly.
2410 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
2411 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
2412 __lseek64 directly.
2413 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
2414 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
2415 __lseek64 directly.
2416 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
2417 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
2418 __lseek64 directly.
2419 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
2420 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
2421 __fxstat64 directly.
2422 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
2423 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
2424 unconditional.
2425 (freopen64) [!_G_OPEN64]: Remove conditional code.
2426 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
2427 unconditional.
2428 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
2429 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
2430 unconditional.
2431 (ftello64) [!_G_LSEEK64]: Remove conditional code.
2432 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
2433 unconditional.
2434 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2435 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
2436 unconditional.
2437 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
2438 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
2439 unconditional.
2440 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2441 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
2442 unconditional.
2443 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2444 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
2445 unconditional.
2446 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2447
b741de23
SP
24482012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2449
2450 [BZ #12140]
2451 * manual/memory.texi (Malloc Tunable Parameters): Add note
2452 about free list pointers overwriting some perturb bytes.
2453 Wording suggested by Roland McGrath.
2454
f9b9d9c9
JM
24552012-10-17 Joseph Myers <joseph@codesourcery.com>
2456
2457 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
2458 (lgamma_test): Likewise.
2459 (tgamma_test): Likewise.
2460
172a631a
FW
24612012-10-16 Florian Weimer <fweimer@redhat.com>
2462
2463 [BZ #14700]
2464 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
2465 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
2466
e9f37252
MK
24672012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
2468
2469 * NEWS: Mention BZ #14716.
2470 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
2471 when removing AVAILABLE1_USES_J macro.
2472
d394eb74
L
24732012-10-12 H.J. Lu <hongjiu.lu@intel.com>
2474
2475 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
2476 (__bswap_64): __uint64_t for unsigned 64-bit int.
2477
ca38dc17
AS
24782012-10-12 Andreas Schwab <schwab@linux-m68k.org>
2479
2480 * include/string.h (memmem): Declare libc hidden alias.
2481 * string/memmem.c (memmem): Define libc hidden alias.
2482 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
2483 __read, __close instead of open, read, close.
2484
9a387d1f
L
24852012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2486
ac49ecaf
L
2487 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
2488 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
2489 global and hidden.
2490 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
2491 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
2492 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
2493 Likewise.
2494 (__rawmemchr_sse2): Likewise.
2495 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
2496 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
2497 (__strchr_sse2): Likewise.
2498 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
2499 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
2500 (__strcasecmp_sse2): Likewise.
2501 (__strncasecmp_sse2): Likewise.
2502 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
2503 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
2504 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
2505 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
2506 (__strrchr_sse2): Likewise.
2507 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
2508 ifunc-impl-list.c.
2509 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2510 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2511 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2512 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2513 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2514 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2515 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2516 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2517 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
2518 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
2519 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2520 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
2521 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
2522 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2523 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2524 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2525 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2526 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2527 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
2528 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
2529 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2530 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
2531 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2532 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2533 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2534 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2535 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2536 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2537 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2538 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2539
b090e8ea
L
2540 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
2541 global and hidden.
2542 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
2543 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
2544 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
2545 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
2546 Likewise.
2547 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
2548 Likewise.
2549 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
2550 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
2551 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
2552 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
2553 ifunc-impl-list.c.
2554 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2555 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2556 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2557 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2558 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2559 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2560 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2561 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2562 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2563 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2564 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2565 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2566 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2567 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
2568 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
2569 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2570 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
2571 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
2572 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2573 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2574 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2575 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2576 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2577 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2578 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2579 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
2580 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
2581 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
2582 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
2583 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2584 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
2585 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2586 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2587 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
2588 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2589 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2590 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2591 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2592 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2593 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2594 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
2595
11dd4af6
L
2596 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
2597 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
2598 * include/ifunc-impl-list.h: New file.
2599 * misc/ifunc-impl-list.c: Likewise.
2600 * misc/Makefile (routines): Add ifunc-impl-list.
2601 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
2602 * string/test-string.h: Include <ifunc-impl-list.h>.
2603 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
2604 impl_array): New variables.
2605 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
2606 are defined.
2607 (test_init): Call __libc_ifunc_impl_list to initialize
2608 func_list if TEST_IFUNC and TEST_NAME are defined.
2609
9a387d1f
L
2610 * string/Makefile (strop-tests): Add bcopy and bzero.
2611 * string/test-bcopy.c: New file.
2612 * string/test-bzero.c: Likewise.
2613 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
2614 defined.
2615 * string/test-memset.c: Support bzero test if TEST_BZERO is
2616 defined.
2617 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
2618 __libc_memmove.
2619 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
2620 __libc_memset.
2621 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
2622 of memset.
2623
472371b9
JM
26242012-10-10 Joseph Myers <joseph@codesourcery.com>
2625
1e4a9536
JM
2626 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
2627 * configure: Regenerated.
2628
d173d12e
JM
2629 * Makeconfig (+link-static-before-libc): Don't include
2630 $(link-static-libc).
2631
472371b9
JM
2632 * libio/libio.h (_IO_pos_t): Remove.
2633
89a3ad0b
AO
26342012-10-10 Alexandre Oliva <aoliva@redhat.com>
2635
2636 * NEWS: Add note about FIPS mode. Wording suggested by Roland
2637 McGrath.
2638
e7451425
AO
26392012-10-10 Alexandre Oliva <aoliva@redhat.com>
2640
2641 * crypt/crypt-entry.c: Include fips-private.h.
2642 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
2643 * crypt/md5c-test.c (main): Tolerate disabled MD5.
2644 * sysdeps/unix/sysv/linux/fips-private.h: New file.
2645 * sysdeps/generic/fips-private.h: New file, dummy fallback.
2646
4ba74a35
AO
26472012-10-10 Alexandre Oliva <aoliva@redhat.com>
2648
2649 * crypt/crypt-private.h: Include stdbool.h.
2650 (_ufc_setup_salt_r): Return bool.
2651 * crypt/crypt-entry.c: Include errno.h.
2652 (__crypt_r): Return NULL with EINVAL for bad salt.
2653 * crypt/crypt_util.c (bad_for_salt): New.
2654 (_ufc_setup_salt_r): Check that salt is long enough and within
2655 the specified alphabet.
2656 * crypt/badsalttest.c: New file.
2657 * crypt/Makefile (tests): Add it.
2658 ($(objpfx)badsalttest): New.
2659
f96f1242
MK
26602012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
2661
2662 * NEWS: Add entry for BZ #14602.
2663
0e8e0c1c
JM
26642012-10-09 Joseph Myers <joseph@codesourcery.com>
2665
2666 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
2667 type-generic.
2668 * math/libm-test.inc: Update comment listing what functions and
2669 macros are tested.
2670 (isgreater_test): New function.
2671 (isgreaterequal_test): Likewise.
2672 (isless_test): Likewise.
2673 (islessequal_test): Likewise.
2674 (islessgreater_test): Likewise.
2675 (isunordered_test): Likewise.
2676 (main): Call the new functions.
2677
273edc5e
RM
26782012-10-09 Roland McGrath <roland@hack.frob.com>
2679
b8493de0
RM
2680 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
2681 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
2682 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
2683 * sysdeps/i386/configure: Regenerated.
2684 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
2685 * sysdeps/mach/configure: Regenerated.
2686 * sysdeps/mach/hurd/configure: Regenerated.
2687 * sysdeps/powerpc/configure: Regenerated.
2688 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2689 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2690 * sysdeps/s390/s390-32/configure: Regenerated.
2691 * sysdeps/s390/s390-64/configure: Regenerated.
2692 * sysdeps/sh/configure: Regenerated.
2693 * sysdeps/sparc/configure: Regenerated.
2694 * sysdeps/unix/sysv/linux/configure: Regenerated.
2695 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2696 * sysdeps/x86_64/configure: Regenerated.
2697
273edc5e
RM
2698 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
2699 defined. Don't check if MAP is NULL.
2700
c8450f70
JM
27012012-10-09 Joseph Myers <joseph@codesourcery.com>
2702
2703 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
2704 (_G_stat64): Likewise.
2705 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
2706 (_G_stat64): Likewise.
2707 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
2708 instead of struct _G_stat64.
2709 * libio/fileops.c (mmap_remap_check): Likewise.
2710 (decide_maybe_mmap): Likewise.
2711 (_IO_new_file_seekoff): Likewise.
2712 (_IO_file_stat): Likewise.
2713 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
2714 _G_off64_t.
2715 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
2716 instead of struct _G_stat64.
2717 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2718
57e605ba
MK
27192012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
2720
2721 [BZ #14602]
2722 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2723 Replace with ...
2724 (CHECK_EOL): New macro.
2725 (two_way_short_needle): Check beginning of haystack for EOL. Use
2726 CHECK_EOL.
2727 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2728 Replace with CHECK_EOL.
2729 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2730 Replace with CHECK_EOL.
2731
ef1bb361
JM
27322012-10-08 Joseph Myers <joseph@codesourcery.com>
2733
2734 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
2735 type-generic.
2736 * math/libm-test.inc: Update comment listing what functions and
2737 macros are tested.
2738 (finite_test): New function.
2739 (isinf_test): Likewise.
2740 (isnan_test): Likewise.
2741 (fpclassify_test): Test subnormal input.
2742 (isfinite_test): Likewise.
2743 (isnormal_test): Likewise.
2744 (main): Call the new functions.
2745
55f11534
JN
27462012-10-08 Jonathan Nieder <jrnieder@gmail.com>
2747
2748 [BZ #14660]
2749 * Makerules (%.dynsym): Force C locale when running
2750 $(OBJDUMP) --dynamic-syms.
2751
1ab29350
AS
27522012-10-08 Andreas Schwab <schwab@linux-m68k.org>
2753
2754 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
2755 <stdint.h>.
2756
f1ecb7ef
DM
27572012-10-06 David S. Miller <davem@davemloft.net>
2758
2759 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
2760 upper 32-bits of the length value in %o2 since we use branch-on-register
2761 tests which consider the entire 64-bit register.
2762
5d41d91a
L
27632012-10-06 H.J. Lu <hongjiu.lu@intel.com>
2764
2765 * string/test-strstr.c (check2): Add a test for page boundary.
2766
3baddb72
DM
27672012-10-05 David S. Miller <davem@davemloft.net>
2768
2769 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
2770 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
2771 file.
2772 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2773 sysdep_routines.
2774 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2775 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
2776 and bzero when HWCAP_SPARC_CRYPTO is present.
2777
9cee5585
L
27782012-10-05 H.J. Lu <hongjiu.lu@intel.com>
2779
d7e0dab9
L
2780 [BZ #14602]
2781 * string/test-strstr.c (check2): New function.
2782 (test_main): Call check2.
2783
03759f47
L
2784 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
2785 and bug-strchr1.
2786 * string/bug-strcasestr1.c (do_test): Moved to ...
2787 * string/test-strcasestr.c (check1): Here. New function.
2788 (do_one_test): Break out result checking code into ...
2789 (check_result): This. New function.
2790 (do_one_test): Call check_result.
2791 (test_main): Call check1.
2792 * string/bug-strchr1.c (do_test): Moved to ...
2793 * string/test-strchr.c (check1): Here. New function.
2794 (do_one_test): Break out result checking code into ...
2795 (check_result): This. New function.
2796 (do_one_test): Call check_result.
2797 (test_main): Call check1.
2798 * string/bug-strstr1.c (main): Moved to ...
2799 * string/test-strchr.c (check1): Here. New function.
2800 (do_one_test): Break out result checking code into ...
2801 (check_result): This. New function.
2802 (do_one_test): Call check_result.
2803 (test_main): Call check1.
2804 * string/bug-strcasestr1.c: Removed.
2805 * string/bug-strchr1.c: Likewise.
2806 * string/bug-strstr1.c: Likewise.
2807
53cea63e
L
2808 * elf/Makefile (dl-routines): Add hwcaps.
2809 * elf/dl-support.c (_dl_important_hwcaps): Removed.
2810 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
2811 (_dl_important_hwcaps): Moved to ...
2812 * elf/dl-hwcaps.c: Here. New file.
2813 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
2814
9cee5585 2815 [BZ #14557]
bb859b06
L
2816 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
2817 if IS_IN_rtld isn't defined.
2818
9cee5585
L
2819 * elf/dl-support.c (_dl_sysinfo_map): New.
2820 Include "get-dynamic-info.h" and "setup-vdso.h".
2821 (_dl_non_dynamic_init): Call setup_vdso.
2822 * elf/dynamic-link.h: Don't include <assert.h>.
2823 (elf_get_dynamic_info): Moved to ...
2824 * elf/get-dynamic-info.h: Here. New file.
2825 * elf/dynamic-link.h: Include "get-dynamic-info.h".
2826 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
2827 * elf/setup-vdso.h: Here. New file.
2828 * elf/rtld.c: Include "setup-vdso.h".
2829 (dl_main): Call setup_vdso.
2830
23c31b76
JM
28312012-10-05 Joseph Myers <joseph@codesourcery.com>
2832
28234b07
JM
2833 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
2834 creal in comment listing functions tested. List finite, isinf,
2835 isnan, isless, islessequal, isgreater, isgreaterequal,
2836 islessgreater, isunordered, lgamma_r and pow10 as functions and
2837 macros not tested. Mention which functions not tested are aliases
2838 for other functions. Fix typo. Note that signs of NaNs are not
2839 tested.
2840
23c31b76
JM
2841 * scripts/config.guess: Update from config.git.
2842 * scripts/config.sub: Likewise.
2843
9043e228
RM
28442012-10-04 Roland McGrath <roland@hack.frob.com>
2845
2846 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
2847 * misc/madvise.c (madvise): Renamed to __madvise.
2848 Make madvise a weak alias.
2849 * include/sys/mman.h: Declare __madvise.
2850 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
2851 * sysdeps/unix/syscalls.list
2852 (madvise): Make __madvise the strong name, and madvise a weak alias.
2853 * sysdeps/unix/sysv/linux/syscalls.list
2854 (madvise, mmap): Remove redundant entries.
2855 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
2856 * malloc/malloc.c (mtrim): Likewise.
2857 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
2858
f57f8055
RM
28592012-10-03 Roland McGrath <roland@hack.frob.com>
2860
2861 * sysdeps/mach/hurd/dl-cache.c: File removed.
2862 * config.h.in (USE_LDCONFIG): New #undef.
2863 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
2864 * configure: Regenerated.
2865 * elf/Makefile (dl-routines): Add dl-cache only under
2866 [$(use-ldconfig) = yes].
2867 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
2868 cache on [USE_LDCONFIG].
2869 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
2870 [USE_LDCONFIG].
2871 * elf/rtld.c (dl_main): Likewise.
2872
5bb0c10a
PT
28732012-10-03 Pino Toscano <toscano.pino@tiscali.it>
2874
2875 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
2876 _SC_LEVEL4_CACHE_LINESIZE.
2877
010188c6
RM
28782012-10-03 Roland McGrath <roland@hack.frob.com>
2879
2880 * sysdeps/unix/bsd/confstr.h: File removed.
2881
b6c5ec07
AO
28822012-10-02 Alexandre Oliva <aoliva@redhat.com>
2883
2884 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
2885 sys/sdt-config.h.
2886
408223d4
RM
28872012-10-02 Roland McGrath <roland@hack.frob.com>
2888
2889 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
2890 Make 'mapoff' field ElfW(Off) rather than off_t.
2891
bb9510dc
DL
28922012-10-02 Dmitry V. Levin <ldv@altlinux.org>
2893
fc997c6e
DL
2894 * nscd/Makefile: Remove nscd-cflags and all its users.
2895 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
2896 (CFLAGS-nonlib): Add compiler flags for nscd modules.
2897
bb9510dc
DL
2898 [BZ #10631]
2899 * malloc.c (malloc_printerr): Clarify error message.
2900
05699367
L
29012012-10-02 H.J. Lu <hongjiu.lu@intel.com>
2902
2903 [BZ #14648]
2904 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2905 Set bit_FMA_Usable if FMA is supported.
2906 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
2907 macro.
2908 (bit_FMA4_Usable): Updated.
2909 (index_FMA_Usable): New macro.
2910 (CPUID_FMA): Likewise
2911 (HAS_FMA): Defined with bit_FMA_Usable.
2912
51367701
RM
29132012-10-01 Roland McGrath <roland@hack.frob.com>
2914
2915 * bits/types.h (__swblk_t): Type removed.
2916 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
2917 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
2918 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2919 (__SWBLK_T_TYPE): Likewise.
2920 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2921 (__SWBLK_T_TYPE): Likewise.
2922 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2923 (__SWBLK_T_TYPE): Likewise.
2924 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2925 (__SWBLK_T_TYPE): Likewise.
2926
4d57bf63 29272012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 2928 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
2929
2930 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
2931 (xdr_mapname): Use YPMAXMAP as maxsize.
2932 (xdr_peername): Use YPMAXPEER as maxsize.
2933 (xdr_keydat): Use YPAXRECORD as maxsize.
2934 (xdr_valdat): Use YPMAXRECORD as maxsize.
2935
93c65d43
RM
29362012-10-01 Roland McGrath <roland@hack.frob.com>
2937
497a03d6
RM
2938 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
2939
93c65d43
RM
2940 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
2941 * csu/init-first.c: ... here.
2942 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
2943 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
2944 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
2945 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2946 * sysdeps/i386/init-first.c: File removed.
2947 * sysdeps/sh/init-first.c: File removed.
2948
bec749fd
JM
29492012-10-01 Joseph Myers <joseph@codesourcery.com>
2950
2951 [BZ #14645]
2952 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
2953 if x * y might underflow to zero and z is zero.
2954 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2955 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2956 * math/libm-test.inc (min_subnorm_value): New variable.
2957 (fma_test): Add more tests.
2958 (fma_test_towardzero): Likewise.
2959 (fma_test_downward): Likewise
2960 (fma_test_upward): Likewise.
2961 (initialize): Set min_subnorm_value.
2962
8ec5b013
JM
29632012-09-29 Joseph Myers <joseph@codesourcery.com>
2964
2965 [BZ #14638]
2966 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
2967 0 + 0.
2968 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
2969 mode for addition resulting in exact zero.
2970 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
2971 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
2972 exact 0 + 0.
2973 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2974 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2975 * math/libm-test.inc (fma_test): Add more tests.
2976 (fma_test_towardzero): New function.
2977 (fma_test_downward): Likewise.
2978 (fma_test_upward): Likewise.
2979 (main): Call the new functions.
2980
b1fa802e
DM
29812012-09-28 David S. Miller <davem@davemloft.net>
2982
2983 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
2984
d3b9fd9e
RM
29852012-09-28 Roland McGrath <roland@hack.frob.com>
2986
ea4d37b3
RM
2987 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
2988 instead of SIGALRM.
2989
ac51c949
RM
2990 * sysdeps/gnu/_G_config.h: Moved to ...
2991 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
2992 * sysdeps/mach/hurd/_G_config.h: Moved to ...
2993 * sysdeps/generic/_G_config.h: ... here.
2994
28c195f7
RM
2995 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
2996
848917f9
RM
2997 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
2998
6bacf05b
RM
2999 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3000 Conditionalize target on [libnss_test1.so-version].
3001
91363dbb
RM
3002 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3003
cc87f7d8
RM
3004 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3005 (elfobjdir): Move out of conditionals.
3006
b1c608fe
RM
3007 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3008 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3009 (__nss_lookup_function): Conditionalize label remove_from_tree on
3010 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 3011
1d9a6d96
DM
30122012-09-28 David S. Miller <davem@davemloft.net>
3013
3014 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3015 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3016 file.
3017 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3018 sysdep_routines.
3019 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3020 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3021 when HWCAP_SPARC_CRYPTO is present.
3022
72581615
PT
30232012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3024
3025 * io/tst-mknodat.c: Create a FIFO instead of a socket.
3026
715a900c
JL
30272012-09-28 Andreas Schwab <schwab@linux-m68k.org>
3028
3029 [BZ #6530]
3030 * stdio-common/vfprintf.c (process_string_arg): Revert
3031 2000-07-22 change.
3032
30332011-09-28 Jonathan Nieder <jrnieder@gmail.com>
3034
3035 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3036 for testcase.
3037 * stdio-common/tst-sprintf.c: Include <locale.h>
3038 (main): Test sprintf's handling of incomplete multibyte
3039 characters.
3040
9bac1d86
L
30412012-09-28 H.J. Lu <hongjiu.lu@intel.com>
3042
3043 * elf/dl-runtime.c (VERSYMIDX): Removed.
3044 * elf/dl-version.c (VERSYMIDX): Likewise.
3045 * elf/do-rel.h (VERSYMIDX): Likewise.
3046 (VALIDX): Likewise.
3047 * elf/dynamic-link.h (VERSYMIDX): Likewise.
3048 * elf/rtld.c (VALIDX): Likewise.
3049 (ADDRIDX): Likewise.
9bac1d86
L
3050 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3051 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3052 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
3053 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3054 (VALIDX): Likewise.
3055 (ADDRIDX): Likewise.
9bac1d86 3056
b31606c0
PT
30572012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3058
3059 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3060
11541177
JL
30612012-09-28 Dmitry V. Levin <ldv@altlinux.org>
3062
3063 [BZ #11438]
3064 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3065 to global scope.
3066 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3067 addresses are in the same scope as 192.0.2/24.
3068 * posix/gai.conf: Document new scope table defaults.
3069
adb26fae
SP
30702012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3071
3072 [BZ #5298]
3073 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3074 for ftell. Compute offsets from write pointers instead.
3075 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3076
4573c6b0
SP
30772012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3078
3079 [BZ #14543]
3080 * libio/Makefile (tests): New test case tst-fseek.
3081 * libio/tst-fseek.c: New test case to verify that fseek/ftell
3082 combination works in wide mode.
3083 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3084 state when the external buffer state changes.
3085
aa9bbfe6
DM
30862012-09-27 David S. Miller <davem@davemloft.net>
3087
3088 [BZ #14376]
3089 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3090 pass reloc->r_addend in as the 'high' argument to
3091 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3092
784421e7
DM
3093 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3094
c39bc8b8
PT
30952012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3096
3097 * rt/tst-aio2.c: Include <pthread.h>.
3098 * rt/tst-aio3.c: Likewise.
3099
1ccc2399
SE
31002012-09-27 Steve Ellcey <sellcey@mips.com>
3101
3102 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3103
31ed4153
L
31042012-09-27 H.J. Lu <hongjiu.lu@intel.com>
3105
25f5f885
L
3106 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3107 contents on [SHARED].
31ed4153 3108
b7bfe116
MP
31092012-09-26 Marek Polacek <polacek@redhat.com>
3110
3111 [BZ #14530]
3112 [BZ #13741]
3113 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3114 for C++ and GCC <4.3 as well as for non GCC compilers.
3115
43c4edba
MT
31162012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3117
3118 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3119
6a1bf82f
RM
31202012-09-25 Roland McGrath <roland@hack.frob.com>
3121
3122 * Makefile.in (all, install): Declare with .PHONY.
3123 Reported by Michael Hope <michael.hope@linaro.org>.
3124
8ad11b9a
TMQMF
31252012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3126
3127 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3128 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3129 system header.
3130 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3131 Likewise.
3132 (sydep_routines): Add the new and the internal functions.
3133 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3134 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3136 (GLIBC_2.17): Add the new function.
3137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3138 (GLIBC_2.17): Likewise.
3139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3140 (GLIBC_2.17): Likewise.
3141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3142 (GLIBC_2.17): Likewise.
3143 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3144
7e2fca8d
AM
31452012-09-25 Alan Modra <amodra@gmail.com>
3146
3147 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3148 Add release barrier before setting once_control to say
3149 initialisation is done. Add hints on lwarx. Use macro in
3150 place of isync.
3151 (clear_once_control): Add release barrier.
3152
b87c4b24
JM
31532012-09-25 Joseph Myers <joseph@codesourcery.com>
3154
d032e0d2
JM
3155 [BZ #13629]
3156 * math/s_clog.c (__clog): Handle more values close to |z| = 1
3157 specially.
3158 * math/s_clog10.c (__clog10): Likewise.
3159 * math/s_clog10f.c (__clog10f): Likewise.
3160 * math/s_clog10l.c (__clog10l): Likewise.
3161 * math/s_clogf.c (__clogf): Likewise.
3162 * math/s_clogl.c (__clogl): Likewise.
3163 * math/Makefile (libm-calls): Add x2y2m1.
3164 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
3165 (__x2y2m1): Likewise.
3166 (__x2y2m1l): Likewise.
3167 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
3168 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
3169 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3170 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3171 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3172 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3173 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
3174 * sysdeps/i386/fpu/libm-test-ulps: Update.
3175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3176
b87c4b24
JM
3177 [BZ #14621]
3178 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
3179 int as type of variable DEPTH.
3180 (glob): Use size_t instead of int as type of variables NEWCOUNT
3181 and OLD_PATHC.
3182
6d3bf199
LD
31832012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3184
22bf5c17
LD
3185 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3186 Add s_sincosf-sse2.
3187 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
3188 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
3189 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
3190 macros for using routine as __sincosf_ia32.
3191 Use macro for function declaration and weak_alias.
3192 * sysdeps/i386/fpu/libm-test-ulps: Update.
3193
3194 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
3195 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3196
3197 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
3198 subnormal argument.
3199 * math/s_cexpf.c (__cexpf): Likewise.
3200 * math/s_csinf.c (__csinf): Likewise.
3201 * math/s_csinhf.c (__csinhf): Likewise.
3202 * math/s_ctanf.c (__ctanf): Likewise.
3203 * math/s_ctanhf.c (__ctanhf): Likewise.
3204 * math/s_ccosh.c (__ccoshf): Likewise.
3205 * math/s_cexp.c (__cexpl): Likewise.
3206 * math/s_csin.c (__csin): Likewise.
3207 * math/s_csinh.c (__csinh): Likewise.
3208 * math/s_ctan.c (__ctan): Likewise.
3209 * math/s_ctanh.c (ctanh): Likewise.
3210 * math/s_ccoshl.c (__ccoshl): Likewise.
3211 * math/s_cexpl.c (__cexpl): Likewise.
3212 * math/s_csinl.c (__csinl): Likewise.
3213 * math/s_csinhl.c (__csinhl): Likewise.
3214 * math/s_ctanl.c (__ctanl): Likewise.
3215 * math/s_ctanhl.c (__ctanhl): Likewise.
3216
203e5603
JM
32172012-09-25 Joseph Myers <joseph@codesourcery.com>
3218
3219 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
3220 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
3221 (_IO_off_t): Define to __off_t, not _G_off_t.
3222 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
3223 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
3224 (_IO_wint_t): Define to wint_t, not _G_wint_t.
3225 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
3226 type of __dummy and __dummy2 fields.
3227 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
3228 (_G_ssize_t): Likewise.
3229 (_G_off_t): Likewise.
3230 (_G_pid_t): Likewise.
3231 (_G_uid_t): Likewise.
3232 (_G_wchar_t): Likewise.
3233 (_G_wint_t): Likewise.
3234 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
3235 (_G_ssize_t): Likewise.
3236 (_G_off_t): Likewise.
3237 (_G_pid_t): Likewise.
3238 (_G_uid_t): Likewise.
3239 (_G_wchar_t): Likewise.
3240 (_G_wint_t): Likewise.
3241 * sysdeps/mach/hurd/_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
9fab36eb
SP
32492012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3250
3251 * malloc/arena.c: Include malloc-sysdep.h.
3252 (shrink_heap): Use check_may_shrink_heap to decide if madvise
3253 is sufficient to shrink the heap or an unmap is needed.
3254 * sysdeps/generic/malloc-sysdep.h: New file. Define
3255 new function check_may_shrink_heap.
3256 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
3257 new function check_may_shrink_heap.
3258
2b4f00d1
SP
32592012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3260
3261 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3262 comments.
3263
9a9028b1
DL
32642012-09-24 Dmitry V. Levin <ldv@altlinux.org>
3265
57c69bef
DL
3266 * catgets/test-gencat.sh: Add "set -e".
3267 * elf/tst-pathopt.sh: Likewise.
3268 * grp/tst_fgetgrent.sh: Likewise.
3269 * iconvdata/run-iconv-test.sh: Likewise.
3270 * intl/tst-gettext.sh: Likewise.
3271 * intl/tst-gettext2.sh: Likewise.
3272 * intl/tst-gettext4.sh: Likewise.
3273 * intl/tst-gettext6.sh: Likewise.
3274 * intl/tst-translit.sh: Likewise.
3275 * io/ftwtest-sh: Likewise.
3276 * libio/test-freopen.sh: Likewise.
3277 * malloc/tst-mtrace.sh: Likewise.
3278 * posix/globtest.sh: Likewise.
3279 * posix/tst-getconf.sh: Likewise.
3280 * posix/wordexp-tst.sh: Likewise.
3281 * stdio-common/tst-printf.sh: Likewise.
3282 * stdio-common/tst-unbputc.sh: Likewise.
3283 * stdlib/tst-fmtmsg.sh: Likewise.
3284 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3285 * catgets/Makefile: Do not specify -e option when running
3286 testsuite shell scripts.
3287 * elf/Makefile: Likewise.
3288 * grp/Makefile: Likewise.
3289 * iconvdata/Makefile: Likewise.
3290 * intl/Makefile: Likewise.
3291 * io/Makefile: Likewise.
3292 * libio/Makefile: Likewise.
3293 * malloc/Makefile: Likewise.
3294 * posix/Makefile: Likewise.
3295 * stdio-common/Makefile: Likewise.
3296 * stdlib/Makefile: Likewise.
3297 * sysdeps/x86_64/Makefile: Likewise.
3298
9a9028b1
DL
3299 * io/ftwtest-sh: Add copyright header.
3300 * posix/globtest.sh: Likewise.
3301 * posix/tst-getconf.sh: Likewise.
3302 * posix/wordexp-tst.sh: Likewise.
3303 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3304
ced6f16e
L
33052012-09-24 H.J. Lu <hongjiu.lu@intel.com>
3306
94b32c39
L
3307 [BZ #13679]
3308 * Makeconfig (+link): Defined as $(+link-static) if
3309 $(build-shared) isn't yes.
3310 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3311 isn't yes.
3312 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3313
189e935b
L
3314 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3315
ced6f16e
L
3316 [BZ #14562]
3317 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3318 new chunk size with MALLOC_ALIGN_MASK.
3319
a9f8e53a
JM
33202012-09-24 Joseph Myers <joseph@codesourcery.com>
3321
3322 [BZ #5044]
3323 * stdio-common/printf_fphex.c: Include <stdbool.h> and
3324 <rounding-mode.h>.
3325 (__printf_fphex): Determine rounding using get_rounding_mode and
3326 round_away.
3327 * stdio-common/tst-printf-round.c (struct hex_test): New
3328 structure.
3329 (hex_tests): New variable.
3330 (test_hex_in_one_mode): New function.
3331 (do_test): Also run tests for hex float output.
3332
43153109
JM
33332012-09-21 Joseph Myers <joseph@codesourcery.com>
3334
3335 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3336 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3337 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
3338 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3339 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3340 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3341 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3342 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3343
8a26625d
JM
33442012-09-20 Joseph Myers <joseph@codesourcery.com>
3345
3346 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3347 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3348 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3349 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3350
f3fd569c
DL
33512012-09-19 Dmitry V. Levin <ldv@altlinux.org>
3352
3353 [BZ #14579]
3354 * elf/rtld.c (dl_main): Limit the check for self loading to normal
3355 mode only.
3356 * elf/tst-rtld-load-self.sh: New test.
3357 * elf/Makefile: Run it.
3358
63bbedd4
JM
33592012-09-18 Joseph Myers <joseph@codesourcery.com>
3360
3361 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
3362 (tst-writev-ENV): Remove.
3363 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
3364
626f8b6a
CM
33652012-09-17 Chris Metcalf <cmetcalf@tilera.com>
3366
3367 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
3368
b7aaa4d6
JM
33692012-09-17 Joseph Myers <joseph@codesourcery.com>
3370
3371 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
3372 unconditional.
3373 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
3374 Likewise.
3375 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
3376 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
3377 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
3378 Likewise.
3379
65513990
L
33802012-09-14 H.J. Lu <hongjiu.lu@intel.com>
3381
3382 [BZ #14587]
3383 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
3384 * config.make.in (have-cpp-asm-debuginfo): Removed.
3385 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
3386 * configure: Regenerated.
3387
784761be
JM
33882012-09-14 Joseph Myers <joseph@codesourcery.com>
3389
3390 [BZ #5044]
3391 * stdio-common/printf_fp.c: Include <stdbool.h> and
3392 <rounding-mode.h>.
3393 (___printf_fp): Determine rounding using get_rounding_mode and
3394 round_away.
3395 * stdio-common/tst-printf-round.c: New file.
3396 * stdio-common/Makefile (tests): Add tst-printf-round.
3397 (link-libm): New variable.
3398 ($(objpfx)tst-printf-round): Depend in $(link-libm).
3399
9503345f
L
34002012-09-13 H.J. Lu <hongjiu.lu@intel.com>
3401
3402 [BZ #14576]
3403 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
3404 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
3405 Likewise.
3406 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
3407 Likewise.
3408
ad35fc00
JM
34092012-09-13 Joseph Myers <joseph@codesourcery.com>
3410
3411 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
3412 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3413 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3414 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3415
6c9b0f68
JM
34162012-09-12 Joseph Myers <joseph@codesourcery.com>
3417
3418 [BZ #14518]
3419 * include/rounding-mode.h: New file.
3420 * sysdeps/generic/get-rounding-mode.h: Likewise.
3421 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
3422 * stdlib/strtod_l.c: Include <rounding-mode.h>.
3423 (MAX_VALUE): New macro.
3424 (MIN_VALUE): Likewise.
3425 (overflow_value): New function.
3426 (underflow_value): Likewise.
3427 (round_and_return): Use overflow_value and underflow_value to
3428 determine return values in overflow and underflow cases. Use
3429 round_away to determine rounding depending on rounding mode.
3430 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
3431 determine return values in overflow and underflow cases.
3432 * stdlib/tst-strtod-round.c: Include <fenv.h>.
3433 (struct test_results): New structure.
3434 (struct test): Use struct test_results to store expected results
3435 for all rounding modes.
3436 (TEST): Include expected results for all rounding modes.
3437 (test_in_one_mode): New function.
3438 (do_test): Use test_in_one_mode to compute and check results.
3439 Check results for all rounding modes.
3440 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
3441 $(link-libm).
3442
19fcedd5
AM
34432012-12-09 Allan McRae <allan@archlinux.org>
3444
1e9d84cd 3445 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 3446
8bbfd2f1
JM
34472012-09-11 Joseph Myers <joseph@codesourcery.com>
3448
3449 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
3450 (_G_int32_t): Likewise.
3451 (_G_uint16_t): Likewise.
3452 (_G_uint32_t): Likewise.
3453 (_G_HAVE_BOOL): Likewise.
3454 (_G_HAVE_ATEXIT): Likewise.
3455 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3456 (_G_HAVE_IO_FILE_OPEN): Likewise.
3457 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
3458 (_G_int32_t): Likewise.
3459 (_G_uint16_t): Likewise.
3460 (_G_uint32_t): Likewise.
3461 (_G_HAVE_BOOL): Likewise.
3462 (_G_HAVE_ATEXIT): Likewise.
3463 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3464 (_G_HAVE_IO_FILE_OPEN): Likewise.
3465 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
3466 (_G_int32_t): Likewise.
3467 (_G_uint16_t): Likewise.
3468 (_G_uint32_t): Likewise.
3469 (_G_HAVE_BOOL): Likewise.
3470 (_G_HAVE_ATEXIT): Likewise.
3471 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3472 (_G_HAVE_IO_FILE_OPEN): Likewise.
3473
b1dc5912
L
34742012-09-11 H.J. Lu <hongjiu.lu@intel.com>
3475
3476 * csu/libc-tls.c: Update copyright years.
3477
0e886ef9
JM
34782012-09-10 Joseph Myers <joseph@codesourcery.com>
3479
28361c5e
JM
3480 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
3481 [!_G_USING_THUNKS]: Remove conditional code.
3482 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
3483 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
3484
0e886ef9
JM
3485 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
3486 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
3487 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3488 (_G_VTABLE_LABEL_PREFIX): Likewise.
3489 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3490 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3491 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3492 (_G_VTABLE_LABEL_PREFIX): Likewise.
3493 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3494 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3495 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3496 (_G_VTABLE_LABEL_PREFIX): Likewise.
3497 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3498
bcba7aa2
L
34992012-09-10 H.J. Lu <hongjiu.lu@intel.com>
3500
3501 * libio/Makefile: Include ../Makeconfig before tests.
3502 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
3503 only if $(build-shared) is yes.
3504
06585ee8
L
3505 * iconv/gconv_db.c: Update copyright years.
3506
80ccd52c
LD
35072012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3508
3509 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
3510 unwind info if defined PIC. Fix special cases description.
3511 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
3512
3513 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
3514 DP_HI_MASK entry.
3515 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
3516
691bc9c1
L
35172012-09-07 H.J. Lu <hongjiu.lu@intel.com>
3518
3d9b46b3
L
3519 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
3520
de2139a9
L
3521 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
3522 is NULL.
3523
5ca78dd0
L
3524 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
3525 (LDLIBS-tst-chk4): This.
3526 (LDFLAGS-tst-chk5): Renamed to ...
3527 (LDLIBS-tst-chk5): This.
3528 (LDFLAGS-tst-chk6): Renamed to ...
3529 (LDLIBS-tst-chk6): This.
3530 (LDFLAGS-tst-lfschk4): Renamed to ...
3531 (LDLIBS-tst-lfschk4): This.
3532 (LDFLAGS-tst-lfschk5): Renamed to ...
3533 (LDLIBS-tst-lfschk5): This.
3534 (LDFLAGS-tst-lfschk6): Renamed to ...
3535 (LDLIBS-tst-lfschk6): This.
3536
691bc9c1
L
3537 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
3538 on $(common-objpfx)soversions.mk.
3539
65cafb1c
JM
35402012-09-07 Joseph Myers <joseph@codesourcery.com>
3541
3542 [BZ #10014]
3543 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
3544 example host name.
3545
c78ab094
SP
35462012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3547
3548 * malloc/arena.c (arena_get_retry): New function that gets
3549 another arena for the caller to try its request on.
3550 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
3551 current arena cannot fulfill the request.
3552 (__libc_memalign): Likewise.
3553 (__libc_memalign): Likewise.
3554 (__libc_pvalloc): Likewise.
3555 (__libc_calloc): Likewise.
3556
01f49f59
JT
35572012-09-05 John Tobey <john.tobey@gmail.com>
3558
3559 [BZ #13542]
3560 * manual/arith.texi (Operations on Complex): Fix description
3561 of carg branch cut.
3562
4c23fed5
JM
35632012-09-06 Joseph Myers <joseph@codesourcery.com>
3564
1d3c8572
JM
3565 [BZ #10014]
3566 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
3567 host name.
3568
4c23fed5
JM
3569 [BZ #10038]
3570 * manual/memory.texi (Memory): Make order of menu items match
3571 order of sections.
3572
04570aaa
L
35732012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3574
3575 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
3576 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
3577 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
3578
b80af2f4
L
35792012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3580
3581 * csu/libc-tls.c (static_dtv): Renamed to ...
3582 (_dl_static_dtv): This. Make it global.
3583 (_dl_initial_dtv): Removed.
3584 (__libc_setup_tls): Updated.
3585 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
3586 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
3587 DL_INITIAL_DTV.
3588
2abe9f15
PM
35892012-09-06 Petr Machata <pmachata@redhat.com>
3590
3591 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
3592 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
3593 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
3594 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
3595
0948c3af
L
35962012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3597
3598 [BZ #14545]
3599 * csu/libc-tls.c (_dl_initial_dtv): New variable.
3600 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
3601 freeing dtv[-1].
3602
a5055ad1
L
36032012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3604
3605 [BZ #14544]
3606 * Makeconfig (link-static-before-libc): Replace $(+prector)
3607 with $(+prectorT).
3608 (link-static-after-libc): Replace $(+postctor) with
3609 $(+postctorT).
3610 (link-bounded): Replace $(+prector)/$(+postctor) with
3611 $(+prectorT)/$(+postctorT).
3612 (+prectorT): New macro.
3613 (+postctorT): Likewise.
3614
ed8c2ecd
JM
36152012-09-06 Joseph Myers <joseph@codesourcery.com>
3616
3617 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
3618 (round_str): Handle values above the maximum for IBM long double
3619 as inexact.
3620 * stdlib/tst-strtod-round.c (tests): Regenerated.
3621
14c996c8
AK
36222012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3623
3624 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
3625 assembler flag.
3626 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
3627 zarch_nohighgprs around the zarch optimized routines.
3628 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3629 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3630 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
3631 for zarch.
3632
430d6ce6
DM
36332012-09-05 David S. Miller <davem@davemloft.net>
3634
3635 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3636
ff04dda4
DM
3637 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
3638 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
3639 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
3640 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
3641 entries.
3642
24d4e01b
AO
36432012-09-05 Alexandre Oliva <aoliva@redhat.com>
3644
3645 * malloc/arena.c: Fold copyright years.
3646 * malloc/mcheck.c, malloc/memusage.c: Likewise.
3647
61d58174
AO
36482012-09-05 Alexandre Oliva <aoliva@redhat.com>
3649
3650 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
3651
20196a5e
AO
36522012-09-05 Alexandre Oliva <aoliva@redhat.com>
3653
3654 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
3655
5c447383
AO
36562012-09-05 Alexandre Oliva <aoliva@redhat.com>
3657
3658 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
3659 change internal state upon failure.
3660
fad64255
AO
36612012-09-05 Alexandre Oliva <aoliva@redhat.com>
3662
3663 * malloc/mcheck.c (mcheck_check_all): Fix typo.
3664 * malloc/memusage.c (mmap): Likewise.
3665 (mmap64, mremap): Likewise. Adjust name in comment.
3666
1ffb8c90
SP
36672012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3668
3669 * libio/fileops.c: Fix typos in comments.
3670 * libio/oldfileops.c: Likewise.
3671 * libio/wfileops.c: Likewise.
3672
6ef9cc37
SP
36732012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3674
3675 [BZ #1349]
3676 * malloc/Makefile (tests): Add tst-malloc-usable test case.
3677 (tst-malloc-usable-ENV): Set environment for test case.
3678 * malloc/hooks.c (malloc_check_get_size): New function to get
3679 requested size.
3680 * malloc/malloc.c (musable): Use malloc_check_get_size.
3681 * malloc/tst-malloc-usable.c: New test case.
3682
4d038ae3
AS
36832012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3684
3685 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
3686
c4e85184
AM
36872012-09-05 Allan McRae <allan@archlinux.org>
3688
b9dafc56 3689 [BZ #13966]
c4e85184
AM
3690 * configure.in (CXX_SYSINCLUDES): Use compiler output to
3691 determine header location.
3692 * configure: Regenerated.
3693
e1343020
AS
36942012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3695
3696 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
3697 float format.
3698 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
3699 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
3700 format.
e1343020
AS
3701 (test): Regenerate.
3702
0a9f1987
DM
37032012-09-04 David S. Miller <davem@davemloft.net>
3704
3705 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
3706 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
3707 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
3708
29237804
FW
37092012-09-04 Florian Weimer <fweimer@redhat.com>
3710
3711 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
3712 failures.
3713
edb3cb88
FW
3714 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
3715
60160d83
JM
37162012-09-04 Joseph Myers <joseph@codesourcery.com>
3717
3718 [BZ #9914]
3719 * libio/iogetdelim.c: Include <limits.h>.
3720 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
3721 + len + 1 would overflow.
3722
bcd6c8dc
AJ
37232012-09-03 Andreas Jaeger <aj@suse.de>
3724
3725 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3726 * sysdeps/i386/fpu/libm-test-ulps: Update.
3727
4ffffbd2
LD
37282012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3729
3730 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3731 Add s_sinf-sse2, s_conf-sse2.
3732
3733 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
3734 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
3735 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
3736 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
3737
3738 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
3739 for using routine as __sinf_ia32.
3740 Use macro for function declaration and weak_alias.
3741 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
3742 for using routine as __cosf_ia32.
3743 Use macro for function declaration and weak_alias.
3744
3745 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
3746 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
3747
3748 * sysdeps/x86_64/fpu/s_sinf.S: New file.
3749 * sysdeps/x86_64/fpu/s_cosf.S: New file.
3750 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3751
3752 * math/libm-test.inc (cos_test): Add more test cases.
3753 (sin_test): Likewise.
3754 (sincos_test): Likewise.
3755
511fa286
AK
37562012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3757
3758 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
3759 (IFUNC_RESOLVE): Make pointers to the specialized implementations
3760 hidden.
3761 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3762
5f30cfec
L
37632012-09-02 H.J. Lu <hongjiu.lu@intel.com>
3764
3765 [BZ #14538]
3766 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
3767 first element of the GOT.
3768 (elf_machine_load_address): Return the difference between
3769 the runtime address of _DYNAMIC and elf_machine_dynamic ().
3770
0786794f
AM
37712012-09-01 Allan McRae <allan@archlinux.org>
3772
5f30cfec
L
3773 [BZ #13412]
3774 * configure.in (AWK): Require gawk version 3.0 or later.
3775 * configure: Regenerated.
0786794f 3776
26889eac
JM
37772012-09-01 Joseph Myers <joseph@codesourcery.com>
3778
3779 * sysdeps/unix/sysv/linux/kernel-features.h
3780 (__ASSUME_POSIX_CPU_TIMERS): Remove.
3781 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3782 [__NR_clock_getres]: Make code unconditional.
3783 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
3784 (clock_getcpuclockid): Remove code left unreachable by removal of
3785 conditionals.
3786 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
3787 code unconditional.
3788 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3789 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3790 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
3791 Make code unconditional.
3792 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3793 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3794 * sysdeps/unix/sysv/linux/clock_settime.c
3795 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
3796 conditional code.
3797 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
3798 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3799
d22e28b0
L
38002012-08-29 H.J. Lu <hongjiu.lu@intel.com>
3801
3802 [BZ #14476]
3803 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
3804 scripts/test-installation.pl.
3805
3806 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
3807 and $ld_so_version if it is set.
3808
050af9c4
SP
38092012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3810
3811 [BZ #14516]
3812 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
3813 failure if reading from procfs failed.
3814 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
3815
ad845c0b
JM
38162012-08-27 Joseph Myers <joseph@codesourcery.com>
3817
3818 * sysdeps/unix/sysv/linux/kernel-features.h
3819 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
3820 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3821 Remove conditional code.
3822 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3823 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
3824 Remove conditional code.
3825 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3826 * sysdeps/unix/sysv/linux/i386/fxstat.c
3827 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3828 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3829 * sysdeps/unix/sysv/linux/i386/fxstatat.c
3830 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3831 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3832 * sysdeps/unix/sysv/linux/i386/lxstat.c
3833 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3834 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3835 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
3836 Remove conditional code.
3837 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3838 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3839 Remove conditional code.
3840 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3841 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
3842 <kernel-features.h>.
3843 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
3844 Remove.
3845 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
3846 Remove conditional code.
3847 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3848 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
3849 Remove conditional.
3850
5dbf56af
MF
38512012-08-27 Mike Frysinger <vapier@gentoo.org>
3852
3853 [BZ #5400]
3854 * NEWS: Add fixed bug number.
3855
d6e70f43
JM
38562012-08-27 Joseph Myers <joseph@codesourcery.com>
3857
7efb4737
JM
3858 [BZ #14519]
3859 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
3860 underflowing exponent in case of negative sign.
3861 * stdlib/tst-strtod-round-data: Add more tests.
3862 * stdlib/tst-strtod-round.c (tests): Regenerated.
3863
af92131a
JM
3864 [BZ #3479]
3865 * stdlib/strtod_l.c (NDIG): Remove.
3866 (HEXNDIG): Likewise.
3867 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
3868 smallest representable value.
3869 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
3870 lie within an exact representation of 1/2 ulp of the result.
3871 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
3872 unconditionally.
3873 (TENS_P9_IDX): Define unconditionally.
3874 (TENS_P9_SIZE): Likewise.
3875 (TENS_P10_IDX): Likewise.
3876 (TENS_P10_SIZE): Likewise.
3877 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
3878 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
3879 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
3880 entries for 10^2^13 and 10^2^14.
3881 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
3882 (TENS_P13_IDX): Define.
3883 (TENS_P13_SIZE): Likewise.
3884 (TENS_P14_IDX): Likewise.
3885 (TENS_P14_SIZE): Likewise.
3886 (_fpioconst_pow10): Change array size to
3887 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
3888 unconditional.
3889 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
3890 1024]: Add entries for 10^2^13 and 10^2^14.
3891 [LAST_POW10 > _LAST_POW10]: Remove #error.
3892 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
3893 (_fpioconst_pow10): Change array size to
3894 FPIOCONST_POW10_ARRAY_SIZE.
3895 * stdlib/gen-fpioconst.c: New file.
3896 * stdlib/gen-tst-strtod-round.c: Likewise.
3897 * stdlib/tst-strtod-round-data: Likewise.
3898 * stdlib/tst-strtod-round.c: Likewise.
3899 * stdlib/Makefile (tests): Add tst-strtod-round.
3900
d6e70f43
JM
3901 [BZ #14459]
3902 * stdlib/strtod_l.c: Include <stdint.h>.
3903 (NDEBUG): Do not define.
3904 (round_and_return): Change EXPONENT parameter to type intmax_t.
3905 Rearrange calculations to avoid internal overflow possibilities.
3906 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
3907 Rearrange calculations to avoid internal overflow possibilities.
3908 Assert that number fits inside MPNSIZE limbs.
3909 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
3910 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
3911 calculations and add assertions to avoid internal overflow
3912 possibilities. Add casts to avoid signed/unsigned operations.
3913 * stdlib/tst-strtod-overflow.c: New file.
3914 * stdlib/Makefile (tests): Add tst-strtod-overflow.
3915
1f529f7d
MP
39162012-08-25 Marek Polacek <polacek@redhat.com>
3917
3918 * time/time.h: Fix some typos in comments.
3919
59a629f1
RM
39202012-08-23 Roland McGrath <roland@hack.frob.com>
3921
3922 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
3923 * posix/tst-rfc3484-2.c: Likewise.
3924 * posix/tst-rfc3484-3.c: Likewise.
3925
d3bafbc9
SM
39262012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
3927
3928 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
3929 (EF_ARM_ABI_FLOAT_HARD): Likewise.
3930
4efcc022
JM
39312012-08-23 Joseph Myers <joseph@codesourcery.com>
3932
3933 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
3934 #include of fxstatat64.c.
3935
3cc3ef96
RM
39362012-08-22 Roland McGrath <roland@hack.frob.com>
3937
f04e2132
RM
3938 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
3939 * shadow/getspent_r.c: Likewise.
3940 * shadow/getspnam.c: Likewise.
3941 * shadow/getspnam_r.c: Likewise.
3942 * gshadow/getsgent.c: Likewise.
3943 * gshadow/getsgent_r.c: Likewise.
3944 * gshadow/getsgnam.c: Likewise.
3945 * gshadow/getsgnam_r.c: Likewise.
3946 * inet/getnetbyad.c: Likewise.
3947 * inet/getnetbyad_r.c: Likewise.
3948 * inet/getnetbynm.c: Likewise.
3949 * inet/getnetbynm_r.c: Likewise.
3950 * inet/getnetent.c: Likewise.
3951 * inet/getnetent_r.c: Likewise.
3952 * inet/getproto.c: Likewise.
3953 * inet/getproto_r.c: Likewise.
3954 * inet/getprtent.c: Likewise.
3955 * inet/getprtent_r.c: Likewise.
3956 * inet/getprtname.c: Likewise.
3957 * inet/getprtname_r.c: Likewise.
3958 * inet/getrpcbyname.c: Likewise.
3959 * inet/getrpcbyname_r.c: Likewise.
3960 * inet/getrpcbynumber.c: Likewise.
3961 * inet/getrpcbynumber_r.c: Likewise.
3962 * inet/getrpcent.c: Likewise.
3963 * inet/getrpcent_r.c: Likewise.
3964 * inet/getaliasent.c: Likewise.
3965 * inet/getaliasent_r.c: Likewise.
3966 * inet/getaliasname.c: Likewise.
3967 * inet/getaliasname_r.c: Likewise.
3968 * nscd/getgrgid_r.c: Likewise.
3969 * nscd/getgrnam_r.c: Likewise.
3970 * nscd/gethstbyad_r.c: Likewise.
3971 * nscd/gethstbynm3_r.c: Likewise.
3972 * nscd/getpwnam_r.c: Likewise.
3973 * nscd/getpwuid_r.c: Likewise.
3974 * nscd/getsrvbynm_r.c: Likewise.
3975 * nscd/getsrvbypt_r.c: Likewise.
3976 * nscd/gai.c: Likewise.
3977
c53d909c
RM
3978 * configure.in (build_nscd): New substituted variable, set
3979 by --disable-build-nscd and defaults to $use_nscd.
3980 * configure: Regenerated.
3981 * config.make.in (build-nscd): New substituted variable.
3982 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
3983 Change conditional to require [$(build-nscd) = yes] as well.
3984 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
3985
3cc3ef96
RM
3986 [BZ# 13696]
3987 * configure.in (use_nscd): New substituted variable, set by
3988 --disable-nscd. If enabled, define USE_NSCD.
3989 * configure: Regenerated.
3990 * config.h.in: Add USE_NSCD.
3991 * config.make.in (use-nscd): New substituted variable.
3992 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
3993 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
3994 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
3995 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
3996 (CFLAGS-getgrnam_r.c): Likewise.
3997 (CFLAGS-initgroups.c): Likewise.
3998 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
3999 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4000 Variables removed.
4001 * inet/getnetgrent_r.c
4002 (nscd_setnetgrent): New function, broken out of ...
4003 (setnetgrent): ... here. Call it.
4004 (innetgr): Conditionalize nscd bits on [USE_NSCD].
4005 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4006 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4007 * nscd/Makefile (routines, aux): Move definitions after include of
4008 Makeconfig. Conditionalize on [$(use-nscd) != no].
4009 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4010 Conditionalize on [USE_NSCD].
4011 (is_nscd, nscd_init_cb): Likewise.
4012 (nss_load_library): Conditionalize init callback on [USE_NSCD].
4013 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4014 * nss/nss_db/db-init.c: Likewise.
4015 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4016 [USE_NSCD].
4017 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4018 (make_request): Use it.
4019 (cache_valid_p): New function.
4020 (__check_pf): Use it.
4021 * NEWS: Add item for --disable-nscd.
4022
07e51550
DL
40232012-08-22 Dmitry V. Levin <ldv@altlinux.org>
4024
4025 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4026 to support sed >= 4.2.1-20-ga9bf076.
4027 * configure: Regenerated.
4028
35a5b08b
RM
40292012-08-22 Roland McGrath <roland@hack.frob.com>
4030
4031 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4032 Conditionalize whole body on [IREL].
4033
8479f23a
JL
40342012-08-22 Jeff Law <law@redhat.com>
4035
4036 [BZ #14505]
4037 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4038 if the family is PF_UNSPEC.
4039
48da0b21
MF
40402012-08-22 Mike Frysinger <vapier@gentoo.org>
4041
4042 * Makerules (lib-version): Rename from V.
4043 (install-lib-nosubdir): Change V to lib-version.
4044
15d0da8c
WS
40452012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
4046
4047 [BZ #14252]
4048 * powerpc32/power6/wcschr.c: New file.
4049 * powerpc32/power6/wcscpy.c: New file.
4050 * powerpc32/power6/wcsrchr.c: New file.
4051 * powerpc64/power6/wcschr.c: New file.
4052 * powerpc64/power6/wcscpy.c: New file.
4053 * powerpc64/power6/wcsrchr.c: New file.
4054
bcca0895
MK
40552012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4056
4057 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4058 (two_way_short_needle): Use it.
5a4aaa33
RM
4059 * string/strstr.c (AVAILABLE1_USES_J): Define.
4060 * string/strcasestr.c: Likewise.
99677e57
MK
4061
4062 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4063 array references.
4064 * string/strcasestr.c (TOLOWER): Make side-effect safe.
4065
400726de
MK
4066 [BZ #11607]
4067 * NEWS: Add an entry.
4068 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4069 define their defaults.
4070 (two_way_short_needle): Detect end-of-string on-the-fly.
4071 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4072 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4073 * string/bug-strcasestr1.c: New test.
4074 * string/Makefile: Run it.
4075
20a71f2c
MK
40762012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4077
4078 [BZ #11607]
4079 * string/str-two-way.h (two_way_short_needle): Optimize matching of
4080 the first character.
4081
21ad0558
RM
40822012-08-21 Roland McGrath <roland@hack.frob.com>
4083
4084 * csu/elf-init.c (__libc_csu_irel): Function removed.
4085 * csu/libc-start.c (apply_irel): New function.
4086 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4087
0e1d9911
JM
40882012-08-21 Joseph Myers <joseph@codesourcery.com>
4089
4090 * sysdeps/unix/sysv/linux/kernel-features.h
4091 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4092 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4093 <kernel-features.h>.
4094 [__NR_fadvise64_64]: Make code unconditional.
4095 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4096 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4097 !__NR_fadvise64_64)]: Likewise.
4098 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4099 !__NR_fadvise64_64))]: Likewise.
4100 [__NR_fadvise64]: Make code unconditional.
4101 [!__NR_fadvise64]: Remove conditional code.
4102 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4103 <kernel-features.h>.
4104 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4105 unconditional.
4106 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4107 conditional code.
4108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4109 not include <kernel-features.h>.
4110 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4111 unconditional.
4112 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4113 conditional code.
4114 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4115 include <kernel-features.h>.
4116 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4117 unconditional.
4118 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4119 conditional code.
4120
14a50c9d
WS
41212012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4122
4123 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4124 slight instruction rearrangements per scrollpipe analysis.
4125 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4126
c0f4faf0
RM
41272012-08-20 Roland McGrath <roland@hack.frob.com>
4128
696da859
RM
4129 * manual/syslog.texi (syslog; vsyslog, closelog):
4130 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4131 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4132
c0f4faf0
RM
4133 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4134 DSOCAPS to match condition on defining it.
4135
348363b2
JM
41362012-08-20 Joseph Myers <joseph@codesourcery.com>
4137
a35cbf28
JM
4138 * sysdeps/unix/sysv/linux/kernel-features.h
4139 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4141 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4142 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4144 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4145 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4147 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4148 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4149
445f7ecd
JM
4150 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4151 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4152
348363b2
JM
4153 * sysdeps/unix/sysv/linux/kernel-features.h
4154 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4155 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4156 unconditional.
4157 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4158 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
4159 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4160 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4161 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
4162 Make code unconditional.
4163 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4164 (__mmap64) [!__NR_mmap2]: Likewise.
4165 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
4166 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4167 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4168 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
4169 [__NR_mmap2]: Make code unconditional.
4170 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4171 (__mmap64) [!__NR_mmap2]: Likewise.
4172
bc5bc0e5
AK
41732012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4174
4175 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
4176
88d506de
AJ
41772012-08-18 Andreas Jaeger <aj@suse.de>
4178
4179 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
4180
493387d2
MF
41812012-08-18 Mike Frysinger <vapier@gentoo.org>
4182
4183 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
4184 * include/unistd.h (__have_sock_cloexec): Likewise.
4185 (__have_pipe2): Likewise.
4186 (__have_dup3): Likewise.
4187
a277af22
MF
41882012-08-18 Mike Frysinger <vapier@gentoo.org>
4189
4190 [BZ #9685]
4191 * include/unistd.h (__have_pipe2): Change define into an extern int.
4192 (__have_dup3): Likewise.
4193 * socket/have_sock_cloexec.c: Include fcntl.h.
4194 (__have_pipe2): New variable.
4195 (__have_dup3): Likewise.
4196
fdab8fd3
MF
41972012-08-17 Mike Frysinger <vapier@gentoo.org>
4198
4199 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4200
31035e80
MP
42012012-08-17 Marek Polacek <polacek@redhat.com>
4202
4203 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4204 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
4205
3bd9e993
RM
42062012-08-17 Roland McGrath <roland@hack.frob.com>
4207
c91c505f
RM
4208 * configure.in: Add AC_SUBST for sysheaders.
4209 * configure: Regenerated.
4210 * config.make.in (sysheaders): New substituted variable.
4211
7c6f9d53
RM
4212 * sysdeps/unix/mkfifo.c: Moved ...
4213 * sysdeps/posix/mkfifo.c: ... here.
4214 * sysdeps/unix/mkfifoat.c: Moved ...
4215 * sysdeps/posix/mkfifoat.c: ... here.
4216
4217 * sysdeps/unix/utime.c: Moved ...
4218 * sysdeps/posix/utime.c: ... here.
4219
4220 * sysdeps/unix/time.c: Moved ...
4221 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
4222 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
4223 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
4224
4225 * sysdeps/unix/nice.c: Moved ...
4226 * sysdeps/posix/nice.c: ... here.
4227
4228 * sysdeps/unix/alarm.c: Moved ...
4229 * sysdeps/posix/alarm.c: ... here.
4230
3bd9e993
RM
4231 * intl/Makefile ($(codeset_mo)): Depend on the input file.
4232
d1f09384
JL
42332012-08-17 Jeff Law <law@redhat.com>
4234
4235 * intl/Makefile (codeset_mo): New variable.
4236 ($(codeset_mo)): New target.
4237 (tst-codeset.out): Depend on that. Remove explicit rule.
4238 (tst-gettext3.out, tst-gettext5.out): Likewise.
4239 (LOCPATH-ENV, tst-codeset-ENV): New variables.
4240 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
4241 * intl/tst-codeset.sh: Remove.
4242 * intl/tst-gettext3.sh: Likewise.
4243 * intl/tst-gettext5.sh: Likewise.
4244
2ae1ae5c
RM
42452012-08-17 Roland McGrath <roland@hack.frob.com>
4246
c31fdb83
RM
4247 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
4248 * sysdeps/unix/syscalls.list: ... here.
4249
a0844057
RM
4250 * sysdeps/posix/getaddrinfo.c
4251 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
4252 (gaiconf_init, gaiconf_reload): Use them.
4253 [!_STATBUF_ST_NSEC]
4254 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4255 Define using time_t rather than struct timespec.
4256
750c1f2a
RM
4257 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4258 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4259 Macros removed.
4260 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4261 [!NO_THREADS].
4262 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4263 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4264 Likewise.
4265
2ae1ae5c
RM
4266 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4267 __libc_cleanup_push argument.
4268
e66a42f5
RM
4269 * bits/param.h: New file.
4270 * misc/sys/param.h: New file.
4271 * include/sys/param.h: New file.
4272 * misc/Makefile (headers): Add bits/param.h.
4273 * sysdeps/generic/sys/param.h: File removed.
4274 * sysdeps/unix/sysv/linux/bits/param.h: New file.
4275 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4276 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 4277 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 4278
b7c08a66
RM
4279 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4280 last change.
4281
b2e1c562
RM
4282 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
4283 [_IO_MTSAFE_IO].
4284 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
4285 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
4286 New macros.
4287
c75ccd4c
RM
4288 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
4289 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
4290 rather than -D_IO_MTSAFE_IO conditionally.
4291 * stdio-common/Makefile (CPPFLAGS): Likewise.
4292 * wcsmbs/Makefile (CPPFLAGS): Likewise.
4293 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
4294 Use $(libio-mtsafe).
4295 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4296 of -D_IO_MTSAFE_IO.
4297 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4298 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4299 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4300 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4301 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4302 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4303 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4304 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4305 (CFLAGS-fread_u_chk.c): Likewise.
4306 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4307 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4308 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4309 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4310 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4311 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4312 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4313 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4314 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4315
4316 * libio/Makefile: Test [$(libc-reentrant) = yes]
4317 instead of [$(filter %REENTRANT, $(defines)) nonempty].
4318
4319 * Makeconfig
4320 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
4321 * sysdeps/pthread/configure: File removed.
4322 * sysdeps/pthread/Makeconfig: New file.
4323 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
4324 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
4325
d9195db8
GB
43262012-08-16 Gary Benson <gbenson@redhat.com>
4327
4328 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
4329 unmapping the first object in a namespace.
4330
86466cd9
RM
43312012-08-16 Roland McGrath <roland@hack.frob.com>
4332
4333 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4334 (__internal_setnetgrent): ... this. Add internal_function to
4335 definition. Add libc_hidden_def.
4336 (setnetgrent): Update caller.
4337 (internal_endnetgrent): Renamed to ...
4338 (__internal_endnetgrent): ... this. Add internal_function to
4339 definition. Add libc_hidden_def.
4340 (endnetgrent): Update caller.
4341 (internal_getnetgrent_r): Renamed to ...
4342 (__internal_getnetgrent_r): ... this. Add internal_function to
4343 definition. Add libc_hidden_def.
4344 (__getnetgrent_r): Update caller.
4345 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
4346
c3c8283c
JM
43472012-08-16 Joseph Myers <joseph@codesourcery.com>
4348
4349 * stdlib/longlong.h: Update from GCC.
4350
db1ee0a8
RM
43512012-08-16 Roland McGrath <roland@hack.frob.com>
4352
4353 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
4354 on _QL, which is set by umul_ppmm but never used.
4355 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
4356 variables, which are set by GMP macros but never used.
4357 * stdio-common/_itowa.c (_itowa): Likewise.
4358 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
4359 * stdlib/mod_1.c (mpn_mod_1): Likewise.
4360
30f69637
CD
43612012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
4362
4363 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
4364 struct La_sh_regs is not constant.
4365 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
4366 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
4367 and struct La_sparc64_regs are not constant.
4368
93a78ac4
JM
43692012-08-16 Joseph Myers <joseph@codesourcery.com>
4370
4371 * sysdeps/unix/sysv/linux/kernel-features.h
4372 (__ASSUME_POSIX_TIMERS): Remove.
4373 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4374 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4375 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
4376 Make code unconditional.
4377 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4378 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
4379 Make code unconditional.
4380 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4381 * sysdeps/unix/sysv/linux/clock_nanosleep.c
4382 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
4383 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4384 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
4385 Make code unconditional.
4386 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4387 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
4388 (__libc_missing_posix_timers): Remove.
4389
dd924cd7
RM
43902012-08-15 Roland McGrath <roland@hack.frob.com>
4391
4b4f2771
RM
4392 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
4393 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
4394
601c888b
RM
4395 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
4396
176790a7
RM
4397 * elf/dl-sym.c: Include <stdlib.h>.
4398
329bc018
RM
4399 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
4400 constants, which avoids warnings in 32-bit builds.
4401
e04e272d
RM
4402 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
4403 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
4404
952bf94a
RM
4405 * misc/lseek.c: File moved to ...
4406 * io/lseek.c: ... here.
4407
7c99b50a
RM
4408 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
4409
dd924cd7
RM
4410 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
4411 shifting LEN more than 31 bits at once.
4412
b3f479a8
LD
44132012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4414
4415 [BZ #14195]
8c4ae0d4
RM
4416 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
4417 segmentation fault for a case of two empty input strings.
b3f479a8
LD
4418 * string/test-strncasecmp.c (check1): Renamed to...
4419 (bz12205): ...this.
4420 (bz14195): Add new testcase for two empty input strings and N > 0.
4421 (test_main): Call new testcase, adapt for renamed function.
4422
9c55864e
AJ
44232012-08-15 Andreas Jaeger <aj@suse.de>
4424
4425 [BZ #14090]
4426 * crypt/md5test2.c: New test, based on test supplied by Serge
4427 Belyshev <belyshev@depni.sinp.msu.ru>.
4428 * crypt/Makefile (xtests): Add md5test-giant..
4429 * crypt/Makefile ($(objpfx)md5test-giant): Add.
4430
02dcb6c5
PE
44312012-08-15 Paul Eggert <eggert@cs.ucla.edu>
4432
4433 [BZ #14090]
4434 * crypt/md5.c (md5_process_block): Don't assume the buffer
4435 length is less than 2**32.
4436 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
4437 length is less than 2**64.
4438
a3f95dcc
RM
44392012-08-15 Roland McGrath <roland@hack.frob.com>
4440
be75d758
RM
4441 * string/str-two-way.h: Include <sys/param.h>.
4442 (MAX): Macro removed.
4443
7312ca90
RM
4444 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
4445 Move #define and #undef of memmove to just before and after
4446 including <string.h>.
4447
9a0a5486
RM
4448 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
4449 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
4450 and after including <string.h>. Move declarations of
4451 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
4452 to before #include "string/memmove.c".
4453
67cc348d
RM
4454 * include/dirent.h: Declare __getdirentries.
4455
a3f95dcc
RM
4456 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
4457 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
4458
ca98e171
MF
44592012-08-14 Mike Frysinger <vapier@gentoo.org>
4460
4461 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
4462 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
4463 * sysdeps/i386/configure: Regenerated.
4464 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
4465 STABS_CURRENT_FILE, and STABS_FUN.
4466 (END): Remove call to STABS_FUN_END.
4467 (STABS_CURRENT_FILE1): Delete.
4468 (STABS_CURRENT_FILE): Likewise.
4469 (STABS_FUN): Likewise.
4470 (STABS_FUN_END): Likewise.
4471 (STABS_FUN2): Likewise.
4472 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
4473 * sysdeps/x86_64/configure: Regenerated.
4474
5908bf46
RM
44752012-08-14 Roland McGrath <roland@hack.frob.com>
4476
4477 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 4478 * elf/dl-lookup.c: Likewise.
5908bf46 4479
f2c05b9e
JM
44802012-08-14 Joseph Myers <joseph@codesourcery.com>
4481
4482 * sysdeps/unix/sysv/linux/kernel-features.h
4483 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
4484 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
4485 unconditionally.
4486 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
4487 unconditionally.
4488 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
4489 condition on __ASSUME_CLONE_THREAD_FLAGS.
4490
e11f5155
AJ
44912012-08-14 Andreas Jaeger <aj@suse.de>
4492
4493 * sysdeps/i386/fpu/libm-test-ulps: Update.
4494
51a9ba86
MK
44952012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
4496
2fdd4f78
AJ
4497 * include/atomic.h (atomic_exchange_and_add): Split into ...
4498 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
4499 New atomic macros.
51a9ba86 4500
ba6cba9e
MT
45012012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
4502
4503 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4504
42443a47
JL
45052012-08-13 Jeff Law <law@redhat.com>
4506
4507 * manual/stdio.texi (snprintf): Clarify handling of the trailing
4508 null byte in the output string.
4509
121dce05
JM
45102012-08-10 Joseph Myers <joseph@codesourcery.com>
4511
4512 * sysdeps/unix/sysv/linux/kernel-features.h
4513 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
4514 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
4515 (__ASSUME_ARG_MAX_STACK_BASED): Define.
4516 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4517 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
4518 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
4519 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
4520
bf51f568
JL
45212012-08-09 Jeff Law <law@redhat.com>
4522
4523 [BZ #13939]
4524 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
4525 When avoid_arena is set, don't retry in the that arena. Pick the
4526 next one, whatever it might be.
4527 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
4528 (arena_lock): Pass in new parameter to arena_get2.
4529 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
4530 arena_get2.
4531 (__libc_malloc): Unify retrying after main arena failure with
4532 __libc_memalign version.
4533 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
4534
f85fa270
L
45352012-08-09 H.J. Lu <hongjiu.lu@intel.com>
4536
4537 [BZ #14166]
4538 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
4539 to __redirect_strstr.
4540 (__strstr_sse42): Use typeof __redirect_strstr.
4541 (__strstr_ia32): Likewise.
4542 (__libc_strstr): New prototype.
4543 (strstr): Renamed to ...
4544 (__libc_strstr): This.
4545 (strstr): New strong alias of __libc_strstr.
4546 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4547 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
4548 __redirect_time.
4549 Include <time.h>.
4550 (__libc_time): New prototype.
4551 (time_ifunc): Replace time with __libc_time.
4552 (time): New strong alias and hidden definition of __libc_time.
4553 (__GI_time): Remove strong alias.
4554 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
4555 Include <stddef.h>.
4556 (memmove): Redefined to __redirect_memmove.
4557 (__memmove_sse2): Use typeof __redirect_memmove.
4558 (__memmove_ssse3): Likewise.
4559 (__memmove_ssse3_back): Likewise.
4560 (__libc_memmove): New prototype.
4561 (memmove): Renamed to ...
4562 (__libc_memmove): This.
4563 (memmove): New strong alias of __libc_memmove.
4564
33b4a91e
MS
45652012-08-08 Mark Salter <msalter@redhat.com>
4566
4567 * elf/elf.h
4568 (R_MN10300_TLS_GD): Define.
4569 (R_MN10300_TLS_LD): Likewise.
4570 (R_MN10300_TLS_LDO): Likewise.
4571 (R_MN10300_TLS_GOTIE): Likewise.
4572 (R_MN10300_TLS_IE): Likewise.
4573 (R_MN10300_TLS_LE): Likewise.
4574 (R_MN10300_TLS_DTPMOD): Likewise.
4575 (R_MN10300_TLS_DTPOFF): Likewise.
4576 (R_MN10300_TLS_TPOFF): Likewise.
4577 (R_MN10300_SYM_DIFF): Likewise.
4578 (R_MN10300_ALIGN): Likewise.
4579 (R_MN10300_NUM): Update.
4580
b36137f1
JM
45812012-08-08 Joseph Myers <joseph@codesourcery.com>
4582
4583 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
4584 Remove.
4585
cdd915fd
RM
45862012-08-08 Roland McGrath <roland@hack.frob.com>
4587
a2433aac
RM
4588 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
4589
cdd915fd
RM
4590 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
4591 sysdeps/unix -> sysdeps/posix move.
4592 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4593
bf9b740a
AM
45942012-08-07 Allan McRae <allan@archlinux.org>
4595
4596 [BZ #14303]
4597 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
4598 (SUNOS_CPP): Likewise.
4599 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
4600 not found.
4601 (open_input): Call CPP using execvp.
4602
93df14ee
JM
46032012-08-07 Joseph Myers <joseph@codesourcery.com>
4604
4605 * sysdeps/unix/sysv/linux/kernel-features.h
4606 (__ASSUME_PROT_GROWSUPDOWN): Remove.
4607 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4608 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4609 (__ASSUME_WAITID_SYSCALL): Likewise.
4610 * sysdeps/unix/sysv/linux/dl-execstack.c
4611 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
4612 code unconditional.
4613 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
4614 conditional code.
4615 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
4616 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
4617 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
4618 code.
4619 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
4620 unconditional.
4621 [__ASSUME_WAITID_SYSCALL]: Likewise.
4622 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
4623
d34689de
RM
46242012-08-07 Roland McGrath <roland@hack.frob.com>
4625
a281decc
RM
4626 * sysdeps/unix/closedir.c: Renamed to ...
4627 * sysdeps/posix/closedir.c: ... here.
4628 * sysdeps/unix/dirfd.c: Renamed to ...
4629 * sysdeps/posix/dirfd.c: ... here.
4630 * sysdeps/unix/dirstream.h: Renamed to ...
4631 * sysdeps/posix/dirstream.h: ... here.
4632 * sysdeps/unix/fdopendir.c: Renamed to ...
4633 * sysdeps/posix/fdopendir.c: ... here.
4634 * sysdeps/unix/opendir.c: Renamed to ...
4635 * sysdeps/posix/opendir.c: ... here.
4636 * sysdeps/unix/readdir.c: Renamed to ...
4637 * sysdeps/posix/readdir.c: ... here.
4638 * sysdeps/unix/readdir_r.c: Renamed to ...
4639 * sysdeps/posix/readdir_r.c: ... here.
4640 * sysdeps/unix/rewinddir.c: Renamed to ...
4641 * sysdeps/posix/rewinddir.c: ... here.
4642 * sysdeps/unix/seekdir.c: Renamed to ...
4643 * sysdeps/posix/seekdir.c: ... here.
4644 * sysdeps/unix/telldir.c: Renamed to ...
4645 * sysdeps/posix/telldir.c: ... here.
4646 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
4647 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
4648 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
4649 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
4650
22895b47
RM
4651 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
4652 * bits/fcntl.h: ... here.
4653
707a53b6
RM
4654 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
4655 not 0.
4656 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
4657 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
4658 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
4659 (struct flock): Move l_start, l_len to the beginning.
4660 Use __pid_t for l_pid.
4661 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
4662 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
4663 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
4664 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
4665 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
4666 [__USE_LARGEFILE64] (struct flock64): New type.
4667 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
4668
f0bd3e25
RM
4669 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
4670 * bits/dirent.h: ... here.
4671
d34689de
RM
4672 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
4673 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
4674
6dad2c06
JM
46752012-08-07 Joseph Myers <joseph@codesourcery.com>
4676
4677 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4678 Change from 2.6.0 to 2.6.16.
4679 * sysdeps/unix/sysv/linux/configure: Regenerated.
4680 * sysdeps/unix/sysv/linux/kernel-features.h
4681 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
4682 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
4683 version.
4684 (__ASSUME_UTIMES): Likewise.
4685 (__ASSUME_CLONE_STOPPED): Remove.
4686 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
4687 architectures, not kernel version.
4688 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
4689 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4690 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4691 (__ASSUME_WAITID_SYSCALL): Likewise.
4692 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
4693 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
4694 * README: State 2.6.16 as minimum Linux kernel version. Do not
4695 refer to older versions.
4696
03af9520
RM
46972012-08-06 Roland McGrath <roland@hack.frob.com>
4698
8e49df1d
RM
4699 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
4700 Define alphasort64 as an alias.
4701 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
4702 Define versionsort64 as an alias.
4703 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
4704 Define scandir64 as an alias.
4705 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
4706 Define scandirat64 as an alias.
4707 * dirent/alphasort64.c (alphasort64):
4708 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
4709 * dirent/versionsort64.c: Likewise.
4710 * dirent/scandir64.c: Likewise.
4711 * dirent/scandirat64.c: Likewise.
4712 * sysdeps/wordsize-64/alphasort.c: File removed.
4713 * sysdeps/wordsize-64/alphasort64.c: File removed.
4714 * sysdeps/wordsize-64/scandir.c: File removed.
4715 * sysdeps/wordsize-64/scandir64.c: File removed.
4716 * sysdeps/wordsize-64/scandirat.c: File removed.
4717 * sysdeps/wordsize-64/scandirat64.c: File removed.
4718 * sysdeps/wordsize-64/versionsort.c: File removed.
4719 * sysdeps/wordsize-64/versionsort64.c: File removed.
4720 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
4721 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
4722 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
4723 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
4724 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
4725 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
4726 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
4727 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
4728
4729 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
4730 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4731 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
4732 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4733 [defined __arch64__ || defined __sparcv9]
4734 (__INO_T_MATCHES_INO64_T): New macro.
4735 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4736 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
4737 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
4738 * sysdeps/unix/sysv/linux/bits/dirent.h
4739 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
4740 (_DIRENT_MATCHES_DIRENT64): New macro.
4741
03af9520
RM
4742 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
4743 Define lockf64 as an alias.
4744 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
4745 Define fseeko64 as an alias.
4746 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
4747 Define ftello64 as an alias.
4748 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
4749 Define _IO_fgetpos64 and fgetpos64 as aliases.
4750 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
4751 Define _IO_fsetpos64 and fsetpos64 as aliases.
4752 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
4753 Conditionalize body on this.
4754 * libio/fseeko64.c: Likewise.
4755 * libio/ftello64.c: Likewise.
4756 * libio/iofgetpos64.c: Likewise.
4757 * libio/iofsetpos64.c: Likewise.
4758 * sysdeps/wordsize-64/lockf.c: File removed.
4759 * sysdeps/wordsize-64/lockf64.c: File removed.
4760 * sysdeps/wordsize-64/fseeko.c: File removed.
4761 * sysdeps/wordsize-64/fseeko64.c: File removed.
4762 * sysdeps/wordsize-64/ftello.c: File removed.
4763 * sysdeps/wordsize-64/ftello64.c: File removed.
4764 * sysdeps/wordsize-64/iofgetpos.c: File removed.
4765 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
4766 * sysdeps/wordsize-64/iofsetpos.c: File removed.
4767 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
4768 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
4769 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
4770 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
4771 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
4772 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
4773 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
4774 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
4775 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
4776 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
4777 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
4778
4779 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4780 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4781 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
4782 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4783 [defined __arch64__ || defined __sparcv9]
4784 (__OFF_T_MATCHES_OFF64_T): New macro.
4785 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4786 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4787 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4788 (__OFF_T_MATCHES_OFF64_T): New macro.
4789
c5757acd
L
47902012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4791
4792 * stdlib/secure-getenv.c (__secure_getenv): Replace
4793 GLIBC_2_16 with GLIBC_2_17.
4794
3a31811e
L
47952012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4796
4797 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
4798 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4799
faa2bccb
DM
48002012-08-03 David S. Miller <davem@davemloft.net>
4801
4802 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4803
85fe1997
JM
48042012-08-03 Joseph Myers <joseph@codesourcery.com>
4805
4806 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
4807 Remove.
4808 (__ASSUME_CORRECT_SI_PID): Likewise.
4809 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
4810 (__ASSUME_TMPFS_NAME): Likewise.
4811 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
4812 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
4813 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
4814 (HAVE_AUX_SECURE): Make definition unconditional.
4815 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
4816 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
4817
4f75b7a0
RM
48182012-08-03 Roland McGrath <roland@hack.frob.com>
4819
4820 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
4821 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
4822 * sysdeps/mach/hurd/eloop-threshold.h: New file.
4823 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4824 __eloop_threshold instead of SYMLOOP_MAX.
4825
4826 * sysdeps/generic/eloop-threshold.h: New file.
4827 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
4828 of MAXSYMLINKS.
4829 * elf/chroot_canon.c (chroot_canon): Likewise.
4830
7aab07e4
JM
48312012-08-03 Joseph Myers <joseph@codesourcery.com>
4832
4833 [BZ #13717]
4834 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4835 Change to 2.6.0 everywhere.
4836 * sysdeps/unix/sysv/linux/configure: Regenerated.
4837 * sysdeps/unix/sysv/linux/kernel-features.h
4838 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
4839 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
4840 kernel versions.
4841 (__ASSUME_POSIX_TIMERS): Define unconditionally.
4842 (__ASSUME_FUTEX_REQUEUE): Remove.
4843 (__ASSUME_STATFS64): Define unconditionally.
4844 (__ASSUME_AT_SECURE): Likewise.
4845 (__ASSUME_CORRECT_SI_PID): Likewise.
4846 (__ASSUME_TGKILL): Define without depending on kernel version for
4847 i386.
4848 (__ASSUME_UTIMES): Likewise.
4849 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
4850 kernel version.
4851 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
4852 (__ASSUME_TMPFS_NAME): Likewise.
4853 * README: Update reference to Linux kernel versions.
4854
b67e9372
MP
48552012-08-02 Marek Polacek <polacek@redhat.com>
4856
1f529f7d 4857 [BZ# 14150]
b67e9372
MP
4858 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
4859 libc_cv_asm_type_prefix with %.
4860 * configure: Regenerated.
d2441631
RM
4861 * include/libc-symbols.h: Remove comment about
4862 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
4863 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
4864 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
4865 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
4866 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
4867 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
4868 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
4869 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
4870 * elf/tst-unique2mod1.c: Likewise.
4871 * elf/tst-unique1mod2.c: Likewise.
4872 * elf/tst-unique1mod1.c: Likewise.
4873 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
4874 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
4875 Replace ASM_TYPE_DIRECTIVE with .type.
4876 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4877 * sysdeps/i386/sysdep.h: Likewise.
4878 * sysdeps/x86_64/sysdep.h: Likewise.
4879 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
4880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4881 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 4882 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
4883 * sysdeps/powerpc/powerpc32/sysdep.h:
4884 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
4885 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4886 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4887 * sysdeps/i386/fpu/e_powf.S: Likewise.
4888 * sysdeps/i386/fpu/e_expl.S: Likewise.
4889 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4890 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4891 * sysdeps/i386/fpu/e_pow.S: Likewise.
4892 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4893 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4894 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4895 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4896 * sysdeps/i386/fpu/e_log2.S: Likewise.
4897 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4898 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4899 * sysdeps/i386/fpu/e_powl.S: Likewise.
4900 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4901 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4902 * sysdeps/i386/fpu/e_logl.S: Likewise.
4903 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4904 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4905 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4906 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4907 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4908 * sysdeps/i386/fpu/e_log.S: Likewise.
4909 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4910 * sysdeps/i386/fpu/e_logf.S: Likewise.
4911 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4912 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4913 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4914 * sysdeps/i386/fpu/e_log10.S: Likewise.
4915 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4916 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4917 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4918 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4919 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4920 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
4921 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4922 * sysdeps/i386/i686/strtok.S: Likewise.
4923 * sysdeps/i386/i386-mcount.S: Likewise.
4924 * sysdeps/i386/strtok.S: Likewise.
4925 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
4926 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4927 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4928 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4929 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4930 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4931 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4932 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4933 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4934 * sysdeps/x86_64/_mcount.S: Likewise.
4935 * sysdeps/x86_64/strtok.S: Likewise.
4936 * sysdeps/sh/_mcount.S: Likewise.
4937
2747bf9a
RM
49382012-08-01 Roland McGrath <roland@hack.frob.com>
4939
4940 * libio/iofopen.c: Include <fcntl.h>.
4941 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
4942 (_IO_fopen64, fopen64): Define as aliases.
4943 * libio/iofopen64.c: Include <fcntl.h>.
4944 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
4945 Conditionalize body on this.
4946 * sysdeps/wordsize-64/iofopen.c: File removed.
4947 * sysdeps/wordsize-64/iofopen64.c: File removed.
4948
3fb791b8
MP
49492012-08-01 Marek Polacek <polacek@redhat.com>
4950
4951 * libc/Makeconfig: Use elf in place of binfmt-subdir.
4952 Use dlfcn directly instead of a variable.
4953 (binfmt-subdir): Do not define.
4954 (dlfcn): Likewise.
4955
a9f1039f
JM
49562012-08-01 Joseph Myers <joseph@codesourcery.com>
4957
23bddc06
JM
4958 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
4959 Remove all definitions.
4960 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
4961 <kernel-features.h>.
4962 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4963 (miss_F_GETOWN_EX): Remove all definitions.
4964 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
4965 macro definition.
4966 [!__ASSUME_FCNTL64]: Remove conditional code.
4967 [__ASSUME_FCNTL64]: Make code unconditional.
4968 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
4969 <kernel-features.h>.
4970 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4971 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
4972 (lockf64) [__NR_fcntl64]: Make code unconditional.
4973 (lockf64) [__ASSUME_FCNTL64]: Likewise.
4974
a9f1039f
JM
4975 * sysdeps/unix/sysv/linux/kernel-features.h
4976 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
4977 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
4978 Make code unconditional.
4979 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4980 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
4982 [__NR_vfork]: Make code unconditional.
4983 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4984 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
4986 [__NR_vfork]: Make code unconditional.
4987 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4988 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4989
09c0ee5f
RM
49902012-08-01 Roland McGrath <roland@hack.frob.com>
4991
48aec5b9
RM
4992 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
4993 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
4994
cd97c966
RM
4995 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4996 Define mkstemp64 as an alias.
3f55550c
RM
4997 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4998 Define mkstemps64 as an alias.
cd97c966
RM
4999 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5000 Define mkostemp64 as an alias.
b8625cfc
RM
5001 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5002 Define mkostemps64 as an alias.
cd97c966
RM
5003 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5004 Conditionalize body on this.
5005 * misc/mkostemp64.c: Likewise.
b8625cfc 5006 * misc/mkostemps64.c: Likewise.
3f55550c 5007 * misc/mkstemps64.c: Likewise.
cd97c966
RM
5008 * sysdeps/wordsize-64/mkstemp64.c: File removed.
5009 * sysdeps/wordsize-64/mkostemp64.c: File removed.
5010 * sysdeps/wordsize-64/mkostemp.c: File removed.
5011 * sysdeps/wordsize-64/mkstemp.c: File removed.
5012 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5013 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5014 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5015 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5016
09c0ee5f
RM
5017 [BZ #14138]
5018 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5019 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5020 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5021 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5022
5023 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5024 compat_symbol macros from <shlib-compat.h> rather than the underlying
5025 default_symbol_version and symbol_version macros, so that DEFAULT
5026 lines in shlib-versions are respected.
5027 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5028
7e66ee51
FW
50292012-08-01 Florian Weimer <fweimer@redhat.com>
5030
5031 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5032 Declare with warn_unused_result.
5033 (setgid, setregid, setegid, setresgid): Likewise.
5034 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5035 Likewise.
5036 * WUR-REPORT: Remove set*id functions.
5037
d2a54255
PT
50382012-07-31 Pino Toscano <toscano.pino@tiscali.it>
5039
5040 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5041
7ecdb005
RM
50422012-07-31 Roland McGrath <roland@hack.frob.com>
5043
789bd351
RM
5044 * include/sys/socket.h (__libc_accept, __libc_accept4):
5045 Add attribute_hidden.
5046 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5047
40ce302d
RM
5048 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5049 use of PTR_MANGLE.
5050 * inet/getnetgrent_r.c (setup): Likewise.
5051
7ecdb005
RM
5052 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5053
e2eabb2c
DM
50542012-07-31 David S. Miller <davem@davemloft.net>
5055
5056 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5057
d0419dbf
JM
50582012-07-31 Joseph Myers <joseph@codesourcery.com>
5059
5060 [BZ #13629]
5061 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5062 value between 1.0 and 2.0 and smaller part has absolute value less
5063 than 1.0.
5064 * math/s_clog10.c (__clog10): Likewise.
5065 * math/s_clog10f.c (__clog10f): Likewise.
5066 * math/s_clog10l.c (__clog10l): Likewise.
5067 * math/s_clogf.c (__clogf): Likewise.
5068 * math/s_clogl.c (__clogl): Likewise.
5069 * math/libm-test.inc (clog_test): Add more tests.
5070 (clog10_test): Likewise.
5071 * sysdeps/i386/fpu/libm-test-ulps: Update.
5072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5073
2bc13872
FW
50742012-07-31 Florian Weimer <fweimer@redhat.com>
5075
5076 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5077 Exit with zero in case no suitable GID is found, and write a
5078 message to standard error.
5079
bea9b193
RM
50802012-07-30 Roland McGrath <roland@hack.frob.com>
5081
5082 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5083 rather than to 1.
5084 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5085 (MAXPATHLEN): Removed.
5086 (NOGROUP, NODEV): New macros.
5087 (setbit, clrbit, isset, isclr): New macros.
5088 (howmany, roundup, powerof2): New macros.
5089 (DEV_BSIZE): New macro.
5090
5091 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5092 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5093
5094 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5095 definition on [!__NO_LONG_DOUBLE_MATH].
5096
5097 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5098 PTR_MANGLE and PTR_DEMANGLE.
5099
5100 * socket/accept4.c (accept4): Rename to __libc_accept4.
5101 Define accept4 as a weak alias.
5102
5103 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5104 on [_DIRENT_HAVE_D_TYPE].
5105 * io/ftw.c (ftw_dir): Likewise.
5106
5107 * io/xmknod.c (__xmknod): Don't check PATH for being null.
5108
5109 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5110
5111 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5112 Use the BSD numbers rather than the arbitrary ones we had.
5113 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5114 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5115 (SIGXCPU, SIGXFSZ): New macros.
5116 (_NSIG): Now 32.
5117
5118 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5119 initializer on [_LIBC_REENTRANT].
5120
5121 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5122 definitions inside [_POSIX_MAPPED_FILES].
5123
5124 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5125
5126 * dirent/opendir.c: Include <fcntl.h>.
5127
5128 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5129 (__libc_getspecific): Likewise.
5130 (__libc_key_create): Likewise.
5131
5132 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5133 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5134 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5135 (tmpfile64): Define as alias.
5136 * sysdeps/wordsize-64/tmpfile.c: File removed.
5137 * sysdeps/wordsize-64/tmpfile64.c: File removed.
5138 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5139 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5140
5141 * stdio-common/vfscanf.c: Include <stdbool.h>.
5142 * nss/makedb.c: Likewise.
5143 * stdio-common/_i18n_number.h: Likewise.
5144 * argp/argp-help.c: Likewise.
5145 * posix/wordexp.c: Likewise.
5146 * sysdeps/posix/spawni.c: Likewise.
5147 * nss/nss_files/files-initgroups.c: Likewise.
5148 * stdio-common/reg-modifier.c: Include <stdlib.h>.
5149 * nss/nss_files/files-initgroups.c: Likewise.
5150 * nss/nss_db/db-netgrp.c: Likewise.
5151 * nss/nss_db/db-initgroups.c: Likewise.
5152 * io/fchmodat.c: Include <sys/stat.h>.
5153
5154 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5155 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5156
5157 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
5158 [HAVE_MMAP].
5159
5160 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
5161 Add multiple inclusion protection.
5162
e5abc686
DM
51632012-07-27 David S. Miller <davem@davemloft.net>
5164
5165 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5166
815e6fa3
GB
51672012-07-27 Gary Benson <gbenson@redhat.com>
5168
5169 [BZ #14298]
5170 * elf/rtld.c: Include <stap-probe.h>.
5171 (dl_main): Added static probes "init_start" and "init_complete".
5172 * elf/dl-load.c: Include <stap-probe.h>.
5173 (lose): Take new parameter "nsid".
5174 Added static probe "map_failed".
5175 (_dl_map_object_from_fd): Pass namespace id to lose.
5176 Added static probe "map_start".
5177 (open_verify): Pass namespace id to lose.
5178 * elf/dl-open.c: Include <stap-probe.h>.
5179 (dl_open_worker) Added static probes "map_complete", "reloc_start"
5180 and "reloc_complete".
5181 * elf/dl-close.c: Include <stap-probe.h>.
5182 (_dl_close_worker): Added static probes "unmap_start" and
5183 "unmap_complete".
5184 * elf/rtld-debugger-interface.txt: New file documenting the above.
5185
9f98c16c
RM
51862012-07-26 Roland McGrath <roland@hack.frob.com>
5187
5188 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
5189 rather than a string variable.
5190 * sunrpc/rpc_main.c (h_output): Likewise.
5191 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
5192
f3c22df3
PT
51932012-07-26 Pino Toscano <toscano.pino@tiscali.it>
5194
5195 * inet/check_native.c: New file.
5196
3129cfc6
JM
51972012-07-26 Joseph Myers <joseph@codesourcery.com>
5198
da865e95
JM
5199 [BZ #13629]
5200 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5201 if larger part has absolute value 1.0.
5202 * math/s_clog10.c (__clog10): Likewise.
5203 * math/s_clog10f.c (__clog10f): Likewise.
5204 * math/s_clog10l.c (__clog10l): Likewise.
5205 * math/s_clogf.c (__clogf): Likewise.
5206 * math/s_clogl.c (__clogl): Likewise.
5207 * math/libm-test.inc (clog_test): Add more tests.
5208 (clog10_test): Likewise.
5209 * sysdeps/i386/fpu/libm-test-ulps: Update.
5210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5211
3129cfc6
JM
5212 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
5213 (pltexit): Likewise.
5214 (La_regs): Likewise.
5215 (La_retval): Likewise.
5216 (int_retval): Likewise.
5217 Update #error for removed macros to refer only to definitions in
5218 tst-audit.h.
5219 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
5220 macro.
5221 (pltexit): Likewise.
5222 (La_regs): Likewise.
5223 (La_retval): Likewise.
5224 (int_retval): Likewise.
5225 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
5226 macro.
5227 (pltexit): Likewise.
5228 (La_regs): Likewise.
5229 (La_retval): Likewise.
5230 (int_retval): Likewise.
5231 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
5232 macro.
5233 (pltexit): Likewise.
5234 (La_regs): Likewise.
5235 (La_retval): Likewise.
5236 (int_retval): Likewise.
5237 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
5238 macro.
5239 (pltexit): Likewise.
5240 (La_regs): Likewise.
5241 (La_retval): Likewise.
5242 (int_retval): Likewise.
5243 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
5244 macro.
5245 (pltexit): Likewise.
5246 (La_regs): Likewise.
5247 (La_retval): Likewise.
5248 (int_retval): Likewise.
5249 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
5250 macro.
5251 (pltexit): Likewise.
5252 (La_regs): Likewise.
5253 (La_retval): Likewise.
5254 (int_retval): Likewise.
5255 * sysdeps/generic/tst-audit.h: Update comment to refer only to
5256 macro definitions in tst-audit.h.
5257 * sysdeps/i386/tst-audit.h: New file.
5258 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5259 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5260 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5261 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5262 * sysdeps/sh/tst-audit.h: Likewise.
5263 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5264 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5265 * sysdeps/x86_64/tst-audit.h: Likewise.
5266
bfc07087
AJ
52672012-07-26 Andreas Jaeger <aj@suse.de>
5268
b1b2aaf8
AJ
5269 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5270 ptrace.
5271
5272 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5273 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5274 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5275 PTRACE_O_MASK.
5276 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5277 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5278 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5279
bfc07087
AJ
5280 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
5281 value.
5282
5283 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
5284 _sigsys.
5285 (si_call_addr, si_syscall, si_arch): Define new macro.
5286 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
5287 _sigsys.
5288 (si_call_addr, si_syscall, si_arch): Define new marcro.
5289 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
5290 _sigsys.
5291 (si_call_addr, si_syscall, si_arch): Define new macro.
5292 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
5293 _sigsys.
5294 (si_call_addr, si_syscall, si_arch): Define new macro.
5295
89b4b02f
JM
52962012-07-25 Joseph Myers <joseph@codesourcery.com>
5297
5298 [BZ #13717]
5299 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5300 Change to 2.4.21 where previously 2.4.1.
5301 * sysdeps/unix/sysv/linux/configure: Regenerated.
5302 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5303 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5304 Linux kernel version.
5305 (__ASSUME_STD_AUXV): Remove.
5306 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5307 kernel version.
5308 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5309 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5310 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5311 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5312 (__ASSUME_NETLINK_SUPPORT): Likewise.
5313 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5314 (__no_netlink_support): Remove conditional definition.
5315 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5316 Remove.
5317 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5318 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5319 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5320 (if_nameindex_ioctl): Remove.
5321 (if_nameindex_netlink): Do not handle __no_netlink_support.
5322 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5323 code.
5324 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
5325 Remove conditional code.
5326 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5327 code.
5328 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
5329 unconditional.
5330 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5331 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
5332 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
5333 Remove.
5334 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5335 [!__ASSUME_STD_AUXV]: Remove conditional code.
5336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
5337 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
5338 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
5339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5340 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5341 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5342 code.
5343 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5345 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5346 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5347 conditional code.
5348 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5350 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5351 code.
5352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5353 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5354 conditional code.
5355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
5356 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5357 code unconditional.
5358 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5359 conditional code.
5360 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5361 unconditional.
5362 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5363 conditional code.
5364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5365 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5366 unconditional.
5367 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5368 conditional code.
5369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5370 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5371 code unconditional.
5372 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5373 conditional code.
5374 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5375 unconditional.
5376 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5377 conditional code.
5378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5379 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5380 code unconditional.
5381 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5382 conditional code.
5383 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5384 unconditional.
5385 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5386 conditional code.
5387
842a39cd
AS
53882012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5389
5390 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
5391 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
5392 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5393 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
5394 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
5395 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5396 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5397 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5398 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
5399 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5400 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
5401 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
5402 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
5403 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5404 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5405 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
5406 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
5407 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
5408 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
5409 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
5410 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
5411 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5412 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5413
84b3fd84
FW
54142012-07-25 Florian Weimer <fweimer@redhat.com>
5415
5416 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
5417 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
5418 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
5419 Introduce __libc_secure_getenv.
0c7936d5
FW
5420 * stdlib/Versions (2.17): Add secure_getenv
5421 (GLIBC_PRIVATE): Add __libc_secure_getenv.
5422 * stdlib/secure-getenv.c: Rename __secure_getenv to
5423 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
5424 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
5425 * stdlib/tst-secure-getenv.c: New.
5426 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
5427 * manual/startup.texi (Environment Access): Document
5428 secure_getenv.
84b3fd84
FW
5429 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
5430 __libc_secure_getenv.
5431 * inet/ruserpass.c (ruserpass): Likewise.
5432 * malloc/mtrace.c (mtrace): Likewise.
5433 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 5434 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
5435 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
5436 * sysdeps/posix/tempname.c: Likewise. Evaluate
5437 HAVE_SECURE_GETENV.
5438 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 5439 __secure_getenv to __libc_secure_getenv.
84b3fd84 5440 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
5441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5442 Likewise.
5443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5444 Likewise.
5445 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5447 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5449 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5450 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5451 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 5452
56e49b71
JM
54532012-07-25 Joseph Myers <joseph@codesourcery.com>
5454
5455 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
5456 (struct La_i86_retval): Likewise.
5457 (struct La_x86_64_regs): Likewise.
5458 (struct La_x86_64_retval): Likewise.
5459 (struct La_x32_regs): Likewise.
5460 (struct La_x32_retval): Likewise.
5461 (struct La_ppc32_regs): Likewise.
5462 (struct La_ppc32_retval): Likewise.
5463 (struct La_ppc64_regs): Likewise.
5464 (struct La_ppc64_retval): Likewise.
5465 (struct La_sh_regs): Likewise.
5466 (struct La_sh_retval): Likewise.
5467 (struct La_s390_32_regs): Likewise.
5468 (struct La_s390_32_retval): Likewise.
5469 (struct La_s390_64_regs): Likewise.
5470 (struct La_s390_64_retval): Likewise.
5471 (struct La_sparc32_regs): Likewise.
5472 (struct La_sparc32_retval): Likewise.
5473 (struct La_sparc64_regs): Likewise.
5474 (struct La_sparc64_retval): Likewise.
5475 (struct audit_ifaces): Remove architecture-specific pltenter and
5476 pltexit members.
5477 * sysdeps/i386/ldsodefs.h: New file.
5478 * sysdeps/powerpc/ldsodefs.h: Likewise.
5479 * sysdeps/s390/ldsodefs.h: Likewise.
5480 * sysdeps/sh/ldsodefs.h: Likewise.
5481 * sysdeps/sparc/ldsodefs.h: Likewise.
5482 * sysdeps/x86_64/ldsodefs.h: Likewise.
5483
354691b7
MP
54842012-07-25 Marek Polacek <polacek@redhat.com>
5485
5486 [BZ #6808]
5487 * math/libm-test.inc (yn_test): Add another test.
5488 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
5489 to ERANGE when the result is +-Inf.
5490 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5491 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
5492 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
5493 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
5494
bf9e2071
JM
54952012-07-24 Joseph Myers <joseph@codesourcery.com>
5496
5497 * conform/data/time.h-data (NULL): Use macro-constant. Require
5498 equal to 0.
5499 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
5500 clock_t.
5501 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
5502
57633811
TS
55032012-07-23 Thomas Schwinge <thomas@codesourcery.com>
5504
5505 * configure.in <sysdeps resolving>: Correct printing
5506 Implies_before.
5507 * configure: Regenerate.
5508
c23c33b0
TS
55092012-07-22 Thomas Schwinge <thomas@codesourcery.com>
5510
5511 * math/w_ilogb.c: Include <limits.h>.
5512 * math/w_ilogbl.c: Likewise.
5513
b5982523
JM
55142012-07-20 Joseph Myers <joseph@codesourcery.com>
5515
5516 * manual/lang.texi (__va_copy): Document primarily as ISO C99
5517 va_copy. Document allowing for unavailable va_copy only as
5518 pre-C99 compatibility.
5519 * manual/string.texi (Copying and Concatenation): Use va_copy
5520 instead of __va_copy in concat example.
5521
ac4ea442
PT
55222012-07-20 Pino Toscano <toscano.pino@tiscali.it>
5523
5524 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
5525 (__sendto): Use create_address_port. Initialize APORT and deallocate
5526 it if not null.
5527
f98eafbd
PT
5528 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
5529 with O_NOLINK passed to __file_name_lookup.
5530
898c7aab
PT
5531 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
5532 with O_NOLINK passed to __file_name_lookup.
5533
0ced335a
PT
5534 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
5535 negative N or less than NGIDS.
5536
b3404dbd
PT
5537 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
5538 type to string_t. Set ERANGE as errno and return it if NAME is not big
5539 enough. Use memcpy instead of strncpy.
5540
0f48659e
JM
55412012-07-20 Joseph Myers <joseph@codesourcery.com>
5542
5543 * elf/Makefile (check-data): Remove.
5544 (localplt.data): New vpath directive.
5545 ($(objpfx)check-localplt.out): Use localplt.data from vpath
5546 instead of $(check-data).
5547 * scripts/data/localplt-generic.data: Move to ...
5548 * sysdeps/generic/localplt.data: ... here.
5549 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
5550 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
5551 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
5552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5553 ... here.
5554 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
5555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5556 ... here.
5557 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
5558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
5559 ... here.
5560 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
5561 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5562 ... here.
5563 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
5564 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
5565 ... here.
5566 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
5567 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
5568 ... here.
5569
d37cbdaa
AZ
55702012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5571
5572 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
5573 PPC32 and PPC64 files.
5574 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
5575 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
5576
46f85fc2
AK
55772012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5578
5579 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
5580 __makecontext_ret to ...
5581 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
5582 ... here and call exit if uc_link is NULL. New file.
5583 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
5584 __makecontext_ret.S.
5585 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
5586 __makecontext_ret to ...
5587 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
5588 ... here and call exit if uc_link is NULL. New file.
5589 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
5590 __makecontext_ret.S.
5591
08f43f9b
AK
55922012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5593
5594 * elf/elf.h (R_390_IRELATIVE): New definition.
5595 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
5596 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
5597 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
5598 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5599 (elf_machine_lazy_rel): Likewise.
5600 * sysdeps/s390/dl-irel.h: New file.
5601 * sysdeps/s390/s390-64/memcpy.S: New asm code.
5602 * sysdeps/s390/s390-64/memset.S: New asm code.
5603 * sysdeps/s390/s390-64/memcmp.S: New asm code.
5604 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
5605 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
5606 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
5607 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
5608 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
5609 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
5610 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
5611 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
5612 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
5613 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
5614 * sysdeps/s390/s390-32/memcpy.S: New asm code.
5615 * sysdeps/s390/s390-32/memset.S: New asm code.
5616 * sysdeps/s390/s390-32/memcmp.S: New asm code.
5617
3b05db33
MP
56182012-07-17 Marek Polacek <polacek@redhat.com>
5619
5620 [BZ #14349]
5621 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
5622 * sysdeps/s390/s390-64/configure.in: Likewise.
5623 * sysdeps/sparc/configure.in: Likewise.
5624 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
5625 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
5626 * sysdeps/i386/configure.in: Likewise.
5627 * sysdeps/x86_64/configure.in: Likewise.
5628 * sysdeps/sh/configure.in: Likewise.
5629 * sysdeps/s390/s390-32/configure: Regenerated.
5630 * sysdeps/s390/s390-64/configure: Likewise.
5631 * sysdeps/x86_64/configure: Likewise.
5632 * sysdeps/sh/configure: Likewise.
5633 * sysdeps/powerpc/powerpc64/configure: Likewise.
5634 * sysdeps/powerpc/powerpc32/configure: Likewise.
5635 * sysdeps/sparc/configure: Likwise.
5636 * sysdeps/i386/configure: Likewise.
5637
a66877c6
MP
5638 * elf/dl-open.c: Comment fixes.
5639
cfc82fd8
JM
56402012-07-17 Joseph Myers <joseph@codesourcery.com>
5641
bd29910a
JM
5642 * Makefile [CXX] (check-data): Remove.
5643 [CXX] (c++-types.data): New vpath directive.
5644 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
5645 vpath. Do not allow for C++ type data being missing.
5646 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
5647 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
5648 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
5649 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
5650 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
5651 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
5652 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
5653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5654 ... here.
5655 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
5656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5657 ... here.
5658 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
5659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
5660 ... here.
5661 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
5662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
5663 ... here.
5664 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
5665 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
5666 ... here.
5667 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
5668 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
5669 ... here.
5670 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
5671 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
5672 ... here.
5673 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
5674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
5675
cfc82fd8
JM
5676 * elf/tls-macros.h (TLS_LE): Move architecture-specific
5677 definitions to architecture-specific files.
5678 (TLS_IE): Likewise.
5679 (TLS_LD): Likewise.
5680 (TLS_GD): Likewise.
5681 * sysdeps/i386/tls-macros.h: New file.
5682 * sysdeps/powerpc/tls-macros.h: Likewise.
5683 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5684 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5685 * sysdeps/sh/tls-macros.h: Likewise.
5686 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
5687 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
5688 * sysdeps/x86_64/tls-macros.h: Likewise.
5689
f7db3170
TS
56902012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5691
07cbfc23
TS
5692 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
5693 zero value for regular exit case.
5694
f7db3170
TS
5695 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5696 (__start_context): Preserve zero value for regular exit case.
5697
dc97c227
TS
56982012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5699 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5700
5701 * manual/setjmp.texi (setcontext): Clarify normal process
5702 termination when uc_link is the null pointer.
5703 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
5704 exit call.
5705
d0cd7d02
AS
57062012-07-16 Andreas Schwab <schwab@linux-m68k.org>
5707
5708 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
5709 preprocessor. Test for each exception mask separately.
5710
dd318934
AJ
57112012-07-16 Andreas Jaeger <aj@suse.de>
5712
5713 * po/ru.po: Update from translation team.
5714
8048311a
JM
57152012-07-15 Joseph Myers <joseph@codesourcery.com>
5716
5717 * conform/data/string.h-data (NULL): Use macro-constant. Require
5718 equal to 0.
5719 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5720 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5721 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
5722 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
5723 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5724
b637d46e
AJ
57252012-07-13 Andreas Jaeger <aj@suse.de>
5726
5727 * po/fr.po: Update from translation team.
5728
541428fe
MP
57292012-07-12 Marek Polacek <polacek@redhat.com>
5730
5731 [BZ #14173]
5732 * math/libm-test.inc (yn_test): Add test for BZ #14173.
5733 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
5734 loop condition.
5735
ec332e94
JM
57362012-07-12 Joseph Myers <joseph@codesourcery.com>
5737
5738 [BZ #13717]
5739 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5740 Change to 2.4.1 where previously 2.4.0.
5741 * sysdeps/unix/sysv/linux/configure: Regenerated.
5742 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
5743 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
5744 version.
5745 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
5746 (__ASSUME_AT_CLKTCK): Remove.
5747 (__ASSUME_AT_PAGESIZE): Likewise.
5748 (__ASSUME_AT_XID): Likewise.
5749 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
5750 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
5751 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
5752 unconditionally.
5753 (HAVE_AUX_PAGESIZE): Likewise.
5754 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
5755 [__ASSUME_AT_CLKTCK]: Make code unconditional.
5756 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
5757
7b6e99be
JB
57582012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
5759
5760 [BZ #14307]
5761 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
5762 the temporary buffer used to invoke __gethostbyname2_r,
5763 __gethostbyaddr_r and gethostbyname4_r to make room for struct
5764 host_data / struct gaih_addrtuple.
5765 * resolv/nss_dns/dns-host.c (global scope): Move definition of
5766 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
5767 header file nss/nsswitch.h.
5768 * nss/nsswitch.h (global scope): Add definition of implementation
5769 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
5770 resolv/nss_dns/dns-host.c).
5771
608404eb
AJ
57722012-07-11 Andreas Jaeger <aj@suse.de>
5773
5774 * po/fr.po: Update from translation team.
5775
71220aca
AJ
5776 * po/sv.po: Update from translation team
5777 * po/fr.po: Another update from translation team.
5778
28cfe843
AZ
57792012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5780
5781 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
5782 for subnormals or multiply small sinh result by itself.
5783 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5784 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5785
6b90f981
DM
57862012-07-11 David S. Miller <davem@davemloft.net>
5787
5788 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5789
c6825772
AS
57902012-07-10 Andreas Schwab <schwab@linux-m68k.org>
5791
5792 [BZ #14347]
5793 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
5794 (INTERNAL_MARK): Shift it here.
5795
7b8e0d49
MP
57962012-07-10 Marek Polacek <polacek@redhat.com>
5797
5798 [BZ #14151]
5799 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
5800 libc_cv_asm_global_directive with .globl.
5801 * configure: Regenerated.
5802 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
5803 with .globl.
5804 * sysdeps/i386/configure: Regenerated.
5805 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
5806 with .globl.
5807 * sysdeps/x86_64/configure: Regenerated.
5808 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
5809 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
5810 * elf/tst-unique2mod2.c: Likewise.
5811 * elf/tst-unique2mod1.c: Likewise.
5812 * elf/tst-unique1mod2.c: Likewise.
5813 * elf/tst-unique1mod1.c: Likewise.
5814 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5815 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5816 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5817 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5818 * sysdeps/mach/sysdep.h: Likewise.
5819 * sysdeps/i386/sysdep.h: Likewise.
5820 * sysdeps/i386/i386-mcount.S: Likewise.
5821 * sysdeps/x86_64/_mcount.S: Likewise.
5822 * sysdeps/x86_64/sysdep.h: Likewise.
5823 * sysdeps/sh/_mcount.S: Likewise.
5824 * sysdeps/sh/sysdep.h: Likewise.
5825 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
5826 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
5827 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
5828 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5829 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
5830 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
5831 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
5832 * locale/localeinfo.h: Likewise.
5833 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
5834 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
5835
6c55cda3
RM
58362012-07-09 Roland McGrath <roland@hack.frob.com>
5837
5838 [BZ #14336]
5839 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
5840 system".
5841 * manual/message.texi (The Uniforum approach): Likewise.
5842 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
5843 (glibc iconv Implementation): Likewise.
5844
638a572e
JM
58452012-07-09 Joseph Myers <joseph@codesourcery.com>
5846
5847 [BZ #14337]
5848 * math/s_clog.c (__clog): Avoid scaling a value down where that
5849 could result in underflow.
5850 * math/s_clog10.c (__clog10): Likewise.
5851 * math/s_clog10f.c (__clog10f): Likewise.
5852 * math/s_clog10l.c (__clog10l): Likewise.
5853 * math/s_clogf.c (__clogf): Likewise.
5854 * math/s_clogl.c (__clogl): Likewise.
5855 * math/libm-test.inc (clog_test): Add more tests.
5856 (clog10_test): Likewise.
5857 * sysdeps/i386/fpu/libm-test-ulps: Update.
5858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5859
261f4859
AS
58602012-07-06 Andreas Schwab <schwab@linux-m68k.org>
5861
0abaf3e4
AS
5862 [BZ #14283]
5863 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
5864 by 7 not 8 to examine high bit of fractional part.
5865
261f4859
AS
5866 [BZ #14042]
5867 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
5868 for call to __mcount_internal.
5869 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
5870 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
5871 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
5872
f17ac40d
JM
58732012-07-06 Joseph Myers <joseph@codesourcery.com>
5874
9ad63c23
JM
5875 [BZ #14154]
5876 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
5877 approximation for values within 0x1p-13f of an odd multiple of
5878 pi/4.
5879 * math/libm-test.inc (tan_test): Do not allow spurious underflow
5880 exception. Add more tests.
5881 * sysdeps/i386/fpu/libm-test-ulps: Update.
5882
f17ac40d
JM
5883 [BZ #6778]
5884 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
5885 inputs and return -1 for them. Do not check for +Inf in case not
5886 reachable for +Inf.
5887 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5888 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
5889 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5890 and return -1 for them. Do not check for +Inf in case not
5891 reachable for +Inf.
5892 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
5893 define.
5894 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5895 and return -1 for them. Do not check for +Inf in case not
5896 reachable for +Inf.
5897 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
5898 spurious underflow.
5899 * sysdeps/i386/fpu/libm-test-ulps: Update.
5900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5901
fb21f89b
MF
59022012-07-06 Mike Frysinger <vapier@gentoo.org>
5903
5904 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
5905
cdfe2c5e
JM
59062012-07-05 Joseph Myers <joseph@codesourcery.com>
5907
5908 [BZ #14157]
5909 [BZ #14331]
5910 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
5911 could result in spurious underflow. Scale down values above
5912 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
5913 * math/s_csqrtf.c (__csqrtf): Likewise.
5914 * math/s_csqrtl.c (__csqrtl): Likewise.
5915 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
5916 spurious underflow.
5917 * sysdeps/i386/fpu/libm-test-ulps: Update.
5918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5919
70d35b67
AS
59202012-07-04 Andreas Schwab <schwab@linux-m68k.org>
5921
704bc459
AS
5922 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
5923 xopen-msg.sed.
5924 * catgets/xopen-msg.awk: New file.
5925 * catgets/xopen-msg.sed: Removed.
5926
70d35b67
AS
5927 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
5928 po2text.sed.
5929 * intl/po2test.awk: New file.
5930 * intl/po2test.sed: Removed.
5931
ca61cf32
JM
59322012-07-04 Joseph Myers <joseph@codesourcery.com>
5933
5934 [BZ #14328]
5935 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
5936 or multiply small sinh result by itself.
5937 * math/s_ctanf.c (__ctanf): Likewise.
5938 * math/s_ctanh.c (__ctanh): Likewise.
5939 * math/s_ctanhf.c (__ctanhf): Likewise.
5940 * math/s_ctanhl.c (__ctanhl): Likewise.
5941 * math/s_ctanl.c (__ctanl): Likewise.
5942 * math/libm-test.inc (ctan_test_tonearest): New function.
5943 (ctan_test_towardzero): Likewise.
5944 (ctan_test_downward): Likewise.
5945 (ctan_test_upward): Likewise.
5946 (ctanh_test_tonearest): Likewise.
5947 (ctanh_test_towardzero): Likewise.
5948 (ctanh_test_downward): Likewise.
5949 (ctanh_test_upward): Likewise.
5950 (main): Call these new functions.
5951 * sysdeps/i386/fpu/libm-test-ulps: Update.
5952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5953
ca48a46a
MF
59542012-07-03 Mike Frysinger <vapier@gentoo.org>
5955
5956 * .gitignore: Delete /ports entry.
5957
9d63d37d
AJ
59582012-07-03 Andreas Jaeger <aj@suse.de>
5959
5960 * po/bg.po: Update from translation team.
5961 * po/cs.po: Likewise.
5962 * po/de.po: Likewise.
5963 * po/hr.po: Likewise.
5964 * po/nl.pl: Likewise.
5965 * po/pl.po: Likewise.
5966 * po/vi.po: Likewise.
5967
370ca3d2
JM
59682012-07-03 Joseph Myers <joseph@codesourcery.com>
5969
95f5a9a8
JM
5970 * Makeconfig [!+link] (+link-before-libc): New variable.
5971 [!+link] (+link-after-libc): Likewise.
5972 [!+link] (+link-tests): Likewise.
5973 [!+link] (+link): Define in terms of $(+link-before-libc) and
5974 $(+link-after-libc).
5975 [!+link-static] (+link-static-before-libc): New variable.
5976 [!+link-static] (+link-static-after-libc): Likewise.
5977 [!+link-static] (+link-static-tests): Likewise.
5978 [!+link-static] (+link-static): Define in terms of
5979 $(+link-static-before-libc) and $(+link-static-after-libc).
5980 [build-shared] (link-libc-before-gnulib): New variable.
5981 [build-shared] (link-libc-tests): Likewise.
5982 [build-shared] (link-libc): Define in terms of
5983 $(link-libc-before-gnulib).
5984 [!build-shared] (link-libc-tests): New variable.
5985 (link-libc-static-tests): New variable.
5986 [!gnulib] (gnulib-arch): New variable.
5987 [!gnulib] (gnulib-tests): Likewise.
5988 [!gnulib] (static-gnulib-arch): Likewise.
5989 [!gnulib] (static-gnulib-tests): Likewise.
5990 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
5991 Define with "=" instead of ":=".
5992 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
5993 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
5994 * Rules (binaries-all-notests): New variable.
5995 (binaries-all-tests): Likewise.
5996 (binaries-static-notests): Likewise.
5997 (binaries-static-tests): Likewise.
5998 (binaries-all): Define using $(binaries-all-notests) and
5999 $(binaries-all-tests).
6000 (binaries-static): Define using $(binaries-static-notests) and
6001 $(binaries-static-tests).
6002 (binaries-shared-tests): New variable.
6003 (binaries-shared-notests): Likewise.
6004 (binaries-shared): Remove variable.
6005 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6006 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6007 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6008 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6009 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6010 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6011 * elf/Makefile (sln-modules): New variable.
6012 (extra-objs): Add $(sln-modules:=.o).
6013 (ldconfig-modules): Add static-stubs.
6014 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6015 * elf/static-stubs.c: New file.
6016
7a845b2c
JM
6017 [BZ #14283]
6018 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6019 by 7 not 8 to examine high bit of fractional part. Use volatile
6020 variables when splitting into final array of floats if
6021 __FLT_EVAL_METHOD__ != 0.
6022 * math/libm-test.inc (cos_test): Add another test.
6023 (sin_test): Likewise.
6024 * sysdeps/i386/fpu/libm-test-ulps: Update.
6025
e2283f38
JM
6026 [BZ #14273]
6027 * math/libm-test.inc (cosh_test): Add more tests.
6028
370ca3d2
JM
6029 * version.h (RELEASE): Set to "development".
6030 (VERSION): Set to "2.16.90".
6031
ee9247c3
CD
60322012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
6033
6034 * NEWS: Update copyright. Remove last-updated date.
6035 Mention math library bug fixes and timezone data changes.
6036 * README: Mention GNU/Hurd, x32, and HPPA support status.
6037
4648c381
TS
60382012-06-28 Thomas Schwinge <thomas@codesourcery.com>
6039
6040 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6041
aac78a43
AJ
60422012-06-27 Andreas Jaeger <aj@suse.de>
6043
6044 * manual/contrib.texi (Contributors): Add Samuel Thibault.
6045
ed3dbfad
AJ
60462012-06-25 Andreas Jaeger <aj@suse.de>
6047
6048 * sysdeps/s390/fpu/libm-test-ulps: Update.
6049
4d0ee855
AS
60502012-06-23 Andreas Schwab <schwab@linux-m68k.org>
6051 Thomas Schwinge <thomas@codesourcery.com>
6052
6053 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6054 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6055 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6056 fanotify_mark.
6057
af1bce34
TS
60582012-06-23 Thomas Schwinge <thomas@codesourcery.com>
6059
a9fa33ba
TS
6060 * sysdeps/mach/start.c: Remove file.
6061 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6062 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6063 * sysdeps/sh/init-first.c: Likewise.
6064
58f902b8
TS
6065 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6066 registers for frame unwinding purposes, add CFI directives.
6067 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6068 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6069 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6070 Likewise.
6071
1518f58b
TS
6072 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6073 __fortify_fail returning.
6074 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6075
db9b5059
TS
6076 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6077 sysdeps/sh/____longjmp_chk.S.
6078 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6079 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6080 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6081 (gen-as-const-headers): Append sigaltstack-offsets.sym.
6082
967705fe
TS
6083 * sysdeps/sh/abort-instr.h: New file.
6084 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6085 process in case exit returns.
6086
a9def8c4
TS
6087 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6088 initialize the GOT register before use.
6089
2a649725
TS
6090 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6091 calculation of ARGC > 4.
6092
af1bce34
TS
6093 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6094 meaningful names to some local labels.
6095
d230f50a
KK
60962012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6097 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6098
6099 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6100 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6101 (__arch_compare_and_exchange_val_16_acq): Likewise.
6102 (__arch_compare_and_exchange_val_32_acq): Likewise.
6103 (atomic_exchange_and_add): Fix gUSA sequence.
6104 (atomic_add): Likewise.
6105 (atomic_add_negative): Likewise.
6106 (atomic_add_zero): Likewise.
6107 (atomic_bit_test_set): Likewise.
6108
0479b305
AS
61092012-06-22 Andreas Schwab <schwab@redhat.com>
6110
6111 [BZ #13579]
6112 * include/link.h (struct link_map): Add l_free_initfini.
6113 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6114 l_initfini.
6115 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6116 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6117 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6118 set.
6119
0e3933b9
CD
61202012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
6121
6122 * configure.in: Use AC_LANG_SOURCE.
6123 * configure: Regenerate.
6124
4248b1b1
RM
61252012-06-22 Roland McGrath <roland@hack.frob.com>
6126
6127 * configure.in (libc_cv_localstatedir): New substituted variable.
6128 * configure: Regenerated.
6129 * config.make.in (localstatedir): New variable, substituted from
6130 libc_cv_localstatedir.
6131 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6132 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6133 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6134 * sysdeps/gnu/configure: Regenerated.
6135
006dd861
JL
61362012-06-21 Jeff Law <law@redhat.com>
6137
6138 [BZ #14277]
6139 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6140 free. Simplify list management for _LIBC case.
6141
79662d42
JM
61422012-06-21 Joseph Myers <joseph@codesourcery.com>
6143
b7abb4bf
JM
6144 [BZ #14273]
6145 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6146 Clear sign bit of 64-bit integer value before comparing against
6147 overflow value.
6148
79662d42
JM
6149 * sysdeps/mach/configure: Regenerated.
6150
1f150908
L
61512012-06-21 H.J. Lu <hongjiu.lu@intel.com>
6152
6153 [BZ #14278]
6154 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6155
28363bbf
JL
61562012-06-21 Jeff Law <law@redhat.com>
6157
6158 [BZ #13882]
6159 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
6160 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 6161 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
6162 * elf/dl-open.c (dl_open_worker): Likewise.
6163
09615db4
CD
61642012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
6165
6166 * scripts/list-sources.sh: Scan PORTS for translations.
6167 * po/libc.pot: Regenerated.
6168
2174c6dd
AJ
61692012-06-21 Andreas Jaeger <aj@suse.de>
6170
6171 [BZ #12194]
6172 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
6173 warning.
6174 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
6175 * bits/byteswap-16.h (__bswap_16): Likewise.
6176 * bits/byteswap.h (__bswap_constant_16): Likewise.
6177
3ee947b1
L
61782012-06-18 H.J. Lu <hongjiu.lu@intel.com>
6179
6180 [BZ #14117]
a2f34833
L
6181 * sysdeps/i386/fpu_control.h: Removed.
6182 * sysdeps/x86_64/fpu_control.h: Moved to ...
6183 * sysdeps/x86/fpu_control.h: Here.
6184
3ee947b1
L
6185 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
6186 (_FPU_SETCW): Likewise.
6187
ed1825f8
L
61882012-06-15 H.J. Lu <hongjiu.lu@intel.com>
6189
25f1282a
L
6190 [BZ #14117]
6191 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
6192 * sysdeps/x86/fpu/bits/mathinline.h: This.
6193 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
6194
ed1825f8
L
6195 [BZ #14050]
6196 [BZ #14117]
6197 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
6198 functions if __x86_64__ is defined.
6199
36d54b74
CLT
62002012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
6201
6202 * string/endian.h: Add !__ASSEMBLER__ condition for including
6203 conversion interfaces.
6204
10285c21
JM
62052012-06-15 Joseph Myers <joseph@codesourcery.com>
6206
6207 [BZ #14241]
6208 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
6209 of ABS(x) in calculating zero to negative powers other than odd
6210 integers.
6211 * math/libm-test.inc (pow_test): Add more tests.
6212
06c5abbd
AJ
62132012-06-15 Andreas Jaeger <aj@suse.de>
6214
6215 * manual/contrib.texi (Contributors): Update entry of Liubov
6216 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
6217 Machado Filho.
6218
a3aeac40
CH
62192012-06-15 Cyril Hrubis <metan@ucw.cz>
6220
6221 * string/string.h: Add __wur to GNU version of strerror_r.
6222
49bdf4c1
L
62232012-06-14 H.J. Lu <hongjiu.lu@intel.com>
6224
6225 [BZ #14229]
6226 * string/Makefile (tests): Add tst-strtok_r.
6227 * string/tst-strtok_r.c: New file.
6228 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
6229 RAX_LP/RDX_LP on SAVE_PTR.
6230
834f9b8d
RM
62312012-06-14 Roland McGrath <roland@hack.frob.com>
6232
6233 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
6234
75fa1921
JM
62352012-06-14 Joseph Myers <joseph@codesourcery.com>
6236
6237 * libm_test.inc (csqrt_test): Allow more spurious underflow
6238 exceptions.
6239 (j0_test): Likewise.
6240 (j1_test): Likewise.
6241 (y0_test): Likewise.
6242 (y1_test): Likewise.
6243
771766df
CD
62442012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
6245
6246 * po/Makefile (libc.pot): Use UTF-8 charset.
6247
ceb9e56b
PP
62482012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6249
6250 [BZ #14210]
6251 Suppress sign-conversion warning from FD_SET.
6252 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
6253 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6254 not unsigned long int.
6255 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6256
ddb28975
L
62572012-06-12 H.J. Lu <hongjiu.lu@intel.com>
6258
6259 [BZ #14050]
6260 [BZ #14117]
6261 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6262 __extern_always_inline instead of __extern_inline.
6263 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6264 (__signbit): Likewise.
6265 (__signbitl): Support C++ namespace.
6266 (lrintf): New inline function.
6267 (lrint): Likewise.
6268 (llrintf): Likewise.
6269 (llrint): Likewise.
6270 (fmaxf): Likewise.
6271 (fmax): Likewise.
6272 (fminf): Likewise.
6273 (fmin): Likewise.
6274 (rint): Likewise.
6275 (rintf): Likewise.
6276 (ceil): Likewise.
6277 (ceilf): Likewise.
6278 (floor): Likewise.
6279 (floorf): Likewise.
6280 (nearbyint): Likewise.
6281 (nearbyintf): Likewise.
6282
d7b4fb26
TS
62832012-06-12 Thomas Schwinge <thomas@codesourcery.com>
6284
6285 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6286 non-default versions.
6287
eb55f5c2
RM
62882012-06-11 Roland McGrath <roland@hack.frob.com>
6289
6290 [BZ #14218]
6291 * manual/argp.texi (Argp): Reword argp_parse description slightly.
6292
366af02c
TS
62932012-06-09 Thomas Schwinge <thomas@codesourcery.com>
6294
99ff6e5c
TS
6295 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6296 (FE_UPWARD, FE_DOWNWARD): Don't define.
6297 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6298 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6299
366af02c
TS
6300 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6301 reading it.
6302 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6303 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6304
793ea851
KK
63052012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6306
6307 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6308 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6309 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6310 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6311
a728a38f
L
63122012-06-06 H.J. Lu <hongjiu.lu@intel.com>
6313
6314 [BZ #14117]
c08010c7
L
6315 * sysdeps/i386/fpu/bits/fenv.h: Removed.
6316 * sysdeps/i386/fpu/Implies: New file.
6317 * sysdeps/x86_64/fpu/Implies: Likewise.
6318 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6319 * sysdeps/x86/fpu/bits/fenv.h: This.
6320
a728a38f
L
6321 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
6322 __SSE_MATH__.
6323
6e230d11
SP
63242012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6325
6326 [BZ #14134]
6327 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
6328 character 0xffff that matches the last element of the
6329 conversion table.
6330
1b671feb
AZ
63312012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6332
6333 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
6334 fmodl commit.
6335
6043738b
AZ
63362012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6337
6338 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
6339 values higher than 25.6283.
6340
34ae0b32
AZ
63412012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6342
6343 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6344 subnormal exponent extraction and add some __builtin_expect.
6345 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6346 Fix for subnormal mantissa calculation.
6347
1214ec8f
MF
63482012-06-04 Mike Frysinger <vapier@gentoo.org>
6349
6350 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6351 cpu2 is -1 and errno is not ENOSYS.
6352
f3d1f93c
L
63532012-06-04 H.J. Lu <hongjiu.lu@intel.com>
6354
6355 [BZ #14117]
0e4a3cd7
L
6356 * sysdeps/i386/i486/bits/string.h: Renamed to ...
6357 * sysdeps/x86/bits/string.h: This.
6358 * sysdeps/x86_64/bits/string.h: Removed.
6359
6704c645
L
6360 * sysdeps/i386/i486/bits/string.h: Define inline functions only
6361 if not compiling for x86-64, but compiling for >= i486.
6362
48495318
L
6363 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
6364 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
6365
14adcbfc
L
6366 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
6367 New macro from Linux kernel 3.4.0.
6368 (FP_XSTATE_MAGIC2): Likewise.
6369 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6370 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
6371 (struct _fpx_sw_bytes): New struct.
6372 (struct _xsave_hdr): Likewise.
6373 (struct _ymmh_state): Likewise.
6374 (struct _xstate): Likewise.
6375
68e408ab
L
6376 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
6377 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
6378 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
6379 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
6380 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
6381 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
6382
f3d1f93c
L
6383 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
6384 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
6385 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
6386 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
6387 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
6388 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
6389
d9dc34cd
TMQMF
63902012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6391
6392 [BZ #13743]
6393 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
6394 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
6395 (sysdep_headers): Include sys/platform/ppc.h.
6396 * sysdeps/powerpc/test-gettimebase.c: Test for
6397 __ppc_get_timebase() to catch future ISA opcode/insn changes.
6398 * manual/Makefile (appendices): Include platform.texi.
6399 * manual/contrib.texi (Contributors): Update @node pointers.
6400 * manual/maint.texi (Maintenance): Likewise.
6401 (Platform): New node.
6402 * manual/platform.texi: New file. Document the new features.
6403
4af3879c
SP
64042012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6405 Jakub Jelinek <jakub@redhat.com>
6406
6407 [BZ #14188]
6408 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
6409 where __builtin_expect is unavailable.
6410
2fd6ff13
DM
64112012-06-03 David S. Miller <davem@davemloft.net>
6412
6413 * stdlib/longlong.h: Updated from GCC.
6414
173f7220
AS
64152012-06-02 Andreas Schwab <schwab@linux-m68k.org>
6416
6417 [BZ #14042]
6418 * sysdeps/powerpc/powerpc32/mcount.c: New file.
6419 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
6420 __mcount_internal.
6421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6422 (GLIBC_2.16): Likewise.
6423
f34a1c6f
L
64242012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6425
6426 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
6427
88a4576f
JM
64282012-06-01 Joseph Myers <joseph@codesourcery.com>
6429
ea32bcdd
JM
6430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6431 (default-abi): New variable.
6432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
6433 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
6434 variable.
6435 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
6436 Likewise.
6437 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
6438 Likewise.
6439 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
6440 Likewise.
6441
88a4576f
JM
6442 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
6443 definition. Document in comment.
6444
402fe938
DM
64452012-06-01 David S. Miller <davem@davemloft.net>
6446
6447 * stdlib/longlong.h: Updated from GCC.
6448
3553723f
L
64492012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6450
6451 [BZ #14117]
3bd872c4
L
6452 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
6453 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
6454 sys/debugreg.h sys/io.h here.
6455 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
6456 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
6457 sys/io.h.
6458 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
6459 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
6460 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
6461 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
6462 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
6463 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
6464
3553723f
L
6465 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
6466 Define only if __x86_64__ is defined.
6467
4842e4fe
JM
64682012-06-01 Joseph Myers <joseph@codesourcery.com>
6469
c5bfe3d5
JM
6470 [BZ #14048]
6471 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
6472 Use int64_t for variable i.
6473 * math/libm-test.inc (fmod_test): Add more tests.
6474
4842e4fe
JM
6475 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
6476 z computation is not scheduled after fetestexcept.
6477 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
6478 Use math_force_eval instead of asm to ensure calculation scheduled
6479 before exception test.
6480 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
6481 Ensure a1 + u.d computation is not scheduled after fetestexcept.
6482
efb73488
AJ
64832012-06-01 Aurelien Jarno <aurelien@aurel32.net>
6484
6485 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
6486 computation is not scheduled after fetestexcept.
6487
29bcce7c
L
64882012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6489
6490 [BZ #14117]
6491 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
6492 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
6493
73a68f94
AZ
64942012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6495
6496 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
6497 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6498
67b6df78
L
64992012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6500
edf2933a 6501 [BZ #14117]
ebc64a18
L
6502 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
6503 <bits/wordsize.h>.
6504 (__WCHAR_MIN): Support __WORDSIZE == 64.
6505 (__WCHAR_MAX): Likewise.
6506
edf2933a
L
6507 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
6508 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
6509
57c6cf40
L
6510 [BZ #14183]
6511 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
6512 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
6513
67b6df78 6514 [BZ #14117]
8eb6281e
L
6515 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
6516 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
6517
aac639f4
L
6518 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
6519 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
6520
67b6df78
L
6521 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
6522 Defined to 1 if __x86_64__ isn't defined.
6523 (_STAT_VER_LINUX_OLD): New.
6524 (st_atime): Remove duplicate.
6525 (st_mtime): Likewise.
6526 (st_ctime): Likewise.
6527
1c2cfe81
DM
65282012-05-31 David S. Miller <davem@davemloft.net>
6529
6530 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
6531 entries.
6532
5be8418c
AS
65332012-06-01 Andreas Schwab <schwab@linux-m68k.org>
6534
e7725326
AS
6535 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
6536 gen-libm-test.pl.
6537
5be8418c
AS
6538 [BZ #14132]
6539 * elf/dl-reloc.c: Include <_itoa.h>.
6540 (_dl_reloc_bad_type): Remove use of INTUSE.
6541 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
6542 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
6543 * stdio-common/psiginfo.c (psiginfo): Likewise.
6544 * stdio-common/psignal.c (psignal): Likewise.
6545 * string/strsignal.c (strsignal): Likewise.
6546 * include/signal.h (_sys_siglist): Declare hidden proto.
6547 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
6548 INTVARDEF with libc_hidden_data_def.
6549 * stdio-common/itoa-udigits.c: Likewise.
6550 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
6551 (_itoa_lower_digits_internal): Remove declaration.
6552 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
6553 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
6554 (_sys_sigabbrev_internal): Remove aliases.
6555 (_sys_siglist): Define hidden alias.
6556
507352f1
MT
65572012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
6558
6559 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6560 bits/sysctl.h.
6561
42bbb1c3
L
65622012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6563
6564 [BZ #14117]
6bd784b6
L
6565 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
6566 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
6567
8bca20f0
L
6568 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
6569 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
6570 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
6571 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
6572 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
6573 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
6574
f9e890a9
L
6575 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
6576 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
6577 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
6578
471101a1
L
6579 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
6580 with __addr.
6581 (insw): Likewise.
6582 (insl): Likewise.
6583 (outsb): Likewise.
6584 (outsw): Likewise.
6585 (outsl): Likewise.
6586
6451c862
L
6587 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
6588 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
6589 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
6590
a254b8c9
L
6591 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
6592 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
6593 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
6594 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
6595 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
6596 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
6597
b8dfdd92
L
6598 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
6599 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
6600
578cd270
L
6601 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
6602 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
6603
de662f5f
L
6604 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
6605 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
6606 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
6607
25653439
L
6608 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
6609 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
6610 to ...
6611 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
6612
6bad24a0
L
6613 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
6614 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
6615 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
6616
42bbb1c3
L
6617 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
6618 for x86-64.
6619 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
6620
2d10d547
JM
66212012-05-31 Joseph Myers <joseph@codesourcery.com>
6622
6623 * math/math.h (M_El): Use two more decimal places.
6624 (M_LOG2El): Likewise.
6625 (M_LOG10El): Likewise.
6626 (M_LN2l): Likewise.
6627 (M_LN10l): Likewise.
6628 (M_PIl): Likewise.
6629 (M_PI_2l): Likewise.
6630 (M_PI_4l): Likewise.
6631 (M_1_PIl): Likewise.
6632 (M_2_PIl): Likewise.
6633 (M_2_SQRTPIl): Likewise.
6634 (M_SQRT2l): Likewise.
6635 (M_SQRT1_2l): Likewise.
6636
f230c29b
DM
66372012-05-31 David S. Miller <davem@davemloft.net>
6638
6639 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
6640 values between float registers.
6641 * sysdeps/sparc/sparc64/memset.S: Likewise.
6642 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6643
fed806c3
MF
66442012-05-31 Mike Frysinger <vapier@gentoo.org>
6645
6646 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
6647 -D_FORTIFY_SOURCE=1.
6648 (CPPFLAGS-tst-longjmp_chk.c): Define.
6649 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
6650 (CPPFLAGS-tst-longjmp_chk2.c): Define.
6651 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
6652 CFLAGS-tst-wchar-h.c.
6653
30917259
MP
66542012-05-31 Marek Polacek <polacek@redhat.com>
6655
6656 [BZ #14132]
6657 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
6658 __endmntent_internal): Remove declaration.
6659 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
6660 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
6661 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
6662
1c58d5dc
DM
66632012-05-30 David S. Miller <davem@davemloft.net>
6664
6665 * sysdeps/sparc/sparc32/soft-fp/q_util.c
6666 (___Q_simulate_exceptions): Use real FP ops rather than writing
6667 into the %fsr.
6668 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
6669 Likewise.
6670
7dc00e0d
L
66712012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6672
6673 [BZ #14117]
0bd53985
L
6674 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
6675 * sysdeps/x86/bits/xtitypes.h: This.
6676
3a257e66
L
6677 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
6678 * sysdeps/x86/bits/wordsize.h: This.
6679
62f62904
L
6680 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
6681 * sysdeps/x86/bits/huge_vall.h: This.
6682
404fe9d9
L
6683 * sysdeps/i386/bits/select.h: Removed.
6684 * sysdeps/x86_64/bits/select.h: Renamed to ...
6685 * sysdeps/x86/bits/select.h: This.
6686
d48d0446
L
6687 * sysdeps/i386/bits/setjmp.h: Removed.
6688 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
6689 * sysdeps/x86/bits/setjmp.h: This.
6690
7dc00e0d
L
6691 * sysdeps/i386/bits/mathdef.h: Removed.
6692 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
6693 * sysdeps/x86/bits/mathdef.h: This.
6694
03277f8f
AS
66952012-05-30 Andreas Schwab <schwab@linux-m68k.org>
6696
6697 [BZ #14132]
6698 * include/sys/socket.h (__connect_internal)
6699 (__libc_sa_len_internal): Remove declaration.
6700 (__connect, __libc_sa_len): Declare hidden_proto.
6701 (SA_LEN): Remove use of INTUSE.
6702 * socket/connect.c: Add libc_hidden_def.
6703 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
6704 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
6705 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
6706 alias.
6707 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6708 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6709 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
6710 of adding _internal alias.
6711
13764867
L
67122012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6713
6714 [BZ #14117]
6bd97696
L
6715 * sysdeps/i386/bits/link.h: Removed.
6716 * sysdeps/i386/bits/linkmap.h: Likewise.
6717 * sysdeps/x86_64/bits/link.h: Renamed to ...
6718 * sysdeps/x86/bits/link.h: This.
6719 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
6720 * sysdeps/x86/bits/linkmap.h: This.
6721
f726f0bb
L
6722 * sysdeps/i386/bits/endian.h: Removed.
6723 * sysdeps/x86_64/bits/endian.h: Renamed to ...
6724 * sysdeps/x86/bits/endian.h: This.
6725
13764867
L
6726 * sysdeps/i386/bits/byteswap.h: Removed.
6727 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6728 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
6729 * sysdeps/x86/bits/byteswap.h: This.
6730 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
6731 * sysdeps/x86/bits/byteswap-16.h: This.
6732 * sysdeps/i386/Implies: Add x86.
6733 * sysdeps/x86_64/Implies: Likewise.
6734
ae251b0b
DM
67352012-05-30 David S. Miller <davem@davemloft.net>
6736
6737 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
6738 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
6739 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6740 (FP_TRAPPING_EXCEPTIONS): Define.
6741 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6742 (FP_TRAPPING_EXCEPTIONS): Define.
6743 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
6744 subnormals only when inexact has been signalled or underflow
6745 exceptions are enabled.
6746 (_FP_PACK_CANONICAL): Likewise.
6747
d5c90867
L
67482012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6749
6750 [BZ #14183]
6751 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
6752 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
6753
63f1549e
RH
67542012-05-30 Richard Henderson <rth@twiddle.net>
6755
8d8f2279
RH
6756 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
6757 with #ifndef NOT_IN_libc.
6758
63f1549e
RH
6759 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
6760 marked to avoid plt entry.
6761
0ab0291b
L
67622012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6763
6764 [BZ #14112]
6765 * Makeconfig (default-abi): New macro.
6766 (abi-includes): Likewise.
6767 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
6768 $(abi-$(default-abi)-lib-soname) for soname if defined.
6769 ($(common-objpfx)gnu/lib-names.stmp): Generate from
6770 abi-variants.
6771 * Makefile (installed-stubs): Likewise.
6772 * include/stubs-biarch.h: Removed.
6773 * scripts/lib-names.awk: Only handle one library at a time.
6774 * scripts/soversions.awk: Remove WORDSIZE support.
6775 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
6776 entries.
6777 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
6778 Removed.
6779 (syscall-list-default-condition): Likewise.
6780 (syscall-list-default-condition): Likewise.
6781 (syscall-list-includes): Likewise.
6782 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
6783 syscall-list-* with abi-*. Handle undefined abi-variants.
6784 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
6785 * sysdeps/unix/sysv/linux/i386/Implies: New file.
6786 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
6787 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
6788 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
6789 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
6790 Removed.
6791 (syscall-list-32-options): Likewise.
6792 (syscall-list-32-condition): Likewise.
6793 (syscall-list-64-options): Likewise.
6794 (syscall-list-64-condition): Likewise.
6795 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
6796 macro.
6797 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
6798 Renamed to ...
6799 (abi-*): This.
6800 (abi-64-ld-soname): New macro.
6801 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
6802 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
6803 Renamed to ...
6804 (abi-*): This.
6805 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
6806 * sysdeps/x86_64/x32/shlib-versions: Likewise.
6807
4da0431d
JM
68082012-05-30 Joseph Myers <joseph@codesourcery.com>
6809
3a85279c
JM
6810 * sysdeps/unix/sysv/linux/kernel-features.h
6811 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
6812 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
6813 include <kernel-features.h>.
6814 [!__NR_ftruncate64]: Remove conditional code.
6815 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6816 [__NR_ftruncate64]: Make code unconditional.
6817 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6818 * sysdeps/unix/sysv/linux/truncate64.c: Do not
6819 include <kernel-features.h>.
6820 [!__NR_ftruncate64]: Remove conditional code.
6821 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6822 [__NR_ftruncate64]: Make code unconditional.
6823 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
6825 include <kernel-features.h>.
6826 [!__NR_ftruncate64]: Remove conditional code.
6827 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6828 [__NR_ftruncate64]: Make code unconditional.
6829 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6831 include <kernel-features.h>.
6832 [!__NR_ftruncate64]: Remove conditional code.
6833 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6834 [__NR_ftruncate64]: Make code unconditional.
6835 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6836
4da0431d
JM
6837 * configure.in (libc_cv_fpie): Weaken to a compile test using
6838 LIBC_TRY_CC_OPTION.
6839 * configure: Regenerated.
6840
11ef492c
AK
68412012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6842
6843 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
6844 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
6845 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
6846 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6847 Refreshed.
6848 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
6849 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
6850 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
6851 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
6852 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
6853 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6854 Refreshed.
6855
d66ef399
DM
68562012-05-27 David S. Miller <davem@davemloft.net>
6857
6858 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
6859 (___Q_zero): New.
6860 (__Q_simulate_exceptions): Return void. Change to simulate
6861 exceptions by writing into the %fsr.
6862 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
6863 (__Qp_handle_exceptions): Likewise.
6864 (numbers): Delete.
6865 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
6866 __Qp_handle_exceptions.
6867 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
6868 __Qp_handle_exceptions.
6869 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6870 as unused and give dummy FP_RND_NEAREST initializer.
6871 (FP_INHIBIT_RESULTS): Define.
6872 (___Q_simulate_exceptions): Update declaration.
6873 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
6874 formatting.
6875 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6876 as unused and give dummy FP_RND_NEAREST initializer.
6877 (__Qp_handle_exceptions): Update declaration.
6878 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
6879 formatting.
6880
04fb54b5
TS
68812012-05-27 Thomas Schwinge <thomas@codesourcery.com>
6882
6883 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
6884 the temporary FPU control word.
6885 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6886 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
6887 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6888 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6889 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6890 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6891 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6892 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6893 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6894 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
6895 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6896
3f99608f
KK
68972012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6898
6899 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
6900 fields.
6901
65a4de4e
CLT
69022012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
6903
6904 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
6905 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
6906 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
6907 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
6908 Likewise.
6909 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
6910 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
6911 Likewise.
6912
15749d40
UD
69132012-05-27 Ulrich Drepper <drepper@gmail.com>
6914
6915 * po/h.po: Update from translation team.
6916
25dbcb27
AS
69172012-05-26 Andreas Schwab <schwab@linux-m68k.org>
6918
3d3f8e55
AS
6919 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
6920
25dbcb27
AS
6921 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
6922 handling of denormals.
6923 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6924 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6925 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6926 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6927 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6928 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
6929 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
6930 Likewise.
6931
7ad47a80 69322012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
6933
6934 [BZ #14152]
6935 * math/libm-test.inc (fma_test): Don't always expect underflow
6936 exception.
6937
9c6ea9fa
SP
69382012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6939
6940 [BZ #12416]
6941 * elf/tst-execstack.c: Include stackinfo.h.
6942 (do_test): Adjust test case to ensure that pthread_getattr_np
6943 behaviour remains the same after marking stack executable.
6944
a8239222
JM
69452012-05-25 Joseph Myers <joseph@codesourcery.com>
6946
6947 * sysdeps/unix/sysv/linux/kernel-features.h
6948 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
6949 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
6950 kernel-features.h.
6951 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6952 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6953 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
6954 kernel-features.h.
6955 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6956 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6957
918b5606
L
69582012-05-25 H.J. Lu <hongjiu.lu@intel.com>
6959
6960 * configure.in: Define the default includes to being none.
6961 * configure: Regenerated.
6962
3a097cc7
RM
69632012-05-25 Roland McGrath <roland@hack.frob.com>
6964
8422c9a5
RM
6965 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
6966 * sysdeps/x86_64/setjmp.S: Likewise.
6967 * sysdeps/i386/bsd-setjmp.S: Likewise.
6968 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6969 * sysdeps/i386/setjmp.S: Likewise.
6970 * sysdeps/i386/__longjmp.S: Likewise.
6971 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6972 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
6973
3a097cc7
RM
6974 * include/stap-probe.h: New file.
6975 * configure.in: Handle --enable-systemtap.
6976 * configure: Regenerated.
6977 * config.h.in (USE_STAP_PROBE): New #undef.
6978 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
6979 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
6980 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6981
21708942
JM
69822012-05-25 Joseph Myers <joseph@codesourcery.com>
6983
6984 [BZ #13717]
6985 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6986 to 2.4.0 where earlier.
6987 * sysdeps/unix/sysv/linux/configure: Regenerated.
6988 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6989 <kernel-features.h>.
6990 [__ASSUME_32BITUIDS]: Make code unconditional.
6991 [!__ASSUME_32BITUIDS]: Remove conditional code.
6992 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
6993 <kernel-features.h>.
6994 [__ASSUME_32BITUIDS]: Make code unconditional.
6995 [!__ASSUME_32BITUIDS]: Remove conditional code.
6996 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
6997 [__ASSUME_32BITUIDS]: Make code unconditional.
6998 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
6999 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7000 <kernel-features.h>.
7001 [__ASSUME_32BITUIDS]: Make code unconditional.
7002 [!__ASSUME_32BITUIDS]: Remove conditional code.
7003 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7004 <kernel-features.h>.
7005 [__ASSUME_32BITUIDS]: Make code unconditional.
7006 [!__ASSUME_32BITUIDS]: Remove conditional code.
7007 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7008 <kernel-features.h>.
7009 [__ASSUME_32BITUIDS]: Make code unconditional.
7010 [!__ASSUME_32BITUIDS]: Remove conditional code.
7011 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
7012 <kernel-features.h>.
7013 [__ASSUME_32BITUIDS]: Make code unconditional.
7014 [!__ASSUME_32BITUIDS]: Remove conditional code.
7015 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7016 <kernel-features.h>.
7017 [__ASSUME_32BITUIDS]: Make code unconditional.
7018 [!__ASSUME_32BITUIDS]: Remove conditional code.
7019 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7020 <kernel-features.h>.
7021 [__ASSUME_32BITUIDS]: Make code unconditional.
7022 [!__ASSUME_32BITUIDS]: Remove conditional code.
7023 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
7024 <kernel-features.h>.
7025 [__ASSUME_32BITUIDS]: Make code unconditional.
7026 [!__ASSUME_32BITUIDS]: Remove conditional code.
7027 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7028 <kernel-features.h>.
7029 [__ASSUME_32BITUIDS]: Make code unconditional.
7030 [!__ASSUME_32BITUIDS]: Remove conditional code.
7031 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7032 <kernel-features.h>.
7033 [__ASSUME_32BITUIDS]: Make code unconditional.
7034 [!__ASSUME_32BITUIDS]: Remove conditional code.
7035 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
7036 <kernel-features.h>.
7037 [__ASSUME_32BITUIDS]: Make code unconditional.
7038 [!__ASSUME_32BITUIDS]: Remove conditional code.
7039 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
7040 <kernel-features.h>.
7041 [__NR_setresgid] (__setresgid): Do not declare.
7042 [__ASSUME_32BITUIDS]: Make code unconditional.
7043 [!__ASSUME_32BITUIDS]: Remove conditional code.
7044 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7045 <kernel-features.h>.
7046 [__NR_setresuid] (__setresuid): Do not declare.
7047 [__ASSUME_32BITUIDS]: Make code unconditional.
7048 [!__ASSUME_32BITUIDS]: Remove conditional code.
7049 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.c: Do not include
7054 <kernel-features.h>.
7055 [__ASSUME_32BITUIDS]: Make code unconditional.
7056 [!__ASSUME_32BITUIDS]: Remove conditional code.
7057 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7058 <kernel-features.h>.
7059 [__ASSUME_32BITUIDS]: Make code unconditional.
7060 [!__ASSUME_32BITUIDS]: Remove conditional code.
7061 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
7062 <kernel-features.h>.
7063 [__ASSUME_32BITUIDS]: Make code unconditional.
7064 [!__ASSUME_32BITUIDS]: Remove conditional code.
7065 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
7066 <kernel-features.h>.
7067 [__ASSUME_32BITUIDS]: Make code unconditional.
7068 [!__ASSUME_32BITUIDS]: Remove conditional code.
7069 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
7070 <kernel-features.h>.
7071 [__ASSUME_32BITUIDS]: Make code unconditional.
7072 [!__ASSUME_32BITUIDS]: Remove conditional code.
7073 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
7074 <kernel-features.h>.
7075 [__ASSUME_32BITUIDS]: Make code unconditional.
7076 [!__ASSUME_32BITUIDS]: Remove conditional code.
7077 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
7078 <kernel-features.h>.
7079 [__ASSUME_32BITUIDS]: Make code unconditional.
7080 [!__ASSUME_32BITUIDS]: Remove conditional code.
7081 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
7082 <kernel-features.h>.
7083 [__ASSUME_32BITUIDS]: Make code unconditional.
7084 [!__ASSUME_32BITUIDS]: Remove conditional code.
7085 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7086 <kernel-features.h>.
7087 [__ASSUME_32BITUIDS]: Make code unconditional.
7088 [!__ASSUME_32BITUIDS]: Remove conditional code.
7089 * sysdeps/unix/sysv/linux/kernel-features.h
7090 (__ASSUME_SETRESUID_SYSCALL): Remove.
7091 (__ASSUME_SETRESGID_SYSCALL): Likewise.
7092 (__ASSUME_32BITUIDS): Likewise.
7093 (__ASSUME_LDT_WORKS): Likewise.
7094 (__ASSUME_O_DIRECTORY): Likewise.
7095 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7096 architecture but not kernel version.
7097 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7098 (__ASSUME_MMAP2_SYSCALL): Likewise.
7099 (__ASSUME_STAT64_SYSCALL): Likewise.
7100 (__ASSUME_IPC64): Likewise.
7101 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7102 <kernel-features.h>.
7103 [__ASSUME_32BITUIDS]: Make code unconditional.
7104 [!__ASSUME_32BITUIDS]: Remove conditional code.
7105 * sysdeps/unix/sysv/linux/opendir.c: Do not include
7106 <kernel-features.h>.
7107 [__ASSUME_O_DIRECTORY]: Make code unconditional.
7108 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7109 132096]: Remove conditional code.
7110 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7111 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7112 <kernel-features.h>.
7113 [__ASSUME_32BITUIDS]: Make code unconditional.
7114 [!__ASSUME_32BITUIDS]: Remove conditional code.
7115 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7116 <kernel-features.h>.
7117 [__ASSUME_32BITUIDS]: Make code unconditional.
7118 [!__ASSUME_32BITUIDS]: Remove conditional code.
7119 * sysdeps/unix/sysv/linux/setegid.c: Do not include
7120 <kernel-features.h>.
7121 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7122 unconditional.
7123 (__setresgid): Do not declare.
7124 [__ASSUME_32BITUIDS]: Make code unconditional.
7125 [!__ASSUME_32BITUIDS]: Remove conditional code.
7126 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7127 <kernel-features.h>.
7128 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7129 unconditional.
7130 (__setresuid): Do not declare.
7131 [__ASSUME_32BITUIDS]: Make code unconditional.
7132 [!__ASSUME_32BITUIDS]: Remove conditional code.
7133 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7134 <kernel-features.h>.
7135 [__ASSUME_32BITUIDS]: Make code unconditional.
7136 [!__ASSUME_32BITUIDS]: Remove conditional code.
7137 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
7138 <kernel-features.h>.
7139 [__ASSUME_32BITUIDS]: Make code unconditional.
7140 [!__ASSUME_32BITUIDS]: Remove conditional code.
7141
a386f1cc
RH
71422012-05-25 Richard Henderson <rth@twiddle.net>
7143
7144 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7145 dl_hwcap to ifunc resolver.
7146 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7147 elf_ifunc_invoke.
7148 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7149 dl_hwcap to ifunc resolver.
7150 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7151
b6550497
JM
71522012-05-24 Joseph Myers <joseph@codesourcery.com>
7153
7154 [BZ #14153]
7155 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7156 for |x| <= 2**-26, not 2**-57.
7157 * math/libm-test.inc (acos_test): Do not allow spurious underflow
7158 exception.
7159
b0bc23a1
JL
71602012-05-24 Jeff Law <law@redhat.com>
7161
7162 * stdio-common/Makefile (tests): Add bug25.
7163 * stdio-common/bug25.c: New test.
7164
347c92e9
L
71652012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7166
7167 [BZ #13576]
7168 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
7169 multiple of MALLOC_ALIGNMENT in size.
7170 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7171
6bcc8b3f
JM
71722012-05-24 Joseph Myers <joseph@codesourcery.com>
7173
7174 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
7175 Require >= 256.
7176 (FILENAME_MAX): Use macro-int-constant.
7177 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
7178 (_IOFBF): Use macro-int-constant.
7179 (_IOLBF): Likewise.
7180 (_IONBF): Likewise.
7181 (SEEK_CUR): Likewise.
7182 (SEEK_END): Likewise.
7183 (SEEK_SET): Likewise.
7184 (TMP_MAX): Likewise.
7185 (EOF): Use macro-int-constant. Require < 0.
7186 (NULL): Use macro-constant. Require == 0.
7187 (stdin): Require type to be FILE *.
7188 (stdout): Likewise.
7189 (stderr): Likewise.
7190 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
7191 macro-int-constant.
7192 (EXIT_SUCCESS): Likewise.
7193 (NULL): Use macro-constant. Require == 0.
7194 (RAND_MAX): Use macro-int-constant.
7195 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
7196 [C99-based standards] (strtof): Require function.
7197 [C99-based standards] (strtold): Likewise.
7198 [C99-based standards] (strtoll): Likewise.
7199 [C99-based standards] (strtoull): Likewise.
7200 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7201 [ISO || ISO99 || ISO11] (limits.h): Likewise.
7202 [ISO || ISO99 || ISO11] (math.h): Likewise.
7203 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
7204 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7205 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7206
d18ea0c5
AS
72072012-05-24 Andreas Schwab <schwab@linux-m68k.org>
7208
7209 [BZ #14132]
56d25bb8
AS
7210 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
7211 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
7212 * intl/dgettext.c (DCGETTEXT): Likewise.
7213 * intl/gettext.c (DCGETTEXT): Likewise.
7214 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
7215 * posix/regex_internal.h (gettext): Likewise.
7216 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
7217 Remove declaration.
7218 * include/argz.h (__argz_count_internal)
7219 (__argz_stringify_internal): Remove declaration.
7220 (__argz_count, __argz_stringify): Declare hidden proto.
7221 * intl/dcgettext.c: Remove use of INTDEF.
7222 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
7223 * string/argz-stringify.c: Likewise.
7224 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7225 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7226 Declare hidden proto.
d18ea0c5
AS
7227 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7228 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7229 Declare hidden proto.
7230 * include/stdio.h (__asprintf_internal): Don't declare.
7231 (__asprintf): Don't define as macro. Declare hidden proto.
7232 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
7233 (__fsetlocking): Declare hidden proto.
7234 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
7235 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
7236 hidden proto.
7237 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
7238 (_IO_setlinebuf): Remove use of INTUSE.
7239 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
7240 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
7241 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
7242 Remove declaration.
7243 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
7244 (_IO_do_flush): Remove use of INTUSE.
7245 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
7246 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
7247 (_IO_adjust_column, _IO_least_wmarker)
7248 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
7249 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
7250 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
7251 (_IO_default_doallocate, _IO_wdefault_doallocate)
7252 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
7253 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7254 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7255 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7256 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7257 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7258 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7259 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7260 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7261 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7262 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7263 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7264 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7265 proto.
7266 (_IO_flush_all_internal, _IO_adjust_column_internal)
7267 (_IO_default_uflow_internal, _IO_default_finish_internal)
7268 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7269 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7270 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7271 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7272 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7273 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7274 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7275 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7276 (_IO_file_close_internal, _IO_file_close_it_internal)
7277 (_IO_file_underflow_internal, _IO_file_overflow_internal)
7278 (_IO_file_init_internal, _IO_file_attach_internal)
7279 (_IO_file_fopen_internal, _IO_file_read_internal)
7280 (_IO_file_sync_internal, _IO_file_seek_internal)
7281 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
7282 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
7283 (_IO_str_underflow_internal, _IO_str_overflow_internal)
7284 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
7285 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
7286 (_IO_list_all_internal, _IO_link_in_internal)
7287 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
7288 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
7289 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
7290 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
7291 (_IO_do_write_internal, _IO_padn_internal)
7292 (_IO_getline_info_internal, _IO_getline_internal)
7293 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
7294 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7295 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7296 (_IO_vfscanf_internal, _IO_vfprintf_internal)
7297 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7298 (_IO_init_internal, _IO_un_link_internal): Don't declare.
7299 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7300 with libc_hidden_ver, remove use of INTUSE.
7301 * libio/genops.c: Likewise.
7302 * libio/freopen.c: Likewise.
7303 * libio/freopen64.c: Likewise.
7304 * libio/iofclose.c: Likewise.
7305 * libio/iofdopen.c: Likewise.
7306 * libio/iofflush.c: Likewise.
7307 * libio/iofflush_u.c: Likewise.
7308 * libio/iofgets.c: Likewise.
7309 * libio/iofgets_u.c: Likewise.
7310 * libio/iofopen.c: Likewise.
7311 * libio/iofopncook.c: Likewise.
7312 * libio/iofread.c: Likewise.
7313 * libio/iofread_u.c: Likewise.
7314 * libio/ioftell.c: Likewise.
7315 * libio/iofwrite.c: Likewise.
7316 * libio/iogetline.c: Likewise.
7317 * libio/iogets.c: Likewise.
7318 * libio/iogetwline.c: Likewise.
7319 * libio/iopadn.c: Likewise.
7320 * libio/iopopen.c: Likewise.
7321 * libio/ioseekoff.c: Likewise.
7322 * libio/ioseekpos.c: Likewise.
7323 * libio/iosetbuffer.c: Likewise.
7324 * libio/iosetvbuf.c: Likewise.
7325 * libio/ioungetc.c: Likewise.
7326 * libio/ioungetwc.c: Likewise.
7327 * libio/iovdprintf.c: Likewise.
7328 * libio/iovsprintf.c: Likewise.
7329 * libio/iovsscanf.c: Likewise.
7330 * libio/memstream.c: Likewise.
7331 * libio/obprintf.c: Likewise.
7332 * libio/oldfileops.c: Likewise.
7333 * libio/oldiofclose.c: Likewise.
7334 * libio/oldiofdopen.c: Likewise.
7335 * libio/oldiofopen.c: Likewise.
7336 * libio/oldiopopen.c: Likewise.
7337 * libio/oldstdfiles.c: Likewise.
7338 * libio/putc.c: Likewise.
7339 * libio/setbuf.c: Likewise.
7340 * libio/setlinebuf.c: Likewise.
7341 * libio/stdfiles.c: Likewise.
7342 * libio/strops.c: Likewise.
7343 * libio/vasprintf.c: Likewise.
7344 * libio/vscanf.c: Likewise.
7345 * libio/vsnprintf.c: Likewise.
7346 * libio/vswprintf.c: Likewise.
7347 * libio/wfiledoalloc.c: Likewise.
7348 * libio/wfileops.c: Likewise.
7349 * libio/wgenops.c: Likewise.
7350 * libio/wmemstream.c: Likewise.
7351 * libio/wstrops.c: Likewise.
7352 * libio/__fpurge.c: Likewise.
7353 * libio/__fsetlocking.c: Likewise.
7354 * assert/assert.c: Likewise.
7355 * debug/fgets_chk.c: Likewise.
7356 * debug/fgets_u_chk.c: Likewise.
7357 * debug/fread_chk.c: Likewise.
7358 * debug/fread_u_chk.c: Likewise.
7359 * debug/gets_chk.c: Likewise.
7360 * debug/obprintf_chk.c: Likewise.
7361 * debug/vasprintf_chk.c: Likewise.
7362 * debug/vdprintf_chk.c: Likewise.
7363 * debug/vsnprintf_chk.c: Likewise.
7364 * debug/vsprintf_chk.c: Likewise.
7365 * malloc/mtrace.c: Likewise.
7366 * misc/error.c: Likewise.
7367 * misc/syslog.c: Likewise.
7368 * stdio-common/asprintf.c: Likewise.
7369 * stdio-common/fxprintf.c: Likewise.
7370 * stdio-common/getw.c: Likewise.
7371 * stdio-common/isoc99_fscanf.c: Likewise.
7372 * stdio-common/isoc99_scanf.c: Likewise.
7373 * stdio-common/isoc99_vfscanf.c: Likewise.
7374 * stdio-common/isoc99_vscanf.c: Likewise.
7375 * stdio-common/isoc99_vsscanf.c: Likewise.
7376 * stdio-common/printf-prs.c: Likewise.
7377 * stdio-common/printf_fp.c: Likewise.
7378 * stdio-common/printf_fphex.c: Likewise.
7379 * stdio-common/printf_size.c: Likewise.
7380 * stdio-common/putw.c: Likewise.
7381 * stdio-common/scanf.c: Likewise.
7382 * stdio-common/sprintf.c: Likewise.
7383 * stdio-common/tmpfile.c: Likewise.
7384 * stdio-common/vfprintf.c: Likewise.
7385 * stdio-common/vfscanf.c: Likewise.
7386 * stdlib/strfmon_l.c: Likewise.
7387 * sunrpc/openchild.c: Likewise.
7388 * sunrpc/xdr_stdio.c: Likewise.
7389 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7390 * sysdeps/mach/hurd/tmpfile.c: Likewise.
7391
d6c33fda
RM
73922012-05-24 Roland McGrath <roland@hack.frob.com>
7393
c1487492
RM
7394 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7395
7396 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
7397 in the third column, to generate for the shared library an IFUNC
7398 that uses _dl_vdso_vsym.
7399 * Makerules (COMPILE.c, compile-stdin.c): New variables.
7400 * Makeconfig (object-suffixes-noshared): New variable.
7401
7402 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
7403 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
7404 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
7405 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
7406
d6c33fda
RM
7407 [BZ #14132]
7408 * include/sys/time.h (__gettimeofday): Remove macro.
7409 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
7410 * time/gettimeofday.c (__gettimeofday): Remove #undef.
7411 Remove INTDEF.
7412 (__gettimeofday): Add libc_hidden_def.
7413 (gettimeofday): Add libc_hidden_weak.
7414 * sysdeps/mach/gettimeofday.c: Likewise.
7415 * sysdeps/posix/gettimeofday.c: Likewise.
7416 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7417 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7418 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
7419 (__gettimeofday_internal): Remove strong_alias.
7420 (__gettimeofday): Add libc_hidden_def.
7421 (gettimeofday): Add libc_hidden_weak.
7422 * sysdeps/unix/syscalls.list (gettimeofday):
7423 Remove __gettimeofday_internal alias.
7424
b5a2bbe6
L
74252012-05-24 Daniel Jacobowitz <drow@false.org>
7426 H.J. Lu <hongjiu.lu@intel.com>
7427
7428 [BZ #12495]
7429 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
7430 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
7431 (largebin_index_32_big): New.
7432 (largebin_index): Use it for 16-byte alignment.
7433 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
7434 correction with front_misalign.
7435
cfba4fda
L
74362012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7437
7f907421
L
7438 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
7439 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7440 Likewise.
7441 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
7442 Likewise.
7443 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7444 Likewise.
7445 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
7446 Likewise.
7447 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
7448 Likewise.
7449 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
7450 Likewise.
7451 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
7452 Likewise.
7453 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7454 Likewise.
7455 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
7456 Likewise.
7457 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
7458 Likewise.
7459 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7460 Likewise.
7461 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
7462 Likewise.
7463
cfba4fda
L
7464 * scripts/data/c++-types-x32-linux-gnu.data: New file.
7465 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
7466
80bad0cc
JM
74672012-05-24 Joseph Myers <joseph@codesourcery.com>
7468
7a25eb06
JM
7469 [BZ #10846]
7470 [BZ #14036]
7471 * math/libm-test.inc (exp_test): Add test from bug 14036.
7472 (pow_test): Add test from bug 10846.
7473
795405f9
JM
7474 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
7475 and other flags.
7476 (special_function): Do not include flags in test name.
7477 (parse_args): Likewise.
7478 * sysdeps/i386/fpu/libm-test-ulps: Update.
7479 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7480 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7481 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7483
80bad0cc
JM
7484 * math/gen-libm-test.pl (%beautify): Add entries for underflow
7485 exceptions.
7486 * math/libm-test.inc ("Philosophy"): Update comment about
7487 exception testing.
7488 (UNDERFLOW_EXCEPTION): New macro.
7489 (UNDERFLOW_EXCEPTION_OK): Likewise.
7490 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7491 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7492 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7493 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7494 (INVALID_EXCEPTION_OK): Update value.
7495 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7496 (OVERFLOW_EXCEPTION_OK): Likewise.
7497 (IGNORE_ZERO_INF_SIGN): Likewise.
7498 (test_exceptions): Handle underflow exceptions.
7499 (acos_test): Update for underflow exception expectations.
7500 (cexp_test): Likewise.
7501 (clog_test): Likewise.
7502 (clog10_test): Likewise.
7503 (csqrt_test): Likewise.
7504 (ctan_test): Likewise.
7505 (ctanh_test): Likewise.
7506 (exp_test): Likewise.
7507 (exp10_test): Likewise.
7508 (exp2_test): Likewise.
7509 (expm1_test): Likewise.
7510 (fma_test): Likewise.
7511 (j0_test): Likewise.
7512 (jn_test): Likewise.
7513 (nexttoward_test): Likewise.
7514 (pow_test): Likewise.
7515 (scalbn_test): Likewise.
7516 (scalbln_test): Likewise.
7517 (tan_test): Likewise.
7518 (y1_test): Likewise.
7519 * sysdeps/i386/fpu/libm-test-ulps: Update.
7520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7521
9e0e3d0b
DM
75222012-05-23 David S. Miller <davem@davemloft.net>
7523
7524 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7525 (__libc_sigaction): Remove unused local variables.
7526
ccd0a08f
L
75272012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7528
7529 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
7530
62bdf9a6
PE
75312012-05-23 Paul Eggert <eggert@cs.ucla.edu>
7532
f8591f80
PE
7533 mktime: avoid signed integer overflow
7534 * time/mktime.c (__mktime_internal): Do not mishandle the case
7535 where diff == INT_MIN.
7536
94c7d826
PE
7537 mktime: simplify computation of average
7538 * time/mktime.c (ranged_convert): Use new time_t_avg function
7539 instead of rolling our own (probably-slower) code.
7540
ce73d683
PE
7541 mktime: do not assume signed right shift propagates sign bit
7542 * time/mktime.c (isdst_differ): New static function.
7543 (__mktime_internal): No need to normalize tm_isdst now.
7544 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
7545 tm_isdst values.
7546
72a22e59
PE
7547 mktime: merge another wrapv change from gnulib
7548 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
7549 from some compilers.
7550
68605433
PE
7551 mktime: remove incorrect attempt at unusual arithmetics
7552 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
7553 The code didn't really work on such machines anyway.
7554 (TYPE_MINIMUM): Assume two's complement.
7555 (twos_complement_arithmetic): Verify that long_int and time_t
7556 are two's complement (or unsigned, in the latter case).
7557
03cf7fe3
PE
7558 mktime: check signed shifts on long_int and time_t, too
7559 * time/mktime.c (SHR): Check that shifts work as desired
7560 on the types long_int and time_t too, as SHR is used on
7561 such types.
7562
f04dfbc2
PE
7563 mktime: do not assume 'long' is wide enough
7564 * time/mktime.c (verify): Move decl up.
7565 (long_int): New type.
7566 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
7567 to remove assumption in the code that 'long' is wide enough to
7568 store year values. This assumption is not true on x32 and on
7569 some non-glibc platforms.
7570
62bdf9a6
PE
7571 mktime: merge wrapv change from gnulib
7572 * time/mktime.c (WRAPV): New macro.
7573 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
7574 (guess_time_tm, __mktime_internal): Do not assume that signed
7575 integer overflow wraps around; modern compilers generate code
7576 where this assumption is no longer valid.
7577
5e292e4f
L
75782012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7579
7580 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7581 Replace "jmp L(pseudo_end)" with "ret".
7582 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
7583 Likewise.
7584
8caf8c87
AJ
75852012-05-23 Andreas Jaeger <aj@suse.de>
7586
7587 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
7588 * sysdeps/unix/sysv/linux/poll.c: Remove file.
7589
1a09dc56
AJ
75902012-05-23 Andreas Jaeger <aj@suse.de>
7591 Maximilian Attems <max@stro.at>
7592
7593 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
7594 New macros.
7595
1c87aba0
L
75962012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7597
7598 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
7599 code so that pseudo_end is just ret and the stack pointer is
7600 correct also for static library in error case.
7601
40e45bd5
JM
76022012-05-23 Joseph Myers <joseph@codesourcery.com>
7603
c2670533
JM
7604 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
7605 move to syscalls.list.
7606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7610
40e45bd5
JM
7611 * manual/install.texi (Running make install): Do not mention Linux
7612 kernel version for which pt_chown is not needed.
7613 (Linux): Do not mention problems with nscd with 2.0 kernels.
7614 * INSTALL: Regenerated.
7615
be08eda5
AJ
76162012-05-23 Andreas Jaeger <aj@suse.de>
7617
7618 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
7619 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
7620 macro.
7621 * sysdeps/unix/sysv/linux/s390/bits/mman.h
7622 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7623 * sysdeps/unix/sysv/linux/sh/bits/mman.h
7624 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7625 * sysdeps/unix/sysv/linux/i386/bits/mman.h
7626 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7627 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
7628 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7629 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
7630 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7631 * sysdeps/unix/sysv/linux/bits/in.h
7632 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
7633
a6a056bb
RM
76342012-05-22 Roland McGrath <roland@hack.frob.com>
7635
7636 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
7637 (PREPARE_VERSION): Just use assert instead, it will be elided
7638 under [NDEBUG] anyway.
7639
c9009328
L
76402012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7641
7642 * sysdeps/unix/sysv/linux/Makefile: Include
7643 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 7644 (sysdep_routines): Remove sysctl.
c9009328
L
7645 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
7646 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
7647 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
7648 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
7649 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
7650
73338355
AJ
76512012-05-22 Andreas Jaeger <aj@suse.de>
7652
7653 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
7654 that pseudo_end is just ret and the stack pointer is correct also
7655 for static library in error case.
7656
d44638b0
PP
76572012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7658
7659 [BZ #14122]
7660 * nss/nsswitch.c (defconfig_entries): New variable.
7661 (__nss_database_lookup): Don't leak defconfig entries.
7662 (nss_parse_service_list): Don't leak on error paths.
7663 (free_database_entries): New function.
7664 (free_defconfig): New function.
7665 (free_mem): Move common code to free_database_entries.
7666
31a39bd8
L
76672012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7668
da0331a8
L
7669 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
7670 Add arch_prctl.
7671 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
7672
31a39bd8
L
7673 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7674 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
7675 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
7676 New macro.
7677 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7678 (INTERNAL_SYSCALL_TYPES): Likewise.
7679 (LOAD_ARGS_TYPES_[1-6]): Likewise.
7680 (LOAD_REGS_TYPES_[1-6]): Likewise.
7681 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
7682 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
7683
45470df3
AZ
76842012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7685
7686 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
7687 copysignl for GLIBC_2_0.
7688 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
7689 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
7690 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
7691 logbl for GLIBC_2_0.
7692 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7693 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7694
98a61bcb
L
76952012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7696
a4f6e481
L
7697 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
7698 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7699
f63d5db6
L
7700 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7701 Use "neg %eax".
7702
98a61bcb
L
7703 * time/mktime.c: Update copyright years.
7704
95770f14
PE
77052012-05-22 Paul Eggert <eggert@cs.ucla.edu>
7706
6226efbd
PE
7707 mktime: merge comment-quoting-style change from gnulib
7708 * time/mktime.c: Quote 'like this' in comments.
7709 The GNU coding standards suggest that we no longer quote `like this',
7710 as "`" and "'" are typically rendered asymmetrically nowadays.
7711 The typical gnulib style is to quote 'like this' when quoting
7712 code, and "like this" when quoting English.
7713
b99e4f78
PE
7714 * time/mktime.c (compile-command): Add "-I.".
7715
643e01e6
PE
7716 mktime: merge mktime-internal.h change from gnulib
7717 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
7718
2554247d
PE
7719 mktime: merge time_r change from gnulib
7720 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
7721
826dd0ab
PE
7722 mktime: merge DEBUG change from gnulib
7723 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
7724 case system <time.h> has a #define.
7725
bd83aabe
PE
7726 mktime: merge <sys/types.h> change from gnulib
7727 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
7728 since <time.t> is now guaranteed to define time_t.
7729
95770f14
PE
7730 mktime: merge HAVE_CONFIG_H change from gnulib
7731 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
7732
5e1a27a9
L
77332012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7734
0e44a77e
L
7735 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7736 Use "neg %eax".
7737
5e1a27a9
L
7738 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
7739 __rlim_t cast.
7740 (struct rusage): Use anonymous union to pad each field to
7741 __syscall_slong_t.
7742
46259bec
DM
77432012-05-21 David S. Miller <davem@davemloft.net>
7744
7745 * Makefules (o-iterator): Remove .s cases.
7746 (compile-command.s): Delete.
7747 (COMPILE.s): Delete.
7748 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
7749
59f0c22e
JM
77502012-05-21 Joseph Myers <joseph@codesourcery.com>
7751
7752 * configure.in (libc_cv_predef_stack_protector): Only consider
7753 "foobar" and "__stack_chk_fail" lines in libc_undefs.
7754 * configure: Regenerated.
7755
20c07380
L
77562012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7757
bbb3154b
L
7758 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7759 New macro. Use R*LP on int and pointer.
7760 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
7761 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
7762 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
7763 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
7764
20c07380
L
7765 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
7766 [__WORDSIZE_TIME64_COMPAT32] instead of
7767 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
7768 (struct utmp): Likewise.
7769 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
7770 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
7771 Renamed to ...
7772 (__WORDSIZE_TIME64_COMPAT32): This.
7773 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
7774 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
7775 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
7776 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
7777 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
7778 (__WORDSIZE_TIME64_COMPAT32): New macro.
7779
d8d1017e
AJ
77802012-05-21 Andreas Jaeger <aj@suse.de>
7781
7782 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
7783 only if [SHARED]. Add prototype for __wcschr_ia32.
7784
6c7fb145
RM
77852012-05-21 Roland McGrath <roland@hack.frob.com>
7786
7787 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
7788 of %rbp unmolested in the jmp_buf while mangling the low bits.
7789 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
7790 unmolested high bits of %rbp while demangling the low bits.
7791 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7792
66274218
AJ
77932012-05-21 Andreas Jaeger <aj@suse.de>
7794
07c58f8f
AJ
7795 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
7796 * sunrpc/svc_simple.c: Use it for registerrpc.
7797 * sunrpc/xcrypt.c: Use it for passwd2des.
7798
66274218
AJ
7799 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
7800
61f65140
L
78012012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7802
7803 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
7804 Don't define if [__SYSCALL_WORDSIZE != 32].
7805 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
7806 New macro.
7807
5fefb436
AJ
78082012-05-21 Bruno Haible <bruno@clisp.org>
7809 Andreas Jaeger <aj@suse.de>
7810
7811 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
7812 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
7813 inptr and inend for must_buffer_ch.
7814 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
7815 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
7816 * stdio-common/Makefile (tests): Remove bug15.
7817 (bug15-ENV): Remove macro.
7818 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
7819 anymore.
7820
d8e272ab
AJ
78212012-05-19 Andreas Jaeger <aj@suse.de>
7822 Roland McGrath <roland@hack.frob.com>
7823
7824 * manual/contrib.texi: Completely rewritten. It contains now an
7825 alphabetical list of contributors and their contributions.
7826
4a56a162
RH
78272012-05-21 Richard Henderson <rth@twiddle.net>
7828
7829 * misc/getauxval.c (__getauxval): Use unsigned long int.
7830 * misc/sys/auxv.h: Include <sys/cdefs.h>.
7831 (getauxval): Use unsigned long int.
7832
d024d23c
L
78332012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7834
7835 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7836
cbc00a03
RM
78372012-05-21 Roland McGrath <roland@hack.frob.com>
7838
7839 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
7840 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
7841 __alignof__ (long double).
7842
478143fa
AZ
78432012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7844
7845 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7846
c7683a6d
RH
78472012-05-20 Richard Henderson <rth@twiddle.net>
7848
7849 * misc/getauxval.c: New file.
7850 * misc/sys/auxv.h: New file.
7851 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
7852 (routines): Add getauxval.
7853 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
7854 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
7855 * elf/dl-sysdep.c (_dl_auxv): Remove.
7856 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
7857 * elf/dl-support.c (_dl_auxv): New variable.
7858 (_dl_aux_init): Initialize it.
7859 * manual/startup.texi (Auxiliary Vector): New node.
7860 * sysdeps/generic/bits/hwcap.h: New file.
7861 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
7862 * sysdeps/powerpc/sysdep.h: ... here. Include it.
7863 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
7864 * sysdeps/sparc/sysdep.h: ... here. Include it.
7865 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
7866 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
7867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7868 Update.
c7683a6d
RH
7869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
7870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
7871 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
7872 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
7873 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7874 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7875 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
7876 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
7877
a6f1845d
AZ
78782012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7879
7880 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7881
cbcbe830
DM
78822012-05-19 David S. Miller <davem@davemloft.net>
7883
7884 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7885
e0b16cc2
JM
78862012-05-19 Joseph Myers <joseph@codesourcery.com>
7887
7888 [BZ #14123]
7889 * math/s_ccosh.c: Include <float.h>
7890 (__ccosh): Avoid internal overflow calculating sinh and cosh
7891 values before multiplying by sin and cos values.
7892 * math/s_ccoshf.c: Likewise.
7893 * math/s_ccoshl.c: Likewise.
7894 * math/s_csin.c: Likewise.
7895 * math/s_csinf.c: Likewise.
7896 * math/s_csinl.c: Likewise.
7897 * math/s_csinh.c: Likewise.
7898 * math/s_csinhf.c: Likewise.
7899 * math/s_csinhl.c: Likewise.
7900 * math/libm-test.inc (ccos_test): Add more tests.
7901 (ccosh_test): Likewise.
7902 (csin_test): Likewise.
7903 (csinh_test): Likewise.
7904 * sysdeps/i386/fpu/libm-test-ulps: Update.
7905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7906
6ad13e08
L
79072012-05-19 H.J. Lu <hongjiu.lu@intel.com>
7908
f66f0ce8
L
7909 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
7910 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
7911
6ad13e08
L
7912 * sysdeps/x86_64/x32/_itoa.h: Add comment.
7913
b1d072a7
JM
79142012-05-19 Joseph Myers <joseph@codesourcery.com>
7915
7916 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
7917 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
7918 * sysdeps/powerpc/soft-fp/Versions: Likewise.
7919 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
7920 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
7921 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
7922 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
7923 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
7924 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
7925 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
7926 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
7927 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
7928 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
7929 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
7930 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
7931 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
7932 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
7933 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
7934 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
7935 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
7936 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
7937 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
7938 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
7939 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
7940 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
7941 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
7942 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
7943 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
7944 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
7945 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
7946 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
7947
9eae47cb
AJ
79482012-05-18 Andreas Jaeger <aj@suse.de>
7949
7950 * csu/.gitignore: Delete.
7951
bb07f69f
L
79522012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7953
7954 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
7955 (timex): Use __syscall_slong_t.
7956
e6bdb741
AJ
79572012-05-18 Andreas Jaeger <aj@suse.de>
7958 Carlos O'Donell <carlos_odonell@mentor.com>
7959
7960 * manual/install.texi (Configuring and compiling): Update
7961 description about files modified in the source directory.
d6c33fda 7962 * INSTALL: Regenerated.
e6bdb741 7963
1b74487e
L
79642012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7965
7966 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
7967 value. Use "or" to set return value to -1.
7968 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
7969 negate return value.
7970
a88b64b9
TMQMF
79712012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7972
7973 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
7974 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
7975 failure if the compiler has Graphite support disabled.
7976 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
7977 Likewise.
7978 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
7979 CFLAGS-memmove.c): Likewise.
7980 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
7981 Likewise.
7982
3707636e
L
79832012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7984
610b8622
L
7985 * sysdeps/x86_64/x32/_itoa.h: New file.
7986
7cd195df
L
7987 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
7988 getdents system call only if kernel and user dirents have the
7989 same d_ino and d_off.
7990
94b07d20
L
7991 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7992 LLONG_MAX != LONG_MAX.
7993 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7994 (_fitoa_word): Likewise.
7995
18298070
L
7996 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
7997 years.
7998 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
7999 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8000 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8001
553c7ea4
L
8002 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8003 include <bits/wordsize.h>. Check __x86_64__ instead of
8004 __WORDSIZE.
8005 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8006 if __x86_64__ is defined. Use anonymous union on fpstate.
8007
3707636e
L
8008 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8009 anonymous union.
8010
b53ef01a
AS
80112012-05-18 Andreas Schwab <schwab@linux-m68k.org>
8012
37fb1dc0
AS
8013 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8014 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8015 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8016 Refer to _rtld_local_ro instead of _rtld_global_ro.
8017 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8018 Likewise.
8019 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8020 Likewise.
8021 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8022 Likewise.
8023 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8024 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8025 of _rtld_global, and rtld_progname instead of _dl_argv[0].
8026
b53ef01a
AS
8027 * sysdeps/powerpc/powerpc32/dl-machine.c
8028 (__elf_machine_runtime_setup) [PROF]: Don't reference
8029 _dl_prof_resolve.
8030
7a185db2
AJ
80312012-05-18 Andreas Jaeger <aj@suse.de>
8032
8033 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8034 function only available for GCCs before 3.4 since GCC 3.4
8035 introduced a builtin.
8036 (lrint): Likewise.
8037 (llrintf): Likewise.
8038 (llrint): Likewise.
8039 (fmaxf): Likewise.
8040 (fmax): Likewise.
8041 (fminf): Likewise.
8042 (fmin): Likewise.
8043 (rint): Likewise.
8044 (rintf): Likewise.
8045 (nearbyint): Likewise.
8046 (nearbyintf): Likewise.
8047 (ceil): Likewise.
8048 (ceilf): Likewise.
8049 (floor): Likewise.
8050 (floorf): Likewise.
8051
3e5aef87
L
80522012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8053
428bd707
L
8054 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8055 on both fields and cast pointer to __syscall_ulong_t.
8056
3e5aef87
L
8057 * bits/types.h (__fsword_t): New type.
8058 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8059 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8060 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8061 (__FSWORD_T_TYPE): Likewise.
8062 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8063 (__FSWORD_T_TYPE): Likewise.
8064 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8065 (__FSWORD_T_TYPE): Likewise.
8066 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8067 (__FSWORD_T_TYPE): Likewise.
8068 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8069 __SWORD_TYPE with __fsword_t.
8070 (statfs64): Likewise.
8071
1ba7c3dc
DM
80722012-05-17 David S. Miller <davem@davemloft.net>
8073
8074 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8075
59910343
AJ
80762012-05-17 Andreas Jaeger <aj@suse.de>
8077
8078 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8079 warning.
8080
2e4c1e9e
L
80812012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8082
8083 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8084
de7f5ce7
AJ
80852012-05-17 Andreas Jaeger <aj@suse.de>
8086
8087 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8088 when it is used.
8089
286abc3d
CM
80902012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8091
8092 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8093
477cc68e
L
80942012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8095
8096 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8097 * sysdeps/x86_64/tst-mallocalign1.c: New file.
8098
1a0994f5
CD
80992012-05-17 Andreas Jaeger <aj@suse.de>
8100 Carlos O'Donell <carlos_odonell@mentor.com>
8101
8102 [BZ #14059]
8103 * sysdeps/x86_64/multiarch/init-arch.h
8104 (bit_YMM_Usable): Rename to...
8105 (bit_AVX_Usable): ... this.
8106 (bit_FMA4_Usable): New macro.
8107 (bit_XMM_state): New macro.
8108 (bit_YMM_state): New macro.
8109 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8110 [__ASSEMBLER__] (index_AVX_Usable): ... this.
8111 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8112 (CPUID_OSXSAVE): New macro.
8113 (CPUID_AVX): New macro.
8114 (CPUID_FMA4): New macro.
8115 (index_YMM_Usable): Rename to...
8116 (index_AVX_Usable): ... this.
8117 (HAS_AVX): Use HAS_ARCH_FEATURE.
8118 (HAS_FMA4): Likewise.
8119 (HAS_YMM_USABLE): Remove.
8120 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8121 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8122 are present.
8123 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8124 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8125 * sysdeps/x86_64/multiarch/Makefile: Likewise.
8126 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8127 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8128
0af797de
CM
81292012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8130
8131 * math/libm-test.c: Support platforms without multiple rounding modes.
8132 * math/bug-nextafter.c: Support platforms without FP exceptions.
8133 * math/bug-nexttoward.c: Likewise.
8134 * math/test-fenv.c: Likewise.
8135 * math/test-misc.c: Likewise.
8136 * stdlib/bug-getcontext.c: Likewise.
8137
e39745ff
AJ
81382012-05-17 Andreas Jaeger <aj@suse.de>
8139
8140 * manual/examples/search.c (critter_cmp): Change signature to
8141 avoid warnings.
8142 * manual/string.texi (Collation Functions): Likewise.
8143
48970aba
L
81442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8145
8146 * bits/types.h: Fold copyright years.
8147 * bits/typesizes.h: Likewise.
8148 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8149 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8150 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8151 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8152 * time/time.h: Likewise.
8153
bedee953
PP
81542012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8155
8156 [BZ #208]
8157 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
8158 in instead of returning them. Return void.
8159 (__libc_mallinfo): Accumulate over all arenas.
8160 (__malloc_stats): Adjust for change in int_mallinfo interface.
8161
61653dfb
RM
81622012-05-16 Roland McGrath <roland@hack.frob.com>
8163
30b99d79
RM
8164 [BZ #10375]
8165 * configure.in (NM): Add AC_CHECK_TOOL for it.
8166 (libc_extra_cflags): New substituted variable.
8167 Check for -fstack-protector being used implicitly.
8168 * configure: Regenerated.
8169 * config.make.in (config-extra-cflags): New variable,
8170 gets @libc_extra_cflags@.
8171 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
8172
61653dfb
RM
8173 [BZ #10375]
8174 * configure.in: Check for _FORTIFY_SOURCE being predefined.
8175 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
8176 * configure: Regenerated.
8177 * config.make.in (CPPUNDEFS): New substituted variable.
8178 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
8179 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
8180 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
8181
661768bb
L
81822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8183
8184 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
8185 (mq_attr): Use __syscall_slong_t.
8186
d4261567
L
81872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8188
8189 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
8190 Check __x86_64__ instead of __WORDSIZE.
8191 (_STAT_VER_LINUX): Likewise.
8192 (stat): Check __x86_64__ instead of __WORDSIZE. Use
8193 __syscall_ulong_t and __syscall_slong_t.
8194 (stat64): Likewise.
8195
cf3ff365
L
81962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8197
8198 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
8199
76cf3e4d
L
82002012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8201
8202 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8203
a637753a
L
82042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8205
8206 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
8207 __syscall_ulong_t.
8208
d5e05119
L
8209 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
8210 include <bits/wordsize.h>. Check __x86_64__ instead of
8211 __WORDSIZE.
8212 (greg_t): Use "__extension__ long long int" if __x86_64__ is
8213 defined.
8214 (mcontext_t): Replace "unsigned long" with "unsigned long long".
8215
f62ee380
L
8216 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
8217 include <bits/wordsize.h>. Check __x86_64__ instead of
8218 __WORDSIZE.
8219 (user_regs_struct): Use "__extension__ unsigned long long"
8220 instead of "unsigned long" if __x86_64__ is defined.
8221 (user): Likewise. Pad after pointer field if __ILP32__ is
8222 defined.
8223
4e124ced
JM
82242012-05-16 Joseph Myers <joseph@codesourcery.com>
8225
6a3951a0
JM
8226 * configure.in (makeinfo): Require version 4.5 or later. Allow
8227 versions 5 to 9.
8228 * configure: Regenerated.
8229 * manual/install.texi (texinfo): Increase version requirement to
8230 4.5 or later.
8231 * INSTALL: Regenerated.
8232
4e124ced
JM
8233 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
8234
953ca31a
L
82352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8236
8237 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
8238
617aca05
L
8239 * sysdeps/x86_64/x32/ffs.c: New file.
8240
5762f7ae
L
8241 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
8242 __syscall_ulong_t.
8243 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
8244 defined. Use __syscall_ulong_t.
8245 (shminfo): Use __syscall_ulong_t.
8246 (shm_info): Likewise.
8247
a26b6856
L
8248 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
8249 __syscall_ulong_t.
8250
cb2b9ef7
L
8251 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
8252 <bits/wordsize.h>.
8253 (msgqnum_t): Use __syscall_ulong_t.
8254 (msglen_t): Likewise.
8255 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
8256 __syscall_ulong_t.
8257
34683bb0
L
8258 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8259 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8260
84a68786
L
8261 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8262
48baa5f1
L
8263 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8264 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8265
180be88b
L
8266 * sysvipc/sys/msg.h (msgbuf): Replace long int with
8267 __syscall_slong_t.
8268
5e90c8ad
L
8269 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8270 include <bits/wordsize.h>. Check __x86_64__ instead of
8271 __WORDSIZE.
8272
23dfb58b
L
8273 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8274 "unsigned long long int" if __x86_64__ is defined.
8275 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8276
ce5d54b0
L
8277 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8278 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8279 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
8280
13dc9eac
L
8281 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
8282 <stdint.h>.
8283 (GET_PC): Cast to uintptr_t first.
8284 (GET_FRAME): Likewise.
8285 (GET_STACK): Likewise.
8286
a7895d15
L
8287 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
8288 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
8289 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
8290 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
8291 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
8292 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
8293 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
8294 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8295 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8296 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8297 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8298 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8299 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8300 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8301 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8302 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8303 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8304 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8305 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8306 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8307 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8308 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8309 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8310 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8311 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8312 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8313 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8314 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8315 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8316
656416c9
AS
83172012-05-16 Andreas Schwab <schwab@linux-m68k.org>
8318
5bd66283
AS
8319 * Makerules (+depfiles): Also collect depfiles from .oS in
8320 $(extra-objs).
8321 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
8322 .oS, $(libnldbl-routines)).
8323
656416c9
AS
8324 * Makerules (native-compile-mkdep-flags): Define.
8325 * sunrpc/Makefile (extra-objs): Add $(addprefix
8326 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
8327 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
8328 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
8329 calling $(make-target-directory).
8330
a46f2169
L
83312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8332
8333 * bits/types.h (__snseconds_t): Removed.
8334 * time/time.h (struct timespec): Replace __snseconds_t with
8335 __syscall_slong_t.
8336 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
8337 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
8338 Likewise.
8339 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8340 (__SNSECONDS_T_TYPE): Likewise.
8341 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8342 (__SNSECONDS_T_TYPE): Likewise.
8343 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8344 (__SNSECONDS_T_TYPE): Likewise.
8345
6af6528b
L
83462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8347
8348 * sysdeps/mach/hurd/bits/typesizes.h
8349 (__SYSCALL_SLONG_TYPE): New macro.
8350 (__SYSCALL_ULONG_TYPE): Likewise.
8351
de986b56
L
83522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8353
8354 * bits/types.h (__syscall_slong_t): New type.
8355 (__syscall_ulong_t): Likewise.
8356
8357 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
8358 (__SYSCALL_ULONG_TYPE): Likewise.
8359 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8360 (__SYSCALL_SLONG_TYPE): Likewise.
8361 (__SYSCALL_ULONG_TYPE): Likewise.
8362 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8363 (__SYSCALL_SLONG_TYPE): Likewise.
8364 (__SYSCALL_ULONG_TYPE): Likewise.
8365 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8366 (__SYSCALL_SLONG_TYPE): Likewise.
8367 (__SYSCALL_ULONG_TYPE): Likewise.
8368
85736dc7
L
83692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8370
8371 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
8372 Add sigaltstack-offsets.sym.
8373 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8374 <sigaltstack-offsets.h>.
8375 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
8376 longjmp_msg pointer.
8377 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
8378 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
8379 signal stack.
8380 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
8381
cc03b296
JM
83822012-05-15 Joseph Myers <joseph@codesourcery.com>
8383
a9538892
JM
8384 * elf/stackguard-macros.h: Remove file.
8385 * sysdeps/generic/stackguard-macros.h: New file.
8386 * sysdeps/i386/stackguard-macros.h: Likewise.
8387 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8388 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8389 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8390 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8391 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8392 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8393 * sysdeps/x86_64/stackguard-macros.h: Likewise.
8394 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
8395 <elf/stackguard-macros.h>.
8396
cc03b296
JM
8397 [BZ #14109]
8398 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
8399 __aligned__ in attribute.
8400 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
8401 (gregset_t): Likewise.
8402
93171016
L
84032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8404
8405 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
8406 * sysdeps/x86_64/64/Implies-after: Here. New file.
8407 * sysdeps/x86_64/x32/Implies-after: New file.
8408
d86813a0
L
84092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8410
8411 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
8412 and access return value for _dl_profile_fixup. Use R10_LP to
8413 load frame size.
8414
2953ec75
L
84152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8416
8417 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
8418
3b550e9e
L
84192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8420
8421 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
8422 * sysdeps/x86_64/x32/sysdep.h: New file.
8423
eda41706
L
84242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8425
8426 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
8427 * sysdeps/x86_64/setjmp.S: Likewise.
8428
9ea01d93
AZ
84292012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8430
8431 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
8432 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
8433 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
8434 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
8435 remove unused global constant.
8436
02a91938
CM
84372012-05-15 Chris Metcalf <cmetcalf@tilera.com>
8438
8439 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
8440 include of <not-cancel.h>.
8441
6540185f
RM
84422012-05-15 Roland McGrath <roland@hack.frob.com>
8443
8444 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
8445
509072a0
AJ
84462012-05-15 Jeff Law <law@redhat.com>
8447 Andreas Jaeger <aj@suse.de>
8448
8449 [BZ #13594]
8450 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
8451 out from...
8452 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
8453 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
8454 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
8455 code changing __hst_map_handle.map.
8456
ba75122d
RM
84572012-05-15 Roland McGrath <roland@hack.frob.com>
8458
8459 * configure.in (sysnames): Look for Implies-before and Implies-after
8460 files.
8461 * configure: Regenerated.
8462
890d8bd8
L
84632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8464
8465 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
8466 8-byte data alignment with LP_SIZE alignment.
8467
f6ee6623
L
84682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8469
8470 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
8471 into R10_LP.
8472
ea2626f6
L
84732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8474
8475 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
8476
085f715e
L
84772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8478
8479 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
8480 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
8481 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
8482 Likewise.
8483 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8484
be8498fc
L
84852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8486
8487 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
8488 (stackinfo_sub_sp): Likewise.
8489
70bc83b9
L
84902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8491
8492 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
8493 RAX_LP.
8494
9bc0b730
L
84952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8496
8497 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
8498 into R*_LP.
8499
6d2850e7
L
85002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8501
8502 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
8503 sizes into R*_LP.
8504
3cb84561
L
85052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8506
8507 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
8508
54e2ed81
L
85092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8510
8511 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
8512 into R11_LP and load __x86_64_shared_cache_size_half into
8513 R8_LP.
8514
8a17f349
L
85152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8516
8517 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
8518 R8_LP.
8519
777b1eea
AZ
85202012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8521
8522 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
8523 logb for POWER7.
8524 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
8525 logbf for POWER7.
8526 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
8527 logbl for POWER7.
8528 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
8529 powerpc32/power7/fpu/s_logb.c via #include.
8530 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
8531 powerpc32/power7/fpu/s_logbf.c via #include.
8532 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
8533 powerpc32/power7/fpu/s_logbl.c via #include.
8534
d20d4ac2
JM
85352012-05-15 Joseph Myers <joseph@codesourcery.com>
8536
8537 * README.libm: Remove file.
8538
6cdef1ab
L
85392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8540
8541 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
8542 count for x32. Use R*_LP and omit operand-size suffix.
8543
0b254d8f
L
85442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8545
8546 * shlib-versions: Move x86_64-.*-linux.* entries to ...
8547 * sysdeps/x86_64/64/shlib-versions: Here. New file.
8548 * sysdeps/x86_64/x32/shlib-versions: New file.
8549
ceb809dc
RM
85502012-05-14 Roland McGrath <roland@hack.frob.com>
8551
8552 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
8553 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
8554 Use _dl_fatal_printf instead.
8555
37f1abd4
JM
85562012-05-14 Joseph Myers <joseph@codesourcery.com>
8557
8558 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
8559 set if not set by the user. Do not allow for being unset.
8560 * sysdeps/unix/sysv/linux/configure: Regenerated.
8561
11de3a33
L
85622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8563
8564 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
8565 the `q' suffix from lea and replace .quad with ASM_ADDR.
8566
e02f153a
L
85672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8568
8569 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
8570 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
8571 instead of $17.
8572 (PTR_DEMANGLE): Likewise.
8573
520ae0fd
L
85742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8575
8576 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
8577 (LP_OP): Likewise.
8578 (ASM_ADDR): Likewise.
8579 (RAX_LP): Likewise.
8580 (RBP_LP): Likewise.
8581 (RBX_LP): Likewise.
8582 (RCX_LP): Likewise.
8583 (RDI_LP): Likewise.
8584 (RSI_LP): Likewise.
8585 (RSP_LP): Likewise.
8586 (R8_LP): Likewise.
8587 (R9_LP): Likewise.
8588 (R10_LP): Likewise.
8589 (R10_LP): Likewise.
8590 (R11_LP): Likewise.
8591 (R12_LP): Likewise.
8592 (R13_LP): Likewise.
8593 (R14_LP): Likewise.
8594 (R15_LP): Likewise.
8595
b985be81
L
85962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8597
8598 * sysdeps/x86_64/x32/dl-machine.h: New file.
8599
6a4888ff
AJ
86002012-05-14 Andreas Jaeger <aj@suse.de>
8601
8602 * manual/Makefile (subdir): Remove export of subdir.
8603 (all): Remove target.
8604 (.PHONY): Remove all from list.
8605 (mkinstalldirs): Remove.
8606 (.PHONY): Remove installdirs from list.
8607 ($(inst_infodir)/libc.info): Use make-target-directory.
8608 (installdirs): Remove.
8609 (subdir_%): Remove.
8610 (glibc-targets): Remove.
8611 (lib): Remove.
8612 (stubs): Remove.
8613 ($(objpfx)stubs ../po/manual.pot): Remove.
8614 ($(objpfx)stamp%): Remove.
8615 (make-target-directory): Remove.
8616 (subdir_install): Remove.
8617 (routines): Remove.
8618 (aux): Remove.
8619 (sources): Remove.
8620 (objects): Remove.
8621 (headers): Remove.
8622
8623 [BZ #13750]
8624 * manual/.gitignore: Remove, it's not needed anymore.
8625 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
8626 all files in it.
8627 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
8628 directory.
8629 (texis): Renamed to $(objpfx)texis.
8630 (texis-path): New, contains path to generated files.
8631 (chapters.%): Use texis-path for complete path, add extra argument
8632 libc-texinfo.sh.
8633 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
8634 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
8635 (summary,texi, stamp-summary): Use complete path of
8636 files. Generate files in build dir.
8637 (dir-add.texi): Build in build dir.
8638 (libm-err.texi,stamp-libm-err): Likewise.
8639 (version.texi, stamp-version): Likewise.
8640 (.%c.texi): Likewise.
8641 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
8642 (mostlyclean): Remove target.
8643 (realclean): Remove target.
8644 (generated): Add new variable with contents from mostlyclean and
8645 realclean, remove entries duplicated in common-mostlyclean, add
8646 stamp-libm-err and stamp-version.
8647 (generated-dirs): Add libc directory.
8648 ($(inst_infodir)/libc.info): Install files from build dir.
8649
8650 * manual/install.texi (Configuring and compiling): Adjust since
8651 the info files are not part of the tar ball anymore.
8652
7ac77294
AJ
86532012-05-14 Andreas Jaeger <aj@suse.de>
8654
8655 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
8656 variable.
8657
ffb7875d
JM
86582012-05-14 Joseph Myers <joseph@codesourcery.com>
8659
8660 [BZ #13717]
8661 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8662 to 2.2.0 where earlier.
8663 * sysdeps/unix/sysv/linux/configure: Regenerated.
8664 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
8665 Remove conditional code.
8666 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
8667 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
8668 Remove conditional code.
8669 [!__NR_lchown]: Likewise.
8670 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8671 [__NR_lchown]: Likewise.
8672 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
8673 comment referencing __ASSUME_LCHOWN_SYSCALL.
8674 * sysdeps/unix/sysv/linux/i386/sigaction.c
8675 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8676 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8677 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
8678 Remove conditional code.
8679 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
8680 (__protocol_available): Remove #if 0 code.
8681 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
8682 conditional code.
8683 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
8684 * sysdeps/unix/sysv/linux/kernel-features.h
8685 (__ASSUME_GETCWD_SYSCALL): Don't define.
8686 (__ASSUME_REALTIME_SIGNALS): Likewise.
8687 (__ASSUME_PREAD_SYSCALL): Likewise.
8688 (__ASSUME_PWRITE_SYSCALL): Likewise.
8689 (__ASSUME_POLL_SYSCALL): Likewise.
8690 (__ASSUME_LCHOWN_SYSCALL): Likewise.
8691 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
8692 non-SPARC.
8693 (__ASSUME_SIOCGIFNAME): Don't define.
8694 (__ASSUME_MSG_NOSIGNAL): Likewise.
8695 (__ASSUME_SENDFILE): Define unconditionally.
8696 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
8697 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
8698 conditional code.
8699 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
8700 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
8701 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8702 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8703 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
8704 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8705 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
8707 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8708 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8710 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8711 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
8713 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8714 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8716 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8717 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
8719 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8720 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
8722 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8723 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
8725 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8726 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
8728 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8729 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8730 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
8731 Remove conditional code.
8732 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8733 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8734 Remove conditional code.
8735 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8736 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
8737 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
8738 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8739 Remove conditional code.
8740 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8741 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
8742 Remove conditional code.
8743 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8744 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
8745 Remove conditional code.
8746 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8747 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8748 Remove conditional code.
8749 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8750 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8751 Remove conditional code.
8752 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8753 * sysdeps/unix/sysv/linux/sh/pwrite64.c
8754 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8755 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8756 * sysdeps/unix/sysv/linux/sigaction.c
8757 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8758 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8759 * sysdeps/unix/sysv/linux/sigpending.c
8760 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8761 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8762 * sysdeps/unix/sysv/linux/sigprocmask.c
8763 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8764 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8765 * sysdeps/unix/sysv/linux/sigsuspend.c
8766 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8767 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8768 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8769 (__libc_missing_rt_sigs): Remove.
8770 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
8771 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
8772 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
8773 Remove conditional code.
8774 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
8775 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
8776 return 1.
8777 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
8778 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
8779 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
8780 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
8781
1bfb7291
AJ
87822012-05-14 Andreas Jaeger <aj@suse.de>
8783
caae5a81
AJ
8784 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
8785 it's not used in glibc.
8786 (__coshm1): Likewise.
8787 (__acosh1p): Likewise.
8788 (__sgn): Likewise.
8789
1bfb7291
AJ
8790 * manual/string.texi (Copying and Concatenation): Add missing
8791 variable in concat example.
8792 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8793
c044d724
L
87942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8795
144c5467 8796 [BZ #14103]
c044d724
L
8797 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
8798 __builtin_clzl with __builtin_clzll.
8799
2523c62b
L
88002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8801
8802 [BZ #14104]
8803 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
8804 libc_freeres_ptr.
8805
d7bb4c42
LD
88062012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8807
8808 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
8809 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
8810 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
8811 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
8812
9dc4e1fb
MF
88132012-05-14 Mike Frysinger <vapier@gentoo.org>
8814
8815 * NEWS: Update ia64 info.
8816
c7df0112
AS
88172012-05-12 Andreas Schwab <schwab@linux-m68k.org>
8818
8819 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
8820 used as bcopy.
8821
dc70356c
TS
88222012-05-12 Thomas Schwinge <thomas@codesourcery.com>
8823
8824 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
8825 * sysdeps/unix/syscalls.list (dup3): Likewise.
8826 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
8827 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
8828
9fb1a21f
L
88292012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8830
8831 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
8832 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
8833
4822a2a5
L
88342012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8835
8836 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
8837 thread pointer.
8838 (TLS_IE): Use mov/add instead of movq/addq to load thread
8839 pointer.
8840 (TLS_GD_PREFIX): New.
8841 (TLS_GD): Use it.
8842
842b81d6
DM
88432012-05-11 David S. Miller <davem@davemloft.net>
8844
8845 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
8846 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
8847 (_FPU_SETCW): Likewise.
8848
1cf463cd
L
88492012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8850
8851 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
8852 is 32-byte aligned.
8853
60cc4a18
AS
88542012-05-11 Andreas Schwab <schwab@linux-m68k.org>
8855
8856 [BZ #11837]
8857 * iconvdata/gb18030.c: Update tables.
8858 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
8859 characters specially.
8860 (BODY for TO_LOOP): Add encoding of missing ranges.
8861
febb44a4
TS
88622012-05-11 Thomas Schwinge <thomas@codesourcery.com>
8863
8864 [BZ #13673]
8865 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
8866 * sysdeps/mach/hurd/dup3.c: Likewise.
8867 * sysdeps/mach/hurd/readlinkat.c: Likewise.
8868 * sysdeps/powerpc/memmove.c:: Likewise.
8869
0a10fb9e
L
88702012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8871
8872 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
8873 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
8874
df8a552f
L
88752012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8876
8877 * elf/elf.h (R_X86_64_RELATIVE64): New.
8878 (R_X86_64_NUM): Updated.
8879 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8880 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
8881 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
8882 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
8883 tst-quad1pie tst-quad2pie
8884 (modules-names): Add tst-quadmod1 tst-quadmod2.
8885 ($(objpfx)tst-quad1): New dependency.
8886 ($(objpfx)tst-quad2): Likewise.
8887 ($(objpfx)tst-quad1pie): Likewise.
8888 ($(objpfx)tst-quad2pie): Likewise.
8889 * sysdeps/x86_64/tst-quad1.c: New file.
8890 * sysdeps/x86_64/tst-quad1pie.c: New file.
8891 * sysdeps/x86_64/tst-quad2.c: Likewise.
8892 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
8893 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
8894 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
8895 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
8896 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
8897
f34d6f84
ST
88982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8899
f42d41d1
ST
8900 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
8901 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
8902 * streams/stropts.h (t_scalar_t): Define type.
8903
3c3571fc
ST
8904 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
8905 (_PATH_PRESERVE): Set to "/var/lib".
8906 (_PATH_RWHODIR): Set to "/var/spool/rwho".
8907
61f06bd3
ST
8908 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
8909 instead of int.
8910
918d4d71
ST
8911 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
8912 if __dir_mkfile succeeded.
8913
f34d6f84
ST
8914 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
8915 checking for _hurd_dtablesize. Unlock it right after having
8916 finished _hurd_dtable allocation.
8917
10589b4a
TS
89182012-05-10 Thomas Schwinge <thomas@schwinge.name>
8919
674cdbc7
TS
8920 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
8921 * sysdeps/mach/hurd/configure: Regenerated.
8922 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
8923 special-casing to...
8924 * sysdeps/gnu/configure.in: ... this new file.
8925 * sysdeps/unix/sysv/linux/configure: Regenerated.
8926 * sysdeps/gnu/configure: New generated file.
8927
8e41b99f
TS
8928 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
8929 for Linux: use nsec instead of usec, as well as:
8930 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
8931 members of type struct timespec.
8932 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
8933 New macros.
8934 (struct stat64): Likewise.
8935 (_STATBUF_ST_NSEC): New macro.
8936 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
8937
10589b4a
TS
8938 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8939 __strtoul_internal rather than strtoul.
8940
63643c85
PT
89412012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8942
8943 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
8944 and reject them.
8945
3faebe6a
ST
89462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8947
8948 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
8949 which preserves existing values.
8950 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
8951
c6474b07
PT
89522012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8953
8954 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
8955 TIMEOUT values. Return EINVAL for NFDS values either negative or
8956 greater than FD_SETSIZE.
8957
1043890b
ST
89582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8959
8960 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
8961 allocated, call __vm_protect to finish enabling the existing space, and
8962 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
8963 allocate the remainder.
8964
37ed8b9b
PT
89652012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8966
8967 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
8968 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
8969
db653660
ST
89702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8971
37ed8b9b
PT
8972 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
8973 sysdeps/mach/hurd/readlink.c.
b29d4053 8974
db653660
ST
8975 * posix/tst-sysconf.c (posix_options): Only use
8976 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
8977 _POSIX_SYNCHRONIZED_IO when they are defined
8978 * sysdeps/mach/hurd/bits/posix_opt.h:
8979 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
8980 (_XOPEN_REALTIME): Undefine macro.
8981 (_XOPEN_REALTIME_THREADS): Undefine macro.
8982 (_XOPEN_SHM): Undefine macro.
8983 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
8984 macro to -1.
8985 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
8986 macro to -1.
8987 (_POSIX_ASYNC_IO): Undefine macro.
8988 (_POSIX_PRIORITIZED_IO): Undefine macro.
8989 (_POSIX_SPIN_LOCKS): Define macro to -1.
8990
ee16e894
ST
8991 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
8992 SA_NODEFER, SA_RESETHAND.
8993 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
8994 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
8995 F_DUPFD_CLOEXEC.
8996
6103ae3b
TS
89972012-05-10 Thomas Schwinge <thomas@schwinge.name>
8998
8999 * elf/Makefile (pldd-modules): Define unconditionally.
9000
80b4e5f3
TS
90012012-05-10 Thomas Schwinge <thomas@schwinge.name>
9002
9003 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9004
edadcbd6
ST
90052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9006
9007 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9008 Return ENOENT when name is empty.
9009 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9010
80694780
TS
90112012-05-10 Thomas Schwinge <thomas@schwinge.name>
9012
1792c087
TS
9013 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9014
80694780
TS
9015 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9016
6b645f0d
ST
90172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9018
80694780
TS
9019 Fix mlock in all cases except non-readable pages.
9020 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9021 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 9022
6b645f0d
ST
9023 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9024 (__mkdir): When path is `/', just fail with EEXIST.
9025 * sysdeps/mach/hurd/mkdirat.c: Likewise.
9026
e468f8a3
TS
90272012-05-10 Thomas Schwinge <thomas@schwinge.name>
9028
9029 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9030 <sys/uio.h> (for writev).
9031 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9032 and <sys/param.h> (for MIN).
9033
a4186cff
PT
90342012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9035
9036 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9037 REQUESTED_TIME. Properly set the remaining time and return EINTR
9038 if interrupted.
9039
510bbf14
TS
90402012-05-10 Thomas Schwinge <thomas@schwinge.name>
9041
9042 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9043 Depend on against $(link-rpcuserlibs).
9044
5d5722e8
ST
90452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9046
a4186cff
PT
9047 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9048 (__libc_stack_end): Do not use attribute_relro.
9049 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9050 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 9051 to libthread-provided value.
a4186cff
PT
9052 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9053 attribute_relro.
5d5722e8 9054
37233df9
TS
90552012-05-10 Thomas Schwinge <thomas@schwinge.name>
9056
be971a2b
TS
9057 [BZ #3748]
9058 * bits/libc-lock.h (__libc_once_get): New macro.
9059 * sysdeps/mach/bits/libc-lock.h: Likewise.
9060 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9061 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9062 instead of using implementation details.
9063
37233df9
TS
9064 * libio/fileops.c: Unconditionally include <kernel-features.h>.
9065 * libio/freopen.c: Likewise.
9066 * libio/freopen64.c: Likewise.
9067 * misc/syslog.c: Likewise.
9068 * nscd/connections.c: Likewise.
9069 * nscd/netgroupcache.c: Likewise.
9070 * sysdeps/posix/getcwd.c: Likewise.
9071
38de94a5
RM
90722012-05-10 Roland McGrath <roland@hack.frob.com>
9073
9074 * math/w_ilogbf.c: Add #include <limits.h>.
9075
67530489
ST
90762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9077
a4186cff 9078 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
9079 path instead of returning without unlocking.
9080
67530489
ST
9081 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9082 immediate-write ioctls.
9083 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9084
5aa3a74a
TS
90852012-05-10 Thomas Schwinge <thomas@schwinge.name>
9086
18bad2ae
TS
9087 * sysdeps/mach/hurd/i386/init-first.c (init): Use
9088 __builtin_frame_address instead of making assumptions about the
9089 location of the return address relative to DATA. Force early load of
9090 the return address.
9091 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9092 __builtin_frame_address.
9093
5aa3a74a
TS
9094 dup3 for GNU Hurd.
9095 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9096 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
9097 implement dup3 and do some further code clean-ups.
9098 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9099 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9100
ecd0de9a
ST
91012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9102
cd9fa985
ST
9103 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9104
a4186cff
PT
9105 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9106 HURD_CRITICAL_END around holding _hurd_dtable_lock.
9107 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9108 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9109 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9110 d->port.lock.
802ca5a5 9111
a4186cff
PT
9112 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9113 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
9114 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 9115
bcf55240
TS
91162012-05-10 Thomas Schwinge <thomas@schwinge.name>
9117
6960eb42
TS
9118 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9119 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9120 definitions.
9121
eb43375f
TS
9122 accept4 for GNU Hurd.
9123 * include/sys/socket.h (__libc_accept4): New prototype.
9124 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
9125 to implement __libc_accept4.
9126 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9127 __libc_accept4.
9128 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9129
bcf55240
TS
9130 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9131 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9132 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9133 signal-defines.sym.
9134
6178c55b
ST
91352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9136
a4186cff 9137 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 9138
6f080c2f
TS
91392012-05-10 Thomas Schwinge <thomas@schwinge.name>
9140
9141 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9142 assertion on O_CLOEXEC flag.
9143 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9144 * hurd/intern-fd.c: Likewise.
9145 * hurd/port2fd.c: Likewise.
9146
bcfe3a54
ST
91472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9148
9149 [BZ #3906]
9150 * bits/in.h (IPV6_PKTINFO): Define new macro.
9151 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9152
89c9aa49
AZ
91532012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9154
9155 [BZ #13954]
9156 [BZ #13955]
9157 [BZ #13956]
9158 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
9159 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9160 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9161 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9162 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9163 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9164 * math/libm-test.inc (logb_test) : Additional logb tests.
9165
021db4be
AJ
91662012-05-09 Andreas Schwab <schwab@linux-m68k.org>
9167 Andreas Jaeger <aj@suse.de>
9168
9169 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
9170 * configure: Regenerated.
9171 * config.h.in (LINK_OBSOLETE_RPC): New macro.
9172 * config.make.in (link-obsolete-rpc): New substituted variable.
9173 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9174 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
9175 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9176 (shared-only-routines): Don't set it under [link-obsolete-rpc],
9177 so that libc.a contains the symbols.
9178 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9179 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
9180 * sunrpc/auth_none.c: Likewise.
9181 * sunrpc/auth_unix.c: Likewise.
9182 * sunrpc/authdes_prot.c: Likewise.
9183 * sunrpc/authuxprot.c: Likewise.
9184 * sunrpc/clnt_gen.c: Likewise.
9185 * sunrpc/clnt_perr.c: Likewise.
9186 * sunrpc/clnt_raw.c: Likewise.
9187 * sunrpc/clnt_simp.c: Likewise.
9188 * sunrpc/clnt_tcp.c: Likewise.
9189 * sunrpc/clnt_udp.c: Likewise.
9190 * sunrpc/clnt_unix.c: Likewise.
9191 * sunrpc/des_crypt.c: Likewise.
9192 * sunrpc/des_soft.c: Likewise.
9193 * sunrpc/get_myaddr.c: Likewise.
9194 * sunrpc/key_call.c: Likewise.
9195 * sunrpc/key_prot.c: Likewise.
9196 * sunrpc/netname.c: Likewise.
9197 * sunrpc/pm_getmaps.c: Likewise.
9198 * sunrpc/pm_getport.c: Likewise.
9199 * sunrpc/pmap_clnt.c: Likewise.
9200 * sunrpc/pmap_prot.c: Likewise.
9201 * sunrpc/pmap_prot2.c: Likewise.
9202 * sunrpc/pmap_rmt.c: Likewise.
9203 * sunrpc/publickey.c: Likewise.
9204 * sunrpc/rpc_cmsg.c: Likewise.
9205 * sunrpc/rpc_common.c: Likewise.
9206 * sunrpc/rpc_dtable.c: Likewise.
9207 * sunrpc/rpc_prot.c: Likewise.
9208 * sunrpc/rpc_thread.c: Likewise.
9209 * sunrpc/rtime.c: Likewise.
9210 * sunrpc/svc.c: Likewise.
9211 * sunrpc/svc_auth.c: Likewise.
9212 * sunrpc/svc_raw.c: Likewise.
9213 * sunrpc/svc_run.c: Likewise.
9214 * sunrpc/svc_tcp.c: Likewise.
9215 * sunrpc/svc_udp.c: Likewise.
9216 * sunrpc/svc_unix.c: Likewise.
9217 * sunrpc/svcauth_des.c: Likewise.
9218 * sunrpc/xcrypt.c: Likewise.
9219 * sunrpc/xdr.c: Likewise.
9220 * sunrpc/xdr_array.c: Likewise.
9221 * sunrpc/xdr_float.c: Likewise.
9222 * sunrpc/xdr_intXX_t.c: Likewise.
9223 * sunrpc/xdr_mem.c: Likewise.
9224 * sunrpc/xdr_rec.c: Likewise.
9225 * sunrpc/xdr_ref.c: Likewise.
9226 * sunrpc/xdr_sizeof.c: Likewise.
9227 * sunrpc/xdr_stdio.c: Likewise.
9228
b5c086a2
RM
92292012-05-10 Roland McGrath <roland@hack.frob.com>
9230
9231 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
9232 change. Update copyright years.
9233
6d74dd09
JM
92342012-05-10 Joseph Myers <joseph@codesourcery.com>
9235
9236 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
9237
28e72501
MK
92382012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
9239 Joseph Myers <joseph@codesourcery.com>
9240 Paul Pluzhnikov <ppluzhnikov@google.com>
9241
9242 [BZ #14012]
9243 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
9244 requiring rpcgen.
9245 [cross-compiling] (extra-libs): Likewise.
9246 [cross-compiling] (extra-libs-others): Likewise.
9247 [cross-compiling] (librpcsvc-routines): Likewise.
9248 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
9249 [cross-compiling] (omit-deps): Likewise.
9250 (sunrpc-CPPFLAGS): New variable.
9251 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
9252 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
9253 (cross-rpcgen-objs): New variable.
9254 (extra-objs): Append $(cross-rpcgen-objs).
9255 ($(cross-rpcgen-objs)): New rule.
9256 ($(objpfx)cross-rpcgen): Likewise.
9257 (rpcgen-cmd): Define to use $(built-program-file). Expand
9258 comment.
9259 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9260 ($(objpfx)x%.stmp): Likewise.
9261 * sunrpc/proto.h [IS_IN_build] (_): Define.
9262 [IS_IN_build] (_libc_intl_domainname): Likewise.
9263
c8c59454
L
92642012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9265
9266 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9267 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9268 and R_X86_64_TPOFF64.
9269
6f27cd16
JM
92702012-05-10 Joseph Myers <joseph@codesourcery.com>
9271
9272 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9273 sysdeps/unix/sysv/syscalls.list.
9274 (stime): Likewise.
9275 (utime): Likewise.
9276 * sysdeps/unix/sysv/syscalls.list: Remove file.
9277
02467e1c
PE
92782012-05-10 Paul Eggert <eggert@cs.ucla.edu>
9279
9280 [BZ #3440]
9281 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
9282 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
9283 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
9284 (__LC_IDENTIFICATION): Make these macros useful in #if
9285 expressions, as required by C99.
9286
da392631
AS
92872012-05-10 Andreas Schwab <schwab@linux-m68k.org>
9288
9289 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
9290 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
9291 after this.
9292
8115f29b
L
92932012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9294
9295 * stdlib/longlong.h: Updated from GCC.
9296
bdd74070
AJ
92972012-05-09 Andreas Jaeger <aj@suse.de>
9298
edfe0dbe
AJ
9299 * nscd/nscd.c (run_modes): Make named enum, reorder so that
9300 default is first entry.
9301 (run_mode): Set type.
9302 (main): Remove informal message about syslog.
9303 (options): Fix typo.
9304
bcfe3a54
ST
9305 [BZ #14053]
9306 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 9307 to asm.
bcfe3a54
ST
9308 (lrint): Likewise.
9309 (llrintf): Likewise.
9310 (llrint): Likewise.
9311 (rint): Likewise.
9312 (rintf): Likewise.
9313 (nearbyint): Likewise.
9314 (nearbyintf): Likewise.
bdd74070 9315
91d8d69e
AJ
93162012-05-09 Andreas Jaeger <aj@suse.de>
9317 Pedro Alves <palves@redhat.com>
9318
9319 * nscd/nscd.c (run_mode): Use enum.
9320 (main): Cleanup coding style issue.
9321
bb90b80b
AJ
93222012-05-09 Alexandre Oliva <aoliva@redhat.com>
9323 Andreas Jaeger <aj@suse.de>
9324
bcfe3a54
ST
9325 * nscd/nscd.c (go_background): Replaced with...
9326 (run_mode): ... this.
bb90b80b 9327 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
9328 (options): Add -F --foreground.
9329 (main): Implement it.
9330 (parse_opt): Parse it.
bb90b80b 9331
1a4b75a1
AJ
93322012-05-09 Andreas Jaeger <aj@suse.de>
9333
9334 [BZ #14083]
9335 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
9336 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
9337 -Wconversion warning.
9338 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
9339 Likewise.
9340
b1cc2472
JM
93412012-05-09 Joseph Myers <joseph@codesourcery.com>
9342
9343 * conform/data/locale.h-data (NULL): Use macro-constant. Require
9344 == 0.
9345 (LC_ALL): Use macro-int-constant.
9346 (LC_COLLATE): Likewise.
9347 (LC_CTYPE): Likewise.
9348 (LC_MESSAGES): Likewise.
9349 (LC_MONETARY): Likewise.
9350 (LC_NUMERIC): Likewise.
9351 (LC_TIME): Likewise.
9352 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
9353 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9354 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9355 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
9356 Specify type.
9357 [C99-based standards] (float_t): Expect type.
9358 [C99-based standards] (double_t): Expect type.
9359 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
9360 type.
9361 [C99-based standards] (HUGE_VALL): Likewise.
9362 [C99-based standards] (INFINITY): Likewise.
9363 [C99-based standards] (NAN): Likewise.
9364 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
9365 [C99-based standards] (FP_NAN): Likewise.
9366 [C99-based standards] (FP_NORMAL): Likewise.
9367 [C99-based standards] (FP_SUBNORMAL): Likewise.
9368 [C99-based standards] (FP_ZERO): Likewise.
9369 [C99-based standards] (FP_FAST_FMA): Use
9370 optional-macro-int-constant. Specify type. Require == 1.
9371 [C99-based standards] (FP_FAST_FMAF): Likewise.
9372 [C99-based standards] (FP_FAST_FMAL): Likewise.
9373 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
9374 [C99-based standards] (FP_ILOGBNAN): Likewise.
9375 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
9376 Specify type.
9377 [C99-based standards] (MATH_ERREXCEPT): Likewise.
9378 [C99-based standards] (math_errhandling): Specify type.
9379 [ISO99 || ISO11] (signgam): Do not allow.
9380 [non-C99-based standards] (copysignf): Do not allow.
9381 [non-C99-based standards] (exp2f): Likewise.
9382 [non-C99-based standards] (log2f): Likewise.
9383 [non-C99-based standards] (modff): Allow.
9384 [non-C99-based standards] (erff): Do not allow.
9385 [non-C99-based standards] (erfcf): Likewise.
9386 [non-C99-based standards] (gammaf): Likewise.
9387 [non-C99-based standards] (hypotf): Likewise.
9388 [non-C99-based standards] (j0f): Likewise.
9389 [non-C99-based standards] (j1f): Likewise.
9390 [non-C99-based standards] (jnf): Likewise.
9391 [non-C99-based standards] (lgammaf): Likewise.
9392 [non-C99-based standards] (tgammaf): Likewise.
9393 [non-C99-based standards] (y0f): Likewise.
9394 [non-C99-based standards] (y1f): Likewise.
9395 [non-C99-based standards] (ynf): Likewise.
9396 [non-C99-based standards] (isnanf): Likewise.
9397 [non-C99-based standards] (acoshf): Likewise.
9398 [non-C99-based standards] (asinhf): Likewise.
9399 [non-C99-based standards] (atanhf): Likewise.
9400 [non-C99-based standards] (cbrtf): Likewise.
9401 [non-C99-based standards] (expm1f): Likewise.
9402 [non-C99-based standards] (ilogbf): Likewise.
9403 [non-C99-based standards] (log1pf): Likewise.
9404 [non-C99-based standards] (logbf): Likewise.
9405 [non-C99-based standards] (nextafterf): Likewise.
9406 [non-C99-based standards] (remainderf): Likewise.
9407 [non-C99-based standards] (rintf): Likewise.
9408 [non-C99-based standards] (scalbf): Likewise.
9409 [non-C99-based standards] (copysignl): Likewise.
9410 [non-C99-based standards] (exp2l): Likewise.
9411 [non-C99-based standards] (log2l): Likewise.
9412 [non-C99-based standards] (modfl): Allow.
9413 [non-C99-based standards] (erfl): Do not allow.
9414 [non-C99-based standards] (erfcl): Likewise.
9415 [non-C99-based standards] (gammal): Likewise.
9416 [non-C99-based standards] (hypotl): Likewise.
9417 [non-C99-based standards] (j0l): Likewise.
9418 [non-C99-based standards] (j1l): Likewise.
9419 [non-C99-based standards] (jnl): Likewise.
9420 [non-C99-based standards] (lgammal): Likewise.
9421 [non-C99-based standards] (tgammal): Likewise.
9422 [non-C99-based standards] (y0l): Likewise.
9423 [non-C99-based standards] (y1l): Likewise.
9424 [non-C99-based standards] (ynl): Likewise.
9425 [non-C99-based standards] (isnanl): Likewise.
9426 [non-C99-based standards] (acoshl): Likewise.
9427 [non-C99-based standards] (asinhl): Likewise.
9428 [non-C99-based standards] (atanhl): Likewise.
9429 [non-C99-based standards] (cbrtl): Likewise.
9430 [non-C99-based standards] (expm1l): Likewise.
9431 [non-C99-based standards] (ilogbl): Likewise.
9432 [non-C99-based standards] (log1pl): Likewise.
9433 [non-C99-based standards] (logbl): Likewise.
9434 [non-C99-based standards] (nextafterl): Likewise.
9435 [non-C99-based standards] (remainderl): Likewise.
9436 [non-C99-based standards] (rintl): Likewise.
9437 [non-C99-based standards] (scalbl): Likewise.
9438 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9439 [non-C99-based standards] (FP_*): Do not allow.
9440 [C99-based standards] (FP_*): Change to
9441 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9442 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9443 allow.
9444 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
9445 (SIG_ERR): Likewise.
9446 [X/Open-based standards] (SIG_HOLD): Likewise.
9447 (SIG_IGN): Likewise.
9448 (SIGABRT): Use macro-int-constant. Specify type. Require
9449 positive value.
9450 (SIGFPE): Likewise.
9451 (SIGILL): Likewise.
9452 (SIGINT): Likewise.
9453 (SIGSEGV): Likewise.
9454 (SIGTER): Likewise.
9455 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
9456 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
9457 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
9458 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
9459 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
9460 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
9461 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
9462 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
9463 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
9464 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
9465 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
9466 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
9467 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
9468 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
9469 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
9470 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
9471 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
9472 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
9473 [X/Open-based standards] (SIGTRAP): Likewise.
9474 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
9475 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
9476 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
9477 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
9478 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9479 allow.
9480
b9f1922d
IW
94812012-05-08 Ian Wienand <ianw@vmware.com>
9482
9483 [BZ #14080]
9484 * time/tzset.c (__tzset_parse_tz): Update default rules for
9485 daylight time changes in the Energy Policy Act of 2005.
9486
1db86e88
AJ
94872012-05-09 Andreas Jaeger <aj@suse.de>
9488
9489 [BZ #13983]
9490 * elf/ldconfig.c (parse_conf): Change string to make clear that
9491 ldconfig only issued a warning if ld.so.conf does not exist.
9492
dee4a4e3
DM
94932012-05-08 David S. Miller <davem@davemloft.net>
9494
ee0db190
DM
9495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
9496 movxtod instead of popping the value on the stack.
9497
dee4a4e3
DM
9498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9499
6a43ec98
CD
95002012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
9501
9502 * config.h.in: Add HAVE_ARM_PCS_VFP.
9503
05c2c961
RMG
95042012-05-08 Roland Mc Grath <roland@hack.frob.com>
9505
bcfe3a54
ST
9506 [BZ #13979]
9507 * include/features.h: Warn if user requests __FORTIFY_SOURCE
9508 checking but the checks are disabled for any reason.
05c2c961 9509
4b30f61a
L
95102012-05-08 H.J. Lu <hongjiu.lu@intel.com>
9511
9512 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
9513 and ELF64_R_TYPE with ELFW(R_TYPE).
9514
eee2bc67
JM
95152012-05-08 Joseph Myers <joseph@codesourcery.com>
9516
7ea5391a
JM
9517 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
9518 (ulimit): Likewise.
9519
eee2bc67
JM
9520 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
9521 (settimeofday): Likewise.
9522
abb66a67
MF
95232012-05-08 Mike Frysinger <vapier@gentoo.org>
9524
9525 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
9526 a struct th_u2 inside the union, and move tu_block/tu_code into
9527 a new th_u3 union of tu_block/tu_code inside of that. Move
9528 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
9529 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
9530 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
9531 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
9532 (th_stuff): Change to th_u1.tu_stuff.
9533 (th_data): Define.
9534 (th_msg): Change to th_u1.th_u2.tu_data.
9535
7f18b530
DM
95362012-05-07 David S. Miller <davem@davemloft.net>
9537
05760585
DM
9538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9539
7f18b530
DM
9540 [BZ #14074]
9541 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
9542 (SETUP_PIC_REG): Use it.
9543 (SETUP_PIC_REG_LEAF): Use it.
9544
495fd99f
JM
95452012-05-07 Joseph Myers <joseph@codesourcery.com>
9546
9547 [BZ #13885]
9548 [BZ #13923]
9549 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9550 USE_AS_EXPM1L.
9551 (EXPL_FINITE): Likewise.
9552 (FLDLOG): Likewise.
9553 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9554 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9555 e_expl.S.
9556 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9557 USE_AS_EXPM1L.
9558 (EXPL_FINITE): Likewise.
9559 (FLDLOG): Likewise.
9560 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9561 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9562 e_expl.S.
9563 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
9564 test of -max_value argument for long double.
9565 * sysdeps/i386/fpu/libm-test-ulps: Update.
9566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9567
6693d694
DM
95682012-05-06 David S. Miller <davem@davemloft.net>
9569
9570 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
9571 quad soft-float symbols whose references which are compiler
9572 generated.
9573 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9574
6c23e11c
JM
95752012-05-06 Joseph Myers <joseph@codesourcery.com>
9576
d8b82cad
JM
9577 [BZ #13884]
9578 [BZ #13914]
9579 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9580 USE_AS_EXP10L.
9581 (EXPL_FINITE): Likewise.
9582 (FLDLOG): Likewise.
9583 (c0): Likewise.
9584 (c1): Likewise.
9585 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9586 Adjust comments for base varying.
9587 (__expl_finite): Change alias to EXPL_FINITE.
9588 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
9589 e_expl.S.
9590 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
9591 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9592 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9593 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
9594 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9595 USE_AS_EXP10L.
9596 (EXPL_FINITE): Likewise.
9597 (FLDLOG): Likewise.
9598 (c0): Likewise.
9599 (c1): Likewise.
9600 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9601 Adjust comments for base varying.
9602 (__expl_finite): Change alias to EXPL_FINITE.
9603 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
9604 tests for bugs.
9605 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9606
6c23e11c
JM
9607 [BZ #14064]
9608 * math/libm-test.inc (check_float_internal): Correct ulp
9609 calculation for subnormal expected results.
9610
29ba805c
AJ
96112012-05-06 Andreas Jaeger <aj@suse.de>
9612
9613 * Makeconfig (+math-flags): New, set to -frounding-math.
9614 (+cflags): Add +math-flags so that all of glibc gets compiled with
9615 it.
9616
9617 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
9618
7b17aeda
JM
96192012-05-05 Joseph Myers <joseph@codesourcery.com>
9620
5779f134
JM
9621 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
9622 Disable one test.
9623
41498f4d
JM
9624 [BZ #13787]
9625 [BZ #13922]
9626 [BZ #14036]
9627 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
9628 (__ieee754_expl): Allow for and saturate large arguments.
9629 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
9630 (u_threshold): Likewise.
9631 (__exp): Call __ieee754_exp before checking for overflow and
9632 underflow.
9633 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
9634 (u_threshold): Likewise.
9635 (__expf): Call __ieee754_expf before checking for overflow and
9636 underflow.
9637 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
9638 (u_threshold): Likewise.
9639 (__expl): Call __ieee754_expl before checking for overflow and
9640 underflow.
9641 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
9642 (__ieee754_expl): Allow for and saturate large arguments.
9643 * math/libm-test.inc (exp_test): Add another test. Do not allow
9644 missing overflow exception on overflow.
9645 (expm1_test): Do not allow missing overflow exception on overflow.
9646
6698b8bf
JM
9647 * sysdeps/i386/fpu/e_expl.c: Move to ...
9648 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
9649 rather than using inline asm.
9650 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
9651 * sysdeps/x86_64/fpu/e_expl.S: Copy from
9652 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
9653
7b17aeda
JM
9654 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
9655 (nice): Likewise.
9656 (poll): Likewise.
9657 (signal): Likewise.
9658 (time): Likewise.
9659 (times): Likewise.
9660
f7c85819
JM
96612012-05-04 Joseph Myers <joseph@codesourcery.com>
9662
9663 * sysdeps/unix/syscalls.list (adjtime): Add entry from
9664 sysdeps/unix/common/syscalls.list.
9665 (fchmod): Likewise.
9666 (fchown): Likewise.
9667 (ftruncate): Likewise.
9668 (getrusage): Likewise.
9669 (gettimeofday): Likewise.
9670 (setpgid): Likewise.
9671 (setregid): Likewise.
9672 (setreuid): Likewise.
9673 (sigaction): Likewise.
9674 (truncate): Likewise.
9675 (vhangup): Likewise.
9676 * sysdeps/unix/common/syscalls.list: Remove file.
9677 * sysdeps/unix/bsd/Implies: Don't include unix/common.
9678 * sysdeps/unix/sysv/linux/Implies: Likewise.
9679
336270d0
L
96802012-05-04 H.J. Lu <hongjiu.lu@intel.com>
9681
9682 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
9683 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
9684 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
9685 Moved to ...
9686 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9687 Here.
9688 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
9689 to ...
9690 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
9691 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
9692 to ...
9693 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
9694 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
9695 to ...
9696 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
9697 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
9698 to ...
9699 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
9700 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
9701 to ...
9702 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
9703 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
9704 to ...
9705 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
9706 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
9707 to ...
9708 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
9709 Here.
9710 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
9711 to ...
9712 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
9713 Here.
9714 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
9715 to ...
9716 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
9717 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
9718 Moved to ...
9719 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
9720 Here.
9721 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
9722 to ...
9723 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
9724
d128e450
JM
97252012-05-04 Joseph Myers <joseph@codesourcery.com>
9726
fa8ee516
JM
9727 * sysdeps/unix/common/bits/dirent.h: Remove file.
9728 * sysdeps/unix/common/bits/fcntl.h: Likewise.
9729
d128e450
JM
9730 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
9731 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
9732 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
9733 * sysdeps/unix/bsd/isatty.c: Likewise.
9734 * sysdeps/unix/bsd/tcdrain.c: Likewise.
9735 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
9736 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
9737
ff8faaf0 97382012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 9739
62881be4 9740 [BZ #13563]
31dc8730
AZ
9741 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
9742 long double comparison inaccuracies.
9743 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9744 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9745
6fef930c
AS
97462012-05-04 Andreas Schwab <schwab@linux-m68k.org>
9747
9748 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
9749 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
9750
8f203e6c
JM
97512012-05-04 Joseph Myers <joseph@codesourcery.com>
9752
9753 [BZ #14049]
9754 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
9755 nonzero digits before rounding a hex value.
9756 * stdlib/tst-strtod.c (tests): Add another test.
9757
5197d9c2
AK
97582012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9759
9760 * sysdeps/s390/fpu/libm-test-ulps: Update.
9761
f0c1dedf
AJ
97622012-05-03 Andreas Jaeger <aj@suse.de>
9763
9764 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
9765 does not get optimized out.
9766 (malloc_opt_barrier): New.
9767
a65ef2ae 97682012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 9769 Roland McGrath <roland@hack.frob.com>
a65ef2ae 9770
2b942cb7 9771 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 9772 intermediate file deletion.
2b942cb7 9773 (generated): Add .symlist files.
a65ef2ae 9774
54b71e02
JM
97752012-05-03 Joseph Myers <joseph@codesourcery.com>
9776
9777 [BZ #13775]
9778 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
9779 Redirect under this condition.
9780 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9781 [__USE_GNU] (__dprintf_chk): Not under this condition.
9782 [__USE_GNU] (__vdprintf_chk): Likewise.
9783 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
9784 under this condition.
9785 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9786 [__USE_XOPEN2K8] (dprintf): Define under this condition.
9787 [__USE_XOPEN2K8] (vdprintf): Likewise.
9788 [__USE_GNU] (__dprintf_chk): Not under this condition.
9789 [__USE_GNU] (__vdprintf_chk): Likewise.
9790 [__USE_GNU] (dprintf): Likewise.
9791 [__USE_GNU] (vdprintf): Likewise.
9792
d3dfcc41
RM
97932012-05-03 Roland McGrath <roland@hack.frob.com>
9794
9795 * elf/Makefile (common-generated): Set this instead of generated for
9796 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
9797 $(all-built-dso)-derived lists.
9798
7ac30cc5
AJ
97992012-05-03 Andreas Jaeger <aj@suse.de>
9800
0c51e550
AJ
9801 * sysdeps/i386/fpu/libm-test-ulps: Update.
9802
7ac30cc5
AJ
9803 * FAQ: Removed.
9804 * FAQ.in: Likewise.
9805 * scripts/gen-FAQ.pl: Likewise.
9806 * manual/install.texi (Installation): Point to online location of
9807 FAQ.
9808 * Makefile (files-for-dist): Remove FAQ.
9809 (FAQ): Remove.
9810
d4c2917f
AM
98112012-05-02 Allan McRae <allan@archlinux.org>
9812
9813 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
9814 (LDFLAGS-reldepmod5.so): Likewise.
9815 (LDFLAGS-reldep6mod1.so): Likewise.
9816 (LDFLAGS-reldep6mod4.so): Likewise.
9817 (LDFLAGS-reldep8mod3.so): Likewise.
9818 (LDFLAGS-unload4mod1.so): Likewise.
9819 (LDFLAGS-unload4mod2.so): Likewise.
9820 (LDFLAGS-tst-initorder): Likewise.
9821 (LDFLAGS-tst-initordera2.so): Likewise.
9822 (LDFLAGS-tst-initordera3.so): Likewise.
9823 (LDFLAGS-tst-initordera4.so): Likewise.
9824 (LDFLAGS-tst-initorderb2.so): Likewise.
9825 (LDFLAGS-noload): Likewise.
9826 (LDFLAGS-next): Likewise.
9827 (LDFLAGS-order2mod1.so): Likewise.
9828 (LDFLAGS-order2mod2.so): Likewise.
9829 (LDFLAGS-tst-initorder2): Likewise.
9830 (LDFLAGS-tst-initorder2a.so): Likewise.
9831 (LDFLAGS-tst-initorder2b.so): Likewise.
9832 (LDFLAGS-tst-initorder2c.so): Likewise.
9833 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
9834
d77f993f
DM
98352012-05-02 David S. Miller <davem@davemloft.net>
9836
9837 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9838
171a70b4
PP
98392012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
9840
9841 [BZ #14055]
9842 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
9843
0be196ad
AJ
98442012-05-02 Andreas Jaeger <aj@suse.de>
9845
9846 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
9847 since we manipulate rounding mode.
9848 (CPPFLAGS-test-idouble.c): Likewise.
9849 (CPPFLAGS-test-ifloat.c): Likewise.
9850 (CFLAGS-test-ldouble.c): Likewise.
9851 (CFLAGS-test-double.c): Likewise.
9852 (CFLAGS-test-float.c): Likewise.
9853 (CFLAGS-test-misc.c): Likewise.
9854 (CFLAGS-test-test-fenv.c): Likewise.
9855
4f9d04aa
AZ
98562012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9857
2b942cb7
RM
9858 [BZ #2550]
9859 [BZ #2570]
9860 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
9861 comparisons to determine direction to adjust input.
4f9d04aa 9862
82a79e7d
RM
98632012-05-01 Roland McGrath <roland@hack.frob.com>
9864
f5a01ca9
RM
9865 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
9866 output to the target.
9867
90fe4186
RM
9868 * scripts/localplt.awk: New file.
9869 * elf/Makefile ($(objpfx)check-localplt): Target removed.
9870 (check-localplt-CFLAGS): Variable removed.
9871 ($(all-built-dso:=.jmprel)): New static pattern rule.
9872 (generated): Add those targets.
9873 (localplt-built-dso): New variable.
9874 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
9875
9876 * elf/check-localplt.c: File removed.
9877
82397ed6
RM
9878 * scripts/check-execstack.awk: New file.
9879 * elf/Makefile ($(objpfx)check-execstack): Target removed.
9880 (check-execstack-CFLAGS): Variable removed.
9881 ($(objpfx)check-execstack.h): Target removed.
9882 ($(objpfx)execstack-default): New target.
9883 (generated): Add that instead of check-execstack.h.
9884 ($(all-built-dso:=.phdr)): New static pattern rule.
9885 (generated): Add those targets.
9886 * elf/check-execstack.c: File removed.
9887
82a79e7d
RM
9888 * scripts/check-textrel.awk: New file.
9889 * elf/Makefile ($(objpfx)check-textrel): Target removed.
9890 (check-textrel-CFLAGS): Variable removed.
9891 (all-built-dso): Use := to define.o
9892 ($(all-built-dso:=.dyn)): New static pattern rule.
9893 (generated): Add those targets.
9894 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
9895 * config.make.in (READELF): New substituted variable.
9896 * elf/check-textrel.c: File removed.
9897
62fde54f 98982012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 9899
615605c9
JM
9900 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9901 allow.
9902 * conform/data/ctype.h-data [C99-based standards] (isblank):
9903 Expect function.
9904 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
9905 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
9906 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9907 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
9908 Specify type. Require positive value.
9909 (EILSEQ): Likewise.
9910 (ERANGE): Likewise.
9911 [ISO || POSIX] (EILSEQ): Do not expect.
9912 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
9913 Specify type. Require positive value.
9914 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
9915 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
9916 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
9917 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
9918 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
9919 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
9920 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
9921 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
9922 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
9923 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
9924 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
9925 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
9926 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
9927 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
9928 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
9929 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
9930 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
9931 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
9932 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
9933 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
9934 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
9935 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
9936 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
9937 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
9938 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
9939 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
9940 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
9941 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
9942 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
9943 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
9944 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
9945 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
9946 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
9947 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
9948 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
9949 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
9950 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
9951 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
9952 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
9953 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
9954 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
9955 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
9956 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
9957 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
9958 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
9959 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
9960 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
9961 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
9962 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
9963 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
9964 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
9965 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
9966 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
9967 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
9968 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
9969 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
9970 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
9971 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
9972 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
9973 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
9974 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
9975 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
9976 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
9977 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
9978 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
9979 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
9980 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
9981 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
9982 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
9983 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
9984 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
9985 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
9986 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
9987 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
9988 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
9989 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
9990 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
9991 Require >= 2.
9992 (FLT_ROUNDS): Expect as macro, not constant.
9993 (FLT_MANT_DIG): Use macro-int-constant.
9994 (DBL_MANT_DIG): Likewise.
9995 (LDBL_MANT_DIG): Likewise.
9996 (FLT_DIG): Likewise.
9997 (DBL_DIG): Likewise.
9998 (LDBL_DIG): Likewise.
9999 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
10000 (DBL_MIN_EXP): Likewise.
10001 (LDBL_MIN_EXP): Likewise.
10002 (FLT_MAX_EXP): Use macro-int-constant.
10003 (DBL_MAX_EXP): Likewise.
10004 (LDBL_MAX_EXP): Likewise.
10005 (FLT_MAX_10_EXP): Likewise.
10006 (DBL_MAX_10_EXP): Likewise.
10007 (LDBL_MAX_10_EXP): Likewise.
10008 (FLT_MAX): Use macro-constant.
10009 (DBL_MAX): Likewise.
10010 (LDBL_MAX): Likewise.
10011 (FLT_EPSILON): Use macro-constant. Give upper bound.
10012 (DBL_EPSILON): Likewise.
10013 (LDBL_EPSILON): Likewise.
10014 (FLT_MIN): Likewise.
10015 (DBL_MIN): Likewise.
10016 (LDBL_MIN): Likewise.
10017 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10018 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10019 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10020 [ISO11] (FLT_HAS_SUBNORM): Likewise.
10021 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10022 [ISO11] (DBL_DECIMAL_DIG): Likewise.
10023 [ISO11] (FLT_DECIMAL_DIG): Likewise.
10024 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10025 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10026 [ISO11] (FLT_TRUE_MIN): Likewise.
10027 [ISO11] (LDBL_TRUE_MIN): Likewise.
10028 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10029 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10030 (SCHAR_MIN): Use macro-int-constant. Specify type.
10031 (SCHAR_MAX): Likewise.
10032 (UCHAR_MAX): Likewise.
10033 (CHAR_MIN): Likewise.
10034 (CHAR_MAX): Likewise.
10035 (MB_LEN_MAX): Use macro-int-constant.
10036 (SHRT_MIN): Use macro-int-constant. Specify type.
10037 (SHRT_MAX): Likewise.
10038 (USHRT_MAX): Likewise.
10039 (INT_MAX): Likewise.
10040 (INT_MIN): Use macro-int-constant. Specify type. Make upper
10041 bound negative.
10042 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
10043 bound with "U".
10044 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10045 bound with "L".
10046 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
10047 bound negative. Suffix upper bound with "L".
10048 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10049 bound with "UL".
10050 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10051 Specify type.
10052 [C99-based standards] (LLONG_MAX): Likewise.
10053 [C99-based standards] (ULLONG_MAX): Likewise.
10054 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
10055 == 0.
10056 [ISO11] (max_align_t): Require type.
10057 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10058
c9140a62
JM
10059 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10060 from $CFLAGS, without defining away __attribute__ calls.
10061 (checknamespace): Use $CFLAGS_namespace.
10062
9af0bf29
JM
10063 * conform/conformtest.pl (@keywords): Only include C99 keywords
10064 for standards based on C99 or C11.
10065
343222a2
JM
10066 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10067 Disable tests.
10068 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10069 UNIX98]: Likewise.
10070
661f8cf0
JM
10071 * conform/conformtest.pl: Handle "macro-int-constant" and test for
10072 usability of symbols in #if.
10073
ee74b9cb
JM
10074 * conform/conformtest.pl: If macro or constant types start
10075 "promoted:", expect the symbol to be of the following type
10076 promoted by the integer promotions.
62fde54f 10077
aafc49b3
JM
10078 * conform/conformtest.pl: Parse all "constant" and "macro" lines
10079 in one place. Also handle "macro-constant".
10080
fefdf574
JM
10081 * conform/conformtest.pl: Only accept expected macro values with
10082 "==". Parse all "macro" lines in one place.
10083 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10084
f2d922fe
JM
10085 * conform/conformtest.pl: Handle braced types on "constant" lines
10086 instead of handling "typed-constant".
10087 * conform/data/signal.h-data: Use "constant" instead of
10088 "typed-constant".
10089
d22956c9
JM
10090 * conform/conformtest.pl: Handle "optional-" at start of lines in
10091 one place rather than duplicating several cases. Handle each
10092 format of "macro" line with initial "optional-".
10093
028e2e38
JM
10094 * conform/conformtest.pl: Only accept expected constant or
10095 optional-constant values with "==". Parse all "constant" lines in
10096 one place. Parse all "optional-constant" lines in one place.
10097 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10098 * conform/data/fmtmsg.h-data: Likewise.
10099 * conform/data/netinet/in.h-data: Likewise.
10100 * conform/data/tar.h-data: Likewise.
10101 * conform/data/limits.h-data: Use "==" form on "constant" and
10102 "optional-constant" lines.
10103
1b8f2850
JM
10104 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10105 Use -std=c99 for XOPEN2K.
10106 (@knownproblems): Remove.
10107 (newtoken): Don't check %isknown.
10108
a05a144b
JM
10109 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10110 Do not expect macro.
10111 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10112 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10113 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10114 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10115 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10116 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10117 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10118 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10119 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10120 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10121 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10122 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10123 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10124 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10125 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10126 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10127 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10128 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10129 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10130 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10131 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10132 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10133 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10134 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10135 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10136 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10137 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10138 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10139 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10140 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10141 [XPG3] (acosh): Likewise.
10142 [XPG3] (asinh): Likewise.
10143 [XPG3] (atanh): Likewise.
10144 [XPG3] (cbrt): Likewise.
10145 [XPG3] (expm1): Likewise.
10146 [XPG3] (ilogb): Likewise.
10147 [XPG3] (log1p): Likewise.
10148 [XPG3] (logb): Likewise.
10149 [XPG3] (nextafter): Likewise.
10150 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10151 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10152 [XPG3] (remainder): Likewise.
10153 [XPG3] (rint): Likewise.
10154 [XPG3 || XPG4 || UNIX98] (round): Likewise.
10155 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10156 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
10157 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
10158 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
10159 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
10160 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
10161 [UNIX98 || XOPEN2K] (scalb): Expect.
10162 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
10163 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
10164 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
10165 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
10166 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
10167 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
10168 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
10169 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
10170 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
10171 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
10172 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
10173 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
10174 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
10175 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
10176 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
10177 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
10178 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
10179 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
10180 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
10181 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
10182 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
10183 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
10184 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
10185 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
10186 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
10187 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
10188 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
10189 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
10190 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
10191 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
10192 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
10193 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
10194 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
10195 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
10196 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
10197 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
10198 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
10199 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
10200 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
10201 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
10202 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
10203 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
10204 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
10205 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
10206 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
10207 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
10208 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
10209 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
10210 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
10211 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
10212 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
10213 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
10214 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
10215 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
10216 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
10217 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
10218 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
10219 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
10220 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
10221 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
10222 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
10223 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
10224 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
10225 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
10226 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
10227 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
10228 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
10229 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
10230 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
10231 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
10232 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
10233 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
10234 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
10235 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
10236 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
10237 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
10238 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
10239 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
10240 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
10241 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
10242 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
10243 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
10244 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
10245 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
10246 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
10247 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
10248 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
10249 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
10250 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
10251 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
10252 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
10253 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10254 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10255 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10256 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10257 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10258 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10259 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10260 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10261 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10262 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10263 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10264 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10265 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10266 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10267 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10268 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10269 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10270 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10271 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10272 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10273 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10274 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10275 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10276 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10277 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10278 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10279 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10280 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
10281 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
10282 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
10283 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
10284 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
10285 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
10286 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
10287 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
10288 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
10289 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
10290 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
10291 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
10292 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
10293 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
10294 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10295 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10296 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10297 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10298 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10299
73c5ebe3
JM
10300 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10301 _XOPEN_SOURCE_EXTENDED for XPG4.
10302
39c33b6c
JM
10303 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10304
62fde54f
JM
10305 * Makeconfig (localtime): Remove variable.
10306 (inst_localtime-file): Likewise.
10307
0741d64c
AS
103082012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10309
10310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10311 Update.
10312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10313 Update.
10314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10315 Update.
10316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10317 Update.
10318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10319 Update.
10320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
10321 Update.
10322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10323 Update.
10324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
10325 Update.
10326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10327 Update.
10328
7cb029ee
JM
103292012-05-01 Joseph Myers <joseph@codesourcery.com>
10330
10331 [BZ #2550]
10332 [BZ #2570]
10333 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
10334 comparisons to determine direction to adjust input.
10335 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10336 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
10337 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10338 Likewise.
10339 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10340 Likewise.
10341 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10342 Likewise.
10343 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10344 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10345 Likewise.
10346 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10347 Likewise.
10348 * math/libm-test.inc (nexttoward_test): Add more tests.
10349
412bd966
AS
103502012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10351
10352 [BZ #14040]
10353 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
10354 in version GLIBC_2.1, not GLIBC_2.0.
10355 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
10356 Likewise.
10357
9568c0c2
JM
103582012-04-30 Joseph Myers <joseph@codesourcery.com>
10359
adfbc8ac
JM
10360 [BZ #13942]
10361 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
10362 (1 - x) * (1 + x).
10363 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10364 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
10365 * math/libm-test.inc (acos_test): Add more tests.
10366 (asin_test): Likewise.
10367 * sysdeps/i386/fpu/libm-test-ulps: Update.
10368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10369
5ba3cc69
JM
10370 [BZ #14034]
10371 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
10372 of square root.
10373 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
10374 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10375 * math/libm-test.inc (acos_test_tonearest): New function.
10376 (acos_test_towardzero): Likewise.
10377 (acos_test_downward): Likewise.
10378 (acos_test_upward): Likewise.
10379 (asin_test_tonearest): Likewise.
10380 (asin_test_towardzero): Likewise.
10381 (asin_test_downward): Likewise.
10382 (asin_test_upward): Likewise.
10383 (main): Call the new functions.
10384 * sysdeps/i386/fpu/libm-test-ulps: Update.
10385 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10386
9568c0c2
JM
10387 [BZ #13884]
10388 [BZ #13924]
10389 * math/e_exp10.c: Include <float.h>.
10390 (__ieee754_exp10): Handle underflow here rather than multiplying
10391 large negative argument by M_LN10.
10392 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
10393 of __ieee754_expf.
10394 * math/e_exp10l.c: Include <float.h>.
10395 (__ieee754_exp10l): Handle underflow here rather than multiplying
10396 large negative argument by M_LN10l.
10397 * math/libm-test.inc (exp10_test): Add another test. Do not allow
10398 spurious overflow exception on underflow.
10399
5ac3ea17
MP
104002012-04-29 Marek Polacek <polacek@redhat.com>
10401
10402 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
10403 (__fortify_function): New macro.
10404 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
10405 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
10406 __extern_always_inline.
10407 * libio/bits/stdio2.h: Likewise.
10408 * libio/bits/stdio.h: Likewise.
10409 * string/string.h: Likewise.
10410 * string/bits/string3.h: Likewise.
10411 * include/stdio.h: Likewise.
10412 * stdlib/bits/stdlib.h: Likewise.
10413 * stdlib/stdlib.h: Likewise.
10414 * rt/bits/mqueue2.h: Likewise.
10415 * rt/mqueue.h: Likewise.
10416 * posix/bits/unistd.h: Likewise.
10417 * posix/unistd.h: Likewise.
10418 * io/bits/poll2.h: Likewise.
10419 * io/bits/fcntl2.h: Likewise.
10420 * io/fcntl.h: Likewise.
10421 * io/sys/poll.h: Likewise.
10422 * misc/bits/syslog.h: Likewise.
10423 * misc/bits/syslog-ldbl.h: Likewise.
10424 * misc/sys/syslog.h: Likewise.
10425 * socket/bits/socket2.h: Likewise.
10426 * socket/sys/socket.h: Likewise.
10427 * debug/tst-chk1.c: Likewise.
10428 * wcsmbs/bits/wchar2.h: Likewise.
10429 * wcsmbs/bits/wchar-ldbl.h: Likewise.
10430 * wcsmbs/wchar.h: Likewise.
10431
ecf0ebfb
AJ
104322012-04-29 Andreas Jaeger <aj@suse.de>
10433
10434 * Makerules (tests): Remove enable-check-abi protection.
10435 (check-abi-warn): Remove.
10436 (check-abi-%): Remove check-abi-warn usage.
10437
10438 * configure.in: Remove check-abi configure option.
10439 * configure: Regenerated.
10440 * config.make.in (enable-check-abi): Remove.
10441
6d5c57fa
AS
104422012-04-28 Andreas Schwab <schwab@linux-m68k.org>
10443
24c5d07e 10444 [BZ #14033]
ded5180a
AS
10445 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
10446 double functions to double *_finite functions.
10447
7e0d315d
AS
10448 [BZ #13941]
10449 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
10450 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
10451 LDBL_MIN_EXP.
10452 * stdio-common/Makefile (tests): Add tst-sprintf3.
10453 * stdio-common/tst-sprintf3.c: New file.
10454
6d5c57fa
AS
10455 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
10456 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
10457
0749ff8b
JM
104582012-04-28 Joseph Myers <joseph@codesourcery.com>
10459
10460 * conform/conformtest.pl: Remove duplicate typed-constant
10461 handling.
10462
8dbd5d7b
DM
104632012-04-28 David S. Miller <davem@davemloft.net>
10464
10465 * Makerules (%.abilist): Add vpath on sysdep_dirs.
10466 (check-abi-%): Remove AWK script prerequisite and explicit
10467 abilist directory.
10468 (check-abi): Rewrite to just diff the symlist with the abilist.
10469 (config-tls, config-abi-config): Delete, no longer used.
10470 (update-abi-%): Remove AWK script and explicit abilist directory.
10471 (update-abi): Rewrite to simply compare and conditionally copy the
10472 symlist and the sysdep abilist file. Remove update-abi-config
10473 checks.
10474 * abilist/ld.abilist: Remove.
10475 * abilist/libBrokenLocale.abilist: Remove.
10476 * abilist/libanl.abilist: Remove.
10477 * abilist/libcrypt.abilist: Remove.
10478 * abilist/libdl.abilist: Remove.
10479 * abilist/librt.abilist: Remove.
10480 * abilist/libthread_db.abilist: Remove.
10481 * abilist/libutil.abilist: Remove.
10482 * scripts/extract-abilist.awk: Remove.
10483 * scripts/merge-abilist.awk: Remove.
10484 * sysdeps/generic/libcidn.abilist: New file.
10485 * sysdeps/generic/libnss_compat.abilist: New file.
10486 * sysdeps/generic/libnss_db.abilist: New file.
10487 * sysdeps/generic/libnss_dns.abilist: New file.
10488 * sysdeps/generic/libnss_files.abilist: New file.
10489 * sysdeps/generic/libnss_hesiod.abilist: New file.
10490 * sysdeps/generic/libnss_nis.abilist: New file.
10491 * sysdeps/generic/libnss_nisplus.abilist: New file.
10492 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
10493 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
10494 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
10495 file.
10496 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
10497 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
10498 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
10499 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
10500 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
10501 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
10502 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
10503 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
10504 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
10505 file.
10506 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
10507 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
10508 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
10509 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
10510 file.
10511 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
10512 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
10513 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
10514 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
10515 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
10516 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
10517 file.
10518 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
10519 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
10520 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
10521 file.
10522 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
10523 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
10524 New file.
10525 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
10526 New file.
10527 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
10528 New file.
10529 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
10530 New file.
10531 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
10532 New file.
10533 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
10534 New file.
10535 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
10536 New file.
10537 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
10538 New file.
10539 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
10540 New file.
10541 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
10542 New file.
10543 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
10544 New file.
10545 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
10546 New file.
10547 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
10548 New file.
10549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
10550 file.
10551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10552 New file.
10553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10554 New file.
10555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
10556 file.
10557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10558 New file.
10559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10560 New file.
10561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
10562 file.
10563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10564 New file.
10565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10566 New file.
10567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10568 New file.
10569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10570 New file.
10571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10572 New file.
10573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10574 New file.
10575 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
10576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
10577 file.
10578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10579 New file.
10580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
10581 file.
10582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
10583 file.
10584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
10585 file.
10586 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
10587 file.
10588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
10589 file.
10590 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10591 New file.
10592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
10593 file.
10594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
10595 file.
10596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10597 New file.
10598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
10599 file.
10600 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
10601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
10602 file.
10603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10604 New file.
10605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
10606 file.
10607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
10608 file.
10609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
10610 file.
10611 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
10612 file.
10613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
10614 file.
10615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10616 New file.
10617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
10618 file.
10619 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
10620 file.
10621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10622 New file.
10623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
10624 file.
10625 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10626 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
10627 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
10628 file.
10629 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
10630 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
10631 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
10632 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
10633 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
10634 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
10635 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
10636 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
10637 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
10638 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
10639 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
10640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
10641 file.
10642 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10643 New file.
10644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
10645 file.
10646 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
10647 file.
10648 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
10649 file.
10650 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
10651 file.
10652 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
10653 file.
10654 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10655 New file.
10656 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10657 New file.
10658 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
10659 file.
10660 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10661 New file.
10662 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
10663 file.
10664 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
10665 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
10666 file.
10667 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10668 New file.
10669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
10670 file.
10671 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
10672 file.
10673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
10674 file.
10675 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
10676 file.
10677 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
10678 file.
10679 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10680 New file.
10681 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10682 New file.
10683 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
10684 file.
10685 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10686 New file.
10687 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
10688 file.
10689
41d73a1b
JM
106902012-04-28 Joseph Myers <joseph@codesourcery.com>
10691
10692 * conform/conformtest.pl: Fix typo in handling typed-constant from
10693 allow-header.
10694
28aeeda4
JM
106952012-04-27 Joseph Myers <joseph@codesourcery.com>
10696
adae8f5e
JM
10697 * README: Cut down references to pre-2.6 Linux kernels and
10698 Linuxthreads. Update lists of configurations in libc and ports
10699 and sort alphabetically. Say "or newer" with Linux kernel version
10700 requirements.
10701
28aeeda4
JM
10702 * config.h.in [IS_IN_build]: Allow compiling without optimization.
10703
a462cb63
RA
107042012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10705
10706 [BZ #887]
10707 * math/libm-test.inc (logb_test_downward): New test to expose
10708 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
10709 rounding mode.
10710
6ad3493e
JM
107112012-04-27 Joseph Myers <joseph@codesourcery.com>
10712
10713 [BZ #14027]
10714 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
10715 to be done.
10716 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
10717 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
10718
2ce4f015
JM
107192012-04-26 Joseph Myers <joseph@codesourcery.com>
10720
5aeb141a
JM
10721 * sysdeps/unix/i386/brk.S: Remove file.
10722 * sysdeps/unix/i386/dl-brk.S: Likewise.
10723 * sysdeps/unix/i386/pipe.S: Likewise.
10724 * sysdeps/unix/i386/sigreturn.S: Likewise.
10725 * sysdeps/unix/i386/syscall.S: Likewise.
10726 * sysdeps/unix/i386/vfork.S: Likewise.
10727 * sysdeps/unix/i386/wait.S: Likewise.
10728
7143acae
JM
10729 * sysdeps/unix/common/tcsendbrk.c: Move to ...
10730 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
10731
2ce4f015
JM
10732 * configure.in (arm*-none*): Do not allow without
10733 --enable-hacker-mode.
10734 (netbsd*): Remove case setting base_os.
10735 (386bsd*): Likewise.
10736 (freebsd*): Likewise.
10737 (bsdi*): Likewise.
10738 (osf*): Likewise.
10739 (sunos*): Likewise.
10740 (ultrix*): Likewise.
10741 (newsos*): Likewise.
10742 (dynix*): Likewise.
10743 (*bsd*): Likewise.
10744 (sysv*): Likewise.
10745 (isc*): Likewise.
10746 (esix*): Likewise.
10747 (sco*): Likewise.
10748 (minix*): Likewise.
10749 (irix4*): Likewise.
10750 (irix6*): Likewise.
10751 (solaris[2-9]*): Likewise.
10752 (none): Likewise.
10753 * configure: Regenerated.
10754
0ac229c8
AZ
107552012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10756
10757 [BZ #11521]
10758 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
10759 overflow or cancellation in calculating denominator.
10760 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
10761 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
10762 down expression to avoid unexpected rounding in newer GCCs.
10763 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
10764
33f244f4
DM
107652012-04-26 David S. Miller <davem@davemloft.net>
10766
10767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
10768 long-double compat symbols.
10769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
10773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
10775 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
10776 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
10777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10778 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
10780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10782
cfa1f3e8
DM
107832012-04-25 David S. Miller <davem@davemloft.net>
10784
10785 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
10786 HWCAP_* values only after the memory barriers have been defined.
10787 (atomic_full_barrier): Define.
10788 (atomic_read_barrier): Define.
10789 (atomic_write_barrier): Define.
10790
6e236b92
SP
107912012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10792
10793 * shlib-versions: Add libgcc_s version information.
10794 * sysdeps/generic/libgcc_s.h: Remove.
10795 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
10796 libgcc_s.h.
10797 * sysdeps/gnu/unwind-resume.c: Likewise.
10798 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
10799
aab39a09
DM
108002012-04-25 David S. Miller <davem@davemloft.net>
10801
10802 * sysdeps/unix/sparc/brk.S: Delete.
10803 * sysdeps/unix/sparc/dl-brk.S: Delete.
10804 * sysdeps/unix/sparc/pipe.S: Delete.
10805 * sysdeps/unix/sparc/sysdep.S: Delete.
10806 * sysdeps/unix/sparc/sysdep.h: Delete.
10807 * sysdeps/unix/sparc/vfork.S: Delete.
10808 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
10809 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
10810 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
10811 ret_ERRVAL, r0, r1, MOVE): Define.
10812 (JUMPTARGET): Remove.
10813 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
10814 sysdeps/unix/sparc/sysdep.h
10815 (ENTRY, END): Remove.
10816 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10817
a3cc4f48
JM
108182012-04-25 Joseph Myers <joseph@codesourcery.com>
10819
2ed8cda2
JM
10820 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
10821 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
10822 -DIS_IN_build.
10823
35d76d59
JM
10824 * timezone/README: Update upstream location and email address for
10825 tzcode and tzdata.
10826 * timezone/zdump.c: Update from tzcode 2012b.
10827 * timezone/zic.c: Likewise.
10828
a3cc4f48
JM
10829 * configure.in (libc_cv_as_needed): Remove test.
10830 * configure: Regenerated.
10831 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
10832 conditional definition.
10833 [$(have-as-needed) != yes] (no-as-needed): Likewise.
10834 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
10835 * config.make.in (have-as-needed): Remove variable.
10836
ceab42c3
SP
108372012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10838 Paul Pluzhnikov <ppluzhnikov@google.com>
10839
10840 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
10841 strings correctly.
10842
3ce2865f
CLT
108432012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
10844
10845 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
10846 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
10847 * sysdeps/sh/strlen.S: Likewise.
10848
f37e0d68
JM
108492012-04-24 Joseph Myers <joseph@codesourcery.com>
10850
ae186e9a
JM
10851 * sysdeps/unix/fork.S: Remove file.
10852 * sysdeps/unix/i386/fork.S: Likewise.
10853 * sysdeps/unix/sparc/fork.S: Likewise.
10854
b96914af
JM
10855 * sysdeps/unix/system.c: Remove file.
10856 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
10857
f37e0d68
JM
10858 * sysdeps/unix/getegid.S: Remove file.
10859 * sysdeps/unix/geteuid.S: Likewise.
10860
87ef29ca
RM
108612012-04-24 Roland McGrath <roland@hack.frob.com>
10862
83bcd236
RM
10863 * scripts/check-localplt.awk: New file.
10864 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
10865 of diff.
10866 * scripts/data/localplt-generic.data: Add a comment.
10867
87ef29ca
RM
10868 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
10869 NODE when __dir_mkfile failed.
10870 * sysdeps/mach/hurd/symlinkat.c: Likewise.
10871 Reported by Ludovic Courtès <ludo@gnu.org>.
10872
e5a6e567
AJ
108732012-04-24 Andreas Jaeger <aj@suse.de>
10874
10875 * Makerules (common-clean): Also remove gen-as-const-headers
10876 files.
10877
c1820385
JM
108782012-04-24 Joseph Myers <joseph@codesourcery.com>
10879
10880 * Makerules (native-compile): Do not change working directory for
10881 build. Use $(OUTPUT_OPTION) in command.
10882 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
10883
94e02fc4
AZ
108842012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10885
10886 [BZ #13886]
10887 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
10888 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
10889 * math/libm-test.inc (floor_test): Add more tests.
10890 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
10891
3a533ca3
JM
108922012-04-24 Joseph Myers <joseph@codesourcery.com>
10893
940ab4b3
JM
10894 * sysdeps/unix/getdents.c: Remove file.
10895 * sysdeps/unix/sysv/getdents.c: Likewise.
10896 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
10897
90e037bd
JM
10898 * sysdeps/unix/syscalls.list (madvise): Add syscall from
10899 sysdeps/unix/mman/syscalls.list.
10900 (mmap): Likewise.
10901 (mprotect): Likewise.
10902 (msync): Likewise.
10903 (munmap): Likewise.
10904 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
10905 * sysdeps/unix/mman/syscalls.list: Remove.
10906 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
10907
3a533ca3
JM
10908 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
10909 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
10910 * configure: Regenerated.
10911 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
10912 $(libgcc_s_suffix).
10913 * config.make.in (libgcc_s_suffix): Remove variable.
10914
1ad743de
JM
109152012-04-23 Joseph Myers <joseph@codesourcery.com>
10916
4ad451e2
JM
10917 * sysdeps/unix/sysv/gethostname.c: Move to ...
10918 * sysdeps/posix/gethostname.c: ... here.
10919
5e37ce39
JM
10920 * sysdeps/unix/execve.S: Remove file.
10921
1ad743de
JM
10922 * sysdeps/unix/_exit.S: Remove file.
10923
4e681b5b
AJ
109242012-04-23 Andreas Jaeger <aj@suse.de>
10925
10926 [BZ #13739]
10927 * manual/Makefile: Remove make dist support, there's no
10928 need for a stand-alone documentation tar ball.
10929 (TEXI2DVI): Define always, it's not in Makeconfig.
10930 (dist): Removed.
10931 (tar-it): Removed.
10932 (edition): Removed.
10933 (glibc-doc-$(edition).tar): Removed
10934 (%.Z): Removed.
10935 (%.gz): Removed.
10936 (%.uu): Removed.
10937 (ETAGS): Remove, it's in Makeconfig.
10938 (move-if-change): Remove, it's in Makeconfig.
10939
c0baea34
PE
109402013-04-23 Paul Eggert <eggert@cs.ucla.edu>
10941
10942 [BZ #13970]
10943 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
10944 (strtod, strtof, strtold, strtol, strtoul, strtoq)
10945 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
10946 (strtod_l, strtof_l, strtold_l): Remove __wur.
10947 It is not necessarily an error to ignore strtol's return value.
10948 One can reliably look at the stored endptr to decide whether
10949 the number had valid syntax.
10950
7c0616fa
AJ
109512012-04-21 Andreas Jaeger <aj@suse.de>
10952
803cb6b7 10953 [BZ #13739]
7c0616fa
AJ
10954 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
10955
b0fe253f
JM
109562012-04-21 Joseph Myers <joseph@codesourcery.com>
10957
10958 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
10959 * sysdeps/unix/sysv/Versions: Remove file.
10960
8280f22d
MT
109612012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
10962
10963 [BZ #13927]
10964 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10965
75ce411f 109662012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
10967
10968 [BZ #7064]
10969 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
10970 version from __vm86.
10971
097d59fa
JM
109722012-04-20 Joseph Myers <joseph@codesourcery.com>
10973
a90f3bcb
JM
10974 * sysdeps/unix/common/lxstat.c: Remove file.
10975 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
10976
edc7ea78
JM
10977 * sysdeps/unix/sysv/Makefile: Remove file.
10978
cb78c221
JM
10979 * sysdeps/unix/sysv/direct.h: Remove file.
10980
efa6a45f
JM
10981 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
10982 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
10983 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
10984 * sysdeps/unix/sysv/bits/signum.h: Likewise.
10985 * sysdeps/unix/sysv/bits/stat.h: Likewise.
10986 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
10987 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
10988
9c9f2d0c
JM
10989 * sysdeps/unix/sysv/setrlimit.c: Remove file.
10990
4541c83b
JM
10991 * sysdeps/unix/xmknod.c: Remove file.
10992 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
10993
f5d153a0
JM
10994 * sysdeps/unix/sysv/settimeofday.c: Remove file.
10995
aa746595
JM
10996 * sysdeps/unix/sysv/i386/time.S: Remove file.
10997
cce5905e
JM
10998 * sysdeps/unix/fxstat.c: Remove file.
10999 * sysdeps/unix/xstat.c: Likewise.
11000 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11001
37fa3841
JM
11002 * sysdeps/unix/sysv/sigaction.c: Remove file.
11003
ff1962a3
JM
11004 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11005 (sysdep_headers): Remove variable.
11006 [termio.h not in sysdep_headers] (generated): Likewise.
11007 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11008 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11009 * sysdeps/unix/sysv/tcdrain.c: Likewise.
11010 * sysdeps/unix/sysv/tcflow.c: Likewise.
11011 * sysdeps/unix/sysv/tcflush.c: Likewise.
11012 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11013 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11014 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11015 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11016 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11017
e7740d31
JM
11018 * sysdeps/unix/siglist.c: Remove file.
11019
ee06f18b
JM
11020 * sysdeps/unix/getppid.S: Remove file.
11021
097d59fa
JM
11022 * sysdeps/unix/mkdir.c: Remove file.
11023 * sysdeps/unix/rmdir.c: Likewise.
11024
ff3d51ec
AS
110252012-04-19 Andreas Schwab <schwab@linux-m68k.org>
11026
11027 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11028 ERR_MAX value.
11029 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11030 errlist-compat value.
11031
50f81fd7
DM
110322012-04-18 David S. Miller <davem@davemloft.net>
11033
11034 * sysdeps/generic/memcopy.h (reg_char): Delete.
11035 * debug/strcat_chk.c: Use char, not reg_char.
11036 * debug/strcpy_chk.c: Likewise.
11037 * debug/strncat_chk.c: Likewise.
11038 * debug/strncpy_chk.c: Likewise.
11039 * string/memchr.c: Likewise.
11040 * string/memrchr.c: Likewise.
11041 * string/rawmemchr.c: Likewise.
11042 * string/strcat.c: Likewise.
11043 * string/strchr.c: Likewise.
11044 * string/strchrnul.c: Likewise.
11045 * string/strcmp.c: Likewise.
11046 * string/strcpy.c: Likewise.
11047 * string/strncat.c: Likewise.
11048 * string/strncmp.c: Likewise.
11049 * string/strncpy.c: Likewise.
11050
8ff41c46
WS
110512012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11052
11053 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11054 __builtin_memcopy is called when src and dest ranges are known to not
11055 overlap.
11056
6b652f46
WS
110572012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11058
11059 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11060 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11061 fwd_align_merge macro call.
11062 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11063 bwd_align_merge macro call.
11064 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11065
b282631e
WS
110662012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11067
11068 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11069 bwd_align_merge macros.
11070 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11071 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11072 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11073
95aa737c
DM
110742012-04-18 David S. Miller <davem@davemloft.net>
11075
11076 * sysdeps/sparc/sparc64/memcopy.h: Delete.
11077
7a99a614
AJ
110782012-04-18 Andreas Jaeger <aj@suse.de>
11079
11080 [BZ# 6794]
11081 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11082 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11083 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11084
11085 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11086 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11087 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11088
11089 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11090 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11091 Adjust for changed ldbl-128 files.
11092
11093 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11094 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11095 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11096
e5270c23
DM
110972012-04-17 David S. Miller <davem@davemloft.net>
11098
11099 * sysdeps/sparc/sparc32/memcopy.h: Delete.
11100
fb5e92c9
AS
111012012-04-17 Andreas Schwab <schwab@linux-m68k.org>
11102
11103 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11104 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11105 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11106 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11107 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11108 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11109
76da7265
AZ
111102012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11111
11112 [BZ #6794]
11113 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11114 * math/libm-test.inc: Add ilogb errno and exception tests.
11115 * math/w_ilogb.c: New file: ilogb wrapper.
11116 * math/w_ilogbf.c: New file: ilogbf wrapper.
11117 * math/w_ilogbl.c: New file: ilogbl wrapper.
11118 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11119 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11120 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11121 exception being thrown with 0.0 as argument.
11122 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11123 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11124 exception being thrown with 0.0 as argument.
11125 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11126 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11127 exception being thrown with 0.0 as argument.
11128 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11129 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11130 exception being thrown with 0.0 as argument.
11131 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11132 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 11133 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
11134 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11135 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11136 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11137 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11138 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11139 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11140
0396e69d
PB
111412012-04-17 Petr Baudis <pasky@ucw.cz>
11142
11143 * include/sys/uio.h: Change __vector to __iovec to avoid clash
11144 with altivec.
11145
750b5926
MP
111462012-04-16 Marek Polacek <polacek@redhat.com>
11147
11148 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11149
751728a1
MP
111502012-04-16 Marek Polacek <polacek@redhat.com>
11151
11152 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11153 operands of fdivp instruction.
11154
34a27407
L
111552012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11156
11157 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
11158 * elf/tst-auditmod3b.c: Likewise.
11159 * elf/tst-auditmod4b.c: Likewise.
11160 * elf/tst-auditmod5b.c: Likewise.
11161 * elf/tst-auditmod6b.c: Likewise.
11162 * elf/tst-auditmod6c.c: Likewise.
11163 * elf/tst-auditmod7b.c: Likewise.
11164 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11165 * sysdeps/x86_64/preconfigure.in: Likewise.
11166 * sysdeps/x86_64/preconfigure: Regenerated.
11167
7e73e17d
L
111682012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11169
11170 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
11171 __ILP32__.
11172
c7a6ab72
AB
111732012-04-13 Antoine Balestrat <merkil33@gmail.com>
11174
11175 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11176 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
11177
a9e8e0e0
CL
111782012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
11179
11180 [BZ #13973]
11181 * locale/iso-639.def: Fix gl language name. Spotted by
11182 Yaron Shahrabani.
11183
ec98af7d
RM
111842012-04-12 Roland McGrath <roland@hack.frob.com>
11185
11186 [BZ #2074]
11187 * libio/libio.h (__io_write_fn): Update comment.
11188
247c3ede
PB
111892012-04-12 Petr Baudis <pasky@ucw.cz>
11190
11191 [BZ #2074]
11192 * stdio.texi (Hook Functions): The user provided writer function
11193 is not allowed to return -1.
11194
55939d6d
DM
111952012-04-11 David S. Miller <davem@davemloft.net>
11196
11197 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11198
90020f5a
MF
111992012-04-11 Mike Frysinger <vapier@gentoo.org>
11200
11201 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
11202 Add a leading slash to rtkaio.
11203
288f9098
JM
112042012-04-11 Jim Meyering <meyering@redhat.com>
11205
90020f5a
MF
11206 [BZ #11959]
11207 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
11208 It is not necessarily an error to ignore fwrite's return
11209 value. One can reliably use ferror to test for errors after
11210 the fact.
288f9098 11211
4be2b570
L
112122012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11213
11214 * bits/types.h (__snseconds_t): New type.
11215 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
11216
11217 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
11218 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11219 (__SNSECONDS_T_TYPE): Likewise.
11220 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11221 (__SNSECONDS_T_TYPE): Likewise.
11222 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11223 (__SNSECONDS_T_TYPE): Likewise.
11224
288f9098 112252012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
11226
11227 [BZ #2636]
11228 * manual/time.texi (Processor Time): Return type of times is
11229 elapsed real time since an arbitrary point in the past.
11230 (CPU Time): Move CLK_TCK from here...
11231 (Processor Time): ...to here. Correct description.
11232 * manual/conf.texi (Constants for Sysconf): Correct description of
11233 _SC_CLK_TCK.
11234
d7dd4413
DM
112352012-04-10 David S. Miller <davem@davemloft.net>
11236
11237 [BZ #13967]
11238 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
11239 where the is a gap between DT_REL(A) and DT_JMPREL.
11240
b46068fc
L
112412012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11242
11243 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
11244 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11245 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11246
73d65cc3
SP
112472012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11248
11249 * elf/dl-support.c (_dl_inhibit_cache): New variable.
11250 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
11251 (dl_main): Handle --inhibit-cache.
11252 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11253 _dl_inhibit_cache.
11254 * elf/dl-load.c (_dl_map_object): Use it.
11255 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11256
bcc8d661
JM
112572012-04-09 Joseph Myers <joseph@codesourcery.com>
11258
8f9a2fae
JM
11259 [BZ #13872]
11260 * sysdeps/i386/fpu/e_powl.S (p78): New object.
11261 (__ieee754_powl): Saturate large exponents rather than testing for
11262 overflow of y*log2(x).
11263 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11264 * math/libm-test.inc (pow_test): Do not permit spurious overflow
11265 exceptions.
11266
bcc8d661
JM
11267 [BZ #11521]
11268 * math/s_ctan.c: Include <float.h>.
11269 (__ctan): Avoid internal overflow or cancellation in calculating
11270 denominator.
11271 * math/s_ctanf.c: Likewise.
11272 * math/s_ctanl.c: Likewise.
11273 * math/s_ctanh.c: Likewise.
11274 * math/s_ctanhf.c: Likewise.
11275 * math/s_ctanhl.c: Likewise.
11276 * math/libm-test.inc (ctan_test): Add more tests.
11277 (ctanh_test): Likewise.
11278 * sysdeps/i386/fpu/libm-test-ulps: Update.
11279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11280
823fbbb4
AJ
112812012-04-09 Andreas Jaeger <aj@suse.de>
11282
03879793
AJ
11283 [BZ #6894]
11284 * manual/filesys.texi (Directory Entries): Mention that d_namlen
11285 is an optional BSD extension.
11286
823fbbb4
AJ
11287 [BZ #10254]
11288 * manual/stdio.texi (Opening Streams): Document additional fopen
11289 parameters.
11290
8de131cb
RM
112912012-04-09 Roland McGrath <roland@hack.frob.com>
11292
11293 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
11294 %eax without telling the compiler.
11295
c0ed9d7d
CD
112962012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
11297
11298 [BZ # 13963]
11299 * manual/install.texi: Use sourceware.org.
11300
c483f6b4
JM
113012012-04-09 Joseph Myers <joseph@codesourcery.com>
11302
d7dd9453
JM
11303 [BZ #13873]
11304 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11305 (__ieee754_pow): Generate overflow and underflow using huge*huge
11306 and tiny*tiny rather than just returning constant infinity or zero
11307 for large exponents.
11308 * math/libm-test.inc (pow_test): Require overflow exceptions for
11309 applicable cases of large exponents.
11310
c483f6b4
JM
11311 [BZ #706]
11312 * sysdeps/i386/fpu/e_pow.S (p10): New object.
11313 (__ieee754_pow): Use iterative multiplication algorithm only for
11314 integer exponents with absolute value below 1024. Check for odd
11315 integer exponents when using algorithm for real exponents.
11316 * math/libm-test.inc (pow_test): Add more tests.
11317 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11318
d2de7579
JM
113192012-04-08 Joseph Myers <joseph@codesourcery.com>
11320
11321 [BZ #13705]
11322 * math/libm-test.inc (exp_test): Do not allow overflow exception
11323 on underflow test.
11324
f77f1232
AJ
113252012-04-08 Aurelien Jarno <aurelien@aurel32.net>
11326
11327 [BZ #13705]
11328 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
11329 instead of __kernel_standard_f.
11330
3884932b
MF
113312012-04-08 Mike Frysinger <vapier@gentoo.org>
11332
11333 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
11334 * sysdeps/x86_64/memset_chk.S: Likewise.
11335
54472e9c
AJ
113362012-04-08 Andreas Jaeger <aj@suse.de>
11337
6ab0fbfc
AJ
11338 [BZ #10153]
11339 * manual/startup.texi (Environment Access): Describe return value
11340 for putenv and setenv.
11341
61efba8c
AJ
11342 [BZ #6895]
11343 * manual/filesys.texi (Directory Entries): Add description for
11344 DT_LNK.
11345
95c3f29a
AJ
11346 [BZ #6890]
11347 * manual/filesys.texi (Directory Entries): Clarify that it's file
11348 system not operating system in the description of DT_UNKNOWN.
11349
54472e9c
AJ
11350 [BZ #6578]
11351 * manual/syslog.texi (closelog): Fix reference, it's openlog.
11352
624254b1
SC
113532012-04-08 Stephen Compall <s11@member.fsf.org>
11354
11355 [BZ #6649]
11356 * manual/llio.texi (Opening and Closing Files): Add cross
11357 reference to explain mode argument.
11358
1e4920e0
MF
113592012-04-07 Mike Frysinger <vapier@gentoo.org>
11360
11361 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
11362 * sysdeps/x86_64/memset_chk.S: Likewise.
11363
5ed848f3
DM
113642012-04-07 David S. Miller <davem@davemloft.net>
11365
11366 * elf/elf.h (R_SPARC_WDISP10): Define.
11367 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
11368 R_SPARC_SIZE32.
11369 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
11370 R_SPARC_SIZE64 and R_SPARC_H34.
11371
96154cd8
CD
113722012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
11373
11374 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
11375 conditions and remove no longer applicable assertion.
11376
9904dc47
L
113772012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11378
11379 * bits/byteswap.h: Include <features.h>.
11380 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11381 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11382
f8887d0a
L
113832012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11384
11385 * bits/byteswap.h (__bswap_16): Removed.
11386 Include <bits/byteswap-16.h> to get __bswap_16.
11387 * sysdeps/i386/bits/byteswap.h: Likewise.
11388 * sysdeps/s390/bits/byteswap.h: Likewise.
11389 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11390 * bits/byteswap-16.h: New file.
11391 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11392 * sysdeps/s390/bits/byteswap-16.h: Likewise.
11393 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
11394 * string/Makefile (headers): Add bits/byteswap-16.h.
11395
62470f60
PP
113962012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11397
11398 [BZ #13895]
11399 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
11400 extra indirection.
11401 * nss/Makefile (tests-static, tests): Add tst-nss-static.
11402 * nss/tst-nss-static.c: New.
11403
4dad7bab
RM
114042012-04-06 Robert Millan <rmh@gnu.org>
11405
11406 [BZ #6486]
11407 * manual/llio.texi (File Position Primitive): lseek
11408 refers to WHENCE when it really means OFFSET.
11409
e9142a17
AJ
114102012-04-06 Andreas Jaeger <aj@suse.de>
11411
2c040eff
AJ
11412 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
11413 strncmp declarations.
11414
e9142a17
AJ
11415 * abilist/libc.abilist: Add __poll and __ppoll.
11416
ff9f1c5f
DM
114172012-04-05 David S. Miller <davem@davemloft.net>
11418
dcd2ae90
DM
11419 * scripts/check-local-headers.sh: Accept a host triplet in the
11420 path matched by the exclude regexp.
11421
993eb054
DM
11422 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
11423 definition.
11424 * sysdeps/powerpc/powerpc32/dl-machine.h
11425 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
11426 * sysdeps/s390/s390-32/dl-machine.h
11427 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11428 * sysdeps/sparc/sparc32/dl-machine.h
11429 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11430 * sysdeps/sparc/sparc64/dl-machine.h
11431 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11432
ff9f1c5f
DM
11433 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
11434 lazy binding.
48e2e132 11435 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
11436 undefined symbol errors.
11437
48e2e132 11438 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
11439 DT_NEEDED entries.
11440
e80d6f94
MM
114412012-04-05 Michael Matz <matz@suse.de>
11442
11443 [BZ #13592]
11444 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
11445
349fa79f
AJ
114462012-04-05 Andreas Jaeger <aj@suse.de>
11447
11448 [BZ #13908]
11449 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
11450 comment.
11451
f402708f
KK
114522012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11453
11454 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
11455 which ROUND is no valid rounding mode.
11456
2ecccfc9
KK
114572012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11458
11459 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
11460 read again.
11461 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
11462
8a53f50f
KK
114632012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11464
11465 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
11466 an exception using FPU order intentionally.
11467
114682012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11469
11470 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
11471 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
11472 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
11473 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
11474
d653abb7
SJ
114752012-04-05 Simon Josefsson <simon@josefsson.org>
11476
11477 [BZ #12340]
11478 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
11479 EINVAL when BUFLEN is too smal.
11480
c3b1bf7d
TS
114812012-04-05 Thomas Schwinge <thomas@codesourcery.com>
11482
11483 [BZ #13553]
11484 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
11485 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
11486
b1aa60f3
AJ
114872012-04-03 Andreas Jaeger <aj@suse.de>
11488
c3b1bf7d 11489 [BZ #13938]
67f60a26
AJ
11490 * manual/setjmp.texi (System V contexts): Fix sentence.
11491
b1aa60f3
AJ
11492 [BZ #13926]
11493 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
11494 New macro for this case.
11495 [!__GNUC__] (__bswap_64): New inline function for this case.
11496 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11497 * bits/byteswap.h: Likewise.
11498 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
11499 ull, guard with __GLIBC_HAVE_LONG_LONG.
11500
11501 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
11502 __GLIBC_HAVE_LONG_LONG.
11503
11504 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
11505 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
11506
39c59c35
TMQMF
115072012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11508
11509 [BZ #13691]
11510 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
11511 inptr and inend, rather than using last_ch.
11512
135ffda8
DM
115132012-04-02 David S. Miller <davem@davemloft.net>
11514
11515 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
11516 * stdio-common/printf-parse.h (read_int): Change return type to
11517 'int', return -1 on INT_MAX overflow.
11518 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
11519 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
11520 overflows INT_MAX. Check for overflow of in-format-string precision
11521 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
11522 SIZE_MAX not INT_MAX for integer overflow test.
11523 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
11524 skip the construct in the format string but do not record anything.
11525 * stdio-common/bug22.c: Adjust to test both width/prevision
11526 INT_MAX overflow as well as total length INT_MAX overflow. Check
11527 explicitly for proper errno values.
11528
228c019e
TS
115292012-04-02 Thomas Schwinge <thomas@codesourcery.com>
11530
302cadd3
TS
11531 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
11532 CHAR_MAX.
11533 * string/test-strcmp.c [! WIDE]: Likewise.
11534 * time/tst-mktime2.c: Likewise for INT_MAX.
11535 * string/test-string.h: #include <sys/param.h> for MIN.
11536
228c019e
TS
11537 * csu/init-first.c (__libc_init_first): Call __ctype_init.
11538 * sysdeps/i386/init-first.c (init): Likewise.
11539 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
11540 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
11541 * sysdeps/sh/init-first.c (init): Likewise.
11542
cfa633f5
UD
115432012-04-01 Ulrich Drepper <drepper@gmail.com>
11544
11545 * po/ru.po: Update from translation team.
d1635ef8 11546 * po/vi.po: Likewise.
cfa633f5 11547
6cd0a5ea
SP
115482012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11549
11550 * resolv/nss_dns/dns-host.c: Merge copyright years.
11551
4b43400f
LD
115522012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11553
11554 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11555 Optimize memcpy with prefetch if
11556 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
11557 src, dst pointers have unequal 16 byte alignments.
11558
48c41d04
SP
115592012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11560
11561 [BZ #13928]
11562 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
11563 from a CNAME entry and return the minimum ttl for the query.
11564 (gaih_getanswer_slice): Likewise.
11565
b8dc394d
JL
115662012-03-30 Jeff Law <law@redhat.com>
11567
11568 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
11569 due to long keys.
11570 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11571 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11572
2f5a5ed0
JL
11573 * resolv/nss_dns/dns-host.c: Update copyright year.
11574
1d39e359
UD
115752012-03-30 Ulrich Drepper <drepper@gmail.com>
11576
c030f70c 11577 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 11578 requests to save a system call. Fix check that all bytes are sent.
c030f70c 11579
1d39e359
UD
11580 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
11581 comments for sendmmsg.
11582
115832012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
11584
11585 [BZ #13691]
11586 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
11587 with only 1 character between 0x0041 and 0x01b0.
11588 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
11589 * wcsmbs/tst-mbsnrtowcs.c: New file.
11590
20fde227
DM
115912012-03-29 David S. Miller <davem@davemloft.net>
11592
11593 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
11594 small copies by hand.
11595
984a4237
JL
115962012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11597
11598 [BZ #13761]
11599 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
11600 _nss_compat_initgroups_dyn): Fall back to malloc/free
11601 for large group memberships.
11602
18c9d62b
DM
116032012-03-28 David S. Miller <davem@davemloft.net>
11604
88d85d4f
DM
11605 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
11606 that branches into memcpy.
11607 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11608 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11609 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11610 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11611 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
11612 bits.
11613 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
11614 implementation too.
11615 * sysdeps/sparc/mempcpy.S: New file.
11616
e5aa83e1
DM
11617 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
11618 the IFUNC routine in the libc case.
11619 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11620
88570753
DM
11621 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
11622 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
11623 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
11624 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
11625 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
11626 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
11627 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
11628 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
11629
249d7567
DM
11630 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
11631 loop to 256 bytes instead of 64 bytes and fix test signedness.
11632
18c9d62b
DM
11633 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
11634 * sysdeps/sparc/sparc32/Makefile: rather than here...
11635 * sysdeps/sparc/sparc64/Makefile: and here.
11636
05f3d1f6
UD
116372012-03-28 Ulrich Drepper <drepper@gmail.com>
11638
11639 * malloc/mallocbug.c: Avoid warnings about unused variables.
11640
86ae07a8
JL
116412012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11642
11643 [BZ #13760]
11644 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
11645 in the right place. Discard and retry query if response is
11646 larger than input buffer size.
11647
41bf21a1
JM
116482012-03-28 Joseph Myers <joseph@codesourcery.com>
11649
d6270972
JM
11650 [BZ #369]
11651 [BZ #2678]
11652 [BZ #3866]
11653 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
11654 x for large integer exponent.
11655 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11656 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
11657 sign of result as needed afterwards.
11658 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11659 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
11660 result for underflowing pow the same as for overflow.
11661 (__kernel_standard_l): Handle powl overflow and underflow here
11662 rather than calling __kernel_standard.
11663 * math/libm-test.inc (pow_test): Add more tests.
11664
414fca03 11665 [BZ #3868]
41bf21a1
JM
11666 [BZ #13879]
11667 [BZ #13910]
11668 [BZ #13911]
11669 [BZ #13912]
11670 [BZ #13913]
11671 [BZ #13915]
11672 [BZ #13916]
11673 [BZ #13917]
11674 [BZ #13918]
11675 [BZ #13919]
11676 [BZ #13920]
11677 [BZ #13921]
11678 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
11679 * sysdeps/ieee754/k_standard.c: Include <float.h>.
11680 (__kernel_standard_l): New function.
11681 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
11682 __kernel_standard.
11683 * math/w_acosl.c (__acosl): Likewise.
11684 * math/w_asinl.c (__asinl): Likewise.
11685 * math/w_atan2l.c (__atan2l): Likewise.
11686 * math/w_atanhl.c (__atanhl): Likewise.
11687 * math/w_coshl.c (__coshl): Likewise.
11688 * math/w_exp10l.c (__exp10l): Likewise.
11689 * math/w_exp2l.c (__exp2l): Likewise.
11690 * math/w_fmodl.c (__fmodl): Likewise.
11691 * math/w_hypotl.c (__hypotl): Likewise.
11692 * math/w_j0l.c (__j0l, __y0l): Likewise.
11693 * math/w_j1l.c (__j1l, __y1l): Likewise.
11694 * math/w_jnl.c (__jnl, __ynl): Likewise.
11695 * math/w_lgammal.c (__lgammal): Likewise.
11696 * math/w_log10l.c (__log10l): Likewise.
11697 * math/w_log2l.c (__log2l): Likewise.
11698 * math/w_logl.c (__logl): Likewise.
11699 * math/w_powl.c (__powl): Likewise.
11700 * math/w_remainderl.c (__remainderl): Likewise.
11701 * math/w_scalbl.c (sysv_scalbl): Likewise.
11702 * math/w_sinhl.c (__sinhl): Likewise.
11703 * math/w_sqrtl.c (__sqrtl): Likewise.
11704 * math/w_tgammal.c (__tgammal): Likewise.
11705 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
11706 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
11707 * math/libm-test.inc (acos_test): Add more tests.
11708 (acosh_test): Likewise.
11709 (asin_test): Likewise.
11710 (atanh_test): Likewise.
11711 (exp_test): Likewise.
11712 (exp10_test): Likewise.
11713 (exp2_test): Likewise.
11714 (expm1_test): Likewise.
11715 (lgamma_test): Likewise.
11716 (log_test): Likewise.
11717 (log10_test): Likewise.
11718 (log1p_test): Likewise.
11719 (log2_test): Likewise.
11720 (pow_test): Do not allow some spurious overflow exceptions.
11721 (sqrt_test): Add more tests.
11722 (tgamma_test): Likewise.
11723 (y0_test): Likewise.
11724 (y1_test): Likewise.
11725 (yn_test): Likewise.
11726
dd62fda6
AB
117272012-03-27 Anton Blanchard <anton@samba.org>
11728
11729 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
11730 MAP_HUGETLB.
11731 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11732 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11733 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11734
1e3cdfda
AJ
117352012-03-27 David S. Miller <davem@davemloft.net>
11736
b855ab85
DM
11737 * conform/Makefile: Run run-conformtest.sh using $(BASH).
11738
1e3cdfda
AJ
11739 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
11740 have-as-vis3 check.
11741
117422012-03-27 Andreas Jaeger <aj@suse.de>
11743
11744 * sysdeps/x86_64/elf/configure.in: Moved to ...
11745 * sysdeps/x86_64/configure.in: ... here.
11746 * sysdeps/x86_64/elf/start.S: Moved to ...
11747 * sysdeps/x86_64/start.S: ... here.
11748 * sysdeps/x86_64/elf/configure: Delete.
11749
11750 * sysdeps/x86_64/configure.in: Merge contents from
11751 sysdeps/i386/configure.in (without i686 check).
11752
11753 * sysdeps/i386/elf/Versions: Merge into ...
11754 * sysdeps/i386/Versions: ... this.
11755 * sysdeps/i386/elf/Versions: Delete file.
11756 * sysdeps/i386/elf/start.S: Moved to ...
11757 * sysdeps/i386/start.S: ...here.
11758 * sysdeps/i386/elf/configure.in: Merge into...
11759 * sysdeps/i386/configure.in: ...here.
11760 * sysdeps/i386/elf/configure.in: Delete file.
11761 * sysdeps/i386/elf/configure: Delete file.
11762
11763 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
11764 * debug/backtracesyms.c: ... here.
11765 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
11766 * debug/backtracesymsfd.c: ... here.
11767 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
11768 * sysdeps/generic/ifunc-sel.h: ... here.
11769
11770 * sysdeps/unix/i386/start.c: Delete file.
11771 * sysdeps/unix/sparc/start.c: Delete file.
11772 * sysdeps/unix/start.c: Delete file.
11773
11774 * sysdeps/sh/elf/configure.in: Moved to ...
11775 * sysdeps/sh/configure.in: ... here.
11776 * sysdeps/sh/elf/start.S: Moved to ...
11777 * sysdeps/sh/start.S: ... here.
11778 * sysdeps/sh/elf/configure: Delete file.
11779
11780 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
11781 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
11782 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
11783 * sysdeps/powerpc/powerpc64/entry.h: ... here.
11784 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
11785 * sysdeps/powerpc/powerpc64/start.S: here.
11786 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
11787 * sysdeps/powerpc/powerpc64/Makefile: ... this.
11788 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
11789 * sysdeps/powerpc/powerpc64/configure.in: ... this.
11790 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
11791
11792 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
11793 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
11794 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
11795 * sysdeps/powerpc/powerpc32/start.S: ... here.
11796 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
11797 * sysdeps/powerpc/powerpc32/configure.in: ... this.
11798 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
11799
11800 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
11801 * sysdeps/powerpc/ifunc-sel.h: ... here.
11802 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
11803 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
11804
11805 * sysdeps/sparc/elf/configure.in: Moved to ...
11806 * sysdeps/sparc/configure.in: ... here.
11807 * sysdeps/sparc/elf/configure: Delete file.
11808 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
11809 * sysdeps/sparc/sparc32/start.S: ... here.
11810 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
11811 * sysdeps/sparc/sparc64/start.S: ... here.
11812 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
11813 * sysdeps/sparc/sparc32/Makefile: ... this.
11814 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
11815 * sysdeps/sparc/sparc64/Makefile: ... this.
11816
11817 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
11818 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
11819 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
11820 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
11821 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
11822 * sysdeps/s390/s390-32/setjmp.S: ... here.
11823 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
11824 * sysdeps/s390/s390-32/configure.in: ... here.
11825 * sysdeps/s390/s390-32/elf/configure: Delete file.
11826 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
11827 * sysdeps/s390/s390-32/start.S: ... here.
11828
11829 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
11830 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
11831 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
11832 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
11833 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
11834 * sysdeps/s390/s390-64/setjmp.S: ... here.
11835 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
11836 * sysdeps/s390/s390-64/configure.in: ... here
11837 * sysdeps/s390/s390-64/elf/configure: Delete file.
11838 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
11839 * sysdeps/s390/s390-64/start.S: ... here.
11840 * sysdeps/s390/s390-64/elf/configure: Delete.
11841
11842 * configure.in: Remove support for elf directories in sysdeps.
11843
11844 * configure: Regenerated.
11845 * sysdeps/i386/configure: Regenerated.
11846 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11847 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11848 * sysdeps/s390/s390-32/configure: Regenerated.
11849 * sysdeps/s390/s390-64/configure: Regenerated.
11850 * sysdeps/sh/configure: Regenerated.
11851 * sysdeps/sparc/configure: Regenerated.
11852 * sysdeps/x86_64/configure: Regenerated.
11853
a3f61311
AS
118542012-03-26 Andreas Schwab <schwab@linux-m68k.org>
11855
c876e002
AS
11856 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11857
a3f61311
AS
11858 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
11859 denormal result into account.
11860
ac4c54f0
RM
118612012-03-25 Roland McGrath <roland@hack.frob.com>
11862
11863 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
11864 Reported by Allan McRae <allan@archlinux.org>.
11865
6a9b9c02
JL
118662012-03-23 Jeff Law <law@redhat.com>
11867
11868 * nss/getnssent.c (__nss_getent): Fix typo.
11869
4c42a0c1
DM
118702012-03-23 David S. Miller <davem@davemloft.net>
11871
11872 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11873
1532c7ac
L
118742012-03-23 H.J. Lu <hongjiu.lu@intel.com>
11875
11876 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
11877 to pad to uint64_t for each field.
11878 (dl_tls_index): Replace unsigned long with uint64_t.
11879
3ff42526
PP
118802012-03-23 Daniel Jacobowitz <dmj@google.com>
11881 Paul Pluzhnikov <ppluzhnikov@google.com>
11882
11883 [BZ #6528]
11884 * grp/Makefile (otherlibs): Don't set it.
11885 * inet/Makefile (otherlibs): Likewise.
11886 * login/Makefile (otherlibs): Likewise.
11887 * nscd/Makefile (otherlibs): Likewise.
11888 * posix/Makefile (otherlibs): Likewise.
11889 * pwd/Makefile (otherlibs): Likewise.
11890 * rt/Makefile (otherlibs): Likewise.
11891 * sunrpc/Makefile (otherlibs): Likewise.
11892 * nss/Makefile (otherlibs): Likewise.
11893 Add libnss_files to routines and static-only-routines.
11894 ($(objpfx)getent): Remove rule.
11895 * resolv/Makefile: Add libnss_dns and libresolv to routines and
11896 static-only-routines.
11897
7c69cd14
JM
118982012-03-22 Joseph Myers <joseph@codesourcery.com>
11899
11900 [BZ #13892]
11901 * math/s_cexp.c: Include <float.h>.
11902 (__cexp): Handle exp result overflowing not necessarily
11903 overflowing both real and imaginary parts of result.
11904 * math/s_cexpf.c: Likewise.
11905 * math/s_cexpl.c: Likewise.
11906 * math/libm-test.inc (cexp_test): Add more tests.
11907 * sysdeps/i386/fpu/libm-test-ulps: Update.
11908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11909
81b035fe
L
119102012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11911
11912 * include/link.h (ELFW): New macro.
11913 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
11914 Replace ELF64_R_TYPE with ELFW(R_TYPE).
11915
1da7940c
L
119162012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11917
11918 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
11919 with uint64_t.
11920
b749dbb9
L
119212012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11922
11923 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
11924 declaration.
11925 (struct La_x32_retval): Likewise.
11926
2ff87f3f
L
119272012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11928
11929 * sysdeps/x86_64/preconfigure.in: New file.
11930 * sysdeps/x86_64/preconfigure: New generated file.
11931
c0df8e69
JM
119322012-03-22 Joseph Myers <joseph@codesourcery.com>
11933
48e44791
JM
11934 [BZ #13824]
11935 * math/e_exp2l.c: Include <float.h>.
11936 (__ieee754_exp2l): Handle overflow and underflow cases
11937 separately. Only pass fractional part of argument to
11938 __ieee754_expl.
11939 * math/libm-test.inc (exp2_test): Add more tests.
11940
c0df8e69
JM
11941 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
11942 negating x to take absolute value.
11943 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
11944 Likewise.
11945 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11946 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
11947 Likewise.
11948 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
11949 computing low part if x was negated.
11950 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11951
c8e43ba7
L
119522012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11953
11954 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
11955 la_x32_gnu_pltexit.
11956 (pltexit): Cast int_retval to ptrdiff_t.
11957 * elf/tst-auditmod3b.c: Likewise.
11958 * elf/tst-auditmod4b.c: Likewise.
11959 * elf/tst-auditmod5b.c: Likewise.
11960 * elf/tst-auditmod6b.c: Likewise.
11961 * elf/tst-auditmod6c.c: Likewise.
11962 * elf/tst-auditmod7b.c: Likewise.
11963
11964 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
11965 and x32_gnu_pltexit.
11966
11967 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
11968 __ELF_NATIVE_CLASS.
11969 (La_x32_regs): New macro.
11970 (La_x32_retval): Likewise.
11971 (la_x32_gnu_pltenter): New function prototype.
11972 (la_x32_gnu_pltexit): Likewise.
11973
7998fa78
AS
119742012-03-21 Andreas Schwab <schwab@linux-m68k.org>
11975
dcb33988
AS
11976 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
11977 exponent.
11978
233fc563
AS
11979 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11980
7998fa78
AS
11981 * configure.in (libc_cv_cc_nofma): Check for option to disable
11982 generation of FMA instructions.
11983 * configure: Regenerate.
11984 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
11985 * sysdeps/ieee754/dbl-64/Makefile: New file.
11986 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
11987 Remove brandred-fma4.
11988 (CFLAGS-brandred-fma4.c): Remove.
11989 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
11990 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
11991 define.
11992 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
11993 define.
11994
8e95c99a
L
119952012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11996
11997 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11998 LLONG_MAX != LONG_MAX.
11999 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12000 (_fitoa_word): Likewise.
12001 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12002 LLONG_MAX != LONG_MAX.
12003 * stdio-common/_itowa.h: Include <_itoa.h>.
12004 (_itowa_word): Use _ITOA_WORD_TYPE on value.
12005 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
12006 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
12007 only if not defined.
12008 (_ITOA_WORD_TYPE): Likewise.
12009 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12010 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12011
6f4db457
DM
120122012-03-21 David S. Miller <davem@davemloft.net>
12013
12014 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12015
7785fe5a
L
120162012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12017
12018 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12019 of x86_64 when setting libc_cv_slibdir, libdir and
12020 libc_cv_localedir.
12021 * sysdeps/unix/sysv/linux/configure: Regenerated.
12022
4535cd55
JM
120232012-03-21 Joseph Myers <joseph@codesourcery.com>
12024
12025 * manual/lang.texi (Old Varargs): Remove section.
12026 (How Variadic): Update menu.
12027 (va_start): Do not mention varargs.h.
12028
17228132
TS
120292012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12030 Joseph Myers <joseph@codesourcery.com>
12031
12032 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12033 link test.
12034 * configure: Regenerated.
12035
8149f976
TS
120362012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12037
05f3d1f6
UD
12038 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12039 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12040 conformtest.pl
8149f976 12041
1a4ac776
JM
120422012-03-21 Joseph Myers <joseph@codesourcery.com>
12043
be22ce65
JM
12044 * NOTES: Remove.
12045 * Makefile (files-for-dist): Remove NOTES.
12046 (NOTES): Remove rule.
12047 * README: Don't refer to NOTES.
12048 * manual/creature.texi: Don't include macros.texi.
12049 * manual/intro.texi (creature.texi): Remove comment referring to
12050 NOTES.
12051
40b601fb
JM
12052 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12053 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12054 * configure: Regenerated.
12055 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12056 LIBC_TRY_CC_OPTION.
12057 (libc_cv_as_i686): Likewise.
12058 (libc_cv_cc_avx): Likewise.
12059 (libc_cv_cc_sse2avx): Likewise.
12060 (libc_cv_cc_fma4): Likewise.
12061 (libc_cv_cc_novzeroupper): Likewise.
12062 * sysdeps/i386/configure: Regenerated.
12063
1a4ac776
JM
12064 [BZ #13883]
12065 * sysdeps/i386/fpu/s_cexp.S: Remove.
12066 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12067 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12068 * math/libm-test.inc (cexp_test): Add more tests.
12069 * sysdeps/i386/fpu/libm-test-ulps: Update.
12070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12071
a458e7fe
AM
120722012-03-21 Allan McRae <allan@archlinux.org>
12073
12074 * timezone/Makefile: Do not install iso3166.tab and zone.tab
12075
0cb7efc5
JM
120762012-03-21 Joseph Myers <joseph@codesourcery.com>
12077
12078 [BZ #13871]
12079 * math/w_exp2.c: Do not include <float.h>.
12080 (o_threshold, u_threshold): Remove.
12081 (__exp2): Calculate result before checking finiteness and calling
12082 __kernel_standard.
12083 * math/w_exp2f.c: Likewise.
12084 * math/w_exp2l.c: Likewise.
12085 * math/libm-test.inc (exp2_test): Require overflow exception for
12086 1e6 input.
2460d3aa
JM
12087
12088 [BZ #3866]
12089 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12090 range of signed 64-bit integers before using fistpll. Remove
12091 checks for whether integers fit in mantissa bits.
12092 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12093 the range of signed 32-bit integers before using fistpl. Remove
12094 checks for whether integers fit in mantissa bits.
12095 * sysdeps/i386/fpu/e_powl.S (p64): New object.
12096 (__ieee754_powl): Test for y outside the range of signed 64-bit
12097 integers before using fistpll. Reduce 64-bit values to 63-bit
12098 ones as needed.
12099 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12100 divide-by-zero is raised for zero to large negative powers.
12101 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12102 (__ieee754_powl): Test for y outside the range of signed 64-bit
12103 integers before using fistpll. Reduce 64-bit values to 63-bit
12104 ones as needed.
12105 * math/libm-test.inc (pow_test): Add more tests.
12106
eb96ffb0
L
121072012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12108
12109 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12110 <stdio-common/_itoa.h>.
12111 * debug/segfault.c: Likewise.
12112 * elf/dl-cache.c: Likewise.
12113 * elf/dl-minimal.c: Likewise.
12114 * elf/dl-misc.c: Likewise.
12115 * elf/dl-sysdep.c: Likewise.
12116 * elf/dl-version.c: Likewise.
12117 * elf/rtld.c: Likewise.
12118 * hurd/hurdsock.c: Likewise.
12119 * hurd/lookup-retry.c: Likewise.
12120 * malloc/malloc.c: Likewise.
12121 * malloc/mtrace.c: Likewise.
12122 * nscd/nscd_getgr_r.c: Likewise.
12123 * nscd/nscd_getpw_r.c: Likewise.
12124 * nscd/nscd_getserv_r.c: Likewise.
12125 * posix/getopt_init.c: Likewise.
12126 * posix/wordexp.c: Likewise.
12127 * stdio-common/_itoa.c: Likewise.
12128 * stdio-common/printf_fphex.c: Likewise.
12129 * stdio-common/vfprintf.c: Likewise.
12130 * string/_strerror.c: Likewise.
12131 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12132 * sysdeps/i386/i686/hp-timing.h: Likewise.
12133 * sysdeps/mach/_strerror.c: Likewise.
12134 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12135 * sysdeps/mach/hurd/sethostid.c: Likewise.
12136 * sysdeps/mach/hurd/xmknodat.c: Likewise.
12137 * sysdeps/mach/xpg-strerror.c: Likewise.
12138 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12139 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12140 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12141 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12142 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12143 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12144 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12145 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12146 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12147 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12148 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12149 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12150 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12151 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12152 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12153 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12154 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12155 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12156 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12157 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12158 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
12159
12160 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
12161
12162 * stdio-common/_itoa.h: Moved to ...
12163 * sysdeps/generic/_itoa.h: Here.
12164
12165 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
12166
12167 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
12168 instead of "_itoa.h" and "_itowa.h".
12169 * stdio-common/vfprintf.: Likewise.
12170
d1af992d
L
121712012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12172
12173 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
12174 <bits/wordsize.h>.
12175 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
12176 (__signbit): Likwise.
12177 (llrintf): Likwise.
12178 (llrint): Likwise.
12179
114883e0
L
121802012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12181
12182 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
12183 __WORDSIZE != 64.
12184
c135cc1b
JM
121852012-03-20 Joseph Myers <joseph@codesourcery.com>
12186
12187 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
12188 OVERFLOW_EXCEPTION_OK.
12189 * math/libm-test.inc ("Philosophy"): Update comment about
12190 exception testing.
12191 (OVERFLOW_EXCEPTION): Define.
12192 (OVERFLOW_EXCEPTION_OK): Likewise.
12193 (INVALID_EXCEPTION_OK): Renumber.
12194 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12195 (IGNORE_ZERO_INF_SIGN): Likewise.
12196 (test_exceptions): Handle FE_OVERFLOW.
12197 (exp10_test): Expect overflow exceptions.
12198 (exp2_test): Likewise.
12199 (expm1_test): Likewise.
12200 (nextafter_test): Likewise.
12201 (pow_test): Likewise.
12202 (scalbn_test): Likewise.
12203 (scalbln_test): Likewise.
12204
95443d88
L
122052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12206
12207 * sysdeps/x86_64/bits/atomic.h
12208 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
12209 64bit integer.
12210 (atomic_exchange_acq): Likewise.
12211 (__arch_exchange_and_add_body): Likewise.
12212 (__arch_add_body): Likewise.
12213 (atomic_add_negative): Likewise.
12214 (atomic_add_zero): Likewise.
12215
490df6c4
L
122162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12217
c2722551 12218 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
12219 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
12220
5e52b189
L
122212012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12222
12223 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
12224 Check __x86_64__ instead of __WORDSIZE.
12225
a9879d4c
L
122262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12227
12228 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
12229
5df98260
DM
122302012-03-19 David S. Miller <davem@davemloft.net>
12231
e1497744
DM
12232 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12233
5df98260
DM
12234 * sysdeps/sparc/fpu/fenv_private.h: New file.
12235 * sysdeps/sparc/fpu/math_private.h: Use it.
12236 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
12237 Remove.
12238 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12239 (libc_feholdexcept_setroundl): Remove.
12240 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
12241 Remove.
12242 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
12243 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
12244
b4c35121
L
122452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12246
12247 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
12248 int64_t instead of long int.
12249 (INSERT_WORDS64): Likwise.
12250
56965fd7
L
122512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12252
12253 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12254 _Unwind_GetCFA return to _Unwind_Ptr first.
12255
83d1aec8
JM
122562012-03-19 Joseph Myers <joseph@codesourcery.com>
12257
1897ad44
JM
12258 [BZ #13629]
12259 * math/s_clog.c: Include <float.h>.
12260 (__clog): Scale large or subnormal inputs.
12261 * math/s_clogf.c: Likewise.
12262 * math/s_clogl.c: Likewise.
12263 * math/s_clog10.c: Include <float.h>.
12264 (M_LOG10_2): Define.
12265 (__clog10): Scale large or subnormal inputs.
12266 * math/s_clog10f.c: Likewise.
12267 * math/s_clog10l.c: Likewise.
12268 * math/libm-test.inc (clog_test): Add more tests.
12269 (clog10_test): Likewise.
12270 * sysdeps/i386/fpu/libm-test-ulps: Update.
12271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12272
7726d6a9
JM
12273 [BZ #11451]
12274 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12275 x and y.
12276 * math/libm-test.inc (atan2_test): Add another test.
12277
83d1aec8
JM
12278 * Makerules (common-objdir-compile): Remove.
12279 * sysdeps/unix/Makefile (config-generated): Do not add
12280 $(unix-generated) to variable.
12281 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12282 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
12283 Remove rule.
12284 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
12285 Likewise.
12286 [generic bits/local_lim.h] (before-compile): Do not append to
12287 variable.
12288 [generic bits/local_lim.h] (common-generated): Likewise.
12289 [generic sys/param.h] (before-compile): Do not append to variable.
12290 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
12291 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
12292 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
12293 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
12294 include.
12295 [generic sys/param.h] (sys/param.h-includes): Remove variable.
12296 [generic sys/param.h] (sys/param.h-includes): Remove rule.
12297 [generic sys/param.h] ($(addprefix
12298 $(common-objpfx),$(sys/param.h-includes))): Likewise.
12299 [generic sys/param.h] (common-generated): Do not append to
12300 variable.
12301 [generic sys/param.h] (sysdep_headers): Likewise.
12302 [generic bits/errno.h] (before-compile): Do not append to
12303 variable.
12304 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12305 rule.
12306 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12307 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12308 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12309 [generic bits/errno.h] (common-generated): Do not append to
12310 variable.
12311 [generic bits/ioctls.h] (before-compile): Do not append to
12312 variable.
12313 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12314 rule.
12315 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12316 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12317 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12318 rule.
12319 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12320 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
12321 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
12322 [generic bits/ioctls.h] (common-generated): Do not append to
12323 variable.
12324 [generic sys/syscall.h] (syscall.h): Remove variable.
12325 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
12326 rule.
12327 [generic sys/syscall.h] (before-compile): Do not append to
12328 variable.
12329 [generic sys/syscall.h] (common-generated): Likewise.
12330 * sysdeps/unix/errnos-tmpl.c: Remove file.
12331 * sysdeps/unix/errnos.awk: Likewise.
12332 * sysdeps/unix/ioctls-tmpl.c: Likewise.
12333 * sysdeps/unix/ioctls.awk: Likewise.
12334 * sysdeps/unix/mk-local_lim.c: Likewise.
12335 * sysdeps/unix/snarf-ioctls: Likewise.
12336
4851a949
RH
123372012-03-19 Richard Henderson <rth@twiddle.net>
12338
bd37f2ee
RH
12339 * sysdeps/i386/fpu/fenv_private.h: New file.
12340 * sysdeps/i386/fpu/math_private.h: Use it.
12341 (math_opt_barrier, math_force_eval): Remove.
12342 (libc_feholdexcept_setround_53bit): Remove.
12343 (libc_feupdateenv_53bit): Remove.
12344 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12345 (math_opt_barrier, math_force_eval): Remove.
12346 (libc_feholdexcept): Remove.
12347 (libc_feholdexcept_setround): Remove.
12348 (libc_fetestexcept, libc_fesetenv): Remove.
12349 (libc_feupdateenv_test): Remove.
12350 (libc_feupdateenv, libc_feholdsetround): Remove.
12351 (libc_feresetround): Remove.
12352
d0adc922
RH
12353 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
12354 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12355
0fe0f1f8
RH
12356 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
12357 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
12358 (libc_feupdateenv_testl): New.
12359 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
12360 (libc_feupdateenv_testf): New.
12361 (libc_feupdateenv): Use libc_feupdateenv_test.
12362 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
12363 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
12364
eb92c487
RH
12365 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
12366 (libc_feholdsetroundf, libc_feholdsetroundl): New.
12367 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
12368 (libc_feresetround_noex): New.
12369 (libc_feresetround_noexf): New.
12370 (libc_feresetround_noexl): New.
12371 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
12372 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
12373 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
12374 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
12375 SET_RESTORE_ROUND.
12376 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12377 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
12378 (__cos): Likewise.
12379 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
12380 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12381 SET_RESTORE_ROUND_NOEX.
12382 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
12383 SET_RESTORE_ROUND_NOEXF.
12384 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
12385 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
12386 (libc_feholdsetroundf): New.
12387 (libc_feresetround, libc_feresetroundf): New.
12388
7d2e8012
RH
12389 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
12390 (libc_feholdexcept_setround_53bit): Convert from macro to function.
12391 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
12392
b4dabbb4
RH
12393 * sysdeps/generic/math_private.h: Include <fenv.h>.
12394 (default_libc_feholdexcept): New.
12395 (default_libc_feholdexcept_setround): New.
12396 (default_libc_fesetenv, default_libc_feupdateenv): New.
12397 (libc_feholdexcept): Only define if undefined.
12398 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
12399 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
12400 (libc_feholdexcept_setroundl): Likewise.
12401 (libc_feholdexcept_setround_53bit): Likewise.
12402 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
12403 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
12404 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
12405 (libc_feupdateenv_53bit): Likewise.
12406 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
12407 (libc_feholdexcept): Convert from macro to inline function.
12408 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
12409 (libc_fesetenv, libc_feupdateenv): Likewise.
12410
4851a949
RH
12411 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
12412 not previously defined.
12413 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
12414 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
12415 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
12416 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
12417 * sysdeps/ieee754/flt-32/math_private.h: New file.
12418 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
12419 math_private.h below SET_FLOAT_WORD.
12420 (__isnan, __isinf_ns, __finite): Remove.
12421 (__isnanf, __isinf_nsf, __finitef): Remove.
12422
e79d442e
AS
124232012-03-18 Andreas Schwab <schwab@linux-m68k.org>
12424
12425 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12426
90b80344
DM
124272012-03-17 David S. Miller <davem@davemloft.net>
12428
12429 [BZ #6471]
12430 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
12431 for 2.16.
12432
edc21804
DM
124332012-03-16 David S. Miller <davem@davemloft.net>
12434
77e927af
DM
12435 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
12436 warnings.
12437
374976dd
DM
12438 [BZ #6471]
12439 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
12440 properly.
12441 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
12442 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
12443 sysdep_routines when subdir is sysvipc.
12444 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
12445 __getshmlba helper.
12446
edc21804
DM
12447 * sysdeps/sparc/fpu/libm-test/ulps: Update.
12448
473c3ef3
L
124492012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12450
12451 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
12452 [__LP64__].
12453
eb0f39b6
L
124542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12455
12456 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
12457 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
12458 (__lround): Renamed to ...
12459 (__llround): This. Replace long int with long long int.
12460 Define lround functions as aliases of llround functions.
12461 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
12462
6b6cd74b
L
124632012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12464
12465 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
12466 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
12467 adresses to uintptr_t. Replace "long int" and "unsigned long
12468 int" with "greg_t" on va_arg.
12469
f1a77b01
L
124702012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12471
12472 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
12473 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
12474
12475 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
12476 Move e_machine check before EI_CLASS check. Handle x32
12477 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
12478 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
12479 SKIP_EM_IA_64 and include
12480 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
12481
12482 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
12483 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
12484 (add_system_dir): New macro.
12485
12486 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
12487 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
12488
11b90b9f
JM
124892012-03-16 Joseph Myers <joseph@codesourcery.com>
12490
c36e1d23
JM
12491 [BZ #2551]
12492 [BZ #2552]
12493 [BZ #2553]
12494 [BZ #2554]
12495 [BZ #2562]
12496 [BZ #2563]
12497 [BZ #2565]
12498 [BZ #2566]
12499 [BZ #2576]
12500 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
12501 (y0): Likewise.
12502 * math/w_j0f.c (j0f): Likewise.
12503 (y0f): Likewise.
12504 * math/w_j0l.c (__j0l): Likewise.
12505 (__y0l): Likewise.
12506 * math/w_j1.c (j1): Likewise.
12507 (y1): Likewise.
12508 * math/w_j1f.c (j1f): Likewise.
12509 (y1f): Likewise.
12510 * math/w_j1l.c (__j1l): Likewise.
12511 (__y1l): Likewise.
12512 * math/w_jn.c (jn): Likewise.
12513 (yn): Likewise.
12514 * math/w_jnf.c (jnf): Likewise.
12515 (ynf): Likewise.
12516 * math/w_jnl.c (__jnl): Likewise.
12517 (__ynl): Likewise.
12518 * math/libm-test.inc (j0_test): Add more tests.
12519 (j1_test): Likewise.
12520 (jn_test): Likewise. Add trailing semicolon to existing test.
12521 (y0_test): Likewise.
12522 (y1_test): Likewise.
12523 * sysdeps/i386/fpu/libm-test-ulps: Update.
12524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12525
11b90b9f
JM
12526 [BZ #13851]
12527 [BZ #13854]
12528 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12529 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
12530 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
12531 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
12532 (__tanl): Set errno for infinite argument.
12533 * sysdeps/i386/fpu/mptan.c: Remove.
12534 * sysdeps/i386/fpu/s_tan.S: Likewise.
12535 * sysdeps/i386/fpu/s_tanl.S: Likewise.
12536 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
12537 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
12538 * math/libm-test.inc (tan_test): Add more tests and enable more
12539 tests for double and long double.
12540 * sysdeps/i386/fpu/libm-test-ulps: Update.
12541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12542
6a1bd2a1
JK
125432012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12544
12545 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
12546 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
12547
10a803e0
RM
125482012-03-16 Roland McGrath <roland@hack.frob.com>
12549
12550 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
12551 * configure.in: Use it for both main tree and add-ons.
12552 * configure: Regenerated.
12553
f196c7f7
L
125542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12555
12556 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
12557
8848d99d
JM
125582012-03-16 Joseph Myers <joseph@codesourcery.com>
12559
96cbe7f4
JM
12560 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
12561 in comment.
12562
8848d99d
JM
12563 [BZ #13851]
12564 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
12565 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
12566 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12567 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
12568 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
12569 infinite argument.
12570 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
12571 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
12572 != 0 for prec == 2.
12573 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
12574 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
12575 * sysdeps/i386/fpu/s_cosl.S: Likewise.
12576 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
12577 * sysdeps/i386/fpu/s_sinl.S: Likewise.
12578 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
12579 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
12580 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
12581 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
12582 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
12583 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
12584 * math/libm-test.inc (cos_test): Add more tests and enable more
12585 tests for long double.
12586 (sin_test): Likewise.
12587 (sincos_test): Likewise.
12588 * sysdeps/i386/fpu/libm-test-ulps: Update.
12589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12590
dd7f4703
DM
125912012-03-16 David S. Miller <davem@davemloft.net>
12592
12593 * sysdeps/sparc/fpu/math_private.h: New file.
12594
006f1daa
DM
125952012-03-15 David S. Miller <davem@davemloft.net>
12596
c0c83bc8
DM
12597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
12598 file.
e6a62e18 12599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
12600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
12601 file.
e6a62e18
DM
12602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
12603 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
12604 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
12605 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
12606 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
12607 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
12608 sysdep routines.
12609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12610
88cb87d9
DM
12611 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
12612 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
12613
006f1daa 12614 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
12615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
12616 sparc-ifunc.h
006f1daa 12617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
12618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
12619 Likewise.
12620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
12621 Likewise.
006f1daa
DM
12622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
12623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
12624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
12625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12626 Likewise.
006f1daa
DM
12627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
12629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
12631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
12632 Likewise.
12633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
12634 Likewise.
006f1daa
DM
12635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
12637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
12638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
12639 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12640 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12641 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
12642 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
12643 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12644 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12645 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
12646 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
12647 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
12648 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
12649 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
12650 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
12651 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
12652 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
12653 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
12654 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
12655 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
12656 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
12657 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
12658 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
12659
11e0098e
AS
126602012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12661
12662 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
12663 scaling.
12664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12665
e85b09d0
AJ
126662012-03-15 Andreas Jaeger <aj@suse.de>
12667
12668 [BZ #13852]
12669 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
12670 ieee754/flt-32 implementation for sin, cos and sincos.
12671 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
12672 * sysdeps/i386/fpu/s_cosf.S: Likewise.
12673 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
12674 * sysdeps/i386/fpu/s_sinf.S: Likewise.
12675 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
12676 ieee754/flt-32 implementation for tan.
12677
12678 * math/libm-test.inc (cos_test): Enable some large input tests for
12679 float as well
12680 (sin_test): Likewise.
12681 (sincos_test): Likewise.
12682 (tan_test): Add tests for large input.
12683
12684 * sysdeps/i386/fpu/libm-test-ulps: Update.
12685
81c64153
AJ
126862012-03-15 Andreas Jaeger <aj@suse.de>
12687
12688 [BZ #13658]
12689 * math/libm-test.inc (cos_test): Add more test cases.
12690 (sin_test): Likewise.
12691 (sincos_test): Likewise.
12692
7bbfa5c6
AJ
126932012-03-15 Andreas Jaeger <aj@suse.de>
12694
12695 [BZ #13837]
12696 * math/libm-test.inc (cos_test): Add a test case for large input
12697 value.
12698 (sin_test): Likewise.
12699 (sincos_test): Likewise.
12700
127012012-03-15 Andreas Jaeger <aj@suse.de>,
12702 Joseph Myers <joseph@codesourcery.com>
12703
12704 [BZ #13658]
0671f479 12705 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
12706 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
12707 * sysdeps/i386/fpu/branred.c: Likewise.
12708 * sysdeps/i386/fpu/dosincos.c: Likewise.
12709 * sysdeps/i386/fpu/mpa.c: Likewise.
12710 * sysdeps/i386/fpu/s_cos.S: Likewise.
12711 * sysdeps/i386/fpu/s_sin.S: Likewise.
12712 * sysdeps/i386/fpu/s_sincos.S: Likewise.
12713 * sysdeps/i386/fpu/sincos32.c: Likewise.
12714
12715 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
12716 Define.
12717 (libc_feupdateenv_53bit): Define.
12718 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
12719 Define.
12720 (libc_feupdateenv_53bit): Define.
12721
12722 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
12723 53 bit (without extend i386 double precision).
12724
12725 * math/libm-test.inc (sincos_test): Add tests for large input.
12726 (sin): Likewise.
12727 (cos): Likewise.
12728
12729 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12730
9cad04ea
AS
127312012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12732
12733 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12734
f7062b9a
DM
127352012-03-15 David S. Miller <davem@davemloft.net>
12736
12737 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
12738 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
12739 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
12740 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
12741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
12742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
12743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
12744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
12745 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
12746 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
12747 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
12748 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
12749 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
12750 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
12751 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
12752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
12753 file.
f7062b9a 12754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
12755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
12756 file.
f7062b9a 12757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
12758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
12759 file.
f7062b9a 12760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
12761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
12762 file.
f7062b9a
DM
12763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
12764 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
12765 fmin/fmax sysdep routines.
12766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12767
7bd951ff
DM
127682012-03-14 David S. Miller <davem@davemloft.net>
12769
559398ab
DM
12770 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
12771 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
12772 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
12773 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
12774 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
12775 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
12776 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
12777 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
12778 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
12779 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
12780 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
12781 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
12782 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
12783 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
12784 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
12785 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
12786 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
12787 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
12788 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
12789 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
12790 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
12791 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
12792 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
12793 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
12794 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
12795 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
12796 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
12797 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
12798 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
12799 routines.
12800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
12801 file.
559398ab 12802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
12803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
12804 file.
559398ab 12805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
12806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
12807 file.
559398ab 12808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
12809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
12810 file.
559398ab 12811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
12812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
12813 file.
559398ab 12814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
12815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
12816 file.
12817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
12818 file.
12819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
12820 file.
12821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
12822 file.
12823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
12824 New file.
12825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
12826 file.
12827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
12828 file.
559398ab 12829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
12830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
12831 file.
559398ab 12832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
12833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
12834 file.
559398ab 12835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
12836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
12837 file.
559398ab 12838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
12839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
12840 VIS3 routines.
559398ab
DM
12841
12842 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12843 New file.
12844
5a1c1e32
DM
12845 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12846
eae47a36
DM
12847 * sysdeps/sparc/configure.in: New file.
12848 * sysdeps/sparc/configure: Generate.
12849 * configure.in (libc_cv_sparc_as_vis3): Substitute.
12850 * configure: Regenerate.
12851 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
12852 * config.make.in (have-as-vis3): New.
12853 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
12854 available use -Av9d instead of -Av9a.
12855 * sysdeps/sparc/sparc64/Makefile: Likewise.
12856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
12857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
12858 New file.
12859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
12860 file.
12861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
12862 New file.
12863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
12864 file.
eae47a36
DM
12865 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
12866 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
12867 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
12868 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
12869 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
12870
c0c83bc8
DM
12871 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
12872 fzeros/fnegs to load 0x80000000 into a float register instead of
12873 using the stack.
7bd951ff
DM
12874 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
12875
bd951ccb
JM
128762012-03-14 Joseph Myers <joseph@codesourcery.com>
12877
12878 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12879 bits/syscall.h.
12880 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
12881 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
12882 ($(inst_includedir)/bits/syscall.h): Remove rule.
12883 ($(objpfx)bits/syscall.d): Include instead of
12884 $(objpfx)syscall-list.d.
12885 (generated): Change syscall-list.h and syscall-list.d to
12886 bits/syscall.h and bits/syscall.d.
12887
bb4e6db2
RM
128882012-03-14 Roland McGrath <roland@hack.frob.com>
12889
12890 [BZ #13846]
12891 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
12892
aa4a2ae1
JM
128932012-03-14 Joseph Myers <joseph@codesourcery.com>
12894
e456826d
JM
12895 [BZ #13841]
12896 * math/s_csqrt.c: Include <float.h>.
12897 (__csqrt): Scale large or subnormal inputs.
12898 * math/s_csqrtf.c: Likewise.
12899 * math/s_csqrtl.c: Likewise.
12900 * math/libm-test.inc (csqrt_test): Add more tests.
12901 * sysdeps/i386/fpu/libm-test-ulps: Update.
12902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12903
aa4a2ae1
JM
12904 [BZ #13840]
12905 * math/libm-test.inc (hypot_test): Add more tests.
12906
7c10fd35
DM
129072012-03-13 David S. Miller <davem@davemloft.net>
12908
12909 [BZ #13840]
12910 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
12911 double-precision for the calculation instead of scaling.
12912
f453b98b
JM
129132012-03-13 Joseph Myers <joseph@codesourcery.com>
12914
12915 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
12916 manipulate bits before adding and subtracting TWO52[sx].
12917 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
12918 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
12919 Likewise.
12920 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
12921
09a3453f
DM
129222012-03-13 David S. Miller <davem@davemloft.net>
12923
8e59da90
DM
12924 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
12925 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
12926 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
12927 rtld-global-offsets.h
12928 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12929
2a8ab7f2
DM
12930 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
12931 large parameters.
12932
10f62770
DM
12933 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
12934
5f0bdb18
DM
12935 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
12936 'err' in the ifdef scope in which it is actually used.
12937
09a3453f
DM
12938 * nss/nss_db/db-init.c: Include string.h
12939
b4b2eb5e
DM
129402012-03-12 David S. Miller <davem@davemloft.net>
12941
98bb2f1c
DM
12942 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12943 masking out of the most significant byte of random value used.
12944 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12945 Fix coding style in previous change.
12946
b4b2eb5e
DM
12947 * sysdeps/unix/sysv/linux/kernel-features.h
12948 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
12949 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
12950 expression.
12951 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
12952 later.
12953
6e226b09
DM
129542012-03-11 David S. Miller <davem@davemloft.net>
12955
a1bcbd40
DM
12956 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12957 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
12958 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
12959 for 'resultvar' otherwise things get truncated on 64-bit.
12960
cb9d6174
DM
12961 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12962 Fix masking out of the most significant byte of random value used.
12963
6e226b09
DM
12964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12965
058c132d
AS
129662012-03-10 Andreas Schwab <schwab@linux-m68k.org>
12967
12968 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12969
2d2cd515
DM
129702012-03-09 David S. Miller <davem@davemloft.net>
12971
12972 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
12973 variables with appropriate CPP guards.
12974 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
12975 frame pointer, not the stack pointer. Correct layout comments. Fix test
12976 on resulting framesize and the management of the outregs buffer for pltexit.
12977 Preserve floating point return values across _dl_call_pltexit call.
12978 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
12979 framesize and the management of the outregs buffer for pltexit.
12980 Preserve floating point return values across _dl_call_pltexit
12981 call.
12982 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
12983 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
12984 (print_exit): Fix format string for return register value.
12985
9a07f9d0
JM
129862012-03-10 Joseph Myers <joseph@codesourcery.com>
12987
12988 * sunrpc/Makefile (others): Add rpcgen.
12989 ($(objpfx)rpcgen): Remove special build rule and dependency on
12990 libc.
12991 * sunrpc/rpcgen.c: New file.
12992
547b5e30
PE
129932012-03-09 Paul Eggert <eggert@cs.ucla.edu>
12994
c524201a
PE
12995 [BZ #13673]
12996 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
12997 * stdio-common/bug-vfprintf-nargs.c: Likewise.
12998 * sysdeps/i386/crti.S: Likewise.
12999 * sysdeps/i386/crtn.S: Likewise.
13000 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13001 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13002 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13003 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13004 * sysdeps/sh/crti.S: Likewise.
13005 * sysdeps/sh/crtn.S: Likewise.
13006 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13007
7b6235f2
PE
13008 [BZ #13673]
13009 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13010 with URL.
13011 * locale/programs/locfile-kw.gperf: Likewise.
13012 * locale/programs/charmap-kw.h: Regenerated.
13013 * locale/programs/locfile-kw.h: Likewise.
13014
547b5e30
PE
13015 [BZ #13673]
13016 * intl/plural.y: Replace FSF snail mail address with URL.
13017 * intl/plural.c: Regenerated.
13018
5f0a5dae
RH
130192012-03-09 Richard Henderson <rth@twiddle.net>
13020
13021 * include/math_private.h: Remove file.
13022 * math/math_private.h: Move file ...
13023 * sysdeps/generic/math_private.h: ... here.
13024
b8c03620
RH
13025 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13026 * sysdeps/powerpc/fpu/math_private.h: Likewise.
13027 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13028
4e234f5d 13029 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
13030 and <math_private.h>.
13031 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13032 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13033 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13034 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13035 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13036 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13037 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13038 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13039 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13040 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13041 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13042 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13043 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13044 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13045 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13046 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13047 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13048 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13049 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13050 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13051 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13052 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13053 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13054 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13055 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13056 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13057 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13058 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13059 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13060 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13061 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13062 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13063 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13064 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13065 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13066 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13067 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13068 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13069 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13070 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13071 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13072 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13073 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13074 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13075 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13076 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13077 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13078 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13079 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13080 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13081 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13082 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13083 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13084 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13085 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13086 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13087 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13088 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13089 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13090 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13091 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13092 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13093 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13094 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13095 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13096 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13097 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13098 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13099 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13100 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13101 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13102 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13103 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13104 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13105 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13106 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13107 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13108 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13109 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13110 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13111 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13112 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13113 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13114 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13115 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13116 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13117 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13118 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13119 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13120 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13121 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13122 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13123 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13124 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13125 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13126 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13127 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13128 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13129 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13130 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13131 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13132 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13133 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13134 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13135 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13136 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13137 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13138 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13139 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13140 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13141 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13142 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13143 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13144 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13145 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13146 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13147 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13148 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13149 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13150 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13151 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13152 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13153 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13154 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13155 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13156 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13157 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13158 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
13159 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13160 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13161 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13162 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13163 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13164 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13165 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13166 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13167 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13168 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13169 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
13170 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13171 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13172 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13173 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13174 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
13175 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
13176 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13177 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13178 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13179 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13180 * sysdeps/ieee754/k_standard.c: Likewise.
13181 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13182 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13183 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13184 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13185 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13186 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13187 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13188 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13189 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13190 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13191 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13192 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13193 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13194 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13195 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13196 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13197 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13198 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13199 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13200 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13201 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13202 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13203 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13204 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13205 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13206 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13207 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13208 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13209 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13210 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13211 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13212 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13213 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13214 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13215 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13216 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13217 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13218 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
13219 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13220 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13221 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13222 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13223 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13224 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13225 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13226 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13227 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13228 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13229 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13230 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13231 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13232 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13233 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13234 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13235 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13236 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13237 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
13238 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13239 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13240 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13241 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13242 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13243 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13244 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13245 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13246 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13247 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13248 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13249 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13250 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13251 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13252 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13253 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13254 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13255 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13256 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13257 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13258 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13259 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13260 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13261 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13262 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13263 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13264 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13265 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13266 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13267 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13268 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13269 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13270 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13271 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13272 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13273 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13274 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13275 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13276 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13277 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13278 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13279 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13280 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
13281 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13282 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13283 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13284 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13285 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
13286 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13287 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13288 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13289 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
13290 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13291 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13292 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13293 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13294 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13295 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13296 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13297 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13298 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13299 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13300 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13301 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13302 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13303 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13304 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13305 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13306 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13307 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13308 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13309 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13310 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13311 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13312 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13313 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13314 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13315 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13316 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13317 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13318 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13319 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13320 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13321 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13322 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13323 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13324 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13325 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13326 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13327 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13328 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13329 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13330 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
13331 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13332 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13333 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13334 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13335 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
13336 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
13337 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13338 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13339 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13340 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13341 * sysdeps/ieee754/s_lib_version.c: Likewise.
13342 * sysdeps/ieee754/s_matherr.c: Likewise.
13343 * sysdeps/ieee754/s_signgam.c: Likewise.
13344 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13345 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13346 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13347 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13348 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13349 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13350 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13351 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
13352 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
13353 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13354 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13355 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13356 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13357 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13358 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
13359 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13360 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13361 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13362 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13363 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13364 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 13365
1991fa03
JM
133662012-03-09 Joseph Myers <joseph@codesourcery.com>
13367
13368 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
13369 * sunrpc/rpc_main.c: Likewise.
13370 * sunrpc/rpc_svcout.c: Likewise.
13371
60d6f5a6
DM
133722012-03-09 David S. Miller <davem@davemloft.net>
13373
13374 * include/math_private.h: New file.
13375
4962050e
JM
133762012-03-09 Joseph Myers <joseph@codesourcery.com>
13377
02a6f887
JM
13378 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
13379 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
13380 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
13381 from <bits/socket_type.h>.
13382 (enum __socket_type): Don't define here.
13383 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
13384 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13385 bits/socket_type.h.
13386
c6e013c1
JM
13387 [BZ #13566]
13388 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
13389 checking __USE_GNU.
13390
4962050e
JM
13391 * Makerules ($(inst_includedir)/%.h): New rule.
13392 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
13393 (install-others): Remove variable setting.
13394 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
13395
38842f45
RH
133962012-03-08 Richard Henderson <rth@twiddle.net>
13397
67bb6da6
RH
13398 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
13399 from macro to inline function; merge with the
13400 !__LIBC_INTERNAL_MATH_INLINES version.
13401 (__ieee754_sqrtf): Likewise.
13402
15194b4b
RH
13403 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
13404 to inline function.
13405 (__rintf, __floor, __floorf): Likewise.
13406
64e21ede
RH
13407 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
13408 macro to inline function.
13409 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
13410
38842f45
RH
13411 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
13412 not <math/math_private.h>.
13413
c64bf5fe
DM
134142012-03-08 David S. Miller <davem@davemloft.net>
13415
13416 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
13417 copyright year.
13418 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13419
82d86f28
TS
134202012-03-08 Thomas Schwinge <thomas@codesourcery.com>
13421
13422 * resolv/gai_misc.c (handle_requests): Fix struct timespec
13423 normalization.
13424 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
13425 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13426
aea5d727
UD
134272012-03-08 Ulrich Drepper <drepper@gmail.com>
13428
13429 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
13430 be defined individually, they must be defined as a block. Define
13431 S for printing a string instead of hidint the different by using a
13432 macro for adding the 'l'.
13433 * stdio-common/tst-fphex-wide.c: Adjust.
13434
70bca0a3
MP
134352012-03-07 Marek Polacek <polacek@redhat.com>
13436
13437 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
13438
65b81130
MP
134392012-03-08 Marek Polacek <polacek@redhat.com>
13440
13441 [BZ #13806]
13442 * stdio-common/Makefile (tests): Add tst-fphex-wide.
13443 * stdio-common/tst-fphex.c: Define a few macros to make the
13444 test reusable. Use them.
13445 * stdio-common/tst-fphex-wide.c: New file.
13446
07037eeb
JM
134472012-03-08 Joseph Myers <joseph@codesourcery.com>
13448
a7a93d50
JM
13449 [BZ #6911]
13450 * manual/macros.texi (gnusystems): New macro.
13451 (nongnusystems): Likewise.
13452 (gnulinuxhurdsystems): Likewise.
13453 (gnuhurdsystems): Likewise..
13454 (gnulinuxsystems): Likewise.
13455 * manual/charset.texi: Use new macros or @theglibc{} to refer to
13456 variants of the GNU system, not "GNU system".
13457 * manual/conf.texi: Likewise.
13458 * manual/errno.texi: Likewise. Update example of errno macro
13459 expansion.
13460 * manual/filesys.texi: Likewise.
13461 (getumask): Document as specific to GNU/Hurd.
13462 * manual/install.texi: Likewise. Reword some references to
13463 GNU/Linux.
13464 * manual/intro.texi: Likewise.
13465 * manual/io.texi: Likewise.
13466 (File Name Portability): Detail which constraints are inapplicable
13467 to all GNU systems and which are only inapplicable to GNU/Hurd.
13468 * manual/job.texi: Likewise.
13469 * manual/llio.texi: Likewise.
13470 (O_NOCTTY): Document as present on GNU/Linux.
13471 * manual/maint.texi: Likewise.
13472 * manual/memory.texi: Likewise.
13473 * manual/pattern.texi: Likewise.
13474 * manual/pipe.texi: Likewise.
13475 * manual/process.texi: Likewise.
13476 * manual/resource.texi: Likewise.
13477 (RUSAGE_CHILDREN): Remove statement about specifying a particular
13478 child on GNU/Hurd.
13479 * manual/setjmp.texi: Likewise.
13480 * manual/signal.texi: Likewise.
13481 * manual/startup.texi: Likewise.
13482 * manual/stdio.texi: Likewise.
13483 * manual/terminal.texi: Likewise.
13484 (ONLCR): Document as POSIX.
13485 (OXTABS): Document availability on GNU/Linux as XTABS.
13486 (ONOEOT): Document availability separately from other bits.
13487 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
13488 * manual/time.texi: Likewise.
13489 * manual/users.texi: Likewise.
13490 * INSTALL: Regenerated.
13491 * sysdeps/gnu/errlist.c: Regenerated.
13492
07037eeb
JM
13493 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
13494 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
13495 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
13496 puts.
13497 * configure: Regenerated.
13498
d1d3431a
JM
134992012-03-07 Joseph Myers <joseph@codesourcery.com>
13500
af6a1e37
JM
13501 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
13502 default includes instead of AC_HEADER_CHECK.
13503 * sysdeps/i386/configure: Regenerated.
13504
d1d3431a
JM
13505 [BZ #10716]
13506 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
13507 * math/s_cacoshf.c (__cacoshf): Likewise.
13508 * math/s_cacoshl.c (__cacoshl): Likewise.
13509 * math/s_casinh.c (__casinh): Set signs of result from argument.
13510 * math/s_casinhf.c (__casinhf): Likewise.
13511 * math/s_casinhl.c (__casinhl): Likewise.
13512 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
13513 (casinh_test): Add more tests.
13514 * sysdeps/i386/fpu/libm-test-ulps: Update.
13515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13516
482ff4da
UD
135172012-03-07 Ulrich Drepper <drepper@gmail.com>
13518
872fda05
UD
13519 * po/zh_TW.po: Update from translation team.
13520
a4300c7a
UD
13521 * login/Makefile (distribute): Remove variable.
13522 * catgets/Makefile: Likewise.
13523 * mach/Makefile: Likewise.
13524 * malloc/Makefile: Likewise.
13525 * misc/Makefile: Likewise.
13526 * iconv/Makefile: Likewise.
13527 * nscd/Makefile: Likewise.
13528 * hurd/Makefile: Likewise.
13529 * manual/Makefile: Likewise.
13530 * locale/Makefile: Likewise.
13531 * intl/Makefile: Likewise.
13532 * conform/Makefile: Likewise.
13533 * nss/Makefile: Likewise.
13534 * time/Makefile: Likewise.
13535 * soft-fp/Makefile: Likewise.
13536 * dirent/Makefile: Likewise.
13537 * gmon/Makefile: Likewise.
13538 * po/Makefile: Likewise.
13539 * rt/Makefile: Likewise.
13540 * socket/Makefile: Likewise.
13541 * math/Makefile: Likewise.
13542 * signal/Makefile: Likewise.
13543 * debug/Makefile: Likewise.
13544 * elf/Makefile: Likewise.
13545 * timezone/Makefile: Likewise.
13546 * stdlib/Makefile: Likewise.
13547 * iconvdata/Makefile: Likewise.
13548 * sunrpc/Makefile: Likewise.
13549 * io/Makefile: Likewise.
13550 * argp/Makefile: Likewise.
13551 * inet/Makefile: Likewise.
13552 * hesiod/Makefile: Likewise.
13553 * grp/Makefile: Likewise.
13554 * csu/Makefile: Likewise.
13555 * wctype/Makefile: Likewise.
13556 * crypt/Makefile: Likewise.
13557 * libio/Makefile: Likewise.
13558 * string/Makefile: Likewise.
13559 * nis/Makefile: Likewise.
13560 * resolv/Makefile: Likewise.
13561 * stdio-common/Makefile: Likewise.
13562 * wcsmbs/Makefile: Likewise.
13563 * dlfcn/Makefile: Likewise.
13564 * posix/Makefile: Likewise.
13565
3b7c4e74 13566 [BZ #6959]
482ff4da
UD
13567 * timezone/Makefile: Don't install timezone files, just the programs
13568 and scripts.
13569
f72ed77d
UD
135702012-03-06 Ulrich Drepper <drepper@gmail.com>
13571
a000466f
UD
13572 * nss/databases.def: Add missing gshadow entry.
13573
f72ed77d
UD
13574 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
13575
a53b7a4e
MP
135762012-03-06 Marek Polacek <polacek@redhat.com>
13577
13578 [BZ #13726]
13579 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
13580 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13581 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
13582 * stdio-common/tst-long-dbl-fphex.c: New file.
13583
e9258400
DM
135842012-03-06 David S. Miller <davem@davemloft.net>
13585
13586 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13587 (set_obp_int): New function.
13588 (get_obp_int): New function.
13589 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
13590 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
13591 Avoid unused variable warnings on 'val' and use builtin_expect.
13592 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
13593 __builtin_expect.
e9258400
DM
13594 (INLINE_CLONE_SYSCALL): Likewise.
13595
3bd2c723
DM
135962012-03-05 David S. Miller <davem@davemloft.net>
13597
13598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13599
bbb78d03
AS
136002012-03-05 Andreas Schwab <schwab@linux-m68k.org>
13601
884c5db4
AS
13602 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13603
bbb78d03
AS
13604 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
13605 only for |x| >= 40.
13606 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13607
1c9f702a 136082012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
13609
13610 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
13611 Replace gettimeofday with __vdso_gettimeofday.
13612
7be16f82
RM
13613 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13614 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
13615 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
13616
13617 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
13618 time with __vdso_time.
13619
ed58a00f
JM
136202012-03-05 Joseph Myers <joseph@codesourcery.com>
13621
13622 * manual/lang.texi (size_t): Note types to which size_t may be
13623 equivalent with the GNU C Library, but do not describe when
13624 differences between them are significant.
13625
30ee4ced
AJ
136262012-03-05 Andreas Jaeger <aj@suse.de>
13627
13628 * sysdeps/i386/fpu/libm-test-ulps: Update.
13629
b7cd39e8
JM
136302012-03-05 Joseph Myers <joseph@codesourcery.com>
13631
13632 [BZ #3976]
13633 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
13634 (__ieee754_pow): Save and restore rounding mode and use
13635 round-to-nearest for main computations.
13636 * math/libm-test.inc (pow_test_tonearest): New function.
13637 (pow_test_towardzero): Likewise.
13638 (pow_test_downward): Likewise.
13639 (pow_test_upward): Likewise.
13640 (main): Call the new functions.
13641 * sysdeps/i386/fpu/libm-test-ulps: Update.
13642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
13643
13644 [BZ #3976]
13645 * math/libm-test.inc (cosh_test_tonearest): New function.
13646 (cosh_test_towardzero): Likewise.
13647 (cosh_test_downward): Likewise.
13648 (cosh_test_upward): Likewise.
13649 (sinh_test_tonearest): Likewise.
13650 (sinh_test_towardzero): Likewise.
13651 (sinh_test_downward): Likewise.
13652 (sinh_test_upward): Likewise.
13653 (main): Call the new functions.
13654 * sysdeps/i386/fpu/libm-test-ulps: Update.
13655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13656
6c6a98c9
TV
136572012-03-05 Tom de Vries <tom@codesourcery.com>
13658
13659 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
13660 default stack guard is set in last bytes.
13661 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
13662
21bb2d2e 136632012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 13664
21bb2d2e 13665 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 13666
21bb2d2e
AJ
13667 [BZ #13656]
13668 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
13669 possibly allocate from heap instead of stack.
13670 * stdio-common/bug-vfprintf-nargs.c: New file.
13671 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 13672
c6922934
AS
136732012-03-03 Andreas Schwab <schwab@linux-m68k.org>
13674
13675 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13676
bc957d53
MP
136772012-03-03 Marek Polacek <polacek@redhat.com>
13678
13679 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
13680 * math/math_private.h: Likewise.
13681 * stdlib/tst-strtod.c: Likewise.
13682 * sysdeps/i386/i486/bits/atomic.h: Likewise.
13683 * sysdeps/x86_64/bits/atomic.h: Likewise.
13684
6358490d
DM
136852012-03-02 David S. Miller <davem@davemloft.net>
13686
13687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
13688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
13689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
13690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
13691 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
13692 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
13693 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
13694 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
13695
01ae168d
RM
136962012-03-02 Roland McGrath <roland@hack.frob.com>
13697
d9a17c07
RM
13698 [BZ #13792]
13699 * manual/examples/README: New file, says the example source files
13700 can be used under GPL>=2.
13701 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
13702 line containing just "*/".
13703 * manual/examples/add.c: Add copyright header (GPL>=2).
13704 * manual/examples/argp-ex1.c: Likewise.
13705 * manual/examples/argp-ex2.c: Likewise.
13706 * manual/examples/argp-ex3.c: Likewise.
13707 * manual/examples/argp-ex4.c: Likewise.
13708 * manual/examples/atexit.c: Likewise.
13709 * manual/examples/db.c: Likewise.
13710 * manual/examples/dir.c: Likewise.
13711 * manual/examples/dir2.c: Likewise.
13712 * manual/examples/execinfo.c: Likewise.
13713 * manual/examples/filecli.c: Likewise.
13714 * manual/examples/filesrv.c: Likewise.
13715 * manual/examples/fmtmsgexpl.c: Likewise.
13716 * manual/examples/genpass.c: Likewise.
13717 * manual/examples/inetcli.c: Likewise.
13718 * manual/examples/inetsrv.c: Likewise.
13719 * manual/examples/isockad.c: Likewise.
13720 * manual/examples/longopt.c: Likewise.
13721 * manual/examples/memopen.c: Likewise.
13722 * manual/examples/memstrm.c: Likewise.
13723 * manual/examples/mkfsock.c: Likewise.
13724 * manual/examples/mkisock.c: Likewise.
13725 * manual/examples/mygetpass.c: Likewise.
13726 * manual/examples/pipe.c: Likewise.
13727 * manual/examples/popen.c: Likewise.
13728 * manual/examples/rprintf.c: Likewise.
13729 * manual/examples/search.c: Likewise.
13730 * manual/examples/select.c: Likewise.
13731 * manual/examples/setjmp.c: Likewise.
13732 * manual/examples/sigh1.c: Likewise.
13733 * manual/examples/sigusr.c: Likewise.
13734 * manual/examples/stpcpy.c: Likewise.
13735 * manual/examples/strdupa.c: Likewise.
13736 * manual/examples/strftim.c: Likewise.
13737 * manual/examples/strncat.c: Likewise.
13738 * manual/examples/subopt.c: Likewise.
13739 * manual/examples/swapcontext.c: Likewise.
13740 * manual/examples/termios.c: Likewise.
13741 * manual/examples/testopt.c: Likewise.
13742 * manual/examples/testpass.c: Likewise.
13743 * manual/examples/timeval_subtract.c: Likewise.
13744
01ae168d
RM
13745 [BZ #13792]
13746 * manual/time.texi (Elapsed Time): Move timeval_subtract example
13747 function to ...
13748 * manual/timeval_subtract.c.texi: ... here, new file.
13749
49efa33d
DM
137502012-03-02 David S. Miller <davem@davemloft.net>
13751
13752 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
13753
28afd92d
JM
137542012-03-02 Joseph Myers <joseph@codesourcery.com>
13755
804360ed
JM
13756 [BZ #3976]
13757 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
13758 (__sin): Save and restore rounding mode and use round-to-nearest
13759 for all computations.
13760 (__cos): Save and restore rounding mode and use round-to-nearest
13761 for all computations.
13762 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
13763 <fenv.h>.
13764 (tan): Save and restore rounding mode and use round-to-nearest for
13765 all computations.
13766 * math/libm-test.inc (cos_test_tonearest): New function.
13767 (cos_test_towardzero): Likewise.
13768 (cos_test_downward): Likewise.
13769 (cos_test_upward): Likewise.
13770 (sin_test_tonearest): Likewise.
13771 (sin_test_towardzero): Likewise.
13772 (sin_test_downward): Likewise.
13773 (sin_test_upward): Likewise.
13774 (tan_test_tonearest): Likewise.
13775 (tan_test_towardzero): Likewise.
13776 (tan_test_downward): Likewise.
13777 (tan_test_upward): Likewise.
13778 (main): Call the new functions.
13779 * sysdeps/i386/fpu/libm-test-ulps: Update.
13780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13781
a6d06d7b
JM
13782 [BZ #10135]
13783 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
13784 small n, then large n, before computing and testing k+n.
13785 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13786 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
13787 Likewise.
13788 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
13789 Likewise.
13790 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
13791 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
13792 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
13793 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
13794 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13795 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13796 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
13797 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
13798 * math/libm-test.inc (scalbn_test): Add more tests.
13799 (scalbln_test): Likewise.
13800
07e12bb3
JM
13801 * manual/filesys.texi (mode_t): Describe constraints on size and
13802 signedness, not exact equivalence to a particular type.
13803 (ino_t): Likewise.
13804 (ino64_t): Likewise.
13805 (dev_t): Likewise.
13806 (nlink_t): Likewise.
13807 (blkcnt_t): Likewise.
13808 (blkcnt64_t): Likewise.
13809 * manual/llio.texi (off_t): Likewise.
13810
28afd92d
JM
13811 [BZ #3976]
13812 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
13813 (__ieee754_exp): Save and restore rounding mode and use
13814 round-to-nearest for all computations.
13815 * math/libm-test.inc (exp_test_tonearest): New function.
13816 (exp_test_towardzero): Likewise.
13817 (exp_test_downward): Likewise.
13818 (exp_test_upward): Likewise.
13819 (main): Call the new functions.
13820 * sysdeps/i386/fpu/libm-test-ulps: Update.
13821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13822
b1eeb65d
CD
138232012-03-01 Chris Demetriou <cgd@google.com>
13824
13825 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
13826 have predictable order.
13827
53362a4b
DM
138282012-03-01 David S. Miller <davem@davemloft.net>
13829
3c969083
DM
13830 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
13831
759707de
DM
13832 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
13833 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
13834 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
13835 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
13836
dfdb8ff2
DM
13837 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
13838 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
13839 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
13840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
13841 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
13842 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
13843 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
13844 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
13845 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
13846
ead89f96
DM
13847 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13848
7f66bd07
DM
13849 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
13850 * sysdeps/sparc/fpu/libm-test-ulps: to here.
13851 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
13852
53362a4b
DM
13853 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
13854 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13855 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
13856 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
13857 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
13858 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
13859 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
13860 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13861 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
13862 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
13863 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
13864 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13865 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13866 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
13867 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13868 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13869 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
13870 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
13871 * sysdeps/sparc/elf/configure: Regenerated.
13872
7b1902cb
JM
138732012-03-01 Joseph Myers <joseph@codesourcery.com>
13874
bec039bc
JM
13875 * configure.in (AS, LD): Require binutils 2.20 or later.
13876 * configure: Regenerated.
13877 * manual/install.texi (Tools for Compilation): Give binutils 2.20
13878 as required minimum version.
13879 * INSTALL: Regenerated.
13880
7b1902cb
JM
13881 [BZ #2541]
13882 [BZ #4108]
13883 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
13884 before squaring exponent.
13885 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
13886 bottom long double and 27 bits of top long double before squaring
13887 exponent.
13888 * math/libm-test.inc (erfc_test): Add more tests.
13889 * sysdeps/i386/fpu/libm-test-ulps: Update.
13890 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13892
f775c276
KT
138932012-03-01 Kai Tietz <ktietz@redhat.com>
13894
13895 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
13896 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
13897 containing bit-fields.
13898 * soft-fp/extended.h (_FP_UNION_E): Likewise.
13899 * soft-fp/single.h (_FP_UNION_S): Likewise.
13900 * soft-fp/double.h (_FP_UNION_D): Likewise.
13901
5b8a4d4a
JM
139022012-02-29 Joseph Myers <joseph@codesourcery.com>
13903
0bab47b6
JM
13904 [BZ #13786]
13905 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
13906 not include ../strcmp.S.
13907 [USE_AS_STRNCASECMP_L]: Likewise.
13908 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
13909 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
13910 * sysdeps/i386/i686/multiarch/strncase_l-c.c
13911 (__strncasecmp_l_ia32): Define as alias to
13912 __strncasecmp_l_nonascii.
13913
0fcad3e2
JM
13914 [BZ #5794]
13915 * math/libm-test.inc (expm1_test): Add test for bug 5794.
13916 * sysdeps/i386/fpu/libm-test-ulps: Update.
13917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13918
5b8a4d4a
JM
13919 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
13920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13921
8fdceb2e
JL
139222012-02-29 Jeff Law <law@redhat.com>
13923
13924 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
13925 out of bounds read.
13926
1f393a11
MP
139272012-02-29 Marek Polacek <polacek@redhat.com>
13928
13929 [BZ #13706]
13930 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
13931 * elf/Makefile: Add rules to run tst-unused-dep.out.
13932
8847f037
DM
139332012-02-28 David S. Miller <davem@davemloft.net>
13934
13935 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
13936 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
13937 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
13938 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
13939 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
13940 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
13941
169d7f11
JM
139422012-02-29 Joseph Myers <joseph@codesourcery.com>
13943
13944 * math/libm-test.inc (llround_test): Move one test from
13945 lround_test. Use TEST_f_L in moved test.
13946 (lround_test): Move misplaced test to llround_test. Add testcase
13947 from bug 2561.
13948
39adf059
UD
139492012-02-28 Ulrich Drepper <drepper@gmail.com>
13950
13951 * sysdeps/x86_64/fpu/e_expf.S: New file.
13952 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
13953
71b5d1c5
SB
139542012-02-28 Stanislav Brabec <sbrabec@suse.cz>
13955
13956 [BZ #13637]
13957 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
13958 of remain_len that may cause incomplete multi-byte character and
13959 false match.
13960 * posix/bug-regex33.c: New file.
13961 * posix/Makefile (tests): Add bug-regex33.
13962
1f77f049
JM
139632012-02-28 Joseph Myers <joseph@codesourcery.com>
13964
13965 * manual/macros.texi: New file.
13966 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
13967 * manual/libc.texinfo: Include macros.texi.
13968 * manual/creatute.texi: Likewise.
13969 * manual/install.texi: Likewise.
13970 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
13971 @glibcadj{} in references to the GNU C Library.
13972 * manual/charset.texi: Likewise.
13973 * manual/conf.texi: Likewise.
13974 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
13975 when not using those macros.
13976 * manual/creature.texi: Likewise.
13977 * manual/crypt.texi: Likewise.
13978 * manual/errno.texi: Likewise.
13979 * manual/filesys.texi: Likewise.
13980 * manual/header.texi: Likewise.
13981 * manual/install.texi: Likewise.
13982 * manual/intro.texi: Likewise.
13983 * manual/io.texi: Likewise.
13984 * manual/job.texi: Likewise.
13985 * manual/lang.texi: Likewise.
13986 * manual/libc.texiinfo: Likewise.
13987 * manual/llio.texi: Likewise.
13988 * manual/locale.texi: Likewise.
13989 * manual/maint.texi: Likewise.
13990 * manual/math.texi: Likewise.
13991 * manual/memory.texi: Likewise.
13992 * manual/message.texi: Likewise.
13993 * manual/nss.texi: Likewise.
13994 * manual/pattern.texi: Likewise.
13995 * manual/process.texi: Likewise.
13996 * manual/resource.texi: Likewise.
13997 * manual/search.texi: Likewise.
13998 * manual/setjmp.texi: Likewise.
13999 * manual/signal.texi: Likewise.
14000 * manual/socket.texi: Likewise.
14001 * manual/startup.texi: Likewise.
14002 * manual/stdio.texi: Likewise.
14003 * manual/string.texi: Likewise.
14004 * manual/sysinfo.texi: Likewise.
14005 * manual/syslog.texi: Likewise.
14006 * manual/terminal.texi: Likewise.
14007 * manual/time.texi: Likewise.
14008 * manual/users.texi: Likewise.
14009 * INSTALL: Regenerated.
14010 * NOTES: Regenerated.
d40c5d54 14011 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 14012
450bf206
AS
140132012-02-28 Andreas Schwab <schwab@linux-m68k.org>
14014
14015 * include/dirent.h: Include <dirstream.h> before
14016 <dirent/dirent.h>.
14017
741a235b
DM
140182012-02-28 David S. Miller <davem@davemloft.net>
14019
14020 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14021 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14022 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14023 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14024
d6b5aa58
DM
140252012-02-27 David S. Miller <davem@davemloft.net>
14026
1aff59a3
DM
14027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14029 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14030 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14031
d6b5aa58
DM
14032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14033 frame pointer instead of stack pointer relative arg slot.
14034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14035 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14036 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14037
433f48bf
CD
140382012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
14039
14040 [BZ #3992]
14041 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14042
d674b76d
DM
140432012-02-27 David S. Miller <davem@davemloft.net>
14044
14045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14049 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14050 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14051 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14052 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14053
0e7727f7
JM
140542012-02-27 Joseph Myers <joseph@codesourcery.com>
14055
14056 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14057 later. Allow versions 5-9.
43be4ca2 14058 * configure: Regenerated.
0e7727f7
JM
14059 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14060 required minimum version and 4.6 as recommended version. Do not
14061 mention bugs in GCC 2.7 and 2.8.
43be4ca2 14062 * INSTALL: Regenerated.
0e7727f7 14063
a78bc654
DM
140642012-02-27 David S. Miller <davem@davemloft.net>
14065
428d5830
DM
14066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14069 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14070 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14071 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14072 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14073 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14074
a78bc654
DM
14075 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14076 manipulate bits before adding and subtracting TWO112[sx].
14077 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14078
4579f81c
RM
140792012-02-27 Roland McGrath <roland@hack.frob.com>
14080
36c8acb4
RM
14081 [BZ #13775]
14082 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14083 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14084 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14085 being in POSIX, because they are in 1003.1-2008.
14086
84ad622b
RM
14087 * rt/tst-aio.c: Include <fcntl.h>.
14088 * rt/tst-aio7.c: Likewise.
14089 * rt/tst-aio64.c: Likewise.
14090
4579f81c
RM
14091 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14092
abd923db
JM
140932012-02-27 Joseph Myers <joseph@codesourcery.com>
14094
14095 * manual/install.texi (--with-headers): Describe headers as
14096 interface headers, not private headers.
14097 (Specific advice for GNU/Linux systems): Describe use of headers
14098 from "make headers_install", not private headers from older
14099 kernels.
43be4ca2 14100 * INSTALL: Regenerated.
abd923db
JM
14101 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14102 Change to 2.6.19.
14103 * sysdeps/unix/sysv/linux/configure: Regenerated.
14104
6664049b
JM
14105 * manual/llio.texi (fclean): Remove documentation.
14106
bb8b6697
JM
14107 * manual/Makefile (libc-texi-generated): New variable. Include
14108 version.texi.
14109 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14110 $(libc-texi-generated), not duplicated list of files.
14111 (version.texi, stamp-version): New rules.
14112 (realclean): Remove $(libc-texi-generated), not individual files
14113 from that list. Do not remove dir-add.texinfo.
14114 * manual/libc.texinfo: Comment out uses of edition numbers and
14115 references to printed manual. Remove last-updated dates.
14116 (EDITION): Comment out.
14117 (ISBN): Likewise.
14118 (VERSION, UPDATED): Remove.
14119 (version.texi): Include.
14120
12e5c3b9
AS
141212012-02-27 Andreas Schwab <schwab@linux-m68k.org>
14122
14123 * sysdeps/posix/spawni.c: Include <signal.h>.
14124 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14125 * sysdeps/pthread/aio_fsync.c: Likewise.
14126
4efeffc1 141272012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 14128
ba63ba08
UD
14129 * conform/Makefile (tests): Run only when not cross-compiling and
14130 when fast-check is not defined.
14131
d94a4670
UD
14132 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14133 * conform/data/limits.h-data: Fixes for POSIX2008.
14134 * conform/run-conformtest.sh: Run all tests.
14135 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14136 headers.
14137 * include/bits/dlfcn.h: Likewise.
14138 * include/langinfo.h: Likewise.
14139 * include/monetary.h: Likewise.
14140 * include/sys/poll.h: Likewise.
14141
14142 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14143 for __USE_GNU.
14144 * posix/spawn.h: Define __need_sigset_t.
14145 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14146 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14147 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
14148 to get sigevent_t only.
14149 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14150 only for __USE_GNU.
14151 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14152 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14153 process_vm_writev only for __USE_GNU.
14154 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
14155
14156 * conform/Makefile: For now ignore errors from run-conformtest.
14157 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
14158 POSIX to avoid namespace pollution. Don't prepend headers.
14159 * conform/data/aio.h-data: Fixes for POSIX testing.
14160 * conform/data/fcntl.h-data: Likewise.
14161 * conform/data/glob.h-data: Likewise.
14162 * conform/data/grp.h-data: Likewise.
14163 * conform/data/pthread.h-data: Likewise.
14164 * conform/data/pwd.h-data: Likewise.
14165 * conform/data/signal.h-data: Likewise.
14166 * conform/data/spawn.h-data: Likewise.
14167 * conform/data/stdio.h-data: Likewise.
14168 * conform/data/stdlib.h-data: Likewise.
14169 * conform/data/stropts.h-data: Likewise.
14170 * conform/data/sys/mman.h-data: Likewise.
14171 * conform/data/sys/stat.h-data: Likewise.
14172 * conform/data/sys/types.h-data: Likewise.
14173 * conform/data/sys/wait.h-data: Likewise.
14174 * conform/data/time.h-data: Likewise.
14175 * conform/data/unistd.h-data: Likewise.
14176 * conform/data/utime.h-data: Likewise.
14177
14178 * io/sys/stat.h: fchmod was always in POSIX.
14179 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
14180 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
14181 * rt/aio.h: Define __need_timespec before including <time.h>.
14182 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
14183 struct. Add forward declaration of pthread_attr_t and use it in
14184 sigevent.
14185 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14186 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14187 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
14188 always remove CLK_TCK definition.
14189
c20105c3
AS
141902012-02-26 Andreas Schwab <schwab@linux-m68k.org>
14191
14192 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
14193
7a270350
UD
141942012-02-25 Ulrich Drepper <drepper@gmail.com>
14195
31341567
UD
14196 * conform/run-conformtest.sh: New file.
14197 * conform/Makefile: Run run-conformtest for tests.
14198 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
14199 support.
14200
14201 * conform/data/uchar.h-data: New file.
14202 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
14203 * conform/data/arpa/inet.h-data: Likewise.
14204 * conform/data/assert.h-data: Likewise.
14205 * conform/data/complex.h-data: Likewise.
14206 * conform/data/cpio.h-data: Likewise.
14207 * conform/data/ctype.h-data: Likewise.
14208 * conform/data/dirent.h-data: Likewise.
14209 * conform/data/dlfcn.h-data: Likewise.
14210 * conform/data/errno.h-data: Likewise.
14211 * conform/data/fcntl.h-data: Likewise.
14212 * conform/data/float.h-data: Likewise.
14213 * conform/data/fmtmsg.h-data: Likewise.
14214 * conform/data/fnmatch.h-data: Likewise.
14215 * conform/data/ftw.h-data: Likewise.
14216 * conform/data/glob.h-data: Likewise.
14217 * conform/data/grp.h-data: Likewise.
14218 * conform/data/iconv.h-data: Likewise.
14219 * conform/data/inttypes.h-data: Likewise.
14220 * conform/data/langinfo.h-data: Likewise.
14221 * conform/data/libgen.h-data: Likewise.
14222 * conform/data/limits.h-data: Likewise.
14223 * conform/data/locale.h-data: Likewise.
14224 * conform/data/math.h-data: Likewise.
14225 * conform/data/monetary.h-data: Likewise.
14226 * conform/data/mqueue.h-data: Likewise.
14227 * conform/data/ndbm.h-data: Likewise.
14228 * conform/data/net/if.h-data: Likewise.
14229 * conform/data/netdb.h-data: Likewise.
14230 * conform/data/netinet/in.h-data: Likewise.
14231 * conform/data/nl_types.h-data: Likewise.
14232 * conform/data/poll.h-data: Likewise.
14233 * conform/data/pthread.h-data: Likewise.
14234 * conform/data/pwd.h-data: Likewise.
14235 * conform/data/regex.h-data: Likewise.
14236 * conform/data/sched.h-data: Likewise.
14237 * conform/data/search.h-data: Likewise.
14238 * conform/data/semaphore.h-data: Likewise.
14239 * conform/data/setjmp.h-data: Likewise.
14240 * conform/data/signal.h-data: Likewise.
14241 * conform/data/spawn.h-data: Likewise.
14242 * conform/data/stdarg.h-data: Likewise.
14243 * conform/data/stdio.h-data: Likewise.
14244 * conform/data/stdlib.h-data: Likewise.
14245 * conform/data/string.h-data: Likewise.
14246 * conform/data/strings.h-data: Likewise.
14247 * conform/data/stropts.h-data: Likewise.
14248 * conform/data/sys/ipc.h-data: Likewise.
14249 * conform/data/sys/mman.h-data: Likewise.
14250 * conform/data/sys/msg.h-data: Likewise.
14251 * conform/data/sys/resource.h-data: Likewise.
14252 * conform/data/sys/select.h-data: Likewise.
14253 * conform/data/sys/sem.h-data: Likewise.
14254 * conform/data/sys/shm.h-data: Likewise.
14255 * conform/data/sys/socket.h-data: Likewise.
14256 * conform/data/sys/stat.h-data: Likewise.
14257 * conform/data/sys/statvfs.h-data: Likewise.
14258 * conform/data/sys/time.h-data: Likewise.
14259 * conform/data/sys/timeb.h-data: Likewise.
14260 * conform/data/sys/times.h-data: Likewise.
14261 * conform/data/sys/types.h-data: Likewise.
14262 * conform/data/sys/uio.h-data: Likewise.
14263 * conform/data/sys/un.h-data: Likewise.
14264 * conform/data/sys/utsname.h-data: Likewise.
14265 * conform/data/sys/wait.h-data: Likewise.
14266 * conform/data/syslog.h-data: Likewise.
14267 * conform/data/tar.h-data: Likewise.
14268 * conform/data/termios.h-data: Likewise.
14269 * conform/data/utime.h-data: Likewise.
14270 * conform/data/utmpx.h-data: Likewise.
14271 * conform/data/varargs.h-data: Likewise.
14272 * conform/data/wchar.h-data: Likewise.
14273 * conform/data/wctype.h-data: Likewise.
14274 * conform/data/wordexp.h-data: Likewise.
14275
14276 * include/stropts.h: New file.
14277 * include/uchar.h: New file.
14278 * include/aio.h: Changes to allow conformtest.pl to use the headers.
14279 * include/assert.h: Likewise.
14280 * include/ctype.h: Likewise.
14281 * include/dirent.h: Likewise.
14282 * include/dlfcn.h: Likewise.
14283 * include/fcntl.h: Likewise.
14284 * include/fnmatch.h: Likewise.
14285 * include/glob.h: Likewise.
14286 * include/grp.h: Likewise.
14287 * include/libio.h: Likewise.
14288 * include/locale.h: Likewise.
14289 * include/math.h: Likewise.
14290 * include/net/if.h: Likewise.
14291 * include/netdb.h: Likewise.
14292 * include/netinet/in.h: Likewise.
14293 * include/pthread.h: Likewise.
14294 * include/pwd.h: Likewise.
14295 * include/regex.h: Likewise.
14296 * include/sched.h: Likewise.
14297 * include/search.h: Likewise.
14298 * include/setjmp.h: Likewise.
14299 * include/signal.h: Likewise.
14300 * include/stdio.h: Likewise.
14301 * include/stdlib.h: Likewise.
14302 * include/string.h: Likewise.
14303 * include/sys/cdefs.h: Likewise.
14304 * include/sys/mman.h: Likewise.
14305 * include/sys/msg.h: Likewise.
14306 * include/sys/resource.h: Likewise.
14307 * include/sys/select.h: Likewise.
14308 * include/sys/socket.h: Likewise.
14309 * include/sys/stat.h: Likewise.
14310 * include/sys/statvfs.h: Likewise.
14311 * include/sys/time.h: Likewise.
14312 * include/sys/times.h: Likewise.
14313 * include/sys/uio.h: Likewise.
14314 * include/sys/utsname.h: Likewise.
14315 * include/sys/wait.h: Likewise.
14316 * include/termios.h: Likewise.
14317 * include/time.h: Likewise.
14318 * include/ulimit.h: Likewise.
14319 * include/unistd.h: Likewise.
14320 * include/utime.h: Likewise.
14321 * include/wchar.h: Likewise.
14322 * include/wctype.h: Likewise.
14323 * include/wordexp.h: Likewise.
14324
14325 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
14326
7a270350
UD
14327 * time/time.h: TIME_UTC must be a macro.
14328 Make timespec_get available for ISO C11 only as well.
14329
7724defc
UD
143302012-02-24 Ulrich Drepper <drepper@gmail.com>
14331
14332 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
14333 Reported by Peng Haitao <penght@cn.fujitsu.com>.
14334
6b1d1d46
JM
143352012-02-24 Joseph Myers <joseph@codesourcery.com>
14336
14337 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 14338
0f8bbd69
JM
143392012-02-24 Joseph Myers <joseph@codesourcery.com>
14340
14341 * manual/texinfo.tex: Update to version 2012-01-19.16.
14342
66ab80bc
JM
143432012-02-24 Joseph Myers <joseph@codesourcery.com>
14344
14345 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14346
74981cc5
RM
143472012-02-24 Roland McGrath <roland@hack.frob.com>
14348
ee968201
RM
14349 [BZ #13738]
14350 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14351 * manual/fdl-1.3.texi: New file.
14352 * manual/fdl-1.1.texi: File removed.
14353
74981cc5
RM
14354 [BZ #13738]
14355 * manual/libc.texinfo (FDL_VERSION): New @set.
14356 Use it for mention of FDL in cover text.
14357 (Documentation License): Use it in @include file name.
14358
7bb764bc
JM
143592012-02-22 Joseph Myers <joseph@codesourcery.com>
14360 Roland McGrath <roland@hack.frob.com>
14361
14362 [BZ #5461]
14363 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
14364 not LONG_LONG_MAX and LONG_LONG_MIN.
14365 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
14366 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
14367 name.
14368 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
14369
6cbeae47
JM
143702012-02-22 Joseph Myers <joseph@codesourcery.com>
14371
14372 [BZ #2547]
14373 [BZ #11365]
14374 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
14375 manipulate bits before adding and subtracting TWO23[sx].
14376 * math/libm-test.inc (nearbyint_test): Add more tests.
14377
fe45ce09
JM
143782012-02-22 Joseph Myers <joseph@codesourcery.com>
14379
14380 [BZ #2548]
14381 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
14382 bits before adding and subtracting TWO23[sx].
14383 * math/libm-test.inc (rint_test): Add more tests.
14384 (rint_test_tonearest): Likewise.
14385 (rint_test_towardzero): Likewise.
14386 (rint_test_downward): Likewise.
14387 (rint_test_upward: Likewise.
14388
ff3b3d82
JM
143892012-02-22 Joseph Myers <joseph@codesourcery.com>
14390
14391 [BZ #10110]
14392 * include/stdc-predef.h: New file. Extracted from features.h.
14393 * include/features.h: Include stdc-predef.h.
14394 * Makefile (headers): Add stdc-predef.h.
14395 * CONFORMANCE (Compiler limitations): Update.
14396
ef0aab35
JM
143972012-02-22 Joseph Myers <joseph@codesourcery.com>
14398
14399 * manual/libc.texinfo (VERSION, UPDATED): Revert.
14400
58639409
DM
144012012-02-21 David S. Miller <davem@davemloft.net>
14402
14403 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
14404 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14405
c0e70b25
DM
144062012-02-20 David S. Miller <davem@davemloft.net>
14407
14408 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
14409 using a normal save/restore sequence, rather than allocating a
14410 dummy stack frame just to store a frame pointer and restore.
14411 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14412
fb06851d
JM
144132012-02-21 Joseph Myers <joseph@codesourcery.com>
14414
14415 * manual/install.texi: Fix stray word in line-wrapped comment.
14416
7a8b71c3
DM
144172012-02-20 David S. Miller <davem@davemloft.net>
14418
d510c123
DM
14419 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
14420 both binutils and gcc support GOTDATA.
14421
0722d7c2
DM
14422 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
14423 "rd %pc" in the PIC register setup sequences.
14424
3d2b3019
DM
14425 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
14426 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14427 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14428 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14429 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14430 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14431 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14432 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14433 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
14434 (SYSCALL_ERROR_HANDLER): Likewise.
14435 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14436 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14437 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
14438 (SYSCALL_ERROR_HANDLER): Likewise.
14439
c80098a9
DM
14440 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
14441 (HAVE_GCC_GOTDATA): New.
14442 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
14443 relocation support in both binutils and gcc.
14444 * sysdeps/sparc/elf/configure: Regenerate.
14445
3a2545a0
DM
14446 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
14447 * sysdeps/sparc/sparc32/elf/configure: Delete.
14448 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
14449 * sysdeps/sparc/sparc64/elf/configure: Delete.
14450 * sysdeps/sparc/elf/configure.in: New file.
14451 * sysdeps/sparc/elf/configure: Generate.
14452
7a8b71c3
DM
14453 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
14454 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
14455 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14456 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
14457 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
14458
f1e86fca
JM
144592012-02-21 Joseph Myers <joseph@codesourcery.com>
14460
14461 * manual/install.texi: Do not mention specific glibc version
14462 numbers.
14463 * manual/libc.texinfo (VERSION, UPDATED): Update.
14464 (@copying): Use @copyright{} and range of years.
14465
0e7dfaef
JM
144662012-02-21 Joseph Myers <joseph@codesourcery.com>
14467
14468 [BZ #13695]
14469 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
14470 [crti.S not in sysdirs] (generated): Do not append.
14471 [crti.S not in sysdirs] (omit-deps): Likewise.
14472 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
14473 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
14474 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
14475 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
14476 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
14477 Likewise.
14478 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
14479 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
14480 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
14481 * csu/defs.awk: Remove file.
14482 * sysdeps/generic/initfini.c: Likewise.
14483 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
14484 variable.
14485 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
14486 Likewise.
14487
599af3ca
JM
144882012-02-20 Joseph Myers <joseph@codesourcery.com>
14489
14490 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
14491 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
14492 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
14493 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
14494 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14495 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
14496 <bits/epoll.h>.
14497 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
14498 (__EPOLL_PACKED): Define to empty if not defined by
14499 <bits/epoll.h>.
14500 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
14501 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14502 bits/epoll.h.
14503
0e499750
JM
145042012-02-20 Joseph Myers <joseph@codesourcery.com>
14505
14506 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
14507 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
14508 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
14509 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
14510 <bits/timerfd.h>.
14511 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
14512 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14513 bits/timerfd.h.
14514
5ad91f6e
JM
145152012-02-20 Joseph Myers <joseph@codesourcery.com>
14516
14517 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
14518 in C locale.
14519 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14520 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14521 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
14522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14523
06b99b02
AJ
145242012-02-20 Aurelien Jarno <aurelien@aurel32.net>
14525
14526 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14527 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14528
7638c0fd
AS
145292012-02-19 Andreas Schwab <schwab@linux-m68k.org>
14530
14531 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
14532 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
14533 defined.
14534 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
14535 Likewise.
14536 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
14537 entry for 2.16.
14538
92221550
AJ
145392012-02-19 Aurelien Jarno <aurelien@aurel32.net>
14540
14541 * math/w_acos.c: Use non-signaling floating-point comparisons.
14542 * math/w_acosf.c: Likewise.
14543 * math/w_acosh.c: Likewise.
14544 * math/w_acoshf.c: Likewise.
14545 * math/w_acoshl.c: Likewise.
14546 * math/w_acosl.c: Likewise.
14547 * math/w_asin.c: Likewise.
14548 * math/w_asinf.c: Likewise.
14549 * math/w_asinl.c: Likewise.
14550 * math/w_atanh.c: Likewise.
14551 * math/w_atanhf.c: Likewise.
14552 * math/w_atanhl.c: Likewise.
14553 * math/w_exp2.c: Likewise.
14554 * math/w_exp2f.c: Likewise.
14555 * math/w_exp2l.c: Likewise.
14556 * math/w_j0.c: Likewise.
14557 * math/w_j0f.c: Likewise.
14558 * math/w_j0l.c: Likewise.
14559 * math/w_j1.c: Likewise.
14560 * math/w_j1f.c: Likewise.
14561 * math/w_j1l.c: Likewise.
14562 * math/w_jn.c: Likewise.
14563 * math/w_jnf.c: Likewise.
14564 * math/w_log.c: Likewise.
14565 * math/w_log10.c: Likewise.
14566 * math/w_log10f.c: Likewise.
14567 * math/w_log10l.c: Likewise.
14568 * math/w_log2.c: Likewise.
14569 * math/w_log2f.c: Likewise.
14570 * math/w_log2l.c: Likewise.
14571 * math/w_logf.c: Likewise.
14572 * math/w_logl.c: Likewise.
14573 * math/w_sqrt.c: Likewise.
14574 * math/w_sqrtf.c: Likewise.
14575 * math/w_sqrtl.c: Likewise.
14576 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14577 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
14578 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14579 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14580 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14581
ebaf36eb
JM
145822012-02-19 Joseph Myers <joseph@codesourcery.com>
14583
14584 [BZ #9739]
14585 * manual/string.texi (strnlen): Use correct parameter name in
14586 equivalent expression.
14587
71c254a6
JM
145882012-02-19 Joseph Myers <joseph@codesourcery.com>
14589
14590 [BZ #11174]
14591 * manual/users.texi (seteuid): Consistently use neweuid for
14592 argument name.
14593
16d2c631
JM
145942012-02-19 Joseph Myers <joseph@codesourcery.com>
14595
14596 [BZ #13704]
14597 * manual/nss.texi (Services in the NSS configuration): Correct
14598 list of services in example configuration file.
14599
cd837b09
NB
146002012-02-19 Nick Bowler <nbowler@draconx.ca>
14601
14602 [BZ #11322]
14603 * manual/arith.texi: Remove statements about negative zero
14604 behaving identically to zero.
14605
02c4bbad
JM
146062012-02-18 Joseph Myers <joseph@codesourcery.com>
14607
14608 [BZ #5993]
14609 * manual/install.texi: Do not document upgrading from libc5.
14610
366842e7
JM
146112012-02-18 Joseph Myers <joseph@codesourcery.com>
14612
14613 [BZ #4596]
14614 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
14615
dd54084d
DM
146162012-02-18 David S. Miller <davem@davemloft.net>
14617
14618 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
14619 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
14620 %o7 across the call.
14621 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
14622 instead.
14623 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
14624 SETUP_PIC_REG_LEAF.
14625 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14626 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
14627 * sysdeps/sparc/crtn.S: Likewise.
14628
2bcc53a3
UD
146292012-02-17 Ulrich Drepper <drepper@gmail.com>
14630
14631 * aout/Makefile: Remove.
14632
09c093b5
RK
146332012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
14634
14635 [BZ #13058]
14636 * manual/examples/argp-ex1.c (main): Format definition in GNU
14637 style.
14638 * manual/examples/argp-ex2.c (main): Likewise.
14639 * manual/examples/argp-ex3.c (main): Likewise.
14640 * manual/examples/argp-ex4.c (main): Likewise.
14641 * manual/examples/longopt.c (main): Use new-style prototype
14642 definition.
14643 * manual/examples/strncat.c (main): Specify return type and use
14644 (void) for arguments.
14645 * manual/examples/subopt.c (main): Use char **argv argument.
14646
2ee633a2
JM
146472012-02-17 Joseph Myers <joseph@codesourcery.com>
14648
14649 [BZ #5077]
14650 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
14651 rounding modes.
14652
0520adde
FB
146532012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
14654
14655 [BZ #6907]
14656 * manual/string.texi (strchr): Change when strchrnul is
14657 recommended.
14658
3f4081cd
DGM
146592012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
14660
14661 [BZ #174]
14662 * manual/locale.texi (setlocale): Document LOCPATH.
14663
d1b10e78
JM
146642012-02-17 Joseph Myers <joseph@codesourcery.com>
14665
14666 [BZ #10210]
14667 * manual/process.texi (execle): Move @dots{} before last argument.
14668
79c6869c
PB
146692012-02-17 Paul Bolle <pebolle@tiscali.nl>
14670
14671 [BZ #12047]
14672 * manual/charset.texi (Generic Charset Conversion): Fix typo
14673 (LC_TYPE -> LC_CTYPE).
14674
cc6e48bc
NB
146752012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
14676
14677 [BZ #5805]
14678 * manual/arith.texi (scalbn): Use @var{} on parameter names.
14679 (scalbnf): Likewise.
14680 (scalbnl): Likewise.
14681 (scalbln): Likewise.
14682 (scalblnf): Likewise.
14683 (scalblnl): Likewise.
14684 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
14685 (vwarnx): Likewise.
14686 (verr): Likewise.
14687 (verrx): Likewise.
14688 * manual/filesys.texi (telldir): Use braces around return type.
14689 * manual/llio.texi (mmap): Add space after comma.
14690 (mmap64): Likewise.
14691 * manual/math.texi (jn): Use @var{} on parameter names.
14692 (jnf): Likewise.
14693 (jnl): Likewise.
14694 (yn): Likewise.
14695 (ynf): Likewise.
14696 (ynl): Likewise.
14697 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
14698 line.
14699 * manual/resource.texi (ulimit): Use @dots{} instead of literal
14700 "...".
14701 (sched_get_priority_min): Remove semicolon on @deftypefun line.
14702 (sched_get_priority_max): Likewise.
14703 * manual/signal.texi (sigvec): Add space after comma.
14704 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
14705 names.
14706 (if_indextoname): Likewise.
14707 (if_freenameindex): Likewise.
14708 (sendto): Use ',' instead of '.' in prototype.
14709 * manual/startup.texi (syscall): Use @dots{} instead of literal
14710 "...".
14711 * manual/stdio.texi (__fpending): Separate initial words of
14712 paragraph from @deftypefun line.
14713 * manual/syslog.texi (syslog): Use @dots{} instead of literal
14714 "...".
14715 (vsyslog): Use @var{} on parameter names.
14716 * manual/terminal.texi (stty): Use @var{} on parameter names.
14717 * manual/users.texi (getutmp): Use @var{} on parameter names.
14718 (getutmpx): Likewise.
14719
5b23062f
JM
147202012-02-17 Joseph Myers <joseph@codesourcery.com>
14721
14722 [BZ #6884]
14723 * manual/stdio.texi (fopen): Fix typos in description of
14724 ",ccs=STRING".
14725
8dee4833
AJ
147262012-02-17 Aurelien Jarno <aurelien@aurel32.net>
14727
14728 [BZ #4026]
14729 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
14730 get clock_id definition.
14731
9078ce93
TS
147322012-02-17 Thomas Schwinge <thomas@schwinge.name>
14733
14734 [BZ #4822]
14735 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
14736 (madvise): Cast every argument to void on its own.
14737
3835c55f
JM
147382012-02-17 Joseph Myers <joseph@codesourcery.com>
14739
14740 [BZ #9902]
14741 * manual/startup.texi (Exit Status): Fix typo.
14742
35c47e37
JM
147432012-02-17 Joseph Myers <joseph@codesourcery.com>
14744
14745 [BZ #10140]
14746 * manual/examples/argp-ex1.c: Include <stdlib.h>.
14747 * manual/examples/argp-ex2.c: Likewise.
14748 * manual/examples/argp-ex3.c: Likewise.
14749
e3b69ca7
RH
147502012-02-16 Richard Henderson <rth@redhat.com>
14751
14752 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
14753 * sysdeps/s390/s390-32/initfini.c: Remove.
14754 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
14755 * sysdeps/s390/s390-64/initfini.c: Remove.
14756
df83af67
KK
147572012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14758
14759 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
14760 compiler output for sysdeps/generic/initfini.c.
14761 * sysdeps/sh/elf/initfini.c: Remove file.
14762
f63f3380
DM
147632012-02-16 David S. Miller <davem@davemloft.net>
14764
fb59b3a4
DM
14765 [BZ #11494]
14766 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
14767
f63f3380
DM
14768 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
14769 * sysdeps/sparc/crti.S: New file.
14770 * sysdeps/sparc/crtn.S: New file.
14771 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
14772 * sysdeps/sparc/sparc64/Makefile: Likewise.
14773
df6a4a4a
MF
147742012-02-15 Mike Frysinger <vapier@gentoo.org>
14775
6dd8f3dc 14776 [BZ #3335]
df6a4a4a
MF
14777 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
14778
1cac7236
RM
147792012-02-15 Roland McGrath <roland@hack.frob.com>
14780
d2c736f8
RM
14781 [BZ #4822]
14782 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
14783
1cac7236
RM
14784 * mach/devstream.c (cookie_io_functions_t): Macro removed.
14785 (write, read, close): Likewise.
14786 Patch by Aurelien Jarno <aurelien@aurel32.net>.
14787
8e475601
JM
147882012-02-15 Joseph Myers <joseph@codesourcery.com>
14789
14790 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
14791 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
14792 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
14793 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
14794 <bits/signalfd.h>.
14795 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
14796 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14797 bits/signalfd.h.
14798
ed656b40
MP
147992012-02-14 Marek Polacek <polacek@redhat.com>
14800
14801 * sysdeps/x86_64/crti.S: New file.
14802 * sysdeps/x86_64/crtn.S: New file.
14803 * sysdeps/x86_64/elf/initfini.c: Remove file.
14804
2a979d3a
JM
148052012-02-13 Joseph Myers <joseph@codesourcery.com>
14806
14807 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
14808 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
14809 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
14810 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
14811 <bits/inotify.h>.
14812 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
14813 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14814 bits/inotify.h.
14815
2a418ac3
JM
148162012-02-13 Joseph Myers <joseph@codesourcery.com>
14817
14818 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
14819 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
14820 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
14821 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
14822 <bits/eventfd.h>.
14823 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
14824 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14825 bits/eventfd.h.
14826
fb779be7
TS
148272012-02-10 Thomas Schwinge <thomas@codesourcery.com>
14828
e19e83c5
RM
14829 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
14830 __feraiseexcept instead of feraiseexcept.
7c35ffed 14831
fb779be7
TS
14832 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
14833 nanosleep invocations.
14834 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
14835 strings, and add error checking for a nanosleep invocations.
14836
59ba27a6
PE
148372012-02-09 Paul Eggert <eggert@cs.ucla.edu>
14838
14839 Replace FSF snail mail address with URLs, as per GNU coding standards.
14840 Most of the snail mail addresses were wrong anyway, and omitting
14841 them makes the source code easier to maintain. Almost all of the
14842 changes are to license notices and to locale LC_IDENTIFICATION
14843 addresses, except for this one:
14844 * manual/libc.texinfo: In "Published by", give the FSF's URL,
14845 not its snail mail address.
14846
57b957eb
RH
148472012-02-09 Richard Henderson <rth@twiddle.net>
14848
af850b1c
RH
14849 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
14850 of kernel-features.h.
14851
57b957eb
RH
14852 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
14853
6b73181a
MP
148542012-02-08 Marek Polacek <polacek@redhat.com>
14855
14856 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
14857 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
14858 * sysdeps/gnu/_G_config.h: Likewise.
14859 * sysdeps/generic/_G_config.h: Likewise.
14860
26ecc33a
AS
148612012-02-08 Andreas Schwab <schwab@linux-m68k.org>
14862
6c6dbc63
AS
14863 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
14864 tests.
14865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14866
e216c012
AS
14867 * sysdeps/powerpc/powerpc32/crti.S: New file.
14868 * sysdeps/powerpc/powerpc32/crtn.S: New file.
14869 * sysdeps/powerpc/powerpc64/crti.S: New file.
14870 * sysdeps/powerpc/powerpc64/crtn.S: New file.
14871
26ecc33a
AS
14872 * Makeconfig (have-initfini): Don't set.
14873 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
14874 * configure.in (nopic_initfini): Don't substitute.
14875 * config.h.in (HAVE_INITFINI): Don't #undef.
14876 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
14877 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
14878
3add8e13
JM
148792012-02-08 Joseph Myers <joseph@codesourcery.com>
14880
14881 Support crti.S and crtn.S provided directly by architectures.
14882 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
14883 [crti.S in sysdirs] (omit-deps): Likewise.
14884 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
14885 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
14886 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
14887 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
14888 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
14889 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
14890 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
14891 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
14892 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
14893 compiler output for sysdeps/generic/initfini.c.
14894 * sysdeps/i386/elf/Makefile: Remove file.
14895 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
14896
a22f12b4
MP
148972012-02-07 Marek Polacek <polacek@redhat.com>
14898
14899 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
14900 * sysdeps/gnu/_G_config.h: Likewise.
14901 * sysdeps/mach/hurd/_G_config.h: Likewise.
14902
148cf100
MP
149032012-02-07 Marek Polacek <polacek@redhat.com>
14904
14905 * math/Makefile (tests): Add tst-CMPLX2.
14906 * math/tst-CMPLX2.c: New file.
14907
cfdc0dd7
AS
149082012-02-07 Andreas Schwab <schwab@linux-m68k.org>
14909
84ba42c4
AS
14910 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14911
cfdc0dd7
AS
14912 * math/libm-test.inc (jn_test): Add missing L suffix.
14913
622c86f4
MP
149142012-02-06 Marek Polacek <polacek@redhat.com>
14915
14916 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
14917 * sysdeps/i386/fpu/e_powf.S: Likewise.
14918 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14919 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14920 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14921 * sysdeps/i386/fpu/e_pow.S: Likewise.
14922 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14923 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14924 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14925 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14926 * sysdeps/i386/fpu/e_log2.S: Likewise.
14927 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14928 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14929 * sysdeps/i386/fpu/e_powl.S: Likewise.
14930 * sysdeps/i386/fpu/s_log1p.S: Likewise.
14931 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14932 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14933 * sysdeps/i386/fpu/e_logl.S: Likewise.
14934 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14935 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
14936 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14937 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14938 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14939 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14940 * sysdeps/i386/fpu/e_log.S: Likewise.
14941 * sysdeps/i386/fpu/s_cexp.S: Likewise.
14942 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14943 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
14944 * sysdeps/i386/fpu/e_logf.S: Likewise.
14945 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14946 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14947 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
14948 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14949 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14950 * sysdeps/i386/fpu/e_log10.S: Likewise.
14951 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14952 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14953 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14954 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14955 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14956 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14957 * sysdeps/i386/asm-syntax.h: Likewise.
14958 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14959 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14960 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14961 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
14962 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
14963 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14964 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14965 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14966 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14967 * sysdeps/powerpc/sysdep.h: Likewise.
14968 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
14969 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14970
d4a54ac6
JM
149712012-02-06 Joseph Myers <joseph@codesourcery.com>
14972
14973 [BZ #411]
14974 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
14975
314054ea
JM
149762012-02-06 Joseph Myers <joseph@codesourcery.com>
14977
14978 * sysdeps/i386/sysdep.h: Include <features.h>.
14979 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
14980 version.
14981
d8e0ca50
JM
149822012-02-05 Joseph Myers <joseph@codesourcery.com>
14983
14984 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
14985 Define.
14986 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
14987 LOAD_PIC_REG_STR.
14988
b1da7dd9
JM
149892012-02-03 Joseph Myers <joseph@codesourcery.com>
14990
14991 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
14992 (SETUP_PIC_REG): Use GET_PC_THUNK.
14993 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
14994 macro.
14995
9a1d9254
JM
149962012-02-03 Joseph Myers <joseph@codesourcery.com>
14997
14998 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
14999 for non-PIC compilation.
15000 (SETUP_PIC_REG): Add .p2align directive.
15001 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15002 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15003 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15004 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15005 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15006 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15007 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15008 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15009 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15010 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15011 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15012 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15013 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15014 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15015 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15016 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15017 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15018 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15019 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15020 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15021 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15022 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15023 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15024 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15025 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15026 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15027 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15028 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15029 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15030 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15031 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15032 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15033 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15034 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15035 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15036 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15037 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15038 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15039 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15040 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15041 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15042
65dc3b75
JM
150432012-02-03 Joseph Myers <joseph@codesourcery.com>
15044
15045 * math/tst-CMPLX.c: Include <stdio.h>.
15046
d55bf177
JM
150472012-01-31 Joseph Myers <joseph@codesourcery.com>
15048
15049 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15050 float.
15051 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15052 * sysdeps/sparc/bits/mathdef.h: Likewise.
15053
69db4f8f
MP
150542012-01-31 Marek Polacek <polacek@redhat.com>
15055
15056 * libio/libio.h: Don't define _PARAMS.
15057 * locale/programs/config.h: Don't define PARAMS.
15058 * stdlib/strtol_l.c: Likewise.
15059 (__strtol_l): Remove PARAMS from the prototype.
15060
41b81892
UD
150612012-01-31 Ulrich Drepper <drepper@gmail.com>
15062
3b49edc0
UD
15063 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
15064 names. Just use the correct names. Remove unnecessary wrapper
15065 functions.
15066 * malloc/arena.c: Likewise.
15067 * malloc/hooks.c: Likewise.
15068
41b81892
UD
15069 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15070 ARENA_TEST says not to. Simplify test for creation of a new arena.
15071 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15072
27a25b6e
UD
150732012-01-30 Ulrich Drepper <drepper@gmail.com>
15074
15075 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15076 into tail calls.
15077 (update_get_addr): New function.
15078 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15079 GET_ADDR_MODULE parameter.
15080
c8a89e7d
JM
150812012-01-30 Joseph Myers <joseph@codesourcery.com>
15082
15083 * crypt/cert.c: Remove __STDC__ conditionals.
15084 * crypt/crypt-entry.c: Likewise.
15085 * crypt/crypt_util.c: Likewise.
15086 * libio/filedoalloc.c: Likewise.
15087 * libio/fileops.c: Likewise.
15088 * libio/genops.c: Likewise.
15089 * libio/iofclose.c: Likewise.
15090 * libio/iofdopen.c: Likewise.
15091 * libio/iofopen.c: Likewise.
15092 * libio/iofopen64.c: Likewise.
15093 * libio/iogetdelim.c: Likewise.
15094 * libio/iopopen.c: Likewise.
15095 * libio/obprintf.c: Likewise.
15096 * libio/oldfileops.c: Likewise.
15097 * libio/oldiofclose.c: Likewise.
15098 * libio/oldiofdopen.c: Likewise.
15099 * libio/oldiofopen.c: Likewise.
15100 * libio/oldiopopen.c: Likewise.
15101 * libio/wfiledoalloc.c: Likewise.
15102 * libio/wgenops.c: Likewise.
15103 * locale/programs/xmalloc.c: Likewise.
15104 * misc/syslog.c: Likewise.
15105 * stdio-common/xbug.c: Likewise.
15106 * string/memchr.c: Likewise.
15107 * string/memcmp.c: Likewise.
15108 * string/memrchr.c: Likewise.
15109 * string/rawmemchr.c: Likewise.
15110 * sysdeps/posix/getcwd.c: Likewise.
15111 * time/strftime_l.c: Likewise.
15112
3b100462
JM
151132012-01-30 Joseph Myers <joseph@codesourcery.com>
15114
15115 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
15116 * config.make.in (config-cflags-sse2avx): Define.
15117 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15118 Fix typo.
15119
607998af
CM
151202012-01-29 Chris Metcalf <cmetcalf@tilera.com>
15121
15122 * scripts/config.guess: Update from upstream config git repository.
15123 * scripts/config.sub: Likewise.
15124
3601428f
CM
151252012-01-28 Chris Metcalf <cmetcalf@tilera.com>
15126
3ac8b282
CM
15127 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15128 (EM_NUM): Update.
15129 (R_TILEPRO_*, R_TILEGX_*): New macros.
15130
e034841e
CM
15131 * scripts/firstversions.awk: Fix bug in version range handling.
15132
540d7568
CM
15133 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15134
3601428f
CM
15135 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15136
463de862
CM
15137 * include/sys/epoll.h: New file.
15138 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15139 libc_hidden_def.
15140
73139a76
UD
151412012-01-28 Ulrich Drepper <drepper@gmail.com>
15142
96bc5b45
UD
15143 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15144 Avoid unnecessary __WORDSIZE == 64 test.
15145 (fmaxf): Use VEX format if possible.
15146 (fmax): Likewise.
15147 (fminf): Likewise.
15148 (fmin): Likewise.
15149
56f6f6a2
UD
15150 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15151 * math/math_private.h: Remove libc_fegetround* and
15152 libc_fesetround*.
15153 * sysdeps/i386/configure.in: Check for -msse2avx.
15154 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15155 also if SSE2AVX is defined.
15156 Remove libc_fegetround* and libc_fesetround*.
15157 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
15158 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
15159 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
15160 of HAS_YMM_USABLE.
15161 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15162 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15163 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15164 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15165 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15166
73139a76
UD
15167 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
15168
d73f93a4
AZ
151692012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15170
15171 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
15172 size is not set.
15173 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15174
6ee65ed6
UD
151752012-01-27 Ulrich Drepper <drepper@gmail.com>
15176
15177 [BZ #13618]
15178 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
15179 relocation.
15180 * Makeconfig (libm): Define.
15181 * elf/Makefile: Add rules to build and run tst-relsort1.
15182 * elf/tst-relsort1.c: New file.
15183 * elf/tst-relsort1mod1.c: New file.
15184 * elf/tst-relsort1mod2.c: New file.
15185
8db21882
JM
151862012-01-27 Joseph Myers <joseph@codesourcery.com>
15187
15188 * math/s_ldexp.c: Remove __STDC__ conditionals.
15189 * math/s_ldexpf.c: Likewise.
15190 * math/s_ldexpl.c: Likewise.
15191 * math/s_nextafter.c: Likewise.
15192 * math/s_nexttowardf.c: Likewise.
15193 * math/s_significand.c: Likewise.
15194 * math/s_significandf.c: Likewise.
15195 * math/s_significandl.c: Likewise.
15196 * math/w_jnl.c: Likewise.
15197 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15198 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15199 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15200 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15201 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15202 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15203 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
15204 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15205 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15206 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15207 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15208 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15209 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15210 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15211 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15212 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15213 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15214 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15215 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15216 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15217 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15218 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15219 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15220 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15221 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15222 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15223 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15224 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15225 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15226 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15227 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15228 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15229 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15230 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15231 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15232 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15233 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15234 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15235 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15236 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15237 * sysdeps/ieee754/k_standard.c: Likewise.
15238 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15239 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15240 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15241 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15242 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15243 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15244 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15245 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15246 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15247 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15248 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15249 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15250 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15251 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15252 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15253 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15254 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15255 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15256 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15257 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15258 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15259 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15260 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15261 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15262 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15263 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15264 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15265 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15266 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15267 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15268 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15269 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15270 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15271 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15272 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15273 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15274 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15275 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15276 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15277 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15278 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15279 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15280 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15281 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
15282 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15283 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15284 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15285 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15286 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15287 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15288 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
15289 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15290 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15291 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15292 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15293 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15294 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15295 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15296 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15297 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15298 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15299 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15300 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15301 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15302 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15303 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15304 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15305 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15306 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15307 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15308 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15309 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15310 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15311 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15312 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15313 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15314 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15315 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15316 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15317 * sysdeps/ieee754/s_matherr.c: Likewise.
15318 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15319 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15320 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15321 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15322
965a54a4
JM
153232012-01-26 Joseph Myers <joseph@codesourcery.com>
15324
15325 * crypt/md5.h: Remove __STDC__ conditionals.
15326 * libio/libioP.h: Likewise.
15327 * locale/programs/config.h: Likewise.
15328 * sysdeps/generic/sysdep.h: Likewise.
15329 * sysdeps/i386/asm-syntax.h: Likewise.
15330 * sysdeps/s390/asm-syntax.h: Likewise.
15331 * sysdeps/unix/sysdep.h: Likewise.
15332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15334
7071ad79
JM
153352012-01-26 Joseph Myers <joseph@codesourcery.com>
15336
15337 * libio/libio.h: Remove __STDC__ conditionals.
15338 * malloc/obstack.h: Likewise.
15339 * math/complex.h: Likewise.
15340 * math/math.h: Likewise.
15341 * sysdeps/generic/_G_config.h: Likewise.
15342 * sysdeps/gnu/_G_config.h: Likewise.
15343 * sysdeps/mach/hurd/_G_config.h: Likewise.
15344 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15345 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15346 * sysdeps/sparc/bits/mathdef.h: Likewise.
15347
afc5ed09
UD
153482012-01-26 Ulrich Drepper <drepper@gmail.com>
15349
15350 [BZ #13583]
15351 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 15352 Clean up HAS_* macros.
afc5ed09 15353 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
15354 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
15355 possible.
15356 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
15357 HAS_AVX.
15358 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15359 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15360 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15361 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15362 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 15363
bdb6de1d
JM
153642012-01-25 Joseph Myers <joseph@codesourcery.com>
15365
15366 * elf/tst-unique3.cc (gets): Remove declaration.
15367 * elf/tst-unique3lib.cc (gets): Likewise.
15368 * elf/tst-unique3lib2.cc (gets): Likewise.
15369 * elf/tst-unique4.cc (gets): Likewise.
15370
b15549e6
UD
153712012-01-24 Ulrich Drepper <drepper@gmail.com>
15372
15373 * include/stdio.h: Add C++ protection. Add gets declarations and
15374 definitions.
15375 * debug/tst-chk1.c: Don't declare gets here.
15376 * stdio-common/tst-gets.c: Likewise.
15377
a037381f
JM
153782012-01-24 Joseph Myers <joseph@codesourcery.com>
15379
15380 * posix/glob: Remove directory.
15381
f1d4aa75
JM
153822012-01-24 Joseph Myers <joseph@codesourcery.com>
15383
15384 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
15385
81c0c964
PT
153862012-01-22 Pino Toscano <toscano.pino@tiscali.it>
15387
15388 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
15389 of the non-standard EPFNOSUPPORT.
15390
0ea698ae
ST
153912011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
15392
15393 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
15394 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
15395 ANYWHERE set to 1 only on KERN_NO_SPACE error.
15396
d220b117
UD
153972012-01-21 Ulrich Drepper <drepper@gmail.com>
15398
15399 * wcsmbs/uchar.h: Test __STDC_VERSION__.
15400
3e1aa84e
UD
154012012-01-20 Ulrich Drepper <drepper@gmail.com>
15402
15403 * nscd/aicache.c (addhstaiX): Do not cache negative results of
15404 transient errors.
15405 * nscd/grpcache.c (cache_addgr): Likewise.
15406 * nscd/hstcache.c (cache_addhst): Likewise.
15407 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15408 * nscd/pwdcache.c (cache_addpw): Likewise.
15409 * nscd/servicescache.c (cache_addserv): Likewise.
15410
400aa020
UD
154112012-01-16 Ulrich Drepper <drepper@gmail.com>
15412
d77e7869
UD
15413 * malloc/malloc.c: Various cleanups.
15414 * malloc/hooks.c: Likewise.
15415
400aa020
UD
15416 * stdlib/Makefile (tests): Add bug-fmtmsg1.
15417 * stdlib/bug-fmtmsg1.c: New file.
15418
15419 * stdlib/fmtmsg.c (init): Add missing unlock.
15420 Patch by Peng Haitao <penght@cn.fujitsu.com>.
15421
e0a309cf
MP
154222012-01-12 Marek Polacek <polacek@redhat.com>
15423
15424 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
15425 and _GNU_SOURCE.
15426
929d11c7
WS
154272012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15428
15429 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
15430 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
15431 macro to ensure uniqueness of label name.
15432 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15433 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15434
41d0e869
UD
154352012-01-11 Ulrich Drepper <drepper@gmail.com>
15436
0cc5ed3b
UD
15437 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
15438
41d0e869
UD
15439 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
15440 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15441 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15442 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
15443
a47a831a
UD
154442012-01-10 Ulrich Drepper <drepper@gmail.com>
15445
daa891c0
UD
15446 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
15447
15448 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
15449 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15450 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15451
e58ef0f2
UD
15452 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
15453
a47a831a 15454 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
15455 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15456 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 15457 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
15458
15459 * math/bits/math-finite.h: Add ldexp support.
15460
a0bfc9c7
MP
154612012-01-10 Marek Polacek <polacek@redhat.com>
15462
15463 * locale/programs/localedef.h (show_archive_content): Add noreturn
15464 attribute.
15465
d6e97a1d
UD
154662012-01-09 Ulrich Drepper <drepper@gmail.com>
15467
15468 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
15469
d5835c26
UD
154702012-01-08 Ulrich Drepper <drepper@gmail.com>
15471
e5f484c6
UD
15472 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
15473
d5835c26
UD
15474 * io/Makefile (headers): Add bits/poll2.h.
15475
d1f741e9
WS
154762011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
15477
15478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
15479 typo #include statement.
15480
ec09c1c4
UD
154812012-01-08 Ulrich Drepper <drepper@gmail.com>
15482
15483 * include/sys/cdefs.h: Define __attribute_alloc_size.
15484 * catgets/gencat.c: Add alloc_size attribute and apply consistently
15485 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
15486 * elf/pldd.c: Likewise.
15487 * iconv/iconv_charmap.c: Likewise.
15488 * iconv/iconvconfig.c: Likewise.
15489 * iconv/strtab.c: Likewise.
15490 * locale/programs/locale.c: Likewise.
15491 * locale/programs/localedef.h: Likewise.
15492 * locale/programs/simple-hash.c: Likewise.
15493 * nscd/nscd.h: Likewise.
15494 * nss/makedb.c: Likewise.
15495 * sysdeps/generic/ldconfig.h: Likewise.
15496 * locale/programs/localedef.c: Remove xmalloc prototype.
15497 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
15498
20b38e03
PP
154992012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15500
15501 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
15502 appropriate.
15503
a0da5fe1
UD
155042012-01-08 Ulrich Drepper <drepper@gmail.com>
15505
1d5a644a 15506 * math/Makefile (tests): Add tst-CMPLX.
669704fd 15507 * math/tst-CMPLX.c: New file.
1d5a644a 15508
8784a6db
UD
15509 * math/complex.h (CMPLXL): Fix typo.
15510
d9a216c0
UD
15511 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
15512 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
15513 GLIBC_2.16.
15514 * debug/tst-chk1.c: Add poll and ppoll tests.
15515 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
15516 * include/sys/poll.h: Add hidden proto for ppoll.
15517 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
15518 * sysdeps/mach/hurd/ppoll.c: Likewise.
15519 * io/ppoll.c: Likewise.
15520 * debug/poll_chk.c: New file.
15521 * debug/ppoll_chk.c: New file.
15522 * include/bits/poll2.h: New file.
15523 * io/bits/poll2.h: New file.
15524
ac097f5c
UD
15525 [BZ #1350]
15526 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
15527
2119dcfa
UD
15528 * configure.in: static is always set to yes. Remove.
15529 * config.make.in: Don't set build-static.
15530 * Makeconfig: Remove use of build-static.
15531 * dlfcn/Makefile: Likewise.
15532 * elf/Makefile: Likewise.
15533 * math/Makefile: Likewise.
15534 * misc/Makefile: Likewise.
15535 * nptl/Makefile: Likewise.
15536 * sysdeps/mach/hurd/Makefile: Likewise.
15537
121766a9
UD
15538 * configure.in: PWD_P is not used anymore.
15539 * config.make.in: Remove PWD_P entry.
15540
51a1d39c 15541 * configure.in: Remove last remnants of RANLIB.
8720d066 15542 No need to check for signed size_t anymore.
215f4bdc
UD
15543 Don't set libc_commonpagesize and libc_relro_required here for Alpha
15544 and IA-64.
3857022a 15545 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
15546 * aclocal.m4: Likewise.
15547
d3ed7225
UD
15548 * wcsmbs/mbrtoc16.c: Implement using towc function.
15549 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
15550 * wcsmbs/wcsmbsload.c: Likewise.
15551 * iconv/gconv_simple.c: Likewise.
15552 * iconv/gconv_int.h: Likewise.
15553 * iconv/gconv_builtin.h: Likewise.
15554 * iconv/iconv_prog.c: Remove CHAR16 handling.
15555
15556 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
15557
15558 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
15559
a0da5fe1
UD
15560 * configure.in: Remove --with-elf and --enable-bounded options.
15561 Dont set base_machine for ia64. More non-ELF conditions removed.
15562 Remove testing and setting of leading underscore information.
15563 * config.make.in (build-bounded): Set to no.
15564 * config.h.in: Remove NO_UNDERSCORES entry.
15565 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
15566 them.
15567 * csu/start.c: Remove !NO_UNDERSCORE code.
15568 * locale/localeinfo.h: Likewise.
15569 * sysdeps/generic/machine-gmon.h: Likewise.
15570 * sysdeps/generic/sysdep.h: Likewise.
15571 * sysdeps/i386/sysdep.h: Likewise.
15572 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15573 * sysdeps/mach/sysdep.h: Likewise.
15574 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15575 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15576 * sysdeps/sh/sysdep.h: Likewise.
15577 * sysdeps/sparc/sparc32/alloca.S: Likewise.
15578 * sysdeps/unix/i386/sysdep.S: Likewise.
15579 * sysdeps/unix/sparc/start.c: Likewise.
15580 * sysdeps/unix/sparc/sysdep.S: Likewise.
15581 * sysdeps/unix/sparc/sysdep.h: Likewise.
15582 * sysdeps/unix/start.c: Likewise.
15583 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15584 * sysdeps/x86_64/sysdep.h: Likewise.
15585
df78418a
UD
155862012-01-07 Ulrich Drepper <drepper@gmail.com>
15587
a784e502
UD
15588 [BZ #13553]
15589 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
15590 for non-gcc.
15591 * argp/argp-fmtstream.h: Use const instead __const.
15592 * argp/argp.h: Likewise.
15593 * assert/assert.h: Likewise.
15594 * bits/fenv.h: Likewise.
15595 * bits/sched.h: Likewise.
15596 * bits/sigset.h: Likewise.
15597 * bits/sigthread.h: Likewise.
15598 * catgets/nl_types.h: Likewise.
15599 * conform/data/pthread.h-data: Likewise.
15600 * crypt/crypt-private.h: Likewise.
15601 * crypt/crypt.h: Likewise.
15602 * crypt/crypt_util.c: Likewise.
15603 * ctype/ctype.h: Likewise.
15604 * debug/execinfo.h: Likewise.
15605 * debug/mbsnrtowcs_chk.c: Likewise.
15606 * debug/mbsrtowcs_chk.c: Likewise.
15607 * debug/wcsnrtombs_chk.c: Likewise.
15608 * debug/wcsrtombs_chk.c: Likewise.
15609 * debug/wcstombs_chk.c: Likewise.
15610 * dirent/dirent.h: Likewise.
15611 * dlfcn/dlfcn.h: Likewise.
15612 * elf/neededtest4.c: Likewise.
15613 * grp/grp.h: Likewise.
15614 * gshadow/gshadow.h: Likewise.
15615 * iconv/gconv.h: Likewise.
15616 * iconv/gconv_int.h: Likewise.
15617 * iconv/gconv_simple.c: Likewise.
15618 * iconv/iconv.h: Likewise.
15619 * iconv/loop.c: Likewise.
15620 * iconv/skeleton.c: Likewise.
15621 * include/aio.h: Likewise.
15622 * include/aliases.h: Likewise.
15623 * include/argz.h: Likewise.
15624 * include/arpa/inet.h: Likewise.
15625 * include/assert.h: Likewise.
15626 * include/dirent.h: Likewise.
15627 * include/dlfcn.h: Likewise.
15628 * include/execinfo.h: Likewise.
15629 * include/fcntl.h: Likewise.
15630 * include/fenv.h: Likewise.
15631 * include/glob.h: Likewise.
15632 * include/grp.h: Likewise.
15633 * include/libintl.h: Likewise.
15634 * include/mntent.h: Likewise.
15635 * include/netdb.h: Likewise.
15636 * include/pwd.h: Likewise.
15637 * include/rpc/netdb.h: Likewise.
15638 * include/sched.h: Likewise.
15639 * include/search.h: Likewise.
15640 * include/shadow.h: Likewise.
15641 * include/signal.h: Likewise.
15642 * include/stdio.h: Likewise.
15643 * include/stdlib.h: Likewise.
15644 * include/string.h: Likewise.
15645 * include/sys/socket.h: Likewise.
15646 * include/sys/stat.h: Likewise.
15647 * include/sys/statfs.h: Likewise.
15648 * include/sys/statvfs.h: Likewise.
15649 * include/sys/syslog.h: Likewise.
15650 * include/sys/time.h: Likewise.
15651 * include/sys/uio.h: Likewise.
15652 * include/time.h: Likewise.
15653 * include/unistd.h: Likewise.
15654 * include/utmp.h: Likewise.
15655 * include/wchar.h: Likewise.
15656 * include/wctype.h: Likewise.
15657 * inet/aliases.h: Likewise.
15658 * inet/arpa/inet.h: Likewise.
15659 * inet/netinet/ether.h: Likewise.
15660 * inet/netinet/in.h: Likewise.
15661 * intl/libintl.h: Likewise.
15662 * io/bits/fcntl2.h: Likewise.
15663 * io/fcntl.h: Likewise.
15664 * io/ftw.h: Likewise.
15665 * io/sys/poll.h: Likewise.
15666 * io/sys/stat.h: Likewise.
15667 * io/sys/statfs.h: Likewise.
15668 * io/sys/statvfs.h: Likewise.
15669 * io/utime.h: Likewise.
15670 * libio/bits/stdio.h: Likewise.
15671 * libio/bits/stdio2.h: Likewise.
15672 * libio/libio.h: Likewise.
15673 * libio/libioP.h: Likewise.
15674 * libio/stdio.h: Likewise.
15675 * locale/lc-ctype.c: Likewise.
15676 * locale/locale.h: Likewise.
15677 * login/utmp.h: Likewise.
15678 * malloc/arena.c: Likewise.
15679 * malloc/malloc.c: Likewise.
15680 * malloc/malloc.h: Likewise.
15681 * malloc/mcheck.c: Likewise.
15682 * malloc/mtrace.c: Likewise.
15683 * math/bits/mathcalls.h: Likewise.
15684 * math/fenv.h: Likewise.
15685 * math/math_private.h: Likewise.
15686 * misc/bits/error.h: Likewise.
15687 * misc/bits/syslog.h: Likewise.
15688 * misc/err.h: Likewise.
15689 * misc/error.h: Likewise.
15690 * misc/fstab.h: Likewise.
15691 * misc/mntent.h: Likewise.
15692 * misc/regexp.h: Likewise.
15693 * misc/search.h: Likewise.
15694 * misc/sgtty.h: Likewise.
15695 * misc/sys/mman.h: Likewise.
15696 * misc/sys/syslog.h: Likewise.
15697 * misc/sys/uio.h: Likewise.
15698 * misc/sys/xattr.h: Likewise.
15699 * misc/ttyent.h: Likewise.
15700 * nis/rpcsvc/ypclnt.h: Likewise.
15701 * nss/nss.h: Likewise.
15702 * posix/bits/unistd.h: Likewise.
15703 * posix/fnmatch.h: Likewise.
15704 * posix/glob.h: Likewise.
15705 * posix/sched.h: Likewise.
15706 * posix/spawn.h: Likewise.
15707 * posix/sys/wait.h: Likewise.
15708 * posix/unistd.h: Likewise.
15709 * posix/wordexp.h: Likewise.
15710 * pwd/pwd.h: Likewise.
15711 * resolv/netdb.h: Likewise.
15712 * resource/sys/resource.h: Likewise.
15713 * rt/aio.h: Likewise.
15714 * rt/bits/mqueue2.h: Likewise.
15715 * rt/mqueue.h: Likewise.
15716 * shadow/shadow.h: Likewise.
15717 * signal/signal.h: Likewise.
15718 * socket/send.c: Likewise.
15719 * socket/sendto.c: Likewise.
15720 * socket/sys/socket.h: Likewise.
15721 * stdio-common/printf.h: Likewise.
15722 * stdlib/bits/stdlib.h: Likewise.
15723 * stdlib/fmtmsg.h: Likewise.
15724 * stdlib/monetary.h: Likewise.
15725 * stdlib/stdlib.h: Likewise.
15726 * stdlib/ucontext.h: Likewise.
15727 * streams/stropts.h: Likewise.
15728 * string/argz.h: Likewise.
15729 * string/bits/string2.h: Likewise.
15730 * string/string.h: Likewise.
15731 * string/strings.h: Likewise.
15732 * sunrpc/rpc/auth.h: Likewise.
15733 * sunrpc/rpc/auth_des.h: Likewise.
15734 * sunrpc/rpc/clnt.h: Likewise.
15735 * sunrpc/rpc/netdb.h: Likewise.
15736 * sunrpc/rpc/pmap_clnt.h: Likewise.
15737 * sunrpc/rpc/xdr.h: Likewise.
15738 * sysdeps/generic/inttypes.h: Likewise.
15739 * sysdeps/generic/net/if.h: Likewise.
15740 * sysdeps/generic/sys/swap.h: Likewise.
15741 * sysdeps/gnu/net/if.h: Likewise.
15742 * sysdeps/gnu/utmpx.h: Likewise.
15743 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
15744 * sysdeps/i386/i486/bits/string.h: Likewise.
15745 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
15746 * sysdeps/s390/bits/string.h: Likewise.
15747 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
15748 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
15749 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
15750 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
15751 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15752 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
15753 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
15754 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
15755 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
15756 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
15757 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
15758 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15759 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
15760 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15761 * sysdeps/unix/sysv/linux/readv.c: Likewise.
15762 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
15763 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15764 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15765 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15766 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15767 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15768 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
15769 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
15770 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
15771 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
15772 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
15773 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
15774 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15775 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
15776 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
15777 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
15778 * sysvipc/sys/ipc.h: Likewise.
15779 * sysvipc/sys/msg.h: Likewise.
15780 * sysvipc/sys/sem.h: Likewise.
15781 * sysvipc/sys/shm.h: Likewise.
15782 * termios/termios.h: Likewise.
15783 * time/sys/time.h: Likewise.
15784 * time/time.h: Likewise.
15785 * wcsmbs/bits/wchar2.h: Likewise.
15786 * wcsmbs/uchar.h: Likewise.
15787 * wcsmbs/wchar.h: Likewise.
15788 * wctype/wctype.h: Likewise.
15789
0269750c
UD
15790 [BZ #13551]
15791 * Makeconfig: Remove all but ELF support including AIX support.
15792 * Makerules: Likewise.
15793 * config.h.in: Likewise.
15794 * config.make.in: Likewise.
15795 * configure: Likewise.
15796 * configure.in: Likewise.
15797 * csu/Makefile: Likewise.
15798 * csu/version.c: Likewise.
15799 * debug/Makefile: Likewise.
15800 * dlfcn/Makefile: Likewise.
15801 * elf/Makefile: Likewise.
15802 * extra-lib.mk: Likewise.
15803 * iconv/Makefile: Likewise.
15804 * include/libc-symbols.h: Likewise.
15805 * include/shlib-compat.h: Likewise.
15806 * resolv/Makefile: Likewise.
15807 * resolv/res_libc.c: Likewise.
15808 * rt/Makefile: Likewise.
15809 * sysdeps/i386/asm-syntax.h: Likewise.
15810 * sysdeps/i386/sysdep.h: Likewise.
15811 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15812 * sysdeps/mach/sysdep.h: Likewise.
15813 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
15814 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
15815 * sysdeps/s390/asm-syntax.h: Likewise.
15816 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15817 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15818 * sysdeps/sh/sysdep.h: Likewise.
15819 * sysdeps/unix/sparc/sysdep.h: Likewise.
15820 * sysdeps/wordsize-32/divdi3.c: Likewise.
15821 * sysdeps/x86_64/sysdep.h: Likewise.
15822
00bbd29b
UD
15823 * argp/Versions: Remove _argp_unlock_xxx.
15824
15825 [BZ #13559]
15826 * abilist/ld.abilist: Update. Adjust for removal of tls option.
15827 * abilist/libBrokenLocale.abilist: Likewise.
15828 * abilist/libanl.abilist: Likewise.
15829 * abilist/libc.abilist: Likewise.
15830 * abilist/libcrypt.abilist: Likewise.
15831 * abilist/libdl.abilist: Likewise.
15832 * abilist/libm.abilist: Likewise.
15833 * abilist/libnsl.abilist: Likewise.
15834 * abilist/libpthread.abilist: Likewise.
15835 * abilist/libresolv.abilist: Likewise.
15836 * abilist/librt.abilist: Likewise.
15837 * abilist/libthread_db.abilist: Likewise.
15838 * abilist/libutil.abilist: Likewise.
15839 * abilist/libnss_db.abilist: New file.
15840
15841 * scripts/abilist.awk: Add support for indirect functions.
15842
a2693a0e
UD
15843 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
15844
3f05895f
UD
15845 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
15846
ecb6fb48
UD
15847 * shlib-versions: Remove entries for ports architectures.
15848
664f8cb9
UD
15849 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
15850 files in ports.
15851 * elf/stackguard-macros.h: Remove support for IA-64.
15852 * elf/tst-auditmod1.c: Likewise.
15853 * sysdeps/generic/ldsodefs.h: Likewise.
15854
7ae81d88
UD
15855 * sysdeps/unix/sysv/linux/configure.in: Ports should define
15856 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
15857 configure files.
15858
bdeba135
UD
15859 [BZ #13552]
15860 * configure.in: Remove --enable-omitfp support.
15861 * FAQ.in: Adjust.
15862 * config.make.in: Likewise.
15863 * Makeconfig: Likewise.
15864 * manual/install.texi: Likewise.
15865
d75a0a62
UD
15866 In case anyone cares, the IA-64 architecture could move to ports.
15867 * sysdeps/ia64/*: Removed.
15868 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 15869 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 15870
dcc9756b
UD
15871 [BZ #13555]
15872 * configure.in: Remove entries for unsupported architectures.
15873
d3761ebc 15874 [BZ #13533]
9954432e
UD
15875 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
15876 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
15877 routines.
15878 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
15879 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
15880 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
15881 fall back to using wcrtomb.
15882 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
15883 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
15884 renaming.
15885 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
15886 * wcsmbs/tst-c16c32-1.c: New file.
15887
15888 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
15889 local variable.
15890
c3a87236
UD
15891 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
15892
28926a1b
UD
15893 * elf/tst-unique3.cc: Add explicit declaration of gets.
15894 * elf/tst-unique3lib.cc: Likewise.
15895 * elf/tst-unique3lib2.cc: Likewise.
15896 * elf/tst-unique4.cc: Likewise.
15897
df78418a
UD
15898 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
15899
8ecd6b2a
JM
159002012-01-06 Joseph Myers <joseph@codesourcery.com>
15901
15902 [BZ #13566]
15903 * assert/assert.h (static_assert): Don't define for C++.
15904 * libio/stdio.h (gets): Do declare for C++ <= C++11.
15905 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
15906
9f115170
UD
159072012-01-03 Ulrich Drepper <drepper@gmail.com>
15908
5e0d0300
UD
15909 * iconv/loop.c (single loop): Fix assertion in storing of
15910 remaining bytes.
15911
9f115170
UD
15912 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
15913
81fb02b0
UD
159142012-01-01 Ulrich Drepper <drepper@gmail.com>
15915
15916 * posix/getconf.c: Update copyright year.
15917 * nss/getent.c: Likewise.
a316c1f6 15918 * nss/makedb.c: Likewise.
81fb02b0
UD
15919 * iconv/iconvconfig.c: Likewise.
15920 * iconv/iconv_prog.c: Likewise.
15921 * elf/ldconfig.c: Likewise.
a316c1f6
UD
15922 * elf/pldd.c: Likewise.
15923 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
15924 * catgets/gencat.c: Likewise.
15925 * csu/version.c: Likewise.
15926 * elf/ldd.bash.in: Likewise.
15927 * elf/sprof.c (print_version): Likewise.
15928 * locale/programs/locale.c: Likewise.
15929 * locale/programs/localedef.c: Likewise.
a316c1f6 15930 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
15931 * nscd/nscd.c (print_version): Likewise.
15932 * debug/xtrace.sh: Likewise.
15933 * malloc/memusage.sh: Likewise.
15934 * malloc/mtrace.pl: Likewise.
15935 * debug/catchsegv.sh: Likewise.
15936
2ba92745
JJ
159372011-12-30 Jakub Jelinek <jakub@redhat.com>
15938
15939 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
15940 pure attribute.
15941
dadebdae
UD
159422011-12-24 Ulrich Drepper <drepper@gmail.com>
15943
d3761ebc 15944 [BZ #13533]
db6af3eb
UD
15945 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
15946 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
15947 transformations.
15948 * iconv/gconv_int.h: Likewise.
15949 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
15950 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
15951 from libc for GLIBC_2.16.
15952 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
15953 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
15954 * wcsmbs/uchar.h: Really define mbstate_t.
15955 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
15956 * wcsmbs/c16rtomb.c: New file.
15957 * wcsmbs/mbrtoc16.c: New file.
15958 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
15959 for C/POSIX locale.
15960 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
15961 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
15962
dadebdae
UD
15963 * wcsmbs/wchar.h: Add missing __restrict.
15964
67371b56
UD
159652011-12-23 Ulrich Drepper <drepper@gmail.com>
15966
74033a25
UD
15967 [BZ #13532]
15968 * time/Makefile (routines): Add timespec_get.
15969 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
15970 * time/time.h: Define TIME_UTC and declare timespec_get. Define
15971 timespec for ISO C11.
15972 * time/timespec_get.c: New file.
15973 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
15974 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
15975
380d7e87
UD
15976 [BZ #13531]
15977 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
15978 * stdlib/stdlib.h: Declare aligned_alloc.
15979 * Versions.def: Add GLIBC_2.16 for libc.
15980 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
15981
4e9e7a35
UD
15982 [BZ 13527]
15983 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
15984 ISO C11.
15985
380d7e87 15986 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
15987 code.
15988
03a71829
UD
15989 [BZ #13528]
15990 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
15991
839e283e
UD
15992 [BZ #13529]
15993 * assert/assert.h (static_assert): Define.
15994
ce5294e2 15995 * version.h: Update for 2.16 development version.
90fa7312 15996
8d44e150 15997 [BZ #13526]
d7809905
UD
15998 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
15999 _ISOC11_SOURCE.
16000
c0da14cd
UD
16001 * version.h (RELEASE): Bump for 2.15 release.
16002 * include/features.h (__GLIBC_MINOR__): Bump to 15.
16003
530a3249
MP
16004 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16005 Patch by Marek Polacek <mpolacek@redhat.com>.
16006
67371b56
UD
16007 * bits/byteswap.h: Protect long long constants with __extension__.
16008 * sysdeps/i386/bits/byteswap.h: Likewise.
16009 * sysdeps/ia64/bits/byteswap.h: Likewise.
16010 * sysdeps/s390/bits/byteswap.h: Likewise.
16011 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16012
15db4de1
LD
160132011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16014
16015 [BZ #13540]
bbe315ea
LD
16016 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16017 destination buffer.
15db4de1
LD
16018 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16019
2b2596b1
MP
160202011-12-23 Marek Polacek <polacek@redhat.com>
16021
16022 * elf/dl-addr.c (determine_info): Add inline keyword.
16023 * elf/tst-auditmod4b.c (check_avx): Likewise.
16024 * elf/tst-auditmod6b.c (check_avx): Likewise.
16025 * elf/tst-auditmod6c.c (check_avx): Likewise.
16026 * elf/tst-auditmod7b.c (check_avx): Likewise.
16027
70c6c246
UD
160282011-12-23 Ulrich Drepper <drepper@gmail.com>
16029
16030 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16031 !__SSE_MATH__.
16032
c044cf14
LD
160332011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16034
15db4de1 16035 [BZ #13540]
c044cf14
LD
16036 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16037 processing for last bytes.
16038
6b13d9d9
BH
160392011-08-06 Bruno Haible <bruno@clisp.org>
16040
d455f537
BH
16041 [BZ #13061]
16042 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16043 U+0385, not to U+1FEE.
16044
6b13d9d9
BH
16045 [BZ #13062]
16046 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16047 entry for U+00A5 U+0301.
16048
db910efd
UD
160492011-12-22 Ulrich Drepper <drepper@gmail.com>
16050
27deeafc
UD
16051 [BZ #13166]
16052 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16053 buffer for the output is too small.
16054
aed9d171
UD
16055 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16056 optimization.
16057
db910efd
UD
16058 [BZ #13185]
16059 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16060 SSE flags if possible.
16061
2bd779ae
LD
160622011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16063
e7f9dac3 16064 [BZ #13540]
2bd779ae
LD
16065 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16066 processing for last bytes.
16067
154bfc16
JM
160682011-12-22 Joseph Myers <joseph@codesourcery.com>
16069
16070 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16071 (syscall-list-default-options, syscall-list-default-condition)
16072 (syscall-list-includes): Define.
16073 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16074 list of ABIs and options and #if conditions for each ABI. Do not
16075 handle common syscalls between ABIs specially.
16076 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16077 Remove.
16078 (syscall-list-variants, syscall-list-32bit-options)
16079 (syscall-list-32bit-condition, syscall-list-64bit-options)
16080 (syscall-list-64bit-condition): Define.
16081 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16082 (syscall-list-variants, syscall-list-32bit-options)
16083 (syscall-list-32bit-condition, syscall-list-64bit-options)
16084 (syscall-list-64bit-condition): Define.
16085 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16086 Remove.
16087 (syscall-list-variants, syscall-list-32bit-options)
16088 (syscall-list-32bit-condition, syscall-list-64bit-options)
16089 (syscall-list-64bit-condition): Define.
16090 * sysdeps/unix/sysv/linux/x86_64/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
21eaf3a5
UD
160962011-12-22 Ulrich Drepper <drepper@gmail.com>
16097
16c6f992
UD
16098 * locale/iso-639.def: Add brx entry.
16099
41043168
UD
16100 [BZ #13328]
16101 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16102 Proposed by Mariusz_Cukr <marcukr@op.pl>.
16103
21eaf3a5
UD
16104 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16105 __feraiseexcept_renamed.
16106
e3a851a2
UD
161072011-12-21 Ulrich Drepper <drepper@gmail.com>
16108
4920765e
UD
16109 [BZ #13538]
16110 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16111 EPOLLET with unsigned values.
16112 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16113 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16114
e3a851a2
UD
16115 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16116 to large cancellation.
16117 * math/s_cacoshf.c: Likewise.
16118 * math/s_cacoshl.c: Likewise.
16119
b27e24b8
RK
161202011-11-18 Richard B. Kreckel <kreckel@ginac.de>
16121
16122 [BZ #13305]
aebefeee 16123 [BZ #12786]
b27e24b8
RK
16124 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16125 * math/s_cacoshf.c: Likewise.
16126 * math/s_cacoshl.c: Likewise.
16127
ee190f67
UD
161282011-12-21 Ulrich Drepper <drepper@gmail.com>
16129
16130 [BZ #13439]
16131 * iconv/gconv.h: Define __GCONV_SWAP.
16132 * iconvdata/unicode.c: The swap bit must be stored in __flags.
16133 * iconvdata/utf-16.c: Likewise.
16134 * iconvdata/utf-32.c: Likewise.
16135
707f25df
AS
161362011-12-21 Andreas Schwab <schwab@linux-m68k.org>
16137
16138 [BZ #13524]
16139 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16140 numerator after shifting it by one limb.
16141
d2daaa1e
RÁE
161422011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
16143
16144 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16145 under [__USE_EXTERN_INLINES].
16146
a4647e72
UD
161472011-12-17 Ulrich Drepper <drepper@gmail.com>
16148
16149 [BZ #13446]
16150 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16151
f0b264f1
AZ
161522011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16153
16154 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16155 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16156 optimized code.
16157 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
16158 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
16159 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
16160 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
16161 for strncasecmp/strncasecmp_l compilation.
16162 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
16163 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
16164
8ef4f244
MP
161652011-12-08 Marek Polacek <mpolacek@redhat.com>
16166
16167 [BZ #13484]
16168 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
16169 of __asm__.
16170
97ac2654
UD
161712011-12-17 Ulrich Drepper <drepper@gmail.com>
16172
16173 [BZ #13506]
16174 * time/tzfile.c (__tzfile_read): Check values from file header.
16175
91d2a845
WS
161762011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16177
16178 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
16179 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
16180 * powerpc/powerpc32/dl-start.S: Likewise.
16181 * powerpc/powerpc32/elf/start.S: Likewise.
16182 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16183 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
16184 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
16185 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
16186 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16187 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
16188 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
16189 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16190 * powerpc/powerpc32/fpu/s_round.S: Likewise.
16191 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16192 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16193 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16194 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16195 * powerpc/powerpc32/memset.S: Likewise.
16196 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16197 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16198 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16199 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16200 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16201 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16202 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16203 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16204 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
16205 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
16206 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
16207 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16208 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16209
a1267ba1
AZ
162102011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16211
16212 * math/libm-test.inc: Added more nearbyint tests.
16213 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
16214 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
16215 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
16216 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
16217
ad8ac1bd
RL
162182011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
16219
16220 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
16221 FD_CLOEXEC.
16222
1d3e4b61
UD
162232011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16224
16225 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
16226 Add wcscpy-ssse3 wcscpy-c.
16227 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
16228 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
16229 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
16230 * sysdeps/x86_64/wcschr.S: New file.
16231 * sysdeps/x86_64/wcsrchr.S: New file.
16232 * string/test-strcmp.c: Remove checking of wcscmp function for
16233 wrong alignments.
16234 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
16235 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
16236 wcsrchr-sse2 wcsrchr-c.
16237 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
16238 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
16239 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
16240 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
16241 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
16242 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
16243 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
16244 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
16245 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
16246 * wcsmbc/wcschr.c (WCSCHR): New macro.
16247
5b330a2d
UD
162482011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16249
16250 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
16251 * wcsmbs/test-wcsrchr.c: New file.
16252 * string/test-strrchr.c: Add wcsrchr support.
16253 (WIDE): New macro.
16254 * wcsmbs/test-wcscpy.c: New file.
16255 * string/test-strcpy.c: Add wcscpy support.
16256 (WIDE): New macro.
26428b7c 16257
f039c043
UD
162582011-12-10 Ulrich Drepper <drepper@gmail.com>
16259
16260 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16261 the inner loop.
16262
850fb039
AS
162632011-12-06 Andreas Schwab <schwab@linux-m68k.org>
16264
16265 [BZ #13472]
16266 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16267
4efbd5cb
UD
162682011-12-04 Ulrich Drepper <drepper@gmail.com>
16269
52ff5dd0 16270 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 16271 Minor optimizations.
52ff5dd0 16272
4efbd5cb
UD
16273 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16274 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16275 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16276
8a426e12
UD
162772011-12-03 Ulrich Drepper <drepper@gmail.com>
16278
aff2453d
UD
16279 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16280 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
16281 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
16282 for gcc to avoid warnings.
16283 * inet/Makefile (tests): Add tst-checks.
16284 * inet/tst-checks.c: New file.
16285
16286 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
16287 warning.
16288
16289 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
16290 __wmemcmp_sse2.
16291
16292 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
16293 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
16294
8a426e12
UD
16295 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16296
9bea3473
UD
162972011-12-02 Ulrich Drepper <drepper@gmail.com>
16298
3a965496
UD
16299 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16300 problem.
16301
9bea3473
UD
16302 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16303
f101631b
UD
163042011-11-29 Joseph Myers <joseph@codesourcery.com>
16305
16306 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16307 conditional on GCC version.
16308 (__arch_compare_and_exchange_val_8_acq)
16309 (__arch_compare_and_exchange_val_16_acq)
16310 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16311 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16312 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16313
a98275aa
UD
163142011-12-02 Joseph Myers <joseph@codesourcery.com>
16315
16316 * sysdeps/sh/backtrace.c: New file.
16317
d4cc29a2
AS
163182011-12-02 Andreas Schwab <schwab@redhat.com>
16319
16320 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
16321 parenthesis.
16322
6257af2d
AS
163232011-12-01 Andreas Schwab <schwab@redhat.com>
16324
16325 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
16326 falling back to utime.
16327
b5f44c1a
AS
163282011-11-30 Andreas Schwab <schwab@redhat.com>
16329
16330 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
16331 expectations for float.
16332
f3a6cc0a
AS
163332011-11-29 Andreas Schwab <schwab@redhat.com>
16334
16335 * locale/weight.h (findidx): Add parameter len.
16336 * locale/weightwc.h (findidx): Likewise.
16337 * posix/fnmatch_loop.c (FCT): Adjust caller.
16338 * posix/regcomp.c (build_equiv_class): Likewise.
16339 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16340 * posix/regexec.c (check_node_accept_bytes): Likewise.
16341 * string/strcoll_l.c (STRCOLL): Likewise.
16342 * string/strxfrm_l.c (STRXFRM): Likewise.
16343
9d65ea3a
UD
163442011-11-17 Ulrich Drepper <drepper@gmail.com>
16345
16346 * Makefile.in: Remove CVSOPT handling.
16347 * configure.in: Remove use of AC_REVISION.
16348 * iconvdata/Makefile (distribute): No need to filter out CVS.
16349 * scripts/list-sources.sh: Remove CVS, subversion and monotone
16350 handling.
16351
5583a086
AS
163522011-11-16 Andreas Schwab <schwab@redhat.com>
16353
16354 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
16355 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
16356 [USE_AS_STRNCASECMP_L]: Likewise.
16357 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
16358 NO_TLS_DIRECT_SEG_REFS.
16359 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
16360 Fix argument offsets for non-PIC.
16361 [USE_AS_STRNCASECMP_L]: Likewise.
16362 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
16363 NO_TLS_DIRECT_SEG_REFS.
16364
d62a8200
UD
163652011-11-15 Ulrich Drepper <drepper@gmail.com>
16366
9d65ea3a 16367 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
16368 O_CLOEXEC.
16369 * locale/loadlocale.c (_nl_load_locale): Likewise.
16370
09f93bd3
AS
163712011-11-15 Andreas Schwab <schwab@redhat.com>
16372
446514f9
AS
16373 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
16374 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
16375 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
16376 (SYSCALL_GETTIME): Set errno on error.
16377
09f93bd3
AS
16378 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
16379 count references to noai6ai_cached.
16380
312be3f9
UD
163812011-11-15 Ulrich Drepper <drepper@gmail.com>
16382
16383 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
16384
16385 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
16386 FD_CLOEXEC for /proc/self/maps.
16387
16388 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
16389 FD_CLOEXEC for /proc/meminfo.
16390
16391 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
16392 gai.conf.
16393
16394 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
16395 FD_CLOEXEC for given file.
16396
16397 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
16398
16399 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
16400 FD_CLOEXEC for /etc/hosts.
16401 (_gethtent): Likewise.
16402
16403 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
16404
16405 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
16406 cancellation and set FD_CLOEXEC for /etc/netgroup.
16407
16408 * nss/nss_files/files-key.c (search): Don't allow cancellation when
16409 reading /etc/publickey.
16410
16411 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
16412 allow cancellation when reading /etc/group.
16413
16414 * nss/nss_files/files-alias.c (internal_setent): Don't allow
16415 cancellation.
16416 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
16417
16418 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
16419 when using data file.
16420
16421 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
16422
16423 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
16424 (write_nis_obj): Use "c" and "e" in fopen.
16425
16426 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
16427
16428 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
16429
16430 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
16431
16432 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
16433
16434 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
16435 locale.alias.
16436
16437 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
16438
16439 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
16440
16441 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
16442
16443 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
16444 file parsing and set FD_CLOEXEC.
16445
82af0fa8
UD
164462011-11-14 Ulrich Drepper <drepper@gmail.com>
16447
16448 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
16449
a5fb313c
AS
164502011-11-14 Andreas Schwab <schwab@redhat.com>
16451
16452 * malloc/arena.c (arena_get2): Don't call reused_arena when
16453 _int_new_arena failed.
16454
6abf3465
UD
164552011-11-14 Ulrich Drepper <drepper@gmail.com>
16456
16457 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
16458 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
16459 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
16460 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16461 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16462 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
16463 to compile strcasecmp and strncasecmp.
16464 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
16465 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
16466
16467 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
16468
76e3966e
UD
164692011-11-13 Ulrich Drepper <drepper@gmail.com>
16470
16471 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
16472 locale-defines.sym to gen-as-const-headers.
16473 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
16474 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
16475 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
16476 to compile strcasecmp and strncasecmp.
16477 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
16478 strcasecmp_l and strncasecmp_l.
16479 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
16480 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
16481 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
16482 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
16483 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
16484 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
16485 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
16486 * sysdeps/i386/i686/multiarch/strncase.S: New file.
16487 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
16488 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
16489 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
16490
ab26144e
UD
164912011-11-12 Ulrich Drepper <drepper@gmail.com>
16492
7edb22ef
UD
16493 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
16494 result of SYSDEP_GETTIME_CPU to retval.
16495 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
16496 parameter list to macro. Remove trailing semicolon. Adjust users.
16497
9694fc44
UD
16498 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
16499 variable.
16500
8ad89ef8
UD
16501 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
16502 mantissa words.
16503 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16504
0c822ef9
UD
16505 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
16506 from unused variable.
16507
874e0564
UD
16508 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
16509 DWARF definitions.
16510 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
16511 for assembling.
16512
3a2edc79
UD
16513 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
16514 over namespaces.
16515
f3c2577f
UD
16516 * sunrpc/rpc_prot.c (rejected): Fix case value.
16517
294ce126
UD
16518 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
16519 unsigned long long int to avoid warnings in shift.
16520
5e2b63c6
UD
16521 * posix/regex_internal.c (re_string_reconstruct): Actually use result
16522 of use of trans.
16523 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
16524 variable tmp.
16525
e7f4b08e
UD
16526 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
16527 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
16528 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
16529
ab26144e
UD
16530 * nis/nis_table.c (nis_list): Use variable of correct type for
16531 result of __follow_path call.
16532
8a6d5255
AZ
165332011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16534
16535 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
16536 of math functions ceil, trunc, floor, round, and sqrt, when
16537 avaliable on the platform.
16538 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
16539 name clash.
16540 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16541 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16542 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16543
aaddc98c
MP
165442011-10-30 Marek Polacek <mpolacek@redhat.com>
16545
16546 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
16547 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16548
95b7042b
RM
165492011-11-11 Roland McGrath <roland@hack.frob.com>
16550
16551 * include/unistd.h: Fix __readlink return type.
16552 Reported by Chris Metcalf <cmetcalf@tilera.com>.
16553
57769839
UD
165542011-11-11 Ulrich Drepper <drepper@gmail.com>
16555
16556 * stdlib/ucontext.h: Undo last change for makecontext.
16557
edc5984d
AS
165582011-11-11 Andreas Schwab <schwab@redhat.com>
16559
98591e58
AS
16560 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
16561
edc5984d
AS
16562 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
16563 * setjmp/setjmp.h: Mark functions as non-leaf.
16564 * setjmp/bits/setjmp2.h: Likewise.
16565 * stdlib/ucontext.h: Likewise.
16566
77cdc054
AS
165672011-11-10 Andreas Schwab <schwab@redhat.com>
16568
16569 * malloc/arena.c (_int_new_arena): Don't increment narenas.
16570 (reused_arena): Don't check arena limit.
16571 (arena_get2): Atomically check arena limit.
16572
fe72eebd
UD
165732011-11-08 Ulrich Drepper <drepper@gmail.com>
16574
5f078c32
UD
16575 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
16576 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
16577
fe72eebd
UD
16578 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
16579 instructions.
16580
ae1bc2fa
AS
165812011-11-07 Andreas Schwab <schwab@redhat.com>
16582
7583a88d
AS
16583 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
16584 handler when locking.
16585
ae1bc2fa
AS
16586 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16587 Fix size of allocated buffer.
16588
10fb0bfa
AS
165892011-11-04 Andreas Schwab <schwab@redhat.com>
16590
998832a4
AS
16591 [BZ #10103]
16592 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
16593 declarations for long double functions.
16594 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
16595
10fb0bfa
AS
16596 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
16597
3d7ba52b
AS
165982011-11-03 Andreas Schwab <schwab@redhat.com>
16599
a9ae54a1
AS
16600 * nscd/nscd.c (main): Don't start AVC thread until credentials are
16601 installed.
16602
3d7ba52b
AS
16603 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
16604 is disabled.
16605
bc8db248
ST
166062011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16607
16608 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
16609
45b96dd6
AS
166102011-11-01 Andreas Schwab <schwab@linux-m68k.org>
16611
647776f6
AS
16612 * include/alloca.h (stackinfo_alloca_round): Define.
16613 (extend_alloca): Use it.
16614 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
16615 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
16616 here.
16617
d91a8b93
AS
16618 * scripts/check-local-headers.sh: Ignore libaudit.h.
16619
45b96dd6
AS
16620 * nscd/Makefile (extra-objs): Make recursively expanded.
16621
432d41ce
UD
166222011-11-01 Ulrich Drepper <drepper@gmail.com>
16623
34372fc6
UD
16624 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
16625 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16626
fadb59f8
UD
16627 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
16628 * posix/tst-rfc3484-2.c: Likewise.
16629 * posix/tst-rfc3484-3.c: Likewise.
16630
78239589
UD
16631 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16632 process_vm_writev.
16633 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
16634 process_vm_writev.
16635 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
16636 process_vm_writev from libc using GLIBC_2.15 version.
16637
432d41ce
UD
16638 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
16639
02f9c6cf
PP
166402011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
16641
16642 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
16643 stack usage.
16644
3a2c0242
UD
166452011-10-31 Ulrich Drepper <drepper@gmail.com>
16646
f4ec4833
UD
16647 [BZ #13367]
16648 * nss/getent.c (initgroups_keys): Show error message in case no group
16649 names are given.
16650
3a2c0242
UD
16651 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
16652 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
16653 __bump_nl_timestamp.
16654 * nscd/connections (nscd_init): When host database is served open
16655 netlink socket and request notification about configuration changes.
16656 (main_loop_poll): Track netlink file descriptor and bump timestamp
16657 in case data becomes available.
16658 (main_loop_epoll): Likewise.
16659 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
16660 (database_pers_head): Add extra_data fileds.
16661 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
16662 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
16663 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
16664 Adjust caller.
16665 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
16666 in6ai data, call __free_in6ai.
16667 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
16668 Add -DHAVE_NETLINK.
16669 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
16670 interface information. Reuse previous data if netlink timestamp
16671 is not changed.
16672 (__bump_nl_timestamp): New function.
16673 (__free_in6ai): New function.
16674
636064eb
UD
166752011-10-30 Ulrich Drepper <drepper@gmail.com>
16676
16677 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
16678 close_not_cancel_no_status here.
16679 (__check_pf): Reorganize code a bit to not call close twice if OOM.
16680
9beb2334
UD
166812011-10-29 Ulrich Drepper <drepper@gmail.com>
16682
6ef76f3b
UD
16683 [BZ #13276]
16684 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
16685 return value.
16686
0ffc4f3e 16687 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
16688 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
16689 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
16690
cb95113e
UD
166912011-07-03 Andreas Jaeger <aj@suse.de>
16692
16693 [BZ #10709]
16694 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
16695 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
16696 * math/libm-test.inc (sin_test): Add test case.
16697
a1b560ff
UD
166982011-10-29 Ulrich Drepper <drepper@gmail.com>
16699
c9aaface
UD
16700 [BZ #13337]
16701 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
16702 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16703
d272e7f1
UD
16704 * elf/chroot_canon.c (chroot_canon): Cleanups.
16705
1bc33071
UD
16706 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
16707
1760874d
TJ
16708 [BZ #13335]
16709 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
16710 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16711
51d91b18
UD
16712 * string/test-strchr.c: Make usable for strchrnul testing.
16713 * string/test-strchrnul.c: New file.
16714 * string/Makefile (strop-tests): Add strchrnul.
16715
a1b560ff 16716 * po/it.po: Update from translation team.
b611fb81 16717 * po/es.po: Likewise.
a1b560ff 16718
a5b81e1f
UD
167192011-10-28 Ulrich Drepper <drepper@gmail.com>
16720
fd52bc6d
UD
16721 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
16722 the three constants needed as parameters. Drop the others.
16723 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
16724 __m128i_strloadu_tolower.
52e4b9eb
UD
16725 Create and initialize variable zero and use it in all the places
16726 where _mm_setzero_si128 was used.
fd52bc6d 16727
a5b81e1f
UD
16728 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
16729 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
16730 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
16731 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
16732 anymore.
16733 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
16734 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
16735 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
16736 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
16737 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
16738 __mpranred, __mptan.
16739 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
16740 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
16741 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
16742 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
16743 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
16744 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
16745 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
16746 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
16747 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
16748
b4343346
AS
167492011-10-28 Andreas Schwab <schwab@redhat.com>
16750
0c92d8a8
AS
16751 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
16752 redefine if SHARED.
16753 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
16754
b4343346
AS
16755 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
16756 wide char related routines to wcsmbs subdir.
16757
3871f58f
AS
167582011-10-27 Andreas Schwab <schwab@redhat.com>
16759
16760 [BZ #13344]
16761 * misc/sys/cdefs.h (__THROWNL): Define.
16762 * posix/unistd.h: Use __THREADNL instead of __THREAD
16763 for memory synchronization functions.
16764
94d44d9f
RM
167652011-10-26 Roland McGrath <roland@hack.frob.com>
16766
21b64b15 16767 [BZ #13349]
94d44d9f
RM
16768 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
16769 doesn't exist.
16770 * manual/stdio.texi (Obstack Streams): Node removed.
16771
f6ce9294
AS
167722011-10-26 Andreas Schwab <schwab@redhat.com>
16773
80479147
AS
16774 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
16775 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16776 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16777
f6ce9294
AS
16778 * math/math_private.h (math_force_eval): Allow non-addressable
16779 arguments.
16780 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
16781
618280a1
UD
167822011-10-25 Ulrich Drepper <drepper@gmail.com>
16783
e0016b11
UD
16784 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
16785 file is not needed.
16786
16787 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
16788 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16789 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16790 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16791 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16792 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16793 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16794 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
16795 Add AVX variants.
16796 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
16797 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
16798 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
16799 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
16800 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
16801 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
16802 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
16803 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
16804 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
16805 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
16806 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
16807 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
16808 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
16809 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
16810 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
16811 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
16812 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
16813 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
16814 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
16815
16816 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
16817 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
16818
618280a1
UD
16819 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
16820 place. Use VEX encoding when compiling for AVX.
16821
37822576
AS
168222011-10-25 Andreas Schwab <schwab@redhat.com>
16823
1f1e1947
AS
16824 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
16825 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16826
37822576
AS
16827 * string/test-strchr.c (do_test): Don't generate NUL bytes.
16828
31ea014d
UD
168292011-10-25 Ulrich Drepper <drepper@gmail.com>
16830
d7826aa1 16831 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 16832 useless if() expression.
d7826aa1
UD
16833 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16834 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16835 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16836 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16837 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16838 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16839 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16840 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16841 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16842 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16843 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16844 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16845 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16846 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16847 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16848 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16849 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16850 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16851 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16852
31ea014d
UD
16853 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
16854
16437fec
AS
168552011-10-25 Andreas Schwab <schwab@redhat.com>
16856
16857 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
16858 condition.
16859 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16860
31d3cc00
UD
168612011-10-25 Ulrich Drepper <drepper@gmail.com>
16862
16863 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
16864 .text section. Avoid duplicate constants.
16865 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16866 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16867 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16868 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16869 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16870 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16871 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16872 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16873 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16874 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
16875 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16876 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16877 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16878 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16879 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16880 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16881 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16882 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16883 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16884 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16885 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16886 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16887 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16888 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
16889 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
16890 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
16891 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
16892 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
16893 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
16894 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16895 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
16896 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16897 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16898 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
16899 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
16900 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16901 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16902 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
16903 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
16904 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
16905 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
16906 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
16907 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
16908 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
16909 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16910
58985aa9
UD
169112011-10-24 Ulrich Drepper <drepper@gmail.com>
16912
202c9deb
UD
16913 * sysdeps/x86_64/dla.h: Move to ...
16914 * sysdeps/x86_64/fpu/dla.h: ...here.
16915 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
16916 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 16917
af968f62
UD
16918 * config.make.in: Add have-mfma4 entry.
16919 * configure.in: Substitute libc_cv_cc_fma4.
16920 * math/Makefile (dbl-only-routines): Add sincostab.
16921 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
16922 Use __sincostab not sincos.
16923 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
16924 name is a macro.
16925 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16926 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16927 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16928 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
16929 using __copysign.
16930 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
16931 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
16932 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
16933 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
16934 and __inv.
16935 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
16936 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
16937 __copysign.
16938 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
16939 define aliases when function name is a macro.
16940 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
16941 sysdeps/ieee754/dbl-64/sincos.tbl.
16942 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
16943 fma4-enabled routines.
16944 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
16945 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
16946 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
16947 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
16948 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
16949 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
16950 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
16951 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
16952 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
16953 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
16954 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
16955 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
16956 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
16957 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
16958 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
16959 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
16960 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
16961 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
16962 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
16963 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
16964 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
16965 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
16966 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
16967 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
16968 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
16969 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
16970 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
16971 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
16972 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
16973 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
16974
58985aa9
UD
16975 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
16976 rename.
16977 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16978 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16979 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16980 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16981 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16982 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16983 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16984 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16985
a201fbcf
AS
169862011-10-24 Andreas Schwab <schwab@redhat.com>
16987
16988 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
16989
fc2ee42a
LD
169902011-10-23 Ulrich Drepper <drepper@gmail.com>
16991
bb3129bd
UD
16992 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
16993
0275fff8
UD
16994 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
16995 prediction.
16996 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
16997
2fa2ae85
UD
16998 * string/strnlen.c: Don't define STRNLEN, reverse logic.
16999 Remove unused variable magic_bits.
17000 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17001
fc2ee42a
LD
17002 * string/strnlen.c: Define and use STRNLEN macro.
17003 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17004 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17005 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17006 * wcsmbs/wcslen.c: Define and use WCSLEN.
17007 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17008 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17009 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17010 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17011 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17012 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17013 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17014
ce7dd29f
LD
170152011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17016
17017 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17018 strnlen-sse2-no-bsf.
17019 Rename strlen-no-bsf to strlen-sse2-no-bsf.
17020 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17021 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17022 Add strnlen support.
17023 (USE_AS_STRNLEN): New macro.
17024 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17025 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17026 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17027 * sysdeps/x86_64/wcslen.S: New file.
17028
979c70a3
MZ
170292011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
17030
17031 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17032 XMM-moves are used for copying on small sizes.
17033
2d09f82f
LD
170342011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17035
17036 * wcsmbs/Makefile (strop-tests): Add wcschr.
17037 * wcsmbs/test-wcschr.c: New file.
17038 * string/test-strchr.c: Update.
17039 Add wcschr support.
17040 (WIDE): New macro.
17041
619fccca
LD
170422011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17043
2d09f82f 17044 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
17045 * wcsmbs/test-wcslen.c: New file.
17046 * string/test-strlen.c: Update.
17047 Add wcslen support.
17048 (WIDE): New macro.
17049
09f699ea
UD
170502011-10-23 Ulrich Drepper <drepper@gmail.com>
17051
17052 * po/it.po: Update from translation team.
17053
95584d3b
LD
170542011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17055
17056 * sysdeps/x86_64/wcscmp.S: Update.
17057 Fix wrong comparison semantics.
17058 wcscmp shall use signed comparison not unsigned.
17059 Don't use substraction to avoid overflow bug.
17060 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17061 * wcsmbc/wcscmp.c: Likewise.
17062 * string/test-strcmp.c: Likewise.
17063 Add new tests to check cases with negative values.
17064
c8b3296b
UD
170652011-10-23 Ulrich Drepper <drepper@gmail.com>
17066
17067 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17068 * sysdeps/x86_64/dla.h: ...here. New file.
17069 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17070 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17071 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17072 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17073 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17074 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17075 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17076 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17077 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17078
246ad57a
AS
170792011-10-23 Andreas Schwab <schwab@linux-m68k.org>
17080
17081 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17082 __ynl_finite aliases.
17083
a1a87169
UD
170842011-10-22 Ulrich Drepper <drepper@gmail.com>
17085
0d355eb7
UD
17086 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17087
a1a87169
UD
17088 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17089 define DLA_FMA.
17090 [DLA_FMA] (EMULV): Use DLA_FMA.
17091 [DLA_FMA] (MUL12): Use EMULV.
17092 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17093 that are not needed.
17094 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17095 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17096 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17097 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17098 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17099 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17100 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17101
ee2aafe0
AS
171022011-10-22 Andreas Schwab <schwab@linux-m68k.org>
17103
17104 * math/s_nan.c: Undef __nan.
17105 * math/s_nanf.c: Undef __nanf.
17106 * math/s_nanl.c: Undef __nanl.
17107 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17108 "math_private.h".
17109
bc62c2fb
UD
171102011-10-22 Ulrich Drepper <drepper@gmail.com>
17111
77425c63
UD
17112 * math/s_catan.c: Add branch predictions.
17113 * math/s_catanf.c: Likewise.
17114 * math/s_catanh.c: Likewise.
17115 * math/s_catanhf.c: Likewise.
17116 * math/s_catanhl.c: Likewise.
17117 * math/s_catanl.c: Likewise.
17118 * math/s_cexp.c: Likewise.
17119 * math/s_cexpf.c: Likewise.
17120 * math/s_cexpl.c: Likewise.
17121 * math/s_clog.c: Likewise.
17122 * math/s_clog10.c: Likewise.
17123 * math/s_clog10f.c: Likewise.
17124 * math/s_clog10l.c: Likewise.
17125 * math/s_clogf.c: Likewise.
17126 * math/s_clogl.c: Likewise.
17127 * math/s_csqrt.c: Likewise.
17128 * math/s_csqrtf.c: Likewise.
17129 * math/s_csqrtl.c: Likewise.
17130 * math/s_ctanf.c: Likewise.
17131 * math/s_ctanh.c: Likewise.
17132 * math/s_ctanhf.c: Likewise.
17133 * math/s_ctanhl.c: Likewise.
17134 * math/s_ctanl.c: Likewise.
17135
bc62c2fb
UD
17136 * math/math_private.h: Define __nan, __nanf, __nanl.
17137 * math/s_cacosh.c: Include <math_private.h>.
17138 * math/s_cacoshl.c: Likewise.
17139 * math/s_casinh.c: Likewise.
17140 * math/s_casinhf.c: Likewise.
17141 * math/s_casinhl.c: Likewise.
17142 * math/s_ccos.c: Rely entire on ccosh.
17143 * math/s_ccosf.c: Rely entire on ccoshf.
17144 * math/s_ccosl.c: Rely entirely on ccoshl.
17145 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
17146 Remove tests for FE_INVALID.
17147 * math/s_ccoshf.c: Likewise.
17148 * math/s_ccoshl.c: Likewise.
17149 * math/s_csin.c: Likewise.
17150 * math/s_csinf.c: Likewise.
17151 * math/s_csinh.c Likewise.
17152 * math/s_csinhf.c: Likewise.
17153 * math/s_csinhl.c: Likewise.
17154 * math/s_csinl.c: Likewise.
17155 * math/s_ctan.c: Likewise.
17156 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
17157 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
17158 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
17159
8ec250a4
UD
171602011-10-21 Ulrich Drepper <drepper@gmail.com>
17161
c196fed8
UD
17162 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
17163 compilation problems.
17164
8ec250a4
UD
17165 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
17166 __builtin_expect.
17167
8d4f46c6
UD
171682011-10-20 Ulrich Drepper <drepper@gmail.com>
17169
ed72b654
UD
17170 * sysdeps/i386/configure.in: Test for -mfma4 option.
17171 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
17172 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
17173 COMMON_CPUID_INDEX_80000001.
17174 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
17175 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
17176 use it if FMA3 is not supported.
17177 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17178
8d4f46c6
UD
17179 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
17180 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17181
d45c60c2
AS
171822011-10-20 Andreas Schwab <schwab@redhat.com>
17183
17184 [BZ #12892]
17185 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
17186 it would create a cycle with a link time dependency.
17187
d9a4d2ab
UD
171882011-10-19 Ulrich Drepper <drepper@gmail.com>
17189
855d1560
UD
17190 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
17191 instruction.
17192 * string/Makefile (strop-tests): Add rawmemchr.
17193 * string/test-rawmemchr.c: New file.
17194
d9a4d2ab
UD
17195 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
17196 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
17197 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
17198 when compiling str{,n}casecmp and when AVX is available. Hook up
17199 new optimized code in initializers.
17200
8f3b1ffe
AS
172012011-10-19 Andreas Schwab <schwab@redhat.com>
17202
17203 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
17204 __feraiseexcept instead of feraiseexcept.
17205
d38f1dba
UD
172062011-10-18 Ulrich Drepper <drepper@gmail.com>
17207
d9a8d0ab
UD
17208 * math/math_private.h: Define defaults for libc_fetestexcept and
17209 libc_feupdateenv.
17210 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
17211 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17212 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17213 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17214 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17215 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17216 libc_fetestexcept and libc_feupdateenv.
17217
4855e3dd
UD
17218 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
17219 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
17220 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
17221 * sysdeps/x86_64/fpu/math_private.h: Define special version of
17222 libc_feholdexcept_setround.
17223
581d30e3
UD
17224 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
17225 Add s_nearbyint-c and s_nearbyintf-c.
17226 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
17227 nearbyintf inlines.
17228 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
17229 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
17230 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
17231 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
17232
d38f1dba
UD
17233 * math/math_private.h: Define defaults for libc_fegetround,
17234 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
17235 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
17236 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
17237 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
17238 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
17239 standard functions.
17240 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17241 Remove comments and hacks for old compiler versions.
17242 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17243 libc_fegetround, libc_fesetround, libc_feholdexcept, and
17244 libc_feholdexceptl.
17245
caa6c9d8
AS
172462011-10-18 Andreas Schwab <schwab@redhat.com>
17247
17248 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
17249 (__feraiseexcept_renamed): Add __NTH.
17250 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
17251 namespace violations.
17252
97c066e6
UD
172532011-10-17 Ulrich Drepper <drepper@gmail.com>
17254
99ce7b04
UD
17255 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17256
1004d182
UD
17257 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17258
228a984d
UD
17259 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17260 recently added interfaces.
17261 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17262
c8553a6a
UD
17263 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17264 about macro parameter expansion.
17265
ed22dcf6
UD
17266 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17267 __NO_MATH_INLINES is defined. Cleanups.
17268
17269 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17270 and __floorf is target has SSE4.1.
17271 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17272 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17273 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17274 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17275
b171c137
UD
17276 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17277 name.
17278 (floorf): Likewise.
17279
97c066e6
UD
17280 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
17281
629f62ef
AS
172822011-10-17 Andreas Schwab <schwab@redhat.com>
17283
49a43d80
AS
17284 * misc/sys/cdefs.h: Fix last change.
17285
629f62ef
AS
17286 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
17287 database lookup.
17288
e453f6cd
UD
172892011-10-16 Ulrich Drepper <drepper@gmail.com>
17290
aa78043a
UD
17291 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
17292
ad0f5cad
UD
17293 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
17294 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17295 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17296 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17297 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17298 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17299 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17300 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17301 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17302 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17303 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17304 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17305 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17306 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17307 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17308 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17309 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17310 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17311 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17312 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17313 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17314 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17315
17316 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17317 ceil, ceilf, floor, floorf.
17318
17319 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17320 Perform IRELATIVE relocations last.
17321
e453f6cd
UD
17322 * elf/do-rel.h: Add another parameter nrelative, replacing the
17323 local variable with the same name. Change name of the function
17324 to end in Rel or Rela (uppercase).
17325 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
17326 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
17327 elf_dynamic_do_##reloc function.
17328
fd5bdc09
UD
173292011-10-15 Ulrich Drepper <drepper@gmail.com>
17330
79b195b5
UD
17331 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
17332 is sufficient, at least on modern CPUs.
17333
d4a28569
UD
17334 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
17335
b61099b5
UD
17336 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
17337 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
17338
bcf01e6d
UD
17339 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17340 __expl_finite.
17341 * math/bits/math-finite.h: Add entries for exp.
17342 * math/e_expl.c: Add __*_finite alias.
17343 * sysdeps/i386/fpu/e_exp.S: Likewise.
17344 * sysdeps/i386/fpu/e_expf.S: Likewise.
17345 * sysdeps/i386/fpu/e_expl.c: Likewise.
17346 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17347 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17348 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17349 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17350 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17351 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17352 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17353
ba1a0d59
UD
17354 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
17355 is sufficient, at least on modern CPUs.
17356
fd5bdc09
UD
17357 * ctype/ctype-info.c (__ctype_init): Define.
17358 * include/ctype.h (__ctype_init): Declare.
17359 (__ctype_b_loc): The variable is always initialized.
17360 (__ctype_toupper_loc): Likewise.
17361 (__ctype_tolower_loc): Likewise.
17362 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
17363 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
17364
7872cfb0
AS
173652011-10-15 Andreas Schwab <schwab@linux-m68k.org>
17366
b468825a
AS
17367 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
17368
7872cfb0
AS
17369 * configure.in: Also look in $cxxmachine/include for C++ system
17370 headers.
17371
be13f7bf
LD
173722011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17373
17374 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
17375 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
17376 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
17377 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
17378 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
17379 (USE_AS_WMEMCMP): New macro.
17380 Fixing indents.
17381 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
17382 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
17383 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
17384 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
17385 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17386 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
17387 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
17388 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
17389 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
17390 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
17391 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
17392 (USE_AS_WMEMCMP): New macro.
17393 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
17394 * sysdeps/string/test-memcmp.c: Update.
17395 Fix simple_wmemcmp.
17396 Add new tests.
17397 * wcsmbs/wmemcmp.c: Update.
17398 (WMEMCMP): New macro.
17399 Fix overflow bug.
17400
556a2007
AJ
174012011-10-12 Andreas Jaeger <aj@suse.de>
17402
17403 [BZ #13268]
17404 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
17405
538faaa7
UD
174062011-10-15 Ulrich Drepper <drepper@gmail.com>
17407
ab6737ff
UD
17408 * libio/iofwide.c (do_length): Avoid warning.
17409
538faaa7
UD
17410 * ctype/ctype.h (__isctype_f): Add missing __THROW.
17411
396a21b1
UD
174122011-10-14 Ulrich Drepper <drepper@gmail.com>
17413
cdf2901f
UD
17414 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
17415
38ad40ce
UD
17416 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
17417 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
17418 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
17419 * sysdeps/i386/i686/fpu/e_log.S: New file.
17420 * sysdeps/i386/i686/fpu/e_logf.S: New file.
17421 * sysdeps/i386/i686/fpu/e_logl.S: New file.
17422
396a21b1
UD
17423 * ctype/ctype.h: Add support for inlined isXXX functions when
17424 compiling C++ code.
17425
6b1f68c9
AS
174262011-10-14 Andreas Schwab <schwab@redhat.com>
17427
349290c0
AS
17428 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17429
6b1f68c9
AS
17430 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
17431
f2282d42
RM
174322011-10-13 Roland McGrath <roland@hack.frob.com>
17433
17434 [BZ #13291]
17435 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
17436
5298ffa8
AS
174372011-10-13 Andreas Schwab <schwab@redhat.com>
17438
714fad23
AS
17439 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
17440 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
17441 feraiseexcept.
17442
81dcc7fb
AS
17443 * sysdeps/x86_64/memrchr.S: Check for zero size.
17444
5298ffa8
AS
17445 * string/stratcliff.c: Add memrchr tests.
17446
951fbcec
LD
174472011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17448
17449 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17450 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
17451 rawmemchr-sse2 rawmemchr-sse2-bsf.
17452 * sysdeps/i386/i686/multiarch/memchr.S: New file.
17453 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
17454 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
17455 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
17456 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
17457 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
17458 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
17459 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
17460 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
17461 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
17462 * string/memrchr.c (MEMRCHR): New macro.
17463
0ac5ae23
UD
174642011-10-12 Ulrich Drepper <drepper@gmail.com>
17465
17466 Add integration with gcc's -ffinite-math-only and optimize wrapper
17467 functions in libm.
17468 * Versions.def: Define GLIBC_2.15 version for libm.
17469 * math/Makefile (headers): Add bits/math-finite.h.
17470 * math/bits/math-finite.h: New file.
17471 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
17472 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
17473 * math/e_acoshl.c: Add __*_finite alias.
17474 * math/e_acosl.c: Likewise.
17475 * math/e_asinl.c: Likewise.
17476 * math/e_atan2l.c: Likewise.
17477 * math/e_atanhl.c: Likewise.
17478 * math/e_coshl.c: Likewise.
17479 * math/e_exp10.c: Likewise.
17480 * math/e_exp10f.c: Likewise.
17481 * math/e_exp10l.c: Likewise.
17482 * math/e_exp2l.c: Likewise.
17483 * math/e_fmodl.c: Likewise.
17484 * math/e_gammal_r.c: Likewise.
17485 * math/e_hypotl.c: Likewise.
17486 * math/e_j0l.c: Likewise.
17487 * math/e_j1l.c: Likewise.
17488 * math/e_jnl.c: Likewise.
17489 * math/e_lgammal_r.c: Likewise.
17490 * math/e_log10l.c: Likewise.
17491 * math/e_log2l.c: Likewise.
17492 * math/e_logl.c: Likewise.
17493 * math/e_powl.c: Likewise.
17494 * math/e_sinhl.c: Likewise.
17495 * math/e_sqrtl.c: Likewise.
17496 * math/e_scalb.c: Completely rewritten and optimized.
17497 * math/e_scalbf.c: Likewise.
17498 * math/e_scalbl.c: Likewise.
17499 * math/w_acos.c: Likewise.
17500 * math/w_acosf.c: Likewise.
17501 * math/w_acosl.c: Likewise.
17502 * math/w_acosh.c: Likewise.
17503 * math/w_acoshf.c: Likewise.
17504 * math/w_acoshl.c: Likewise.
17505 * math/w_asin.c: Likewise.
17506 * math/w_asinf.c: Likewise.
17507 * math/w_asinl.c: Likewise.
17508 * math/w_atan2.c: Likewise.
17509 * math/w_atan2f.c: Likewise.
17510 * math/w_atan2l.c: Likewise.
17511 * math/w_atanh.c: Likewise.
17512 * math/w_atanhf.c: Likewise.
17513 * math/w_atanhl.c: Likewise.
17514 * math/w_exp10.c: Likewise.
17515 * math/w_exp10f.c: Likewise.
17516 * math/w_exp10l.c: Likewise.
17517 * math/w_fmod.c: Likewise.
17518 * math/w_fmodf.c: Likewise.
17519 * math/w_fmodl.c: Likewise.
17520 * math/w_j0.c: Likewise.
17521 * math/w_j0f.c: Likewise.
17522 * math/w_j0l.c: Likewise.
17523 * math/w_j1.c: Likewise.
17524 * math/w_j1f.c: Likewise.
17525 * math/w_j1l.c: Likewise.
17526 * math/w_jn.c: Likewise.
17527 * math/w_jnf.c: Likewise.
17528 * math/w_log.c: Likewise.
17529 * math/w_logf.c: Likewise.
17530 * math/w_logl.c: Likewise.
17531 * math/w_log10.c: Likewise.
17532 * math/w_log10f.c: Likewise.
17533 * math/w_log10l.c: Likewise.
17534 * math/w_log2.c: Likewise.
17535 * math/w_log2f.c: Likewise.
17536 * math/w_log2l.c: Likewise.
17537 * math/w_pow.c: Likewise.
17538 * math/w_powf.c: Likewise.
17539 * math/w_powl.c: Likewise.
17540 * math/w_remainder.c: Likewise.
17541 * math/w_remainderf.c: Likewise.
17542 * math/w_remainderl.c: Likewise.
17543 * math/w_scalb.c: Likewise.
17544 * math/w_scalbf.c: Likewise.
17545 * math/w_scalbl.c: Likewise.
17546 * math/w_sqrt.c: Likewise.
17547 * math/w_sqrtf.c: Likewise.
17548 * math/w_sqrtl.c: Likewise.
17549 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
17550 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
17551 used.
17552 * math/math_private.h: Declare __kernel_standard_f.
17553 * math/w_cosh.c: Remove cruft and optimize a bit.
17554 * math/w_coshf.c: Likewise.
17555 * math/w_coshl.c: Likewise.
17556 * math/w_exp2.c: Likewise.
17557 * math/w_exp2f.c: Likewise.
17558 * math/w_exp2l.c: Likewise.
17559 * math/w_hypot.c: Likewise.
17560 * math/w_hypotf.c: Likewise.
17561 * math/w_hypotl.c: Likewise.
17562 * math/w_lgamma.c: Likewise.
17563 * math/w_lgamma_r.c: Likewise.
17564 * math/w_lgammaf.c: Likewise.
17565 * math/w_lgammaf_r.c: Likewise.
17566 * math/w_lgammal.c: Likewise.
17567 * math/w_lgammal_r.c: Likewise.
17568 * math/w_sinh.c: Likewise.
17569 * math/w_sinhf.c: Likewise.
17570 * math/w_sinhl.c: Likewise.
17571 * math/w_tgamma.c: Likewise.
17572 * math/w_tgammaf.c: Likewise.
17573 * math/w_tgammal.c: Likewise.
17574 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17575 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17576 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
17577 Minor optimizations. Pretty printing. Remove cruft.
17578 * sysdeps/i386/fpu/e_acosf.S: Likewise.
17579 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17580 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17581 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17582 * sysdeps/i386/fpu/e_acosl.c: Likewise.
17583 * sysdeps/i386/fpu/e_asin.S: Likewise.
17584 * sysdeps/i386/fpu/e_asinf.S: Likewise.
17585 * sysdeps/i386/fpu/e_atan2.S: Likewise.
17586 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
17587 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
17588 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17589 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17590 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17591 * sysdeps/i386/fpu/e_exp10.S: Likewise.
17592 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
17593 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
17594 * sysdeps/i386/fpu/e_exp2.S: Likewise.
17595 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
17596 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
17597 * sysdeps/i386/fpu/e_fmod.S: Likewise.
17598 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
17599 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
17600 * sysdeps/i386/fpu/e_hypot.S: Likewise.
17601 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
17602 * sysdeps/i386/fpu/e_log.S: Likewise.
17603 * sysdeps/i386/fpu/e_log10.S: Likewise.
17604 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17605 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17606 * sysdeps/i386/fpu/e_log2.S: Likewise.
17607 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17608 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17609 * sysdeps/i386/fpu/e_logf.S: Likewise.
17610 * sysdeps/i386/fpu/e_logl.S: Likewise.
17611 * sysdeps/i386/fpu/e_pow.S: Likewise.
17612 * sysdeps/i386/fpu/e_powf.S: Likewise.
17613 * sysdeps/i386/fpu/e_powl.S: Likewise.
17614 * sysdeps/i386/fpu/e_remainder.S: Likewise.
17615 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
17616 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
17617 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17618 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17619 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17620 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
17621 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
17622 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
17623 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17624 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17625 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17626 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17627 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17628 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17629 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17630 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17631 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17632 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17633 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17634 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17635 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17636 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17637 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17638 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17639 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17640 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17641 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17642 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17643 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17644 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17645 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17646 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17647 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17648 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17649 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17650 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17651 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17652 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17653 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17654 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17655 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17656 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17657 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17658 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17659 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17660 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17661 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17662 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17663 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17664 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17665 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17666 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17667 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17668 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17669 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17670 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17671 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17672 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17673 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17674 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17675 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17676 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17677 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17678 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17679 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17680 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17681 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17682 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17683 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17684 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17685 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17686 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17687 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17688 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17689 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17690 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17691 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17692 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17693 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17694 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17695 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17696 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17697 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17698 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17699 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17700 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17701 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17702 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17703 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17704 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17705 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17706 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17707 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17708 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17709 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17710 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17711 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17712 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17713 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17714 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17715 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17716 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17717 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17718 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17719 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17720 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17721 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17722 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17723 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
17724 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
17725 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
17726 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
17727 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17728 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17729 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17730 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17731 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
17732 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17733 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
17734 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
17735 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
17736 (__isnanf): Likewise.
17737 (__isinf_ns): Likewise.
17738 (__isinf_nsf): Likewise.
17739 (__finite): Likewise.
17740 (__finitef): Likewise.
17741 (__ieee754_sqrt): Define as macro.
17742 (__ieee754_sqrtf): Define as macro.
17743 (__ieee754_sqrtl): Define as macro.
17744 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
17745 inlined copy.
17746 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
17747 __FINITE_MATH_ONLY__ consistent.
17748 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
17749
12cc2fcd
AS
177502011-10-10 Andreas Schwab <schwab@linux-m68k.org>
17751
a843a204
AS
17752 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
17753 of rawmemchr.
17754
12cc2fcd
AS
17755 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
17756
c853acd5
UD
177572011-10-09 Ulrich Drepper <drepper@gmail.com>
17758
17759 * po/ja.po: Update from translation team.
17760
c658d255
RM
177612011-10-08 Roland McGrath <roland@hack.frob.com>
17762
110946e4
RM
17763 * locale/programs/locarchive.c (prepare_address_space): New function.
17764 (create_archive, enlarge_archive, open_archive): Use it.
17765
50604220
RM
17766 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
17767 inside [SHARED], where it is used.
17768
c658d255
RM
17769 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
17770
17771 * nss/getent.c (netgroup_keys): Remove unused variable.
17772 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17773
6a621eb7
UD
177742011-10-08 Ulrich Drepper <drepper@gmail.com>
17775
7edb55ce
UD
17776 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
17777 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
17778 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
17779 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
17780 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
17781 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
17782 * math/Makefile (libm-calls): Add s_isinf_ns.
17783 * math/divtc3.c: Use __isinf_nsl instead of isinf.
17784 * math/multc3.c: Likewise.
17785 * math/s_casin.c: Likewise.
17786 * math/s_casinf.c: Likewise.
17787 * math/s_casinl.c: Likewise.
17788 * math/s_ccos.c: Likewise.
17789 * math/s_ccosf.c: Likewise.
17790 * math/s_ccosl.c: Likewise.
17791 * math/s_ctan.c: Likewise.
17792 * math/s_ctanf.c: Likewise.
17793 * math/s_ctanh.c: Likewise.
17794 * math/s_ctanhf.c: Likewise.
17795 * math/s_ctanhl.c: Likewise.
17796 * math/s_ctanl.c: Likewise.
17797 * math/w_fmod.c: Likewise.
17798 * math/w_fmodf.c: Likewise.
17799 * math/w_fmodl.c: Likewise.
17800 * math/w_remainder.c: Likewise.
17801 * math/w_remainderf.c: Likewise.
17802 * math/w_remainderl.c: Likewise.
17803 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
17804 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
17805 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
17806 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
17807 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
17808 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
17809 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
17810 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
17811
187da0ae
UD
17812 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
17813 of the number.
17814 * stdio-common/printf_fphex.c: Likewise.
17815 * stdio-common/printf_size.c: Likewise.
17816
9277c064
UD
17817 * math/e_exp10.c: Include math_private.h using <...> not "...".
17818 * math/e_exp10f.c: Likewise.
17819 * math/e_exp10l.c: Likewise.
17820 * math/e_exp2l.c: Likewise.
17821 * math/e_j0l.c: Likewise.
17822 * math/e_j1l.c: Likewise.
17823 * math/e_jnl.c: Likewise.
17824 * math/e_lgammal_r.c: Likewise.
17825 * math/e_rem_pio2l.c: Likewise.
17826 * math/e_scalb.c: Likewise.
17827 * math/e_scalbf.c: Likewise.
17828 * math/e_scalbl.c: Likewise.
17829 * math/k_cosl.c: Likewise.
17830 * math/k_sinl.c: Likewise.
17831 * math/k_tanl.c: Likewise.
17832 * math/s_cacoshf.c: Likewise.
17833 * math/s_catan.c: Likewise.
17834 * math/s_catanf.c: Likewise.
17835 * math/s_catanh.c: Likewise.
17836 * math/s_catanhf.c: Likewise.
17837 * math/s_catanhl.c: Likewise.
17838 * math/s_catanl.c: Likewise.
17839 * math/s_ccosh.c: Likewise.
17840 * math/s_ccoshf.c: Likewise.
17841 * math/s_ccoshl.c: Likewise.
17842 * math/s_cexp.c: Likewise.
17843 * math/s_cexpf.c: Likewise.
17844 * math/s_cexpl.c: Likewise.
17845 * math/s_clog.c: Likewise.
17846 * math/s_clog10.c: Likewise.
17847 * math/s_clog10f.c: Likewise.
17848 * math/s_clog10l.c: Likewise.
17849 * math/s_clogf.c: Likewise.
17850 * math/s_clogl.c: Likewise.
17851 * math/s_csin.c: Likewise.
17852 * math/s_csinf.c: Likewise.
17853 * math/s_csinh.c: Likewise.
17854 * math/s_csinhf.c: Likewise.
17855 * math/s_csinhl.c: Likewise.
17856 * math/s_csinl.c: Likewise.
17857 * math/s_csqrt.c: Likewise.
17858 * math/s_csqrtf.c: Likewise.
17859 * math/s_csqrtl.c: Likewise.
17860 * math/s_ctan.c: Likewise.
17861 * math/s_ctanf.c: Likewise.
17862 * math/s_ctanh.c: Likewise.
17863 * math/s_ctanhf.c: Likewise.
17864 * math/s_ctanhl.c: Likewise.
17865 * math/s_ctanl.c: Likewise.
17866 * math/s_ldexp.c: Likewise.
17867 * math/s_ldexpf.c: Likewise.
17868 * math/s_ldexpl.c: Likewise.
17869 * math/s_significand.c: Likewise.
17870 * math/s_significandf.c: Likewise.
17871 * math/s_significandl.c: Likewise.
17872 * math/w_acos.c: Likewise.
17873 * math/w_acosf.c: Likewise.
17874 * math/w_acosh.c: Likewise.
17875 * math/w_acoshf.c: Likewise.
17876 * math/w_acoshl.c: Likewise.
17877 * math/w_acosl.c: Likewise.
17878 * math/w_asin.c: Likewise.
17879 * math/w_asinf.c: Likewise.
17880 * math/w_asinl.c: Likewise.
17881 * math/w_atan2.c: Likewise.
17882 * math/w_atan2f.c: Likewise.
17883 * math/w_atan2l.c: Likewise.
17884 * math/w_atanh.c: Likewise.
17885 * math/w_atanhf.c: Likewise.
17886 * math/w_atanhl.c: Likewise.
17887 * math/w_cosh.c: Likewise.
17888 * math/w_coshf.c: Likewise.
17889 * math/w_coshl.c: Likewise.
17890 * math/w_dremf.c: Likewise.
17891 * math/w_exp10.c: Likewise.
17892 * math/w_exp10f.c: Likewise.
17893 * math/w_exp10l.c: Likewise.
17894 * math/w_exp2.c: Likewise.
17895 * math/w_exp2f.c: Likewise.
17896 * math/w_fmod.c: Likewise.
17897 * math/w_fmodf.c: Likewise.
17898 * math/w_fmodl.c: Likewise.
17899 * math/w_hypot.c: Likewise.
17900 * math/w_hypotf.c: Likewise.
17901 * math/w_hypotl.c: Likewise.
17902 * math/w_j0.c: Likewise.
17903 * math/w_j0f.c: Likewise.
17904 * math/w_j0l.c: Likewise.
17905 * math/w_j1.c: Likewise.
17906 * math/w_j1f.c: Likewise.
17907 * math/w_j1l.c: Likewise.
17908 * math/w_jn.c: Likewise.
17909 * math/w_jnf.c: Likewise.
17910 * math/w_jnl.c: Likewise.
17911 * math/w_lgamma.c: Likewise.
17912 * math/w_lgamma_r.c: Likewise.
17913 * math/w_lgammaf.c: Likewise.
17914 * math/w_lgammaf_r.c: Likewise.
17915 * math/w_lgammal.c: Likewise.
17916 * math/w_lgammal_r.c: Likewise.
17917 * math/w_log.c: Likewise.
17918 * math/w_log10.c: Likewise.
17919 * math/w_log10f.c: Likewise.
17920 * math/w_log10l.c: Likewise.
17921 * math/w_log2.c: Likewise.
17922 * math/w_log2f.c: Likewise.
17923 * math/w_log2l.c: Likewise.
17924 * math/w_logf.c: Likewise.
17925 * math/w_logl.c: Likewise.
17926 * math/w_pow.c: Likewise.
17927 * math/w_powf.c: Likewise.
17928 * math/w_powl.c: Likewise.
17929 * math/w_remainder.c: Likewise.
17930 * math/w_remainderf.c: Likewise.
17931 * math/w_remainderl.c: Likewise.
17932 * math/w_scalb.c: Likewise.
17933 * math/w_scalbf.c: Likewise.
17934 * math/w_scalbl.c: Likewise.
17935 * math/w_sinh.c: Likewise.
17936 * math/w_sinhf.c: Likewise.
17937 * math/w_sinhl.c: Likewise.
17938 * math/w_sqrt.c: Likewise.
17939 * math/w_sqrtf.c: Likewise.
17940 * math/w_sqrtl.c: Likewise.
17941 * math/w_tgamma.c: Likewise.
17942 * math/w_tgammaf.c: Likewise.
17943 * math/w_tgammal.c: Likewise.
17944
6a621eb7
UD
17945 * po/ja.po: Update from translation team.
17946
bf582445
AJ
179472011-09-29 Andreas Jaeger <aj@suse.de>
17948
f9efbf3a
AJ
17949 [BZ #13179]
17950 * sunrpc/netname.c (netname2host): Fix logic.
17951
bf582445
AJ
17952 [BZ #6779]
17953 [BZ #6783]
17954 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
17955 correctly.
17956 * math/w_remainder.c (__remainder): Likewise.
17957 * math/w_remainderf.c (__remainderf): Likewise.
17958 * math/libm-test.inc (remainder_test): Add test cases.
17959
48693bea
AK
179602011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17961
17962 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
17963 sdiv_qrnnd.
17964
42622229
LD
179652011-10-07 Ulrich Drepper <drepper@gmail.com>
17966
17967 * string/test-memcmp.c: Avoid unncessary #defines.
17968 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17969
093ecf92
LD
179702011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17971
17972 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
17973 Use new sse2 version for core i3 - i7 as it's faster
17974 than sse42 version.
17975 (bit_Prefer_PMINUB_for_stringop): New.
17976 * sysdeps/x86_64/rawmemchr.S: Update.
17977 Replace with faster SSE2 version.
17978 * sysdeps/x86_64/memrchr.S: New file.
17979 * sysdeps/x86_64/memchr.S: Update.
17980 Replace with faster SSE2 version.
17981
fde56e5c
MP
179822011-09-12 Marek Polacek <mpolacek@redhat.com>
17983
17984 * elf/dl-load.c (lose): Add cast to avoid warning.
17985
21fd49a9
UD
179862011-10-07 Ulrich Drepper <drepper@gmail.com>
17987
5a06e643
UD
17988 * po/ca.po: Update from translation team.
17989
684ae515
UD
17990 * inet/getnetgrent_r.c: Hook up nscd.
17991 * nscd/Makefile (routines): Add nscd_netgroup.
17992 (nscd-modules): Add netgroupcache.
17993 (CFLAGS-netgroupcache.c): Define.
17994 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
17995 (cache_search): Add const to second parameter.
17996 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
17997 INNETGR.
17998 (dbs): Add netgrdb entry.
17999 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18000 (verify_persistent_db): Handle netgrdb.
18001 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18002 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18003 GETFDNETGR.
18004 (netgroup_response_header): Define.
18005 (innetgroup_response_header): Define.
18006 (datahead): Add netgroup_response_header and innetgroup_response_header
18007 elements.
18008 * nscd/nscd.conf: Add entries for netgroup cache.
18009 * nscd/nscd.h (dbtype): Add netgrdb.
18010 (_PATH_NSCD_NETGROUP_DB): Define.
18011 (netgroup_iov_disabled): Declare.
18012 (xmalloc, xcalloc, xrealloc): Move declarations here.
18013 (cache_search): Adjust prototype.
18014 Add netgroup-related prototypes.
18015 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18016 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18017 (__nscd_innetgr): Declare.
18018 * nscd/selinux.c (perms): Use access_vector_t as element type and
18019 add netgroup-related initializers.
18020 * nscd/netgroupcache.c: New file.
18021 * nscd/nscd_netgroup.c: New file.
18022 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18023 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18024 For four parameters use innetgr.
18025 * nss/nss_files/files-init.c: Add definition and callback for netgr.
18026 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18027 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18028 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18029
21fd49a9
UD
18030 * nscd/connections.c (register_traced_file): Don't register file
18031 for disabled databases.
18032
054c0457
UD
180332011-10-06 Ulrich Drepper <drepper@gmail.com>
18034
32b63198
UD
18035 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18036
054c0457
UD
18037 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18038 from tree and freeing node.
18039
64031225
JO
180402011-09-25 Jiri Olsa <jolsa@redhat.com>
18041
18042 * nss/nsswitch.c (__nss_database_lookup): Handle
18043 nss_parse_service_list out of memory case.
18044
0490345c
JO
180452011-09-15 Jiri Olsa <jolsa@redhat.com>
18046
18047 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18048 out of memory case.
18049
3a62d00d
AS
180502011-10-04 Andreas Schwab <schwab@redhat.com>
18051
18052 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18053 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18054 pass it down.
18055 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18056 elf_machine_rela, elf_machine_lazy_rel.
18057 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18058 (ELF_DYNAMIC_DO_REL): Likewise.
18059 (ELF_DYNAMIC_DO_RELA): Likewise.
18060 (ELF_DYNAMIC_RELOCATE): Likewise.
18061 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18062 to ELF_DYNAMIC_DO_REL.
18063 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18064 (dl_main): In trace mode always set __RTLD_NOIFUNC.
18065 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18066 elf_machine_rela.
18067 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18068 skip_ifunc, don't call ifunc function if non-zero.
18069 (elf_machine_rela): Likewise.
18070 (elf_machine_lazy_rel): Likewise.
18071 (elf_machine_lazy_rela): Likewise.
18072 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18073 (elf_machine_lazy_rel): Likewise.
18074 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18075 Likewise.
18076 (elf_machine_lazy_rel): Likewise.
18077 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18078 Likewise.
18079 (elf_machine_lazy_rel): Likewise.
18080 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18081 (elf_machine_lazy_rel): Likewise.
18082 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18083 (elf_machine_lazy_rel): Likewise.
18084 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18085 (elf_machine_lazy_rel): Likewise.
18086 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18087 (elf_machine_lazy_rel): Likewise.
18088 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18089 (elf_machine_lazy_rel): Likewise.
18090 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18091 (elf_machine_lazy_rel): Likewise.
18092
68577918
UD
180932011-09-28 Ulrich Drepper <drepper@gmail.com>
18094
18095 * nss/nss_files/files-init.c (_nss_files_init): Use static
18096 initialization for all the *_traced_file variables.
18097
68822d74
AS
180982011-09-28 Andreas Schwab <schwab@redhat.com>
18099
18100 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18101
2056100b
RM
181022011-09-27 Roland McGrath <roland@hack.frob.com>
18103
18104 [BZ #13226]
18105 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18106
32c76b63
AS
181072011-09-27 Andreas Schwab <schwab@redhat.com>
18108
18109 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18110 Reread the line before reparsing it.
18111
bf972c9d
AS
181122011-09-26 Andreas Schwab <schwab@redhat.com>
18113
18114 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18115
e057a1b5
JM
181162011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
18117 Maxim Kuvyrkov <maxim@codesourcery.com>
18118 Joseph Myers <joseph@codesourcery.com>
18119
18120 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18121 if needed for __stack_chk_guard.
18122
bc7e1c36
RM
181232011-09-19 Roland McGrath <roland@hack.frob.com>
18124
ecb1482f
RM
18125 * sysdeps/posix/spawni.c (script_execute): Always define it.
18126 It will be optimized away if unused.
18127 (maybe_script_execute): New function.
18128 (__spawni): Call it.
18129
bc7e1c36
RM
18130 * Makerules: Don't include tls.make.
18131 (config-tls): Always set to thread.
18132 * tls.make.c: File removed.
18133
1c3b002b
MF
181342011-09-19 Mike Frysinger <vapier@gentoo.org>
18135
18136 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18137 * config.make.in (CPPFLAGS-config): New substituted variable.
18138
2840865d
UD
181392011-09-15 Ulrich Drepper <drepper@gmail.com>
18140
88738eb6
UD
18141 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18142
cbf645a6 18143 [BZ #13192]
2840865d
UD
18144 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18145 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18146
b402e91a
RM
181472011-09-15 Roland McGrath <roland@hack.frob.com>
18148
18149 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18150 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18151 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18152 (CALL_FAIL): Likewise.
18153 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18154 (CALL_FAIL): Macro removed.
18155 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18156
4c1a1f71
UD
181572011-09-15 Ulrich Drepper <drepper@gmail.com>
18158
18159 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
18160 for __FINITE_MATH_ONLY__ == 1.
18161
edc121be
AS
181622011-09-15 Andreas Schwab <schwab@redhat.com>
18163
18164 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
18165 __ieee754_sqrt instead of sqrt.
18166 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
18167 __ieee754_sqrtf instead of sqrtf.
18168 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
18169 __floorf instead of floorf.
18170 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
18171 __floorf, __truncf instead of floorf, truncf.
18172
cd205654
UD
181732011-09-14 Ulrich Drepper <drepper@gmail.com>
18174
ee4d0315
UD
18175 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
18176
cd205654
UD
18177 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
18178 __extern_always_inline.
18179 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
18180 32-bit.
18181
48b67d71
AS
181822011-09-14 Andreas Schwab <schwab@redhat.com>
18183
18184 * elf/rtld.c (dl_main): Also relocate in dependency order when
18185 doing symbol dependency testing.
18186
1ae12c75
AS
181872011-09-13 Andreas Schwab <schwab@linux-m68k.org>
18188
18189 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18190 Always define `refsym'.
18191
995a80df
AS
181922011-09-13 Andreas Schwab <schwab@redhat.com>
18193
e529793b
AS
18194 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
18195 (__FD_ELT): Renamed from __FDELT.
18196 * misc/bits/select2.h (__FD_ELT): Likewise.
18197 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
18198 __FD_MASK instead of __FDELT, __FDMASK.
18199 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18200 Likewise.
18201 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18202 Likewise.
18203
52d4fef8
AS
18204 * elf/Makefile (gen-ldd): Fix pattern.
18205
995a80df
AS
18206 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
18207 (init_tls): Likewise.
18208
8682f8b0
UD
182092011-09-12 Ulrich Drepper <drepper@gmail.com>
18210
18211 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
18212
de82006d
AS
182132011-09-12 Andreas Schwab <schwab@redhat.com>
18214
a7c8e6a1
AS
18215 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
18216 `struct cmsghdr *' instead of `void *'.
18217 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
18218 Likewise.
18219
0f31fe77
AS
182202011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18221
18222 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
18223 if non-absolute.
18224 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
18225 ldd_rewrite_script.
0f31fe77 18226
32b4c839
UD
182272011-09-11 Ulrich Drepper <drepper@gmail.com>
18228
83cd1420
UD
18229 * configure.in: Remove --with-tls option.
18230 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
18231 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
18232 out in case it is missing.
18233 * sysdeps/ia64/elf/configure.in: Likewise.
18234 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
18235 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
18236 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
18237 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
18238 * sysdeps/sh/elf/configure.in: Likewise.
18239 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
18240 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18241 * sysdeps/x86_64/elf/configure.in: Likewise.
18242 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
18243 * sysdeps/mach/hurd/tls.h: Likewise.
18244
633f745d
UD
18245 [BZ #13067]
18246 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
18247
f318beb8
UD
18248 [BZ #13090]
18249 * configure.in: Fix use of AC_INIT.
18250
32b4c839
UD
18251 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
18252
3ce1f295
UD
182532011-09-10 Ulrich Drepper <drepper@gmail.com>
18254
bb016596
UD
18255 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18256 __set_errno.
8e58439c
UD
18257 * malloc/hooks.c: Likewise.
18258
aebae053 18259 [BZ #11929]
02d46fc4
UD
18260 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
18261 variables statically.
18262 (narenas): Initialize.
18263 (list_lock): Initialize.
bb016596
UD
18264 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
18265 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
18266 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18267 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
18268 Add initializers to main_arena and mp_.
18269 (malloc_state): Remove pagesize member. Change all users to use
18270 GLRO(dl_pagesize).
18271
18272 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18273 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
18274 is always initialized.
18275
22a89187
UD
18276 * malloc/malloc.c: Removed unused configurations and dead code.
18277 * malloc/arena.c: Likewise.
18278 * malloc/hooks.c: Likewise.
02d46fc4 18279 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 18280
d063d164
UD
18281 * include/tls.h: Removed. USE___THREAD must always be defined.
18282 * bits/libc-tsd.h: Don't handle !USE___THREAD.
18283 * elf/dl-libc.c: Likewise.
18284 * elf/dl-tsd.c: Likewise.
18285 * include/errno.h: Likewise.
18286 * include/netdb.h: Likewise.
18287 * include/resolv.h: Likewise.
18288 * inet/herrno-loc.c: Likewise.
18289 * inet/herrno.c: Likewise.
18290 * malloc/arena.c: Likewise.
18291 * malloc/hooks.c: Likewise.
18292 * malloc/malloc.c: Likewise.
18293 * resolv/res-state.c: Likewise.
18294 * resolv/res_libc.c: Likewise.
18295 * sysdeps/i386/dl-machine.h: Likewise.
18296 * sysdeps/ia64/dl-machine.h: Likewise.
18297 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18298 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18299 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18300 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18301 * sysdeps/sh/dl-machine.h: Likewise.
18302 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18303 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18304 * sysdeps/unix/i386/sysdep.S: Likewise.
18305 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18306 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18307 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18308 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18309 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18310 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18311 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18312 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18313 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18314 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18315 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18316 * sysdeps/x86_64/dl-machine.h: Likewise.
18317 * tls.make.c: Likewise.
18318
3ce1f295
UD
18319 * configure.in: Remove --with-__thread option. Make tests for
18320 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
18321 tls_model attribute fail if no support is available. Remove
18322 USE_IN_LIBIO.
18323 * Makeconfig: Adjust for dropped configure option. All features are
18324 now mandatory.
18325 * Makerules: Likewise.
18326 * Versions.def: Likewise.
18327 * argp/argp-fmtstream.c: Likewise.
18328 * argp/argp-fmtstream.h: Likewise.
18329 * argp/argp-help.c: Likewise.
18330 * assert/assert.c: Likewise.
18331 * config.h.in: Likewise.
18332 * config.make.in: Likewise.
18333 * configure: Likewise.
18334 * configure.in: Likewise.
18335 * csu/Versions: Likewise.
18336 * csu/init.c: Likewise.
18337 * elf/tst-audit2.c: Likewise.
18338 * elf/tst-tls10.c: Likewise.
18339 * elf/tst-tls10.h: Likewise.
18340 * elf/tst-tls11.c: Likewise.
18341 * elf/tst-tls12.c: Likewise.
18342 * elf/tst-tls14.c: Likewise.
18343 * elf/tst-tlsmod11.c: Likewise.
18344 * elf/tst-tlsmod12.c: Likewise.
18345 * elf/tst-tlsmod13.c: Likewise.
18346 * elf/tst-tlsmod13a.c: Likewise.
18347 * elf/tst-tlsmod14a.c: Likewise.
18348 * elf/tst-tlsmod15b.c: Likewise.
18349 * elf/tst-tlsmod16a.c: Likewise.
18350 * elf/tst-tlsmod16b.c: Likewise.
18351 * elf/tst-tlsmod7.c: Likewise.
18352 * elf/tst-tlsmod8.c: Likewise.
18353 * elf/tst-tlsmod9.c: Likewise.
18354 * gmon/gmon.c: Likewise.
18355 * grp/fgetgrent_r.c: Likewise.
18356 * grp/putgrent.c: Likewise.
18357 * hurd/fopenport.c: Likewise.
18358 * include/libc-symbols.h: Likewise.
18359 * include/tls.h: Likewise.
18360 * intl/gettextP.h: Likewise.
18361 * intl/loadinfo.h: Likewise.
18362 * locale/global-locale.c: Likewise.
18363 * locale/localeinfo.h: Likewise.
18364 * mach/devstream.c: Likewise.
18365 * malloc/arena.c: Likewise.
18366 * malloc/set-freeres.c: Likewise.
18367 * misc/err.c: Likewise.
18368 * misc/getttyent.c: Likewise.
18369 * misc/mntent_r.c: Likewise.
18370 * posix/getopt.c: Likewise.
18371 * posix/wordexp.c: Likewise.
18372 * pwd/fgetpwent_r.c: Likewise.
18373 * resolv/Versions: Likewise.
18374 * resolv/res_hconf.c: Likewise.
18375 * shadow/fgetspent_r.c: Likewise.
18376 * shadow/putspent.c: Likewise.
18377 * stdio-common/printf_fphex.c: Likewise.
18378 * stdio-common/tmpfile.c: Likewise.
18379 * stdlib/abort.c: Likewise.
18380 * stdlib/fmtmsg.c: Likewise.
18381 * sunrpc/auth_unix.c: Likewise.
18382 * sunrpc/clnt_perr.c: Likewise.
18383 * sunrpc/clnt_tcp.c: Likewise.
18384 * sunrpc/clnt_udp.c: Likewise.
18385 * sunrpc/clnt_unix.c: Likewise.
18386 * sunrpc/openchild.c: Likewise.
18387 * sunrpc/svc_simple.c: Likewise.
18388 * sunrpc/svc_tcp.c: Likewise.
18389 * sunrpc/svc_udp.c: Likewise.
18390 * sunrpc/svc_unix.c: Likewise.
18391 * sunrpc/xdr.c: Likewise.
18392 * sunrpc/xdr_array.c: Likewise.
18393 * sunrpc/xdr_rec.c: Likewise.
18394 * sunrpc/xdr_ref.c: Likewise.
18395 * sunrpc/xdr_stdio.c: Likewise.
18396
1248c1c4
PB
183972011-09-09 Ulrich Drepper <drepper@gmail.com>
18398
18399 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18400
184012011-07-03 Andreas Jaeger <aj@suse.de>
18402
18403 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
18404 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
18405 regenerate with gen-libm-tests.pl.
18406
184072010-05-12 Petr Baudis <pasky@suse.cz>
18408
18409 [BZ #11589]
18410 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
18411 around j0() zero points by switching to j1().
18412 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18413 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18414 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18415 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18416
f22e1074
UD
184172011-09-09 Ulrich Drepper <drepper@gmail.com>
18418
f19009c1
UD
18419 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
18420 instead of 0.
18421 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
18422 instead of 0. .
18423 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18424 Patch in part by Pavel Roskin <proski@gnu.org>.
18425
3f8cc204
UD
18426 [BZ #13138]
18427 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
18428 realloc.
18429 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
18430 Free memory block if necessary.
18431
f22e1074
UD
18432 [BZ #12847]
18433 * libio/genops.c (INTDEF): For string streams the _lock pointer can
18434 be NULL. Don't lock in this case.
18435
0a2349f9
RM
184362011-09-09 Roland McGrath <roland@hack.frob.com>
18437
18438 * elf/elf.h (ELFOSABI_GNU): New macro.
18439 (ELFOSABI_LINUX): Define to that.
18440
f3cdd467
DZ
184412011-07-29 Denis Zaitceff <zaitceff@gmail.com>
18442
18443 * string/strncat.c (strncat): Undef the symbol in case it has been
18444 defined in bits/string.h.
18445
74718d13
UD
184462011-09-09 Ulrich Drepper <drepper@gmail.com>
18447
633e9e0f
UD
18448 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
18449
0a2349f9 18450 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
18451 link map.
18452
f9924780
AJ
184532011-08-17 Andreas Jaeger <aj@suse.de>
18454
18455 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
18456
7f5517aa
PP
184572011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18458 Ian Lance Taylor <iant@google.com>
18459
18460 * math/libm-test.inc (lround_test): New testcase.
18461 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
18462
762011fe
UD
184632011-09-08 Ulrich Drepper <drepper@gmail.com>
18464
92963737
UD
18465 * Makefile: Remove support for automatic cvs check-ins.
18466 * Makerules: Likewise.
18467 * config.make.in: Likewise.
18468 * configure.in: Likewise.
18469 * intl/Makefile: Likewise.
18470 * locale/Makefile: Likewise.
18471 * po/Makefile: Likewise.
18472 * posix/Makefile: Likewise.
18473 * sysdeps/gnu/Makefile: Likewise.
18474 * sysdeps/mach/hurd/Makefile: Likewise.
18475 * sysdeps/sparc/sparc32/Makefile: Likewise.
18476
b0727fd8
JS
18477 [BZ #13118]
18478 * posix/Makefile (bug-regex32-ENV): Define.
18479 Patch by John Stanley <jpsinthemix@verizon.net>.
18480
a0f33f99
UD
18481 * misc/Makefile (headers): Add bits/select2.h.
18482 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
18483 * misc/bits/select2.h: New file.
18484 * include/bits/select2.h: New file.
18485 * debug/Makefile (routines): Add fdelt_chk.
18486 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
18487 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
18488 FD_ISSET.
18489 * debug/fdelt_chk.c: New file.
18490
762011fe
UD
18491 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
18492 * wcsmbs/test-wmemcmp.c: Likewise.
18493 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 18494 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
18495
184962011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18497
18498 * string/Makefile (strop-tests): Add memcmp.
18499 * string/test-wmemcmp.c: New file.
18500 * string/test-memcmp.c: Add wmemcmp support.
18501
7f513ec8
RM
185022011-09-08 Roland McGrath <roland@hack.frob.com>
18503
0442afb4
RM
18504 [BZ #13153]
18505 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
18506 2011-07-19 change.
18507
7f513ec8
RM
18508 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
18509 garbage value in a __mach_port_mod_refs call in the cases of the
18510 task-self and thread-self ports.
18511
a12b2239
ST
185122011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18513
18514 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
18515
610f9ab4
AS
185162011-09-08 Andreas Schwab <schwab@redhat.com>
18517
7f513ec8 18518 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 18519
48882a1a
LD
185202011-09-07 Ulrich Drepper <drepper@gmail.com>
18521
b49865be
UD
18522 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
18523
fdc86bc9
UD
18524 * elf/dl-libc.c (dlerror_run): Pass back error code from
18525 dl_catch_error.
18526
c966526a
UD
18527 [BZ #13123]
18528 * elf/dl-load.c (lose): Free l_origin if it is valid.
18529
48882a1a
LD
18530 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
18531 names.
18532 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18533 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18534 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18535 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18536 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18537 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
18538
77a2a8b4
AZ
185392011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18540
18541 * sysdeps/powerpc/fpu/e_hypot.c: New file.
18542 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
18543 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
18544 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
18545 * sysdeps/powerpc/fpu/k_cosf.c: New file.
18546 * sysdeps/powerpc/fpu/k_sinf.c: New file.
18547 * sysdeps/powerpc/fpu/s_cosf.c: New file.
18548 * sysdeps/powerpc/fpu/s_sinf.c: New file.
18549 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
18550 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
18551
24f579d8
AM
185522011-08-15 Alan Modra <amodra@gmail.com>
18553
18554 [BZ #13092]
18555 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
18556 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
18557 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
18558 ppc_mcount to static-only-routines.
18559 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
18560 __mcount_internal.
18561 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
18562 __mcount_internal with usual JUMPTARGET. Remove useless nop.
18563
3d4837df
UD
185642011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
18565
18566 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
18567 for finite and infinity parameters.
18568
22700377
WS
185692011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18570
18571 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
18572 and add nop instructions for throughput optimization.
18573 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18574
5025581e
WS
185752011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
18576
18577 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
18578 aligned copy for power7 with vector-scalar instructions.
18579 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18580
08a300c9
L
185812011-07-24 H.J. Lu <hongjiu.lu@intel.com>
18582
18583 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
18584 AVX check.
18585
59178ef9
AS
185862011-09-07 Andreas Schwab <schwab@redhat.com>
18587
18588 [BZ #13144]
18589 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
18590 last change.
18591
e38ba7ab
UD
185922011-09-07 Ulrich Drepper <drepper@gmail.com>
18593
18594 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18595 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
18596 syscall wrapper around clock_gettime in __vdso_clock_gettime.
18597 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
18598 clock_gettime.
18599
d53a73ac
UD
186002011-09-06 Ulrich Drepper <drepper@gmail.com>
18601
fc8bffcc
UD
18602 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
18603 Forgot to demangle the pointer.
18604
ceaa0c5d
UD
18605 * sysdeps/i386/sysdep.h: Define atom_text_section.
18606 * sysdeps/x86_64/sysdep.h: Likewise.
18607 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
18608 section with atom_text_section.
18609 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18610 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18611 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18612 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18613 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
18614
a77d3c17
UD
18615 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
18616 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
18617 already be defined. Change to take two parameters and don't assign
18618 result to variable. Adjust all users.
18619 Define INTERNAL_GETTIME if not already defined.
18620 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
18621 call.
18622 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
18623 HAVE_CLOCK_GETTIME_VSYSCALL.
18624 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
18625
d53a73ac
UD
18626 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
18627 gettimeofday vsyscall, just use time.
18628
a8f84144
AS
186292011-09-06 Andreas Schwab <schwab@redhat.com>
18630
18631 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
18632 <errno.h>.
18633
ef606249
UD
186342011-09-06 Ulrich Drepper <drepper@gmail.com>
18635
18636 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
18637 syscall on x86-64.
18638 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
18639 syscall.
18640 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18641 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
18642 syscall if possible.
18643
6585cb60
UD
186442011-09-05 Ulrich Drepper <drepper@gmail.com>
18645
18646 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
18647 e_ident. Don't pass to find_mapsXX.
18648 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
18649
a5f524e4
LD
186502011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18651
18652 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18653 strchr-sse2-no-bsf strrchr-sse2-no-bsf
18654 * sysdeps/x86_64/multiarch/strchr.S: Update.
18655 Check bit_slow_BSF bit.
18656 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18657 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
18658 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
18659
554881ef
UD
186602011-09-05 Ulrich Drepper <drepper@gmail.com>
18661
d96de963
UD
18662 [BZ #13134]
18663 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
18664 before glibc 2.15.
18665 (tryshell): Define.
18666 (__spawni): Change last parameter to be flag. Test
18667 SPAWN_XFLAGS_USE_PATH flag to use path or not.
18668 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
18669 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
18670 * posix/spawni.c: Likewise.
18671 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
18672 * posix/spawnp.c: Likewise. Change normal version to use
18673 SPAWN_XFLAGS_USE_PATH.
18674 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
18675 SPAWN_XFLAGS_TRY_SHELL.
18676
d48e5868
UD
18677 [BZ #13150]
18678 * posix/glob.h: Remove gcc 1.x support.
18679
554881ef
UD
18680 [BZ #13068]
18681 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
18682
693fb948
LD
186832011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18684
18685 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18686 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
18687 strrchr-sse2-bsf
18688 * sysdeps/i386/i686/multiarch/strchr.S: New file.
18689 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
18690 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
18691 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
18692 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
18693 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
18694
1b48c537
UD
186952011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18696
49d42c37
UD
18697 * sysdeps/x86_64/wcscmp.S: New file.
18698
1b48c537
UD
18699 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
18700 wcscmp-c wcscmp-sse2
18701 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
18702 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
18703 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
18704 * wcsmbs/wcscmp.c: Allow renaming.
18705
15c95c5d
DM
187062011-09-05 David S. Miller <davem@davemloft.net>
18707
18708 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
18709 stack slot, rather than the struct return pointer slot.
18710 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
18711 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
18712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
18713 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
18714
2f0ad8f3
UD
187152011-09-05 Ulrich Drepper <drepper@gmail.com>
18716
d88ae418
UD
18717 * po/ja.po: Update from translation team.
18718
2f0ad8f3
UD
18719 [BZ #13144]
18720 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
18721 kernel in 64-bit binaries.
18722
5f4318d1
DM
187232011-09-01 David S. Miller <davem@davemloft.net>
18724
18725 * elf/elf.h (HWCAP_SPARC_*): Move to..
18726 * sysdeps/sparc/sysdep.h: this new file and add new values.
18727 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
18728 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
18729 _DL_HWCAP_COUNT to 24.
18730 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18731 entries.
18732 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
18733 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
18734 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
18735 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
18736 instead of magic constants.
18737 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18738
3ba57516
DM
187392011-08-31 David S. Miller <davem@davemloft.net>
18740
18741 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
18742 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
18743 Reimplement to do errno handling inline.
18744 (SYSCALL_ERROR_HANDLER): New macro.
18745 (__SYSCALL_STRING): Do not do errno handling in asm.
18746 (__CLONE_SYSCALL_STRING): Delete.
18747 (__INTERNAL_SYSCALL_STRING): Delete.
18748 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
18749 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
18750 (PSEUDO): Reimplement to do errno handling inline.
18751 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
18752 (SYSCALL_ERROR_HANDLER): New macro.
18753 (__SYSCALL_STRING): Do not do errno handling in asm.
18754 (__CLONE_SYSCALL_STRING): Delete.
18755 (__INTERNAL_SYSCALL_STRING): Delete.
18756 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
18757 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
18758 i386.
18759 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
18760 (inline_syscall*): Add 'err' argument.
18761 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
18762 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
18763 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
18764 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
18765
18766 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
18767 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18768
2bc17433
AS
187692011-08-30 Andreas Schwab <schwab@redhat.com>
18770
18771 * elf/rtld.c (dl_main): Relocate objects in dependency order.
18772
fbeb5f4d
JO
187732011-08-29 Jiri Olsa <jolsa@redhat.com>
18774
18775 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
18776 directive.
18777
ad69cc26
DM
187782011-08-24 David S. Miller <davem@davemloft.net>
18779
18780 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
18781
39dd69df
AS
187822011-08-24 Andreas Schwab <schwab@redhat.com>
18783
18784 * elf/Makefile: Add rules to build and run unload8 test.
18785 * elf/unload8.c: New file.
18786 * elf/unload8mod1.c: New file.
18787 * elf/unload8mod1x.c: New file.
18788 * elf/unload8mod2.c: New file.
18789 * elf/unload8mod3.c: New file.
18790
18791 * elf/dl-close.c (_dl_close_worker): Reset private search list if
18792 it wasn't used.
18793
2c0b250a
DM
187942011-08-23 David S. Miller <davem@davemloft.net>
18795
18796 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
18797 subtract stack bias.
18798 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
18799 %sp not %fp in calculations.
18800 (_JMPBUF_UNWINDS_ADJ): Likewise.
18801
22044b48
DM
18802 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
18803 (aio_suspend): Call it to force an exception region around the
18804 AIO_MISC_WAIT() invocation.
18805
2cae4995
AS
188062011-08-23 Andreas Schwab <schwab@redhat.com>
18807
18808 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
18809 backslash.
18810
873a772e
AJ
188112011-07-04 Aurelien Jarno <aurelien@aurel32.net>
18812
18813 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
18814 protection macro.
18815 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
18816 and <dl-machine.h>.
18817 (Elf64_FuncDesc): Remove.
18818
25ad0df1
DM
188192011-08-22 David S. Miller <davem@davemloft.net>
18820
18821 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
18822 sigaltstack check, add missing cfi directives.
18823 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
18824 missing cfi directives, and sigaltstack handling.
18825
e888bcbe
AS
188262011-08-16 Andreas Schwab <schwab@redhat.com>
18827
18828 [BZ #11724]
18829 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
18830 object is seen twice.
18831 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18832
18833 * elf/Makefile (distribute): Add tst-initorder2.c.
18834 (tests): Add tst-initorder2.
18835 (modules-names): Add tst-initorder2a tst-initorder2b
18836 tst-initorder2c tst-initorder2d. Add rules to build them.
18837 ($(objpfx)tst-initorder2.out): New rule.
18838 * elf/tst-initorder2.c: New file.
18839 * elf/tst-initorder2.exp: New file.
18840
87162f46
AS
188412011-08-22 Andreas Schwab <schwab@redhat.com>
18842
70538b7f
AS
18843 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
18844
f55ffe58
AS
18845 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
18846 dependencies back to end of function.
18847
87162f46
AS
18848 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18849 $(elfobjdir)/ld.so.
18850
91b392a4
UD
188512011-08-21 Ulrich Drepper <drepper@gmail.com>
18852
18853 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
18854 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
18855 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
18856 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
18857 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
18858 of __vdso_gettimeofday.
18859 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
18860 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
18861 attribute_hidden.
18862 (_libc_vdso_platform_setup): Remove initialization of
18863 __vdso_gettimeofday and __vdso_time.
18864
5c43483f
UD
188652011-08-20 Ulrich Drepper <drepper@gmail.com>
18866
775a77e7
UD
18867 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
18868 and fgetc_unlocked.
18869 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
18870 getc_unlocked.
89f447ed 18871
49c74ba9
UD
18872 * elf/dl-open.c (add_to_global): Report additions to the global scope
18873 for LD_DEBUG=scopes.
18874 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 18875 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 18876
5c43483f
UD
18877 [BZ #13114]
18878 * stdio-common/Makefile (tests): Add bug24.
18879 * stdio-common/bug24.c: New file.
18880
a101b025
AJ
188812011-08-19 Andreas Jaeger <aj@suse.de>
18882
18883 [BZ #13114]
18884 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
18885 non-existant file when using close-on-exec mode.
18886
c88f1766
UD
188872011-08-20 Ulrich Drepper <drepper@gmail.com>
18888
0276a718
UD
18889 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
18890 the very first instruction.
18891
c88f1766
UD
18892 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
18893 the CFI state in the end.
18894 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
18895 inclusion of dl-trampoline.h.
18896 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
18897
51ccffa0
AS
188982011-08-19 Andreas Schwab <schwab@redhat.com>
18899
94d7165f
AS
18900 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
18901 expectations for long double.
18902
51ccffa0
AS
18903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
18904 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
18905
fd708658 189062011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
18907
18908 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
18909 artificual limit depends upon the system page size.
18910
44f0a71e
UD
189112011-08-17 Ulrich Drepper <drepper@gmail.com>
18912
18913 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
18914 * resolv/Makefile: Define CFLAGS-libresolv.
18915
8de79a24
AS
189162011-08-17 Andreas Schwab <schwab@redhat.com>
18917
18918 * nss/makedb.c (compute_tables): Make variables used in nested
18919 function static.
18920
27724598
UD
189212011-08-17 Ulrich Drepper <drepper@gmail.com>
18922
c5305d88
UD
18923 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
18924 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
18925 if buffer was too small.
18926
27724598
UD
18927 * elf/pldd.c (main): Attach to all threads in the process.
18928 Rewrite /proc handling to use *at functions.
18929
076fe015
UD
189302011-08-16 Ulrich Drepper <drepper@gmail.com>
18931
174baab3
UD
18932 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
18933 specifies first scope to show.
18934 (dl_open_worker): Update callers. Move printing scope of new
18935 object to before the relocation.
44f0a71e 18936 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
18937 * sysdeps/generic/ldsodefs.h: Update declaration.
18938
076fe015
UD
18939 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
18940 string for the scope number.
18941
a60df2c3
UD
189422011-08-14 Ulrich Drepper <drepper@gmail.com>
18943
18944 * nscd/servicescache.c (cache_addserv): Make sure written is always
18945 initialized.
18946
5e4287d1
RM
189472011-08-14 Roland McGrath <roland@hack.frob.com>
18948
85ae0589
RM
18949 * sysdeps/i386/i486/bits/atomic.h
18950 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
18951 statement expression, so as to suppress "set but not used" warning.
18952 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
18953
69f63097
RM
18954 * string/strncat.c (STRNCAT): Use prototype definition.
18955
675456ef
RM
18956 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
18957 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
18958 -Iprograms here.
18959 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
18960 (localedef-modules): Add localedef.
18961 (locale-modules): Add locale.
18962
5e4287d1
RM
18963 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
18964 * elf/rtld.c (dl_main): Invert order of assignment in last change,
18965 to avoid a warning.
18966
9c96ff23
DM
189672011-08-14 David S. Miller <davem@davemloft.net>
18968
18969 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
18970 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
18971
f9ddf089
UD
189722011-08-13 Ulrich Drepper <drepper@gmail.com>
18973
44f0a71e 18974 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
18975 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
18976 * elf/rtld.c (dl_main): Set l_name of vDSO.
18977 Call _dl_show_scope when DL_DEBUG_SCOPES.
18978 (process_dl_debug): Recognize scopes flag and also set it for all.
18979 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
18980 Declare _dl_show_scope.
18981
1dc27704
UD
18982 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
18983 (do_dlopen): Pass caller_dlopen to dl_open.
18984 (__libc_dlopen_mode): Initialize caller_dlopen.
18985
f9ddf089
UD
18986 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
18987 of libc. Make tolower call locale-independent. Optimize a bit by
18988 using isdigit instead of isalnum.
18989 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
18990
9ac533d3
UD
189912011-08-12 Ulrich Drepper <drepper@gmail.com>
18992
18993 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
18994 was a dependency or dynamically loaded.
18995
89edf2e9
UD
189962011-08-11 Ulrich Drepper <drepper@gmail.com>
18997
8e999d29
UD
18998 * intl/l10nflist.c: Allow architecture-specific pop function.
18999 * sysdeps/x86_64/l10nflist.c: New file.
19000
89edf2e9
UD
19001 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19002 classification.
19003
14d96785
AS
190042011-08-10 Andreas Schwab <schwab@redhat.com>
19005
19006 * include/dirent.h: Add libc_hidden_proto for scandirat and
19007 scandirat64. Don't declare __scandirat64.
19008 * dirent/scandirat.c: Add libc_hidden_def.
19009 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19010 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19011
6761ac04
DM
190122011-08-10 David S. Miller <davem@davemloft.net>
19013
19014 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19015 enum.
19016 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19017 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19018 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19019
c55fbd1e
UD
190202011-08-09 Ulrich Drepper <drepper@gmail.com>
19021
19022 * Versions.def [libc]: Add GLIBC_2.15.
19023 * dirent/Makefile (routines): Add scandirat and scandirat64.
19024 * dirent/Versions [libc]: Export scandirat and scandirat64 for
19025 GLIBC_2.15.
19026 * dirent/dirent.h: Declare scandirat and scandirat64.
19027 * dirent/scandirat.c: New file.
19028 * dirent/scandirat64.c: New file.
19029 * sysdeps/wordsize-64/scandirat.c: New file.
19030 * sysdeps/wordsize-64/scandirat64.c: New file.
19031 * dirent/opendir.c: Define opendirat.
19032 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
19033 using scandirat.
19034 * dirent/scandir64.c: Adjust for scandir.c change.
19035 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
19036 __scandirat64, and __scandir_cancel_handler.
19037 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
19038 additional parameter and use openat instead of open (outside of ld.so).
19039 Add new __opendir as wrapper around __opendirat.
19040 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19041 here without requiring old scandirat implementation.
19042
879165f2
UD
190432011-08-08 Ulrich Drepper <drepper@gmail.com>
19044
19045 * dirent/scandir.c (cancel_handler): Renamed to
19046 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
19047 defined. Adjust users.
19048 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19049 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19050
cb7e923b
UD
190512011-08-04 Ulrich Drepper <drepper@gmail.com>
19052
16292edd
UD
19053 * string/test-string.h (IMPL): Use __STRING to expand name and then
19054 stringify it.
19055
cb7e923b
UD
19056 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
19057 of cleanups.
19058
cff82933
LD
190592011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19060
19061 * string/Makefile: Update.
19062 (strop-tests): Append strncat.
19063 * string/test-wcscmp.c: New file.
19064 New comprehensive test for wcscmp.
19065 * string/test-strcmp.c: Update.
19066 (WIDE): New define.
19067
9be9bfcc
AS
190682011-07-22 Andreas Schwab <schwab@redhat.com>
19069
19070 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19071 line.
19072
2e96f1c7
AS
190732011-07-26 Andreas Schwab <schwab@redhat.com>
19074
19075 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19076 encoding to ACE if AI_IDN.
19077
85188888
JJ
190782011-08-01 Jakub Jelinek <jakub@redhat.com>
19079
19080 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19081 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19082
5fa16e9b
LD
190832011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19084
19085 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19086 Fix overflow bug in strncat.
19087 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19088
19089 * string/test-strncat.c: Update.
19090 Add new tests for checking overflow bugs.
19091
190922011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19093
19094 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19095 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19096 * sysdeps/i386/i686/multiarch/strcat.S: New file.
19097 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19098 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19099 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19100 * sysdeps/i386/i686/multiarch/strncat.S: New file.
19101 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19102 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19103
19104 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19105 (USE_AS_STRCAT): Define.
19106 Add strcat and strncat support.
19107 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19108
8c1a459f
AS
191092011-07-25 Andreas Schwab <schwab@redhat.com>
19110
19111 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19112 __n bigger than INT_MAX+1.
19113 (__strncmp_g): Likewise.
19114
bba33c28
UD
191152011-07-23 Ulrich Drepper <drepper@gmail.com>
19116
798be72d
UD
19117 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19118 * libio/stido.h: Likewise.
19119
8accd4dc
UD
19120 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19121 (AF_NFC): Define.
19122 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19123 (AF_NFC): Define.
19124
cbff0d96
UD
19125 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19126 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19127 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19128 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19129 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19130
9191c04a
UD
19131 [BZ #13021]
19132 * scripts/test-installation.pl: Don't expect libnss_test1 to be
19133 installed.
19134
bba33c28
UD
19135 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19136 typo.
19137 (_dl_x86_64_save_sse): Likewise.
19138
90f139dd
UD
191392011-07-22 Ulrich Drepper <drepper@gmail.com>
19140
1aae088a
UD
19141 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19142 OSXSAVE.
19143 (_dl_x86_64_save_sse): Likewise.
19144
8e2045f5
UD
19145 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19146
90f139dd
UD
19147 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19148
1d002f25
AS
191492011-07-21 Andreas Schwab <schwab@redhat.com>
19150
19151 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19152 change.
19153 (_dl_x86_64_save_sse): Use correct AVX check.
19154
21137f89
UD
191552011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19156
19157 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
19158 bug in strncpy/strncat.
19159 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19160
a65c0b7a
UD
191612011-07-21 Ulrich Drepper <drepper@gmail.com>
19162
19163 * string/tester.c (test_strcat): Add tests for different alignments
19164 of source and destination.
19165 (test_strncat): Likewise.
19166
6986b98a
UD
191672011-07-20 Ulrich Drepper <drepper@gmail.com>
19168
90bb2039
UD
19169 [BZ #12852]
19170 * posix/glob.c (glob): Check passed in values before using them in
19171 expressions to avoid some overflows.
19172 (glob_in_dir): Likewise.
19173
5644ef54
UD
19174 [BZ #13007]
19175 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
19176 check for AVX enablement so that we don't crash with old kernels and
19177 new hardware.
19178 * elf/tst-audit4.c: Add same checks here.
19179 * elf/tst-audit6.c: Likewise.
19180
19181 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 19182
bfc9dc9b
AS
191832011-07-09 Andreas Schwab <schwab@linux-m68k.org>
19184
19185 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
19186
702e64bb
UD
191872011-07-20 Ulrich Drepper <drepper@gmail.com>
19188
19189 * po/cs.po: Update from translation team.
19190 * po/bg.po: Likewise.
19191
295e904f
MP
191922011-07-12 Marek Polacek <mpolacek@redhat.com>
19193
19194 * misc/sys/cdefs.h: Add support for const attribute.
19195 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
19196 to gnu_dev_{major,minor,makedev} functions.
19197
3ff94596
MP
191982011-07-20 Marek Polacek <mpolacek@redhat.com>
19199
19200 * intl/dcigettext.c (get_output_charset): Add missing bracket.
19201
28b59fca
AS
192022011-07-20 Andreas Schwab <schwab@redhat.com>
19203
19204 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
19205 strlen results.
19206
19df733e
AK
192072011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19208
19209 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19210 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
19211 register in order to avoid conflicts with the soft frame pointer
19212 being held in r11 when necessary.
19213 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19214 (INTERNAL_VSYSCALL_NCS): Likewise.
19215
c8835729
MP
192162011-07-14 Marek Polacek <mpolacek@redhat.com>
19217
19218 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
19219 * elf/dl-fini.c (_dl_fini): Adjust caller.
19220 * elf/dl-close.c (_dl_close_worker): Likewise.
19221 * sysdeps/generic/ldsodefs.h: Adjust declaration.
19222
b902330c
MP
192232011-07-15 Marek Polacek <mpolacek@redhat.com>
19224
8991e135
MP
19225 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
19226 "aux_cache->nlibs < 0".
19227
b902330c
MP
19228 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
19229 in the reload-count case.
19230
99710781
LD
192312011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19232
19233 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19234 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
19235 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
19236 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
19237 * sysdeps/x86_64/multiarch/strcat.S: New file.
19238 * sysdeps/x86_64/multiarch/strncat.S: New file.
19239 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
19240 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
19241 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
19242 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
19243 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
19244 (USE_AS_STRCAT): Define.
19245 Add strcat and strncat support.
19246 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19247 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19248 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
19249 * string/strncat.c: Update.
19250 (USE_AS_STRNCAT): Define.
19251 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19252 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19253 and i7.
19254 * sysdeps/x86_64/multiarch/init-arch.h
19255 (bit_Prefer_PMINUB_for_stringop): New.
19256 (index_Prefer_PMINUB_for_stringop): Likewise.
19257 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19258 bit_Prefer_PMINUB_for_stringop.
19259
7dc6bd90
UD
192602011-07-19 Ulrich Drepper <drepper@gmail.com>
19261
19262 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19263 buffer64.
19264 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19265 of casting of buffer.
19266 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19267 buffer32 and buffer64.
19268 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19269 writes instead of casting of buffer.
19270 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19271 buffer32.
19272 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19273 casting of buffer.
19274
e0e72284
AS
192752011-07-19 Andreas Schwab <schwab@redhat.com>
19276
19277 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19278
feb1eb0b
UD
192792011-07-19 Ulrich Drepper <drepper@gmail.com>
19280
19281 * nscd/nscd.c (termination_handler): Don't do anything for a database
19282 if it has not yet been initialized.
19283
298711ff
UD
192842011-07-18 Ulrich Drepper <drepper@gmail.com>
19285
19286 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19287
192882011-07-15 Marek Polacek <mpolacek@redhat.com>
19289
19290 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19291
f9d68389
UD
192922011-07-18 Ulrich Drepper <drepper@gmail.com>
19293
19294 * po/nl.po: Update from translation team.
19295 * po/sv.po: Likewise.
19296
db290cf5
RM
192972011-07-16 Roland McGrath <roland@hack.frob.com>
19298
19299 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19300 now disallowed by GCC.
5c550700 19301
fd5e21c7
RM
19302 * configure.in (use-default-link): Default to yes if a test -shared
19303 link meets our qualifications.
19304 * configure: Regenerated.
19305
5c550700
RM
19306 * config.make.in (output-format): New variable.
19307 * configure.in: Check for ld --print-output-format support.
19308 * configure: Regenerated.
19309 * Makerules ($(common-objpfx)format.lds)
19310 [$(output-format) != unknown]: Just use $(output-format),
19311 instead of the linker-script munging.
19312
9fa2c032
RM
193132011-07-14 Roland McGrath <roland@hack.frob.com>
19314
a6928d51
RM
19315 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19316 of $(common-objpfx)shlib.lds.
19317 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19318
661607b3
RM
19319 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19320 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
19321
9fa2c032
RM
19322 * configure.in (-z relro check): Adjust test code to add a large
19323 writable data section after it.
19324 * configure: Regenerated.
19325
defe9061
RM
193262011-07-11 Roland McGrath <roland@hack.frob.com>
19327
19328 * configure.in (-z relro check): Fix test code to make the variable
19329 truly const.
19330 * configure: Regenerated.
19331
319b9ad4
UD
193322011-07-11 Ulrich Drepper <drepper@gmail.com>
19333
19334 * nscd/nscd.h (struct traced_file): Define.
19335 (struct database_dyn): Remove inotify_descr, reset_res, and filename
19336 elements. Add traced_files.
19337 (inotify_fd): Declare.
19338 (register_traced_file): Declare.
19339 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19340 (inotify_fd): Export.
19341 (resolv_conf_descr): Remove.
19342 (nscd_init): Move inotify descriptor creation to main.
19343 Don't register files for notification here.
19344 (register_traced_file): New function.
19345 (invalidate_cache): Don't use reset_res to determine whether to call
19346 res_init, go through the list of registered files.
19347 (main_loop_poll): The inotify descriptors are now stored in the
19348 structures for the traced files.
19349 (main_loop_epoll): Likewise
19350 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
19351 to __nss_disable_nscd.
19352 * nscd/cache.c (prune_cache): There is no single inotify descriptor
19353 for a database anymore. Check the records for all the registered
19354 files instead.
19355 * nss/Makefile (libnss_files-routines): Add files-init.
19356 (libnss_db-routines): Add db-init.
19357 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
19358 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
19359 * nss/nss_db/db-init.c: New file.
19360 * nss/nss_files/files-init.c: New file.
19361 * nss/nsswitch.c (nss_load_library): New function. Broken out of
19362 __nss_lookup_function.
19363 (__nss_lookup_function): Call nss_load_library.
19364 (nss_load_all_libraries): New function.
19365 (__nss_disable_nscd): Take parameter with callback function for files
19366 to register. Set is_nscd. Load all the DSOs for the NSS modules
19367 used for the cached services.
19368 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
19369 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
19370 options for features to all the files in nscd.
19371
19372 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
19373
23bee3e8
RM
193742011-07-10 Roland McGrath <roland@hack.frob.com>
19375
19376 * csu/elf-init.c (__libc_csu_init): Comment typo.
19377
46a5b7f0
UD
193782011-07-09 Ulrich Drepper <drepper@gmail.com>
19379
19380 * po/pl.po: Update from translation team.
19381 * po/ja.po: Likewise.
19382 * po/ru.po: Likewise.
19383 * po/ko.po: Likewise.
19384 * po/fr.po: Likewise.
19385
d30cf5bb
RM
193862011-07-09 Roland McGrath <roland@hack.frob.com>
19387
113ddea4
RM
19388 * configure.in (.ctors/.dtors header and trailer check):
19389 Use an empirical test on a built program.
19390 * configure: Regenerated.
19391
574920b4
RM
19392 * configure.in (-z relro check): Use an empirical test on a built DSO.
19393 Detect, but do not require, on ia64.
19394 * configure: Regenerated.
19395
d30cf5bb
RM
19396 * configure.in (READELF): Find it with AC_CHECK_TOOL.
19397 Update tests that use readelf to use $READELF instead.
19398 * configure: Regenerated.
19399
8538fdb3
UD
194002011-07-08 Ulrich Drepper <drepper@gmail.com>
19401
19402 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
19403 if the result is not used.
19404
04d08991
AJ
194052011-07-05 Andreas Jaeger <aj@suse.de>
19406
19407 [BZ#9696]
19408 * stdlib/tst-strtod.c: Add testcase.
19409
de283087
AD
194102011-07-07 Ulrich Drepper <drepper@gmail.com>
19411
4e5f31c8 19412 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 19413 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
19414 The latter has a higher limit. Take additional parameter to pass to
19415 the new function.
19416 (__pathconf): Pass file to __statfs_link_max.
19417 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
19418 __statfs_link_max.
19419 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
19420 __statfs_link_max.
19421
de283087
AD
19422 [BZ #12868]
19423 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
19424 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19425 Handle Lustre.
19426 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
19427 (__statfs_filesize_max): Likewise.
19428 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
19429
c75fa153
AJ
194302011-07-05 Andreas Jaeger <aj@suse.de>
19431
19432 * resolv/res_comp.c (dn_skipname): Remove unused variable.
19433
1a544854
UD
194342011-07-06 Marek Polacek <mpolacek@redhat.com>
19435
19436 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
19437 `status' variable.
19438 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
19439 Likewise.
19440
6f0eec67
UD
194412011-07-04 H.J. Lu <hongjiu.lu@intel.com>
19442
19443 * Makefile (strop-tests): Add strncat.
19444 * string/test-strncat.c: New file.
19445
aae30307
UD
194462011-06-30 Marek Polacek <mpolacek@redhat.com>
19447
19448 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
19449
c0cfb5eb
UD
194502011-06-21 Andreas Jaeger <aj@suse.de>
19451
19452 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
19453 Copy rule from iconvdata/Makefile.
19454
01636b21
UD
194552011-07-06 Ulrich Drepper <drepper@gmail.com>
19456
19457 [BZ #12922]
19458 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
19459 but no long options are defined, just return 'W'.
19460
9895c8bc
UD
194612011-06-22 Marek Polacek <mpolacek@redhat.com>
19462
19463 [BZ #9696]
19464 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
19465
5d4cf042
UD
194662011-07-06 Ulrich Drepper <drepper@gmail.com>
19467
19468 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
19469 netgroups to read.
960e5535 19470 (innetgr): Likewise.
5d4cf042 19471
751eb97e
RM
194722011-07-05 Roland McGrath <roland@hack.frob.com>
19473
19474 * config.make.in (install_root): Default to $(DESTDIR).
19475
f15f1e45
UD
194762011-07-05 Ulrich Drepper <drepper@gmail.com>
19477
19478 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
19479
4e34ac6a
RM
194802011-07-02 Roland McGrath <roland@hack.frob.com>
19481
5e9b6af4
RM
19482 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
19483
84f9ea0f
RM
19484 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
19485 containing directory rather than embedding absolute directory names.
19486
ea5ee9f7
RM
19487 * scripts/check-local-headers.sh: Rewritten using awk.
19488 Match by word, not by line. Print error messages for matches.
19489 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
19490
1b74661a
RM
19491 * Makerules [shlib-lds-flags empty]:
19492 ($(common-objpfx)libc_pic.opts): New target.
19493 ($(common-objpfx)libc_pic.os.clean): New target.
19494 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
19495
19496 * config.make.in (OBJCOPY): New variable.
19497 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
19498 * configure: Regenerated.
19499
f781ef40
RM
19500 * config.make.in (use-default-link): New variable.
19501 * configure.in (use_default_link): Grok --with-default-link to set it.
19502 * configure: Regenerated.
19503 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
19504 (shlib-lds, shlib-lds-flags): Define to empty.
19505
2d4fa81e
RM
19506 * Makerules (shlib-lds): New variable.
19507 (shlib-lds-flags): New variable.
19508 (build-shlib, build-moduile, build-module-asneeded): Use it.
19509 ($(common-objpfx)libc.so): Use $(shlib-lds).
19510 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
19511 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
19512
31fffa6b
RM
19513 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
19514 DT_FLAGS/DT_FLAGS_1 with zero flags.
19515
4e34ac6a
RM
19516 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
19517 linker script munging.
19518
fcfc776b
UD
195192011-07-02 Ulrich Drepper <drepper@gmail.com>
19520
19521 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
19522 as 128-bit value.
19523 * crypt/sha512.c (sha512_process_block): Perform total addition using
19524 128-bit if possible.
19525 (__sha512_finish_ctx): Likewise.
19526 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
19527 as 64-bit value.
19528 * crypt/sha256.c (SWAP64): Define.
19529 (sha256_process_block): Perform total addition using 64-bit if
19530 possible.
19531 (__sha256_finish_ctx): Likewise.
19532
99231d9a
UD
195332011-07-01 Ulrich Drepper <drepper@gmail.com>
19534
19535 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
19536 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19537 * nscd/hstcache.c (cache_addhst): Likewise.
19538 * nscd/grpcache.c (cache_addgr): Likewise.
19539 * nscd/aicache.c (addhstaiX): Likewise
19540 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
19541
445b4a53
TK
195422011-07-01 Thorsten Kukuk <kukuk@suse.de>
19543
19544 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
19545 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19546 * nscd/hstcache.c (cache_addhst): Likewise.
19547 * nscd/grpcache.c (cache_addgr): Likewise.
19548 * nscd/aicache.c (addhstaiX): Likewise
19549
6d4d8e8e
AS
195502011-07-01 Andreas Schwab <schwab@redhat.com>
19551
19552 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
19553 domain only when needed.
19554
89f654c5
AS
195552011-06-30 Andreas Schwab <schwab@redhat.com>
19556
19557 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
19558 is always restored.
19559
cf3b23ff
UD
195602011-06-29 Ulrich Drepper <drepper@gmail.com>
19561
19562 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
19563 are re-adding the entry.
19564 * nscd/servicescache.c (cache_addserv): Likewise.
19565
751626f9
AJ
195662011-06-30 Aurelien Jarno <aurelien@aurel32.net>
19567
19568 * sysdeps/generic/dl-irel.h: fix protection against multiple
19569 inclusions.
19570 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
19571
9113ea1f
UD
195722011-06-28 Ulrich Drepper <drepper@gmail.com>
19573
5c0b8d90
UD
19574 [BZ #12935]
19575 * malloc/memusage.sh: Fix quoting in message.
19576 * debug/xtrace.sh: Likewise.
19577
9113ea1f
UD
19578 * configure.in: Remove support for --experimental-malloc option, make
19579 it the default.
19580 * config.make.in: Likewise.
19581 * malloc/Makefile: Likewise.
19582
a4172181
AS
195832011-06-27 Andreas Schwab <schwab@redhat.com>
19584
19585 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
19586 two-byte characters.
19587
78a7eee7
RM
195882011-06-27 Roland McGrath <roland@hack.frob.com>
19589
62bede13
RM
19590 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
19591 AC_CACHE_CHECK invocation.
19592 * configure: Regenerated.
19593
78a7eee7
RM
19594 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
19595
5ce33a62
UD
195962011-06-27 Ulrich Drepper <drepper@gmail.com>
19597
034807a9
UD
19598 [BZ #12350]
19599 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
19600 bit from old_res_options.
19601
4902da17
UD
19602 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
19603
5ce33a62
UD
19604 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
19605 value type for setfct.
19606
c2344f56
L
196072011-06-23 H.J. Lu <hongjiu.lu@intel.com>
19608
19609 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19610 __gettimeofday instead of gettimeofday.
19611
68468076
UD
196122011-06-26 Ulrich Drepper <drepper@gmail.com>
19613
19614 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
19615
acb0d739
L
196162011-06-24 H.J. Lu <hongjiu.lu@intel.com>
19617
19618 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
19619
19620 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
19621 info.
19622
8912479f
L
196232011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19624
19625 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19626 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19627 strcpy-sse2-unaligned strncpy-sse2-unaligned
19628 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
19629 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
19630 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
19631 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
19632 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
19633 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
19634 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
19635 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
19636 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
19637 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
19638 (STRCPY): Support SSE2 and SSSE3 versions.
19639
d5495a11
UD
196402011-06-24 Ulrich Drepper <drepper@gmail.com>
19641
19642 [BZ #12874]
19643 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
19644 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
19645 kernels which artificially limit size of requests.
19646
0b1cbaae
L
196472011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19648
19649 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19650 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19651 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
19652 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
19653 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
19654 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
19655 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
19656 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
19657 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
19658 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
19659 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
19660 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
19661 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
19662 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
19663 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
19664 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19665 Enable unaligned load optimization for Intel Core i3, i5 and i7
19666 processors.
19667 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
19668 Define.
19669 (index_Fast_Unaligned_Load): Define.
19670 (HAS_FAST_UNALIGNED_LOAD): Define.
19671
07f494a0
MP
196722011-06-23 Marek Polacek <mpolacek@redhat.com>
19673
19674 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
19675
fa3fc0fe
UD
196762011-06-22 Ulrich Drepper <drepper@gmail.com>
19677
19678 [BZ #12907]
19679 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
19680 until it is clear that the information is realy needed.
19681 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
19682
e12df166
AS
196832011-06-22 Andreas Schwab <schwab@redhat.com>
19684
19685 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
19686
852eb34d
UD
196872011-06-22 Ulrich Drepper <drepper@gmail.com>
19688
84e2a551
UD
19689 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19690 /sys/devices/system/cpu/online if it is usable.
19691
852eb34d
UD
19692 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
19693 reading the information from the /proc filesystem to once a second.
19694
6e502e19
UD
196952011-06-21 Andreas Jaeger <aj@suse.de>
19696
19697 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
19698 NULL after inclusion of kernel headers.
19699
75d39ff2
UD
197002011-06-21 Ulrich Drepper <drepper@gmail.com>
19701
51f9aa6a
UD
19702 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
19703 calls to internal_setent.
19704
c0244a9d
UD
19705 [BZ #12885]
19706 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
19707 addresses using gethostbyname4_r ignore IPv4 addresses.
19708
c5e3c2ae
UD
19709 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
19710 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
19711
75d39ff2
UD
19712 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
19713
42675c6f
DM
197142011-06-20 David S. Miller <davem@davemloft.net>
19715
19716 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
19717 inclusions.
19718 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
19719
19720 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
19721 (elf_irel): Use it.
19722 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
19723 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
19724 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
19725 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
19726 * sysdeps/x86_64/dl-irel.h: Likewise.
19727
19728 * elf/dl-runtime.c: Use elf_ifunc_invoke.
19729 * elf/dl-sym.c: Likewise.
19730
57912a71
UD
197312011-06-15 Ulrich Drepper <drepper@gmail.com>
19732
19733 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
19734 need to dereference resplen2.
19735
ee22793d
AS
197362011-06-14 Andreas Schwab <schwab@redhat.com>
19737
19738 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
19739
a9e836b0
UD
197402011-06-15 Ulrich Drepper <drepper@gmail.com>
19741
77fb9117
UD
19742 * Makeconfig: Define vardbdir and inst_vardbdir.
19743 * nss/Makefile: Add rules to install db-Makefile.
19744
40c1b22c
UD
19745 * nss/nss_db/db-XXX.c: Cleanup.
19746
9f2da732
UD
19747 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
19748 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
19749 GLIBC_PRIVATE.
19750 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
19751 * nss/makedb.c: Implement -g option to specify that value strings
19752 are generated and should not be added to table iterated over for
19753 get*ent calls.
19754 * nss/nss_db/db-initgroups.c: New file.
19755
82e9a1f7
UD
19756 * nss/getent.c: Add support for initgroups lookups through getgrouplist
19757 interface.
19758
c41af17e
UD
19759 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
19760 (internal_getgrouplist): Adjust to name change.
19761 Update use_initgroups_entry if this is not the first call.
19762 * nss/databases.def: Add initgroups entry.
19763
a9e836b0
UD
19764 * nss/makedb.c (compute_tables): Check result of multiple hash table
19765 sizes to minimize maximum chain length.
19766
2666d441
UD
197672011-06-14 Ulrich Drepper <drepper@gmail.com>
19768
19769 * Versions.def: Add entry for libnss_db.
19770 * shlib-versions: Likewise.
19771 * nss/Makefile: Add rules to build libnss_db.
19772 * nss/Versions: Add libnss_db information. Organize libnss_files
19773 entries better.
19774 * nss/db-Makefile: Add gshadow support. Change rules for the new
19775 makedb progra. Some minor improvements to generate smaller files.
19776 * nss/nss_db/nss_db.h: Move NSS database header data structures to
19777 here from...
19778 * nss/makedb.c: ...here.
19779 Improve database format to be smaller and require less memory at
19780 runtime.
19781 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
19782 db anymore.
19783 * nss/nss_db/db-netgrp.c: Likewise.
19784 * nss/nss_db/db-open.c: Likewise.
19785 * nss/nss_files/flies-XXX.x: Adjust comments.
19786 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
19787 * nss/nss_files/files-grp.c: Likewise.
19788 * nss/nss_files/files-hosts.c: Likewise.
19789 * nss/nss_files/files-network.c: Likewise.
19790 * nss/nss_files/files-proto.c: Likewise.
19791 * nss/nss_files/files-pwd.c: Likewise.
19792 * nss/nss_files/files-rpc.c: Likewise.
19793 * nss/nss_files/files-service.c: Likewise.
19794 * nss/nss_files/files-sgrp.c: Likewise.
19795 * nss/nss_files/files-spwd.c: Likewise.
19796 * nss/nss_db/db-alias.c: Removed.
19797 * nss/nss_db/dummy-db.h: Removed.
19798
9ee76b5a
UD
197992011-06-02 Ulrich Drepper <drepper@gmail.com>
19800
19801 * nss/makedb.c: Rewritten to not use database library.
19802 * nss/Makefile: Update to build new makedb program.
19803
c71ca1f8
AJ
198042011-06-14 Andreas Jaeger <aj@suse.de>
19805
19806 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
19807 memset declaration.
19808
3154bfb8
UD
198092011-06-10 Andreas Schwab <schwab@redhat.com>
19810
19811 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
19812 tmpbuf.
19813
b350afab
RM
198142011-06-10 Roland McGrath <roland@hack.frob.com>
19815
decd4e50
RM
19816 * Makerules (shlib.lds): Fail if the linker script comes out empty.
19817 * elf/Makefile ($(objpfx)ld.so): Likewise.
19818
5615eaf2
RM
19819 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
19820 Don't list ld.so twice in dependencies.
19821
19822 * posix/bug-regex31.c: Include <stdlib.h>.
19823
19824 * nscd/hstcache.c (cache_addhst): Remove unused variable.
19825
19826 * nis/nss_compat/compat-spwd.c
19827 (getspent_next_nss_netgr): Remove unused variable.
19828 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
19829
19830 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
19831 nonmembers" output to use the right array.
19832
19833 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
19834
19835 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
19836
19837 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
19838 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
19839 * catgets/gencat.c (read_input_file): Likewise.
19840 * locale/programs/locarchive.c (enlarge_archive): Likewise.
19841
19842 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
19843 variable definition inside #if's controlling its use.
19844
19845 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
19846
19847 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
19848
19849 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
19850
19851 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
19852 unreachable code.
19853
19854 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
19855
b68e08db
RM
19856 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
19857 * configure: Regenerated.
19858
b350afab
RM
19859 * Makerules: Revert last change.
19860 * elf/Makefile: Likewise.
19861
28368601
RM
198622011-06-09 Roland McGrath <roland@hack.frob.com>
19863
19864 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
19865 * elf/Makefile ($(objpfx)librtld.os): Likewise.
19866 (reloc-link): Likewise.
19867
11988f8f
UD
198682011-06-09 Ulrich Drepper <drepper@gmail.com>
19869
19870 * elf/Makefile: Add rules to build pldd.
19871 * elf/pldd.c: New file.
19872 * elf/pldd-xx.c: New file.
19873
e80fab37
UD
198742011-06-07 Ulrich Drepper <drepper@gmail.com>
19875
19876 * version.h: Update for 2.15 development version.
19877
9b849836
DM
198782011-06-07 David S. Miller <davem@davemloft.net>
19879
19880 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
19881 ifuncs.
19882 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
19883 elf_machine_lazy_rel): Likewise.
19884 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19885 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
19886 elf_machine_lazy_rel): Likewise.
19887 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
19888 dl_hwcap via passed in argument.
19889 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
19890 Likewise.
19891
5a31b283
AK
198922011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19893
19894 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
19895
069e52f8
RM
198962011-06-06 Roland McGrath <roland@hack.frob.com>
19897
19898 [BZ #12849]
19899 * manual/fdl-1.1.texi: New file, verbatim from:
19900 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
19901 * manual/lgpl-2.1.texi: New file, verbatim from:
19902 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
19903 * manual/Makefile (licenses): New variable, list those new file names.
19904 (texis): Use it.
19905 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
19906
19907 * manual/fdl.texi: File removed.
19908 * manual/lesser.texi: File removed.
19909 * manual/libc.texinfo (Copying, Documentation License):
19910 Use new @include file names, put @appendix directive before @include.
19911
f16846a5
JJ
199122011-06-04 Jakub Jelinek <jakub@redhat.com>
19913
19914 [BZ #12841]
19915 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
19916 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
19917 (mq_open): Add __NTH.
19918
3d29045b
L
199192011-06-02 H.J. Lu <hongjiu.lu@intel.com>
19920
19921 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19922 Assume Intel Core i3/i5/i7 processor if AVX is available.
19923
8c297311
UD
199242011-05-31 Ulrich Drepper <drepper@gmail.com>
19925
19926 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19927 typo.
19928
c8fc0c91
UD
199292011-05-31 Andreas Schwab <schwab@redhat.com>
19930
19931 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
19932 memory. Use alloca_account. Fix memory leak when retrying.
19933
5b27a807
UD
199342011-05-31 Ulrich Drepper <drepper@gmail.com>
19935
356f8bc6
UD
19936 * version.h (RELEASE): Bump for 2.14 release.
19937 * include/features.h (__GLIBC_MINOR__): Bump to 14.
19938
5b27a807
UD
19939 * config.make.in (RANLIB): Remove entry.
19940
01f16ab0
UD
199412011-05-30 Ulrich Drepper <drepper@gmail.com>
19942
41fce8bd
UD
19943 * po/Makefile (po-sed-cmd): Add ksh to extensions.
19944 (libc.pot): Work around missing support for .ksh extension in xgettext.
19945
4769ae77
UD
19946 [BZ #12684]
19947 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
19948 if both request failed.
19949 (send_dg): In case of server errors clear resplen or *resplen2.
19950
6b1e7d19
UD
19951 [BZ #12454]
19952 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
19953 when there are multiple maps.
19954 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
19955 (_dl_fini): Remove test here.
19956
01f16ab0
UD
19957 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
19958
b1ebd700
UD
199592011-05-29 Ulrich Drepper <drepper@gmail.com>
19960
7ae22829
UD
19961 [BZ #12350]
19962 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
19963 bit from old_res_options.
19964 (gaih_inet): Likewise.
19965
553149f6 19966 [BZ #11099]
18a84741 19967 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
19968 as signed.
19969
652ffab1
UD
19970 * resolv/res_init.c (res_setoptions): Make the code more compact.
19971
16985fd0
UD
19972 [BZ #11558]
19973 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
19974 set RES_USEVC.
19975
0464f746
UD
19976 [BZ #11634]
19977 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
19978
7d17596c
UD
19979 * malloc/malloc.h: Mark malloc hook variables as deprecated.
19980
cf6bbbd7
UD
19981 [BZ #11781]
19982 * malloc/malloc.h: Declare malloc hook variables as volatile.
19983
13f1ab36
UD
19984 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
19985 in last patch.
19986
b1ebd700
UD
19987 [BZ #11799]
19988 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 19989 raise in the comment.
80e2212d
UD
19990 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19991 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19992 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 19993
ce67228d
UD
199942011-05-28 Ulrich Drepper <drepper@gmail.com>
19995
8887a920
UD
19996 [BZ #12811]
19997 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
19998 grow the buffers more if it already has to be sufficient.
19999 (build_wcs_upper_buffer): Likewise.
20000 * posix/regexec.c (check_matching): Likewise.
20001 (clean_state_log_if_needed): Likewise.
20002 (extend_buffers): Don't enlarge buffers beyond size of the input
20003 buffer.
20004 Patches mostly by Emil Wojak <emil@wojak.eu>.
20005 * posix/bug-regex32.c: New file.
20006 * posix/Makefile (tests): Add bug-regex32.
20007
4f031072
UD
20008 * locale/findlocale.c (_nl_find_locale): Return right away if
20009 _nl_explode_name failed.
20010 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20011
d0478f0c
UD
20012 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20013
de81b246
UD
20014 * debug/xtrace.sh: Unify messages.
20015 * malloc/memusage.sh: Likewise.
20016
c738465a
UD
20017 [BZ #12813]
20018 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20019 time symbol from vDSO. Substitute with vsyscall if not available.
20020 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20021 __vdso_time.
20022
f1f929d7
UD
20023 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20024 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20025 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20026 Add sendmmsg and internal_sendmmsg.
20027 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20028 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20029 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20030
ce67228d
UD
20031 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20032 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20033 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20034
e57420c6
UD
200352011-05-27 Ulrich Drepper <drepper@gmail.com>
20036
a8509ca5
UD
20037 [BZ #12813]
20038 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20039 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
20040 available.
20041 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20042 __vdso_getcpu.
20043
e57420c6
UD
20044 [BZ #12814]
20045 * iconvdata/Makefile (tests): Add bug-iconv9.
20046 * iconvdata/bug-iconv9.c: New file.
20047
4d07db15
AS
200482011-05-27 Andreas Schwab <schwab@redhat.com>
20049
20050 [BZ #12814]
20051 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20052
ea486f69
JJ
200532011-05-25 Jakub Jelinek <jakub@redhat.com>
20054
20055 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20056 (struct user_regs_struct): Change intcs field back to cs.
20057
6f038433
UD
200582011-05-25 Ulrich Drepper <drepper@gmail.com>
20059
20060 * po/ja.po: Update from translation team.
20061
67f86a25
UD
200622011-05-23 Ulrich Drepper <drepper@gmail.com>
20063
20064 [BZ #12795]
20065 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20066 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20067
def7fbd6
AS
200682011-05-20 Andreas Schwab <schwab@redhat.com>
20069
20070 * stdlib/longlong.h: Update from GCC.
20071
f50ef8f1
AS
200722011-05-23 Andreas Schwab <schwab@redhat.com>
20073
20074 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20075 parameter name.
20076 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20077 Add parameter name.
20078 (__sysconf): Pass it down.
20079
de7ce8f1
UD
200802011-05-22 Ulrich Drepper <drepper@gmail.com>
20081
f2962a71
UD
20082 [BZ #12671]
20083 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20084 some situations.
20085 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20086 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20087 add in in __libc_use_alloca calls. Adjust callers.
20088 (glob): Use malloc in some situations.
20089
de7ce8f1
UD
20090 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20091 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20092 pltexit.
20093
aec84f53
UD
200942011-05-21 Ulrich Drepper <drepper@gmail.com>
20095
05bb4a68
UD
20096 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20097 and CLOCK_BOOTTIME_ALARM.
20098
7ea72f99
UD
20099 [BZ #12782]
20100 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20101 is returned.
20102
7e4afad5
UD
20103 * string/_strerror.c (__strerror_r): Print negative errors as signed
20104 numbers.
20105
8e211fec
UD
20106 [BZ #12777]
20107 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20108 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20109 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20110
f7d82dc9
UD
20111 * configure.in: Fix typo in redirection and correct removal of test
20112 files in two cases.
20113
cc9e536d
UD
20114 [BZ #12788]
20115 * locale/setlocale.c (new_composite_name): Fix test to check for
20116 identical name of all categories.
20117
aec84f53
UD
20118 [BZ #12792]
20119 * libio/filedoalloc.c (local_isatty): New function.
20120 (_IO_file_doallocate): Use local_isatty.
20121 * stdio-common/perror.c (perror): In case a new stream is used
20122 forward the stream error.
20123 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20124 error flag.
20125
78e64fdc
RT
201262011-05-20 Ulrich Drepper <drepper@gmail.com>
20127
34a9094f
UD
20128 [BZ #11869]
20129 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20130 alloca.
20131 * include/alloca.h (extend_alloca_account): Define.
20132
78e64fdc
RT
20133 [BZ #11857]
20134 * posix/regex.h: Fix comments with documentation of user-accessible
20135 fields after compilation and describe correct free'ing of pattern
20136 after re_compile_pattern.
20137 Patch by Reuben Thomas <rrt@sc3d.org>.
20138
457bddfc
RA
201392011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
20140
20141 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20142 and -mno-altivec to prevent the compiler from using Altivec and/or
20143 VSX instructions when the corresponding registers are not available.
20144
a4527b51
AS
201452011-05-19 Andreas Schwab <schwab@redhat.com>
20146
20147 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20148
ed690b2f
UD
201492011-05-19 Ulrich Drepper <drepper@gmail.com>
20150
20151 * libio/freopen.c (freopen): Use __dup2, not dup2.
20152 * libio/freopen64.c (freopen64): Likewise.
20153
8db73634
L
201542011-05-17 H.J. Lu <hongjiu.lu@intel.com>
20155
20156 [BZ #12775]
20157 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20158 * math/Makefile (tests): Add test-powl.
20159 (CFLAGS-test-powl.c): Define.
20160 * math/test-powl.c: New file.
20161
0a197a9d
L
201622011-05-16 H.J. Lu <hongjiu.lu@intel.com>
20163
20164 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
20165
ee30c380
UD
201662011-05-17 Ulrich Drepper <drepper@gmail.com>
20167
20168 [BZ #11837]
20169 * iconvdata/gb18030.c: Update to GB18020-2005.
20170
6ce75379
UD
201712011-05-16 Ulrich Drepper <drepper@gmail.com>
20172
a4b89fd8
AR
20173 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
20174 RE_SYNTAX_POSIX_AWK): Update to match recent development.
20175 Patch by Aharon Robbins <arnold@skeeve.com>.
20176
ea389b12
UD
20177 [BZ #11892]
20178 * stdlib/putenv.c (putenv): Don't always create copy of the variable
20179 on the stack.
20180
68a3f91f
UD
20181 [BZ #11895]
20182 * misc/pselect.c (__pselect): Handle timeout value errors hidden
20183 through underflows.
20184
15cc7dd1
UD
20185 [BZ #12766]
20186 * misc/error.c (error_at_line): Ensure file_name and old_file_name
20187 point to strings before performing equality test for error_one_per_line
20188 mode.
20189
f3799213
UD
20190 [BZ #11697]
20191 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
20192
d79a9c94
UD
20193 [BZ #11820]
20194 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20195 (struct user_fpregs_struct): Avoid __uint*_t types.
20196
56e5eb46
UD
20197 [BZ #6420]
20198 * malloc/mtrace.c (tr_where): Add additional parameter to point to
20199 symbol info. Use it instead of calling _dl_addr locally.
20200 (lock_and_info): New function.
20201 (tr_freehook): Call lock_and_info and pass symbol info as additional
20202 parameter to tr_where.
20203 (tr_mallochook): Likewise.
20204 (tr_reallochook): Likewise.
20205 (tr_memalignhook): Likewise.
20206
6ce75379
UD
20207 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
20208 used and couldn't be at all thread-safe.
20209
f8a3b5bf
UD
202102011-05-15 Ulrich Drepper <drepper@gmail.com>
20211
94b7cc37
UD
20212 * libio/freopen.c (freopen): Don't close old file descriptor
20213 before the new one is opened. Instead dup the new file descriptor
20214 to the old one after the new stream is created.
20215 * libio/freopen64.c (freopen64): Likewise.
20216 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
20217 * libio/fileops.c (_IO_new_file_close_it): Handle new
20218 _IO_FLAGS2_NOCLOSE flag.
20219 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
20220 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
20221 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
20222 _IO_FLAGS2_NOCLOSE flag.
20223 * include/unistd.h: Add hidden_proto for dup3.
20224 Define __have_dup3.
20225 * io/dup3.c: Define hidden symbol.
20226 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
20227
bd25564e
UD
20228 [BZ #7101]
20229 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
20230 when an incomplete long option is used.
20231 * posix/tst-getopt_long1.c: New file.
20232 * posix/Makefile (tests): Add tst-getopt_long1.
20233
c84cfef4
UD
20234 [BZ #10138]
20235 * scripts/config.guess: Update from autoconf-2.68.
20236 * scripts/config.sub: Likewise.
20237
3b85df27
UD
20238 [BZ #10157]
20239 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
20240 tests into ...
20241 (has_cpuclock): ...this. New function.
20242 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
20243 macro here based on has_cpuclock code.
20244
15a856b1
UD
20245 [BZ #10149]
20246 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20247 First byte (not low byte) is now always NUL.
20248 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
20249
05f399e6
UD
20250 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20251 Use non-cancelable interfaces.
20252
10a52685 20253 [BZ #9809]
94ecc67d
UD
20254 * locale/iso-639.def: Add entry for Sorani.
20255
f8a3b5bf
UD
20256 [BZ #11901]
20257 * include/stdlib.h: Move include protection to the right place.
20258 Define abort_msg_s. Declare __abort_msg with it.
20259 * stdlib/abort.c (__abort_msg): Adjust type.
20260 * assert/assert.c (__assert_fail_base): New function. Majority
20261 of code from __assert_fail. Allocate memory for __abort_msg with
20262 mmap.
20263 (__assert_fail): Now call __assert_fail_base.
20264 * assert/assert-perr.c: Remove bulk of implementation. Use
20265 __assert_fail_base.
20266 * include/assert.hL Declare __assert_fail_base.
20267 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20268 mmap.
20269 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20270
1af4e298
UD
202712011-05-14 Ulrich Drepper <drepper@gmail.com>
20272
f8a3b5bf 20273 [BZ #11952]
d26dfc60
MG
20274 [BZ #12453]
20275 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20276 until all modules are registered in the DTV.
20277 * elf/Makefile: Add rules to build and run tst-tls19.
20278 * elf/tst-tls19.c: New file.
20279 * elf/tst-tls19mod1.c: New file.
20280 * elf/tst-tls19mod2.c: New file.
20281 * elf/tst-tls19mod3.c: New file.
20282 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
20283
2fc54d6f
UD
20284 [BZ #12083]
20285 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
20286 correctly.
20287
98d76b46
UD
20288 [BZ #12601]
20289 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
20290 two-byte sequence errors.
20291 * iconvdata/Makefile (tests): Add bug-iconv8.
20292 * iconvdata/bug-iconv8.c: New file.
20293
da3c19ef
UD
20294 [BZ #12626]
20295 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20296 buf2 definition.
20297
ca408c15
UD
20298 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20299
d6f67f7d
UD
20300 [BZ #12432]
20301 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20302 (dummy_getcfa): New function.
20303 (init): Get _Unwind_GetCFA address, use dummy if not found.
20304 (backtrace_helper): In recursion check, also check whether CFA changes.
20305 (__backtrace): Completely initialize arg.
20306
1af4e298 20307 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
20308 storing incomplete byte sequence in state object. Avoid testing for
20309 guaranteed too small input if we know there is enough data available.
1af4e298 20310
da62f81b
AS
203112011-05-11 Andreas Schwab <schwab@redhat.com>
20312
20313 * Makeconfig (+link-pie): Indent.
20314 * Rules (binaries-pie): Define if $(have-fpie) and
20315 $(build-shared).
20316 (binaries-shared): Also filter out $(binaries-pie).
20317 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20318 * nscd/Makefile (others-pie): Add nscd.
20319 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20320 ($(objpfx)nscd): Remove command override.
20321 * login/Makefile (others-pie): Add pt_chown.
20322 ($(objpfx)pt_chown): Remove command override.
20323 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
20324 remove command overrides.
20325
fcabc0f8
UD
203262011-05-13 Ulrich Drepper <drepper@gmail.com>
20327
20030ae6
UD
20328 * libio/tst_putwc.c: Fix error messages.
20329
fcabc0f8
UD
20330 [BZ #12724]
20331 * libio/fileops.c (_IO_new_file_close_it): Always flush when
20332 currently writing and seek to current position when not.
20333 * libio/Makefile (tests): Add bug-fclose1.
20334 * libio/bug-fclose1.c: New file.
20335
320a5dc0
PB
203362011-05-12 Ulrich Drepper <drepper@gmail.com>
20337
20338 [BZ #12511]
20339 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20340 don't set DF_1_NODELETE here.
20341 (do_lookup_x): When entering new entry test for copy relocation
20342 and if necessary set DF_1_NODELETE flag.
20343 * elf/tst-unique4.cc: New file.
20344 * elf/tst-unique4.h: New file.
20345 * elf/tst-unique4lib.cc: New file.
20346 * elf/Makefile: Add rules to build and run tst-unique4.
20347 Patch by Piotr Bury <pbury@goahead.com>.
20348
22836f52
UD
203492011-05-11 Ulrich Drepper <drepper@gmail.com>
20350
f574184a
UD
20351 [BZ #12052]
20352 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
20353
e1fb097f
UD
20354 [BZ #12625]
20355 * misc/mntent_r.c (addmntent): Flush the stream after the output
20356
22836f52
UD
20357 [BZ #12393]
20358 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
20359 (is_trusted_path_normalize): Skip initial colon. Append slash
20360 to empty buffer. Duplicate is_trusted_path code but allow
20361 constructed patch to be prefix.
20362 (is_dst): Allow $ORIGIN followed by /.
20363 (_dl_dst_substitute): Correct clearing of check_for_trusted.
20364 Correct testing of result of is_trusted_path_normalize
20365 (decompose_rpath): Fix warning.
20366
7b3b0b2a
UD
203672011-05-10 Ulrich Drepper <drepper@gmail.com>
20368
20369 [BZ #11257]
20370 * grp/initgroups.c (internal_getgrouplist): When we found the service
20371 list through the initgroups entry in nsswitch.conf do not always
20372 continue on a successful lookup. Don't always use the
eac80ce2 20373 __nss_group_database value if it is set.
7b3b0b2a
UD
20374 * nss/nsswitch.conf (initgroups): Change action for successful db
20375 lookup to continue for compatibility.
20376
2a81eaa5
UD
203772011-05-09 Ulrich Drepper <drepper@gmail.com>
20378
be97a69e
UD
20379 [BZ #11532]
20380 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
20381 and CP774 modules.
20382 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
20383 and CP774 modules.
20384 * iconvdata/tst-tables.sh: Likewise.
20385 * iconvdata/cp770.c: New file.
20386 * iconvdata/cp771.c: New file.
20387 * iconvdata/cp772.c: New file.
20388 * iconvdata/cp773.c: New file.
20389 * iconvdata/cp774.c: New file.
20390 * iconvdata/testdata/CP770: New file.
20391 * iconvdata/testdata/CP770..UTF8: New file.
20392 * iconvdata/testdata/CP771: New file.
20393 * iconvdata/testdata/CP771..UTF8: New file.
20394 * iconvdata/testdata/CP772: New file.
20395 * iconvdata/testdata/CP772..UTF8: New file.
20396 * iconvdata/testdata/CP773: New file.
20397 * iconvdata/testdata/CP773..UTF8: New file.
20398 * iconvdata/testdata/CP774: New file.
20399 * iconvdata/testdata/CP774..UTF8: New file.
20400
20401 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
20402 END CHARMAP line.
20403 * iconvdata/gen-8bit-gap.sh: Likewise.
20404 * iconvdata/gen-8bit.sh: Likewise.
20405
c1e9e399
UD
20406 * locale/iso-639.def: Add ary entry.
20407
24c55fb3 20408 [BZ #11258]
96b4b1b0
UD
20409 * locale/C-translit.h.in: Add U20A1 transliteration.
20410
bdc2f971
KB
20411 [BZ #12178]
20412 * locale/iso-639.def: Add wae entry.
20413 Patch by Kevin Bortis <bortis@translate-wae.ch>.
20414
2952b117
UD
20415 [BZ #12545]
20416 * locale/programs/localedef.c (construct_output_path): Use ssize_t
20417 for n.
20418
2a81eaa5
UD
20419 [BZ #12711]
20420 * locale/C-translit.h.in: Add entry for U20B9.
20421 Patch by pravin.d.s@gmail.com.
20422
28377d1b
UD
204232011-05-08 Ulrich Drepper <drepper@gmail.com>
20424
7fb90fb8
UD
20425 [BZ #12713]
20426 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
20427 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
20428 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
20429 in rtld. Use *stat64.
7fb90fb8 20430 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 20431 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 20432 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
20433 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
20434 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
20435 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
20436 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
20437 __fstatat64 macros.
7fb90fb8
UD
20438 * include/dirent.h: Add libc_hidden_proto for rewinddir.
20439 * dirent/rewinddir.c: Add libc_hidden_def.
20440 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 20441 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 20442
28377d1b
UD
20443 * include/dirent.h (__alloc_dir): Add flags parameter.
20444 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
20445 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
20446 __alloc_dir.
20447 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
20448 from fdopendir if O_CLOEXEC is already set.
20449
66bdbaa4
AM
204502011-03-15 Alan Modra <amodra@gmail.com>
20451
20452 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
20453 l_tls_firstbyte_offset non-zero. Save padding offset in
20454 l_tls_firstbyte_offset for later use.
20455 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
20456 freeing static tls block.
20457
95721191
JN
204582011-03-05 Jonathan Nieder <jrnieder@gmail.com>
20459
20460 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
20461 where #ifdef was intended. The intent is to prevent ARG_MAX from
20462 being defined by the kernel headers.
20463
f87dfb1f
UD
204642011-05-07 Ulrich Drepper <drepper@gmail.com>
20465
20466 [BZ #12734]
20467 * resolv/resolv.h: Define RES_NOTLDQUERY.
20468 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
20469 no-tld-query and set RES_NOTLDQUERY.
20470 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
20471 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
20472 modern BIND to search name as TLD unless forbidden.
20473
47c3cd7a
UD
204742011-05-07 Petr Baudis <pasky@suse.cz>
20475 Ulrich Drepper <drepper@gmail.com>
20476
20477 [BZ #12393]
20478 * elf/dl-load.c (fillin_rpath): Move trusted path check...
20479 (is_trusted_path): ...to here.
c1e9ea35 20480 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 20481 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 20482 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 20483
8a35c912
PP
204842011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20485
20486 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
20487 __BEGIN/__END_DECLS.
20488
acd41f47
UD
204892011-05-06 Ulrich Drepper <drepper@gmail.com>
20490
20491 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
20492 NSS_STATUS_NOTFOUND if no record was found.
20493
597df647
AS
204942011-05-05 Andreas Schwab <schwab@redhat.com>
20495
20496 * sunrpc/Makefile (headers): Add rpc/netdb.h.
20497 (headers-not-in-tirpc): Remove rpc/netdb.h
20498 * resolv/netdb.h: Revert last change.
20499
b9af1301
PP
205002011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20501
20502 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
20503 circular dependency between libgcc.a and libc.a.
20504
4e34d5f5
AS
205052011-05-05 Andreas Schwab <schwab@redhat.com>
20506
20507 * resolv/netdb.h: Don't include <rpc/netdb.h>.
20508 * nis/Makefile: Don't install rpcsvc/*.
20509 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
20510 instead of <rpc/types.h>.
20511 (MAXHOSTNAMELEN): Define.
20512
00ee369c
AS
205132011-05-03 Andreas Schwab <schwab@redhat.com>
20514
20515 * elf/ldconfig.c (add_dir): Don't crash on empty path.
20516
0b592a30
MB
205172011-04-28 Maciej Babinski <mbabinski@google.com>
20518
20519 [BZ #12714]
20520 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
20521 gethostbyname4_r when IPv6 results are possible.
20522
6e04cbbe
UD
205232011-05-02 Ulrich Drepper <drepper@gmail.com>
20524
20525 [BZ #12723]
20526 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
20527 _PC_PIPE_BUF handling.
20528
e4ecafe0
BH
205292011-04-30 Bruno Haible <bruno@clisp.org>
20530
20531 [BZ #12717]
20532 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
20533 * resolv/netdb.h (getnameinfo): Change type of flags parameter
20534 to 'int'.
20535 * inet/getnameinfo.c (getnameinfo): Likewise.
20536
125ee683
UD
205372011-04-29 Ulrich Drepper <drepper@gmail.com>
20538
20539 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
20540 to groups setting in database lookup.
20541 * nss/nsswitch.conf: Add initgroups entry.
20542
b722481a
EB
205432011-04-22 Ulrich Drepper <drepper@gmail.com>
20544
20545 [BZ #12685]
20546 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
20547 mode string.
20548 Patch by Eric Blake <eblake@redhat.com>.
20549
4df46dbd
L
205502011-04-20 H.J. Lu <hongjiu.lu@intel.com>
20551
20552 * sunrpc/Makefile (need-export-routines): Add svc_run.
20553 (routines): Remove svc_run.
20554 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
20555 * sunrpc/clnt_perr.c (clnt_perrno): Export.
20556 * sunrpc/svc_run.c (svc_run): Likewise.
20557 * sunrpc/svc_udp.c (svcudp_create): Likewise.
20558
e84142d2
UD
205592011-04-21 Ulrich Drepper <drepper@gmail.com>
20560
20561 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
20562 problem in reallocation in last patch.
20563
877175d8
UD
205642011-04-20 Ulrich Drepper <drepper@gmail.com>
20565
20566 * sunrpc/Makefile: Move inclusion of Rules.
20567
ab8eed78
UD
205682011-04-19 Ulrich Drepper <drepper@gmail.com>
20569
20570 * nss/nss_files/files-initgroups.c: New file.
20571 * nss/Makefile (libnss_files-routines): Add files-initgroups.
20572 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
20573 _nss_files_initgroups_dyn.
20574
e3d8f584
RS
205752011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
20576
20577 * elf/elf.h (R_ARM_IRELATIVE): Define.
20578
af190f45
UD
205792011-04-19 Ulrich Drepper <drepper@gmail.com>
20580
20581 * po/ru.po: Update from translation team.
20582
53cf59ef
UD
205832011-04-17 Ulrich Drepper <drepper@gmail.com>
20584
20585 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
20586 dependencies.
20587
4c559bcd
MF
205882011-02-06 Mike Frysinger <vapier@gentoo.org>
20589
20590 [BZ #12653]
20591 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
20592 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
20593 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20594 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20595 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20596
4420675c
AS
205972011-03-28 Andreas Schwab <schwab@linux-m68k.org>
20598
20599 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
20600 differing bytes.
20601 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20602 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20603 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20604
75ea32ab
UD
206052011-04-17 Ulrich Drepper <drepper@gmail.com>
20606
20607 [BZ #12420]
20608 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
20609 storing it.
20610 * stdlib/bug-getcontext.c: New file.
20611 * stdlib/Makefile: Add rules to build and run bug-getcontext.
20612
27390476
AK
206132011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20614
20615 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
20616 instructions into .machine "z9-109".
20617 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20618 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20619
10442705
AK
206202011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20621
20622 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
20623 between environment variables and auxiliary vector.
20624
7b57bfe5
UD
206252011-04-16 Ulrich Drepper <drepper@gmail.com>
20626
20627 * Makefile: Add rules to build linkobj/libc.so.
20628 * include/libc-symbols.h: Define libc_hidden_nolink.
20629 * include/rpc/auth.h: Mark functions which are to be hidden.
20630 * include/rpc/auth_des.h: Likewise.
20631 * include/rpc/auth_unix.h: Likewise.
20632 * include/rpc/clnt.h: Likewise.
20633 * include/rpc/des_crypt.h: Likewise.
20634 * include/rpc/key_prot.h: Likewise.
20635 * include/rpc/pmap_clnt.h: Likewise.
20636 * include/rpc/pmap_prot.h: Likewise.
20637 * include/rpc/pmap_rmt.h: Likewise.
20638 * include/rpc/rpc_msg.h: Likewise.
20639 * include/rpc/svc.h: Likewise.
20640 * include/rpc/svc_auth.h: Likewise.
20641 * include/rpc/xdr.h: Likewise.
20642 * nis/Makefile: Link all DSOs against linkobj/libc.so.
20643 * nss/Makefile: Likewise.
20644 * sunrpc/Makefile: Don't install headers. Build library with normal
20645 entry points. Don't build rpcinfo. Link RPC tests appropriately.
20646 * sunrpc/auth_des.c: Hide exported symbols by default, export some
20647 for the compat linking library. Remove use of INTDEF/INTUSE.
20648 * sunrpc/auth_none.c: Likewise.
20649 * sunrpc/auth_unix.c: Likewise.
20650 * sunrpc/authdes_prot.c: Likewise.
20651 * sunrpc/authuxprot.c: Likewise.
20652 * sunrpc/clnt_gen.c: Likewise.
20653 * sunrpc/clnt_perr.c: Likewise.
20654 * sunrpc/clnt_raw.c: Likewise.
20655 * sunrpc/clnt_simp.c: Likewise.
20656 * sunrpc/clnt_tcp.c: Likewise.
20657 * sunrpc/clnt_udp.c: Likewise.
20658 * sunrpc/clnt_unix.c: Likewise.
20659 * sunrpc/des_crypt.c: Likewise.
20660 * sunrpc/des_soft.c: Likewise.
20661 * sunrpc/get_myaddr.c: Likewise.
20662 * sunrpc/key_call.c: Likewise.
20663 * sunrpc/key_prot.c: Likewise.
20664 * sunrpc/netname.c: Likewise.
20665 * sunrpc/pm_getmaps.c: Likewise.
20666 * sunrpc/pm_getport.c: Likewise.
20667 * sunrpc/pmap_clnt.c: Likewise.
20668 * sunrpc/pmap_prot.c: Likewise.
20669 * sunrpc/pmap_prot2.c: Likewise.
20670 * sunrpc/pmap_rmt.c: Likewise.
20671 * sunrpc/publickey.c: Likewise.
20672 * sunrpc/rpc_cmsg.c: Likewise.
20673 * sunrpc/rpc_common.c: Likewise.
20674 * sunrpc/rpc_dtable.c: Likewise.
20675 * sunrpc/rpc_prot.c: Likewise.
20676 * sunrpc/rpc_thread.c: Likewise.
20677 * sunrpc/rtime.c: Likewise.
20678 * sunrpc/svc.c: Likewise.
20679 * sunrpc/svc_auth.c: Likewise.
20680 * sunrpc/svc_authux.c: Likewise.
20681 * sunrpc/svc_raw.c: Likewise.
20682 * sunrpc/svc_run.c: Likewise.
20683 * sunrpc/svc_simple.c: Likewise.
20684 * sunrpc/svc_tcp.c: Likewise.
20685 * sunrpc/svc_udp.c: Likewise.
20686 * sunrpc/svc_unix.c: Likewise.
20687 * sunrpc/svcauth_des.c: Likewise.
20688 * sunrpc/xcrypt.c: Likewise.
20689 * sunrpc/xdr.c: Likewise.
20690 * sunrpc/xdr_array.c: Likewise.
20691 * sunrpc/xdr_float.c: Likewise.
20692 * sunrpc/xdr_intXX_t.c: Likewise.
20693 * sunrpc/xdr_mem.c: Likewise.
20694 * sunrpc/xdr_rec.c: Likewise.
20695 * sunrpc/xdr_ref.c: Likewise.
20696 * sunrpc/xdr_sizeof.c: Likewise.
20697 * sunrpc/xdr_stdio.c: Likewise.
20698
e6c61494
UD
206992011-04-10 Ulrich Drepper <drepper@gmail.com>
20700
20701 [BZ #12650]
20702 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
20703 * sysdeps/ia64/dl-tls.h: Likewise.
20704 * sysdeps/powerpc/dl-tls.h: Likewise.
20705 * sysdeps/s390/dl-tls.h: Likewise.
20706 * sysdeps/sh/dl-tls.h: Likewise.
20707 * sysdeps/sparc/dl-tls.h: Likewise.
20708 * sysdeps/x86_64/dl-tls.h: Likewise.
20709 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
20710
34fe483e
AS
207112011-03-14 Andreas Schwab <schwab@redhat.com>
20712
20713 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
20714 rpath element also skip the following colon.
20715 (expand_dynamic_string_token): Add is_path parameter and pass
20716 down to DL_DST_REQUIRED and _dl_dst_substitute.
20717 (decompose_rpath): Call expand_dynamic_string_token with
20718 non-zero is_path. Ignore empty rpaths.
20719 (_dl_map_object_from_fd): Call expand_dynamic_string_token
20720 with zero is_path.
20721
f12a32e6
AS
207222011-04-08 Andreas Schwab <schwab@linux-m68k.org>
20723
20724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20725 Make cancelable.
20726
38a7d692
UD
207272011-04-09 Ulrich Drepper <drepper@gmail.com>
20728
20729 [BZ #12655]
20730 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
20731 Patch by Filipe David Manana <fdmanana@apache.org>.
20732
e451d22b
AS
207332011-04-07 Andreas Schwab <schwab@redhat.com>
20734
20735 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
20736 Maintain aligned stack.
20737 (CHECK_RSP): Remove unused macro.
20738
dedc7c7b
UD
207392011-04-03 Ulrich Drepper <drepper@gmail.com>
20740
20741 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
20742 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
20743
94521213
UD
207442011-04-02 Ulrich Drepper <drepper@gmail.com>
20745
20746 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
20747
8cb700c0 20748 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 20749
0354e355
L
207502011-03-26 H.J. Lu <hongjiu.lu@intel.com>
20751
20752 [BZ #12518]
20753 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
20754 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
20755 * sysdeps/x86_64/memmove.c: New file.
20756 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
20757 (memcpy): Renamed to ...
20758 (__new_memcpy): This.
20759 (memcpy): Provide GLIBC_2_14 memcpy.
20760 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
20761 (memcpy): Provide GLIBC_2_2_5 memcpy.
20762
8593482f
UD
207632011-04-01 Ulrich Drepper <drepper@gmail.com>
20764
20765 [BZ #12631]
20766 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
20767
81a5726b
AS
207682011-03-30 Andreas Schwab <schwab@redhat.com>
20769
20770 * misc/syncfs.c: New file.
20771 * misc/Makefile (routines): Add syncfs.
20772 * posix/unistd.h: Declare syncfs.
20773 * sysdeps/unix/syscalls.list: Add syncfs.
20774
00e5419f
AS
207752011-04-01 Andreas Schwab <schwab@redhat.com>
20776
20777 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
20778 open_by_handle_at.
20779 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20780 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20781 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20782 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20783 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20784 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
20785 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20786
748876bf
UD
207872011-04-01 Ulrich Drepper <drepper@gmail.com>
20788
658e451d
UD
20789 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
20790 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20791 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
20792 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20793 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20794 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20795 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20796
748876bf
UD
20797 * io/Makefile: Compile fallocate.c, fallocate64.c, and
20798 sync_file_range.c with -fexceptions.
20799 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
20800 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
20801 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
20802 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
20803 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
20804 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20805 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
20806 sync_file_range as cancellation point
20807 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
20808 now a wrapper around __call_sync_file_range with cancellation handling.
20809 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
20810 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
20811 function name to __call_sync_file_range.
20812 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
20813 Add call_sync_file_range.
748876bf 20814
6e63d5e1
AS
208152011-04-01 Andreas Schwab <schwab@redhat.com>
20816
20817 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 20818 bits/timex.h.
6e63d5e1 20819
46998f74
UD
208202011-04-01 Ulrich Drepper <drepper@gmail.com>
20821
4c1423ed
UD
20822 * iconv/iconv.h: Fix typo in comment.
20823 * io/fcntl.h: Likewise.
20824 * libio/stdio.h: Likewise.
20825 * posix/spawn.h: Likewise.
20826 * posix/unistd.h: Likewise.
20827 * stdlib/stdlib.h: Likewise.
20828 * time/time.h: Likewise.
20829 * wcsmbs/wchar.h: Likewise.
20830
158648c0
UD
20831 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
20832 open_by_handle): Add.
20833 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
20834 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
20835 Augment a few comments.
20836 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20837 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20838 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20839 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20840 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20841 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
20842 open_by_handle.
20843
46998f74
UD
20844 * io/fcntl.h (AT_EMPTY_PATH): Define.
20845
83fe108b
UD
208462011-03-30 Ulrich Drepper <drepper@gmail.com>
20847
20848 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
20849 * sysdeps/unix/sysv/linux/bits/time.h: New file.
20850 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
20851 to...
20852 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
20853 * Versions.def: Add GLIBC_2.14.
20854 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
20855 Export.
83fe108b 20856
bb242059
UD
208572011-03-22 Ulrich Drepper <drepper@gmail.com>
20858
20859 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
20860 round counter.
20861 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20862
c97a1282
L
208632011-03-20 H.J. Lu <hongjiu.lu@intel.com>
20864
20865 [BZ #12597]
20866 * string/test-strncmp.c (do_page_test): New function.
20867 (check2): Likewise.
20868 (test_main): Call check2.
20869 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
20870
2a115601
UD
208712011-03-20 Ulrich Drepper <drepper@gmail.com>
20872
20873 [BZ #12587]
20874 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
20875 Handle cache information in CPU leaf 4.
20876 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20877
8126d904
UD
208782011-03-18 Ulrich Drepper <drepper@gmail.com>
20879
042c49c6 20880 [BZ #12583]
8126d904
UD
20881 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
20882 character representation.
20883 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
20884
ccfe366e
RA
208852011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
20886
20887 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
20888 END(__isnan) to END(__isnanf) to match function entry point/label
20889 EALIGN(__isnanf,...).
20890
c6e13027
JJ
208912011-03-10 Jakub Jelinek <jakub@redhat.com>
20892
20893 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
20894
33f85a3f
UD
208952011-03-10 Ulrich Drepper <drepper@gmail.com>
20896
028478fa
UD
20897 [BZ #12510]
20898 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
20899 copy from the symbol referenced in the relocation to initialize the
20900 used variable.
20901 Patch by Piotr Bury <pbury@goahead.com>.
20902 * elf/Makefile: Add rules to build and tst-unique3.
20903 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
20904 * elf/tst-unique3.cc: New file.
20905 * elf/tst-unique3.h: New file.
20906 * elf/tst-unique3lib.cc: New file.
20907 * elf/tst-unique3lib2.cc: New file.
20908
33f85a3f
UD
20909 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
20910
03592fc7
MF
209112011-03-10 Mike Frysinger <vapier@gentoo.org>
20912
20913 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
20914 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
20915 to _start.
03592fc7 20916
6a5ee102
UD
209172011-03-06 Ulrich Drepper <drepper@gmail.com>
20918
20919 * elf/dl-load.c (_dl_map_object): If we are looking for the first
20920 to-be-loaded object along a path to loader is ld.so.
20921
7e4ba49c
HJ
209222011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
20923 Ulrich Drepper <drepper@gmail.com>
20924
20925 * sysdeps/x86_64/memset.S: After aligning destination, code
20926 branches to different locations depending on the value of
20927 misalignment, when multiarch is enabled. Fix this.
20928
209292011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
20930
20931 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
20932 Set _x86_64_preferred_memory_instruction for AMD processsors.
20933 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20934 Set bit_Prefer_SSE_for_memop for AMD processors.
20935
13a804de
UD
209362011-03-04 Ulrich Drepper <drepper@gmail.com>
20937
20938 * libio/fmemopen.c (fmemopen): Optimize a bit.
20939
9d25c392
AS
209402011-03-03 Andreas Schwab <schwab@redhat.com>
20941
20942 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
20943
a5543c6a
RM
209442011-03-03 Roland McGrath <roland@redhat.com>
20945
20946 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
20947
012d35f7
DM
209482011-02-28 Aurelien Jarno <aurelien@aurel32.net>
20949
7e4ba49c 20950 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
20951 __bzero_ultra1 instead of __memset_ultra1.
20952
4bff6e01
AS
209532011-02-23 Andreas Schwab <schwab@redhat.com>
20954 Ulrich Drepper <drepper@gmail.com>
20955
20956 [BZ #12509]
20957 * include/link.h (struct link_map): Add l_orig_initfini.
20958 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
20959 returning unsuccessfully.
20960 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
20961 close of a file loaded at startup, restore the original l_initfini
20962 list.
20963 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
20964 list, store the pointer.
20965 * elf/Makefile ($(objpfx)noload-mem): New rule.
20966 (noload-ENV): Define.
20967 (tests): Add $(objpfx)noload-mem.
20968 * elf/noload.c: Include <memcheck.h>.
20969 (main): Call mtrace. Close all opened handles.
20970
f2092faf
AS
209712011-02-17 Andreas Schwab <schwab@redhat.com>
20972
20973 [BZ #12454]
20974 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
20975 dependencies are missing.
20976
6c8a2e88
ST
209772011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
20978
f2092faf 20979 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
20980 Hurd needs munmap.
20981 * sysdeps/mach/hurd/ifreq.h: New file.
20982
84a42118
PB
209832011-01-27 Petr Baudis <pasky@suse.cz>
20984 Ulrich Drepper <drepper@gmail.com>
20985
071f805e 20986 [BZ 12445]#
84a42118
PB
20987 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
20988 to extend_alloca().
20989 * stdio-common/bug23.c: New file.
20990 * stdio-common/Makefile (tests): Add bug23.
20991
e23fe25b
AS
209922010-09-28 Andreas Schwab <schwab@redhat.com>
20993 Ulrich Drepper <drepper@gmail.com>
20994
20995 [BZ #12489]
20996 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
20997 before performing relro protection. At old place add assertion
20998 to make sure nothing changed.
20999
d3f02e10
NS
210002011-02-17 Nathan Sidwell <nathan@codesourcery.com>
21001 Glauber de Oliveira Costa <glommer@gmail.com>
21002
21003 * elf/elf.h: Add new ARM TLS relocs.
21004
d55fd7a5
RA
210052011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
21006
21007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21008 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21009 cast from r3.
21010 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
21011 'tests' variable.
21012 * sysdeps/wordsize-64/tst-writev.c: New file.
21013
2206397e
RA
210142011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
21015
21016 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21017 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21018 insns in _dl_start to prevent a TOC reference before relocs are
21019 resolved.
21020
e9433893
UD
210212011-02-15 Ulrich Drepper <drepper@gmail.com>
21022
21023 [BZ #12469]
21024 * Makeconfig: Remove RANLIB definition.
21025 * Makerules: Don't use RANLIB.
21026 * aclocal.m4: Remove ranlib test.
21027 * configure.in: No need to check for ranlib.
21028 * elf/rtld-Rules: Don't use RANLIB.
21029
f75286c6
ST
210302011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21031
8e31c82d
ST
21032 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21033 protection macro.
21034 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21035 inclusion protection macro.
21036
f75286c6
ST
21037 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21038 SIGRTMIN and SIGRTMAX and print information in that case only when
21039 SIGRTMIN is defined.
21040
c1d0e639
JJ
210412011-02-11 Jakub Jelinek <jakub@redhat.com>
21042
21043 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21044 arginfo fn returning -1.
21045
21046 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21047 and thousands string is zero terminated.
21048
edf9294e
AS
210492011-02-03 Andreas Schwab <schwab@redhat.com>
21050
21051 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21052 sysdeps/unix/sysv/linux/bits/socket.h.
21053
2b7e92df
ST
210542011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21055
edf9294e
AS
21056 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21057 (__CPU_COUNT): Remove old macros.
21058 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21059 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21060 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
21061 (__sched_cpualloc, __sched_cpufree): Add declarations.
21062
a4c7ea7b
UD
210632011-02-05 Ulrich Drepper <drepper@gmail.com>
21064
21065 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21066 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21067 * nscd/aicache.c (addhstaiX): Return timeout of added value.
21068 (readdhstai): Return value of addhstaiX call.
21069 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21070 (addgrbyX): Return value returned by cache_addgr.
21071 (readdgrbyname): Return value returned by addgrbyX.
21072 (readdgrbygid): Likewise.
21073 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21074 (addpwbyX): Return value returned by cache_addpw.
21075 (readdpwbyname): Return value returned by addhstbyX.
21076 (readdpwbyuid): Likewise.
21077 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21078 (addservbyX): Return value returned by cache_addserv.
21079 (readdservbyname): Return value returned by addservbyX:
21080 (readdservbyport): Likewise.
21081 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21082 (addhstbyX): Return value returned by cache_addhst.
21083 (readdhstbyname): Return value returned by addhstbyX.
21084 (readdhstbyaddr): Likewise.
21085 (readdhstbynamev6): Likewise.
21086 (readdhstbyaddrv6): Likewise.
21087 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21088 (readdinitgroups): Return value returned by addinitgroupsX.
21089 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21090 (prune_cache): Keep track of timeout value of re-added entries.
21091 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21092 * nscd/nscd.h: Adjust prototypes of readd* functions.
21093
a0bf67cc
RM
210942011-02-04 Roland McGrath <roland@redhat.com>
21095
21096 * nis/nis_server.c (nis_servstate): Use the right name for 0.
21097 (nis_stats): Likewise.
21098 * nis/nis_modify.c (nis_modify): Likewise.
21099 * nis/nis_remove.c (nis_remove): Likewise.
21100 * nis/nis_add.c (nis_add): Likewise.
21101
21102 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21103
21104 * posix/fnmatch_loop.c: Add some consts.
21105
21106 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21107
435b95eb
L
211082011-02-02 H.J. Lu <hongjiu.lu@intel.com>
21109
21110 [BZ #12460]
21111 * config.make.in (config-cflags-novzeroupper): Define.
21112 * configure.in: Substitute libc_cv_cc_novzeroupper.
21113 * elf/Makefile (AVX-CFLAGS): Define.
21114 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21115 (CFLAGS-tst-auditmod4a.c): Likewise.
21116 (CFLAGS-tst-auditmod4b.c): Likewise.
21117 (CFLAGS-tst-auditmod6b.c): Likewise.
21118 (CFLAGS-tst-auditmod6c.c): Likewise.
21119 (CFLAGS-tst-auditmod7b.c): Likewise.
21120 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21121
8517b15e
UD
211222011-02-02 Ulrich Drepper <drepper@gmail.com>
21123
21124 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21125 function to the callback.
21126 Patch partly by Jiri Olsa <jolsa@redhat.com>.
21127
10a656fe
AS
211282011-02-02 Andreas Schwab <schwab@redhat.com>
21129
21130 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21131 of errno.
21132
968dad0a
UD
211332011-01-19 Ulrich Drepper <drepper@gmail.com>
21134
9f94d2ea 21135 [BZ #11724]
968dad0a
UD
21136 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21137 of constructors.
21138 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21139 of destructors.
21140 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21141
21142 [BZ #11724]
21143 * elf/Makefile: Add rules to build and run new test.
21144 * elf/tst-initorder.c: New file.
21145 * elf/tst-initorder.exp: New file.
21146 * elf/tst-initordera1.c: New file.
21147 * elf/tst-initordera2.c: New file.
21148 * elf/tst-initordera3.c: New file.
21149 * elf/tst-initordera4.c: New file.
21150 * elf/tst-initorderb1.c: New file.
21151 * elf/tst-initorderb2.c: New file.
21152 * elf/tst-order-a1.c: New file.
21153 * elf/tst-order-a2.c: New file.
21154 * elf/tst-order-a3.c: New file.
21155 * elf/tst-order-a4.c: New file.
21156 * elf/tst-order-b1.c: New file.
21157 * elf/tst-order-b2.c: New file.
21158 * elf/tst-order-main.c: New file.
21159 New test case by George Gensure <werkt0@gmail.com>.
21160
86e92359
UD
211612010-10-01 Andreas Schwab <schwab@redhat.com>
21162
21163 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21164 decoding ACE if AI_CANONIDN.
21165
5d5732b0
UD
211662011-01-18 Ulrich Drepper <drepper@gmail.com>
21167
21168 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
21169
a77e8cbc
UD
211702011-01-17 Ulrich Drepper <drepper@gmail.com>
21171
6392473f
UD
21172 * version.h (RELEASE): Bump for 2.13 release.
21173 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
21174
620a0529
UD
21175 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
21176
18ba70a5
UD
21177 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
21178 MADV_NOHUGEPAGE.
32465c3e
UD
21179 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
21180 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21181 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21182 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21183 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21184 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21185
c0dafcf1
UD
21186 * posix/getconf.c: Update copyright year.
21187 * catgets/gencat.c: Likewise.
21188 * csu/version.c: Likewise.
21189 * debug/catchsegv.sh: Likewise.
21190 * debug/xtrace.sh: Likewise.
21191 * elf/ldconfig.c: Likewise.
21192 * elf/ldd.bash.in: Likewise.
21193 * elf/sprof.c (print_version): Likewise.
21194 * iconv/iconv_prog.c: Likewise.
21195 * iconv/iconvconfig.c: Likewise.
21196 * locale/programs/locale.c: Likewise.
21197 * locale/programs/localedef.c: Likewise.
21198 * malloc/memusage.sh: Likewise.
21199 * malloc/mtrace.pl: Likewise.
21200 * nscd/nscd.c (print_version): Likewise.
21201 * nss/getent.c: Likewise.
21202
a77e8cbc
UD
21203 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
21204 PF_CAIF, and PF_ALG.
21205 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21206
77e8bddf
AS
212072011-01-16 Andreas Schwab <schwab@linux-m68k.org>
21208
1f20b93a
AS
21209 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
21210 (modules-names): Use them.
21211 (ifunc-test-modules, ifunc-pie-tests): Define.
21212 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
21213 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
21214 (test-extras): Likewise.
21215 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
21216 $(compile-command.c).
21217 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
21218 (all-built-dso): Define.
21219 (check-textrel.out, check-execstack.out): Depend on it.
21220
77e8bddf
AS
21221 * configure.in: Don't override --enable-multi-arch.
21222
bc425b33
UD
212232011-01-15 Ulrich Drepper <drepper@gmail.com>
21224
21225 [BZ #6812]
21226 * nscd/hstcache.c (tryagain): Define.
21227 (cache_addhst): Return tryagain not notfound for temporary errors.
21228 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
21229 failed.
21230
794c3ad3
UD
212312011-01-14 Ulrich Drepper <drepper@gmail.com>
21232
70181fdd
UD
21233 [BZ #10563]
21234 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
21235 to make the syscall.
21236 * sysdeps/unix/sysv/linux/setgroups.c: New file.
21237
794c3ad3
UD
21238 [BZ #12378]
21239 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
21240 and fall back to matching as normal character if the string ends before
21241 the matching ']' is found. This is what POSIX requires.
21242 * posix/testfnm.c: Adjust test result.
21243 * posix/globtest.sh: Adjust test result. Add new test.
21244 * posix/tst-fnmatch.input: Likewise.
21245 * posix/tst-fnmatch2.c: Add new test.
21246
68dc9497
AS
212472010-12-28 Andreas Schwab <schwab@linux-m68k.org>
21248
21249 * elf/Makefile (check-execstack): Revert last change. Depend on
21250 check-execstack.h.
21251 (check-execstack.h): New target.
21252 (generated): Add check-execstack.h.
21253 * elf/check-execstack.c: Include "check-execstack.h".
21254 (main): Revert last change.
21255 (handle_file): Return zero if GNU_STACK is absent and
21256 DEFAULT_STACK_PERMS doesn't include PF_X.
21257
451f001b
UD
212582011-01-13 Ulrich Drepper <drepper@gmail.com>
21259
cfa28e56
UD
21260 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21261 in child fails because the descriptor is already closed.
8cf8ce17
UD
21262 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21263 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21264 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 21265
1086d70d
UD
21266 [BZ #12397]
21267 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21268 syscall.
21269
451f001b
UD
21270 [BZ #10484]
21271 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21272 temporary buffer used to handle multi lookups locally.
a85b5cb4 21273 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 21274
08769175
UD
212752011-01-12 Ulrich Drepper <drepper@gmail.com>
21276
21277 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21278 loader is ld.so.
21279
5e49c52e
UD
212802011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
21281
21282 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
21283 alignment for SSE2.
21284
60522a5f
UD
212852011-01-12 Ulrich Drepper <drepper@gmail.com>
21286
21287 [BZ #12394]
21288 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
21289 characters. When rounding increased number of integer digits recompute
21290 number of groups.
21291 * stdio-common/tst-grouping.c: New file.
21292 * stdio-common/Makefile: Add rules to build and run tst-grouping.
21293
f257bbd7
UD
212942011-01-09 Ulrich Drepper <drepper@gmail.com>
21295
21296 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21297 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
21298
21299 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21300 void.
21301 * bits/select.h: Likewise.
21302
fa9c15cb
UD
213032011-01-08 Ulrich Drepper <drepper@gmail.com>
21304
21305 * po/ja.po: Update from translation team.
21306
16c2895f
DM
213072011-01-04 David S. Miller <davem@sunset.davemloft.net>
21308
21309 [BZ #11155]
21310 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21311 implementation just like for lxstat, fxstatat, et al.
21312
2543fef2
JM
213132010-12-27 Jim Meyering <meyering@redhat.com>
21314
21315 [BZ #12348]
21316 * posix/regexec.c (build_trtable): Return failure indication upon
21317 calloc failure. Otherwise, re_search_internal could infloop on OOM.
21318
98727dbe
UD
213192010-12-25 Ulrich Drepper <drepper@gmail.com>
21320
5bd6dc5c
UD
21321 [BZ #12201]
21322 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
21323 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
21324 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
21325 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
21326
97983464
UD
21327 [BZ #12207]
21328 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
21329
98727dbe
UD
21330 [BZ #12204]
21331 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
21332 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
21333
4a531bb0
L
213342010-12-15 H.J. Lu <hongjiu.lu@intel.com>
21335
21336 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
21337 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
21338 script has SORT_BY_INIT_PRIORITY.
21339 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21340 NO_CTORS_DTORS_SECTIONS is defined.
21341 * elf/soinit.c: Likewise.
21342 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21343 NO_CTORS_DTORS_SECTIONS is defined.
21344 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21345 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21346 * sysdeps/sh/init-first.c: Likewise.
21347 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21348
07eb4b71
UD
213492010-12-24 Ulrich Drepper <drepper@gmail.com>
21350
21351 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
21352 always use the slow path.
21353
30950a5f
RA
213542010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
21355
21356 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
21357 similar rule which adds the sysdep directories to the header search in
21358 order to pick up the correct platform stackinfo.h.
21359 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
21360 perform test if it is, otherwise return successfully without testing.
21361 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
21362 DEFAULT_STACK_PERMS define in stackinfo.h.
21363 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
21364 defined in stackinfo.h.
21365 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
21366 DEFAULT_STACK_PERMS defined in stackinfo.h.
21367 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
21368 * sysdeps/ia64/stackinfo.h: Likewise.
21369 * sysdeps/s390/stackinfo.h: Likewise.
21370 * sysdeps/sh/stackinfo.h: Likewise.
21371 * sysdeps/sparc/stackinfo.h: Likewise.
21372 * sysdeps/x86_64/stackinfo.h: Likewise.
21373 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
21374 PF_X for powerpc64. Retain PF_X for powerpc32.
21375
db753e2c
UD
213762010-12-19 Ulrich Drepper <drepper@gmail.com>
21377
14b697f7
UD
21378 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
21379 accurately.
db753e2c
UD
21380 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
21381 GETDENTS_64BIT_ALIGNED.
21382
28300719
UD
213832010-12-14 Ulrich Drepper <dreper@gmail.com>
21384
14b697f7 21385 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 21386
4f197237
AS
213872010-12-10 Andreas Schwab <schwab@redhat.com>
21388
dbb0472f
AS
21389 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
21390 _GNU_SOURCE.
21391
4f197237
AS
21392 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
21393 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
21394 Remove __restrict.
21395 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
21396 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
21397
fb88ac72
UD
213982010-12-09 Ulrich Drepper <drepper@gmail.com>
21399
21400 [BZ #11655]
21401 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
21402 are initialized.
21403
42acbb92
JJ
214042010-12-09 Jakub Jelinek <jakub@redhat.com>
21405
21406 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
21407
c038d98d
UD
214082010-12-03 Ulrich Drepper <drepper@gmail.com>
21409
21410 * po/it.po: Update from translation team.
21411
3a4a2499
L
214122010-12-01 H.J. Lu <hongjiu.lu@intel.com>
21413
21414 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
21415 unused codes.
21416
1e24cf6e
UD
214172010-11-30 Ulrich Drepper <drepper@gmail.com>
21418
21419 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
21420
a7690819
AS
214212010-11-24 Andreas Schwab <schwab@redhat.com>
21422
21423 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
21424 specially.
21425 (gaih_getanswer_slice): Likewise.
21426
3bf8d1b1
JJ
214272010-10-20 Jakub Jelinek <jakub@redhat.com>
21428
21429 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
21430
6db52fbb
PB
214312010-05-31 Petr Baudis <pasky@suse.cz>
21432
21433 [BZ #11149]
21434 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
21435 silently even in the chroot mode.
21436
eaca7569
UD
214372010-11-22 Ulrich Drepper <drepper@gmail.com>
21438
21439 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
21440 last patch a bit. Pretty printing
21441
3056dcdb
UD
214422010-05-31 Petr Baudis <pasky@suse.cz>
21443
21444 [BZ #10085]
21445 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
21446 initialization of skip_initgroups_dyn.
21447
cf7c9078
UD
214482010-11-19 Ulrich Drepper <drepper@gmail.com>
21449
21450 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
21451 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21452
a1fb5e3e
UD
214532010-11-16 Ulrich Drepper <drepper@gmail.com>
21454
21455 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
21456
3540d66b
AS
214572010-11-11 Andreas Schwab <schwab@redhat.com>
21458
21459 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
21460 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
21461 (tst-fnmatch-ENV): Set MALLOC_TRACE.
21462 ($(objpfx)tst-fnmatch-mem): New rule.
21463 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
21464 * posix/tst-fnmatch.c (main): Call mtrace.
21465
13b69574
L
214662010-11-11 H.J. Lu <hongjiu.lu@intel.com>
21467
21468 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21469 Support Intel processor model 6 and model 0x2c.
21470
da93d214
LM
214712010-11-10 Luis Machado <luisgpm@br.ibm.com>
21472
21473 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
21474 signed comparison.
21475
8ca52c6e
L
214762010-11-09 H.J. Lu <hongjiu.lu@intel.com>
21477
21478 [BZ #12205]
21479 * string/test-strncasecmp.c (check_result): New function.
21480 (do_one_test): Use it.
21481 (check1): New function.
21482 (test_main): Use it.
21483 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
21484 Support strcasecmp and strncasecmp.
21485
69da074d
UD
214862010-11-08 Ulrich Drepper <drepper@gmail.com>
21487
21488 [BZ #12194]
21489 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
21490 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21491
ff02d528
L
214922010-11-07 H.J. Lu <hongjiu.lu@intel.com>
21493
21494 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
21495 IFUNC support.
21496 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21497 memset-x86-64.
21498 * sysdeps/x86_64/multiarch/bzero.S: New file.
21499 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
21500 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
21501 * sysdeps/x86_64/multiarch/memset.S: New file.
21502 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
21503 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21504 Set bit_Prefer_SSE_for_memop for Intel processors.
21505 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
21506 Define.
21507 (index_Prefer_SSE_for_memop): Define.
21508 (HAS_PREFER_SSE_FOR_MEMOP): Define.
21509
344d0b54
LM
215102010-11-04 Luis Machado <luisgpm@br.ibm.com>
21511
21512 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
21513 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
21514
c0dde15b
UD
215152010-11-03 H.J. Lu <hongjiu.lu@intel.com>
21516
21517 [BZ #12191]
21518 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21519 (__x86_64_raw_data_cache_size_half): Likewise.
21520 (__x86_64_raw_shared_cache_size): Likewise.
21521 (__x86_64_raw_shared_cache_size_half): Likewise.
21522
21523 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21524 (__x86_64_raw_data_cache_size_half): Likewise.
21525 (__x86_64_raw_shared_cache_size): Likewise.
21526 (__x86_64_raw_shared_cache_size_half): Likewise.
21527 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
21528 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
21529 and __x86_64_raw_shared_cache_size_half. Round
21530 __x86_64_data_cache_size_half, __x86_64_data_cache_size
21531 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
21532 to multiple of 256 bytes.
21533
0e516e0e
MS
215342010-11-03 Ulrich Drepper <drepper@gmail.com>
21535
21536 [BZ #12167]
21537 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
21538 of inacessible symlinks. Verify result of symlink before returning it.
21539 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21540 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
21541
0e012e87
ER
215422010-10-28 Erich Ritz <erichritz@gmail.com>
21543
21544 * math/math.h (isinf): Fix typo in comment.
21545
de0ff7bc
UD
215462010-11-01 Ulrich Drepper <drepper@gmail.com>
21547
21548 * po/da.po: Update from translation team.
21549
fa41c84d
UD
215502010-10-26 Ulrich Drepper <drepper@gmail.com>
21551
21552 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
21553 is added to the list.
21554
f0967738
AK
215552010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21556 Ulrich Drepper <drepper@gmail.com>
21557
21558 * elf/dl-object.c (_dl_new_object): Don't append the new object to
21559 the global list here. Move code to...
21560 (_dl_add_to_namespace_list): ...here. New function.
21561 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
21562 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
21563 * elf/dl-load.c (lose): Don't remove the element from the list.
21564 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
21565 (_dl_map_object): Likewise.
21566
215672010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
21568
21569 [BZ #12159]
21570 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
21571 into all bytes of SSE register.
21572 Patch by Richard Li <richardpku@gmail.com>.
21573
f0967738 215742010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
21575
21576 [BZ #12140]
21577 * malloc/malloc.c (_int_free): Fill correct number of bytes when
21578 perturbing.
21579
d0b9e94f
MB
215802010-10-20 Michael B. Brutman <brutman@us.ibm.com>
21581
21582 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
21583 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
21584 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
21585 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
21587 submachine.
21588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
21589
8e9f92e9
AS
215902010-10-22 Andreas Schwab <schwab@redhat.com>
21591
21592 * include/dlfcn.h (__RTLD_SECURE): Define.
21593 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
21594 mode & __RTLD_SECURE instead.
21595 (open_path): Rename preloaded parameter to secure.
21596 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
21597 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
21598 * elf/dl-deps.c (openaux): Likewise.
21599 * elf/rtld.c (struct map_args): Remove is_preloaded.
21600 (map_doit): Don't use it.
21601 (dl_main): Likewise.
21602 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
21603 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
21604
bc96fbda
AS
216052010-09-09 Andreas Schwab <schwab@redhat.com>
21606
21607 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
21608 (sysd-rules-targets): Remove duplicates.
21609 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
21610 rtld-%.$o dependency.
21611
22cd1c9b
AS
216122010-10-18 Andreas Schwab <schwab@redhat.com>
21613
21614 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
21615 _dl_map_object do it.
21616
18edac48
UD
216172010-10-19 Ulrich Drepper <drepper@gmail.com>
21618
21619 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
21620 fast fma builtins, define the macros in the C99 standard.
21621 (FP_FAST_FMAF): Likewise.
21622 (FP_FAST_FMAL): Likewise.
21623 * sysdeps/x86_64/bits/mathdef.h: Likewise.
21624
21625 * bits/mathdef.h: Update copyright year.
21626 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21627
d2050124
MM
216282010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
21629
21630 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
21631 builtins, define the macros in the C99 standard.
21632 (FP_FAST_FMAF): Likewise.
21633 (FP_FAST_FMAL): Likewise.
21634 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
21635 multiply/add.
21636 (FP_FAST_FMAF): Likewise.
21637
475facd1
JJ
216382010-10-15 Jakub Jelinek <jakub@redhat.com>
21639
21640 [BZ #3268]
21641 * math/libm-test.inc (fma_test): Some new testcases.
21642 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
21643 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
21644 y and infinite z. Do multiplication by C already in long double.
21645 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
21646 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
21647 y and infinite z. Do bitwise or of inexact bit into u.d.
21648 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
21649 * sysdeps/i386/fpu/s_fmaf.S: Removed.
21650 * sysdeps/i386/fpu/s_fma.S: Removed.
21651 * sysdeps/i386/fpu/s_fmal.S: Removed.
21652
7c08a05c
JJ
216532010-10-16 Jakub Jelinek <jakub@redhat.com>
21654
21655 [BZ #3268]
21656 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
21657 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
21658 computation is not scheduled after fetestexcept. Fix value
21659 of minimum denormal long double.
21660
f3f7372d
JJ
216612010-10-14 Jakub Jelinek <jakub@redhat.com>
21662
21663 [BZ #3268]
21664 * math/libm-test.inc (fma_test): Add some more tests.
21665 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
21666 correctly.
21667
14d43591
AS
216682010-10-15 Andreas Schwab <schwab@redhat.com>
21669
21670 * scripts/data/localplt-s390-linux-gnu.data: New file.
21671 * scripts/data/localplt-s390x-linux-gnu.data: New file.
21672
5e908464
JJ
216732010-10-13 Jakub Jelinek <jakub@redhat.com>
21674
21675 [BZ #3268]
21676 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
21677 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
21678 instead of dbl-64.
21679 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
21680 inlines.
21681 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
21682 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
21683 if one of x and y is very large and the other is subnormal.
21684 * sysdeps/s390/fpu/s_fmaf.c: New file.
21685 * sysdeps/s390/fpu/s_fma.c: New file.
21686 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
21687 * sysdeps/powerpc/fpu/s_fma.S: New file.
21688 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
21689 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
21690 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
21691
216922010-10-12 Jakub Jelinek <jakub@redhat.com>
21693
21694 [BZ #3268]
21695 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
21696 fma tests.
21697 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
21698 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
21699 * sysdeps/i386/i686/multiarch/s_fma.c: Include
21700 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
21701 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
21702 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
21703 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
21704
b833d51f
UD
217052010-10-12 Ulrich Drepper <drepper@redhat.com>
21706
21707 [BZ #12078]
21708 * posix/regcomp.c (parse_branch): One more memory leak plugged.
21709 * posix/bug-regex31.input: Add test case.
21710
1751705d
UD
217112010-10-11 Ulrich Drepper <drepper@gmail.com>
21712
e9b9cbf5
UD
21713 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
21714 * posix/bug-regex31.input: New file.
21715
21716 [BZ #12078]
21717 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
21718 (parse_sub_exp): Fix last change, use postorder.
21719
ef06edbe
UD
21720 * posix/bug-regex31.c: New file.
21721 * posix/Makefile: Add rules to build and run bug-regex31.
21722
a129c80d
UD
21723 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
21724
21725 [BZ #12078]
21726 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
21727
b76b818e
UD
21728 [BZ #12108]
21729 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
21730 to have entries in sys_siglist.
21731
1751705d
UD
21732 [BZ #12093]
21733 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
21734 be NULL.
21735
9ff8d36f
JJ
217362010-10-07 Jakub Jelinek <jakub@redhat.com>
21737
21738 [BZ #3268]
21739 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
21740 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
21741 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21742 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
21743 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21744 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
21745 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
21746 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
21747 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
21748 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
21749 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
21750 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
21751 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21752 * math/ftestexcept.c (fetestexcept): Likewise.
21753 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
21754 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
21755 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21756 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
21757 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
21758 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
21759 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21760
af325969
UD
217612010-10-11 Ulrich Drepper <drepper@gmail.com>
21762
c579b202 21763 [BZ #12107]
af325969
UD
21764 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
21765 newline.
21766
67a67b95
UD
217672010-10-06 Ulrich Drepper <drepper@gmail.com>
21768
21769 * string/bug-strstr1.c: New file.
21770 * string/Makefile: Add rules to build and run bug-strstr1.
21771
5fb308bc
EB
217722010-10-05 Eric Blake <eblake@redhat.com>
21773
21774 [BZ #12092]
21775 * string/str-two-way.h (two_way_long_needle): Always clear memory
21776 when skipping input due to the shift table.
21777
45db99c7
UD
217782010-10-03 Ulrich Drepper <drepper@gmail.com>
21779
3b111893
UD
21780 [BZ #12005]
21781 * malloc/mcheck.c: Handle large requests.
21782
45db99c7
UD
21783 [BZ #12077]
21784 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
21785 for strncmp and strncasecmp.
21786 * string/stratcliff.c: Add tests for strcmp and strncmp.
21787 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
21788
cf7a1eb8
NI
217892010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21790
21791 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
21792 __set_fpscr.
21793
6484ba5e
AJ
217942010-09-30 Andreas Jaeger <aj@suse.de>
21795
21796 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
21797 (CGROUP_SUPER_MAGIC): Define.
21798 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21799 Handle btrfs and cgroup file systems.
21800 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21801 Likewise.
21802
91c42559
LM
218032010-09-27 Luis Machado <luisgpm@br.ibm.com>
21804
21805 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
21806 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
21807
87a97932
AK
218082010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21809
21810 [BZ #12067]
21811 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
21812 trying to locate the ELF header.
21813
c21cc9bc
AS
218142010-09-27 Andreas Schwab <schwab@redhat.com>
21815
21816 [BZ #11611]
21817 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
21818 Mask out sign-bit copies when constructing f_fsid.
21819
315970f6
PB
218202010-09-24 Petr Baudis <pasky@suse.cz>
21821
21822 * debug/stack_chk_fail_local.c: Add missing licence exception.
21823 * debug/warning-nop.c: Likewise.
21824
1ac7a2c7
JM
218252010-09-15 Joseph Myers <joseph@codesourcery.com>
21826
21827 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
21828 implementing getdents64 using getdents syscall, set d_type if
21829 __ASSUME_GETDENTS32_D_TYPE.
21830
56801c50
AS
218312010-09-16 Andreas Schwab <schwab@redhat.com>
21832
21833 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
21834 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
21835
dda51327
UD
218362010-09-21 Ulrich Drepper <drepper@redhat.com>
21837
21838 [BZ #12037]
21839 * posix/unistd.h: Undo change of feature selection for ftruncate from
21840 2010-01-11.
21841
8ffcee4a
UD
218422010-09-20 Ulrich Drepper <drepper@redhat.com>
21843
a545ecd9 21844 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
21845 detection.
21846
e24f0a8b
AS
218472010-09-20 Andreas Schwab <schwab@redhat.com>
21848
21849 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
21850 fanotify_mark.
21851 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21852
7291c56f
AS
218532010-09-14 Andreas Schwab <schwab@redhat.com>
21854
21855 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
21856 variables after CHECK_SP call.
21857 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
21858
bc5fb037
AS
218592010-09-13 Andreas Schwab <schwab@redhat.com>
21860 Ulrich Drepper <drepper@redhat.com>
21861
21862 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
21863 re-relocationg ld.so.
21864 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
21865 _dl_init_paths call.
21866 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
21867 here anymore.
21868
e66e7419
UD
218692010-09-14 Ulrich Drepper <drepper@redhat.com>
21870
21871 * resolv/res_init.c (__res_vinit): Count the default server we added.
21872
c044aa75
CLT
218732010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
21874 Ulrich Drepper <drepper@redhat.com>
21875
21876 [BZ #11968]
21877 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21878 (____longjmp_chk): Use %ebx for saving value across system call.
21879 Add unwind info.
21880
32cf4069
AS
218812010-09-06 Andreas Schwab <schwab@redhat.com>
21882
21883 * manual/Makefile: Don't mix pattern rules with normal rules.
21884
817328ee
AS
218852010-09-05 Andreas Schwab <schwab@linux-m68k.org>
21886
21887 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
21888 operation.
21889 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
21890 * libio/iofopncook.c (_IO_cookie_init): Likewise.
21891 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
21892 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21893 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21894 Likewise.
21895
29fddf61
UD
218962010-09-04 Ulrich Drepper <drepper@redhat.com>
21897
21898 [BZ #11979]
21899 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
21900 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
21901
0959ffc9
UD
219022010-09-02 Ulrich Drepper <drepper@redhat.com>
21903
21904 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
21905 * sysdeps/x86_64/addmul_1.S: Likewise.
21906 * sysdeps/x86_64/lshift.S: Likewise.
21907 * sysdeps/x86_64/mul_1.S: Likewise.
21908 * sysdeps/x86_64/rshift.S: Likewise.
21909 * sysdeps/x86_64/sub_n.S: Likewise.
21910 * sysdeps/x86_64/submul_1.S: Likewise.
21911
ece29840
ST
219122010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
21913
0959ffc9
UD
21914 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
21915 Define __sched_param instead of SCHED_* and sched_param when
ece29840 21916 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 21917 * bits/sched.h [__need_schedparam]
ece29840 21918 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
21919 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
21920 (__defined_schedparam): Define to 1.
ece29840
ST
21921 (__sched_param): New structure, identical to sched_param.
21922 (__need_schedparam): Undefine.
21923
e53a31fe
MF
219242010-08-31 Mike Frysinger <vapier@gentoo.org>
21925
fdc0c10d
MF
21926 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
21927 (epoll_create1): Declare.
21928
e53a31fe
MF
21929 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
21930
a726d796
AS
219312010-08-31 Andreas Schwab <schwab@redhat.com>
21932
21933 [BZ #7066]
21934 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
21935 shifting retval into place.
21936
2f3e3dc7
UD
219372010-09-01 Ulrich Drepper <drepper@redhat.com>
21938
f2933da9
UD
21939 * nis/rpcsvc/nis.h: Update copyright notice.
21940 * nis/rpcsvc/nis.x: Likewise.
21941 * nis/rpcsvc/nis_callback.h: Likewise.
21942 * nis/rpcsvc/nis_callback.x: Likewise.
21943 * nis/rpcsvc/nis_object.x: Likewise.
21944 * nis/rpcsvc/nis_tags.h: Likewise.
21945 * nis/rpcsvc/yp.h: Likewise.
21946 * nis/rpcsvc/yp.x: Likewise.
21947 * nis/rpcsvc/ypupd.h: Likewise.
21948 * nis/yp_xdr.c: Likewise.
21949 * nis/ypupdate_xdr.c: Likewise.
21950
2f3e3dc7
UD
21951 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
21952 mainly the body of pmap_getport. Add parameters to specify timeouts.
21953 (pmap_getport): Use __libc_rpc_getport.
21954 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
21955 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
21956 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
21957
f3dcc2f9
AS
219582010-08-31 Andreas Schwab <schwab@linux-m68k.org>
21959
21960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
21961 fanotify_mark.
21962
6d34eb5b
RM
219632010-08-27 Roland McGrath <roland@redhat.com>
21964
21965 * sysdeps/i386/i686/multiarch/Makefile
21966 (CFLAGS-varshift.c): New variable.
21967
9ea3de11
UD
219682010-08-27 Ulrich Drepper <drepper@redhat.com>
21969
c96d23fc
UD
21970 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
21971 * sysdeps/i386/i686/multiarch/varshift.c: New file.
21972
9ea3de11
UD
21973 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
21974
21975 * sysdeps/x86_64/strlen.S: Minimal code improvement.
21976
623aac7f
L
219772010-08-26 H.J. Lu <hongjiu.lu@intel.com>
21978
21979 * sysdeps/x86_64/strlen.S: Unroll the loop.
21980 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21981 strlen-sse2 strlen-sse2-bsf.
21982 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
21983 __strlen_no_bsf if bit_Slow_BSF is set.
21984 (__strlen_sse42): Removed.
21985 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
21986 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
21987
8b2b7715
RM
219882010-08-25 Roland McGrath <roland@redhat.com>
21989
21990 * sysdeps/x86_64/multiarch/varshift.S: File removed.
21991 * sysdeps/x86_64/multiarch/varshift.c: New file.
21992 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
21993 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
21994 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
21995 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21996
e73015f2
L
219972010-08-25 H.J. Lu <hongjiu.lu@intel.com>
21998
21999 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22000 strlen-sse2 strlen-sse2-bsf.
22001 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22002 __strlen_sse2_bsf if bit_Slow_BSF is unset.
22003 (__strlen_sse2): Removed.
22004 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22005 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22006 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22007 bit_Slow_BSF for Atom.
22008 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22009 (index_Slow_BSF): Define.
22010 (HAS_SLOW_BSF): Define.
22011
df24a73e
UD
220122010-08-25 Ulrich Drepper <drepper@redhat.com>
22013
22014 [BZ #10851]
22015 * resolv/res_init.c (__res_vinit): When no server address at all
22016 is given default to loopback.
22017
f2ac4868
RM
220182010-08-24 Roland McGrath <roland@redhat.com>
22019
09055553
RM
22020 * configure.in: Remove config-name.h generation.
22021 * configure: Regenerated.
22022 * config-name.in: File removed.
22023 * scripts/config-uname.sh: New file.
22024 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22025 ($(objdir)config-name.h): New target.
22026
f2ac4868
RM
22027 * sunrpc/rpc_parse.h: Avoid nested comment.
22028
73f27d5e
RH
220292010-08-24 Richard Henderson <rth@redhat.com>
22030 Ulrich Drepper <drepper@redhat.com>
22031 H.J. Lu <hongjiu.lu@intel.com>
22032
22033 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22034 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22035 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22036 Replace _mm_srli_si128 with __m128i_shift_right. Replace
22037 _mm_alignr_epi8 with _mm_loadu_si128.
22038 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22039 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22040 (__m128i_shift_right): Removed.
22041 * sysdeps/i386/i686/multiarch/varshift.h: New file.
22042 * sysdeps/i386/i686/multiarch/varshift.S: New file.
22043 * sysdeps/x86_64/multiarch/varshift.h: New file.
22044 * sysdeps/x86_64/multiarch/varshift.S: New file.
22045
84b9230c
MF
220462010-08-21 Mike Frysinger <vapier@gentoo.org>
22047
22048 * configure.in: Move assembler checks to before sysdep dir checking.
22049
9bbd0ddc
PB
220502010-08-20 Petr Baudis <pasky@suse.cz>
22051
22052 * LICENSES: Sync the sunrpc license.
22053
9da4bb31
UD
220542010-08-19 Ulrich Drepper <drepper@redhat.com>
22055
a7ab6ec8
UD
22056 * sunrpc/auth_des.c: Update copyright notice once again.
22057 * sunrpc/auth_none.c: Likewise.
22058 * sunrpc/auth_unix.c: Likewise.
22059 * sunrpc/authdes_prot.c: Likewise.
22060 * sunrpc/authuxprot.c: Likewise.
22061 * sunrpc/bindrsvprt.c: Likewise.
22062 * sunrpc/clnt_gen.c: Likewise.
22063 * sunrpc/clnt_perr.c: Likewise.
22064 * sunrpc/clnt_raw.c: Likewise.
22065 * sunrpc/clnt_simp.c: Likewise.
22066 * sunrpc/clnt_tcp.c: Likewise.
22067 * sunrpc/clnt_udp.c: Likewise.
22068 * sunrpc/clnt_unix.c: Likewise.
22069 * sunrpc/des_crypt.c: Likewise.
22070 * sunrpc/des_soft.c: Likewise.
22071 * sunrpc/get_myaddr.c: Likewise.
22072 * sunrpc/getrpcport.c: Likewise.
22073 * sunrpc/key_call.c: Likewise.
22074 * sunrpc/key_prot.c: Likewise.
22075 * sunrpc/openchild.c: Likewise.
22076 * sunrpc/pm_getmaps.c: Likewise.
22077 * sunrpc/pm_getport.c: Likewise.
22078 * sunrpc/pmap_clnt.c: Likewise.
22079 * sunrpc/pmap_prot.c: Likewise.
22080 * sunrpc/pmap_prot2.c: Likewise.
22081 * sunrpc/pmap_rmt.c: Likewise.
22082 * sunrpc/rpc/auth.h: Likewise.
22083 * sunrpc/rpc/auth_unix.h: Likewise.
22084 * sunrpc/rpc/clnt.h: Likewise.
22085 * sunrpc/rpc/des_crypt.h: Likewise.
22086 * sunrpc/rpc/key_prot.h: Likewise.
22087 * sunrpc/rpc/netdb.h: Likewise.
22088 * sunrpc/rpc/pmap_clnt.h: Likewise.
22089 * sunrpc/rpc/pmap_prot.h: Likewise.
22090 * sunrpc/rpc/pmap_rmt.h: Likewise.
22091 * sunrpc/rpc/rpc.h: Likewise.
22092 * sunrpc/rpc/rpc_des.h: Likewise.
22093 * sunrpc/rpc/rpc_msg.h: Likewise.
22094 * sunrpc/rpc/svc.h: Likewise.
22095 * sunrpc/rpc/svc_auth.h: Likewise.
22096 * sunrpc/rpc/types.h: Likewise.
22097 * sunrpc/rpc/xdr.h: Likewise.
22098 * sunrpc/rpc_clntout.c: Likewise.
22099 * sunrpc/rpc_cmsg.c: Likewise.
22100 * sunrpc/rpc_common.c: Likewise.
22101 * sunrpc/rpc_cout.c: Likewise.
22102 * sunrpc/rpc_dtable.c: Likewise.
22103 * sunrpc/rpc_hout.c: Likewise.
22104 * sunrpc/rpc_main.c: Likewise.
22105 * sunrpc/rpc_parse.c: Likewise.
22106 * sunrpc/rpc_parse.h: Likewise.
22107 * sunrpc/rpc_prot.c: Likewise.
22108 * sunrpc/rpc_sample.c: Likewise.
22109 * sunrpc/rpc_scan.c: Likewise.
22110 * sunrpc/rpc_scan.h: Likewise.
22111 * sunrpc/rpc_svcout.c: Likewise.
22112 * sunrpc/rpc_tblout.c: Likewise.
22113 * sunrpc/rpc_util.c: Likewise.
22114 * sunrpc/rpc_util.h: Likewise.
22115 * sunrpc/rpcinfo.c: Likewise.
22116 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22117 * sunrpc/rpcsvc/key_prot.x: Likewise.
22118 * sunrpc/rpcsvc/klm_prot.x: Likewise.
22119 * sunrpc/rpcsvc/mount.x: Likewise.
22120 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22121 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22122 * sunrpc/rpcsvc/rex.x: Likewise.
22123 * sunrpc/rpcsvc/rstat.x: Likewise.
22124 * sunrpc/rpcsvc/rusers.x: Likewise.
22125 * sunrpc/rpcsvc/sm_inter.x: Likewise.
22126 * sunrpc/rpcsvc/spray.x: Likewise.
22127 * sunrpc/rpcsvc/yppasswd.x: Likewise.
22128 * sunrpc/rtime.c: Likewise.
22129 * sunrpc/svc.c: Likewise.
22130 * sunrpc/svc_auth.c: Likewise.
22131 * sunrpc/svc_authux.c: Likewise.
22132 * sunrpc/svc_raw.c: Likewise.
22133 * sunrpc/svc_run.c: Likewise.
22134 * sunrpc/svc_simple.c: Likewise.
22135 * sunrpc/svc_tcp.c: Likewise.
22136 * sunrpc/svc_udp.c: Likewise.
22137 * sunrpc/svc_unix.c: Likewise.
22138 * sunrpc/svcauth_des.c: Likewise.
22139 * sunrpc/xcrypt.c: Likewise.
22140 * sunrpc/xdr.c: Likewise.
22141 * sunrpc/xdr_array.c: Likewise.
22142 * sunrpc/xdr_float.c: Likewise.
22143 * sunrpc/xdr_mem.c: Likewise.
22144 * sunrpc/xdr_rec.c: Likewise.
22145 * sunrpc/xdr_ref.c: Likewise.
22146 * sunrpc/xdr_sizeof.c: Likewise.
22147 * sunrpc/xdr_stdio.c: Likewise.
22148
9da4bb31
UD
22149 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22150 handling.
22151
bdaa77bc
AS
221522010-08-19 Andreas Schwab <schwab@redhat.com>
22153
22154 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22155
fe2f79db
LM
221562010-08-19 Luis Machado <luisgpm@br.ibm.com>
22157
22158 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
22159 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
22160 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
22161 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
22162 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
22163 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
22164 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
22165 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
22166 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
22167 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
22168 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
22169 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
22170 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
22171 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
22172
b9b42ee0
AB
221732010-07-26 Anton Blanchard <anton@samba.org>
22174
22175 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
22176 * malloc/arena.c (heap_trim): Likewise.
22177
1c06ba31
UD
221782010-08-16 Ulrich Drepper <drepper@redhat.com>
22179
22180 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
22181 here. Not...
22182 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
22183 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
22184
f8392f40
L
221852010-08-12 H.J. Lu <hongjiu.lu@intel.com>
22186
22187 * sysdeps/i386/elf/Makefile: New file.
22188
3162f12e
AS
221892010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22190
22191 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
22192 from fanotify_init.
22193 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
22194 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22195
28c90b2c
UD
221962010-08-15 Ulrich Drepper <drepper@redhat.com>
22197
22198 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
22199 of strncasecmp_l.
1feccb6c 22200 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 22201
ca6bb004
UD
222022010-08-14 Ulrich Drepper <drepper@redhat.com>
22203
e9f82e0d
UD
22204 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22205 strncase_l-nonascii.
22206 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22207 Add strncase_l-ssse3.
22208 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
22209 * sysdeps/x86_64/strcmp.S: Likewise.
22210 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
22211 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
22212 * sysdeps/x86_64/strncase.S: New file.
22213 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
22214 * sysdeps/x86_64/strncase_l.S: New file.
22215 * string/Makefile (strop-tests): Add strncasecmp.
22216 * string/test-strncasecmp.c: New file.
22217
22218 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
22219 warning.
22220
ca6bb004
UD
22221 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
22222 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
22223
052fa7b3
AS
222242010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22225
22226 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
22227
962dba78
UD
222282010-08-12 Ulrich Drepper <drepper@redhat.com>
22229
22230 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
22231 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
22232 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
22233
bebff237
AM
222342010-05-01 Alan Modra <amodra@gmail.com>
22235
22236 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
22237 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
22238 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
22239 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
22240 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
22241 tidying. Don't tail-call __sigjmp_save for static lib.
22242 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
22243 save location.
22244 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
22245 (CALL_MCOUNT): Add eh info, and nop after bl.
22246 (TAIL_CALL_SYSCALL_ERROR): New macro.
22247 (PSEUDO_RET): Use it.
22248 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22249 Correct save location of integer regs and cr.
22250 (_dl_profile_resolve): Correct cr save location. Delete nops
22251 after bl when SHARED. Reduce cfi size a little by better
22252 placement of cfi directives.
22253 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22254 make a stack frame. Instead use parm save area as a temp.
22255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22256 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
22257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22258 Don't make a stack frame for parent, use parm save area.
22259 Increase child stack frame to 112 bytes. Don't save unused reg,
22260 and adjust reg usage. Set up cfi on error recovery and
22261 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22263 (__makecontext): Add dummy nop after jump to exit.
22264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22265 Use correct parm save area and cr save, reduce stack frame.
22266 Correct cfi for possible PSEUDO_RET frame setup.
22267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22268 Branch to local label emitted by PSEUDO_RET rather than
22269 __syscall_error.
22270
02637374
AS
222712010-08-12 Andreas Schwab <schwab@redhat.com>
22272
22273 [BZ #11904]
22274 * locale/programs/locale.c (print_assignment): New function.
22275 (show_locale_vars): Use it.
22276
c3e2f19b
UD
222772010-08-11 Ulrich Drepper <drepper@redhat.com>
22278
3cdaa6ad
UD
22279 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22280 field.
22281 (struct statfs64): Likewise.
22282 (_STATFS_F_FLAGS): Define.
22283 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
22284 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22285 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
22286 (ST_VALID): Define locally.
22287 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
22288 __statvfs_getflags, use the provided value.
22289 * sysdeps/unix/sysv/linux/kernel-features.h: Define
22290 __ASSUME_STATFS_F_FLAGS.
22291
754f7da3
UD
22292 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
22293
10b3bedc
UD
22294 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22295 Add sys/fanotify.h.
22296 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22297 fanotify_mask for GLIBC_2.13.
22298 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22299 fanotify_init and fanotify_mark.
22300 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22301 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22302
c08fb0d7
UD
22303 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22304 Add prlimit.
22305 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22306 prlimit64 for GLIBC_2.13.
22307 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22308 prlimit64.
22309 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22310 syscall.
22311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22312 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22313 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22314 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22315 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
22316 add prlimit alias.
22317 * sysdeps/unix/sysv/linux/prlimit.c: New file.
22318
15bac72b
UD
22319 [BZ #11903]
22320 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
22321 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
22322
c3e2f19b
UD
22323 * nss/Makefile: Add rules to build and run tst-nss-test1.
22324 * shlib-versions: Add entry for libnss_test1.
22325 * nss/nss_test1.c: New file.
22326 * nss/tst-nss-test1.c: New file.
22327
22328 * nss/nsswitch.c (__nss_database_custom): Define new variable.
22329 (__nss_configure_lookup): Set appropriate entry in
22330 __nss_configure_lookup to true.
22331 * nss/nsswitch.h: Define enum with indeces of databases in
22332 databases and __nss_database_custom arrays. Declare
22333 __nss_database_custom.
22334 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
22335 to avoid using nscd when custom rules are installed.
22336 * nss/getXXbyYY_r.c: Likewise.
22337 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22338
22339 * nss/nss_files/files-parse.c: Whitespace fixes.
22340
f15ce4d8
UD
223412010-08-09 Ulrich Drepper <drepper@redhat.com>
22342
22343 [BZ #11883]
22344 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22345 * posix/fnmatch_loop.c: Likewise.
22346
d22e4cc9
AK
223472010-07-17 Andi Kleen <ak@linux.intel.com>
22348
22349 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22350 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22351 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
22352 * Versions.def [GLIBC_2.13]: Add.
22353
805bc17d
UD
223542010-08-06 Ulrich Drepper <drepper@redhat.com>
22355
22356 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22357 Also fail if tpwd after pwuid call is NULL.
22358
5a42321d
ST
223592010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
22360
22361 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
22362 when converting to ms.
22363
fd3ebeda
ST
223642010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22365
22366 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
22367 EOPNOTSUPP errors with ENOTTY.
22368 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
22369 EOPNOTSUPP errors with ENOTTY.
22370
73507d3a
UD
223712010-07-31 Ulrich Drepper <drepper@redhat.com>
22372
22373 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22374 Add strcasecmp_l-ssse3.
22375 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
22376 strcasecmp.
22377 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
22378 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
22379 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
22380
fe36dd02
UD
223812010-07-30 Ulrich Drepper <drepper@redhat.com>
22382
66f6765a
UD
22383 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
22384
42e08a54
UD
22385 * string/Makefile (strop-tests): Add strcasecmp.
22386 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22387 strcasecmp_l-nonascii.
22388 (gen-as-const-headers): Add locale-defines.sym.
22389 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
22390 * sysdeps/x86_64/strcasecmp.S: New file.
22391 * sysdeps/x86_64/strcasecmp_l.S: New file.
22392 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
22393 * sysdeps/x86_64/locale-defines.sym: New file.
22394 * string/test-strcasecmp.c: New file.
22395
fe36dd02
UD
22396 * string/test-strcasestr.c: Test both ends of the range of characters.
22397 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
22398
48cbc0d6
RM
223992010-07-29 Roland McGrath <roland@redhat.com>
22400
76e6d6bc 22401 [BZ #11856]
48cbc0d6
RM
22402 * manual/locale.texi (Yes-or-No Questions): Fix example code.
22403
880113d9
UD
224042010-07-27 Ulrich Drepper <drepper@redhat.com>
22405
22406 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
22407 for ld.so.
22408
deb9cabb
AS
224092010-07-27 Andreas Schwab <schwab@redhat.com>
22410
22411 * manual/memory.texi (Malloc Tunable Parameters): Document
22412 M_PERTURB.
22413
1c7570ff
RM
224142010-07-26 Roland McGrath <roland@redhat.com>
22415
22416 [BZ #11840]
22417 * configure.in (-fgnu89-inline check): Set and substitute
22418 gnu89_inline, not libc_cv_gnu89_inline.
22419 * configure: Regenerated.
22420 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
22421
24fb0f88
UD
224222010-07-26 Ulrich Drepper <drepper@redhat.com>
22423
22424 * string/test-strnlen.c: New file.
22425 * string/Makefile (strop-tests): Add strnlen.
22426 * string/tester.c (test_strnlen): Add a few more test cases.
22427 * string/tst-strlen.c: Better error reporting.
22428
22429 * sysdeps/x86_64/strnlen.S: New file.
22430
8e96b93a
UD
224312010-07-24 Ulrich Drepper <drepper@redhat.com>
22432
22433 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
22434 lower-latency instructions.
22435
dbc676d4
UD
224362010-07-23 Ulrich Drepper <drepper@redhat.com>
22437
22438 * string/test-strcasestr.c: New file.
22439 * string/test-strstr.c: New file.
22440 * string/Makefile (strop-tests): Add strstr and strcasestr.
22441 * string/str-two-way.h: Don't undefine MAX.
22442 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
22443
f6a31e0e
AS
224442010-07-21 Andreas Schwab <schwab@redhat.com>
22445
22446 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22447 strcasestr-nonascii.
22448 (CFLAGS-strcasestr-nonascii.c): Define.
22449 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
22450 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
22451 Remove unused attribute.
22452
5dbc3b6c
RM
224532010-07-20 Roland McGrath <roland@redhat.com>
22454
22455 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
22456 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
22457 ld.so.cache was broken. With it, there is no way to disable dsocaps
22458 like LD_HWCAP_MASK can disable hwcaps.
22459
23d101d8
EPM
224602010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22461
22462 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
22463
cc9f2e47
UD
224642010-07-16 Ulrich Drepper <drepper@redhat.com>
22465
22466 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
22467 call in strcasestr.
22468 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
22469 __strcasestr_sse42_nonascii.
22470 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
22471 strcasestr-nonascii.c.
22472 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
22473
77c1b069
LM
224742010-06-15 Luis Machado <luisgpm@br.ibm.com>
22475
22476 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
22477 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
22478 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
22479 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
22480
440566c3
UD
224812010-07-09 Ulrich Drepper <drepper@redhat.com>
22482
22483 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
22484 fcntl.
22485
5be9d05d
AS
224862010-07-06 Andreas Schwab <schwab@redhat.com>
22487
c30b7ee2 22488 [BZ #11577]
5be9d05d
AS
22489 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
22490 dl_signal_cerror.
22491
8a492a67
UD
224922010-07-06 Ulrich Drepper <drepper@redhat.com>
22493
22494 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
22495 _PC_PIPE_BUF using F_GETPIPE_SZ.
22496
713df3d5
RM
224972010-07-05 Roland McGrath <roland@redhat.com>
22498
22499 * manual/arith.texi (Rounding Functions): Fix rint description
22500 implicit in round description.
22501
702e8f14
UD
225022010-07-02 Ulrich Drepper <drepper@redhat.com>
22503
22504 * elf/Makefile: Fix linking for a few tests to make recent linker
22505 happy.
22506
52ed8be9
AS
225072010-06-30 Andreas Schwab <schwab@redhat.com>
22508
22509 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22510 $(common-objpfx)libc_nonshared.a.
22511
f47c9a11
LM
225122010-06-21 Luis Machado <luisgpm@br.ibm.com>
22513
22514 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
22515 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
22516 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22517 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22518 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
22519 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
22520 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22521 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
22523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
22524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
22525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
22527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
22529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
22530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
22531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
22532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
22534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
22536 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
22537 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
22538 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
22539 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
22540 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
22541 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
22542 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
22543 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
22544 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
22545 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
22546 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
22547 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
22548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
22549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
22550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
22551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
22552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
22553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
22554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
22555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
22556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
22557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
22558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
22559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
22560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
22561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
22562
6fb8cbcb
L
225632010-06-25 H.J. Lu <hongjiu.lu@intel.com>
22564
22565 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
22566 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
22567 * string/memmove.c (memmove): Renamed to ...
22568 (MEMMOVE): ...this. Default to memmove.
22569 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
22570 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
22571 (END_CHK): Define.
22572 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22573 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
22574 mempcpy-ssse3-back memmove-ssse3-back.
22575 * sysdeps/x86_64/multiarch/bcopy.S: New file .
22576 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
22577 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
22578 * sysdeps/x86_64/multiarch/memcpy.S: New file.
22579 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
22580 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
22581 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
22582 * sysdeps/x86_64/multiarch/memmove.c: New file.
22583 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
22584 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
22585 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
22586 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
22587 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
22588 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
22589 Define.
22590 (index_Fast_Copy_Backward): Define.
22591 (HAS_ARCH_FEATURE): Define.
22592 (HAS_FAST_REP_STRING): Define.
22593 (HAS_FAST_COPY_BACKWARD): Define.
22594
4e733bac 225952010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
22596
22597 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22598 Restore proper fallback handling.
22599
63c4ed22
UD
226002010-06-19 Ulrich Drepper <drepper@redhat.com>
22601
ac2b484c
UD
22602 [BZ #11701]
22603 * posix/group_member.c (__group_member): Correct checking loop.
22604
63c4ed22
UD
22605 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
22606 OOM in getpwuid_r correctly. Return error number when the caller
22607 should return, otherwise -1.
22608 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
22609 call returning > 0 value.
22610 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
22611
765ade4b
AS
226122010-06-07 Andreas Schwab <schwab@redhat.com>
22613
22614 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
22615 libc_nonshared.a from targets in modules-names.
22616
80da2e09
KS
226172010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
22618
22619 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
22620 requires it.
22621
158db122
LM
226222010-06-10 Luis Machado <luisgpm@br.ibm.com>
22623
22624 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
22625 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
22626 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
22627 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
22628
caa78cf8
AS
226292010-06-02 Andreas Schwab <schwab@redhat.com>
22630
22631 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
22632
b2ef2c01
UD
226332010-06-14 Ulrich Drepper <drepper@redhat.com>
22634
22635 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
22636 and F_GETPIPE_SZ.
22637 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22638 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22639 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22640 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22641 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22642 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
22643
fbd643b6
RM
226442010-06-14 Roland McGrath <roland@redhat.com>
22645
22646 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
22647
f32f2869
JJ
226482010-06-07 Jakub Jelinek <jakub@redhat.com>
22649
22650 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
22651 __REDIRECT followed by __THROW.
22652 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
22653 * posix/getopt.h (getopt): Likewise.
22654
2a50c078
EPM
226552010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22656
22657 * hurd/lookup-at.c (__file_name_lookup_at): Accept
22658 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
22659 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
22660 in AT_FLAGS.
22661 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
22662 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
22663
eb5ad2eb
LM
226642010-05-28 Luis Machado <luisgpm@br.ibm.com>
22665
22666 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
22667
3c88fe1e
L
226682010-05-26 H.J. Lu <hongjiu.lu@intel.com>
22669
22670 [BZ #11640]
22671 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22672 Properly check family and model.
22673
d2f73151
TY
226742010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
22675
22676 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
22677
ebd2e13d
LM
226782010-05-24 Luis Machado <luisgpm@br.ibm.com>
22679
22680 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
22681
b32b8b45
UD
226822010-05-21 Ulrich Drepper <drepper@redhat.com>
22683
22684 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
22685 symbol reference.
22686
9acbe24d
AS
226872010-05-19 Andreas Schwab <schwab@redhat.com>
22688
22689 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
22690 symbol reference.
22691
f0ccf6ea
AS
226922010-05-21 Andreas Schwab <schwab@redhat.com>
22693
3d04ff3a
AS
22694 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
22695 and internal_recvmmsg.
22696 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
22697 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
22698 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
22699 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
22700
f0ccf6ea
AS
22701 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
22702 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22703 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22704
5b08ac57
AS
227052010-05-20 Andreas Schwab <schwab@redhat.com>
22706
22707 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
22708
4828935d
LM
227092010-05-17 Luis Machado <luisgpm@br.ibm.com>
22710
22711 POWER7 optimizations.
22712 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
22713 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
22714
373d545e
UD
227152010-05-19 Ulrich Drepper <drepper@redhat.com>
22716
22717 * version.h: Update for 2.13 development version.
22718
21a2b1ae
AS
227192010-05-12 Andrew Stubbs <ams@codesourcery.com>
22720
22721 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
22722 exceptions. Return 0.
22723
3f7dcb2b
RM
227242010-05-07 Roland McGrath <roland@redhat.com>
22725
22726 * elf/ldconfig.c (main): Add a const.
22727
5f24d53a 227282010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 22729
a160f8d8
UD
22730 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
22731 (args_options): Add no-idn option.
22732 (ahosts_keys_int): Add idn_flags to ai_flags.
22733 (parse_option): Handle 'i' option to clear idn_flags.
22734
5f24d53a
UD
22735 * malloc/malloc.c (_int_free): Possible race in the most recently
22736 added check. Only act on the data if no current modification
22737 happened.
265bb1ce
UD
22738
22739See ChangeLog.17 for earlier changes.
This page took 2.958413 seconds and 5 git commands to generate.