]> sourceware.org Git - glibc.git/blame - ChangeLog
Remove overridden entries from sysdeps/unix/sysv/syscalls.list.
[glibc.git] / ChangeLog
CommitLineData
7b17aeda
JM
12012-05-05 Joseph Myers <joseph@codesourcery.com>
2
3 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
4 (nice): Likewise.
5 (poll): Likewise.
6 (signal): Likewise.
7 (time): Likewise.
8 (times): Likewise.
9
f7c85819
JM
102012-05-04 Joseph Myers <joseph@codesourcery.com>
11
12 * sysdeps/unix/syscalls.list (adjtime): Add entry from
13 sysdeps/unix/common/syscalls.list.
14 (fchmod): Likewise.
15 (fchown): Likewise.
16 (ftruncate): Likewise.
17 (getrusage): Likewise.
18 (gettimeofday): Likewise.
19 (setpgid): Likewise.
20 (setregid): Likewise.
21 (setreuid): Likewise.
22 (sigaction): Likewise.
23 (truncate): Likewise.
24 (vhangup): Likewise.
25 * sysdeps/unix/common/syscalls.list: Remove file.
26 * sysdeps/unix/bsd/Implies: Don't include unix/common.
27 * sysdeps/unix/sysv/linux/Implies: Likewise.
28
336270d0
L
292012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30
31 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
32 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
34 Moved to ...
35 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36 Here.
37 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
38 to ...
39 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
40 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
41 to ...
42 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
43 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
44 to ...
45 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
46 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
47 to ...
48 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
49 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
50 to ...
51 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
52 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
53 to ...
54 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
55 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
56 to ...
57 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
58 Here.
59 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
60 to ...
61 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
62 Here.
63 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
64 to ...
65 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
66 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
67 Moved to ...
68 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
69 Here.
70 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
71 to ...
72 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
73
d128e450
JM
742012-05-04 Joseph Myers <joseph@codesourcery.com>
75
fa8ee516
JM
76 * sysdeps/unix/common/bits/dirent.h: Remove file.
77 * sysdeps/unix/common/bits/fcntl.h: Likewise.
78
d128e450
JM
79 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
80 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
81 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
82 * sysdeps/unix/bsd/isatty.c: Likewise.
83 * sysdeps/unix/bsd/tcdrain.c: Likewise.
84 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
85 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
86
110c96ff 872012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730
AZ
88
89 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
90 long double comparison inaccuracies.
91 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
92 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
93
6fef930c
AS
942012-05-04 Andreas Schwab <schwab@linux-m68k.org>
95
96 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
97 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
98
8f203e6c
JM
992012-05-04 Joseph Myers <joseph@codesourcery.com>
100
101 [BZ #14049]
102 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
103 nonzero digits before rounding a hex value.
104 * stdlib/tst-strtod.c (tests): Add another test.
105
5197d9c2
AK
1062012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
107
108 * sysdeps/s390/fpu/libm-test-ulps: Update.
109
f0c1dedf
AJ
1102012-05-03 Andreas Jaeger <aj@suse.de>
111
112 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
113 does not get optimized out.
114 (malloc_opt_barrier): New.
115
a65ef2ae 1162012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 117 Roland McGrath <roland@hack.frob.com>
a65ef2ae 118
2b942cb7 119 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 120 intermediate file deletion.
2b942cb7 121 (generated): Add .symlist files.
a65ef2ae 122
54b71e02
JM
1232012-05-03 Joseph Myers <joseph@codesourcery.com>
124
125 [BZ #13775]
126 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
127 Redirect under this condition.
128 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
129 [__USE_GNU] (__dprintf_chk): Not under this condition.
130 [__USE_GNU] (__vdprintf_chk): Likewise.
131 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
132 under this condition.
133 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
134 [__USE_XOPEN2K8] (dprintf): Define under this condition.
135 [__USE_XOPEN2K8] (vdprintf): Likewise.
136 [__USE_GNU] (__dprintf_chk): Not under this condition.
137 [__USE_GNU] (__vdprintf_chk): Likewise.
138 [__USE_GNU] (dprintf): Likewise.
139 [__USE_GNU] (vdprintf): Likewise.
140
d3dfcc41
RM
1412012-05-03 Roland McGrath <roland@hack.frob.com>
142
143 * elf/Makefile (common-generated): Set this instead of generated for
144 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
145 $(all-built-dso)-derived lists.
146
7ac30cc5
AJ
1472012-05-03 Andreas Jaeger <aj@suse.de>
148
0c51e550
AJ
149 * sysdeps/i386/fpu/libm-test-ulps: Update.
150
7ac30cc5
AJ
151 * FAQ: Removed.
152 * FAQ.in: Likewise.
153 * scripts/gen-FAQ.pl: Likewise.
154 * manual/install.texi (Installation): Point to online location of
155 FAQ.
156 * Makefile (files-for-dist): Remove FAQ.
157 (FAQ): Remove.
158
d4c2917f
AM
1592012-05-02 Allan McRae <allan@archlinux.org>
160
161 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
162 (LDFLAGS-reldepmod5.so): Likewise.
163 (LDFLAGS-reldep6mod1.so): Likewise.
164 (LDFLAGS-reldep6mod4.so): Likewise.
165 (LDFLAGS-reldep8mod3.so): Likewise.
166 (LDFLAGS-unload4mod1.so): Likewise.
167 (LDFLAGS-unload4mod2.so): Likewise.
168 (LDFLAGS-tst-initorder): Likewise.
169 (LDFLAGS-tst-initordera2.so): Likewise.
170 (LDFLAGS-tst-initordera3.so): Likewise.
171 (LDFLAGS-tst-initordera4.so): Likewise.
172 (LDFLAGS-tst-initorderb2.so): Likewise.
173 (LDFLAGS-noload): Likewise.
174 (LDFLAGS-next): Likewise.
175 (LDFLAGS-order2mod1.so): Likewise.
176 (LDFLAGS-order2mod2.so): Likewise.
177 (LDFLAGS-tst-initorder2): Likewise.
178 (LDFLAGS-tst-initorder2a.so): Likewise.
179 (LDFLAGS-tst-initorder2b.so): Likewise.
180 (LDFLAGS-tst-initorder2c.so): Likewise.
181 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
182
d77f993f
DM
1832012-05-02 David S. Miller <davem@davemloft.net>
184
185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
186
171a70b4
PP
1872012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
188
189 [BZ #14055]
190 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
191
0be196ad
AJ
1922012-05-02 Andreas Jaeger <aj@suse.de>
193
194 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
195 since we manipulate rounding mode.
196 (CPPFLAGS-test-idouble.c): Likewise.
197 (CPPFLAGS-test-ifloat.c): Likewise.
198 (CFLAGS-test-ldouble.c): Likewise.
199 (CFLAGS-test-double.c): Likewise.
200 (CFLAGS-test-float.c): Likewise.
201 (CFLAGS-test-misc.c): Likewise.
202 (CFLAGS-test-test-fenv.c): Likewise.
203
4f9d04aa
AZ
2042012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
205
2b942cb7
RM
206 [BZ #2550]
207 [BZ #2570]
208 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
209 comparisons to determine direction to adjust input.
4f9d04aa 210
82a79e7d
RM
2112012-05-01 Roland McGrath <roland@hack.frob.com>
212
f5a01ca9
RM
213 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
214 output to the target.
215
90fe4186
RM
216 * scripts/localplt.awk: New file.
217 * elf/Makefile ($(objpfx)check-localplt): Target removed.
218 (check-localplt-CFLAGS): Variable removed.
219 ($(all-built-dso:=.jmprel)): New static pattern rule.
220 (generated): Add those targets.
221 (localplt-built-dso): New variable.
222 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
223
224 * elf/check-localplt.c: File removed.
225
82397ed6
RM
226 * scripts/check-execstack.awk: New file.
227 * elf/Makefile ($(objpfx)check-execstack): Target removed.
228 (check-execstack-CFLAGS): Variable removed.
229 ($(objpfx)check-execstack.h): Target removed.
230 ($(objpfx)execstack-default): New target.
231 (generated): Add that instead of check-execstack.h.
232 ($(all-built-dso:=.phdr)): New static pattern rule.
233 (generated): Add those targets.
234 * elf/check-execstack.c: File removed.
235
82a79e7d
RM
236 * scripts/check-textrel.awk: New file.
237 * elf/Makefile ($(objpfx)check-textrel): Target removed.
238 (check-textrel-CFLAGS): Variable removed.
239 (all-built-dso): Use := to define.o
240 ($(all-built-dso:=.dyn)): New static pattern rule.
241 (generated): Add those targets.
242 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
243 * config.make.in (READELF): New substituted variable.
244 * elf/check-textrel.c: File removed.
245
62fde54f 2462012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 247
615605c9
JM
248 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
249 allow.
250 * conform/data/ctype.h-data [C99-based standards] (isblank):
251 Expect function.
252 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
253 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
254 [ISO || ISO99 || ISO11] (*_t): Do not allow.
255 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
256 Specify type. Require positive value.
257 (EILSEQ): Likewise.
258 (ERANGE): Likewise.
259 [ISO || POSIX] (EILSEQ): Do not expect.
260 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
261 Specify type. Require positive value.
262 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
263 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
264 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
265 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
266 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
267 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
268 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
269 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
270 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
271 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
272 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
273 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
274 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
275 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
276 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
277 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
278 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
279 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
280 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
281 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
282 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
283 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
284 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
285 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
286 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
287 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
288 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
289 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
290 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
291 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
292 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
293 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
294 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
295 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
296 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
297 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
298 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
299 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
300 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
301 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
302 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
303 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
304 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
305 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
306 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
307 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
308 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
309 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
310 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
311 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
312 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
313 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
314 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
315 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
316 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
317 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
318 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
319 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
320 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
321 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
322 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
323 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
324 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
325 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
326 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
327 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
328 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
329 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
330 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
331 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
332 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
333 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
334 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
335 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
336 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
337 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
338 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
339 Require >= 2.
340 (FLT_ROUNDS): Expect as macro, not constant.
341 (FLT_MANT_DIG): Use macro-int-constant.
342 (DBL_MANT_DIG): Likewise.
343 (LDBL_MANT_DIG): Likewise.
344 (FLT_DIG): Likewise.
345 (DBL_DIG): Likewise.
346 (LDBL_DIG): Likewise.
347 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
348 (DBL_MIN_EXP): Likewise.
349 (LDBL_MIN_EXP): Likewise.
350 (FLT_MAX_EXP): Use macro-int-constant.
351 (DBL_MAX_EXP): Likewise.
352 (LDBL_MAX_EXP): Likewise.
353 (FLT_MAX_10_EXP): Likewise.
354 (DBL_MAX_10_EXP): Likewise.
355 (LDBL_MAX_10_EXP): Likewise.
356 (FLT_MAX): Use macro-constant.
357 (DBL_MAX): Likewise.
358 (LDBL_MAX): Likewise.
359 (FLT_EPSILON): Use macro-constant. Give upper bound.
360 (DBL_EPSILON): Likewise.
361 (LDBL_EPSILON): Likewise.
362 (FLT_MIN): Likewise.
363 (DBL_MIN): Likewise.
364 (LDBL_MIN): Likewise.
365 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
366 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
367 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
368 [ISO11] (FLT_HAS_SUBNORM): Likewise.
369 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
370 [ISO11] (DBL_DECIMAL_DIG): Likewise.
371 [ISO11] (FLT_DECIMAL_DIG): Likewise.
372 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
373 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
374 [ISO11] (FLT_TRUE_MIN): Likewise.
375 [ISO11] (LDBL_TRUE_MIN): Likewise.
376 [ISO || ISO99 || ISO11] (*_t): Do not allow.
377 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
378 (SCHAR_MIN): Use macro-int-constant. Specify type.
379 (SCHAR_MAX): Likewise.
380 (UCHAR_MAX): Likewise.
381 (CHAR_MIN): Likewise.
382 (CHAR_MAX): Likewise.
383 (MB_LEN_MAX): Use macro-int-constant.
384 (SHRT_MIN): Use macro-int-constant. Specify type.
385 (SHRT_MAX): Likewise.
386 (USHRT_MAX): Likewise.
387 (INT_MAX): Likewise.
388 (INT_MIN): Use macro-int-constant. Specify type. Make upper
389 bound negative.
390 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
391 bound with "U".
392 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
393 bound with "L".
394 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
395 bound negative. Suffix upper bound with "L".
396 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
397 bound with "UL".
398 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
399 Specify type.
400 [C99-based standards] (LLONG_MAX): Likewise.
401 [C99-based standards] (ULLONG_MAX): Likewise.
402 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
403 == 0.
404 [ISO11] (max_align_t): Require type.
405 [ISO || ISO99 || ISO11] (*_t): Do not allow.
406
c9140a62
JM
407 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
408 from $CFLAGS, without defining away __attribute__ calls.
409 (checknamespace): Use $CFLAGS_namespace.
410
9af0bf29
JM
411 * conform/conformtest.pl (@keywords): Only include C99 keywords
412 for standards based on C99 or C11.
413
343222a2
JM
414 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
415 Disable tests.
416 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
417 UNIX98]: Likewise.
418
661f8cf0
JM
419 * conform/conformtest.pl: Handle "macro-int-constant" and test for
420 usability of symbols in #if.
421
ee74b9cb
JM
422 * conform/conformtest.pl: If macro or constant types start
423 "promoted:", expect the symbol to be of the following type
424 promoted by the integer promotions.
62fde54f 425
aafc49b3
JM
426 * conform/conformtest.pl: Parse all "constant" and "macro" lines
427 in one place. Also handle "macro-constant".
428
fefdf574
JM
429 * conform/conformtest.pl: Only accept expected macro values with
430 "==". Parse all "macro" lines in one place.
431 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
432
f2d922fe
JM
433 * conform/conformtest.pl: Handle braced types on "constant" lines
434 instead of handling "typed-constant".
435 * conform/data/signal.h-data: Use "constant" instead of
436 "typed-constant".
437
d22956c9
JM
438 * conform/conformtest.pl: Handle "optional-" at start of lines in
439 one place rather than duplicating several cases. Handle each
440 format of "macro" line with initial "optional-".
441
028e2e38
JM
442 * conform/conformtest.pl: Only accept expected constant or
443 optional-constant values with "==". Parse all "constant" lines in
444 one place. Parse all "optional-constant" lines in one place.
445 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
446 * conform/data/fmtmsg.h-data: Likewise.
447 * conform/data/netinet/in.h-data: Likewise.
448 * conform/data/tar.h-data: Likewise.
449 * conform/data/limits.h-data: Use "==" form on "constant" and
450 "optional-constant" lines.
451
1b8f2850
JM
452 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
453 Use -std=c99 for XOPEN2K.
454 (@knownproblems): Remove.
455 (newtoken): Don't check %isknown.
456
a05a144b
JM
457 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
458 Do not expect macro.
459 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
460 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
461 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
462 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
463 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
464 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
465 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
466 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
467 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
468 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
469 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
470 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
471 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
472 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
473 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
474 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
475 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
476 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
477 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
478 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
479 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
480 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
481 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
482 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
483 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
484 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
485 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
486 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
487 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
488 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
489 [XPG3] (acosh): Likewise.
490 [XPG3] (asinh): Likewise.
491 [XPG3] (atanh): Likewise.
492 [XPG3] (cbrt): Likewise.
493 [XPG3] (expm1): Likewise.
494 [XPG3] (ilogb): Likewise.
495 [XPG3] (log1p): Likewise.
496 [XPG3] (logb): Likewise.
497 [XPG3] (nextafter): Likewise.
498 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
499 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
500 [XPG3] (remainder): Likewise.
501 [XPG3] (rint): Likewise.
502 [XPG3 || XPG4 || UNIX98] (round): Likewise.
503 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
504 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
505 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
506 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
507 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
508 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
509 [UNIX98 || XOPEN2K] (scalb): Expect.
510 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
511 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
512 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
513 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
514 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
515 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
516 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
517 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
518 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
519 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
520 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
521 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
522 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
523 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
524 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
525 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
526 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
527 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
528 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
529 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
530 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
531 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
532 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
533 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
534 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
535 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
536 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
537 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
538 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
539 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
540 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
541 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
542 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
543 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
544 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
545 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
546 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
547 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
548 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
549 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
550 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
551 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
552 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
553 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
554 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
555 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
556 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
557 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
558 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
559 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
560 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
561 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
562 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
563 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
564 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
565 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
566 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
567 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
568 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
569 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
570 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
571 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
572 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
573 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
574 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
575 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
576 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
577 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
578 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
579 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
580 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
581 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
582 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
583 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
584 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
585 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
586 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
587 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
588 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
589 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
590 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
591 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
592 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
593 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
594 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
595 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
596 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
597 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
598 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
599 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
600 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
601 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
602 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
603 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
604 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
605 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
606 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
607 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
608 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
609 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
610 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
611 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
612 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
613 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
614 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
615 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
616 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
617 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
618 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
619 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
620 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
621 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
622 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
623 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
624 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
625 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
626 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
627 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
628 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
629 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
630 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
631 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
632 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
633 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
634 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
635 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
636 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
637 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
638 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
639 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
640 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
641 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
642 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
643 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
644 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
645 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
646 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
647
73c5ebe3
JM
648 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
649 _XOPEN_SOURCE_EXTENDED for XPG4.
650
39c33b6c
JM
651 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
652
62fde54f
JM
653 * Makeconfig (localtime): Remove variable.
654 (inst_localtime-file): Likewise.
655
0741d64c
AS
6562012-05-01 Andreas Schwab <schwab@linux-m68k.org>
657
658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
659 Update.
660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
661 Update.
662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
663 Update.
664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
665 Update.
666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
667 Update.
668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
669 Update.
670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
671 Update.
672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
673 Update.
674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
675 Update.
676
7cb029ee
JM
6772012-05-01 Joseph Myers <joseph@codesourcery.com>
678
679 [BZ #2550]
680 [BZ #2570]
681 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
682 comparisons to determine direction to adjust input.
683 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
684 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
685 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
686 Likewise.
687 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
688 Likewise.
689 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
690 Likewise.
691 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
692 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
693 Likewise.
694 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
695 Likewise.
696 * math/libm-test.inc (nexttoward_test): Add more tests.
697
412bd966
AS
6982012-05-01 Andreas Schwab <schwab@linux-m68k.org>
699
700 [BZ #14040]
701 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
702 in version GLIBC_2.1, not GLIBC_2.0.
703 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
704 Likewise.
705
9568c0c2
JM
7062012-04-30 Joseph Myers <joseph@codesourcery.com>
707
adfbc8ac
JM
708 [BZ #13942]
709 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
710 (1 - x) * (1 + x).
711 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
712 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
713 * math/libm-test.inc (acos_test): Add more tests.
714 (asin_test): Likewise.
715 * sysdeps/i386/fpu/libm-test-ulps: Update.
716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
717
5ba3cc69
JM
718 [BZ #14034]
719 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
720 of square root.
721 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
722 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
723 * math/libm-test.inc (acos_test_tonearest): New function.
724 (acos_test_towardzero): Likewise.
725 (acos_test_downward): Likewise.
726 (acos_test_upward): Likewise.
727 (asin_test_tonearest): Likewise.
728 (asin_test_towardzero): Likewise.
729 (asin_test_downward): Likewise.
730 (asin_test_upward): Likewise.
731 (main): Call the new functions.
732 * sysdeps/i386/fpu/libm-test-ulps: Update.
733 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
734
9568c0c2
JM
735 [BZ #13884]
736 [BZ #13924]
737 * math/e_exp10.c: Include <float.h>.
738 (__ieee754_exp10): Handle underflow here rather than multiplying
739 large negative argument by M_LN10.
740 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
741 of __ieee754_expf.
742 * math/e_exp10l.c: Include <float.h>.
743 (__ieee754_exp10l): Handle underflow here rather than multiplying
744 large negative argument by M_LN10l.
745 * math/libm-test.inc (exp10_test): Add another test. Do not allow
746 spurious overflow exception on underflow.
747
5ac3ea17
MP
7482012-04-29 Marek Polacek <polacek@redhat.com>
749
750 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
751 (__fortify_function): New macro.
752 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
753 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
754 __extern_always_inline.
755 * libio/bits/stdio2.h: Likewise.
756 * libio/bits/stdio.h: Likewise.
757 * string/string.h: Likewise.
758 * string/bits/string3.h: Likewise.
759 * include/stdio.h: Likewise.
760 * stdlib/bits/stdlib.h: Likewise.
761 * stdlib/stdlib.h: Likewise.
762 * rt/bits/mqueue2.h: Likewise.
763 * rt/mqueue.h: Likewise.
764 * posix/bits/unistd.h: Likewise.
765 * posix/unistd.h: Likewise.
766 * io/bits/poll2.h: Likewise.
767 * io/bits/fcntl2.h: Likewise.
768 * io/fcntl.h: Likewise.
769 * io/sys/poll.h: Likewise.
770 * misc/bits/syslog.h: Likewise.
771 * misc/bits/syslog-ldbl.h: Likewise.
772 * misc/sys/syslog.h: Likewise.
773 * socket/bits/socket2.h: Likewise.
774 * socket/sys/socket.h: Likewise.
775 * debug/tst-chk1.c: Likewise.
776 * wcsmbs/bits/wchar2.h: Likewise.
777 * wcsmbs/bits/wchar-ldbl.h: Likewise.
778 * wcsmbs/wchar.h: Likewise.
779
ecf0ebfb
AJ
7802012-04-29 Andreas Jaeger <aj@suse.de>
781
782 * Makerules (tests): Remove enable-check-abi protection.
783 (check-abi-warn): Remove.
784 (check-abi-%): Remove check-abi-warn usage.
785
786 * configure.in: Remove check-abi configure option.
787 * configure: Regenerated.
788 * config.make.in (enable-check-abi): Remove.
789
6d5c57fa
AS
7902012-04-28 Andreas Schwab <schwab@linux-m68k.org>
791
24c5d07e 792 [BZ #14033]
ded5180a
AS
793 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
794 double functions to double *_finite functions.
795
7e0d315d
AS
796 [BZ #13941]
797 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
798 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
799 LDBL_MIN_EXP.
800 * stdio-common/Makefile (tests): Add tst-sprintf3.
801 * stdio-common/tst-sprintf3.c: New file.
802
6d5c57fa
AS
803 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
804 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
805
0749ff8b
JM
8062012-04-28 Joseph Myers <joseph@codesourcery.com>
807
808 * conform/conformtest.pl: Remove duplicate typed-constant
809 handling.
810
8dbd5d7b
DM
8112012-04-28 David S. Miller <davem@davemloft.net>
812
813 * Makerules (%.abilist): Add vpath on sysdep_dirs.
814 (check-abi-%): Remove AWK script prerequisite and explicit
815 abilist directory.
816 (check-abi): Rewrite to just diff the symlist with the abilist.
817 (config-tls, config-abi-config): Delete, no longer used.
818 (update-abi-%): Remove AWK script and explicit abilist directory.
819 (update-abi): Rewrite to simply compare and conditionally copy the
820 symlist and the sysdep abilist file. Remove update-abi-config
821 checks.
822 * abilist/ld.abilist: Remove.
823 * abilist/libBrokenLocale.abilist: Remove.
824 * abilist/libanl.abilist: Remove.
825 * abilist/libcrypt.abilist: Remove.
826 * abilist/libdl.abilist: Remove.
827 * abilist/librt.abilist: Remove.
828 * abilist/libthread_db.abilist: Remove.
829 * abilist/libutil.abilist: Remove.
830 * scripts/extract-abilist.awk: Remove.
831 * scripts/merge-abilist.awk: Remove.
832 * sysdeps/generic/libcidn.abilist: New file.
833 * sysdeps/generic/libnss_compat.abilist: New file.
834 * sysdeps/generic/libnss_db.abilist: New file.
835 * sysdeps/generic/libnss_dns.abilist: New file.
836 * sysdeps/generic/libnss_files.abilist: New file.
837 * sysdeps/generic/libnss_hesiod.abilist: New file.
838 * sysdeps/generic/libnss_nis.abilist: New file.
839 * sysdeps/generic/libnss_nisplus.abilist: New file.
840 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
841 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
842 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
843 file.
844 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
845 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
846 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
847 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
848 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
849 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
850 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
851 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
852 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
853 file.
854 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
855 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
856 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
857 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
858 file.
859 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
860 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
861 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
862 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
863 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
864 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
865 file.
866 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
867 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
868 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
869 file.
870 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
871 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
872 New file.
873 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
874 New file.
875 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
876 New file.
877 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
878 New file.
879 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
880 New file.
881 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
882 New file.
883 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
884 New file.
885 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
886 New file.
887 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
888 New file.
889 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
890 New file.
891 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
892 New file.
893 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
894 New file.
895 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
896 New file.
897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
898 file.
899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
900 New file.
901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
902 New file.
903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
904 file.
905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
906 New file.
907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
908 New file.
909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
910 file.
911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
912 New file.
913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
914 New file.
915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
916 New file.
917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
918 New file.
919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
920 New file.
921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
922 New file.
923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
924 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
925 file.
926 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
927 New file.
928 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
929 file.
930 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
931 file.
932 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
933 file.
934 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
935 file.
936 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
937 file.
938 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
939 New file.
940 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
941 file.
942 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
943 file.
944 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
945 New file.
946 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
947 file.
948 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
949 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
950 file.
951 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
952 New file.
953 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
954 file.
955 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
956 file.
957 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
958 file.
959 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
960 file.
961 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
962 file.
963 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
964 New file.
965 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
966 file.
967 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
968 file.
969 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
970 New file.
971 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
972 file.
973 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
974 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
975 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
976 file.
977 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
978 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
979 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
980 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
981 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
982 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
983 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
984 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
985 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
986 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
987 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
988 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
989 file.
990 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
991 New file.
992 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
993 file.
994 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
995 file.
996 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
997 file.
998 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
999 file.
1000 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1001 file.
1002 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1003 New file.
1004 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1005 New file.
1006 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1007 file.
1008 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1009 New file.
1010 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1011 file.
1012 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1013 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1014 file.
1015 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1016 New file.
1017 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1018 file.
1019 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1020 file.
1021 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1022 file.
1023 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1024 file.
1025 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1026 file.
1027 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1028 New file.
1029 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1030 New file.
1031 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1032 file.
1033 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1034 New file.
1035 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1036 file.
1037
41d73a1b
JM
10382012-04-28 Joseph Myers <joseph@codesourcery.com>
1039
1040 * conform/conformtest.pl: Fix typo in handling typed-constant from
1041 allow-header.
1042
28aeeda4
JM
10432012-04-27 Joseph Myers <joseph@codesourcery.com>
1044
adae8f5e
JM
1045 * README: Cut down references to pre-2.6 Linux kernels and
1046 Linuxthreads. Update lists of configurations in libc and ports
1047 and sort alphabetically. Say "or newer" with Linux kernel version
1048 requirements.
1049
28aeeda4
JM
1050 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1051
a462cb63
RA
10522012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1053
1054 [BZ #887]
1055 * math/libm-test.inc (logb_test_downward): New test to expose
1056 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1057 rounding mode.
1058
6ad3493e
JM
10592012-04-27 Joseph Myers <joseph@codesourcery.com>
1060
1061 [BZ #14027]
1062 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1063 to be done.
1064 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1065 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1066
2ce4f015
JM
10672012-04-26 Joseph Myers <joseph@codesourcery.com>
1068
5aeb141a
JM
1069 * sysdeps/unix/i386/brk.S: Remove file.
1070 * sysdeps/unix/i386/dl-brk.S: Likewise.
1071 * sysdeps/unix/i386/pipe.S: Likewise.
1072 * sysdeps/unix/i386/sigreturn.S: Likewise.
1073 * sysdeps/unix/i386/syscall.S: Likewise.
1074 * sysdeps/unix/i386/vfork.S: Likewise.
1075 * sysdeps/unix/i386/wait.S: Likewise.
1076
7143acae
JM
1077 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1078 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1079
2ce4f015
JM
1080 * configure.in (arm*-none*): Do not allow without
1081 --enable-hacker-mode.
1082 (netbsd*): Remove case setting base_os.
1083 (386bsd*): Likewise.
1084 (freebsd*): Likewise.
1085 (bsdi*): Likewise.
1086 (osf*): Likewise.
1087 (sunos*): Likewise.
1088 (ultrix*): Likewise.
1089 (newsos*): Likewise.
1090 (dynix*): Likewise.
1091 (*bsd*): Likewise.
1092 (sysv*): Likewise.
1093 (isc*): Likewise.
1094 (esix*): Likewise.
1095 (sco*): Likewise.
1096 (minix*): Likewise.
1097 (irix4*): Likewise.
1098 (irix6*): Likewise.
1099 (solaris[2-9]*): Likewise.
1100 (none): Likewise.
1101 * configure: Regenerated.
1102
0ac229c8
AZ
11032012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1104
1105 [BZ #11521]
1106 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1107 overflow or cancellation in calculating denominator.
1108 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1109 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1110 down expression to avoid unexpected rounding in newer GCCs.
1111 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1112
33f244f4
DM
11132012-04-26 David S. Miller <davem@davemloft.net>
1114
1115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1116 long-double compat symbols.
1117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1122 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1130
cfa1f3e8
DM
11312012-04-25 David S. Miller <davem@davemloft.net>
1132
1133 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1134 HWCAP_* values only after the memory barriers have been defined.
1135 (atomic_full_barrier): Define.
1136 (atomic_read_barrier): Define.
1137 (atomic_write_barrier): Define.
1138
6e236b92
SP
11392012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1140
1141 * shlib-versions: Add libgcc_s version information.
1142 * sysdeps/generic/libgcc_s.h: Remove.
1143 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1144 libgcc_s.h.
1145 * sysdeps/gnu/unwind-resume.c: Likewise.
1146 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1147
aab39a09
DM
11482012-04-25 David S. Miller <davem@davemloft.net>
1149
1150 * sysdeps/unix/sparc/brk.S: Delete.
1151 * sysdeps/unix/sparc/dl-brk.S: Delete.
1152 * sysdeps/unix/sparc/pipe.S: Delete.
1153 * sysdeps/unix/sparc/sysdep.S: Delete.
1154 * sysdeps/unix/sparc/sysdep.h: Delete.
1155 * sysdeps/unix/sparc/vfork.S: Delete.
1156 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1157 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1158 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1159 ret_ERRVAL, r0, r1, MOVE): Define.
1160 (JUMPTARGET): Remove.
1161 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1162 sysdeps/unix/sparc/sysdep.h
1163 (ENTRY, END): Remove.
1164 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1165
a3cc4f48
JM
11662012-04-25 Joseph Myers <joseph@codesourcery.com>
1167
2ed8cda2
JM
1168 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1169 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1170 -DIS_IN_build.
1171
35d76d59
JM
1172 * timezone/README: Update upstream location and email address for
1173 tzcode and tzdata.
1174 * timezone/zdump.c: Update from tzcode 2012b.
1175 * timezone/zic.c: Likewise.
1176
a3cc4f48
JM
1177 * configure.in (libc_cv_as_needed): Remove test.
1178 * configure: Regenerated.
1179 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1180 conditional definition.
1181 [$(have-as-needed) != yes] (no-as-needed): Likewise.
1182 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1183 * config.make.in (have-as-needed): Remove variable.
1184
ceab42c3
SP
11852012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1186 Paul Pluzhnikov <ppluzhnikov@google.com>
1187
1188 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1189 strings correctly.
1190
3ce2865f
CLT
11912012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
1192
1193 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1194 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1195 * sysdeps/sh/strlen.S: Likewise.
1196
f37e0d68
JM
11972012-04-24 Joseph Myers <joseph@codesourcery.com>
1198
ae186e9a
JM
1199 * sysdeps/unix/fork.S: Remove file.
1200 * sysdeps/unix/i386/fork.S: Likewise.
1201 * sysdeps/unix/sparc/fork.S: Likewise.
1202
b96914af
JM
1203 * sysdeps/unix/system.c: Remove file.
1204 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1205
f37e0d68
JM
1206 * sysdeps/unix/getegid.S: Remove file.
1207 * sysdeps/unix/geteuid.S: Likewise.
1208
87ef29ca
RM
12092012-04-24 Roland McGrath <roland@hack.frob.com>
1210
83bcd236
RM
1211 * scripts/check-localplt.awk: New file.
1212 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1213 of diff.
1214 * scripts/data/localplt-generic.data: Add a comment.
1215
87ef29ca
RM
1216 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1217 NODE when __dir_mkfile failed.
1218 * sysdeps/mach/hurd/symlinkat.c: Likewise.
1219 Reported by Ludovic Courtès <ludo@gnu.org>.
1220
e5a6e567
AJ
12212012-04-24 Andreas Jaeger <aj@suse.de>
1222
1223 * Makerules (common-clean): Also remove gen-as-const-headers
1224 files.
1225
c1820385
JM
12262012-04-24 Joseph Myers <joseph@codesourcery.com>
1227
1228 * Makerules (native-compile): Do not change working directory for
1229 build. Use $(OUTPUT_OPTION) in command.
1230 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1231
94e02fc4
AZ
12322012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1233
1234 [BZ #13886]
1235 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1236 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1237 * math/libm-test.inc (floor_test): Add more tests.
1238 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1239
3a533ca3
JM
12402012-04-24 Joseph Myers <joseph@codesourcery.com>
1241
940ab4b3
JM
1242 * sysdeps/unix/getdents.c: Remove file.
1243 * sysdeps/unix/sysv/getdents.c: Likewise.
1244 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1245
90e037bd
JM
1246 * sysdeps/unix/syscalls.list (madvise): Add syscall from
1247 sysdeps/unix/mman/syscalls.list.
1248 (mmap): Likewise.
1249 (mprotect): Likewise.
1250 (msync): Likewise.
1251 (munmap): Likewise.
1252 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1253 * sysdeps/unix/mman/syscalls.list: Remove.
1254 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1255
3a533ca3
JM
1256 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1257 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1258 * configure: Regenerated.
1259 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1260 $(libgcc_s_suffix).
1261 * config.make.in (libgcc_s_suffix): Remove variable.
1262
1ad743de
JM
12632012-04-23 Joseph Myers <joseph@codesourcery.com>
1264
4ad451e2
JM
1265 * sysdeps/unix/sysv/gethostname.c: Move to ...
1266 * sysdeps/posix/gethostname.c: ... here.
1267
5e37ce39
JM
1268 * sysdeps/unix/execve.S: Remove file.
1269
1ad743de
JM
1270 * sysdeps/unix/_exit.S: Remove file.
1271
4e681b5b
AJ
12722012-04-23 Andreas Jaeger <aj@suse.de>
1273
1274 [BZ #13739]
1275 * manual/Makefile: Remove make dist support, there's no
1276 need for a stand-alone documentation tar ball.
1277 (TEXI2DVI): Define always, it's not in Makeconfig.
1278 (dist): Removed.
1279 (tar-it): Removed.
1280 (edition): Removed.
1281 (glibc-doc-$(edition).tar): Removed
1282 (%.Z): Removed.
1283 (%.gz): Removed.
1284 (%.uu): Removed.
1285 (ETAGS): Remove, it's in Makeconfig.
1286 (move-if-change): Remove, it's in Makeconfig.
1287
c0baea34
PE
12882013-04-23 Paul Eggert <eggert@cs.ucla.edu>
1289
1290 [BZ #13970]
1291 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
1292 (strtod, strtof, strtold, strtol, strtoul, strtoq)
1293 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
1294 (strtod_l, strtof_l, strtold_l): Remove __wur.
1295 It is not necessarily an error to ignore strtol's return value.
1296 One can reliably look at the stored endptr to decide whether
1297 the number had valid syntax.
1298
7c0616fa
AJ
12992012-04-21 Andreas Jaeger <aj@suse.de>
1300
803cb6b7 1301 [BZ #13739]
7c0616fa
AJ
1302 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
1303
b0fe253f
JM
13042012-04-21 Joseph Myers <joseph@codesourcery.com>
1305
1306 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
1307 * sysdeps/unix/sysv/Versions: Remove file.
1308
8280f22d
MT
13092012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
1310
1311 [BZ #13927]
1312 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1313
75ce411f 13142012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
1315
1316 [BZ #7064]
1317 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
1318 version from __vm86.
1319
097d59fa
JM
13202012-04-20 Joseph Myers <joseph@codesourcery.com>
1321
a90f3bcb
JM
1322 * sysdeps/unix/common/lxstat.c: Remove file.
1323 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
1324
edc7ea78
JM
1325 * sysdeps/unix/sysv/Makefile: Remove file.
1326
cb78c221
JM
1327 * sysdeps/unix/sysv/direct.h: Remove file.
1328
efa6a45f
JM
1329 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
1330 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
1331 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
1332 * sysdeps/unix/sysv/bits/signum.h: Likewise.
1333 * sysdeps/unix/sysv/bits/stat.h: Likewise.
1334 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
1335 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
1336
9c9f2d0c
JM
1337 * sysdeps/unix/sysv/setrlimit.c: Remove file.
1338
4541c83b
JM
1339 * sysdeps/unix/xmknod.c: Remove file.
1340 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
1341
f5d153a0
JM
1342 * sysdeps/unix/sysv/settimeofday.c: Remove file.
1343
aa746595
JM
1344 * sysdeps/unix/sysv/i386/time.S: Remove file.
1345
cce5905e
JM
1346 * sysdeps/unix/fxstat.c: Remove file.
1347 * sysdeps/unix/xstat.c: Likewise.
1348 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
1349
37fa3841
JM
1350 * sysdeps/unix/sysv/sigaction.c: Remove file.
1351
ff1962a3
JM
1352 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
1353 (sysdep_headers): Remove variable.
1354 [termio.h not in sysdep_headers] (generated): Likewise.
1355 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
1356 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
1357 * sysdeps/unix/sysv/tcdrain.c: Likewise.
1358 * sysdeps/unix/sysv/tcflow.c: Likewise.
1359 * sysdeps/unix/sysv/tcflush.c: Likewise.
1360 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
1361 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
1362 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
1363 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
1364 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
1365
e7740d31
JM
1366 * sysdeps/unix/siglist.c: Remove file.
1367
ee06f18b
JM
1368 * sysdeps/unix/getppid.S: Remove file.
1369
097d59fa
JM
1370 * sysdeps/unix/mkdir.c: Remove file.
1371 * sysdeps/unix/rmdir.c: Likewise.
1372
ff3d51ec
AS
13732012-04-19 Andreas Schwab <schwab@linux-m68k.org>
1374
1375 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
1376 ERR_MAX value.
1377 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
1378 errlist-compat value.
1379
50f81fd7
DM
13802012-04-18 David S. Miller <davem@davemloft.net>
1381
1382 * sysdeps/generic/memcopy.h (reg_char): Delete.
1383 * debug/strcat_chk.c: Use char, not reg_char.
1384 * debug/strcpy_chk.c: Likewise.
1385 * debug/strncat_chk.c: Likewise.
1386 * debug/strncpy_chk.c: Likewise.
1387 * string/memchr.c: Likewise.
1388 * string/memrchr.c: Likewise.
1389 * string/rawmemchr.c: Likewise.
1390 * string/strcat.c: Likewise.
1391 * string/strchr.c: Likewise.
1392 * string/strchrnul.c: Likewise.
1393 * string/strcmp.c: Likewise.
1394 * string/strcpy.c: Likewise.
1395 * string/strncat.c: Likewise.
1396 * string/strncmp.c: Likewise.
1397 * string/strncpy.c: Likewise.
1398
8ff41c46
WS
13992012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1400
1401 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
1402 __builtin_memcopy is called when src and dest ranges are known to not
1403 overlap.
1404
6b652f46
WS
14052012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1406
1407 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
1408 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
1409 fwd_align_merge macro call.
1410 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
1411 bwd_align_merge macro call.
1412 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1413
b282631e
WS
14142012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1415
1416 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
1417 bwd_align_merge macros.
1418 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
1419 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
1420 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1421
95aa737c
DM
14222012-04-18 David S. Miller <davem@davemloft.net>
1423
1424 * sysdeps/sparc/sparc64/memcopy.h: Delete.
1425
7a99a614
AJ
14262012-04-18 Andreas Jaeger <aj@suse.de>
1427
1428 [BZ# 6794]
1429 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
1430 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
1431 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1432
1433 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
1434 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
1435 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1436
1437 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
1438 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
1439 Adjust for changed ldbl-128 files.
1440
1441 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
1442 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
1443 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1444
e5270c23
DM
14452012-04-17 David S. Miller <davem@davemloft.net>
1446
1447 * sysdeps/sparc/sparc32/memcopy.h: Delete.
1448
fb5e92c9
AS
14492012-04-17 Andreas Schwab <schwab@linux-m68k.org>
1450
1451 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
1452 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
1453 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
1454 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
1455 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1456 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
1457
76da7265
AZ
14582012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1459
1460 [BZ #6794]
1461 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
1462 * math/libm-test.inc: Add ilogb errno and exception tests.
1463 * math/w_ilogb.c: New file: ilogb wrapper.
1464 * math/w_ilogbf.c: New file: ilogbf wrapper.
1465 * math/w_ilogbl.c: New file: ilogbl wrapper.
1466 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
1467 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
1468 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
1469 exception being thrown with 0.0 as argument.
1470 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
1471 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
1472 exception being thrown with 0.0 as argument.
1473 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
1474 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1475 exception being thrown with 0.0 as argument.
1476 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
1477 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1478 exception being thrown with 0.0 as argument.
1479 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
1480 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 1481 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
1482 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
1483 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
1484 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
1485 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
1486 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
1487 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
1488
0396e69d
PB
14892012-04-17 Petr Baudis <pasky@ucw.cz>
1490
1491 * include/sys/uio.h: Change __vector to __iovec to avoid clash
1492 with altivec.
1493
750b5926
MP
14942012-04-16 Marek Polacek <polacek@redhat.com>
1495
1496 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
1497
751728a1
MP
14982012-04-16 Marek Polacek <polacek@redhat.com>
1499
1500 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
1501 operands of fdivp instruction.
1502
34a27407
L
15032012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1504
1505 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
1506 * elf/tst-auditmod3b.c: Likewise.
1507 * elf/tst-auditmod4b.c: Likewise.
1508 * elf/tst-auditmod5b.c: Likewise.
1509 * elf/tst-auditmod6b.c: Likewise.
1510 * elf/tst-auditmod6c.c: Likewise.
1511 * elf/tst-auditmod7b.c: Likewise.
1512 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
1513 * sysdeps/x86_64/preconfigure.in: Likewise.
1514 * sysdeps/x86_64/preconfigure: Regenerated.
1515
7e73e17d
L
15162012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1517
1518 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
1519 __ILP32__.
1520
c7a6ab72
AB
15212012-04-13 Antoine Balestrat <merkil33@gmail.com>
1522
1523 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1524 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
1525
a9e8e0e0
CL
15262012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
1527
1528 [BZ #13973]
1529 * locale/iso-639.def: Fix gl language name. Spotted by
1530 Yaron Shahrabani.
1531
ec98af7d
RM
15322012-04-12 Roland McGrath <roland@hack.frob.com>
1533
1534 [BZ #2074]
1535 * libio/libio.h (__io_write_fn): Update comment.
1536
247c3ede
PB
15372012-04-12 Petr Baudis <pasky@ucw.cz>
1538
1539 [BZ #2074]
1540 * stdio.texi (Hook Functions): The user provided writer function
1541 is not allowed to return -1.
1542
55939d6d
DM
15432012-04-11 David S. Miller <davem@davemloft.net>
1544
1545 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1546
90020f5a
MF
15472012-04-11 Mike Frysinger <vapier@gentoo.org>
1548
1549 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
1550 Add a leading slash to rtkaio.
1551
288f9098
JM
15522012-04-11 Jim Meyering <meyering@redhat.com>
1553
90020f5a
MF
1554 [BZ #11959]
1555 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
1556 It is not necessarily an error to ignore fwrite's return
1557 value. One can reliably use ferror to test for errors after
1558 the fact.
288f9098 1559
4be2b570
L
15602012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1561
1562 * bits/types.h (__snseconds_t): New type.
1563 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
1564
1565 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
1566 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1567 (__SNSECONDS_T_TYPE): Likewise.
1568 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1569 (__SNSECONDS_T_TYPE): Likewise.
1570 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1571 (__SNSECONDS_T_TYPE): Likewise.
1572
288f9098 15732012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
1574
1575 [BZ #2636]
1576 * manual/time.texi (Processor Time): Return type of times is
1577 elapsed real time since an arbitrary point in the past.
1578 (CPU Time): Move CLK_TCK from here...
1579 (Processor Time): ...to here. Correct description.
1580 * manual/conf.texi (Constants for Sysconf): Correct description of
1581 _SC_CLK_TCK.
1582
d7dd4413
DM
15832012-04-10 David S. Miller <davem@davemloft.net>
1584
1585 [BZ #13967]
1586 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
1587 where the is a gap between DT_REL(A) and DT_JMPREL.
1588
b46068fc
L
15892012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1590
1591 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
1592 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1593 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1594
73d65cc3
SP
15952012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1596
1597 * elf/dl-support.c (_dl_inhibit_cache): New variable.
1598 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
1599 (dl_main): Handle --inhibit-cache.
1600 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
1601 _dl_inhibit_cache.
1602 * elf/dl-load.c (_dl_map_object): Use it.
1603 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
1604
bcc8d661
JM
16052012-04-09 Joseph Myers <joseph@codesourcery.com>
1606
8f9a2fae
JM
1607 [BZ #13872]
1608 * sysdeps/i386/fpu/e_powl.S (p78): New object.
1609 (__ieee754_powl): Saturate large exponents rather than testing for
1610 overflow of y*log2(x).
1611 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1612 * math/libm-test.inc (pow_test): Do not permit spurious overflow
1613 exceptions.
1614
bcc8d661
JM
1615 [BZ #11521]
1616 * math/s_ctan.c: Include <float.h>.
1617 (__ctan): Avoid internal overflow or cancellation in calculating
1618 denominator.
1619 * math/s_ctanf.c: Likewise.
1620 * math/s_ctanl.c: Likewise.
1621 * math/s_ctanh.c: Likewise.
1622 * math/s_ctanhf.c: Likewise.
1623 * math/s_ctanhl.c: Likewise.
1624 * math/libm-test.inc (ctan_test): Add more tests.
1625 (ctanh_test): Likewise.
1626 * sysdeps/i386/fpu/libm-test-ulps: Update.
1627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1628
823fbbb4
AJ
16292012-04-09 Andreas Jaeger <aj@suse.de>
1630
03879793
AJ
1631 [BZ #6894]
1632 * manual/filesys.texi (Directory Entries): Mention that d_namlen
1633 is an optional BSD extension.
1634
823fbbb4
AJ
1635 [BZ #10254]
1636 * manual/stdio.texi (Opening Streams): Document additional fopen
1637 parameters.
1638
8de131cb
RM
16392012-04-09 Roland McGrath <roland@hack.frob.com>
1640
1641 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
1642 %eax without telling the compiler.
1643
c0ed9d7d
CD
16442012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
1645
1646 [BZ # 13963]
1647 * manual/install.texi: Use sourceware.org.
1648
c483f6b4
JM
16492012-04-09 Joseph Myers <joseph@codesourcery.com>
1650
d7dd9453
JM
1651 [BZ #13873]
1652 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
1653 (__ieee754_pow): Generate overflow and underflow using huge*huge
1654 and tiny*tiny rather than just returning constant infinity or zero
1655 for large exponents.
1656 * math/libm-test.inc (pow_test): Require overflow exceptions for
1657 applicable cases of large exponents.
1658
c483f6b4
JM
1659 [BZ #706]
1660 * sysdeps/i386/fpu/e_pow.S (p10): New object.
1661 (__ieee754_pow): Use iterative multiplication algorithm only for
1662 integer exponents with absolute value below 1024. Check for odd
1663 integer exponents when using algorithm for real exponents.
1664 * math/libm-test.inc (pow_test): Add more tests.
1665 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1666
d2de7579
JM
16672012-04-08 Joseph Myers <joseph@codesourcery.com>
1668
1669 [BZ #13705]
1670 * math/libm-test.inc (exp_test): Do not allow overflow exception
1671 on underflow test.
1672
f77f1232
AJ
16732012-04-08 Aurelien Jarno <aurelien@aurel32.net>
1674
1675 [BZ #13705]
1676 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
1677 instead of __kernel_standard_f.
1678
3884932b
MF
16792012-04-08 Mike Frysinger <vapier@gentoo.org>
1680
1681 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
1682 * sysdeps/x86_64/memset_chk.S: Likewise.
1683
54472e9c
AJ
16842012-04-08 Andreas Jaeger <aj@suse.de>
1685
6ab0fbfc
AJ
1686 [BZ #10153]
1687 * manual/startup.texi (Environment Access): Describe return value
1688 for putenv and setenv.
1689
61efba8c
AJ
1690 [BZ #6895]
1691 * manual/filesys.texi (Directory Entries): Add description for
1692 DT_LNK.
1693
95c3f29a
AJ
1694 [BZ #6890]
1695 * manual/filesys.texi (Directory Entries): Clarify that it's file
1696 system not operating system in the description of DT_UNKNOWN.
1697
54472e9c
AJ
1698 [BZ #6578]
1699 * manual/syslog.texi (closelog): Fix reference, it's openlog.
1700
624254b1
SC
17012012-04-08 Stephen Compall <s11@member.fsf.org>
1702
1703 [BZ #6649]
1704 * manual/llio.texi (Opening and Closing Files): Add cross
1705 reference to explain mode argument.
1706
1e4920e0
MF
17072012-04-07 Mike Frysinger <vapier@gentoo.org>
1708
1709 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
1710 * sysdeps/x86_64/memset_chk.S: Likewise.
1711
5ed848f3
DM
17122012-04-07 David S. Miller <davem@davemloft.net>
1713
1714 * elf/elf.h (R_SPARC_WDISP10): Define.
1715 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
1716 R_SPARC_SIZE32.
1717 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
1718 R_SPARC_SIZE64 and R_SPARC_H34.
1719
96154cd8
CD
17202012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
1721
1722 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
1723 conditions and remove no longer applicable assertion.
1724
9904dc47
L
17252012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1726
1727 * bits/byteswap.h: Include <features.h>.
1728 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1729 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1730
f8887d0a
L
17312012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1732
1733 * bits/byteswap.h (__bswap_16): Removed.
1734 Include <bits/byteswap-16.h> to get __bswap_16.
1735 * sysdeps/i386/bits/byteswap.h: Likewise.
1736 * sysdeps/s390/bits/byteswap.h: Likewise.
1737 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1738 * bits/byteswap-16.h: New file.
1739 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1740 * sysdeps/s390/bits/byteswap-16.h: Likewise.
1741 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
1742 * string/Makefile (headers): Add bits/byteswap-16.h.
1743
62470f60
PP
17442012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1745
1746 [BZ #13895]
1747 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
1748 extra indirection.
1749 * nss/Makefile (tests-static, tests): Add tst-nss-static.
1750 * nss/tst-nss-static.c: New.
1751
4dad7bab
RM
17522012-04-06 Robert Millan <rmh@gnu.org>
1753
1754 [BZ #6486]
1755 * manual/llio.texi (File Position Primitive): lseek
1756 refers to WHENCE when it really means OFFSET.
1757
e9142a17
AJ
17582012-04-06 Andreas Jaeger <aj@suse.de>
1759
2c040eff
AJ
1760 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
1761 strncmp declarations.
1762
e9142a17
AJ
1763 * abilist/libc.abilist: Add __poll and __ppoll.
1764
ff9f1c5f
DM
17652012-04-05 David S. Miller <davem@davemloft.net>
1766
dcd2ae90
DM
1767 * scripts/check-local-headers.sh: Accept a host triplet in the
1768 path matched by the exclude regexp.
1769
993eb054
DM
1770 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
1771 definition.
1772 * sysdeps/powerpc/powerpc32/dl-machine.h
1773 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
1774 * sysdeps/s390/s390-32/dl-machine.h
1775 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1776 * sysdeps/sparc/sparc32/dl-machine.h
1777 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1778 * sysdeps/sparc/sparc64/dl-machine.h
1779 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1780
ff9f1c5f
DM
1781 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
1782 lazy binding.
48e2e132 1783 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
1784 undefined symbol errors.
1785
48e2e132 1786 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
1787 DT_NEEDED entries.
1788
e80d6f94
MM
17892012-04-05 Michael Matz <matz@suse.de>
1790
1791 [BZ #13592]
1792 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
1793
349fa79f
AJ
17942012-04-05 Andreas Jaeger <aj@suse.de>
1795
1796 [BZ #13908]
1797 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
1798 comment.
1799
f402708f
KK
18002012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1801
1802 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
1803 which ROUND is no valid rounding mode.
1804
2ecccfc9
KK
18052012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1806
1807 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
1808 read again.
1809 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
1810
8a53f50f
KK
18112012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1812
1813 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
1814 an exception using FPU order intentionally.
1815
18162012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1817
1818 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
1819 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
1820 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
1821 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
1822
d653abb7
SJ
18232012-04-05 Simon Josefsson <simon@josefsson.org>
1824
1825 [BZ #12340]
1826 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
1827 EINVAL when BUFLEN is too smal.
1828
c3b1bf7d
TS
18292012-04-05 Thomas Schwinge <thomas@codesourcery.com>
1830
1831 [BZ #13553]
1832 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
1833 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
1834
b1aa60f3
AJ
18352012-04-03 Andreas Jaeger <aj@suse.de>
1836
c3b1bf7d 1837 [BZ #13938]
67f60a26
AJ
1838 * manual/setjmp.texi (System V contexts): Fix sentence.
1839
b1aa60f3
AJ
1840 [BZ #13926]
1841 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
1842 New macro for this case.
1843 [!__GNUC__] (__bswap_64): New inline function for this case.
1844 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1845 * bits/byteswap.h: Likewise.
1846 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
1847 ull, guard with __GLIBC_HAVE_LONG_LONG.
1848
1849 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
1850 __GLIBC_HAVE_LONG_LONG.
1851
1852 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
1853 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
1854
39c59c35
TMQMF
18552012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1856
1857 [BZ #13691]
1858 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
1859 inptr and inend, rather than using last_ch.
1860
135ffda8
DM
18612012-04-02 David S. Miller <davem@davemloft.net>
1862
1863 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
1864 * stdio-common/printf-parse.h (read_int): Change return type to
1865 'int', return -1 on INT_MAX overflow.
1866 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
1867 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
1868 overflows INT_MAX. Check for overflow of in-format-string precision
1869 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
1870 SIZE_MAX not INT_MAX for integer overflow test.
1871 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
1872 skip the construct in the format string but do not record anything.
1873 * stdio-common/bug22.c: Adjust to test both width/prevision
1874 INT_MAX overflow as well as total length INT_MAX overflow. Check
1875 explicitly for proper errno values.
1876
228c019e
TS
18772012-04-02 Thomas Schwinge <thomas@codesourcery.com>
1878
302cadd3
TS
1879 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
1880 CHAR_MAX.
1881 * string/test-strcmp.c [! WIDE]: Likewise.
1882 * time/tst-mktime2.c: Likewise for INT_MAX.
1883 * string/test-string.h: #include <sys/param.h> for MIN.
1884
228c019e
TS
1885 * csu/init-first.c (__libc_init_first): Call __ctype_init.
1886 * sysdeps/i386/init-first.c (init): Likewise.
1887 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
1888 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
1889 * sysdeps/sh/init-first.c (init): Likewise.
1890
cfa633f5
UD
18912012-04-01 Ulrich Drepper <drepper@gmail.com>
1892
1893 * po/ru.po: Update from translation team.
d1635ef8 1894 * po/vi.po: Likewise.
cfa633f5 1895
6cd0a5ea
SP
18962012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1897
1898 * resolv/nss_dns/dns-host.c: Merge copyright years.
1899
4b43400f
LD
19002012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1901
1902 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
1903 Optimize memcpy with prefetch if
1904 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
1905 src, dst pointers have unequal 16 byte alignments.
1906
48c41d04
SP
19072012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1908
1909 [BZ #13928]
1910 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
1911 from a CNAME entry and return the minimum ttl for the query.
1912 (gaih_getanswer_slice): Likewise.
1913
b8dc394d
JL
19142012-03-30 Jeff Law <law@redhat.com>
1915
1916 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
1917 due to long keys.
1918 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1919 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1920
2f5a5ed0
JL
1921 * resolv/nss_dns/dns-host.c: Update copyright year.
1922
1d39e359
UD
19232012-03-30 Ulrich Drepper <drepper@gmail.com>
1924
c030f70c 1925 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 1926 requests to save a system call. Fix check that all bytes are sent.
c030f70c 1927
1d39e359
UD
1928 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
1929 comments for sendmmsg.
1930
19312012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
1932
1933 [BZ #13691]
1934 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
1935 with only 1 character between 0x0041 and 0x01b0.
1936 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
1937 * wcsmbs/tst-mbsnrtowcs.c: New file.
1938
20fde227
DM
19392012-03-29 David S. Miller <davem@davemloft.net>
1940
1941 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
1942 small copies by hand.
1943
984a4237
JL
19442012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1945
1946 [BZ #13761]
1947 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
1948 _nss_compat_initgroups_dyn): Fall back to malloc/free
1949 for large group memberships.
1950
18c9d62b
DM
19512012-03-28 David S. Miller <davem@davemloft.net>
1952
88d85d4f
DM
1953 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
1954 that branches into memcpy.
1955 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1956 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1957 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1958 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1959 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
1960 bits.
1961 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
1962 implementation too.
1963 * sysdeps/sparc/mempcpy.S: New file.
1964
e5aa83e1
DM
1965 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
1966 the IFUNC routine in the libc case.
1967 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1968
88570753
DM
1969 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
1970 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
1971 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
1972 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
1973 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
1974 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
1975 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
1976 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
1977
249d7567
DM
1978 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
1979 loop to 256 bytes instead of 64 bytes and fix test signedness.
1980
18c9d62b
DM
1981 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
1982 * sysdeps/sparc/sparc32/Makefile: rather than here...
1983 * sysdeps/sparc/sparc64/Makefile: and here.
1984
05f3d1f6
UD
19852012-03-28 Ulrich Drepper <drepper@gmail.com>
1986
1987 * malloc/mallocbug.c: Avoid warnings about unused variables.
1988
86ae07a8
JL
19892012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1990
1991 [BZ #13760]
1992 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
1993 in the right place. Discard and retry query if response is
1994 larger than input buffer size.
1995
41bf21a1
JM
19962012-03-28 Joseph Myers <joseph@codesourcery.com>
1997
d6270972
JM
1998 [BZ #369]
1999 [BZ #2678]
2000 [BZ #3866]
2001 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2002 x for large integer exponent.
2003 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2004 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
2005 sign of result as needed afterwards.
2006 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2007 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2008 result for underflowing pow the same as for overflow.
2009 (__kernel_standard_l): Handle powl overflow and underflow here
2010 rather than calling __kernel_standard.
2011 * math/libm-test.inc (pow_test): Add more tests.
2012
414fca03 2013 [BZ #3868]
41bf21a1
JM
2014 [BZ #13879]
2015 [BZ #13910]
2016 [BZ #13911]
2017 [BZ #13912]
2018 [BZ #13913]
2019 [BZ #13915]
2020 [BZ #13916]
2021 [BZ #13917]
2022 [BZ #13918]
2023 [BZ #13919]
2024 [BZ #13920]
2025 [BZ #13921]
2026 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2027 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2028 (__kernel_standard_l): New function.
2029 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2030 __kernel_standard.
2031 * math/w_acosl.c (__acosl): Likewise.
2032 * math/w_asinl.c (__asinl): Likewise.
2033 * math/w_atan2l.c (__atan2l): Likewise.
2034 * math/w_atanhl.c (__atanhl): Likewise.
2035 * math/w_coshl.c (__coshl): Likewise.
2036 * math/w_exp10l.c (__exp10l): Likewise.
2037 * math/w_exp2l.c (__exp2l): Likewise.
2038 * math/w_fmodl.c (__fmodl): Likewise.
2039 * math/w_hypotl.c (__hypotl): Likewise.
2040 * math/w_j0l.c (__j0l, __y0l): Likewise.
2041 * math/w_j1l.c (__j1l, __y1l): Likewise.
2042 * math/w_jnl.c (__jnl, __ynl): Likewise.
2043 * math/w_lgammal.c (__lgammal): Likewise.
2044 * math/w_log10l.c (__log10l): Likewise.
2045 * math/w_log2l.c (__log2l): Likewise.
2046 * math/w_logl.c (__logl): Likewise.
2047 * math/w_powl.c (__powl): Likewise.
2048 * math/w_remainderl.c (__remainderl): Likewise.
2049 * math/w_scalbl.c (sysv_scalbl): Likewise.
2050 * math/w_sinhl.c (__sinhl): Likewise.
2051 * math/w_sqrtl.c (__sqrtl): Likewise.
2052 * math/w_tgammal.c (__tgammal): Likewise.
2053 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2054 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2055 * math/libm-test.inc (acos_test): Add more tests.
2056 (acosh_test): Likewise.
2057 (asin_test): Likewise.
2058 (atanh_test): Likewise.
2059 (exp_test): Likewise.
2060 (exp10_test): Likewise.
2061 (exp2_test): Likewise.
2062 (expm1_test): Likewise.
2063 (lgamma_test): Likewise.
2064 (log_test): Likewise.
2065 (log10_test): Likewise.
2066 (log1p_test): Likewise.
2067 (log2_test): Likewise.
2068 (pow_test): Do not allow some spurious overflow exceptions.
2069 (sqrt_test): Add more tests.
2070 (tgamma_test): Likewise.
2071 (y0_test): Likewise.
2072 (y1_test): Likewise.
2073 (yn_test): Likewise.
2074
dd62fda6
AB
20752012-03-27 Anton Blanchard <anton@samba.org>
2076
2077 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2078 MAP_HUGETLB.
2079 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2080 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2081 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2082
1e3cdfda
AJ
20832012-03-27 David S. Miller <davem@davemloft.net>
2084
b855ab85
DM
2085 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2086
1e3cdfda
AJ
2087 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2088 have-as-vis3 check.
2089
20902012-03-27 Andreas Jaeger <aj@suse.de>
2091
2092 * sysdeps/x86_64/elf/configure.in: Moved to ...
2093 * sysdeps/x86_64/configure.in: ... here.
2094 * sysdeps/x86_64/elf/start.S: Moved to ...
2095 * sysdeps/x86_64/start.S: ... here.
2096 * sysdeps/x86_64/elf/configure: Delete.
2097
2098 * sysdeps/x86_64/configure.in: Merge contents from
2099 sysdeps/i386/configure.in (without i686 check).
2100
2101 * sysdeps/i386/elf/Versions: Merge into ...
2102 * sysdeps/i386/Versions: ... this.
2103 * sysdeps/i386/elf/Versions: Delete file.
2104 * sysdeps/i386/elf/start.S: Moved to ...
2105 * sysdeps/i386/start.S: ...here.
2106 * sysdeps/i386/elf/configure.in: Merge into...
2107 * sysdeps/i386/configure.in: ...here.
2108 * sysdeps/i386/elf/configure.in: Delete file.
2109 * sysdeps/i386/elf/configure: Delete file.
2110
2111 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2112 * debug/backtracesyms.c: ... here.
2113 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2114 * debug/backtracesymsfd.c: ... here.
2115 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2116 * sysdeps/generic/ifunc-sel.h: ... here.
2117
2118 * sysdeps/unix/i386/start.c: Delete file.
2119 * sysdeps/unix/sparc/start.c: Delete file.
2120 * sysdeps/unix/start.c: Delete file.
2121
2122 * sysdeps/sh/elf/configure.in: Moved to ...
2123 * sysdeps/sh/configure.in: ... here.
2124 * sysdeps/sh/elf/start.S: Moved to ...
2125 * sysdeps/sh/start.S: ... here.
2126 * sysdeps/sh/elf/configure: Delete file.
2127
2128 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2129 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2130 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2131 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2132 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2133 * sysdeps/powerpc/powerpc64/start.S: here.
2134 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2135 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2136 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2137 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2138 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2139
2140 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2141 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2142 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2143 * sysdeps/powerpc/powerpc32/start.S: ... here.
2144 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2145 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2146 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2147
2148 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2149 * sysdeps/powerpc/ifunc-sel.h: ... here.
2150 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2151 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2152
2153 * sysdeps/sparc/elf/configure.in: Moved to ...
2154 * sysdeps/sparc/configure.in: ... here.
2155 * sysdeps/sparc/elf/configure: Delete file.
2156 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2157 * sysdeps/sparc/sparc32/start.S: ... here.
2158 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2159 * sysdeps/sparc/sparc64/start.S: ... here.
2160 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2161 * sysdeps/sparc/sparc32/Makefile: ... this.
2162 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2163 * sysdeps/sparc/sparc64/Makefile: ... this.
2164
2165 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2166 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2167 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2168 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2169 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2170 * sysdeps/s390/s390-32/setjmp.S: ... here.
2171 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2172 * sysdeps/s390/s390-32/configure.in: ... here.
2173 * sysdeps/s390/s390-32/elf/configure: Delete file.
2174 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2175 * sysdeps/s390/s390-32/start.S: ... here.
2176
2177 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2178 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2179 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2180 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2181 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2182 * sysdeps/s390/s390-64/setjmp.S: ... here.
2183 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2184 * sysdeps/s390/s390-64/configure.in: ... here
2185 * sysdeps/s390/s390-64/elf/configure: Delete file.
2186 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2187 * sysdeps/s390/s390-64/start.S: ... here.
2188 * sysdeps/s390/s390-64/elf/configure: Delete.
2189
2190 * configure.in: Remove support for elf directories in sysdeps.
2191
2192 * configure: Regenerated.
2193 * sysdeps/i386/configure: Regenerated.
2194 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2195 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2196 * sysdeps/s390/s390-32/configure: Regenerated.
2197 * sysdeps/s390/s390-64/configure: Regenerated.
2198 * sysdeps/sh/configure: Regenerated.
2199 * sysdeps/sparc/configure: Regenerated.
2200 * sysdeps/x86_64/configure: Regenerated.
2201
a3f61311
AS
22022012-03-26 Andreas Schwab <schwab@linux-m68k.org>
2203
c876e002
AS
2204 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2205
a3f61311
AS
2206 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2207 denormal result into account.
2208
ac4c54f0
RM
22092012-03-25 Roland McGrath <roland@hack.frob.com>
2210
2211 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2212 Reported by Allan McRae <allan@archlinux.org>.
2213
6a9b9c02
JL
22142012-03-23 Jeff Law <law@redhat.com>
2215
2216 * nss/getnssent.c (__nss_getent): Fix typo.
2217
4c42a0c1
DM
22182012-03-23 David S. Miller <davem@davemloft.net>
2219
2220 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2221
1532c7ac
L
22222012-03-23 H.J. Lu <hongjiu.lu@intel.com>
2223
2224 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2225 to pad to uint64_t for each field.
2226 (dl_tls_index): Replace unsigned long with uint64_t.
2227
3ff42526
PP
22282012-03-23 Daniel Jacobowitz <dmj@google.com>
2229 Paul Pluzhnikov <ppluzhnikov@google.com>
2230
2231 [BZ #6528]
2232 * grp/Makefile (otherlibs): Don't set it.
2233 * inet/Makefile (otherlibs): Likewise.
2234 * login/Makefile (otherlibs): Likewise.
2235 * nscd/Makefile (otherlibs): Likewise.
2236 * posix/Makefile (otherlibs): Likewise.
2237 * pwd/Makefile (otherlibs): Likewise.
2238 * rt/Makefile (otherlibs): Likewise.
2239 * sunrpc/Makefile (otherlibs): Likewise.
2240 * nss/Makefile (otherlibs): Likewise.
2241 Add libnss_files to routines and static-only-routines.
2242 ($(objpfx)getent): Remove rule.
2243 * resolv/Makefile: Add libnss_dns and libresolv to routines and
2244 static-only-routines.
2245
7c69cd14
JM
22462012-03-22 Joseph Myers <joseph@codesourcery.com>
2247
2248 [BZ #13892]
2249 * math/s_cexp.c: Include <float.h>.
2250 (__cexp): Handle exp result overflowing not necessarily
2251 overflowing both real and imaginary parts of result.
2252 * math/s_cexpf.c: Likewise.
2253 * math/s_cexpl.c: Likewise.
2254 * math/libm-test.inc (cexp_test): Add more tests.
2255 * sysdeps/i386/fpu/libm-test-ulps: Update.
2256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2257
81b035fe
L
22582012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2259
2260 * include/link.h (ELFW): New macro.
2261 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2262 Replace ELF64_R_TYPE with ELFW(R_TYPE).
2263
1da7940c
L
22642012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2265
2266 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2267 with uint64_t.
2268
b749dbb9
L
22692012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2270
2271 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2272 declaration.
2273 (struct La_x32_retval): Likewise.
2274
2ff87f3f
L
22752012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2276
2277 * sysdeps/x86_64/preconfigure.in: New file.
2278 * sysdeps/x86_64/preconfigure: New generated file.
2279
c0df8e69
JM
22802012-03-22 Joseph Myers <joseph@codesourcery.com>
2281
48e44791
JM
2282 [BZ #13824]
2283 * math/e_exp2l.c: Include <float.h>.
2284 (__ieee754_exp2l): Handle overflow and underflow cases
2285 separately. Only pass fractional part of argument to
2286 __ieee754_expl.
2287 * math/libm-test.inc (exp2_test): Add more tests.
2288
c0df8e69
JM
2289 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
2290 negating x to take absolute value.
2291 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2292 Likewise.
2293 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2294 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2295 Likewise.
2296 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
2297 computing low part if x was negated.
2298 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2299
c8e43ba7
L
23002012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2301
2302 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
2303 la_x32_gnu_pltexit.
2304 (pltexit): Cast int_retval to ptrdiff_t.
2305 * elf/tst-auditmod3b.c: Likewise.
2306 * elf/tst-auditmod4b.c: Likewise.
2307 * elf/tst-auditmod5b.c: Likewise.
2308 * elf/tst-auditmod6b.c: Likewise.
2309 * elf/tst-auditmod6c.c: Likewise.
2310 * elf/tst-auditmod7b.c: Likewise.
2311
2312 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
2313 and x32_gnu_pltexit.
2314
2315 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
2316 __ELF_NATIVE_CLASS.
2317 (La_x32_regs): New macro.
2318 (La_x32_retval): Likewise.
2319 (la_x32_gnu_pltenter): New function prototype.
2320 (la_x32_gnu_pltexit): Likewise.
2321
7998fa78
AS
23222012-03-21 Andreas Schwab <schwab@linux-m68k.org>
2323
dcb33988
AS
2324 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
2325 exponent.
2326
233fc563
AS
2327 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2328
7998fa78
AS
2329 * configure.in (libc_cv_cc_nofma): Check for option to disable
2330 generation of FMA instructions.
2331 * configure: Regenerate.
2332 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
2333 * sysdeps/ieee754/dbl-64/Makefile: New file.
2334 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2335 Remove brandred-fma4.
2336 (CFLAGS-brandred-fma4.c): Remove.
2337 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
2338 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
2339 define.
2340 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
2341 define.
2342
8e95c99a
L
23432012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2344
2345 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2346 LLONG_MAX != LONG_MAX.
2347 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2348 (_fitoa_word): Likewise.
2349 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
2350 LLONG_MAX != LONG_MAX.
2351 * stdio-common/_itowa.h: Include <_itoa.h>.
2352 (_itowa_word): Use _ITOA_WORD_TYPE on value.
2353 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
2354 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
2355 only if not defined.
2356 (_ITOA_WORD_TYPE): Likewise.
2357 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2358 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
2359
6f4db457
DM
23602012-03-21 David S. Miller <davem@davemloft.net>
2361
2362 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2363
7785fe5a
L
23642012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2365
2366 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
2367 of x86_64 when setting libc_cv_slibdir, libdir and
2368 libc_cv_localedir.
2369 * sysdeps/unix/sysv/linux/configure: Regenerated.
2370
4535cd55
JM
23712012-03-21 Joseph Myers <joseph@codesourcery.com>
2372
2373 * manual/lang.texi (Old Varargs): Remove section.
2374 (How Variadic): Update menu.
2375 (va_start): Do not mention varargs.h.
2376
17228132
TS
23772012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2378 Joseph Myers <joseph@codesourcery.com>
2379
2380 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
2381 link test.
2382 * configure: Regenerated.
2383
8149f976
TS
23842012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2385
05f3d1f6
UD
2386 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
2387 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
2388 conformtest.pl
8149f976 2389
1a4ac776
JM
23902012-03-21 Joseph Myers <joseph@codesourcery.com>
2391
be22ce65
JM
2392 * NOTES: Remove.
2393 * Makefile (files-for-dist): Remove NOTES.
2394 (NOTES): Remove rule.
2395 * README: Don't refer to NOTES.
2396 * manual/creature.texi: Don't include macros.texi.
2397 * manual/intro.texi (creature.texi): Remove comment referring to
2398 NOTES.
2399
40b601fb
JM
2400 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
2401 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
2402 * configure: Regenerated.
2403 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
2404 LIBC_TRY_CC_OPTION.
2405 (libc_cv_as_i686): Likewise.
2406 (libc_cv_cc_avx): Likewise.
2407 (libc_cv_cc_sse2avx): Likewise.
2408 (libc_cv_cc_fma4): Likewise.
2409 (libc_cv_cc_novzeroupper): Likewise.
2410 * sysdeps/i386/configure: Regenerated.
2411
1a4ac776
JM
2412 [BZ #13883]
2413 * sysdeps/i386/fpu/s_cexp.S: Remove.
2414 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2415 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2416 * math/libm-test.inc (cexp_test): Add more tests.
2417 * sysdeps/i386/fpu/libm-test-ulps: Update.
2418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2419
a458e7fe
AM
24202012-03-21 Allan McRae <allan@archlinux.org>
2421
2422 * timezone/Makefile: Do not install iso3166.tab and zone.tab
2423
0cb7efc5
JM
24242012-03-21 Joseph Myers <joseph@codesourcery.com>
2425
2426 [BZ #13871]
2427 * math/w_exp2.c: Do not include <float.h>.
2428 (o_threshold, u_threshold): Remove.
2429 (__exp2): Calculate result before checking finiteness and calling
2430 __kernel_standard.
2431 * math/w_exp2f.c: Likewise.
2432 * math/w_exp2l.c: Likewise.
2433 * math/libm-test.inc (exp2_test): Require overflow exception for
2434 1e6 input.
2460d3aa
JM
2435
2436 [BZ #3866]
2437 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
2438 range of signed 64-bit integers before using fistpll. Remove
2439 checks for whether integers fit in mantissa bits.
2440 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
2441 the range of signed 32-bit integers before using fistpl. Remove
2442 checks for whether integers fit in mantissa bits.
2443 * sysdeps/i386/fpu/e_powl.S (p64): New object.
2444 (__ieee754_powl): Test for y outside the range of signed 64-bit
2445 integers before using fistpll. Reduce 64-bit values to 63-bit
2446 ones as needed.
2447 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
2448 divide-by-zero is raised for zero to large negative powers.
2449 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
2450 (__ieee754_powl): Test for y outside the range of signed 64-bit
2451 integers before using fistpll. Reduce 64-bit values to 63-bit
2452 ones as needed.
2453 * math/libm-test.inc (pow_test): Add more tests.
2454
eb96ffb0
L
24552012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2456
2457 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
2458 <stdio-common/_itoa.h>.
2459 * debug/segfault.c: Likewise.
2460 * elf/dl-cache.c: Likewise.
2461 * elf/dl-minimal.c: Likewise.
2462 * elf/dl-misc.c: Likewise.
2463 * elf/dl-sysdep.c: Likewise.
2464 * elf/dl-version.c: Likewise.
2465 * elf/rtld.c: Likewise.
2466 * hurd/hurdsock.c: Likewise.
2467 * hurd/lookup-retry.c: Likewise.
2468 * malloc/malloc.c: Likewise.
2469 * malloc/mtrace.c: Likewise.
2470 * nscd/nscd_getgr_r.c: Likewise.
2471 * nscd/nscd_getpw_r.c: Likewise.
2472 * nscd/nscd_getserv_r.c: Likewise.
2473 * posix/getopt_init.c: Likewise.
2474 * posix/wordexp.c: Likewise.
2475 * stdio-common/_itoa.c: Likewise.
2476 * stdio-common/printf_fphex.c: Likewise.
2477 * stdio-common/vfprintf.c: Likewise.
2478 * string/_strerror.c: Likewise.
2479 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
2480 * sysdeps/i386/i686/hp-timing.h: Likewise.
2481 * sysdeps/mach/_strerror.c: Likewise.
2482 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
2483 * sysdeps/mach/hurd/sethostid.c: Likewise.
2484 * sysdeps/mach/hurd/xmknodat.c: Likewise.
2485 * sysdeps/mach/xpg-strerror.c: Likewise.
2486 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2487 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2488 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
2489 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
2490 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2491 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
2492 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2493 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2494 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
2495 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
2496 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
2497 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2498 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
2499 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2500 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2501 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
2502 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
2503 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2504 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2505 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2506 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
2507
2508 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
2509
2510 * stdio-common/_itoa.h: Moved to ...
2511 * sysdeps/generic/_itoa.h: Here.
2512
2513 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
2514
2515 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
2516 instead of "_itoa.h" and "_itowa.h".
2517 * stdio-common/vfprintf.: Likewise.
2518
d1af992d
L
25192012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2520
2521 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
2522 <bits/wordsize.h>.
2523 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
2524 (__signbit): Likwise.
2525 (llrintf): Likwise.
2526 (llrint): Likwise.
2527
114883e0
L
25282012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2529
2530 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
2531 __WORDSIZE != 64.
2532
c135cc1b
JM
25332012-03-20 Joseph Myers <joseph@codesourcery.com>
2534
2535 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
2536 OVERFLOW_EXCEPTION_OK.
2537 * math/libm-test.inc ("Philosophy"): Update comment about
2538 exception testing.
2539 (OVERFLOW_EXCEPTION): Define.
2540 (OVERFLOW_EXCEPTION_OK): Likewise.
2541 (INVALID_EXCEPTION_OK): Renumber.
2542 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2543 (IGNORE_ZERO_INF_SIGN): Likewise.
2544 (test_exceptions): Handle FE_OVERFLOW.
2545 (exp10_test): Expect overflow exceptions.
2546 (exp2_test): Likewise.
2547 (expm1_test): Likewise.
2548 (nextafter_test): Likewise.
2549 (pow_test): Likewise.
2550 (scalbn_test): Likewise.
2551 (scalbln_test): Likewise.
2552
95443d88
L
25532012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2554
2555 * sysdeps/x86_64/bits/atomic.h
2556 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
2557 64bit integer.
2558 (atomic_exchange_acq): Likewise.
2559 (__arch_exchange_and_add_body): Likewise.
2560 (__arch_add_body): Likewise.
2561 (atomic_add_negative): Likewise.
2562 (atomic_add_zero): Likewise.
2563
490df6c4
L
25642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2565
c2722551 2566 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
2567 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
2568
5e52b189
L
25692012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2570
2571 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
2572 Check __x86_64__ instead of __WORDSIZE.
2573
a9879d4c
L
25742012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2575
2576 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
2577
5df98260
DM
25782012-03-19 David S. Miller <davem@davemloft.net>
2579
e1497744
DM
2580 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2581
5df98260
DM
2582 * sysdeps/sparc/fpu/fenv_private.h: New file.
2583 * sysdeps/sparc/fpu/math_private.h: Use it.
2584 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
2585 Remove.
2586 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
2587 (libc_feholdexcept_setroundl): Remove.
2588 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
2589 Remove.
2590 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
2591 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
2592
b4c35121
L
25932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2594
2595 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
2596 int64_t instead of long int.
2597 (INSERT_WORDS64): Likwise.
2598
56965fd7
L
25992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2600
2601 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
2602 _Unwind_GetCFA return to _Unwind_Ptr first.
2603
83d1aec8
JM
26042012-03-19 Joseph Myers <joseph@codesourcery.com>
2605
1897ad44
JM
2606 [BZ #13629]
2607 * math/s_clog.c: Include <float.h>.
2608 (__clog): Scale large or subnormal inputs.
2609 * math/s_clogf.c: Likewise.
2610 * math/s_clogl.c: Likewise.
2611 * math/s_clog10.c: Include <float.h>.
2612 (M_LOG10_2): Define.
2613 (__clog10): Scale large or subnormal inputs.
2614 * math/s_clog10f.c: Likewise.
2615 * math/s_clog10l.c: Likewise.
2616 * math/libm-test.inc (clog_test): Add more tests.
2617 (clog10_test): Likewise.
2618 * sysdeps/i386/fpu/libm-test-ulps: Update.
2619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2620
7726d6a9
JM
2621 [BZ #11451]
2622 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
2623 x and y.
2624 * math/libm-test.inc (atan2_test): Add another test.
2625
83d1aec8
JM
2626 * Makerules (common-objdir-compile): Remove.
2627 * sysdeps/unix/Makefile (config-generated): Do not add
2628 $(unix-generated) to variable.
2629 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
2630 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
2631 Remove rule.
2632 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
2633 Likewise.
2634 [generic bits/local_lim.h] (before-compile): Do not append to
2635 variable.
2636 [generic bits/local_lim.h] (common-generated): Likewise.
2637 [generic sys/param.h] (before-compile): Do not append to variable.
2638 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
2639 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
2640 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
2641 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
2642 include.
2643 [generic sys/param.h] (sys/param.h-includes): Remove variable.
2644 [generic sys/param.h] (sys/param.h-includes): Remove rule.
2645 [generic sys/param.h] ($(addprefix
2646 $(common-objpfx),$(sys/param.h-includes))): Likewise.
2647 [generic sys/param.h] (common-generated): Do not append to
2648 variable.
2649 [generic sys/param.h] (sysdep_headers): Likewise.
2650 [generic bits/errno.h] (before-compile): Do not append to
2651 variable.
2652 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
2653 rule.
2654 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
2655 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
2656 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
2657 [generic bits/errno.h] (common-generated): Do not append to
2658 variable.
2659 [generic bits/ioctls.h] (before-compile): Do not append to
2660 variable.
2661 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
2662 rule.
2663 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
2664 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
2665 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
2666 rule.
2667 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
2668 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
2669 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
2670 [generic bits/ioctls.h] (common-generated): Do not append to
2671 variable.
2672 [generic sys/syscall.h] (syscall.h): Remove variable.
2673 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
2674 rule.
2675 [generic sys/syscall.h] (before-compile): Do not append to
2676 variable.
2677 [generic sys/syscall.h] (common-generated): Likewise.
2678 * sysdeps/unix/errnos-tmpl.c: Remove file.
2679 * sysdeps/unix/errnos.awk: Likewise.
2680 * sysdeps/unix/ioctls-tmpl.c: Likewise.
2681 * sysdeps/unix/ioctls.awk: Likewise.
2682 * sysdeps/unix/mk-local_lim.c: Likewise.
2683 * sysdeps/unix/snarf-ioctls: Likewise.
2684
4851a949
RH
26852012-03-19 Richard Henderson <rth@twiddle.net>
2686
bd37f2ee
RH
2687 * sysdeps/i386/fpu/fenv_private.h: New file.
2688 * sysdeps/i386/fpu/math_private.h: Use it.
2689 (math_opt_barrier, math_force_eval): Remove.
2690 (libc_feholdexcept_setround_53bit): Remove.
2691 (libc_feupdateenv_53bit): Remove.
2692 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2693 (math_opt_barrier, math_force_eval): Remove.
2694 (libc_feholdexcept): Remove.
2695 (libc_feholdexcept_setround): Remove.
2696 (libc_fetestexcept, libc_fesetenv): Remove.
2697 (libc_feupdateenv_test): Remove.
2698 (libc_feupdateenv, libc_feholdsetround): Remove.
2699 (libc_feresetround): Remove.
2700
d0adc922
RH
2701 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
2702 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2703
0fe0f1f8
RH
2704 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
2705 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
2706 (libc_feupdateenv_testl): New.
2707 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
2708 (libc_feupdateenv_testf): New.
2709 (libc_feupdateenv): Use libc_feupdateenv_test.
2710 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
2711 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
2712
eb92c487
RH
2713 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
2714 (libc_feholdsetroundf, libc_feholdsetroundl): New.
2715 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
2716 (libc_feresetround_noex): New.
2717 (libc_feresetround_noexf): New.
2718 (libc_feresetround_noexl): New.
2719 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
2720 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
2721 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
2722 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
2723 SET_RESTORE_ROUND.
2724 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
2725 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
2726 (__cos): Likewise.
2727 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
2728 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
2729 SET_RESTORE_ROUND_NOEX.
2730 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
2731 SET_RESTORE_ROUND_NOEXF.
2732 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
2733 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
2734 (libc_feholdsetroundf): New.
2735 (libc_feresetround, libc_feresetroundf): New.
2736
7d2e8012
RH
2737 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
2738 (libc_feholdexcept_setround_53bit): Convert from macro to function.
2739 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
2740
b4dabbb4
RH
2741 * sysdeps/generic/math_private.h: Include <fenv.h>.
2742 (default_libc_feholdexcept): New.
2743 (default_libc_feholdexcept_setround): New.
2744 (default_libc_fesetenv, default_libc_feupdateenv): New.
2745 (libc_feholdexcept): Only define if undefined.
2746 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
2747 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
2748 (libc_feholdexcept_setroundl): Likewise.
2749 (libc_feholdexcept_setround_53bit): Likewise.
2750 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
2751 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
2752 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
2753 (libc_feupdateenv_53bit): Likewise.
2754 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
2755 (libc_feholdexcept): Convert from macro to inline function.
2756 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
2757 (libc_fesetenv, libc_feupdateenv): Likewise.
2758
4851a949
RH
2759 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
2760 not previously defined.
2761 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
2762 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
2763 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
2764 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
2765 * sysdeps/ieee754/flt-32/math_private.h: New file.
2766 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
2767 math_private.h below SET_FLOAT_WORD.
2768 (__isnan, __isinf_ns, __finite): Remove.
2769 (__isnanf, __isinf_nsf, __finitef): Remove.
2770
e79d442e
AS
27712012-03-18 Andreas Schwab <schwab@linux-m68k.org>
2772
2773 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2774
90b80344
DM
27752012-03-17 David S. Miller <davem@davemloft.net>
2776
2777 [BZ #6471]
2778 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
2779 for 2.16.
2780
edc21804
DM
27812012-03-16 David S. Miller <davem@davemloft.net>
2782
77e927af
DM
2783 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
2784 warnings.
2785
374976dd
DM
2786 [BZ #6471]
2787 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
2788 properly.
2789 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
2790 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
2791 sysdep_routines when subdir is sysvipc.
2792 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
2793 __getshmlba helper.
2794
edc21804
DM
2795 * sysdeps/sparc/fpu/libm-test/ulps: Update.
2796
473c3ef3
L
27972012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2798
2799 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
2800 [__LP64__].
2801
eb0f39b6
L
28022012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2803
2804 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
2805 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
2806 (__lround): Renamed to ...
2807 (__llround): This. Replace long int with long long int.
2808 Define lround functions as aliases of llround functions.
2809 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
2810
6b6cd74b
L
28112012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2812
2813 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
2814 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
2815 adresses to uintptr_t. Replace "long int" and "unsigned long
2816 int" with "greg_t" on va_arg.
2817
f1a77b01
L
28182012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2819
2820 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
2821 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
2822
2823 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2824 Move e_machine check before EI_CLASS check. Handle x32
2825 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
2826 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
2827 SKIP_EM_IA_64 and include
2828 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
2829
2830 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
2831 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
2832 (add_system_dir): New macro.
2833
2834 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
2835 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
2836
11b90b9f
JM
28372012-03-16 Joseph Myers <joseph@codesourcery.com>
2838
c36e1d23
JM
2839 [BZ #2551]
2840 [BZ #2552]
2841 [BZ #2553]
2842 [BZ #2554]
2843 [BZ #2562]
2844 [BZ #2563]
2845 [BZ #2565]
2846 [BZ #2566]
2847 [BZ #2576]
2848 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
2849 (y0): Likewise.
2850 * math/w_j0f.c (j0f): Likewise.
2851 (y0f): Likewise.
2852 * math/w_j0l.c (__j0l): Likewise.
2853 (__y0l): Likewise.
2854 * math/w_j1.c (j1): Likewise.
2855 (y1): Likewise.
2856 * math/w_j1f.c (j1f): Likewise.
2857 (y1f): Likewise.
2858 * math/w_j1l.c (__j1l): Likewise.
2859 (__y1l): Likewise.
2860 * math/w_jn.c (jn): Likewise.
2861 (yn): Likewise.
2862 * math/w_jnf.c (jnf): Likewise.
2863 (ynf): Likewise.
2864 * math/w_jnl.c (__jnl): Likewise.
2865 (__ynl): Likewise.
2866 * math/libm-test.inc (j0_test): Add more tests.
2867 (j1_test): Likewise.
2868 (jn_test): Likewise. Add trailing semicolon to existing test.
2869 (y0_test): Likewise.
2870 (y1_test): Likewise.
2871 * sysdeps/i386/fpu/libm-test-ulps: Update.
2872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2873
11b90b9f
JM
2874 [BZ #13851]
2875 [BZ #13854]
2876 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
2877 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
2878 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
2879 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
2880 (__tanl): Set errno for infinite argument.
2881 * sysdeps/i386/fpu/mptan.c: Remove.
2882 * sysdeps/i386/fpu/s_tan.S: Likewise.
2883 * sysdeps/i386/fpu/s_tanl.S: Likewise.
2884 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
2885 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
2886 * math/libm-test.inc (tan_test): Add more tests and enable more
2887 tests for double and long double.
2888 * sysdeps/i386/fpu/libm-test-ulps: Update.
2889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2890
6a1bd2a1
JK
28912012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2892
2893 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
2894 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
2895
10a803e0
RM
28962012-03-16 Roland McGrath <roland@hack.frob.com>
2897
2898 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
2899 * configure.in: Use it for both main tree and add-ons.
2900 * configure: Regenerated.
2901
f196c7f7
L
29022012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2903
2904 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
2905
8848d99d
JM
29062012-03-16 Joseph Myers <joseph@codesourcery.com>
2907
96cbe7f4
JM
2908 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
2909 in comment.
2910
8848d99d
JM
2911 [BZ #13851]
2912 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
2913 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
2914 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
2915 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
2916 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
2917 infinite argument.
2918 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
2919 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
2920 != 0 for prec == 2.
2921 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
2922 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
2923 * sysdeps/i386/fpu/s_cosl.S: Likewise.
2924 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2925 * sysdeps/i386/fpu/s_sinl.S: Likewise.
2926 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
2927 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
2928 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
2929 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
2930 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
2931 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
2932 * math/libm-test.inc (cos_test): Add more tests and enable more
2933 tests for long double.
2934 (sin_test): Likewise.
2935 (sincos_test): Likewise.
2936 * sysdeps/i386/fpu/libm-test-ulps: Update.
2937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2938
dd7f4703
DM
29392012-03-16 David S. Miller <davem@davemloft.net>
2940
2941 * sysdeps/sparc/fpu/math_private.h: New file.
2942
006f1daa
DM
29432012-03-15 David S. Miller <davem@davemloft.net>
2944
c0c83bc8
DM
2945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
2946 file.
e6a62e18 2947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
2948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
2949 file.
e6a62e18
DM
2950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
2951 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
2952 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
2953 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
2954 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
2955 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
2956 sysdep routines.
2957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2958
88cb87d9
DM
2959 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
2960 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
2961
006f1daa 2962 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
2963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
2964 sparc-ifunc.h
006f1daa 2965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
2966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
2967 Likewise.
2968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
2969 Likewise.
006f1daa
DM
2970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
2971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
2972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
2973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2974 Likewise.
006f1daa
DM
2975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
2977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
2979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
2980 Likewise.
2981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
2982 Likewise.
006f1daa
DM
2983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
2985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
2986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
2987 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2988 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2989 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
2990 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
2991 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2992 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2993 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
2994 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
2995 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
2996 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
2997 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
2998 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
2999 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3000 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3001 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3002 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3003 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3004 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3005 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3006 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3007
11e0098e
AS
30082012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3009
3010 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3011 scaling.
3012 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3013
e85b09d0
AJ
30142012-03-15 Andreas Jaeger <aj@suse.de>
3015
3016 [BZ #13852]
3017 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3018 ieee754/flt-32 implementation for sin, cos and sincos.
3019 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3020 * sysdeps/i386/fpu/s_cosf.S: Likewise.
3021 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3022 * sysdeps/i386/fpu/s_sinf.S: Likewise.
3023 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3024 ieee754/flt-32 implementation for tan.
3025
3026 * math/libm-test.inc (cos_test): Enable some large input tests for
3027 float as well
3028 (sin_test): Likewise.
3029 (sincos_test): Likewise.
3030 (tan_test): Add tests for large input.
3031
3032 * sysdeps/i386/fpu/libm-test-ulps: Update.
3033
81c64153
AJ
30342012-03-15 Andreas Jaeger <aj@suse.de>
3035
3036 [BZ #13658]
3037 * math/libm-test.inc (cos_test): Add more test cases.
3038 (sin_test): Likewise.
3039 (sincos_test): Likewise.
3040
7bbfa5c6
AJ
30412012-03-15 Andreas Jaeger <aj@suse.de>
3042
3043 [BZ #13837]
3044 * math/libm-test.inc (cos_test): Add a test case for large input
3045 value.
3046 (sin_test): Likewise.
3047 (sincos_test): Likewise.
3048
30492012-03-15 Andreas Jaeger <aj@suse.de>,
3050 Joseph Myers <joseph@codesourcery.com>
3051
3052 [BZ #13658]
0671f479 3053 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
3054 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3055 * sysdeps/i386/fpu/branred.c: Likewise.
3056 * sysdeps/i386/fpu/dosincos.c: Likewise.
3057 * sysdeps/i386/fpu/mpa.c: Likewise.
3058 * sysdeps/i386/fpu/s_cos.S: Likewise.
3059 * sysdeps/i386/fpu/s_sin.S: Likewise.
3060 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3061 * sysdeps/i386/fpu/sincos32.c: Likewise.
3062
3063 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3064 Define.
3065 (libc_feupdateenv_53bit): Define.
3066 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3067 Define.
3068 (libc_feupdateenv_53bit): Define.
3069
3070 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3071 53 bit (without extend i386 double precision).
3072
3073 * math/libm-test.inc (sincos_test): Add tests for large input.
3074 (sin): Likewise.
3075 (cos): Likewise.
3076
3077 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3078
9cad04ea
AS
30792012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3080
3081 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3082
f7062b9a
DM
30832012-03-15 David S. Miller <davem@davemloft.net>
3084
3085 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3086 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3087 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3088 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3089 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3093 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3094 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3095 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3096 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3097 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3098 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3099 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
3100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3101 file.
f7062b9a 3102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
3103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3104 file.
f7062b9a 3105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
3106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3107 file.
f7062b9a 3108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
3109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3110 file.
f7062b9a
DM
3111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3112 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3113 fmin/fmax sysdep routines.
3114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3115
7bd951ff
DM
31162012-03-14 David S. Miller <davem@davemloft.net>
3117
559398ab
DM
3118 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3119 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3120 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3121 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3122 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3123 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3124 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3125 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3126 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3127 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3128 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3129 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3130 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3131 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3132 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3133 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3134 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3135 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3136 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3137 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3138 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3139 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3140 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3141 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3142 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3143 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3144 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3145 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3146 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3147 routines.
3148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3149 file.
559398ab 3150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
3151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3152 file.
559398ab 3153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
3154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3155 file.
559398ab 3156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
3157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3158 file.
559398ab 3159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
3160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3161 file.
559398ab 3162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
3163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3164 file.
3165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3166 file.
3167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3168 file.
3169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3170 file.
3171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3172 New file.
3173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3174 file.
3175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3176 file.
559398ab 3177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
3178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3179 file.
559398ab 3180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3182 file.
559398ab 3183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
3184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3185 file.
559398ab 3186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
3187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3188 VIS3 routines.
559398ab
DM
3189
3190 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3191 New file.
3192
5a1c1e32
DM
3193 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3194
eae47a36
DM
3195 * sysdeps/sparc/configure.in: New file.
3196 * sysdeps/sparc/configure: Generate.
3197 * configure.in (libc_cv_sparc_as_vis3): Substitute.
3198 * configure: Regenerate.
3199 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3200 * config.make.in (have-as-vis3): New.
3201 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3202 available use -Av9d instead of -Av9a.
3203 * sysdeps/sparc/sparc64/Makefile: Likewise.
3204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
3205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3206 New file.
3207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3208 file.
3209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3210 New file.
3211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3212 file.
eae47a36
DM
3213 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3214 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3215 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3216 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3217 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3218
c0c83bc8
DM
3219 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3220 fzeros/fnegs to load 0x80000000 into a float register instead of
3221 using the stack.
7bd951ff
DM
3222 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3223
bd951ccb
JM
32242012-03-14 Joseph Myers <joseph@codesourcery.com>
3225
3226 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3227 bits/syscall.h.
3228 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3229 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3230 ($(inst_includedir)/bits/syscall.h): Remove rule.
3231 ($(objpfx)bits/syscall.d): Include instead of
3232 $(objpfx)syscall-list.d.
3233 (generated): Change syscall-list.h and syscall-list.d to
3234 bits/syscall.h and bits/syscall.d.
3235
bb4e6db2
RM
32362012-03-14 Roland McGrath <roland@hack.frob.com>
3237
3238 [BZ #13846]
3239 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3240
aa4a2ae1
JM
32412012-03-14 Joseph Myers <joseph@codesourcery.com>
3242
e456826d
JM
3243 [BZ #13841]
3244 * math/s_csqrt.c: Include <float.h>.
3245 (__csqrt): Scale large or subnormal inputs.
3246 * math/s_csqrtf.c: Likewise.
3247 * math/s_csqrtl.c: Likewise.
3248 * math/libm-test.inc (csqrt_test): Add more tests.
3249 * sysdeps/i386/fpu/libm-test-ulps: Update.
3250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3251
aa4a2ae1
JM
3252 [BZ #13840]
3253 * math/libm-test.inc (hypot_test): Add more tests.
3254
7c10fd35
DM
32552012-03-13 David S. Miller <davem@davemloft.net>
3256
3257 [BZ #13840]
3258 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3259 double-precision for the calculation instead of scaling.
3260
f453b98b
JM
32612012-03-13 Joseph Myers <joseph@codesourcery.com>
3262
3263 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3264 manipulate bits before adding and subtracting TWO52[sx].
3265 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3266 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3267 Likewise.
3268 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3269
09a3453f
DM
32702012-03-13 David S. Miller <davem@davemloft.net>
3271
8e59da90
DM
3272 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3273 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3274 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3275 rtld-global-offsets.h
3276 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3277
2a8ab7f2
DM
3278 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3279 large parameters.
3280
10f62770
DM
3281 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
3282
5f0bdb18
DM
3283 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
3284 'err' in the ifdef scope in which it is actually used.
3285
09a3453f
DM
3286 * nss/nss_db/db-init.c: Include string.h
3287
b4b2eb5e
DM
32882012-03-12 David S. Miller <davem@davemloft.net>
3289
98bb2f1c
DM
3290 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3291 masking out of the most significant byte of random value used.
3292 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3293 Fix coding style in previous change.
3294
b4b2eb5e
DM
3295 * sysdeps/unix/sysv/linux/kernel-features.h
3296 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
3297 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
3298 expression.
3299 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
3300 later.
3301
6e226b09
DM
33022012-03-11 David S. Miller <davem@davemloft.net>
3303
a1bcbd40
DM
3304 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3305 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
3306 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
3307 for 'resultvar' otherwise things get truncated on 64-bit.
3308
cb9d6174
DM
3309 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3310 Fix masking out of the most significant byte of random value used.
3311
6e226b09
DM
3312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3313
058c132d
AS
33142012-03-10 Andreas Schwab <schwab@linux-m68k.org>
3315
3316 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3317
2d2cd515
DM
33182012-03-09 David S. Miller <davem@davemloft.net>
3319
3320 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
3321 variables with appropriate CPP guards.
3322 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
3323 frame pointer, not the stack pointer. Correct layout comments. Fix test
3324 on resulting framesize and the management of the outregs buffer for pltexit.
3325 Preserve floating point return values across _dl_call_pltexit call.
3326 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
3327 framesize and the management of the outregs buffer for pltexit.
3328 Preserve floating point return values across _dl_call_pltexit
3329 call.
3330 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
3331 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
3332 (print_exit): Fix format string for return register value.
3333
9a07f9d0
JM
33342012-03-10 Joseph Myers <joseph@codesourcery.com>
3335
3336 * sunrpc/Makefile (others): Add rpcgen.
3337 ($(objpfx)rpcgen): Remove special build rule and dependency on
3338 libc.
3339 * sunrpc/rpcgen.c: New file.
3340
547b5e30
PE
33412012-03-09 Paul Eggert <eggert@cs.ucla.edu>
3342
c524201a
PE
3343 [BZ #13673]
3344 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
3345 * stdio-common/bug-vfprintf-nargs.c: Likewise.
3346 * sysdeps/i386/crti.S: Likewise.
3347 * sysdeps/i386/crtn.S: Likewise.
3348 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
3349 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
3350 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
3351 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
3352 * sysdeps/sh/crti.S: Likewise.
3353 * sysdeps/sh/crtn.S: Likewise.
3354 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3355
7b6235f2
PE
3356 [BZ #13673]
3357 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
3358 with URL.
3359 * locale/programs/locfile-kw.gperf: Likewise.
3360 * locale/programs/charmap-kw.h: Regenerated.
3361 * locale/programs/locfile-kw.h: Likewise.
3362
547b5e30
PE
3363 [BZ #13673]
3364 * intl/plural.y: Replace FSF snail mail address with URL.
3365 * intl/plural.c: Regenerated.
3366
5f0a5dae
RH
33672012-03-09 Richard Henderson <rth@twiddle.net>
3368
3369 * include/math_private.h: Remove file.
3370 * math/math_private.h: Move file ...
3371 * sysdeps/generic/math_private.h: ... here.
3372
b8c03620
RH
3373 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
3374 * sysdeps/powerpc/fpu/math_private.h: Likewise.
3375 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3376
4e234f5d 3377 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
3378 and <math_private.h>.
3379 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3380 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3381 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3382 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3383 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3384 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
3385 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3386 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3387 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3388 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3389 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3390 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3391 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3392 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3393 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3394 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3395 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3396 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3397 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3398 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3399 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3400 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3401 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3402 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3403 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3404 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3405 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3406 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3407 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3408 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3409 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3410 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3411 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3412 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3413 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3414 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3415 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3416 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3417 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3418 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3419 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
3420 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3421 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3422 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3423 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3424 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3425 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3426 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3427 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3428 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3429 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3430 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3431 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3432 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3433 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3434 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3435 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3436 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3437 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3438 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
3439 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3440 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3441 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3442 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3443 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3444 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3445 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3446 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3447 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
3448 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
3449 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3450 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3451 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3452 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3453 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
3454 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3455 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
3456 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3457 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
3458 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3459 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3460 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3461 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3462 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3463 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3464 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3465 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
3466 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3467 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3468 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3469 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3470 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3471 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3472 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3473 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3474 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3475 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3476 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3477 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3478 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3479 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3480 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3481 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3482 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3483 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3484 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3485 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3486 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3487 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3488 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3489 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3490 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3491 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3492 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3493 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
3494 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3495 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3496 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3497 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3498 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3499 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3500 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3501 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3502 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
3503 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3504 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3505 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3506 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
3507 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3508 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3509 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3510 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3511 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3512 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
3513 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
3514 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3515 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3516 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3517 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
3518 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3519 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3520 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3521 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3522 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
3523 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
3524 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3525 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3526 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3527 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3528 * sysdeps/ieee754/k_standard.c: Likewise.
3529 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3530 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3531 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3532 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3533 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3534 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3535 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3536 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3537 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3538 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3539 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3540 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3541 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3542 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3543 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3544 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3545 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3546 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3547 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3548 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3549 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3550 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3551 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3552 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3553 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3554 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3555 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3556 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3557 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3558 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3559 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3560 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3561 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3562 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3563 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3564 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3565 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3566 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
3567 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3568 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3569 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3570 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3571 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3572 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3573 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3574 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3575 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3576 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3577 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3578 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3579 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3580 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3581 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3582 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3583 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3584 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3585 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
3586 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3587 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3588 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3589 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3590 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3591 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3592 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
3593 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3594 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3595 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
3596 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
3597 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
3598 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
3599 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
3600 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3601 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
3602 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
3603 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
3604 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
3605 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
3606 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
3607 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3608 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3609 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3610 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3611 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3612 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3613 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
3614 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3615 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3616 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3617 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3618 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3619 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
3620 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3621 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3622 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3623 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3624 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3625 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
3626 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3627 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3628 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
3629 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3630 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3631 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3632 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3633 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
3634 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3635 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3636 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3637 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
3638 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3639 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3640 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3641 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
3642 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3643 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
3644 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3645 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
3646 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3647 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3648 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3649 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3650 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
3651 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3652 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
3653 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3654 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
3655 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3656 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3657 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3658 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3659 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3660 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3661 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3662 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3663 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3664 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3665 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
3666 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3667 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3668 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
3669 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
3670 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3671 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
3672 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
3673 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3674 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3675 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3676 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3677 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3678 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
3679 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3680 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3681 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3682 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3683 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
3684 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
3685 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3686 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3687 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3688 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3689 * sysdeps/ieee754/s_lib_version.c: Likewise.
3690 * sysdeps/ieee754/s_matherr.c: Likewise.
3691 * sysdeps/ieee754/s_signgam.c: Likewise.
3692 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3693 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3694 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
3695 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
3696 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
3697 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3698 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
3699 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
3700 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
3701 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
3702 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3703 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
3704 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3705 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3706 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
3707 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3708 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3709 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3710 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3711 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3712 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 3713
1991fa03
JM
37142012-03-09 Joseph Myers <joseph@codesourcery.com>
3715
3716 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
3717 * sunrpc/rpc_main.c: Likewise.
3718 * sunrpc/rpc_svcout.c: Likewise.
3719
60d6f5a6
DM
37202012-03-09 David S. Miller <davem@davemloft.net>
3721
3722 * include/math_private.h: New file.
3723
4962050e
JM
37242012-03-09 Joseph Myers <joseph@codesourcery.com>
3725
02a6f887
JM
3726 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
3727 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
3728 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
3729 from <bits/socket_type.h>.
3730 (enum __socket_type): Don't define here.
3731 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
3732 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3733 bits/socket_type.h.
3734
c6e013c1
JM
3735 [BZ #13566]
3736 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
3737 checking __USE_GNU.
3738
4962050e
JM
3739 * Makerules ($(inst_includedir)/%.h): New rule.
3740 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
3741 (install-others): Remove variable setting.
3742 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
3743
38842f45
RH
37442012-03-08 Richard Henderson <rth@twiddle.net>
3745
67bb6da6
RH
3746 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
3747 from macro to inline function; merge with the
3748 !__LIBC_INTERNAL_MATH_INLINES version.
3749 (__ieee754_sqrtf): Likewise.
3750
15194b4b
RH
3751 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
3752 to inline function.
3753 (__rintf, __floor, __floorf): Likewise.
3754
64e21ede
RH
3755 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
3756 macro to inline function.
3757 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
3758
38842f45
RH
3759 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
3760 not <math/math_private.h>.
3761
c64bf5fe
DM
37622012-03-08 David S. Miller <davem@davemloft.net>
3763
3764 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
3765 copyright year.
3766 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
3767
82d86f28
TS
37682012-03-08 Thomas Schwinge <thomas@codesourcery.com>
3769
3770 * resolv/gai_misc.c (handle_requests): Fix struct timespec
3771 normalization.
3772 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
3773 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3774
aea5d727
UD
37752012-03-08 Ulrich Drepper <drepper@gmail.com>
3776
3777 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
3778 be defined individually, they must be defined as a block. Define
3779 S for printing a string instead of hidint the different by using a
3780 macro for adding the 'l'.
3781 * stdio-common/tst-fphex-wide.c: Adjust.
3782
70bca0a3
MP
37832012-03-07 Marek Polacek <polacek@redhat.com>
3784
3785 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
3786
65b81130
MP
37872012-03-08 Marek Polacek <polacek@redhat.com>
3788
3789 [BZ #13806]
3790 * stdio-common/Makefile (tests): Add tst-fphex-wide.
3791 * stdio-common/tst-fphex.c: Define a few macros to make the
3792 test reusable. Use them.
3793 * stdio-common/tst-fphex-wide.c: New file.
3794
07037eeb
JM
37952012-03-08 Joseph Myers <joseph@codesourcery.com>
3796
a7a93d50
JM
3797 [BZ #6911]
3798 * manual/macros.texi (gnusystems): New macro.
3799 (nongnusystems): Likewise.
3800 (gnulinuxhurdsystems): Likewise.
3801 (gnuhurdsystems): Likewise..
3802 (gnulinuxsystems): Likewise.
3803 * manual/charset.texi: Use new macros or @theglibc{} to refer to
3804 variants of the GNU system, not "GNU system".
3805 * manual/conf.texi: Likewise.
3806 * manual/errno.texi: Likewise. Update example of errno macro
3807 expansion.
3808 * manual/filesys.texi: Likewise.
3809 (getumask): Document as specific to GNU/Hurd.
3810 * manual/install.texi: Likewise. Reword some references to
3811 GNU/Linux.
3812 * manual/intro.texi: Likewise.
3813 * manual/io.texi: Likewise.
3814 (File Name Portability): Detail which constraints are inapplicable
3815 to all GNU systems and which are only inapplicable to GNU/Hurd.
3816 * manual/job.texi: Likewise.
3817 * manual/llio.texi: Likewise.
3818 (O_NOCTTY): Document as present on GNU/Linux.
3819 * manual/maint.texi: Likewise.
3820 * manual/memory.texi: Likewise.
3821 * manual/pattern.texi: Likewise.
3822 * manual/pipe.texi: Likewise.
3823 * manual/process.texi: Likewise.
3824 * manual/resource.texi: Likewise.
3825 (RUSAGE_CHILDREN): Remove statement about specifying a particular
3826 child on GNU/Hurd.
3827 * manual/setjmp.texi: Likewise.
3828 * manual/signal.texi: Likewise.
3829 * manual/startup.texi: Likewise.
3830 * manual/stdio.texi: Likewise.
3831 * manual/terminal.texi: Likewise.
3832 (ONLCR): Document as POSIX.
3833 (OXTABS): Document availability on GNU/Linux as XTABS.
3834 (ONOEOT): Document availability separately from other bits.
3835 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
3836 * manual/time.texi: Likewise.
3837 * manual/users.texi: Likewise.
3838 * INSTALL: Regenerated.
3839 * sysdeps/gnu/errlist.c: Regenerated.
3840
07037eeb
JM
3841 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
3842 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
3843 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
3844 puts.
3845 * configure: Regenerated.
3846
d1d3431a
JM
38472012-03-07 Joseph Myers <joseph@codesourcery.com>
3848
af6a1e37
JM
3849 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
3850 default includes instead of AC_HEADER_CHECK.
3851 * sysdeps/i386/configure: Regenerated.
3852
d1d3431a
JM
3853 [BZ #10716]
3854 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
3855 * math/s_cacoshf.c (__cacoshf): Likewise.
3856 * math/s_cacoshl.c (__cacoshl): Likewise.
3857 * math/s_casinh.c (__casinh): Set signs of result from argument.
3858 * math/s_casinhf.c (__casinhf): Likewise.
3859 * math/s_casinhl.c (__casinhl): Likewise.
3860 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
3861 (casinh_test): Add more tests.
3862 * sysdeps/i386/fpu/libm-test-ulps: Update.
3863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3864
482ff4da
UD
38652012-03-07 Ulrich Drepper <drepper@gmail.com>
3866
872fda05
UD
3867 * po/zh_TW.po: Update from translation team.
3868
a4300c7a
UD
3869 * login/Makefile (distribute): Remove variable.
3870 * catgets/Makefile: Likewise.
3871 * mach/Makefile: Likewise.
3872 * malloc/Makefile: Likewise.
3873 * misc/Makefile: Likewise.
3874 * iconv/Makefile: Likewise.
3875 * nscd/Makefile: Likewise.
3876 * hurd/Makefile: Likewise.
3877 * manual/Makefile: Likewise.
3878 * locale/Makefile: Likewise.
3879 * intl/Makefile: Likewise.
3880 * conform/Makefile: Likewise.
3881 * nss/Makefile: Likewise.
3882 * time/Makefile: Likewise.
3883 * soft-fp/Makefile: Likewise.
3884 * dirent/Makefile: Likewise.
3885 * gmon/Makefile: Likewise.
3886 * po/Makefile: Likewise.
3887 * rt/Makefile: Likewise.
3888 * socket/Makefile: Likewise.
3889 * math/Makefile: Likewise.
3890 * signal/Makefile: Likewise.
3891 * debug/Makefile: Likewise.
3892 * elf/Makefile: Likewise.
3893 * timezone/Makefile: Likewise.
3894 * stdlib/Makefile: Likewise.
3895 * iconvdata/Makefile: Likewise.
3896 * sunrpc/Makefile: Likewise.
3897 * io/Makefile: Likewise.
3898 * argp/Makefile: Likewise.
3899 * inet/Makefile: Likewise.
3900 * hesiod/Makefile: Likewise.
3901 * grp/Makefile: Likewise.
3902 * csu/Makefile: Likewise.
3903 * wctype/Makefile: Likewise.
3904 * crypt/Makefile: Likewise.
3905 * libio/Makefile: Likewise.
3906 * string/Makefile: Likewise.
3907 * nis/Makefile: Likewise.
3908 * resolv/Makefile: Likewise.
3909 * stdio-common/Makefile: Likewise.
3910 * wcsmbs/Makefile: Likewise.
3911 * dlfcn/Makefile: Likewise.
3912 * posix/Makefile: Likewise.
3913
3b7c4e74 3914 [BZ #6959]
482ff4da
UD
3915 * timezone/Makefile: Don't install timezone files, just the programs
3916 and scripts.
3917
f72ed77d
UD
39182012-03-06 Ulrich Drepper <drepper@gmail.com>
3919
a000466f
UD
3920 * nss/databases.def: Add missing gshadow entry.
3921
f72ed77d
UD
3922 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
3923
a53b7a4e
MP
39242012-03-06 Marek Polacek <polacek@redhat.com>
3925
3926 [BZ #13726]
3927 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
3928 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3929 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
3930 * stdio-common/tst-long-dbl-fphex.c: New file.
3931
e9258400
DM
39322012-03-06 David S. Miller <davem@davemloft.net>
3933
3934 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3935 (set_obp_int): New function.
3936 (get_obp_int): New function.
3937 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
3938 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
3939 Avoid unused variable warnings on 'val' and use builtin_expect.
3940 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
3941 __builtin_expect.
e9258400
DM
3942 (INLINE_CLONE_SYSCALL): Likewise.
3943
3bd2c723
DM
39442012-03-05 David S. Miller <davem@davemloft.net>
3945
3946 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3947
bbb78d03
AS
39482012-03-05 Andreas Schwab <schwab@linux-m68k.org>
3949
884c5db4
AS
3950 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3951
bbb78d03
AS
3952 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
3953 only for |x| >= 40.
3954 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3955
1c9f702a 39562012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
3957
3958 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
3959 Replace gettimeofday with __vdso_gettimeofday.
3960
7be16f82
RM
3961 * sysdeps/unix/sysv/linux/x86_64/init-first.c
3962 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
3963 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
3964
3965 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
3966 time with __vdso_time.
3967
ed58a00f
JM
39682012-03-05 Joseph Myers <joseph@codesourcery.com>
3969
3970 * manual/lang.texi (size_t): Note types to which size_t may be
3971 equivalent with the GNU C Library, but do not describe when
3972 differences between them are significant.
3973
30ee4ced
AJ
39742012-03-05 Andreas Jaeger <aj@suse.de>
3975
3976 * sysdeps/i386/fpu/libm-test-ulps: Update.
3977
b7cd39e8
JM
39782012-03-05 Joseph Myers <joseph@codesourcery.com>
3979
3980 [BZ #3976]
3981 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
3982 (__ieee754_pow): Save and restore rounding mode and use
3983 round-to-nearest for main computations.
3984 * math/libm-test.inc (pow_test_tonearest): New function.
3985 (pow_test_towardzero): Likewise.
3986 (pow_test_downward): Likewise.
3987 (pow_test_upward): Likewise.
3988 (main): Call the new functions.
3989 * sysdeps/i386/fpu/libm-test-ulps: Update.
3990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
3991
3992 [BZ #3976]
3993 * math/libm-test.inc (cosh_test_tonearest): New function.
3994 (cosh_test_towardzero): Likewise.
3995 (cosh_test_downward): Likewise.
3996 (cosh_test_upward): Likewise.
3997 (sinh_test_tonearest): Likewise.
3998 (sinh_test_towardzero): Likewise.
3999 (sinh_test_downward): Likewise.
4000 (sinh_test_upward): Likewise.
4001 (main): Call the new functions.
4002 * sysdeps/i386/fpu/libm-test-ulps: Update.
4003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4004
6c6a98c9
TV
40052012-03-05 Tom de Vries <tom@codesourcery.com>
4006
4007 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4008 default stack guard is set in last bytes.
4009 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4010
21bb2d2e 40112012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 4012
21bb2d2e 4013 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 4014
21bb2d2e
AJ
4015 [BZ #13656]
4016 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4017 possibly allocate from heap instead of stack.
4018 * stdio-common/bug-vfprintf-nargs.c: New file.
4019 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 4020
c6922934
AS
40212012-03-03 Andreas Schwab <schwab@linux-m68k.org>
4022
4023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4024
bc957d53
MP
40252012-03-03 Marek Polacek <polacek@redhat.com>
4026
4027 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4028 * math/math_private.h: Likewise.
4029 * stdlib/tst-strtod.c: Likewise.
4030 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4031 * sysdeps/x86_64/bits/atomic.h: Likewise.
4032
6358490d
DM
40332012-03-02 David S. Miller <davem@davemloft.net>
4034
4035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4039 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4040 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4041 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4042 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4043
01ae168d
RM
40442012-03-02 Roland McGrath <roland@hack.frob.com>
4045
d9a17c07
RM
4046 [BZ #13792]
4047 * manual/examples/README: New file, says the example source files
4048 can be used under GPL>=2.
4049 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4050 line containing just "*/".
4051 * manual/examples/add.c: Add copyright header (GPL>=2).
4052 * manual/examples/argp-ex1.c: Likewise.
4053 * manual/examples/argp-ex2.c: Likewise.
4054 * manual/examples/argp-ex3.c: Likewise.
4055 * manual/examples/argp-ex4.c: Likewise.
4056 * manual/examples/atexit.c: Likewise.
4057 * manual/examples/db.c: Likewise.
4058 * manual/examples/dir.c: Likewise.
4059 * manual/examples/dir2.c: Likewise.
4060 * manual/examples/execinfo.c: Likewise.
4061 * manual/examples/filecli.c: Likewise.
4062 * manual/examples/filesrv.c: Likewise.
4063 * manual/examples/fmtmsgexpl.c: Likewise.
4064 * manual/examples/genpass.c: Likewise.
4065 * manual/examples/inetcli.c: Likewise.
4066 * manual/examples/inetsrv.c: Likewise.
4067 * manual/examples/isockad.c: Likewise.
4068 * manual/examples/longopt.c: Likewise.
4069 * manual/examples/memopen.c: Likewise.
4070 * manual/examples/memstrm.c: Likewise.
4071 * manual/examples/mkfsock.c: Likewise.
4072 * manual/examples/mkisock.c: Likewise.
4073 * manual/examples/mygetpass.c: Likewise.
4074 * manual/examples/pipe.c: Likewise.
4075 * manual/examples/popen.c: Likewise.
4076 * manual/examples/rprintf.c: Likewise.
4077 * manual/examples/search.c: Likewise.
4078 * manual/examples/select.c: Likewise.
4079 * manual/examples/setjmp.c: Likewise.
4080 * manual/examples/sigh1.c: Likewise.
4081 * manual/examples/sigusr.c: Likewise.
4082 * manual/examples/stpcpy.c: Likewise.
4083 * manual/examples/strdupa.c: Likewise.
4084 * manual/examples/strftim.c: Likewise.
4085 * manual/examples/strncat.c: Likewise.
4086 * manual/examples/subopt.c: Likewise.
4087 * manual/examples/swapcontext.c: Likewise.
4088 * manual/examples/termios.c: Likewise.
4089 * manual/examples/testopt.c: Likewise.
4090 * manual/examples/testpass.c: Likewise.
4091 * manual/examples/timeval_subtract.c: Likewise.
4092
01ae168d
RM
4093 [BZ #13792]
4094 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4095 function to ...
4096 * manual/timeval_subtract.c.texi: ... here, new file.
4097
49efa33d
DM
40982012-03-02 David S. Miller <davem@davemloft.net>
4099
4100 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4101
28afd92d
JM
41022012-03-02 Joseph Myers <joseph@codesourcery.com>
4103
804360ed
JM
4104 [BZ #3976]
4105 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4106 (__sin): Save and restore rounding mode and use round-to-nearest
4107 for all computations.
4108 (__cos): Save and restore rounding mode and use round-to-nearest
4109 for all computations.
4110 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4111 <fenv.h>.
4112 (tan): Save and restore rounding mode and use round-to-nearest for
4113 all computations.
4114 * math/libm-test.inc (cos_test_tonearest): New function.
4115 (cos_test_towardzero): Likewise.
4116 (cos_test_downward): Likewise.
4117 (cos_test_upward): Likewise.
4118 (sin_test_tonearest): Likewise.
4119 (sin_test_towardzero): Likewise.
4120 (sin_test_downward): Likewise.
4121 (sin_test_upward): Likewise.
4122 (tan_test_tonearest): Likewise.
4123 (tan_test_towardzero): Likewise.
4124 (tan_test_downward): Likewise.
4125 (tan_test_upward): Likewise.
4126 (main): Call the new functions.
4127 * sysdeps/i386/fpu/libm-test-ulps: Update.
4128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4129
a6d06d7b
JM
4130 [BZ #10135]
4131 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4132 small n, then large n, before computing and testing k+n.
4133 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4134 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4135 Likewise.
4136 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4137 Likewise.
4138 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4139 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4140 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4141 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4142 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4143 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4144 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4145 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4146 * math/libm-test.inc (scalbn_test): Add more tests.
4147 (scalbln_test): Likewise.
4148
07e12bb3
JM
4149 * manual/filesys.texi (mode_t): Describe constraints on size and
4150 signedness, not exact equivalence to a particular type.
4151 (ino_t): Likewise.
4152 (ino64_t): Likewise.
4153 (dev_t): Likewise.
4154 (nlink_t): Likewise.
4155 (blkcnt_t): Likewise.
4156 (blkcnt64_t): Likewise.
4157 * manual/llio.texi (off_t): Likewise.
4158
28afd92d
JM
4159 [BZ #3976]
4160 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4161 (__ieee754_exp): Save and restore rounding mode and use
4162 round-to-nearest for all computations.
4163 * math/libm-test.inc (exp_test_tonearest): New function.
4164 (exp_test_towardzero): Likewise.
4165 (exp_test_downward): Likewise.
4166 (exp_test_upward): Likewise.
4167 (main): Call the new functions.
4168 * sysdeps/i386/fpu/libm-test-ulps: Update.
4169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4170
b1eeb65d
CD
41712012-03-01 Chris Demetriou <cgd@google.com>
4172
4173 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4174 have predictable order.
4175
53362a4b
DM
41762012-03-01 David S. Miller <davem@davemloft.net>
4177
3c969083
DM
4178 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4179
759707de
DM
4180 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4181 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4182 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4183 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4184
dfdb8ff2
DM
4185 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4186 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4187 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4189 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4190 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4191 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4192 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4193 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4194
ead89f96
DM
4195 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4196
7f66bd07
DM
4197 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4198 * sysdeps/sparc/fpu/libm-test-ulps: to here.
4199 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4200
53362a4b
DM
4201 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4202 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4203 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4204 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4205 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4206 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4207 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4208 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4209 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4210 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4211 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4212 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4213 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4214 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4215 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4216 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4217 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4218 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4219 * sysdeps/sparc/elf/configure: Regenerated.
4220
7b1902cb
JM
42212012-03-01 Joseph Myers <joseph@codesourcery.com>
4222
bec039bc
JM
4223 * configure.in (AS, LD): Require binutils 2.20 or later.
4224 * configure: Regenerated.
4225 * manual/install.texi (Tools for Compilation): Give binutils 2.20
4226 as required minimum version.
4227 * INSTALL: Regenerated.
4228
7b1902cb
JM
4229 [BZ #2541]
4230 [BZ #4108]
4231 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4232 before squaring exponent.
4233 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4234 bottom long double and 27 bits of top long double before squaring
4235 exponent.
4236 * math/libm-test.inc (erfc_test): Add more tests.
4237 * sysdeps/i386/fpu/libm-test-ulps: Update.
4238 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4240
f775c276
KT
42412012-03-01 Kai Tietz <ktietz@redhat.com>
4242
4243 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4244 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4245 containing bit-fields.
4246 * soft-fp/extended.h (_FP_UNION_E): Likewise.
4247 * soft-fp/single.h (_FP_UNION_S): Likewise.
4248 * soft-fp/double.h (_FP_UNION_D): Likewise.
4249
5b8a4d4a
JM
42502012-02-29 Joseph Myers <joseph@codesourcery.com>
4251
0bab47b6
JM
4252 [BZ #13786]
4253 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4254 not include ../strcmp.S.
4255 [USE_AS_STRNCASECMP_L]: Likewise.
4256 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4257 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4258 * sysdeps/i386/i686/multiarch/strncase_l-c.c
4259 (__strncasecmp_l_ia32): Define as alias to
4260 __strncasecmp_l_nonascii.
4261
0fcad3e2
JM
4262 [BZ #5794]
4263 * math/libm-test.inc (expm1_test): Add test for bug 5794.
4264 * sysdeps/i386/fpu/libm-test-ulps: Update.
4265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4266
5b8a4d4a
JM
4267 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4269
8fdceb2e
JL
42702012-02-29 Jeff Law <law@redhat.com>
4271
4272 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4273 out of bounds read.
4274
1f393a11
MP
42752012-02-29 Marek Polacek <polacek@redhat.com>
4276
4277 [BZ #13706]
4278 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4279 * elf/Makefile: Add rules to run tst-unused-dep.out.
4280
8847f037
DM
42812012-02-28 David S. Miller <davem@davemloft.net>
4282
4283 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
4284 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
4285 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
4286 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
4287 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
4288 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
4289
169d7f11
JM
42902012-02-29 Joseph Myers <joseph@codesourcery.com>
4291
4292 * math/libm-test.inc (llround_test): Move one test from
4293 lround_test. Use TEST_f_L in moved test.
4294 (lround_test): Move misplaced test to llround_test. Add testcase
4295 from bug 2561.
4296
39adf059
UD
42972012-02-28 Ulrich Drepper <drepper@gmail.com>
4298
4299 * sysdeps/x86_64/fpu/e_expf.S: New file.
4300 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
4301
71b5d1c5
SB
43022012-02-28 Stanislav Brabec <sbrabec@suse.cz>
4303
4304 [BZ #13637]
4305 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
4306 of remain_len that may cause incomplete multi-byte character and
4307 false match.
4308 * posix/bug-regex33.c: New file.
4309 * posix/Makefile (tests): Add bug-regex33.
4310
1f77f049
JM
43112012-02-28 Joseph Myers <joseph@codesourcery.com>
4312
4313 * manual/macros.texi: New file.
4314 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
4315 * manual/libc.texinfo: Include macros.texi.
4316 * manual/creatute.texi: Likewise.
4317 * manual/install.texi: Likewise.
4318 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
4319 @glibcadj{} in references to the GNU C Library.
4320 * manual/charset.texi: Likewise.
4321 * manual/conf.texi: Likewise.
4322 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
4323 when not using those macros.
4324 * manual/creature.texi: Likewise.
4325 * manual/crypt.texi: Likewise.
4326 * manual/errno.texi: Likewise.
4327 * manual/filesys.texi: Likewise.
4328 * manual/header.texi: Likewise.
4329 * manual/install.texi: Likewise.
4330 * manual/intro.texi: Likewise.
4331 * manual/io.texi: Likewise.
4332 * manual/job.texi: Likewise.
4333 * manual/lang.texi: Likewise.
4334 * manual/libc.texiinfo: Likewise.
4335 * manual/llio.texi: Likewise.
4336 * manual/locale.texi: Likewise.
4337 * manual/maint.texi: Likewise.
4338 * manual/math.texi: Likewise.
4339 * manual/memory.texi: Likewise.
4340 * manual/message.texi: Likewise.
4341 * manual/nss.texi: Likewise.
4342 * manual/pattern.texi: Likewise.
4343 * manual/process.texi: Likewise.
4344 * manual/resource.texi: Likewise.
4345 * manual/search.texi: Likewise.
4346 * manual/setjmp.texi: Likewise.
4347 * manual/signal.texi: Likewise.
4348 * manual/socket.texi: Likewise.
4349 * manual/startup.texi: Likewise.
4350 * manual/stdio.texi: Likewise.
4351 * manual/string.texi: Likewise.
4352 * manual/sysinfo.texi: Likewise.
4353 * manual/syslog.texi: Likewise.
4354 * manual/terminal.texi: Likewise.
4355 * manual/time.texi: Likewise.
4356 * manual/users.texi: Likewise.
4357 * INSTALL: Regenerated.
4358 * NOTES: Regenerated.
d40c5d54 4359 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 4360
450bf206
AS
43612012-02-28 Andreas Schwab <schwab@linux-m68k.org>
4362
4363 * include/dirent.h: Include <dirstream.h> before
4364 <dirent/dirent.h>.
4365
741a235b
DM
43662012-02-28 David S. Miller <davem@davemloft.net>
4367
4368 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
4369 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
4370 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
4371 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
4372
d6b5aa58
DM
43732012-02-27 David S. Miller <davem@davemloft.net>
4374
1aff59a3
DM
4375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
4376 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
4377 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
4378 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
4379
d6b5aa58
DM
4380 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
4381 frame pointer instead of stack pointer relative arg slot.
4382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4383 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4384 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4385
433f48bf
CD
43862012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
4387
4388 [BZ #3992]
4389 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
4390
d674b76d
DM
43912012-02-27 David S. Miller <davem@davemloft.net>
4392
4393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
4394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
4397 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4398 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4399 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
4400 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
4401
0e7727f7
JM
44022012-02-27 Joseph Myers <joseph@codesourcery.com>
4403
4404 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
4405 later. Allow versions 5-9.
43be4ca2 4406 * configure: Regenerated.
0e7727f7
JM
4407 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
4408 required minimum version and 4.6 as recommended version. Do not
4409 mention bugs in GCC 2.7 and 2.8.
43be4ca2 4410 * INSTALL: Regenerated.
0e7727f7 4411
a78bc654
DM
44122012-02-27 David S. Miller <davem@davemloft.net>
4413
428d5830
DM
4414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
4415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
4416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
4417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
4418 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
4419 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
4420 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
4421 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
4422
a78bc654
DM
4423 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
4424 manipulate bits before adding and subtracting TWO112[sx].
4425 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4426
4579f81c
RM
44272012-02-27 Roland McGrath <roland@hack.frob.com>
4428
36c8acb4
RM
4429 [BZ #13775]
4430 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
4431 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
4432 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
4433 being in POSIX, because they are in 1003.1-2008.
4434
84ad622b
RM
4435 * rt/tst-aio.c: Include <fcntl.h>.
4436 * rt/tst-aio7.c: Likewise.
4437 * rt/tst-aio64.c: Likewise.
4438
4579f81c
RM
4439 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
4440
abd923db
JM
44412012-02-27 Joseph Myers <joseph@codesourcery.com>
4442
4443 * manual/install.texi (--with-headers): Describe headers as
4444 interface headers, not private headers.
4445 (Specific advice for GNU/Linux systems): Describe use of headers
4446 from "make headers_install", not private headers from older
4447 kernels.
43be4ca2 4448 * INSTALL: Regenerated.
abd923db
JM
4449 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
4450 Change to 2.6.19.
4451 * sysdeps/unix/sysv/linux/configure: Regenerated.
4452
6664049b
JM
4453 * manual/llio.texi (fclean): Remove documentation.
4454
bb8b6697
JM
4455 * manual/Makefile (libc-texi-generated): New variable. Include
4456 version.texi.
4457 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
4458 $(libc-texi-generated), not duplicated list of files.
4459 (version.texi, stamp-version): New rules.
4460 (realclean): Remove $(libc-texi-generated), not individual files
4461 from that list. Do not remove dir-add.texinfo.
4462 * manual/libc.texinfo: Comment out uses of edition numbers and
4463 references to printed manual. Remove last-updated dates.
4464 (EDITION): Comment out.
4465 (ISBN): Likewise.
4466 (VERSION, UPDATED): Remove.
4467 (version.texi): Include.
4468
12e5c3b9
AS
44692012-02-27 Andreas Schwab <schwab@linux-m68k.org>
4470
4471 * sysdeps/posix/spawni.c: Include <signal.h>.
4472 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
4473 * sysdeps/pthread/aio_fsync.c: Likewise.
4474
4efeffc1 44752012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 4476
ba63ba08
UD
4477 * conform/Makefile (tests): Run only when not cross-compiling and
4478 when fast-check is not defined.
4479
d94a4670
UD
4480 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
4481 * conform/data/limits.h-data: Fixes for POSIX2008.
4482 * conform/run-conformtest.sh: Run all tests.
4483 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
4484 headers.
4485 * include/bits/dlfcn.h: Likewise.
4486 * include/langinfo.h: Likewise.
4487 * include/monetary.h: Likewise.
4488 * include/sys/poll.h: Likewise.
4489
4490 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
4491 for __USE_GNU.
4492 * posix/spawn.h: Define __need_sigset_t.
4493 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
4494 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
4495 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
4496 to get sigevent_t only.
4497 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
4498 only for __USE_GNU.
4499 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4500 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4501 process_vm_writev only for __USE_GNU.
4502 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
4503
4504 * conform/Makefile: For now ignore errors from run-conformtest.
4505 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
4506 POSIX to avoid namespace pollution. Don't prepend headers.
4507 * conform/data/aio.h-data: Fixes for POSIX testing.
4508 * conform/data/fcntl.h-data: Likewise.
4509 * conform/data/glob.h-data: Likewise.
4510 * conform/data/grp.h-data: Likewise.
4511 * conform/data/pthread.h-data: Likewise.
4512 * conform/data/pwd.h-data: Likewise.
4513 * conform/data/signal.h-data: Likewise.
4514 * conform/data/spawn.h-data: Likewise.
4515 * conform/data/stdio.h-data: Likewise.
4516 * conform/data/stdlib.h-data: Likewise.
4517 * conform/data/stropts.h-data: Likewise.
4518 * conform/data/sys/mman.h-data: Likewise.
4519 * conform/data/sys/stat.h-data: Likewise.
4520 * conform/data/sys/types.h-data: Likewise.
4521 * conform/data/sys/wait.h-data: Likewise.
4522 * conform/data/time.h-data: Likewise.
4523 * conform/data/unistd.h-data: Likewise.
4524 * conform/data/utime.h-data: Likewise.
4525
4526 * io/sys/stat.h: fchmod was always in POSIX.
4527 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
4528 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
4529 * rt/aio.h: Define __need_timespec before including <time.h>.
4530 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
4531 struct. Add forward declaration of pthread_attr_t and use it in
4532 sigevent.
4533 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4534 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4535 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
4536 always remove CLK_TCK definition.
4537
c20105c3
AS
45382012-02-26 Andreas Schwab <schwab@linux-m68k.org>
4539
4540 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
4541
7a270350
UD
45422012-02-25 Ulrich Drepper <drepper@gmail.com>
4543
31341567
UD
4544 * conform/run-conformtest.sh: New file.
4545 * conform/Makefile: Run run-conformtest for tests.
4546 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
4547 support.
4548
4549 * conform/data/uchar.h-data: New file.
4550 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
4551 * conform/data/arpa/inet.h-data: Likewise.
4552 * conform/data/assert.h-data: Likewise.
4553 * conform/data/complex.h-data: Likewise.
4554 * conform/data/cpio.h-data: Likewise.
4555 * conform/data/ctype.h-data: Likewise.
4556 * conform/data/dirent.h-data: Likewise.
4557 * conform/data/dlfcn.h-data: Likewise.
4558 * conform/data/errno.h-data: Likewise.
4559 * conform/data/fcntl.h-data: Likewise.
4560 * conform/data/float.h-data: Likewise.
4561 * conform/data/fmtmsg.h-data: Likewise.
4562 * conform/data/fnmatch.h-data: Likewise.
4563 * conform/data/ftw.h-data: Likewise.
4564 * conform/data/glob.h-data: Likewise.
4565 * conform/data/grp.h-data: Likewise.
4566 * conform/data/iconv.h-data: Likewise.
4567 * conform/data/inttypes.h-data: Likewise.
4568 * conform/data/langinfo.h-data: Likewise.
4569 * conform/data/libgen.h-data: Likewise.
4570 * conform/data/limits.h-data: Likewise.
4571 * conform/data/locale.h-data: Likewise.
4572 * conform/data/math.h-data: Likewise.
4573 * conform/data/monetary.h-data: Likewise.
4574 * conform/data/mqueue.h-data: Likewise.
4575 * conform/data/ndbm.h-data: Likewise.
4576 * conform/data/net/if.h-data: Likewise.
4577 * conform/data/netdb.h-data: Likewise.
4578 * conform/data/netinet/in.h-data: Likewise.
4579 * conform/data/nl_types.h-data: Likewise.
4580 * conform/data/poll.h-data: Likewise.
4581 * conform/data/pthread.h-data: Likewise.
4582 * conform/data/pwd.h-data: Likewise.
4583 * conform/data/regex.h-data: Likewise.
4584 * conform/data/sched.h-data: Likewise.
4585 * conform/data/search.h-data: Likewise.
4586 * conform/data/semaphore.h-data: Likewise.
4587 * conform/data/setjmp.h-data: Likewise.
4588 * conform/data/signal.h-data: Likewise.
4589 * conform/data/spawn.h-data: Likewise.
4590 * conform/data/stdarg.h-data: Likewise.
4591 * conform/data/stdio.h-data: Likewise.
4592 * conform/data/stdlib.h-data: Likewise.
4593 * conform/data/string.h-data: Likewise.
4594 * conform/data/strings.h-data: Likewise.
4595 * conform/data/stropts.h-data: Likewise.
4596 * conform/data/sys/ipc.h-data: Likewise.
4597 * conform/data/sys/mman.h-data: Likewise.
4598 * conform/data/sys/msg.h-data: Likewise.
4599 * conform/data/sys/resource.h-data: Likewise.
4600 * conform/data/sys/select.h-data: Likewise.
4601 * conform/data/sys/sem.h-data: Likewise.
4602 * conform/data/sys/shm.h-data: Likewise.
4603 * conform/data/sys/socket.h-data: Likewise.
4604 * conform/data/sys/stat.h-data: Likewise.
4605 * conform/data/sys/statvfs.h-data: Likewise.
4606 * conform/data/sys/time.h-data: Likewise.
4607 * conform/data/sys/timeb.h-data: Likewise.
4608 * conform/data/sys/times.h-data: Likewise.
4609 * conform/data/sys/types.h-data: Likewise.
4610 * conform/data/sys/uio.h-data: Likewise.
4611 * conform/data/sys/un.h-data: Likewise.
4612 * conform/data/sys/utsname.h-data: Likewise.
4613 * conform/data/sys/wait.h-data: Likewise.
4614 * conform/data/syslog.h-data: Likewise.
4615 * conform/data/tar.h-data: Likewise.
4616 * conform/data/termios.h-data: Likewise.
4617 * conform/data/utime.h-data: Likewise.
4618 * conform/data/utmpx.h-data: Likewise.
4619 * conform/data/varargs.h-data: Likewise.
4620 * conform/data/wchar.h-data: Likewise.
4621 * conform/data/wctype.h-data: Likewise.
4622 * conform/data/wordexp.h-data: Likewise.
4623
4624 * include/stropts.h: New file.
4625 * include/uchar.h: New file.
4626 * include/aio.h: Changes to allow conformtest.pl to use the headers.
4627 * include/assert.h: Likewise.
4628 * include/ctype.h: Likewise.
4629 * include/dirent.h: Likewise.
4630 * include/dlfcn.h: Likewise.
4631 * include/fcntl.h: Likewise.
4632 * include/fnmatch.h: Likewise.
4633 * include/glob.h: Likewise.
4634 * include/grp.h: Likewise.
4635 * include/libio.h: Likewise.
4636 * include/locale.h: Likewise.
4637 * include/math.h: Likewise.
4638 * include/net/if.h: Likewise.
4639 * include/netdb.h: Likewise.
4640 * include/netinet/in.h: Likewise.
4641 * include/pthread.h: Likewise.
4642 * include/pwd.h: Likewise.
4643 * include/regex.h: Likewise.
4644 * include/sched.h: Likewise.
4645 * include/search.h: Likewise.
4646 * include/setjmp.h: Likewise.
4647 * include/signal.h: Likewise.
4648 * include/stdio.h: Likewise.
4649 * include/stdlib.h: Likewise.
4650 * include/string.h: Likewise.
4651 * include/sys/cdefs.h: Likewise.
4652 * include/sys/mman.h: Likewise.
4653 * include/sys/msg.h: Likewise.
4654 * include/sys/resource.h: Likewise.
4655 * include/sys/select.h: Likewise.
4656 * include/sys/socket.h: Likewise.
4657 * include/sys/stat.h: Likewise.
4658 * include/sys/statvfs.h: Likewise.
4659 * include/sys/time.h: Likewise.
4660 * include/sys/times.h: Likewise.
4661 * include/sys/uio.h: Likewise.
4662 * include/sys/utsname.h: Likewise.
4663 * include/sys/wait.h: Likewise.
4664 * include/termios.h: Likewise.
4665 * include/time.h: Likewise.
4666 * include/ulimit.h: Likewise.
4667 * include/unistd.h: Likewise.
4668 * include/utime.h: Likewise.
4669 * include/wchar.h: Likewise.
4670 * include/wctype.h: Likewise.
4671 * include/wordexp.h: Likewise.
4672
4673 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
4674
7a270350
UD
4675 * time/time.h: TIME_UTC must be a macro.
4676 Make timespec_get available for ISO C11 only as well.
4677
7724defc
UD
46782012-02-24 Ulrich Drepper <drepper@gmail.com>
4679
4680 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
4681 Reported by Peng Haitao <penght@cn.fujitsu.com>.
4682
6b1d1d46
JM
46832012-02-24 Joseph Myers <joseph@codesourcery.com>
4684
4685 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 4686
0f8bbd69
JM
46872012-02-24 Joseph Myers <joseph@codesourcery.com>
4688
4689 * manual/texinfo.tex: Update to version 2012-01-19.16.
4690
66ab80bc
JM
46912012-02-24 Joseph Myers <joseph@codesourcery.com>
4692
4693 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
4694
74981cc5
RM
46952012-02-24 Roland McGrath <roland@hack.frob.com>
4696
ee968201
RM
4697 [BZ #13738]
4698 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
4699 * manual/fdl-1.3.texi: New file.
4700 * manual/fdl-1.1.texi: File removed.
4701
74981cc5
RM
4702 [BZ #13738]
4703 * manual/libc.texinfo (FDL_VERSION): New @set.
4704 Use it for mention of FDL in cover text.
4705 (Documentation License): Use it in @include file name.
4706
7bb764bc
JM
47072012-02-22 Joseph Myers <joseph@codesourcery.com>
4708 Roland McGrath <roland@hack.frob.com>
4709
4710 [BZ #5461]
4711 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
4712 not LONG_LONG_MAX and LONG_LONG_MIN.
4713 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
4714 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
4715 name.
4716 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
4717
6cbeae47
JM
47182012-02-22 Joseph Myers <joseph@codesourcery.com>
4719
4720 [BZ #2547]
4721 [BZ #11365]
4722 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
4723 manipulate bits before adding and subtracting TWO23[sx].
4724 * math/libm-test.inc (nearbyint_test): Add more tests.
4725
fe45ce09
JM
47262012-02-22 Joseph Myers <joseph@codesourcery.com>
4727
4728 [BZ #2548]
4729 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
4730 bits before adding and subtracting TWO23[sx].
4731 * math/libm-test.inc (rint_test): Add more tests.
4732 (rint_test_tonearest): Likewise.
4733 (rint_test_towardzero): Likewise.
4734 (rint_test_downward): Likewise.
4735 (rint_test_upward: Likewise.
4736
ff3b3d82
JM
47372012-02-22 Joseph Myers <joseph@codesourcery.com>
4738
4739 [BZ #10110]
4740 * include/stdc-predef.h: New file. Extracted from features.h.
4741 * include/features.h: Include stdc-predef.h.
4742 * Makefile (headers): Add stdc-predef.h.
4743 * CONFORMANCE (Compiler limitations): Update.
4744
ef0aab35
JM
47452012-02-22 Joseph Myers <joseph@codesourcery.com>
4746
4747 * manual/libc.texinfo (VERSION, UPDATED): Revert.
4748
58639409
DM
47492012-02-21 David S. Miller <davem@davemloft.net>
4750
4751 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
4752 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4753
c0e70b25
DM
47542012-02-20 David S. Miller <davem@davemloft.net>
4755
4756 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
4757 using a normal save/restore sequence, rather than allocating a
4758 dummy stack frame just to store a frame pointer and restore.
4759 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4760
fb06851d
JM
47612012-02-21 Joseph Myers <joseph@codesourcery.com>
4762
4763 * manual/install.texi: Fix stray word in line-wrapped comment.
4764
7a8b71c3
DM
47652012-02-20 David S. Miller <davem@davemloft.net>
4766
d510c123
DM
4767 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
4768 both binutils and gcc support GOTDATA.
4769
0722d7c2
DM
4770 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
4771 "rd %pc" in the PIC register setup sequences.
4772
3d2b3019
DM
4773 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
4774 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4775 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4776 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4777 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4778 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4779 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4780 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4781 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
4782 (SYSCALL_ERROR_HANDLER): Likewise.
4783 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4784 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4785 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
4786 (SYSCALL_ERROR_HANDLER): Likewise.
4787
c80098a9
DM
4788 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
4789 (HAVE_GCC_GOTDATA): New.
4790 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
4791 relocation support in both binutils and gcc.
4792 * sysdeps/sparc/elf/configure: Regenerate.
4793
3a2545a0
DM
4794 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
4795 * sysdeps/sparc/sparc32/elf/configure: Delete.
4796 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
4797 * sysdeps/sparc/sparc64/elf/configure: Delete.
4798 * sysdeps/sparc/elf/configure.in: New file.
4799 * sysdeps/sparc/elf/configure: Generate.
4800
7a8b71c3
DM
4801 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
4802 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
4803 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4804 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
4805 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
4806
f1e86fca
JM
48072012-02-21 Joseph Myers <joseph@codesourcery.com>
4808
4809 * manual/install.texi: Do not mention specific glibc version
4810 numbers.
4811 * manual/libc.texinfo (VERSION, UPDATED): Update.
4812 (@copying): Use @copyright{} and range of years.
4813
0e7dfaef
JM
48142012-02-21 Joseph Myers <joseph@codesourcery.com>
4815
4816 [BZ #13695]
4817 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
4818 [crti.S not in sysdirs] (generated): Do not append.
4819 [crti.S not in sysdirs] (omit-deps): Likewise.
4820 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
4821 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
4822 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
4823 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
4824 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
4825 Likewise.
4826 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
4827 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
4828 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
4829 * csu/defs.awk: Remove file.
4830 * sysdeps/generic/initfini.c: Likewise.
4831 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
4832 variable.
4833 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
4834 Likewise.
4835
599af3ca
JM
48362012-02-20 Joseph Myers <joseph@codesourcery.com>
4837
4838 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
4839 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
4840 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
4841 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
4842 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4843 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
4844 <bits/epoll.h>.
4845 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
4846 (__EPOLL_PACKED): Define to empty if not defined by
4847 <bits/epoll.h>.
4848 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
4849 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4850 bits/epoll.h.
4851
0e499750
JM
48522012-02-20 Joseph Myers <joseph@codesourcery.com>
4853
4854 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
4855 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
4856 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
4857 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
4858 <bits/timerfd.h>.
4859 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
4860 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4861 bits/timerfd.h.
4862
5ad91f6e
JM
48632012-02-20 Joseph Myers <joseph@codesourcery.com>
4864
4865 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
4866 in C locale.
4867 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4868 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4869 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
4870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4871
06b99b02
AJ
48722012-02-20 Aurelien Jarno <aurelien@aurel32.net>
4873
4874 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4875 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4876
7638c0fd
AS
48772012-02-19 Andreas Schwab <schwab@linux-m68k.org>
4878
4879 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
4880 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
4881 defined.
4882 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
4883 Likewise.
4884 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
4885 entry for 2.16.
4886
92221550
AJ
48872012-02-19 Aurelien Jarno <aurelien@aurel32.net>
4888
4889 * math/w_acos.c: Use non-signaling floating-point comparisons.
4890 * math/w_acosf.c: Likewise.
4891 * math/w_acosh.c: Likewise.
4892 * math/w_acoshf.c: Likewise.
4893 * math/w_acoshl.c: Likewise.
4894 * math/w_acosl.c: Likewise.
4895 * math/w_asin.c: Likewise.
4896 * math/w_asinf.c: Likewise.
4897 * math/w_asinl.c: Likewise.
4898 * math/w_atanh.c: Likewise.
4899 * math/w_atanhf.c: Likewise.
4900 * math/w_atanhl.c: Likewise.
4901 * math/w_exp2.c: Likewise.
4902 * math/w_exp2f.c: Likewise.
4903 * math/w_exp2l.c: Likewise.
4904 * math/w_j0.c: Likewise.
4905 * math/w_j0f.c: Likewise.
4906 * math/w_j0l.c: Likewise.
4907 * math/w_j1.c: Likewise.
4908 * math/w_j1f.c: Likewise.
4909 * math/w_j1l.c: Likewise.
4910 * math/w_jn.c: Likewise.
4911 * math/w_jnf.c: Likewise.
4912 * math/w_log.c: Likewise.
4913 * math/w_log10.c: Likewise.
4914 * math/w_log10f.c: Likewise.
4915 * math/w_log10l.c: Likewise.
4916 * math/w_log2.c: Likewise.
4917 * math/w_log2f.c: Likewise.
4918 * math/w_log2l.c: Likewise.
4919 * math/w_logf.c: Likewise.
4920 * math/w_logl.c: Likewise.
4921 * math/w_sqrt.c: Likewise.
4922 * math/w_sqrtf.c: Likewise.
4923 * math/w_sqrtl.c: Likewise.
4924 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4925 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4926 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4927 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4928 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4929
ebaf36eb
JM
49302012-02-19 Joseph Myers <joseph@codesourcery.com>
4931
4932 [BZ #9739]
4933 * manual/string.texi (strnlen): Use correct parameter name in
4934 equivalent expression.
4935
71c254a6
JM
49362012-02-19 Joseph Myers <joseph@codesourcery.com>
4937
4938 [BZ #11174]
4939 * manual/users.texi (seteuid): Consistently use neweuid for
4940 argument name.
4941
16d2c631
JM
49422012-02-19 Joseph Myers <joseph@codesourcery.com>
4943
4944 [BZ #13704]
4945 * manual/nss.texi (Services in the NSS configuration): Correct
4946 list of services in example configuration file.
4947
cd837b09
NB
49482012-02-19 Nick Bowler <nbowler@draconx.ca>
4949
4950 [BZ #11322]
4951 * manual/arith.texi: Remove statements about negative zero
4952 behaving identically to zero.
4953
02c4bbad
JM
49542012-02-18 Joseph Myers <joseph@codesourcery.com>
4955
4956 [BZ #5993]
4957 * manual/install.texi: Do not document upgrading from libc5.
4958
366842e7
JM
49592012-02-18 Joseph Myers <joseph@codesourcery.com>
4960
4961 [BZ #4596]
4962 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
4963
dd54084d
DM
49642012-02-18 David S. Miller <davem@davemloft.net>
4965
4966 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
4967 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
4968 %o7 across the call.
4969 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
4970 instead.
4971 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
4972 SETUP_PIC_REG_LEAF.
4973 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4974 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
4975 * sysdeps/sparc/crtn.S: Likewise.
4976
2bcc53a3
UD
49772012-02-17 Ulrich Drepper <drepper@gmail.com>
4978
4979 * aout/Makefile: Remove.
4980
09c093b5
RK
49812012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
4982
4983 [BZ #13058]
4984 * manual/examples/argp-ex1.c (main): Format definition in GNU
4985 style.
4986 * manual/examples/argp-ex2.c (main): Likewise.
4987 * manual/examples/argp-ex3.c (main): Likewise.
4988 * manual/examples/argp-ex4.c (main): Likewise.
4989 * manual/examples/longopt.c (main): Use new-style prototype
4990 definition.
4991 * manual/examples/strncat.c (main): Specify return type and use
4992 (void) for arguments.
4993 * manual/examples/subopt.c (main): Use char **argv argument.
4994
2ee633a2
JM
49952012-02-17 Joseph Myers <joseph@codesourcery.com>
4996
4997 [BZ #5077]
4998 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
4999 rounding modes.
5000
0520adde
FB
50012012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
5002
5003 [BZ #6907]
5004 * manual/string.texi (strchr): Change when strchrnul is
5005 recommended.
5006
3f4081cd
DGM
50072012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
5008
5009 [BZ #174]
5010 * manual/locale.texi (setlocale): Document LOCPATH.
5011
d1b10e78
JM
50122012-02-17 Joseph Myers <joseph@codesourcery.com>
5013
5014 [BZ #10210]
5015 * manual/process.texi (execle): Move @dots{} before last argument.
5016
79c6869c
PB
50172012-02-17 Paul Bolle <pebolle@tiscali.nl>
5018
5019 [BZ #12047]
5020 * manual/charset.texi (Generic Charset Conversion): Fix typo
5021 (LC_TYPE -> LC_CTYPE).
5022
cc6e48bc
NB
50232012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
5024
5025 [BZ #5805]
5026 * manual/arith.texi (scalbn): Use @var{} on parameter names.
5027 (scalbnf): Likewise.
5028 (scalbnl): Likewise.
5029 (scalbln): Likewise.
5030 (scalblnf): Likewise.
5031 (scalblnl): Likewise.
5032 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5033 (vwarnx): Likewise.
5034 (verr): Likewise.
5035 (verrx): Likewise.
5036 * manual/filesys.texi (telldir): Use braces around return type.
5037 * manual/llio.texi (mmap): Add space after comma.
5038 (mmap64): Likewise.
5039 * manual/math.texi (jn): Use @var{} on parameter names.
5040 (jnf): Likewise.
5041 (jnl): Likewise.
5042 (yn): Likewise.
5043 (ynf): Likewise.
5044 (ynl): Likewise.
5045 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5046 line.
5047 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5048 "...".
5049 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5050 (sched_get_priority_max): Likewise.
5051 * manual/signal.texi (sigvec): Add space after comma.
5052 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5053 names.
5054 (if_indextoname): Likewise.
5055 (if_freenameindex): Likewise.
5056 (sendto): Use ',' instead of '.' in prototype.
5057 * manual/startup.texi (syscall): Use @dots{} instead of literal
5058 "...".
5059 * manual/stdio.texi (__fpending): Separate initial words of
5060 paragraph from @deftypefun line.
5061 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5062 "...".
5063 (vsyslog): Use @var{} on parameter names.
5064 * manual/terminal.texi (stty): Use @var{} on parameter names.
5065 * manual/users.texi (getutmp): Use @var{} on parameter names.
5066 (getutmpx): Likewise.
5067
5b23062f
JM
50682012-02-17 Joseph Myers <joseph@codesourcery.com>
5069
5070 [BZ #6884]
5071 * manual/stdio.texi (fopen): Fix typos in description of
5072 ",ccs=STRING".
5073
8dee4833
AJ
50742012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5075
5076 [BZ #4026]
5077 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5078 get clock_id definition.
5079
9078ce93
TS
50802012-02-17 Thomas Schwinge <thomas@schwinge.name>
5081
5082 [BZ #4822]
5083 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5084 (madvise): Cast every argument to void on its own.
5085
3835c55f
JM
50862012-02-17 Joseph Myers <joseph@codesourcery.com>
5087
5088 [BZ #9902]
5089 * manual/startup.texi (Exit Status): Fix typo.
5090
35c47e37
JM
50912012-02-17 Joseph Myers <joseph@codesourcery.com>
5092
5093 [BZ #10140]
5094 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5095 * manual/examples/argp-ex2.c: Likewise.
5096 * manual/examples/argp-ex3.c: Likewise.
5097
e3b69ca7
RH
50982012-02-16 Richard Henderson <rth@redhat.com>
5099
5100 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5101 * sysdeps/s390/s390-32/initfini.c: Remove.
5102 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5103 * sysdeps/s390/s390-64/initfini.c: Remove.
5104
df83af67
KK
51052012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5106
5107 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5108 compiler output for sysdeps/generic/initfini.c.
5109 * sysdeps/sh/elf/initfini.c: Remove file.
5110
f63f3380
DM
51112012-02-16 David S. Miller <davem@davemloft.net>
5112
fb59b3a4
DM
5113 [BZ #11494]
5114 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5115
f63f3380
DM
5116 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5117 * sysdeps/sparc/crti.S: New file.
5118 * sysdeps/sparc/crtn.S: New file.
5119 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5120 * sysdeps/sparc/sparc64/Makefile: Likewise.
5121
df6a4a4a
MF
51222012-02-15 Mike Frysinger <vapier@gentoo.org>
5123
6dd8f3dc 5124 [BZ #3335]
df6a4a4a
MF
5125 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5126
1cac7236
RM
51272012-02-15 Roland McGrath <roland@hack.frob.com>
5128
d2c736f8
RM
5129 [BZ #4822]
5130 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5131
1cac7236
RM
5132 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5133 (write, read, close): Likewise.
5134 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5135
8e475601
JM
51362012-02-15 Joseph Myers <joseph@codesourcery.com>
5137
5138 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5139 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5140 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5141 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5142 <bits/signalfd.h>.
5143 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5144 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5145 bits/signalfd.h.
5146
ed656b40
MP
51472012-02-14 Marek Polacek <polacek@redhat.com>
5148
5149 * sysdeps/x86_64/crti.S: New file.
5150 * sysdeps/x86_64/crtn.S: New file.
5151 * sysdeps/x86_64/elf/initfini.c: Remove file.
5152
2a979d3a
JM
51532012-02-13 Joseph Myers <joseph@codesourcery.com>
5154
5155 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5156 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5157 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5158 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5159 <bits/inotify.h>.
5160 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5161 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5162 bits/inotify.h.
5163
2a418ac3
JM
51642012-02-13 Joseph Myers <joseph@codesourcery.com>
5165
5166 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5167 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5168 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5169 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5170 <bits/eventfd.h>.
5171 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5172 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5173 bits/eventfd.h.
5174
fb779be7
TS
51752012-02-10 Thomas Schwinge <thomas@codesourcery.com>
5176
e19e83c5
RM
5177 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5178 __feraiseexcept instead of feraiseexcept.
7c35ffed 5179
fb779be7
TS
5180 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5181 nanosleep invocations.
5182 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5183 strings, and add error checking for a nanosleep invocations.
5184
59ba27a6
PE
51852012-02-09 Paul Eggert <eggert@cs.ucla.edu>
5186
5187 Replace FSF snail mail address with URLs, as per GNU coding standards.
5188 Most of the snail mail addresses were wrong anyway, and omitting
5189 them makes the source code easier to maintain. Almost all of the
5190 changes are to license notices and to locale LC_IDENTIFICATION
5191 addresses, except for this one:
5192 * manual/libc.texinfo: In "Published by", give the FSF's URL,
5193 not its snail mail address.
5194
57b957eb
RH
51952012-02-09 Richard Henderson <rth@twiddle.net>
5196
af850b1c
RH
5197 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5198 of kernel-features.h.
5199
57b957eb
RH
5200 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5201
6b73181a
MP
52022012-02-08 Marek Polacek <polacek@redhat.com>
5203
5204 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5205 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5206 * sysdeps/gnu/_G_config.h: Likewise.
5207 * sysdeps/generic/_G_config.h: Likewise.
5208
26ecc33a
AS
52092012-02-08 Andreas Schwab <schwab@linux-m68k.org>
5210
6c6dbc63
AS
5211 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5212 tests.
5213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5214
e216c012
AS
5215 * sysdeps/powerpc/powerpc32/crti.S: New file.
5216 * sysdeps/powerpc/powerpc32/crtn.S: New file.
5217 * sysdeps/powerpc/powerpc64/crti.S: New file.
5218 * sysdeps/powerpc/powerpc64/crtn.S: New file.
5219
26ecc33a
AS
5220 * Makeconfig (have-initfini): Don't set.
5221 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5222 * configure.in (nopic_initfini): Don't substitute.
5223 * config.h.in (HAVE_INITFINI): Don't #undef.
5224 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5225 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5226
3add8e13
JM
52272012-02-08 Joseph Myers <joseph@codesourcery.com>
5228
5229 Support crti.S and crtn.S provided directly by architectures.
5230 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5231 [crti.S in sysdirs] (omit-deps): Likewise.
5232 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5233 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5234 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5235 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5236 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5237 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5238 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5239 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5240 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5241 compiler output for sysdeps/generic/initfini.c.
5242 * sysdeps/i386/elf/Makefile: Remove file.
5243 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5244
a22f12b4
MP
52452012-02-07 Marek Polacek <polacek@redhat.com>
5246
5247 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5248 * sysdeps/gnu/_G_config.h: Likewise.
5249 * sysdeps/mach/hurd/_G_config.h: Likewise.
5250
148cf100
MP
52512012-02-07 Marek Polacek <polacek@redhat.com>
5252
5253 * math/Makefile (tests): Add tst-CMPLX2.
5254 * math/tst-CMPLX2.c: New file.
5255
cfdc0dd7
AS
52562012-02-07 Andreas Schwab <schwab@linux-m68k.org>
5257
84ba42c4
AS
5258 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5259
cfdc0dd7
AS
5260 * math/libm-test.inc (jn_test): Add missing L suffix.
5261
622c86f4
MP
52622012-02-06 Marek Polacek <polacek@redhat.com>
5263
5264 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5265 * sysdeps/i386/fpu/e_powf.S: Likewise.
5266 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5267 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5268 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5269 * sysdeps/i386/fpu/e_pow.S: Likewise.
5270 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5271 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5272 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5273 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5274 * sysdeps/i386/fpu/e_log2.S: Likewise.
5275 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5276 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5277 * sysdeps/i386/fpu/e_powl.S: Likewise.
5278 * sysdeps/i386/fpu/s_log1p.S: Likewise.
5279 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5280 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5281 * sysdeps/i386/fpu/e_logl.S: Likewise.
5282 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5283 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
5284 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5285 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5286 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5287 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5288 * sysdeps/i386/fpu/e_log.S: Likewise.
5289 * sysdeps/i386/fpu/s_cexp.S: Likewise.
5290 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5291 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
5292 * sysdeps/i386/fpu/e_logf.S: Likewise.
5293 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5294 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5295 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
5296 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5297 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5298 * sysdeps/i386/fpu/e_log10.S: Likewise.
5299 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5300 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5301 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5302 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5303 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5304 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5305 * sysdeps/i386/asm-syntax.h: Likewise.
5306 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5307 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5308 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5309 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
5310 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
5311 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5312 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5313 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5314 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5315 * sysdeps/powerpc/sysdep.h: Likewise.
5316 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
5317 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5318
d4a54ac6
JM
53192012-02-06 Joseph Myers <joseph@codesourcery.com>
5320
5321 [BZ #411]
5322 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
5323
314054ea
JM
53242012-02-06 Joseph Myers <joseph@codesourcery.com>
5325
5326 * sysdeps/i386/sysdep.h: Include <features.h>.
5327 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
5328 version.
5329
d8e0ca50
JM
53302012-02-05 Joseph Myers <joseph@codesourcery.com>
5331
5332 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
5333 Define.
5334 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
5335 LOAD_PIC_REG_STR.
5336
b1da7dd9
JM
53372012-02-03 Joseph Myers <joseph@codesourcery.com>
5338
5339 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
5340 (SETUP_PIC_REG): Use GET_PC_THUNK.
5341 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
5342 macro.
5343
9a1d9254
JM
53442012-02-03 Joseph Myers <joseph@codesourcery.com>
5345
5346 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
5347 for non-PIC compilation.
5348 (SETUP_PIC_REG): Add .p2align directive.
5349 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
5350 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5351 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5352 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5353 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5354 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5355 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5356 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5357 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5358 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5359 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5360 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5361 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5362 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5363 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5364 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5365 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5366 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5367 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5368 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5369 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5370 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5371 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5372 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5373 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5374 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5375 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5376 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5377 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5378 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5379 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5380 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5381 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5382 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5383 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5384 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5385 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5386 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5387 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5388 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5389 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5390
65dc3b75
JM
53912012-02-03 Joseph Myers <joseph@codesourcery.com>
5392
5393 * math/tst-CMPLX.c: Include <stdio.h>.
5394
d55bf177
JM
53952012-01-31 Joseph Myers <joseph@codesourcery.com>
5396
5397 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
5398 float.
5399 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5400 * sysdeps/sparc/bits/mathdef.h: Likewise.
5401
69db4f8f
MP
54022012-01-31 Marek Polacek <polacek@redhat.com>
5403
5404 * libio/libio.h: Don't define _PARAMS.
5405 * locale/programs/config.h: Don't define PARAMS.
5406 * stdlib/strtol_l.c: Likewise.
5407 (__strtol_l): Remove PARAMS from the prototype.
5408
41b81892
UD
54092012-01-31 Ulrich Drepper <drepper@gmail.com>
5410
3b49edc0
UD
5411 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
5412 names. Just use the correct names. Remove unnecessary wrapper
5413 functions.
5414 * malloc/arena.c: Likewise.
5415 * malloc/hooks.c: Likewise.
5416
41b81892
UD
5417 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
5418 ARENA_TEST says not to. Simplify test for creation of a new arena.
5419 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
5420
27a25b6e
UD
54212012-01-30 Ulrich Drepper <drepper@gmail.com>
5422
5423 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
5424 into tail calls.
5425 (update_get_addr): New function.
5426 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
5427 GET_ADDR_MODULE parameter.
5428
c8a89e7d
JM
54292012-01-30 Joseph Myers <joseph@codesourcery.com>
5430
5431 * crypt/cert.c: Remove __STDC__ conditionals.
5432 * crypt/crypt-entry.c: Likewise.
5433 * crypt/crypt_util.c: Likewise.
5434 * libio/filedoalloc.c: Likewise.
5435 * libio/fileops.c: Likewise.
5436 * libio/genops.c: Likewise.
5437 * libio/iofclose.c: Likewise.
5438 * libio/iofdopen.c: Likewise.
5439 * libio/iofopen.c: Likewise.
5440 * libio/iofopen64.c: Likewise.
5441 * libio/iogetdelim.c: Likewise.
5442 * libio/iopopen.c: Likewise.
5443 * libio/obprintf.c: Likewise.
5444 * libio/oldfileops.c: Likewise.
5445 * libio/oldiofclose.c: Likewise.
5446 * libio/oldiofdopen.c: Likewise.
5447 * libio/oldiofopen.c: Likewise.
5448 * libio/oldiopopen.c: Likewise.
5449 * libio/wfiledoalloc.c: Likewise.
5450 * libio/wgenops.c: Likewise.
5451 * locale/programs/xmalloc.c: Likewise.
5452 * misc/syslog.c: Likewise.
5453 * stdio-common/xbug.c: Likewise.
5454 * string/memchr.c: Likewise.
5455 * string/memcmp.c: Likewise.
5456 * string/memrchr.c: Likewise.
5457 * string/rawmemchr.c: Likewise.
5458 * sysdeps/posix/getcwd.c: Likewise.
5459 * time/strftime_l.c: Likewise.
5460
3b100462
JM
54612012-01-30 Joseph Myers <joseph@codesourcery.com>
5462
5463 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
5464 * config.make.in (config-cflags-sse2avx): Define.
5465 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
5466 Fix typo.
5467
607998af
CM
54682012-01-29 Chris Metcalf <cmetcalf@tilera.com>
5469
5470 * scripts/config.guess: Update from upstream config git repository.
5471 * scripts/config.sub: Likewise.
5472
3601428f
CM
54732012-01-28 Chris Metcalf <cmetcalf@tilera.com>
5474
3ac8b282
CM
5475 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
5476 (EM_NUM): Update.
5477 (R_TILEPRO_*, R_TILEGX_*): New macros.
5478
e034841e
CM
5479 * scripts/firstversions.awk: Fix bug in version range handling.
5480
540d7568
CM
5481 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
5482
3601428f
CM
5483 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
5484
463de862
CM
5485 * include/sys/epoll.h: New file.
5486 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
5487 libc_hidden_def.
5488
73139a76
UD
54892012-01-28 Ulrich Drepper <drepper@gmail.com>
5490
96bc5b45
UD
5491 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
5492 Avoid unnecessary __WORDSIZE == 64 test.
5493 (fmaxf): Use VEX format if possible.
5494 (fmax): Likewise.
5495 (fminf): Likewise.
5496 (fmin): Likewise.
5497
56f6f6a2
UD
5498 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
5499 * math/math_private.h: Remove libc_fegetround* and
5500 libc_fesetround*.
5501 * sysdeps/i386/configure.in: Check for -msse2avx.
5502 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
5503 also if SSE2AVX is defined.
5504 Remove libc_fegetround* and libc_fesetround*.
5505 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
5506 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
5507 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
5508 of HAS_YMM_USABLE.
5509 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5510 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5511 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5512 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5513 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5514
73139a76
UD
5515 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
5516
d73f93a4
AZ
55172012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5518
5519 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
5520 size is not set.
5521 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
5522
6ee65ed6
UD
55232012-01-27 Ulrich Drepper <drepper@gmail.com>
5524
5525 [BZ #13618]
5526 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
5527 relocation.
5528 * Makeconfig (libm): Define.
5529 * elf/Makefile: Add rules to build and run tst-relsort1.
5530 * elf/tst-relsort1.c: New file.
5531 * elf/tst-relsort1mod1.c: New file.
5532 * elf/tst-relsort1mod2.c: New file.
5533
8db21882
JM
55342012-01-27 Joseph Myers <joseph@codesourcery.com>
5535
5536 * math/s_ldexp.c: Remove __STDC__ conditionals.
5537 * math/s_ldexpf.c: Likewise.
5538 * math/s_ldexpl.c: Likewise.
5539 * math/s_nextafter.c: Likewise.
5540 * math/s_nexttowardf.c: Likewise.
5541 * math/s_significand.c: Likewise.
5542 * math/s_significandf.c: Likewise.
5543 * math/s_significandl.c: Likewise.
5544 * math/w_jnl.c: Likewise.
5545 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5546 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5547 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5548 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5549 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5550 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5551 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
5552 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5553 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5554 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5555 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5556 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5557 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5558 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5559 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5560 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5561 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5562 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5563 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5564 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5565 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5566 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5567 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5568 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5569 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5570 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5571 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5572 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5573 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5574 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5575 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5576 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5577 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5578 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5579 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5580 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5581 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5582 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5583 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5584 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5585 * sysdeps/ieee754/k_standard.c: Likewise.
5586 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5587 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5588 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5589 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5590 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5591 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5592 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5593 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5594 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5595 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5596 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5597 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5598 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5599 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5600 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5601 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5602 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5603 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5604 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5605 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5606 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5607 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5608 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5609 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5610 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5611 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5612 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5613 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5614 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5615 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5616 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5617 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5618 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5619 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5620 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5621 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5622 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
5623 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5624 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5625 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5626 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5627 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5628 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5629 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5630 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5631 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5632 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5633 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5634 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5635 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5636 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5637 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5638 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5639 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5640 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5641 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5642 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5643 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5644 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5645 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5646 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5647 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5648 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5649 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5650 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5651 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5652 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5653 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5654 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5655 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5656 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5657 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5658 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5659 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5660 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5661 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5662 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5663 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5664 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5665 * sysdeps/ieee754/s_matherr.c: Likewise.
5666 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5667 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5668 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5669 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5670
965a54a4
JM
56712012-01-26 Joseph Myers <joseph@codesourcery.com>
5672
5673 * crypt/md5.h: Remove __STDC__ conditionals.
5674 * libio/libioP.h: Likewise.
5675 * locale/programs/config.h: Likewise.
5676 * sysdeps/generic/sysdep.h: Likewise.
5677 * sysdeps/i386/asm-syntax.h: Likewise.
5678 * sysdeps/s390/asm-syntax.h: Likewise.
5679 * sysdeps/unix/sysdep.h: Likewise.
5680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5682
7071ad79
JM
56832012-01-26 Joseph Myers <joseph@codesourcery.com>
5684
5685 * libio/libio.h: Remove __STDC__ conditionals.
5686 * malloc/obstack.h: Likewise.
5687 * math/complex.h: Likewise.
5688 * math/math.h: Likewise.
5689 * sysdeps/generic/_G_config.h: Likewise.
5690 * sysdeps/gnu/_G_config.h: Likewise.
5691 * sysdeps/mach/hurd/_G_config.h: Likewise.
5692 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5693 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5694 * sysdeps/sparc/bits/mathdef.h: Likewise.
5695
afc5ed09
UD
56962012-01-26 Ulrich Drepper <drepper@gmail.com>
5697
5698 [BZ #13583]
5699 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 5700 Clean up HAS_* macros.
afc5ed09 5701 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
5702 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
5703 possible.
5704 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
5705 HAS_AVX.
5706 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5707 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5708 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5709 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5710 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 5711
bdb6de1d
JM
57122012-01-25 Joseph Myers <joseph@codesourcery.com>
5713
5714 * elf/tst-unique3.cc (gets): Remove declaration.
5715 * elf/tst-unique3lib.cc (gets): Likewise.
5716 * elf/tst-unique3lib2.cc (gets): Likewise.
5717 * elf/tst-unique4.cc (gets): Likewise.
5718
b15549e6
UD
57192012-01-24 Ulrich Drepper <drepper@gmail.com>
5720
5721 * include/stdio.h: Add C++ protection. Add gets declarations and
5722 definitions.
5723 * debug/tst-chk1.c: Don't declare gets here.
5724 * stdio-common/tst-gets.c: Likewise.
5725
a037381f
JM
57262012-01-24 Joseph Myers <joseph@codesourcery.com>
5727
5728 * posix/glob: Remove directory.
5729
f1d4aa75
JM
57302012-01-24 Joseph Myers <joseph@codesourcery.com>
5731
5732 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
5733
81c0c964
PT
57342012-01-22 Pino Toscano <toscano.pino@tiscali.it>
5735
5736 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
5737 of the non-standard EPFNOSUPPORT.
5738
0ea698ae
ST
57392011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
5740
5741 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
5742 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
5743 ANYWHERE set to 1 only on KERN_NO_SPACE error.
5744
d220b117
UD
57452012-01-21 Ulrich Drepper <drepper@gmail.com>
5746
5747 * wcsmbs/uchar.h: Test __STDC_VERSION__.
5748
3e1aa84e
UD
57492012-01-20 Ulrich Drepper <drepper@gmail.com>
5750
5751 * nscd/aicache.c (addhstaiX): Do not cache negative results of
5752 transient errors.
5753 * nscd/grpcache.c (cache_addgr): Likewise.
5754 * nscd/hstcache.c (cache_addhst): Likewise.
5755 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5756 * nscd/pwdcache.c (cache_addpw): Likewise.
5757 * nscd/servicescache.c (cache_addserv): Likewise.
5758
400aa020
UD
57592012-01-16 Ulrich Drepper <drepper@gmail.com>
5760
d77e7869
UD
5761 * malloc/malloc.c: Various cleanups.
5762 * malloc/hooks.c: Likewise.
5763
400aa020
UD
5764 * stdlib/Makefile (tests): Add bug-fmtmsg1.
5765 * stdlib/bug-fmtmsg1.c: New file.
5766
5767 * stdlib/fmtmsg.c (init): Add missing unlock.
5768 Patch by Peng Haitao <penght@cn.fujitsu.com>.
5769
e0a309cf
MP
57702012-01-12 Marek Polacek <polacek@redhat.com>
5771
5772 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
5773 and _GNU_SOURCE.
5774
929d11c7
WS
57752012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
5776
5777 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
5778 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
5779 macro to ensure uniqueness of label name.
5780 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5781 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5782
41d0e869
UD
57832012-01-11 Ulrich Drepper <drepper@gmail.com>
5784
0cc5ed3b
UD
5785 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
5786
41d0e869
UD
5787 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
5788 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5789 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5790 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
5791
a47a831a
UD
57922012-01-10 Ulrich Drepper <drepper@gmail.com>
5793
daa891c0
UD
5794 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
5795
5796 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
5797 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5798 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5799
e58ef0f2
UD
5800 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
5801
a47a831a 5802 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
5803 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5804 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 5805 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
5806
5807 * math/bits/math-finite.h: Add ldexp support.
5808
a0bfc9c7
MP
58092012-01-10 Marek Polacek <polacek@redhat.com>
5810
5811 * locale/programs/localedef.h (show_archive_content): Add noreturn
5812 attribute.
5813
d6e97a1d
UD
58142012-01-09 Ulrich Drepper <drepper@gmail.com>
5815
5816 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
5817
d5835c26
UD
58182012-01-08 Ulrich Drepper <drepper@gmail.com>
5819
e5f484c6
UD
5820 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
5821
d5835c26
UD
5822 * io/Makefile (headers): Add bits/poll2.h.
5823
d1f741e9
WS
58242011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
5825
5826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
5827 typo #include statement.
5828
ec09c1c4
UD
58292012-01-08 Ulrich Drepper <drepper@gmail.com>
5830
5831 * include/sys/cdefs.h: Define __attribute_alloc_size.
5832 * catgets/gencat.c: Add alloc_size attribute and apply consistently
5833 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
5834 * elf/pldd.c: Likewise.
5835 * iconv/iconv_charmap.c: Likewise.
5836 * iconv/iconvconfig.c: Likewise.
5837 * iconv/strtab.c: Likewise.
5838 * locale/programs/locale.c: Likewise.
5839 * locale/programs/localedef.h: Likewise.
5840 * locale/programs/simple-hash.c: Likewise.
5841 * nscd/nscd.h: Likewise.
5842 * nss/makedb.c: Likewise.
5843 * sysdeps/generic/ldconfig.h: Likewise.
5844 * locale/programs/localedef.c: Remove xmalloc prototype.
5845 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
5846
20b38e03
PP
58472012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5848
5849 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
5850 appropriate.
5851
a0da5fe1
UD
58522012-01-08 Ulrich Drepper <drepper@gmail.com>
5853
1d5a644a 5854 * math/Makefile (tests): Add tst-CMPLX.
669704fd 5855 * math/tst-CMPLX.c: New file.
1d5a644a 5856
8784a6db
UD
5857 * math/complex.h (CMPLXL): Fix typo.
5858
d9a216c0
UD
5859 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
5860 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
5861 GLIBC_2.16.
5862 * debug/tst-chk1.c: Add poll and ppoll tests.
5863 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
5864 * include/sys/poll.h: Add hidden proto for ppoll.
5865 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
5866 * sysdeps/mach/hurd/ppoll.c: Likewise.
5867 * io/ppoll.c: Likewise.
5868 * debug/poll_chk.c: New file.
5869 * debug/ppoll_chk.c: New file.
5870 * include/bits/poll2.h: New file.
5871 * io/bits/poll2.h: New file.
5872
ac097f5c
UD
5873 [BZ #1350]
5874 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
5875
2119dcfa
UD
5876 * configure.in: static is always set to yes. Remove.
5877 * config.make.in: Don't set build-static.
5878 * Makeconfig: Remove use of build-static.
5879 * dlfcn/Makefile: Likewise.
5880 * elf/Makefile: Likewise.
5881 * math/Makefile: Likewise.
5882 * misc/Makefile: Likewise.
5883 * nptl/Makefile: Likewise.
5884 * sysdeps/mach/hurd/Makefile: Likewise.
5885
121766a9
UD
5886 * configure.in: PWD_P is not used anymore.
5887 * config.make.in: Remove PWD_P entry.
5888
51a1d39c 5889 * configure.in: Remove last remnants of RANLIB.
8720d066 5890 No need to check for signed size_t anymore.
215f4bdc
UD
5891 Don't set libc_commonpagesize and libc_relro_required here for Alpha
5892 and IA-64.
3857022a 5893 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
5894 * aclocal.m4: Likewise.
5895
d3ed7225
UD
5896 * wcsmbs/mbrtoc16.c: Implement using towc function.
5897 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
5898 * wcsmbs/wcsmbsload.c: Likewise.
5899 * iconv/gconv_simple.c: Likewise.
5900 * iconv/gconv_int.h: Likewise.
5901 * iconv/gconv_builtin.h: Likewise.
5902 * iconv/iconv_prog.c: Remove CHAR16 handling.
5903
5904 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
5905
5906 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
5907
a0da5fe1
UD
5908 * configure.in: Remove --with-elf and --enable-bounded options.
5909 Dont set base_machine for ia64. More non-ELF conditions removed.
5910 Remove testing and setting of leading underscore information.
5911 * config.make.in (build-bounded): Set to no.
5912 * config.h.in: Remove NO_UNDERSCORES entry.
5913 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
5914 them.
5915 * csu/start.c: Remove !NO_UNDERSCORE code.
5916 * locale/localeinfo.h: Likewise.
5917 * sysdeps/generic/machine-gmon.h: Likewise.
5918 * sysdeps/generic/sysdep.h: Likewise.
5919 * sysdeps/i386/sysdep.h: Likewise.
5920 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5921 * sysdeps/mach/sysdep.h: Likewise.
5922 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5923 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5924 * sysdeps/sh/sysdep.h: Likewise.
5925 * sysdeps/sparc/sparc32/alloca.S: Likewise.
5926 * sysdeps/unix/i386/sysdep.S: Likewise.
5927 * sysdeps/unix/sparc/start.c: Likewise.
5928 * sysdeps/unix/sparc/sysdep.S: Likewise.
5929 * sysdeps/unix/sparc/sysdep.h: Likewise.
5930 * sysdeps/unix/start.c: Likewise.
5931 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5932 * sysdeps/x86_64/sysdep.h: Likewise.
5933
df78418a
UD
59342012-01-07 Ulrich Drepper <drepper@gmail.com>
5935
a784e502
UD
5936 [BZ #13553]
5937 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
5938 for non-gcc.
5939 * argp/argp-fmtstream.h: Use const instead __const.
5940 * argp/argp.h: Likewise.
5941 * assert/assert.h: Likewise.
5942 * bits/fenv.h: Likewise.
5943 * bits/sched.h: Likewise.
5944 * bits/sigset.h: Likewise.
5945 * bits/sigthread.h: Likewise.
5946 * catgets/nl_types.h: Likewise.
5947 * conform/data/pthread.h-data: Likewise.
5948 * crypt/crypt-private.h: Likewise.
5949 * crypt/crypt.h: Likewise.
5950 * crypt/crypt_util.c: Likewise.
5951 * ctype/ctype.h: Likewise.
5952 * debug/execinfo.h: Likewise.
5953 * debug/mbsnrtowcs_chk.c: Likewise.
5954 * debug/mbsrtowcs_chk.c: Likewise.
5955 * debug/wcsnrtombs_chk.c: Likewise.
5956 * debug/wcsrtombs_chk.c: Likewise.
5957 * debug/wcstombs_chk.c: Likewise.
5958 * dirent/dirent.h: Likewise.
5959 * dlfcn/dlfcn.h: Likewise.
5960 * elf/neededtest4.c: Likewise.
5961 * grp/grp.h: Likewise.
5962 * gshadow/gshadow.h: Likewise.
5963 * iconv/gconv.h: Likewise.
5964 * iconv/gconv_int.h: Likewise.
5965 * iconv/gconv_simple.c: Likewise.
5966 * iconv/iconv.h: Likewise.
5967 * iconv/loop.c: Likewise.
5968 * iconv/skeleton.c: Likewise.
5969 * include/aio.h: Likewise.
5970 * include/aliases.h: Likewise.
5971 * include/argz.h: Likewise.
5972 * include/arpa/inet.h: Likewise.
5973 * include/assert.h: Likewise.
5974 * include/dirent.h: Likewise.
5975 * include/dlfcn.h: Likewise.
5976 * include/execinfo.h: Likewise.
5977 * include/fcntl.h: Likewise.
5978 * include/fenv.h: Likewise.
5979 * include/glob.h: Likewise.
5980 * include/grp.h: Likewise.
5981 * include/libintl.h: Likewise.
5982 * include/mntent.h: Likewise.
5983 * include/netdb.h: Likewise.
5984 * include/pwd.h: Likewise.
5985 * include/rpc/netdb.h: Likewise.
5986 * include/sched.h: Likewise.
5987 * include/search.h: Likewise.
5988 * include/shadow.h: Likewise.
5989 * include/signal.h: Likewise.
5990 * include/stdio.h: Likewise.
5991 * include/stdlib.h: Likewise.
5992 * include/string.h: Likewise.
5993 * include/sys/socket.h: Likewise.
5994 * include/sys/stat.h: Likewise.
5995 * include/sys/statfs.h: Likewise.
5996 * include/sys/statvfs.h: Likewise.
5997 * include/sys/syslog.h: Likewise.
5998 * include/sys/time.h: Likewise.
5999 * include/sys/uio.h: Likewise.
6000 * include/time.h: Likewise.
6001 * include/unistd.h: Likewise.
6002 * include/utmp.h: Likewise.
6003 * include/wchar.h: Likewise.
6004 * include/wctype.h: Likewise.
6005 * inet/aliases.h: Likewise.
6006 * inet/arpa/inet.h: Likewise.
6007 * inet/netinet/ether.h: Likewise.
6008 * inet/netinet/in.h: Likewise.
6009 * intl/libintl.h: Likewise.
6010 * io/bits/fcntl2.h: Likewise.
6011 * io/fcntl.h: Likewise.
6012 * io/ftw.h: Likewise.
6013 * io/sys/poll.h: Likewise.
6014 * io/sys/stat.h: Likewise.
6015 * io/sys/statfs.h: Likewise.
6016 * io/sys/statvfs.h: Likewise.
6017 * io/utime.h: Likewise.
6018 * libio/bits/stdio.h: Likewise.
6019 * libio/bits/stdio2.h: Likewise.
6020 * libio/libio.h: Likewise.
6021 * libio/libioP.h: Likewise.
6022 * libio/stdio.h: Likewise.
6023 * locale/lc-ctype.c: Likewise.
6024 * locale/locale.h: Likewise.
6025 * login/utmp.h: Likewise.
6026 * malloc/arena.c: Likewise.
6027 * malloc/malloc.c: Likewise.
6028 * malloc/malloc.h: Likewise.
6029 * malloc/mcheck.c: Likewise.
6030 * malloc/mtrace.c: Likewise.
6031 * math/bits/mathcalls.h: Likewise.
6032 * math/fenv.h: Likewise.
6033 * math/math_private.h: Likewise.
6034 * misc/bits/error.h: Likewise.
6035 * misc/bits/syslog.h: Likewise.
6036 * misc/err.h: Likewise.
6037 * misc/error.h: Likewise.
6038 * misc/fstab.h: Likewise.
6039 * misc/mntent.h: Likewise.
6040 * misc/regexp.h: Likewise.
6041 * misc/search.h: Likewise.
6042 * misc/sgtty.h: Likewise.
6043 * misc/sys/mman.h: Likewise.
6044 * misc/sys/syslog.h: Likewise.
6045 * misc/sys/uio.h: Likewise.
6046 * misc/sys/xattr.h: Likewise.
6047 * misc/ttyent.h: Likewise.
6048 * nis/rpcsvc/ypclnt.h: Likewise.
6049 * nss/nss.h: Likewise.
6050 * posix/bits/unistd.h: Likewise.
6051 * posix/fnmatch.h: Likewise.
6052 * posix/glob.h: Likewise.
6053 * posix/sched.h: Likewise.
6054 * posix/spawn.h: Likewise.
6055 * posix/sys/wait.h: Likewise.
6056 * posix/unistd.h: Likewise.
6057 * posix/wordexp.h: Likewise.
6058 * pwd/pwd.h: Likewise.
6059 * resolv/netdb.h: Likewise.
6060 * resource/sys/resource.h: Likewise.
6061 * rt/aio.h: Likewise.
6062 * rt/bits/mqueue2.h: Likewise.
6063 * rt/mqueue.h: Likewise.
6064 * shadow/shadow.h: Likewise.
6065 * signal/signal.h: Likewise.
6066 * socket/send.c: Likewise.
6067 * socket/sendto.c: Likewise.
6068 * socket/sys/socket.h: Likewise.
6069 * stdio-common/printf.h: Likewise.
6070 * stdlib/bits/stdlib.h: Likewise.
6071 * stdlib/fmtmsg.h: Likewise.
6072 * stdlib/monetary.h: Likewise.
6073 * stdlib/stdlib.h: Likewise.
6074 * stdlib/ucontext.h: Likewise.
6075 * streams/stropts.h: Likewise.
6076 * string/argz.h: Likewise.
6077 * string/bits/string2.h: Likewise.
6078 * string/string.h: Likewise.
6079 * string/strings.h: Likewise.
6080 * sunrpc/rpc/auth.h: Likewise.
6081 * sunrpc/rpc/auth_des.h: Likewise.
6082 * sunrpc/rpc/clnt.h: Likewise.
6083 * sunrpc/rpc/netdb.h: Likewise.
6084 * sunrpc/rpc/pmap_clnt.h: Likewise.
6085 * sunrpc/rpc/xdr.h: Likewise.
6086 * sysdeps/generic/inttypes.h: Likewise.
6087 * sysdeps/generic/net/if.h: Likewise.
6088 * sysdeps/generic/sys/swap.h: Likewise.
6089 * sysdeps/gnu/net/if.h: Likewise.
6090 * sysdeps/gnu/utmpx.h: Likewise.
6091 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6092 * sysdeps/i386/i486/bits/string.h: Likewise.
6093 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6094 * sysdeps/s390/bits/string.h: Likewise.
6095 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6096 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6097 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6098 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6099 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6100 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6101 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6102 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6103 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6104 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6105 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6106 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6107 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6108 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6109 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6110 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6111 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6112 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6113 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6114 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6115 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6116 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6117 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6118 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6119 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6120 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6121 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6122 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6123 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6124 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6125 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6126 * sysvipc/sys/ipc.h: Likewise.
6127 * sysvipc/sys/msg.h: Likewise.
6128 * sysvipc/sys/sem.h: Likewise.
6129 * sysvipc/sys/shm.h: Likewise.
6130 * termios/termios.h: Likewise.
6131 * time/sys/time.h: Likewise.
6132 * time/time.h: Likewise.
6133 * wcsmbs/bits/wchar2.h: Likewise.
6134 * wcsmbs/uchar.h: Likewise.
6135 * wcsmbs/wchar.h: Likewise.
6136 * wctype/wctype.h: Likewise.
6137
0269750c
UD
6138 [BZ #13551]
6139 * Makeconfig: Remove all but ELF support including AIX support.
6140 * Makerules: Likewise.
6141 * config.h.in: Likewise.
6142 * config.make.in: Likewise.
6143 * configure: Likewise.
6144 * configure.in: Likewise.
6145 * csu/Makefile: Likewise.
6146 * csu/version.c: Likewise.
6147 * debug/Makefile: Likewise.
6148 * dlfcn/Makefile: Likewise.
6149 * elf/Makefile: Likewise.
6150 * extra-lib.mk: Likewise.
6151 * iconv/Makefile: Likewise.
6152 * include/libc-symbols.h: Likewise.
6153 * include/shlib-compat.h: Likewise.
6154 * resolv/Makefile: Likewise.
6155 * resolv/res_libc.c: Likewise.
6156 * rt/Makefile: Likewise.
6157 * sysdeps/i386/asm-syntax.h: Likewise.
6158 * sysdeps/i386/sysdep.h: Likewise.
6159 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6160 * sysdeps/mach/sysdep.h: Likewise.
6161 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6162 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6163 * sysdeps/s390/asm-syntax.h: Likewise.
6164 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6165 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6166 * sysdeps/sh/sysdep.h: Likewise.
6167 * sysdeps/unix/sparc/sysdep.h: Likewise.
6168 * sysdeps/wordsize-32/divdi3.c: Likewise.
6169 * sysdeps/x86_64/sysdep.h: Likewise.
6170
00bbd29b
UD
6171 * argp/Versions: Remove _argp_unlock_xxx.
6172
6173 [BZ #13559]
6174 * abilist/ld.abilist: Update. Adjust for removal of tls option.
6175 * abilist/libBrokenLocale.abilist: Likewise.
6176 * abilist/libanl.abilist: Likewise.
6177 * abilist/libc.abilist: Likewise.
6178 * abilist/libcrypt.abilist: Likewise.
6179 * abilist/libdl.abilist: Likewise.
6180 * abilist/libm.abilist: Likewise.
6181 * abilist/libnsl.abilist: Likewise.
6182 * abilist/libpthread.abilist: Likewise.
6183 * abilist/libresolv.abilist: Likewise.
6184 * abilist/librt.abilist: Likewise.
6185 * abilist/libthread_db.abilist: Likewise.
6186 * abilist/libutil.abilist: Likewise.
6187 * abilist/libnss_db.abilist: New file.
6188
6189 * scripts/abilist.awk: Add support for indirect functions.
6190
a2693a0e
UD
6191 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6192
3f05895f
UD
6193 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6194
ecb6fb48
UD
6195 * shlib-versions: Remove entries for ports architectures.
6196
664f8cb9
UD
6197 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
6198 files in ports.
6199 * elf/stackguard-macros.h: Remove support for IA-64.
6200 * elf/tst-auditmod1.c: Likewise.
6201 * sysdeps/generic/ldsodefs.h: Likewise.
6202
7ae81d88
UD
6203 * sysdeps/unix/sysv/linux/configure.in: Ports should define
6204 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6205 configure files.
6206
bdeba135
UD
6207 [BZ #13552]
6208 * configure.in: Remove --enable-omitfp support.
6209 * FAQ.in: Adjust.
6210 * config.make.in: Likewise.
6211 * Makeconfig: Likewise.
6212 * manual/install.texi: Likewise.
6213
d75a0a62
UD
6214 In case anyone cares, the IA-64 architecture could move to ports.
6215 * sysdeps/ia64/*: Removed.
6216 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 6217 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 6218
dcc9756b
UD
6219 [BZ #13555]
6220 * configure.in: Remove entries for unsupported architectures.
6221
d3761ebc 6222 [BZ #13533]
9954432e
UD
6223 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6224 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
6225 routines.
6226 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6227 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6228 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
6229 fall back to using wcrtomb.
6230 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6231 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
6232 renaming.
6233 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6234 * wcsmbs/tst-c16c32-1.c: New file.
6235
6236 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6237 local variable.
6238
c3a87236
UD
6239 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6240
28926a1b
UD
6241 * elf/tst-unique3.cc: Add explicit declaration of gets.
6242 * elf/tst-unique3lib.cc: Likewise.
6243 * elf/tst-unique3lib2.cc: Likewise.
6244 * elf/tst-unique4.cc: Likewise.
6245
df78418a
UD
6246 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6247
8ecd6b2a
JM
62482012-01-06 Joseph Myers <joseph@codesourcery.com>
6249
6250 [BZ #13566]
6251 * assert/assert.h (static_assert): Don't define for C++.
6252 * libio/stdio.h (gets): Do declare for C++ <= C++11.
6253 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6254
9f115170
UD
62552012-01-03 Ulrich Drepper <drepper@gmail.com>
6256
5e0d0300
UD
6257 * iconv/loop.c (single loop): Fix assertion in storing of
6258 remaining bytes.
6259
9f115170
UD
6260 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6261
81fb02b0
UD
62622012-01-01 Ulrich Drepper <drepper@gmail.com>
6263
6264 * posix/getconf.c: Update copyright year.
6265 * nss/getent.c: Likewise.
a316c1f6 6266 * nss/makedb.c: Likewise.
81fb02b0
UD
6267 * iconv/iconvconfig.c: Likewise.
6268 * iconv/iconv_prog.c: Likewise.
6269 * elf/ldconfig.c: Likewise.
a316c1f6
UD
6270 * elf/pldd.c: Likewise.
6271 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
6272 * catgets/gencat.c: Likewise.
6273 * csu/version.c: Likewise.
6274 * elf/ldd.bash.in: Likewise.
6275 * elf/sprof.c (print_version): Likewise.
6276 * locale/programs/locale.c: Likewise.
6277 * locale/programs/localedef.c: Likewise.
a316c1f6 6278 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
6279 * nscd/nscd.c (print_version): Likewise.
6280 * debug/xtrace.sh: Likewise.
6281 * malloc/memusage.sh: Likewise.
6282 * malloc/mtrace.pl: Likewise.
6283 * debug/catchsegv.sh: Likewise.
6284
2ba92745
JJ
62852011-12-30 Jakub Jelinek <jakub@redhat.com>
6286
6287 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
6288 pure attribute.
6289
dadebdae
UD
62902011-12-24 Ulrich Drepper <drepper@gmail.com>
6291
d3761ebc 6292 [BZ #13533]
db6af3eb
UD
6293 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
6294 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
6295 transformations.
6296 * iconv/gconv_int.h: Likewise.
6297 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
6298 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
6299 from libc for GLIBC_2.16.
6300 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
6301 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
6302 * wcsmbs/uchar.h: Really define mbstate_t.
6303 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
6304 * wcsmbs/c16rtomb.c: New file.
6305 * wcsmbs/mbrtoc16.c: New file.
6306 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
6307 for C/POSIX locale.
6308 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
6309 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
6310
dadebdae
UD
6311 * wcsmbs/wchar.h: Add missing __restrict.
6312
67371b56
UD
63132011-12-23 Ulrich Drepper <drepper@gmail.com>
6314
74033a25
UD
6315 [BZ #13532]
6316 * time/Makefile (routines): Add timespec_get.
6317 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
6318 * time/time.h: Define TIME_UTC and declare timespec_get. Define
6319 timespec for ISO C11.
6320 * time/timespec_get.c: New file.
6321 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
6322 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
6323
380d7e87
UD
6324 [BZ #13531]
6325 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
6326 * stdlib/stdlib.h: Declare aligned_alloc.
6327 * Versions.def: Add GLIBC_2.16 for libc.
6328 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
6329
4e9e7a35
UD
6330 [BZ 13527]
6331 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
6332 ISO C11.
6333
380d7e87 6334 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
6335 code.
6336
03a71829
UD
6337 [BZ #13528]
6338 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
6339
839e283e
UD
6340 [BZ #13529]
6341 * assert/assert.h (static_assert): Define.
6342
ce5294e2 6343 * version.h: Update for 2.16 development version.
90fa7312 6344
8d44e150 6345 [BZ #13526]
d7809905
UD
6346 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
6347 _ISOC11_SOURCE.
6348
c0da14cd
UD
6349 * version.h (RELEASE): Bump for 2.15 release.
6350 * include/features.h (__GLIBC_MINOR__): Bump to 15.
6351
530a3249
MP
6352 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
6353 Patch by Marek Polacek <mpolacek@redhat.com>.
6354
67371b56
UD
6355 * bits/byteswap.h: Protect long long constants with __extension__.
6356 * sysdeps/i386/bits/byteswap.h: Likewise.
6357 * sysdeps/ia64/bits/byteswap.h: Likewise.
6358 * sysdeps/s390/bits/byteswap.h: Likewise.
6359 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6360
15db4de1
LD
63612011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6362
6363 [BZ #13540]
bbe315ea
LD
6364 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
6365 destination buffer.
15db4de1
LD
6366 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6367
2b2596b1
MP
63682011-12-23 Marek Polacek <polacek@redhat.com>
6369
6370 * elf/dl-addr.c (determine_info): Add inline keyword.
6371 * elf/tst-auditmod4b.c (check_avx): Likewise.
6372 * elf/tst-auditmod6b.c (check_avx): Likewise.
6373 * elf/tst-auditmod6c.c (check_avx): Likewise.
6374 * elf/tst-auditmod7b.c (check_avx): Likewise.
6375
70c6c246
UD
63762011-12-23 Ulrich Drepper <drepper@gmail.com>
6377
6378 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
6379 !__SSE_MATH__.
6380
c044cf14
LD
63812011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6382
15db4de1 6383 [BZ #13540]
c044cf14
LD
6384 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
6385 processing for last bytes.
6386
6b13d9d9
BH
63872011-08-06 Bruno Haible <bruno@clisp.org>
6388
d455f537
BH
6389 [BZ #13061]
6390 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
6391 U+0385, not to U+1FEE.
6392
6b13d9d9
BH
6393 [BZ #13062]
6394 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
6395 entry for U+00A5 U+0301.
6396
db910efd
UD
63972011-12-22 Ulrich Drepper <drepper@gmail.com>
6398
27deeafc
UD
6399 [BZ #13166]
6400 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
6401 buffer for the output is too small.
6402
aed9d171
UD
6403 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
6404 optimization.
6405
db910efd
UD
6406 [BZ #13185]
6407 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
6408 SSE flags if possible.
6409
2bd779ae
LD
64102011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6411
e7f9dac3 6412 [BZ #13540]
2bd779ae
LD
6413 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
6414 processing for last bytes.
6415
154bfc16
JM
64162011-12-22 Joseph Myers <joseph@codesourcery.com>
6417
6418 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
6419 (syscall-list-default-options, syscall-list-default-condition)
6420 (syscall-list-includes): Define.
6421 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
6422 list of ABIs and options and #if conditions for each ABI. Do not
6423 handle common syscalls between ABIs specially.
6424 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
6425 Remove.
6426 (syscall-list-variants, syscall-list-32bit-options)
6427 (syscall-list-32bit-condition, syscall-list-64bit-options)
6428 (syscall-list-64bit-condition): Define.
6429 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
6430 (syscall-list-variants, syscall-list-32bit-options)
6431 (syscall-list-32bit-condition, syscall-list-64bit-options)
6432 (syscall-list-64bit-condition): Define.
6433 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
6434 Remove.
6435 (syscall-list-variants, syscall-list-32bit-options)
6436 (syscall-list-32bit-condition, syscall-list-64bit-options)
6437 (syscall-list-64bit-condition): Define.
6438 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
6439 Remove.
6440 (syscall-list-variants, syscall-list-32bit-options)
6441 (syscall-list-32bit-condition, syscall-list-64bit-options)
6442 (syscall-list-64bit-condition): Define.
6443
21eaf3a5
UD
64442011-12-22 Ulrich Drepper <drepper@gmail.com>
6445
16c6f992
UD
6446 * locale/iso-639.def: Add brx entry.
6447
41043168
UD
6448 [BZ #13328]
6449 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
6450 Proposed by Mariusz_Cukr <marcukr@op.pl>.
6451
21eaf3a5
UD
6452 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
6453 __feraiseexcept_renamed.
6454
e3a851a2
UD
64552011-12-21 Ulrich Drepper <drepper@gmail.com>
6456
4920765e
UD
6457 [BZ #13538]
6458 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
6459 EPOLLET with unsigned values.
6460 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6461 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6462
e3a851a2
UD
6463 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
6464 to large cancellation.
6465 * math/s_cacoshf.c: Likewise.
6466 * math/s_cacoshl.c: Likewise.
6467
b27e24b8
RK
64682011-11-18 Richard B. Kreckel <kreckel@ginac.de>
6469
6470 [BZ #13305]
aebefeee 6471 [BZ #12786]
b27e24b8
RK
6472 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
6473 * math/s_cacoshf.c: Likewise.
6474 * math/s_cacoshl.c: Likewise.
6475
ee190f67
UD
64762011-12-21 Ulrich Drepper <drepper@gmail.com>
6477
6478 [BZ #13439]
6479 * iconv/gconv.h: Define __GCONV_SWAP.
6480 * iconvdata/unicode.c: The swap bit must be stored in __flags.
6481 * iconvdata/utf-16.c: Likewise.
6482 * iconvdata/utf-32.c: Likewise.
6483
707f25df
AS
64842011-12-21 Andreas Schwab <schwab@linux-m68k.org>
6485
6486 [BZ #13524]
6487 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
6488 numerator after shifting it by one limb.
6489
d2daaa1e
RÁE
64902011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
6491
6492 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
6493 under [__USE_EXTERN_INLINES].
6494
a4647e72
UD
64952011-12-17 Ulrich Drepper <drepper@gmail.com>
6496
6497 [BZ #13446]
6498 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
6499
f0b264f1
AZ
65002011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6501
6502 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
6503 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
6504 optimized code.
6505 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
6506 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
6507 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
6508 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
6509 for strncasecmp/strncasecmp_l compilation.
6510 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
6511 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
6512
8ef4f244
MP
65132011-12-08 Marek Polacek <mpolacek@redhat.com>
6514
6515 [BZ #13484]
6516 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
6517 of __asm__.
6518
97ac2654
UD
65192011-12-17 Ulrich Drepper <drepper@gmail.com>
6520
6521 [BZ #13506]
6522 * time/tzfile.c (__tzfile_read): Check values from file header.
6523
91d2a845
WS
65242011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6525
6526 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
6527 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
6528 * powerpc/powerpc32/dl-start.S: Likewise.
6529 * powerpc/powerpc32/elf/start.S: Likewise.
6530 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6531 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
6532 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
6533 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
6534 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6535 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
6536 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
6537 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6538 * powerpc/powerpc32/fpu/s_round.S: Likewise.
6539 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6540 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6541 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6542 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6543 * powerpc/powerpc32/memset.S: Likewise.
6544 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6545 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6546 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6547 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6548 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6549 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6550 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6551 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6552 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
6553 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
6554 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
6555 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6556 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6557
a1267ba1
AZ
65582011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6559
6560 * math/libm-test.inc: Added more nearbyint tests.
6561 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
6562 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
6563 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
6564 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
6565
ad8ac1bd
RL
65662011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
6567
6568 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
6569 FD_CLOEXEC.
6570
1d3e4b61
UD
65712011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6572
6573 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
6574 Add wcscpy-ssse3 wcscpy-c.
6575 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
6576 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
6577 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
6578 * sysdeps/x86_64/wcschr.S: New file.
6579 * sysdeps/x86_64/wcsrchr.S: New file.
6580 * string/test-strcmp.c: Remove checking of wcscmp function for
6581 wrong alignments.
6582 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
6583 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
6584 wcsrchr-sse2 wcsrchr-c.
6585 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
6586 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
6587 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
6588 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
6589 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
6590 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
6591 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
6592 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
6593 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
6594 * wcsmbc/wcschr.c (WCSCHR): New macro.
6595
5b330a2d
UD
65962011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6597
6598 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
6599 * wcsmbs/test-wcsrchr.c: New file.
6600 * string/test-strrchr.c: Add wcsrchr support.
6601 (WIDE): New macro.
6602 * wcsmbs/test-wcscpy.c: New file.
6603 * string/test-strcpy.c: Add wcscpy support.
6604 (WIDE): New macro.
26428b7c 6605
f039c043
UD
66062011-12-10 Ulrich Drepper <drepper@gmail.com>
6607
6608 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
6609 the inner loop.
6610
850fb039
AS
66112011-12-06 Andreas Schwab <schwab@linux-m68k.org>
6612
6613 [BZ #13472]
6614 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
6615
4efbd5cb
UD
66162011-12-04 Ulrich Drepper <drepper@gmail.com>
6617
52ff5dd0 6618 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 6619 Minor optimizations.
52ff5dd0 6620
4efbd5cb
UD
6621 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
6622 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
6623 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6624
8a426e12
UD
66252011-12-03 Ulrich Drepper <drepper@gmail.com>
6626
aff2453d
UD
6627 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
6628 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
6629 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
6630 for gcc to avoid warnings.
6631 * inet/Makefile (tests): Add tst-checks.
6632 * inet/tst-checks.c: New file.
6633
6634 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
6635 warning.
6636
6637 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
6638 __wmemcmp_sse2.
6639
6640 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
6641 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
6642
8a426e12
UD
6643 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
6644
9bea3473
UD
66452011-12-02 Ulrich Drepper <drepper@gmail.com>
6646
3a965496
UD
6647 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
6648 problem.
6649
9bea3473
UD
6650 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
6651
f101631b
UD
66522011-11-29 Joseph Myers <joseph@codesourcery.com>
6653
6654 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
6655 conditional on GCC version.
6656 (__arch_compare_and_exchange_val_8_acq)
6657 (__arch_compare_and_exchange_val_16_acq)
6658 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
6659 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
6660 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
6661
a98275aa
UD
66622011-12-02 Joseph Myers <joseph@codesourcery.com>
6663
6664 * sysdeps/sh/backtrace.c: New file.
6665
d4cc29a2
AS
66662011-12-02 Andreas Schwab <schwab@redhat.com>
6667
6668 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
6669 parenthesis.
6670
6257af2d
AS
66712011-12-01 Andreas Schwab <schwab@redhat.com>
6672
6673 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
6674 falling back to utime.
6675
b5f44c1a
AS
66762011-11-30 Andreas Schwab <schwab@redhat.com>
6677
6678 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
6679 expectations for float.
6680
f3a6cc0a
AS
66812011-11-29 Andreas Schwab <schwab@redhat.com>
6682
6683 * locale/weight.h (findidx): Add parameter len.
6684 * locale/weightwc.h (findidx): Likewise.
6685 * posix/fnmatch_loop.c (FCT): Adjust caller.
6686 * posix/regcomp.c (build_equiv_class): Likewise.
6687 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
6688 * posix/regexec.c (check_node_accept_bytes): Likewise.
6689 * string/strcoll_l.c (STRCOLL): Likewise.
6690 * string/strxfrm_l.c (STRXFRM): Likewise.
6691
9d65ea3a
UD
66922011-11-17 Ulrich Drepper <drepper@gmail.com>
6693
6694 * Makefile.in: Remove CVSOPT handling.
6695 * configure.in: Remove use of AC_REVISION.
6696 * iconvdata/Makefile (distribute): No need to filter out CVS.
6697 * scripts/list-sources.sh: Remove CVS, subversion and monotone
6698 handling.
6699
5583a086
AS
67002011-11-16 Andreas Schwab <schwab@redhat.com>
6701
6702 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
6703 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
6704 [USE_AS_STRNCASECMP_L]: Likewise.
6705 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
6706 NO_TLS_DIRECT_SEG_REFS.
6707 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
6708 Fix argument offsets for non-PIC.
6709 [USE_AS_STRNCASECMP_L]: Likewise.
6710 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
6711 NO_TLS_DIRECT_SEG_REFS.
6712
d62a8200
UD
67132011-11-15 Ulrich Drepper <drepper@gmail.com>
6714
9d65ea3a 6715 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
6716 O_CLOEXEC.
6717 * locale/loadlocale.c (_nl_load_locale): Likewise.
6718
09f93bd3
AS
67192011-11-15 Andreas Schwab <schwab@redhat.com>
6720
446514f9
AS
6721 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
6722 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
6723 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
6724 (SYSCALL_GETTIME): Set errno on error.
6725
09f93bd3
AS
6726 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
6727 count references to noai6ai_cached.
6728
312be3f9
UD
67292011-11-15 Ulrich Drepper <drepper@gmail.com>
6730
6731 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
6732
6733 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
6734 FD_CLOEXEC for /proc/self/maps.
6735
6736 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
6737 FD_CLOEXEC for /proc/meminfo.
6738
6739 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
6740 gai.conf.
6741
6742 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
6743 FD_CLOEXEC for given file.
6744
6745 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
6746
6747 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
6748 FD_CLOEXEC for /etc/hosts.
6749 (_gethtent): Likewise.
6750
6751 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
6752
6753 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
6754 cancellation and set FD_CLOEXEC for /etc/netgroup.
6755
6756 * nss/nss_files/files-key.c (search): Don't allow cancellation when
6757 reading /etc/publickey.
6758
6759 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
6760 allow cancellation when reading /etc/group.
6761
6762 * nss/nss_files/files-alias.c (internal_setent): Don't allow
6763 cancellation.
6764 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
6765
6766 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
6767 when using data file.
6768
6769 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
6770
6771 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
6772 (write_nis_obj): Use "c" and "e" in fopen.
6773
6774 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
6775
6776 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
6777
6778 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
6779
6780 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
6781
6782 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
6783 locale.alias.
6784
6785 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
6786
6787 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
6788
6789 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
6790
6791 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
6792 file parsing and set FD_CLOEXEC.
6793
82af0fa8
UD
67942011-11-14 Ulrich Drepper <drepper@gmail.com>
6795
6796 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
6797
a5fb313c
AS
67982011-11-14 Andreas Schwab <schwab@redhat.com>
6799
6800 * malloc/arena.c (arena_get2): Don't call reused_arena when
6801 _int_new_arena failed.
6802
6abf3465
UD
68032011-11-14 Ulrich Drepper <drepper@gmail.com>
6804
6805 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
6806 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
6807 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
6808 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6809 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6810 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
6811 to compile strcasecmp and strncasecmp.
6812 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
6813 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
6814
6815 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
6816
76e3966e
UD
68172011-11-13 Ulrich Drepper <drepper@gmail.com>
6818
6819 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
6820 locale-defines.sym to gen-as-const-headers.
6821 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
6822 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
6823 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
6824 to compile strcasecmp and strncasecmp.
6825 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
6826 strcasecmp_l and strncasecmp_l.
6827 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
6828 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
6829 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
6830 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
6831 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
6832 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
6833 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
6834 * sysdeps/i386/i686/multiarch/strncase.S: New file.
6835 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
6836 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
6837 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
6838
ab26144e
UD
68392011-11-12 Ulrich Drepper <drepper@gmail.com>
6840
7edb22ef
UD
6841 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
6842 result of SYSDEP_GETTIME_CPU to retval.
6843 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
6844 parameter list to macro. Remove trailing semicolon. Adjust users.
6845
9694fc44
UD
6846 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
6847 variable.
6848
8ad89ef8
UD
6849 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
6850 mantissa words.
6851 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6852
0c822ef9
UD
6853 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
6854 from unused variable.
6855
874e0564
UD
6856 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
6857 DWARF definitions.
6858 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
6859 for assembling.
6860
3a2edc79
UD
6861 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
6862 over namespaces.
6863
f3c2577f
UD
6864 * sunrpc/rpc_prot.c (rejected): Fix case value.
6865
294ce126
UD
6866 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
6867 unsigned long long int to avoid warnings in shift.
6868
5e2b63c6
UD
6869 * posix/regex_internal.c (re_string_reconstruct): Actually use result
6870 of use of trans.
6871 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
6872 variable tmp.
6873
e7f4b08e
UD
6874 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
6875 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6876 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6877
ab26144e
UD
6878 * nis/nis_table.c (nis_list): Use variable of correct type for
6879 result of __follow_path call.
6880
8a6d5255
AZ
68812011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6882
6883 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
6884 of math functions ceil, trunc, floor, round, and sqrt, when
6885 avaliable on the platform.
6886 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
6887 name clash.
6888 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6889 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6890 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6891
aaddc98c
MP
68922011-10-30 Marek Polacek <mpolacek@redhat.com>
6893
6894 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
6895 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6896
95b7042b
RM
68972011-11-11 Roland McGrath <roland@hack.frob.com>
6898
6899 * include/unistd.h: Fix __readlink return type.
6900 Reported by Chris Metcalf <cmetcalf@tilera.com>.
6901
57769839
UD
69022011-11-11 Ulrich Drepper <drepper@gmail.com>
6903
6904 * stdlib/ucontext.h: Undo last change for makecontext.
6905
edc5984d
AS
69062011-11-11 Andreas Schwab <schwab@redhat.com>
6907
98591e58
AS
6908 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
6909
edc5984d
AS
6910 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
6911 * setjmp/setjmp.h: Mark functions as non-leaf.
6912 * setjmp/bits/setjmp2.h: Likewise.
6913 * stdlib/ucontext.h: Likewise.
6914
77cdc054
AS
69152011-11-10 Andreas Schwab <schwab@redhat.com>
6916
6917 * malloc/arena.c (_int_new_arena): Don't increment narenas.
6918 (reused_arena): Don't check arena limit.
6919 (arena_get2): Atomically check arena limit.
6920
fe72eebd
UD
69212011-11-08 Ulrich Drepper <drepper@gmail.com>
6922
5f078c32
UD
6923 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
6924 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
6925
fe72eebd
UD
6926 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
6927 instructions.
6928
ae1bc2fa
AS
69292011-11-07 Andreas Schwab <schwab@redhat.com>
6930
7583a88d
AS
6931 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
6932 handler when locking.
6933
ae1bc2fa
AS
6934 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6935 Fix size of allocated buffer.
6936
10fb0bfa
AS
69372011-11-04 Andreas Schwab <schwab@redhat.com>
6938
998832a4
AS
6939 [BZ #10103]
6940 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
6941 declarations for long double functions.
6942 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
6943
10fb0bfa
AS
6944 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
6945
3d7ba52b
AS
69462011-11-03 Andreas Schwab <schwab@redhat.com>
6947
a9ae54a1
AS
6948 * nscd/nscd.c (main): Don't start AVC thread until credentials are
6949 installed.
6950
3d7ba52b
AS
6951 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
6952 is disabled.
6953
bc8db248
ST
69542011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
6955
6956 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
6957
45b96dd6
AS
69582011-11-01 Andreas Schwab <schwab@linux-m68k.org>
6959
647776f6
AS
6960 * include/alloca.h (stackinfo_alloca_round): Define.
6961 (extend_alloca): Use it.
6962 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
6963 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
6964 here.
6965
d91a8b93
AS
6966 * scripts/check-local-headers.sh: Ignore libaudit.h.
6967
45b96dd6
AS
6968 * nscd/Makefile (extra-objs): Make recursively expanded.
6969
432d41ce
UD
69702011-11-01 Ulrich Drepper <drepper@gmail.com>
6971
34372fc6
UD
6972 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
6973 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6974
fadb59f8
UD
6975 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
6976 * posix/tst-rfc3484-2.c: Likewise.
6977 * posix/tst-rfc3484-3.c: Likewise.
6978
78239589
UD
6979 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6980 process_vm_writev.
6981 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
6982 process_vm_writev.
6983 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
6984 process_vm_writev from libc using GLIBC_2.15 version.
6985
432d41ce
UD
6986 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
6987
02f9c6cf
PP
69882011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6989
6990 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
6991 stack usage.
6992
3a2c0242
UD
69932011-10-31 Ulrich Drepper <drepper@gmail.com>
6994
f4ec4833
UD
6995 [BZ #13367]
6996 * nss/getent.c (initgroups_keys): Show error message in case no group
6997 names are given.
6998
3a2c0242
UD
6999 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7000 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7001 __bump_nl_timestamp.
7002 * nscd/connections (nscd_init): When host database is served open
7003 netlink socket and request notification about configuration changes.
7004 (main_loop_poll): Track netlink file descriptor and bump timestamp
7005 in case data becomes available.
7006 (main_loop_epoll): Likewise.
7007 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7008 (database_pers_head): Add extra_data fileds.
7009 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7010 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7011 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7012 Adjust caller.
7013 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7014 in6ai data, call __free_in6ai.
7015 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7016 Add -DHAVE_NETLINK.
7017 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
7018 interface information. Reuse previous data if netlink timestamp
7019 is not changed.
7020 (__bump_nl_timestamp): New function.
7021 (__free_in6ai): New function.
7022
636064eb
UD
70232011-10-30 Ulrich Drepper <drepper@gmail.com>
7024
7025 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7026 close_not_cancel_no_status here.
7027 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7028
9beb2334
UD
70292011-10-29 Ulrich Drepper <drepper@gmail.com>
7030
6ef76f3b
UD
7031 [BZ #13276]
7032 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7033 return value.
7034
0ffc4f3e 7035 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
7036 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7037 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7038
cb95113e
UD
70392011-07-03 Andreas Jaeger <aj@suse.de>
7040
7041 [BZ #10709]
7042 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7043 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7044 * math/libm-test.inc (sin_test): Add test case.
7045
a1b560ff
UD
70462011-10-29 Ulrich Drepper <drepper@gmail.com>
7047
c9aaface
UD
7048 [BZ #13337]
7049 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7050 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7051
d272e7f1
UD
7052 * elf/chroot_canon.c (chroot_canon): Cleanups.
7053
1bc33071
UD
7054 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7055
1760874d
TJ
7056 [BZ #13335]
7057 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7058 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7059
51d91b18
UD
7060 * string/test-strchr.c: Make usable for strchrnul testing.
7061 * string/test-strchrnul.c: New file.
7062 * string/Makefile (strop-tests): Add strchrnul.
7063
a1b560ff 7064 * po/it.po: Update from translation team.
b611fb81 7065 * po/es.po: Likewise.
a1b560ff 7066
a5b81e1f
UD
70672011-10-28 Ulrich Drepper <drepper@gmail.com>
7068
fd52bc6d
UD
7069 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7070 the three constants needed as parameters. Drop the others.
7071 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7072 __m128i_strloadu_tolower.
52e4b9eb
UD
7073 Create and initialize variable zero and use it in all the places
7074 where _mm_setzero_si128 was used.
fd52bc6d 7075
a5b81e1f
UD
7076 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7077 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7078 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7079 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7080 anymore.
7081 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7082 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7083 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7084 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7085 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7086 __mpranred, __mptan.
7087 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7088 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7089 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7090 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7091 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7092 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7093 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7094 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7095 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7096
b4343346
AS
70972011-10-28 Andreas Schwab <schwab@redhat.com>
7098
0c92d8a8
AS
7099 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7100 redefine if SHARED.
7101 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7102
b4343346
AS
7103 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7104 wide char related routines to wcsmbs subdir.
7105
3871f58f
AS
71062011-10-27 Andreas Schwab <schwab@redhat.com>
7107
7108 [BZ #13344]
7109 * misc/sys/cdefs.h (__THROWNL): Define.
7110 * posix/unistd.h: Use __THREADNL instead of __THREAD
7111 for memory synchronization functions.
7112
94d44d9f
RM
71132011-10-26 Roland McGrath <roland@hack.frob.com>
7114
21b64b15 7115 [BZ #13349]
94d44d9f
RM
7116 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7117 doesn't exist.
7118 * manual/stdio.texi (Obstack Streams): Node removed.
7119
f6ce9294
AS
71202011-10-26 Andreas Schwab <schwab@redhat.com>
7121
80479147
AS
7122 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7123 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7124 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7125
f6ce9294
AS
7126 * math/math_private.h (math_force_eval): Allow non-addressable
7127 arguments.
7128 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7129
618280a1
UD
71302011-10-25 Ulrich Drepper <drepper@gmail.com>
7131
e0016b11
UD
7132 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7133 file is not needed.
7134
7135 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7136 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7137 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7138 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7139 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7140 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7141 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7142 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7143 Add AVX variants.
7144 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7145 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7146 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7147 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7148 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7149 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7150 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7151 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7152 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7153 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7154 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7155 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7156 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7157 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7158 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7159 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7160 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7161 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7162 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7163
7164 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7165 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
7166
618280a1
UD
7167 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7168 place. Use VEX encoding when compiling for AVX.
7169
37822576
AS
71702011-10-25 Andreas Schwab <schwab@redhat.com>
7171
1f1e1947
AS
7172 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7173 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7174
37822576
AS
7175 * string/test-strchr.c (do_test): Don't generate NUL bytes.
7176
31ea014d
UD
71772011-10-25 Ulrich Drepper <drepper@gmail.com>
7178
d7826aa1 7179 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 7180 useless if() expression.
d7826aa1
UD
7181 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7182 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7183 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7184 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7185 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7186 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7187 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7188 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7189 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7190 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7191 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7192 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7193 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7194 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7195 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7196 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7197 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7198 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7199 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7200
31ea014d
UD
7201 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7202
16437fec
AS
72032011-10-25 Andreas Schwab <schwab@redhat.com>
7204
7205 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7206 condition.
7207 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7208
31d3cc00
UD
72092011-10-25 Ulrich Drepper <drepper@gmail.com>
7210
7211 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7212 .text section. Avoid duplicate constants.
7213 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7214 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7215 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7216 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7217 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7218 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7219 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7220 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7221 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7222 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7223 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7224 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7225 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7226 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7227 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7228 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7229 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7230 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7231 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7232 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7233 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7234 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7235 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7236 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7237 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7238 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7239 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7240 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7241 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7242 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7243 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7244 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7245 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7246 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7247 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7248 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7249 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7250 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7251 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7252 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7253 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7254 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7255 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7256 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7257 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7258
58985aa9
UD
72592011-10-24 Ulrich Drepper <drepper@gmail.com>
7260
202c9deb
UD
7261 * sysdeps/x86_64/dla.h: Move to ...
7262 * sysdeps/x86_64/fpu/dla.h: ...here.
7263 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7264 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 7265
af968f62
UD
7266 * config.make.in: Add have-mfma4 entry.
7267 * configure.in: Substitute libc_cv_cc_fma4.
7268 * math/Makefile (dbl-only-routines): Add sincostab.
7269 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7270 Use __sincostab not sincos.
7271 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7272 name is a macro.
7273 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7274 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7275 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7276 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
7277 using __copysign.
7278 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
7279 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
7280 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7281 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
7282 and __inv.
7283 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
7284 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
7285 __copysign.
7286 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
7287 define aliases when function name is a macro.
7288 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
7289 sysdeps/ieee754/dbl-64/sincos.tbl.
7290 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
7291 fma4-enabled routines.
7292 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
7293 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
7294 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
7295 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
7296 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
7297 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
7298 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
7299 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
7300 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
7301 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
7302 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
7303 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
7304 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
7305 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
7306 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
7307 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
7308 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
7309 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
7310 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
7311 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
7312 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
7313 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
7314 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
7315 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
7316 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
7317 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
7318 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
7319 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
7320 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
7321 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
7322
58985aa9
UD
7323 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
7324 rename.
7325 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7326 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7327 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7328 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7329 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7330 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7331 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7332 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7333
a201fbcf
AS
73342011-10-24 Andreas Schwab <schwab@redhat.com>
7335
7336 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
7337
fc2ee42a
LD
73382011-10-23 Ulrich Drepper <drepper@gmail.com>
7339
bb3129bd
UD
7340 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
7341
0275fff8
UD
7342 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
7343 prediction.
7344 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
7345
2fa2ae85
UD
7346 * string/strnlen.c: Don't define STRNLEN, reverse logic.
7347 Remove unused variable magic_bits.
7348 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
7349
fc2ee42a
LD
7350 * string/strnlen.c: Define and use STRNLEN macro.
7351 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
7352 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
7353 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
7354 * wcsmbs/wcslen.c: Define and use WCSLEN.
7355 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
7356 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
7357 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
7358 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
7359 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
7360 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
7361 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7362
ce7dd29f
LD
73632011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7364
7365 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7366 strnlen-sse2-no-bsf.
7367 Rename strlen-no-bsf to strlen-sse2-no-bsf.
7368 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
7369 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
7370 Add strnlen support.
7371 (USE_AS_STRNLEN): New macro.
7372 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
7373 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
7374 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
7375 * sysdeps/x86_64/wcslen.S: New file.
7376
979c70a3
MZ
73772011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
7378
7379 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7380 XMM-moves are used for copying on small sizes.
7381
2d09f82f
LD
73822011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7383
7384 * wcsmbs/Makefile (strop-tests): Add wcschr.
7385 * wcsmbs/test-wcschr.c: New file.
7386 * string/test-strchr.c: Update.
7387 Add wcschr support.
7388 (WIDE): New macro.
7389
619fccca
LD
73902011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7391
2d09f82f 7392 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
7393 * wcsmbs/test-wcslen.c: New file.
7394 * string/test-strlen.c: Update.
7395 Add wcslen support.
7396 (WIDE): New macro.
7397
09f699ea
UD
73982011-10-23 Ulrich Drepper <drepper@gmail.com>
7399
7400 * po/it.po: Update from translation team.
7401
95584d3b
LD
74022011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7403
7404 * sysdeps/x86_64/wcscmp.S: Update.
7405 Fix wrong comparison semantics.
7406 wcscmp shall use signed comparison not unsigned.
7407 Don't use substraction to avoid overflow bug.
7408 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7409 * wcsmbc/wcscmp.c: Likewise.
7410 * string/test-strcmp.c: Likewise.
7411 Add new tests to check cases with negative values.
7412
c8b3296b
UD
74132011-10-23 Ulrich Drepper <drepper@gmail.com>
7414
7415 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
7416 * sysdeps/x86_64/dla.h: ...here. New file.
7417 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
7418 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7419 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7420 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7421 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7422 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7423 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7424 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7425 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7426
246ad57a
AS
74272011-10-23 Andreas Schwab <schwab@linux-m68k.org>
7428
7429 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
7430 __ynl_finite aliases.
7431
a1a87169
UD
74322011-10-22 Ulrich Drepper <drepper@gmail.com>
7433
0d355eb7
UD
7434 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7435
a1a87169
UD
7436 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
7437 define DLA_FMA.
7438 [DLA_FMA] (EMULV): Use DLA_FMA.
7439 [DLA_FMA] (MUL12): Use EMULV.
7440 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
7441 that are not needed.
7442 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7443 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7444 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7445 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7446 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7447 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7448 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7449
ee2aafe0
AS
74502011-10-22 Andreas Schwab <schwab@linux-m68k.org>
7451
7452 * math/s_nan.c: Undef __nan.
7453 * math/s_nanf.c: Undef __nanf.
7454 * math/s_nanl.c: Undef __nanl.
7455 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
7456 "math_private.h".
7457
bc62c2fb
UD
74582011-10-22 Ulrich Drepper <drepper@gmail.com>
7459
77425c63
UD
7460 * math/s_catan.c: Add branch predictions.
7461 * math/s_catanf.c: Likewise.
7462 * math/s_catanh.c: Likewise.
7463 * math/s_catanhf.c: Likewise.
7464 * math/s_catanhl.c: Likewise.
7465 * math/s_catanl.c: Likewise.
7466 * math/s_cexp.c: Likewise.
7467 * math/s_cexpf.c: Likewise.
7468 * math/s_cexpl.c: Likewise.
7469 * math/s_clog.c: Likewise.
7470 * math/s_clog10.c: Likewise.
7471 * math/s_clog10f.c: Likewise.
7472 * math/s_clog10l.c: Likewise.
7473 * math/s_clogf.c: Likewise.
7474 * math/s_clogl.c: Likewise.
7475 * math/s_csqrt.c: Likewise.
7476 * math/s_csqrtf.c: Likewise.
7477 * math/s_csqrtl.c: Likewise.
7478 * math/s_ctanf.c: Likewise.
7479 * math/s_ctanh.c: Likewise.
7480 * math/s_ctanhf.c: Likewise.
7481 * math/s_ctanhl.c: Likewise.
7482 * math/s_ctanl.c: Likewise.
7483
bc62c2fb
UD
7484 * math/math_private.h: Define __nan, __nanf, __nanl.
7485 * math/s_cacosh.c: Include <math_private.h>.
7486 * math/s_cacoshl.c: Likewise.
7487 * math/s_casinh.c: Likewise.
7488 * math/s_casinhf.c: Likewise.
7489 * math/s_casinhl.c: Likewise.
7490 * math/s_ccos.c: Rely entire on ccosh.
7491 * math/s_ccosf.c: Rely entire on ccoshf.
7492 * math/s_ccosl.c: Rely entirely on ccoshl.
7493 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
7494 Remove tests for FE_INVALID.
7495 * math/s_ccoshf.c: Likewise.
7496 * math/s_ccoshl.c: Likewise.
7497 * math/s_csin.c: Likewise.
7498 * math/s_csinf.c: Likewise.
7499 * math/s_csinh.c Likewise.
7500 * math/s_csinhf.c: Likewise.
7501 * math/s_csinhl.c: Likewise.
7502 * math/s_csinl.c: Likewise.
7503 * math/s_ctan.c: Likewise.
7504 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
7505 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
7506 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
7507
8ec250a4
UD
75082011-10-21 Ulrich Drepper <drepper@gmail.com>
7509
c196fed8
UD
7510 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
7511 compilation problems.
7512
8ec250a4
UD
7513 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
7514 __builtin_expect.
7515
8d4f46c6
UD
75162011-10-20 Ulrich Drepper <drepper@gmail.com>
7517
ed72b654
UD
7518 * sysdeps/i386/configure.in: Test for -mfma4 option.
7519 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
7520 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
7521 COMMON_CPUID_INDEX_80000001.
7522 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
7523 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
7524 use it if FMA3 is not supported.
7525 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7526
8d4f46c6
UD
7527 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
7528 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7529
d45c60c2
AS
75302011-10-20 Andreas Schwab <schwab@redhat.com>
7531
7532 [BZ #12892]
7533 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
7534 it would create a cycle with a link time dependency.
7535
d9a4d2ab
UD
75362011-10-19 Ulrich Drepper <drepper@gmail.com>
7537
855d1560
UD
7538 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
7539 instruction.
7540 * string/Makefile (strop-tests): Add rawmemchr.
7541 * string/test-rawmemchr.c: New file.
7542
d9a4d2ab
UD
7543 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
7544 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
7545 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
7546 when compiling str{,n}casecmp and when AVX is available. Hook up
7547 new optimized code in initializers.
7548
8f3b1ffe
AS
75492011-10-19 Andreas Schwab <schwab@redhat.com>
7550
7551 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
7552 __feraiseexcept instead of feraiseexcept.
7553
d38f1dba
UD
75542011-10-18 Ulrich Drepper <drepper@gmail.com>
7555
d9a8d0ab
UD
7556 * math/math_private.h: Define defaults for libc_fetestexcept and
7557 libc_feupdateenv.
7558 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
7559 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7560 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7561 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7562 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7563 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7564 libc_fetestexcept and libc_feupdateenv.
7565
4855e3dd
UD
7566 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
7567 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
7568 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
7569 * sysdeps/x86_64/fpu/math_private.h: Define special version of
7570 libc_feholdexcept_setround.
7571
581d30e3
UD
7572 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
7573 Add s_nearbyint-c and s_nearbyintf-c.
7574 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
7575 nearbyintf inlines.
7576 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
7577 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
7578 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
7579 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
7580
d38f1dba
UD
7581 * math/math_private.h: Define defaults for libc_fegetround,
7582 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
7583 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
7584 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
7585 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
7586 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
7587 standard functions.
7588 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7589 Remove comments and hacks for old compiler versions.
7590 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7591 libc_fegetround, libc_fesetround, libc_feholdexcept, and
7592 libc_feholdexceptl.
7593
caa6c9d8
AS
75942011-10-18 Andreas Schwab <schwab@redhat.com>
7595
7596 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
7597 (__feraiseexcept_renamed): Add __NTH.
7598 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
7599 namespace violations.
7600
97c066e6
UD
76012011-10-17 Ulrich Drepper <drepper@gmail.com>
7602
99ce7b04
UD
7603 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
7604
1004d182
UD
7605 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
7606
228a984d
UD
7607 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
7608 recently added interfaces.
7609 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
7610
c8553a6a
UD
7611 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
7612 about macro parameter expansion.
7613
ed22dcf6
UD
7614 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
7615 __NO_MATH_INLINES is defined. Cleanups.
7616
7617 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
7618 and __floorf is target has SSE4.1.
7619 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
7620 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
7621 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
7622 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
7623
b171c137
UD
7624 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
7625 name.
7626 (floorf): Likewise.
7627
97c066e6
UD
7628 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
7629
629f62ef
AS
76302011-10-17 Andreas Schwab <schwab@redhat.com>
7631
49a43d80
AS
7632 * misc/sys/cdefs.h: Fix last change.
7633
629f62ef
AS
7634 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
7635 database lookup.
7636
e453f6cd
UD
76372011-10-16 Ulrich Drepper <drepper@gmail.com>
7638
aa78043a
UD
7639 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
7640
ad0f5cad
UD
7641 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
7642 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7643 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7644 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7645 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7646 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7647 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7648 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7649 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7650 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
7651 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
7652 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
7653 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
7654 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
7655 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
7656 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
7657 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
7658 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
7659 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
7660 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
7661 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
7662 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
7663
7664 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
7665 ceil, ceilf, floor, floorf.
7666
7667 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
7668 Perform IRELATIVE relocations last.
7669
e453f6cd
UD
7670 * elf/do-rel.h: Add another parameter nrelative, replacing the
7671 local variable with the same name. Change name of the function
7672 to end in Rel or Rela (uppercase).
7673 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
7674 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
7675 elf_dynamic_do_##reloc function.
7676
fd5bdc09
UD
76772011-10-15 Ulrich Drepper <drepper@gmail.com>
7678
79b195b5
UD
7679 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
7680 is sufficient, at least on modern CPUs.
7681
d4a28569
UD
7682 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
7683
b61099b5
UD
7684 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
7685 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
7686
bcf01e6d
UD
7687 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
7688 __expl_finite.
7689 * math/bits/math-finite.h: Add entries for exp.
7690 * math/e_expl.c: Add __*_finite alias.
7691 * sysdeps/i386/fpu/e_exp.S: Likewise.
7692 * sysdeps/i386/fpu/e_expf.S: Likewise.
7693 * sysdeps/i386/fpu/e_expl.c: Likewise.
7694 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7695 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7696 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7697 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7698 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
7699 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7700 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7701
ba1a0d59
UD
7702 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
7703 is sufficient, at least on modern CPUs.
7704
fd5bdc09
UD
7705 * ctype/ctype-info.c (__ctype_init): Define.
7706 * include/ctype.h (__ctype_init): Declare.
7707 (__ctype_b_loc): The variable is always initialized.
7708 (__ctype_toupper_loc): Likewise.
7709 (__ctype_tolower_loc): Likewise.
7710 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
7711 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
7712
7872cfb0
AS
77132011-10-15 Andreas Schwab <schwab@linux-m68k.org>
7714
b468825a
AS
7715 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
7716
7872cfb0
AS
7717 * configure.in: Also look in $cxxmachine/include for C++ system
7718 headers.
7719
be13f7bf
LD
77202011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7721
7722 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
7723 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
7724 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
7725 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
7726 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
7727 (USE_AS_WMEMCMP): New macro.
7728 Fixing indents.
7729 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
7730 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
7731 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
7732 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
7733 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7734 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
7735 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
7736 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
7737 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
7738 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
7739 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
7740 (USE_AS_WMEMCMP): New macro.
7741 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
7742 * sysdeps/string/test-memcmp.c: Update.
7743 Fix simple_wmemcmp.
7744 Add new tests.
7745 * wcsmbs/wmemcmp.c: Update.
7746 (WMEMCMP): New macro.
7747 Fix overflow bug.
7748
556a2007
AJ
77492011-10-12 Andreas Jaeger <aj@suse.de>
7750
7751 [BZ #13268]
7752 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
7753
538faaa7
UD
77542011-10-15 Ulrich Drepper <drepper@gmail.com>
7755
ab6737ff
UD
7756 * libio/iofwide.c (do_length): Avoid warning.
7757
538faaa7
UD
7758 * ctype/ctype.h (__isctype_f): Add missing __THROW.
7759
396a21b1
UD
77602011-10-14 Ulrich Drepper <drepper@gmail.com>
7761
cdf2901f
UD
7762 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
7763
38ad40ce
UD
7764 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
7765 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
7766 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
7767 * sysdeps/i386/i686/fpu/e_log.S: New file.
7768 * sysdeps/i386/i686/fpu/e_logf.S: New file.
7769 * sysdeps/i386/i686/fpu/e_logl.S: New file.
7770
396a21b1
UD
7771 * ctype/ctype.h: Add support for inlined isXXX functions when
7772 compiling C++ code.
7773
6b1f68c9
AS
77742011-10-14 Andreas Schwab <schwab@redhat.com>
7775
349290c0
AS
7776 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7777
6b1f68c9
AS
7778 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
7779
f2282d42
RM
77802011-10-13 Roland McGrath <roland@hack.frob.com>
7781
7782 [BZ #13291]
7783 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
7784
5298ffa8
AS
77852011-10-13 Andreas Schwab <schwab@redhat.com>
7786
714fad23
AS
7787 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
7788 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
7789 feraiseexcept.
7790
81dcc7fb
AS
7791 * sysdeps/x86_64/memrchr.S: Check for zero size.
7792
5298ffa8
AS
7793 * string/stratcliff.c: Add memrchr tests.
7794
951fbcec
LD
77952011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7796
7797 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7798 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
7799 rawmemchr-sse2 rawmemchr-sse2-bsf.
7800 * sysdeps/i386/i686/multiarch/memchr.S: New file.
7801 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
7802 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
7803 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
7804 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
7805 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
7806 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
7807 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
7808 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
7809 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
7810 * string/memrchr.c (MEMRCHR): New macro.
7811
0ac5ae23
UD
78122011-10-12 Ulrich Drepper <drepper@gmail.com>
7813
7814 Add integration with gcc's -ffinite-math-only and optimize wrapper
7815 functions in libm.
7816 * Versions.def: Define GLIBC_2.15 version for libm.
7817 * math/Makefile (headers): Add bits/math-finite.h.
7818 * math/bits/math-finite.h: New file.
7819 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
7820 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
7821 * math/e_acoshl.c: Add __*_finite alias.
7822 * math/e_acosl.c: Likewise.
7823 * math/e_asinl.c: Likewise.
7824 * math/e_atan2l.c: Likewise.
7825 * math/e_atanhl.c: Likewise.
7826 * math/e_coshl.c: Likewise.
7827 * math/e_exp10.c: Likewise.
7828 * math/e_exp10f.c: Likewise.
7829 * math/e_exp10l.c: Likewise.
7830 * math/e_exp2l.c: Likewise.
7831 * math/e_fmodl.c: Likewise.
7832 * math/e_gammal_r.c: Likewise.
7833 * math/e_hypotl.c: Likewise.
7834 * math/e_j0l.c: Likewise.
7835 * math/e_j1l.c: Likewise.
7836 * math/e_jnl.c: Likewise.
7837 * math/e_lgammal_r.c: Likewise.
7838 * math/e_log10l.c: Likewise.
7839 * math/e_log2l.c: Likewise.
7840 * math/e_logl.c: Likewise.
7841 * math/e_powl.c: Likewise.
7842 * math/e_sinhl.c: Likewise.
7843 * math/e_sqrtl.c: Likewise.
7844 * math/e_scalb.c: Completely rewritten and optimized.
7845 * math/e_scalbf.c: Likewise.
7846 * math/e_scalbl.c: Likewise.
7847 * math/w_acos.c: Likewise.
7848 * math/w_acosf.c: Likewise.
7849 * math/w_acosl.c: Likewise.
7850 * math/w_acosh.c: Likewise.
7851 * math/w_acoshf.c: Likewise.
7852 * math/w_acoshl.c: Likewise.
7853 * math/w_asin.c: Likewise.
7854 * math/w_asinf.c: Likewise.
7855 * math/w_asinl.c: Likewise.
7856 * math/w_atan2.c: Likewise.
7857 * math/w_atan2f.c: Likewise.
7858 * math/w_atan2l.c: Likewise.
7859 * math/w_atanh.c: Likewise.
7860 * math/w_atanhf.c: Likewise.
7861 * math/w_atanhl.c: Likewise.
7862 * math/w_exp10.c: Likewise.
7863 * math/w_exp10f.c: Likewise.
7864 * math/w_exp10l.c: Likewise.
7865 * math/w_fmod.c: Likewise.
7866 * math/w_fmodf.c: Likewise.
7867 * math/w_fmodl.c: Likewise.
7868 * math/w_j0.c: Likewise.
7869 * math/w_j0f.c: Likewise.
7870 * math/w_j0l.c: Likewise.
7871 * math/w_j1.c: Likewise.
7872 * math/w_j1f.c: Likewise.
7873 * math/w_j1l.c: Likewise.
7874 * math/w_jn.c: Likewise.
7875 * math/w_jnf.c: Likewise.
7876 * math/w_log.c: Likewise.
7877 * math/w_logf.c: Likewise.
7878 * math/w_logl.c: Likewise.
7879 * math/w_log10.c: Likewise.
7880 * math/w_log10f.c: Likewise.
7881 * math/w_log10l.c: Likewise.
7882 * math/w_log2.c: Likewise.
7883 * math/w_log2f.c: Likewise.
7884 * math/w_log2l.c: Likewise.
7885 * math/w_pow.c: Likewise.
7886 * math/w_powf.c: Likewise.
7887 * math/w_powl.c: Likewise.
7888 * math/w_remainder.c: Likewise.
7889 * math/w_remainderf.c: Likewise.
7890 * math/w_remainderl.c: Likewise.
7891 * math/w_scalb.c: Likewise.
7892 * math/w_scalbf.c: Likewise.
7893 * math/w_scalbl.c: Likewise.
7894 * math/w_sqrt.c: Likewise.
7895 * math/w_sqrtf.c: Likewise.
7896 * math/w_sqrtl.c: Likewise.
7897 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
7898 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
7899 used.
7900 * math/math_private.h: Declare __kernel_standard_f.
7901 * math/w_cosh.c: Remove cruft and optimize a bit.
7902 * math/w_coshf.c: Likewise.
7903 * math/w_coshl.c: Likewise.
7904 * math/w_exp2.c: Likewise.
7905 * math/w_exp2f.c: Likewise.
7906 * math/w_exp2l.c: Likewise.
7907 * math/w_hypot.c: Likewise.
7908 * math/w_hypotf.c: Likewise.
7909 * math/w_hypotl.c: Likewise.
7910 * math/w_lgamma.c: Likewise.
7911 * math/w_lgamma_r.c: Likewise.
7912 * math/w_lgammaf.c: Likewise.
7913 * math/w_lgammaf_r.c: Likewise.
7914 * math/w_lgammal.c: Likewise.
7915 * math/w_lgammal_r.c: Likewise.
7916 * math/w_sinh.c: Likewise.
7917 * math/w_sinhf.c: Likewise.
7918 * math/w_sinhl.c: Likewise.
7919 * math/w_tgamma.c: Likewise.
7920 * math/w_tgammaf.c: Likewise.
7921 * math/w_tgammal.c: Likewise.
7922 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7923 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7924 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
7925 Minor optimizations. Pretty printing. Remove cruft.
7926 * sysdeps/i386/fpu/e_acosf.S: Likewise.
7927 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7928 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7929 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7930 * sysdeps/i386/fpu/e_acosl.c: Likewise.
7931 * sysdeps/i386/fpu/e_asin.S: Likewise.
7932 * sysdeps/i386/fpu/e_asinf.S: Likewise.
7933 * sysdeps/i386/fpu/e_atan2.S: Likewise.
7934 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
7935 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
7936 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7937 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7938 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7939 * sysdeps/i386/fpu/e_exp10.S: Likewise.
7940 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
7941 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
7942 * sysdeps/i386/fpu/e_exp2.S: Likewise.
7943 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
7944 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
7945 * sysdeps/i386/fpu/e_fmod.S: Likewise.
7946 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
7947 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
7948 * sysdeps/i386/fpu/e_hypot.S: Likewise.
7949 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
7950 * sysdeps/i386/fpu/e_log.S: Likewise.
7951 * sysdeps/i386/fpu/e_log10.S: Likewise.
7952 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7953 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7954 * sysdeps/i386/fpu/e_log2.S: Likewise.
7955 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7956 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7957 * sysdeps/i386/fpu/e_logf.S: Likewise.
7958 * sysdeps/i386/fpu/e_logl.S: Likewise.
7959 * sysdeps/i386/fpu/e_pow.S: Likewise.
7960 * sysdeps/i386/fpu/e_powf.S: Likewise.
7961 * sysdeps/i386/fpu/e_powl.S: Likewise.
7962 * sysdeps/i386/fpu/e_remainder.S: Likewise.
7963 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
7964 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
7965 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7966 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7967 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7968 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
7969 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
7970 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
7971 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7972 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7973 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7974 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7975 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7976 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7977 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7978 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7979 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7980 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7981 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7982 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7983 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7984 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7985 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7986 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7987 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7988 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7989 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7990 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7991 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7992 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7993 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7994 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7995 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7996 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7997 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7998 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7999 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8000 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8001 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8002 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8003 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8004 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8005 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8006 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8007 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8008 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8009 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8010 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8011 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8012 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8013 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8014 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8015 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8016 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8017 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8018 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8019 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8020 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8021 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8022 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8023 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8024 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8025 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8026 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8027 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8028 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8029 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8030 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8031 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8032 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8033 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8034 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8035 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8036 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8037 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8038 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8039 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8040 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8041 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8042 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8043 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8044 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8045 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8046 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8047 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8048 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8049 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8050 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8051 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8052 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8053 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8054 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8055 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8056 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8057 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8058 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8059 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8060 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8061 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8062 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8063 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8064 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8065 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8066 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8067 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8068 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8069 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8070 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8071 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8072 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8073 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8074 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8075 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8076 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8077 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8078 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8079 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8080 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8081 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8082 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8083 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8084 (__isnanf): Likewise.
8085 (__isinf_ns): Likewise.
8086 (__isinf_nsf): Likewise.
8087 (__finite): Likewise.
8088 (__finitef): Likewise.
8089 (__ieee754_sqrt): Define as macro.
8090 (__ieee754_sqrtf): Define as macro.
8091 (__ieee754_sqrtl): Define as macro.
8092 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8093 inlined copy.
8094 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8095 __FINITE_MATH_ONLY__ consistent.
8096 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8097
12cc2fcd
AS
80982011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8099
a843a204
AS
8100 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8101 of rawmemchr.
8102
12cc2fcd
AS
8103 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8104
c853acd5
UD
81052011-10-09 Ulrich Drepper <drepper@gmail.com>
8106
8107 * po/ja.po: Update from translation team.
8108
c658d255
RM
81092011-10-08 Roland McGrath <roland@hack.frob.com>
8110
110946e4
RM
8111 * locale/programs/locarchive.c (prepare_address_space): New function.
8112 (create_archive, enlarge_archive, open_archive): Use it.
8113
50604220
RM
8114 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8115 inside [SHARED], where it is used.
8116
c658d255
RM
8117 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8118
8119 * nss/getent.c (netgroup_keys): Remove unused variable.
8120 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8121
6a621eb7
UD
81222011-10-08 Ulrich Drepper <drepper@gmail.com>
8123
7edb55ce
UD
8124 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8125 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8126 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8127 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8128 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8129 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8130 * math/Makefile (libm-calls): Add s_isinf_ns.
8131 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8132 * math/multc3.c: Likewise.
8133 * math/s_casin.c: Likewise.
8134 * math/s_casinf.c: Likewise.
8135 * math/s_casinl.c: Likewise.
8136 * math/s_ccos.c: Likewise.
8137 * math/s_ccosf.c: Likewise.
8138 * math/s_ccosl.c: Likewise.
8139 * math/s_ctan.c: Likewise.
8140 * math/s_ctanf.c: Likewise.
8141 * math/s_ctanh.c: Likewise.
8142 * math/s_ctanhf.c: Likewise.
8143 * math/s_ctanhl.c: Likewise.
8144 * math/s_ctanl.c: Likewise.
8145 * math/w_fmod.c: Likewise.
8146 * math/w_fmodf.c: Likewise.
8147 * math/w_fmodl.c: Likewise.
8148 * math/w_remainder.c: Likewise.
8149 * math/w_remainderf.c: Likewise.
8150 * math/w_remainderl.c: Likewise.
8151 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8152 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8153 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8154 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8155 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8156 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8157 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8158 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8159
187da0ae
UD
8160 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8161 of the number.
8162 * stdio-common/printf_fphex.c: Likewise.
8163 * stdio-common/printf_size.c: Likewise.
8164
9277c064
UD
8165 * math/e_exp10.c: Include math_private.h using <...> not "...".
8166 * math/e_exp10f.c: Likewise.
8167 * math/e_exp10l.c: Likewise.
8168 * math/e_exp2l.c: Likewise.
8169 * math/e_j0l.c: Likewise.
8170 * math/e_j1l.c: Likewise.
8171 * math/e_jnl.c: Likewise.
8172 * math/e_lgammal_r.c: Likewise.
8173 * math/e_rem_pio2l.c: Likewise.
8174 * math/e_scalb.c: Likewise.
8175 * math/e_scalbf.c: Likewise.
8176 * math/e_scalbl.c: Likewise.
8177 * math/k_cosl.c: Likewise.
8178 * math/k_sinl.c: Likewise.
8179 * math/k_tanl.c: Likewise.
8180 * math/s_cacoshf.c: Likewise.
8181 * math/s_catan.c: Likewise.
8182 * math/s_catanf.c: Likewise.
8183 * math/s_catanh.c: Likewise.
8184 * math/s_catanhf.c: Likewise.
8185 * math/s_catanhl.c: Likewise.
8186 * math/s_catanl.c: Likewise.
8187 * math/s_ccosh.c: Likewise.
8188 * math/s_ccoshf.c: Likewise.
8189 * math/s_ccoshl.c: Likewise.
8190 * math/s_cexp.c: Likewise.
8191 * math/s_cexpf.c: Likewise.
8192 * math/s_cexpl.c: Likewise.
8193 * math/s_clog.c: Likewise.
8194 * math/s_clog10.c: Likewise.
8195 * math/s_clog10f.c: Likewise.
8196 * math/s_clog10l.c: Likewise.
8197 * math/s_clogf.c: Likewise.
8198 * math/s_clogl.c: Likewise.
8199 * math/s_csin.c: Likewise.
8200 * math/s_csinf.c: Likewise.
8201 * math/s_csinh.c: Likewise.
8202 * math/s_csinhf.c: Likewise.
8203 * math/s_csinhl.c: Likewise.
8204 * math/s_csinl.c: Likewise.
8205 * math/s_csqrt.c: Likewise.
8206 * math/s_csqrtf.c: Likewise.
8207 * math/s_csqrtl.c: Likewise.
8208 * math/s_ctan.c: Likewise.
8209 * math/s_ctanf.c: Likewise.
8210 * math/s_ctanh.c: Likewise.
8211 * math/s_ctanhf.c: Likewise.
8212 * math/s_ctanhl.c: Likewise.
8213 * math/s_ctanl.c: Likewise.
8214 * math/s_ldexp.c: Likewise.
8215 * math/s_ldexpf.c: Likewise.
8216 * math/s_ldexpl.c: Likewise.
8217 * math/s_significand.c: Likewise.
8218 * math/s_significandf.c: Likewise.
8219 * math/s_significandl.c: Likewise.
8220 * math/w_acos.c: Likewise.
8221 * math/w_acosf.c: Likewise.
8222 * math/w_acosh.c: Likewise.
8223 * math/w_acoshf.c: Likewise.
8224 * math/w_acoshl.c: Likewise.
8225 * math/w_acosl.c: Likewise.
8226 * math/w_asin.c: Likewise.
8227 * math/w_asinf.c: Likewise.
8228 * math/w_asinl.c: Likewise.
8229 * math/w_atan2.c: Likewise.
8230 * math/w_atan2f.c: Likewise.
8231 * math/w_atan2l.c: Likewise.
8232 * math/w_atanh.c: Likewise.
8233 * math/w_atanhf.c: Likewise.
8234 * math/w_atanhl.c: Likewise.
8235 * math/w_cosh.c: Likewise.
8236 * math/w_coshf.c: Likewise.
8237 * math/w_coshl.c: Likewise.
8238 * math/w_dremf.c: Likewise.
8239 * math/w_exp10.c: Likewise.
8240 * math/w_exp10f.c: Likewise.
8241 * math/w_exp10l.c: Likewise.
8242 * math/w_exp2.c: Likewise.
8243 * math/w_exp2f.c: Likewise.
8244 * math/w_fmod.c: Likewise.
8245 * math/w_fmodf.c: Likewise.
8246 * math/w_fmodl.c: Likewise.
8247 * math/w_hypot.c: Likewise.
8248 * math/w_hypotf.c: Likewise.
8249 * math/w_hypotl.c: Likewise.
8250 * math/w_j0.c: Likewise.
8251 * math/w_j0f.c: Likewise.
8252 * math/w_j0l.c: Likewise.
8253 * math/w_j1.c: Likewise.
8254 * math/w_j1f.c: Likewise.
8255 * math/w_j1l.c: Likewise.
8256 * math/w_jn.c: Likewise.
8257 * math/w_jnf.c: Likewise.
8258 * math/w_jnl.c: Likewise.
8259 * math/w_lgamma.c: Likewise.
8260 * math/w_lgamma_r.c: Likewise.
8261 * math/w_lgammaf.c: Likewise.
8262 * math/w_lgammaf_r.c: Likewise.
8263 * math/w_lgammal.c: Likewise.
8264 * math/w_lgammal_r.c: Likewise.
8265 * math/w_log.c: Likewise.
8266 * math/w_log10.c: Likewise.
8267 * math/w_log10f.c: Likewise.
8268 * math/w_log10l.c: Likewise.
8269 * math/w_log2.c: Likewise.
8270 * math/w_log2f.c: Likewise.
8271 * math/w_log2l.c: Likewise.
8272 * math/w_logf.c: Likewise.
8273 * math/w_logl.c: Likewise.
8274 * math/w_pow.c: Likewise.
8275 * math/w_powf.c: Likewise.
8276 * math/w_powl.c: Likewise.
8277 * math/w_remainder.c: Likewise.
8278 * math/w_remainderf.c: Likewise.
8279 * math/w_remainderl.c: Likewise.
8280 * math/w_scalb.c: Likewise.
8281 * math/w_scalbf.c: Likewise.
8282 * math/w_scalbl.c: Likewise.
8283 * math/w_sinh.c: Likewise.
8284 * math/w_sinhf.c: Likewise.
8285 * math/w_sinhl.c: Likewise.
8286 * math/w_sqrt.c: Likewise.
8287 * math/w_sqrtf.c: Likewise.
8288 * math/w_sqrtl.c: Likewise.
8289 * math/w_tgamma.c: Likewise.
8290 * math/w_tgammaf.c: Likewise.
8291 * math/w_tgammal.c: Likewise.
8292
6a621eb7
UD
8293 * po/ja.po: Update from translation team.
8294
bf582445
AJ
82952011-09-29 Andreas Jaeger <aj@suse.de>
8296
f9efbf3a
AJ
8297 [BZ #13179]
8298 * sunrpc/netname.c (netname2host): Fix logic.
8299
bf582445
AJ
8300 [BZ #6779]
8301 [BZ #6783]
8302 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
8303 correctly.
8304 * math/w_remainder.c (__remainder): Likewise.
8305 * math/w_remainderf.c (__remainderf): Likewise.
8306 * math/libm-test.inc (remainder_test): Add test cases.
8307
48693bea
AK
83082011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8309
8310 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
8311 sdiv_qrnnd.
8312
42622229
LD
83132011-10-07 Ulrich Drepper <drepper@gmail.com>
8314
8315 * string/test-memcmp.c: Avoid unncessary #defines.
8316 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8317
093ecf92
LD
83182011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8319
8320 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
8321 Use new sse2 version for core i3 - i7 as it's faster
8322 than sse42 version.
8323 (bit_Prefer_PMINUB_for_stringop): New.
8324 * sysdeps/x86_64/rawmemchr.S: Update.
8325 Replace with faster SSE2 version.
8326 * sysdeps/x86_64/memrchr.S: New file.
8327 * sysdeps/x86_64/memchr.S: Update.
8328 Replace with faster SSE2 version.
8329
fde56e5c
MP
83302011-09-12 Marek Polacek <mpolacek@redhat.com>
8331
8332 * elf/dl-load.c (lose): Add cast to avoid warning.
8333
21fd49a9
UD
83342011-10-07 Ulrich Drepper <drepper@gmail.com>
8335
5a06e643
UD
8336 * po/ca.po: Update from translation team.
8337
684ae515
UD
8338 * inet/getnetgrent_r.c: Hook up nscd.
8339 * nscd/Makefile (routines): Add nscd_netgroup.
8340 (nscd-modules): Add netgroupcache.
8341 (CFLAGS-netgroupcache.c): Define.
8342 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
8343 (cache_search): Add const to second parameter.
8344 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
8345 INNETGR.
8346 (dbs): Add netgrdb entry.
8347 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
8348 (verify_persistent_db): Handle netgrdb.
8349 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
8350 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
8351 GETFDNETGR.
8352 (netgroup_response_header): Define.
8353 (innetgroup_response_header): Define.
8354 (datahead): Add netgroup_response_header and innetgroup_response_header
8355 elements.
8356 * nscd/nscd.conf: Add entries for netgroup cache.
8357 * nscd/nscd.h (dbtype): Add netgrdb.
8358 (_PATH_NSCD_NETGROUP_DB): Define.
8359 (netgroup_iov_disabled): Declare.
8360 (xmalloc, xcalloc, xrealloc): Move declarations here.
8361 (cache_search): Adjust prototype.
8362 Add netgroup-related prototypes.
8363 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
8364 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
8365 (__nscd_innetgr): Declare.
8366 * nscd/selinux.c (perms): Use access_vector_t as element type and
8367 add netgroup-related initializers.
8368 * nscd/netgroupcache.c: New file.
8369 * nscd/nscd_netgroup.c: New file.
8370 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
8371 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
8372 For four parameters use innetgr.
8373 * nss/nss_files/files-init.c: Add definition and callback for netgr.
8374 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
8375 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
8376 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
8377
21fd49a9
UD
8378 * nscd/connections.c (register_traced_file): Don't register file
8379 for disabled databases.
8380
054c0457
UD
83812011-10-06 Ulrich Drepper <drepper@gmail.com>
8382
32b63198
UD
8383 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
8384
054c0457
UD
8385 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
8386 from tree and freeing node.
8387
64031225
JO
83882011-09-25 Jiri Olsa <jolsa@redhat.com>
8389
8390 * nss/nsswitch.c (__nss_database_lookup): Handle
8391 nss_parse_service_list out of memory case.
8392
0490345c
JO
83932011-09-15 Jiri Olsa <jolsa@redhat.com>
8394
8395 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
8396 out of memory case.
8397
3a62d00d
AS
83982011-10-04 Andreas Schwab <schwab@redhat.com>
8399
8400 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
8401 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
8402 pass it down.
8403 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
8404 elf_machine_rela, elf_machine_lazy_rel.
8405 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
8406 (ELF_DYNAMIC_DO_REL): Likewise.
8407 (ELF_DYNAMIC_DO_RELA): Likewise.
8408 (ELF_DYNAMIC_RELOCATE): Likewise.
8409 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
8410 to ELF_DYNAMIC_DO_REL.
8411 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
8412 (dl_main): In trace mode always set __RTLD_NOIFUNC.
8413 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
8414 elf_machine_rela.
8415 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
8416 skip_ifunc, don't call ifunc function if non-zero.
8417 (elf_machine_rela): Likewise.
8418 (elf_machine_lazy_rel): Likewise.
8419 (elf_machine_lazy_rela): Likewise.
8420 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
8421 (elf_machine_lazy_rel): Likewise.
8422 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
8423 Likewise.
8424 (elf_machine_lazy_rel): Likewise.
8425 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8426 Likewise.
8427 (elf_machine_lazy_rel): Likewise.
8428 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
8429 (elf_machine_lazy_rel): Likewise.
8430 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
8431 (elf_machine_lazy_rel): Likewise.
8432 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8433 (elf_machine_lazy_rel): Likewise.
8434 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8435 (elf_machine_lazy_rel): Likewise.
8436 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8437 (elf_machine_lazy_rel): Likewise.
8438 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8439 (elf_machine_lazy_rel): Likewise.
8440
68577918
UD
84412011-09-28 Ulrich Drepper <drepper@gmail.com>
8442
8443 * nss/nss_files/files-init.c (_nss_files_init): Use static
8444 initialization for all the *_traced_file variables.
8445
68822d74
AS
84462011-09-28 Andreas Schwab <schwab@redhat.com>
8447
8448 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8449
2056100b
RM
84502011-09-27 Roland McGrath <roland@hack.frob.com>
8451
8452 [BZ #13226]
8453 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
8454
32c76b63
AS
84552011-09-27 Andreas Schwab <schwab@redhat.com>
8456
8457 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8458 Reread the line before reparsing it.
8459
bf972c9d
AS
84602011-09-26 Andreas Schwab <schwab@redhat.com>
8461
8462 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
8463
e057a1b5
JM
84642011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
8465 Maxim Kuvyrkov <maxim@codesourcery.com>
8466 Joseph Myers <joseph@codesourcery.com>
8467
8468 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
8469 if needed for __stack_chk_guard.
8470
bc7e1c36
RM
84712011-09-19 Roland McGrath <roland@hack.frob.com>
8472
ecb1482f
RM
8473 * sysdeps/posix/spawni.c (script_execute): Always define it.
8474 It will be optimized away if unused.
8475 (maybe_script_execute): New function.
8476 (__spawni): Call it.
8477
bc7e1c36
RM
8478 * Makerules: Don't include tls.make.
8479 (config-tls): Always set to thread.
8480 * tls.make.c: File removed.
8481
1c3b002b
MF
84822011-09-19 Mike Frysinger <vapier@gentoo.org>
8483
8484 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
8485 * config.make.in (CPPFLAGS-config): New substituted variable.
8486
2840865d
UD
84872011-09-15 Ulrich Drepper <drepper@gmail.com>
8488
88738eb6
UD
8489 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
8490
cbf645a6 8491 [BZ #13192]
2840865d
UD
8492 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
8493 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
8494
b402e91a
RM
84952011-09-15 Roland McGrath <roland@hack.frob.com>
8496
8497 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
8498 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
8499 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8500 (CALL_FAIL): Likewise.
8501 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
8502 (CALL_FAIL): Macro removed.
8503 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
8504
4c1a1f71
UD
85052011-09-15 Ulrich Drepper <drepper@gmail.com>
8506
8507 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
8508 for __FINITE_MATH_ONLY__ == 1.
8509
edc121be
AS
85102011-09-15 Andreas Schwab <schwab@redhat.com>
8511
8512 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
8513 __ieee754_sqrt instead of sqrt.
8514 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
8515 __ieee754_sqrtf instead of sqrtf.
8516 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
8517 __floorf instead of floorf.
8518 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
8519 __floorf, __truncf instead of floorf, truncf.
8520
cd205654
UD
85212011-09-14 Ulrich Drepper <drepper@gmail.com>
8522
ee4d0315
UD
8523 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
8524
cd205654
UD
8525 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
8526 __extern_always_inline.
8527 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
8528 32-bit.
8529
48b67d71
AS
85302011-09-14 Andreas Schwab <schwab@redhat.com>
8531
8532 * elf/rtld.c (dl_main): Also relocate in dependency order when
8533 doing symbol dependency testing.
8534
1ae12c75
AS
85352011-09-13 Andreas Schwab <schwab@linux-m68k.org>
8536
8537 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8538 Always define `refsym'.
8539
995a80df
AS
85402011-09-13 Andreas Schwab <schwab@redhat.com>
8541
e529793b
AS
8542 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
8543 (__FD_ELT): Renamed from __FDELT.
8544 * misc/bits/select2.h (__FD_ELT): Likewise.
8545 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
8546 __FD_MASK instead of __FDELT, __FDMASK.
8547 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8548 Likewise.
8549 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8550 Likewise.
8551
52d4fef8
AS
8552 * elf/Makefile (gen-ldd): Fix pattern.
8553
995a80df
AS
8554 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
8555 (init_tls): Likewise.
8556
8682f8b0
UD
85572011-09-12 Ulrich Drepper <drepper@gmail.com>
8558
8559 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
8560
de82006d
AS
85612011-09-12 Andreas Schwab <schwab@redhat.com>
8562
a7c8e6a1
AS
8563 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
8564 `struct cmsghdr *' instead of `void *'.
8565 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
8566 Likewise.
8567
0f31fe77
AS
85682011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8569
8570 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
8571 if non-absolute.
8572 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
8573 ldd_rewrite_script.
0f31fe77 8574
32b4c839
UD
85752011-09-11 Ulrich Drepper <drepper@gmail.com>
8576
83cd1420
UD
8577 * configure.in: Remove --with-tls option.
8578 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
8579 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
8580 out in case it is missing.
8581 * sysdeps/ia64/elf/configure.in: Likewise.
8582 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
8583 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
8584 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
8585 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
8586 * sysdeps/sh/elf/configure.in: Likewise.
8587 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
8588 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8589 * sysdeps/x86_64/elf/configure.in: Likewise.
8590 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
8591 * sysdeps/mach/hurd/tls.h: Likewise.
8592
633f745d
UD
8593 [BZ #13067]
8594 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
8595
f318beb8
UD
8596 [BZ #13090]
8597 * configure.in: Fix use of AC_INIT.
8598
32b4c839
UD
8599 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
8600
3ce1f295
UD
86012011-09-10 Ulrich Drepper <drepper@gmail.com>
8602
bb016596
UD
8603 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
8604 __set_errno.
8e58439c
UD
8605 * malloc/hooks.c: Likewise.
8606
aebae053 8607 [BZ #11929]
02d46fc4
UD
8608 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
8609 variables statically.
8610 (narenas): Initialize.
8611 (list_lock): Initialize.
bb016596
UD
8612 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
8613 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
8614 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
8615 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
8616 Add initializers to main_arena and mp_.
8617 (malloc_state): Remove pagesize member. Change all users to use
8618 GLRO(dl_pagesize).
8619
8620 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
8621 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
8622 is always initialized.
8623
22a89187
UD
8624 * malloc/malloc.c: Removed unused configurations and dead code.
8625 * malloc/arena.c: Likewise.
8626 * malloc/hooks.c: Likewise.
02d46fc4 8627 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 8628
d063d164
UD
8629 * include/tls.h: Removed. USE___THREAD must always be defined.
8630 * bits/libc-tsd.h: Don't handle !USE___THREAD.
8631 * elf/dl-libc.c: Likewise.
8632 * elf/dl-tsd.c: Likewise.
8633 * include/errno.h: Likewise.
8634 * include/netdb.h: Likewise.
8635 * include/resolv.h: Likewise.
8636 * inet/herrno-loc.c: Likewise.
8637 * inet/herrno.c: Likewise.
8638 * malloc/arena.c: Likewise.
8639 * malloc/hooks.c: Likewise.
8640 * malloc/malloc.c: Likewise.
8641 * resolv/res-state.c: Likewise.
8642 * resolv/res_libc.c: Likewise.
8643 * sysdeps/i386/dl-machine.h: Likewise.
8644 * sysdeps/ia64/dl-machine.h: Likewise.
8645 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8646 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8647 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8648 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8649 * sysdeps/sh/dl-machine.h: Likewise.
8650 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8651 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8652 * sysdeps/unix/i386/sysdep.S: Likewise.
8653 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8654 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8655 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8656 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8657 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8658 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8659 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8660 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8661 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8662 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8663 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8664 * sysdeps/x86_64/dl-machine.h: Likewise.
8665 * tls.make.c: Likewise.
8666
3ce1f295
UD
8667 * configure.in: Remove --with-__thread option. Make tests for
8668 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
8669 tls_model attribute fail if no support is available. Remove
8670 USE_IN_LIBIO.
8671 * Makeconfig: Adjust for dropped configure option. All features are
8672 now mandatory.
8673 * Makerules: Likewise.
8674 * Versions.def: Likewise.
8675 * argp/argp-fmtstream.c: Likewise.
8676 * argp/argp-fmtstream.h: Likewise.
8677 * argp/argp-help.c: Likewise.
8678 * assert/assert.c: Likewise.
8679 * config.h.in: Likewise.
8680 * config.make.in: Likewise.
8681 * configure: Likewise.
8682 * configure.in: Likewise.
8683 * csu/Versions: Likewise.
8684 * csu/init.c: Likewise.
8685 * elf/tst-audit2.c: Likewise.
8686 * elf/tst-tls10.c: Likewise.
8687 * elf/tst-tls10.h: Likewise.
8688 * elf/tst-tls11.c: Likewise.
8689 * elf/tst-tls12.c: Likewise.
8690 * elf/tst-tls14.c: Likewise.
8691 * elf/tst-tlsmod11.c: Likewise.
8692 * elf/tst-tlsmod12.c: Likewise.
8693 * elf/tst-tlsmod13.c: Likewise.
8694 * elf/tst-tlsmod13a.c: Likewise.
8695 * elf/tst-tlsmod14a.c: Likewise.
8696 * elf/tst-tlsmod15b.c: Likewise.
8697 * elf/tst-tlsmod16a.c: Likewise.
8698 * elf/tst-tlsmod16b.c: Likewise.
8699 * elf/tst-tlsmod7.c: Likewise.
8700 * elf/tst-tlsmod8.c: Likewise.
8701 * elf/tst-tlsmod9.c: Likewise.
8702 * gmon/gmon.c: Likewise.
8703 * grp/fgetgrent_r.c: Likewise.
8704 * grp/putgrent.c: Likewise.
8705 * hurd/fopenport.c: Likewise.
8706 * include/libc-symbols.h: Likewise.
8707 * include/tls.h: Likewise.
8708 * intl/gettextP.h: Likewise.
8709 * intl/loadinfo.h: Likewise.
8710 * locale/global-locale.c: Likewise.
8711 * locale/localeinfo.h: Likewise.
8712 * mach/devstream.c: Likewise.
8713 * malloc/arena.c: Likewise.
8714 * malloc/set-freeres.c: Likewise.
8715 * misc/err.c: Likewise.
8716 * misc/getttyent.c: Likewise.
8717 * misc/mntent_r.c: Likewise.
8718 * posix/getopt.c: Likewise.
8719 * posix/wordexp.c: Likewise.
8720 * pwd/fgetpwent_r.c: Likewise.
8721 * resolv/Versions: Likewise.
8722 * resolv/res_hconf.c: Likewise.
8723 * shadow/fgetspent_r.c: Likewise.
8724 * shadow/putspent.c: Likewise.
8725 * stdio-common/printf_fphex.c: Likewise.
8726 * stdio-common/tmpfile.c: Likewise.
8727 * stdlib/abort.c: Likewise.
8728 * stdlib/fmtmsg.c: Likewise.
8729 * sunrpc/auth_unix.c: Likewise.
8730 * sunrpc/clnt_perr.c: Likewise.
8731 * sunrpc/clnt_tcp.c: Likewise.
8732 * sunrpc/clnt_udp.c: Likewise.
8733 * sunrpc/clnt_unix.c: Likewise.
8734 * sunrpc/openchild.c: Likewise.
8735 * sunrpc/svc_simple.c: Likewise.
8736 * sunrpc/svc_tcp.c: Likewise.
8737 * sunrpc/svc_udp.c: Likewise.
8738 * sunrpc/svc_unix.c: Likewise.
8739 * sunrpc/xdr.c: Likewise.
8740 * sunrpc/xdr_array.c: Likewise.
8741 * sunrpc/xdr_rec.c: Likewise.
8742 * sunrpc/xdr_ref.c: Likewise.
8743 * sunrpc/xdr_stdio.c: Likewise.
8744
1248c1c4
PB
87452011-09-09 Ulrich Drepper <drepper@gmail.com>
8746
8747 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8748
87492011-07-03 Andreas Jaeger <aj@suse.de>
8750
8751 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
8752 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
8753 regenerate with gen-libm-tests.pl.
8754
87552010-05-12 Petr Baudis <pasky@suse.cz>
8756
8757 [BZ #11589]
8758 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
8759 around j0() zero points by switching to j1().
8760 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8761 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8762 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8763 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8764
f22e1074
UD
87652011-09-09 Ulrich Drepper <drepper@gmail.com>
8766
f19009c1
UD
8767 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
8768 instead of 0.
8769 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
8770 instead of 0. .
8771 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8772 Patch in part by Pavel Roskin <proski@gnu.org>.
8773
3f8cc204
UD
8774 [BZ #13138]
8775 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
8776 realloc.
8777 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
8778 Free memory block if necessary.
8779
f22e1074
UD
8780 [BZ #12847]
8781 * libio/genops.c (INTDEF): For string streams the _lock pointer can
8782 be NULL. Don't lock in this case.
8783
0a2349f9
RM
87842011-09-09 Roland McGrath <roland@hack.frob.com>
8785
8786 * elf/elf.h (ELFOSABI_GNU): New macro.
8787 (ELFOSABI_LINUX): Define to that.
8788
f3cdd467
DZ
87892011-07-29 Denis Zaitceff <zaitceff@gmail.com>
8790
8791 * string/strncat.c (strncat): Undef the symbol in case it has been
8792 defined in bits/string.h.
8793
74718d13
UD
87942011-09-09 Ulrich Drepper <drepper@gmail.com>
8795
633e9e0f
UD
8796 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
8797
0a2349f9 8798 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
8799 link map.
8800
f9924780
AJ
88012011-08-17 Andreas Jaeger <aj@suse.de>
8802
8803 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
8804
7f5517aa
PP
88052011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8806 Ian Lance Taylor <iant@google.com>
8807
8808 * math/libm-test.inc (lround_test): New testcase.
8809 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
8810
762011fe
UD
88112011-09-08 Ulrich Drepper <drepper@gmail.com>
8812
92963737
UD
8813 * Makefile: Remove support for automatic cvs check-ins.
8814 * Makerules: Likewise.
8815 * config.make.in: Likewise.
8816 * configure.in: Likewise.
8817 * intl/Makefile: Likewise.
8818 * locale/Makefile: Likewise.
8819 * po/Makefile: Likewise.
8820 * posix/Makefile: Likewise.
8821 * sysdeps/gnu/Makefile: Likewise.
8822 * sysdeps/mach/hurd/Makefile: Likewise.
8823 * sysdeps/sparc/sparc32/Makefile: Likewise.
8824
b0727fd8
JS
8825 [BZ #13118]
8826 * posix/Makefile (bug-regex32-ENV): Define.
8827 Patch by John Stanley <jpsinthemix@verizon.net>.
8828
a0f33f99
UD
8829 * misc/Makefile (headers): Add bits/select2.h.
8830 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
8831 * misc/bits/select2.h: New file.
8832 * include/bits/select2.h: New file.
8833 * debug/Makefile (routines): Add fdelt_chk.
8834 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
8835 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
8836 FD_ISSET.
8837 * debug/fdelt_chk.c: New file.
8838
762011fe
UD
8839 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
8840 * wcsmbs/test-wmemcmp.c: Likewise.
8841 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 8842 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
8843
88442011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8845
8846 * string/Makefile (strop-tests): Add memcmp.
8847 * string/test-wmemcmp.c: New file.
8848 * string/test-memcmp.c: Add wmemcmp support.
8849
7f513ec8
RM
88502011-09-08 Roland McGrath <roland@hack.frob.com>
8851
0442afb4
RM
8852 [BZ #13153]
8853 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
8854 2011-07-19 change.
8855
7f513ec8
RM
8856 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
8857 garbage value in a __mach_port_mod_refs call in the cases of the
8858 task-self and thread-self ports.
8859
a12b2239
ST
88602011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8861
8862 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
8863
610f9ab4
AS
88642011-09-08 Andreas Schwab <schwab@redhat.com>
8865
7f513ec8 8866 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 8867
48882a1a
LD
88682011-09-07 Ulrich Drepper <drepper@gmail.com>
8869
b49865be
UD
8870 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
8871
fdc86bc9
UD
8872 * elf/dl-libc.c (dlerror_run): Pass back error code from
8873 dl_catch_error.
8874
c966526a
UD
8875 [BZ #13123]
8876 * elf/dl-load.c (lose): Free l_origin if it is valid.
8877
48882a1a
LD
8878 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
8879 names.
8880 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8881 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8882 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8883 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8884 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8885 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
8886
77a2a8b4
AZ
88872011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8888
8889 * sysdeps/powerpc/fpu/e_hypot.c: New file.
8890 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
8891 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
8892 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
8893 * sysdeps/powerpc/fpu/k_cosf.c: New file.
8894 * sysdeps/powerpc/fpu/k_sinf.c: New file.
8895 * sysdeps/powerpc/fpu/s_cosf.c: New file.
8896 * sysdeps/powerpc/fpu/s_sinf.c: New file.
8897 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
8898 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
8899
24f579d8
AM
89002011-08-15 Alan Modra <amodra@gmail.com>
8901
8902 [BZ #13092]
8903 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
8904 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
8905 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
8906 ppc_mcount to static-only-routines.
8907 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
8908 __mcount_internal.
8909 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
8910 __mcount_internal with usual JUMPTARGET. Remove useless nop.
8911
3d4837df
UD
89122011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
8913
8914 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
8915 for finite and infinity parameters.
8916
22700377
WS
89172011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8918
8919 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
8920 and add nop instructions for throughput optimization.
8921 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8922
5025581e
WS
89232011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
8924
8925 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
8926 aligned copy for power7 with vector-scalar instructions.
8927 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8928
08a300c9
L
89292011-07-24 H.J. Lu <hongjiu.lu@intel.com>
8930
8931 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
8932 AVX check.
8933
59178ef9
AS
89342011-09-07 Andreas Schwab <schwab@redhat.com>
8935
8936 [BZ #13144]
8937 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
8938 last change.
8939
e38ba7ab
UD
89402011-09-07 Ulrich Drepper <drepper@gmail.com>
8941
8942 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8943 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
8944 syscall wrapper around clock_gettime in __vdso_clock_gettime.
8945 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
8946 clock_gettime.
8947
d53a73ac
UD
89482011-09-06 Ulrich Drepper <drepper@gmail.com>
8949
fc8bffcc
UD
8950 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
8951 Forgot to demangle the pointer.
8952
ceaa0c5d
UD
8953 * sysdeps/i386/sysdep.h: Define atom_text_section.
8954 * sysdeps/x86_64/sysdep.h: Likewise.
8955 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
8956 section with atom_text_section.
8957 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8958 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8959 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8960 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8961 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
8962
a77d3c17
UD
8963 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
8964 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
8965 already be defined. Change to take two parameters and don't assign
8966 result to variable. Adjust all users.
8967 Define INTERNAL_GETTIME if not already defined.
8968 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
8969 call.
8970 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
8971 HAVE_CLOCK_GETTIME_VSYSCALL.
8972 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
8973
d53a73ac
UD
8974 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
8975 gettimeofday vsyscall, just use time.
8976
a8f84144
AS
89772011-09-06 Andreas Schwab <schwab@redhat.com>
8978
8979 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
8980 <errno.h>.
8981
ef606249
UD
89822011-09-06 Ulrich Drepper <drepper@gmail.com>
8983
8984 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
8985 syscall on x86-64.
8986 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
8987 syscall.
8988 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
8989 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
8990 syscall if possible.
8991
6585cb60
UD
89922011-09-05 Ulrich Drepper <drepper@gmail.com>
8993
8994 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
8995 e_ident. Don't pass to find_mapsXX.
8996 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
8997
a5f524e4
LD
89982011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8999
9000 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9001 strchr-sse2-no-bsf strrchr-sse2-no-bsf
9002 * sysdeps/x86_64/multiarch/strchr.S: Update.
9003 Check bit_slow_BSF bit.
9004 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9005 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9006 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9007
554881ef
UD
90082011-09-05 Ulrich Drepper <drepper@gmail.com>
9009
d96de963
UD
9010 [BZ #13134]
9011 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9012 before glibc 2.15.
9013 (tryshell): Define.
9014 (__spawni): Change last parameter to be flag. Test
9015 SPAWN_XFLAGS_USE_PATH flag to use path or not.
9016 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9017 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9018 * posix/spawni.c: Likewise.
9019 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9020 * posix/spawnp.c: Likewise. Change normal version to use
9021 SPAWN_XFLAGS_USE_PATH.
9022 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9023 SPAWN_XFLAGS_TRY_SHELL.
9024
d48e5868
UD
9025 [BZ #13150]
9026 * posix/glob.h: Remove gcc 1.x support.
9027
554881ef
UD
9028 [BZ #13068]
9029 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9030
693fb948
LD
90312011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9032
9033 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9034 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9035 strrchr-sse2-bsf
9036 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9037 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9038 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9039 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9040 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9041 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9042
1b48c537
UD
90432011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9044
49d42c37
UD
9045 * sysdeps/x86_64/wcscmp.S: New file.
9046
1b48c537
UD
9047 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9048 wcscmp-c wcscmp-sse2
9049 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9050 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9051 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9052 * wcsmbs/wcscmp.c: Allow renaming.
9053
15c95c5d
DM
90542011-09-05 David S. Miller <davem@davemloft.net>
9055
9056 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9057 stack slot, rather than the struct return pointer slot.
9058 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9059 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9061 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9062
2f0ad8f3
UD
90632011-09-05 Ulrich Drepper <drepper@gmail.com>
9064
d88ae418
UD
9065 * po/ja.po: Update from translation team.
9066
2f0ad8f3
UD
9067 [BZ #13144]
9068 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9069 kernel in 64-bit binaries.
9070
5f4318d1
DM
90712011-09-01 David S. Miller <davem@davemloft.net>
9072
9073 * elf/elf.h (HWCAP_SPARC_*): Move to..
9074 * sysdeps/sparc/sysdep.h: this new file and add new values.
9075 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9076 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9077 _DL_HWCAP_COUNT to 24.
9078 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9079 entries.
9080 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9081 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9082 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9083 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9084 instead of magic constants.
9085 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9086
3ba57516
DM
90872011-08-31 David S. Miller <davem@davemloft.net>
9088
9089 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9090 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9091 Reimplement to do errno handling inline.
9092 (SYSCALL_ERROR_HANDLER): New macro.
9093 (__SYSCALL_STRING): Do not do errno handling in asm.
9094 (__CLONE_SYSCALL_STRING): Delete.
9095 (__INTERNAL_SYSCALL_STRING): Delete.
9096 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9097 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9098 (PSEUDO): Reimplement to do errno handling inline.
9099 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9100 (SYSCALL_ERROR_HANDLER): New macro.
9101 (__SYSCALL_STRING): Do not do errno handling in asm.
9102 (__CLONE_SYSCALL_STRING): Delete.
9103 (__INTERNAL_SYSCALL_STRING): Delete.
9104 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9105 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9106 i386.
9107 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9108 (inline_syscall*): Add 'err' argument.
9109 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9110 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9111 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9112 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9113
9114 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9115 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9116
2bc17433
AS
91172011-08-30 Andreas Schwab <schwab@redhat.com>
9118
9119 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9120
fbeb5f4d
JO
91212011-08-29 Jiri Olsa <jolsa@redhat.com>
9122
9123 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9124 directive.
9125
ad69cc26
DM
91262011-08-24 David S. Miller <davem@davemloft.net>
9127
9128 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9129
39dd69df
AS
91302011-08-24 Andreas Schwab <schwab@redhat.com>
9131
9132 * elf/Makefile: Add rules to build and run unload8 test.
9133 * elf/unload8.c: New file.
9134 * elf/unload8mod1.c: New file.
9135 * elf/unload8mod1x.c: New file.
9136 * elf/unload8mod2.c: New file.
9137 * elf/unload8mod3.c: New file.
9138
9139 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9140 it wasn't used.
9141
2c0b250a
DM
91422011-08-23 David S. Miller <davem@davemloft.net>
9143
9144 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9145 subtract stack bias.
9146 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9147 %sp not %fp in calculations.
9148 (_JMPBUF_UNWINDS_ADJ): Likewise.
9149
22044b48
DM
9150 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9151 (aio_suspend): Call it to force an exception region around the
9152 AIO_MISC_WAIT() invocation.
9153
2cae4995
AS
91542011-08-23 Andreas Schwab <schwab@redhat.com>
9155
9156 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9157 backslash.
9158
873a772e
AJ
91592011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9160
9161 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9162 protection macro.
9163 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9164 and <dl-machine.h>.
9165 (Elf64_FuncDesc): Remove.
9166
25ad0df1
DM
91672011-08-22 David S. Miller <davem@davemloft.net>
9168
9169 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9170 sigaltstack check, add missing cfi directives.
9171 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9172 missing cfi directives, and sigaltstack handling.
9173
e888bcbe
AS
91742011-08-16 Andreas Schwab <schwab@redhat.com>
9175
9176 [BZ #11724]
9177 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9178 object is seen twice.
9179 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9180
9181 * elf/Makefile (distribute): Add tst-initorder2.c.
9182 (tests): Add tst-initorder2.
9183 (modules-names): Add tst-initorder2a tst-initorder2b
9184 tst-initorder2c tst-initorder2d. Add rules to build them.
9185 ($(objpfx)tst-initorder2.out): New rule.
9186 * elf/tst-initorder2.c: New file.
9187 * elf/tst-initorder2.exp: New file.
9188
87162f46
AS
91892011-08-22 Andreas Schwab <schwab@redhat.com>
9190
70538b7f
AS
9191 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9192
f55ffe58
AS
9193 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9194 dependencies back to end of function.
9195
87162f46
AS
9196 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9197 $(elfobjdir)/ld.so.
9198
91b392a4
UD
91992011-08-21 Ulrich Drepper <drepper@gmail.com>
9200
9201 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9202 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9203 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9204 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9205 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9206 of __vdso_gettimeofday.
9207 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9208 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
9209 attribute_hidden.
9210 (_libc_vdso_platform_setup): Remove initialization of
9211 __vdso_gettimeofday and __vdso_time.
9212
5c43483f
UD
92132011-08-20 Ulrich Drepper <drepper@gmail.com>
9214
775a77e7
UD
9215 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9216 and fgetc_unlocked.
9217 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9218 getc_unlocked.
89f447ed 9219
49c74ba9
UD
9220 * elf/dl-open.c (add_to_global): Report additions to the global scope
9221 for LD_DEBUG=scopes.
9222 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 9223 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 9224
5c43483f
UD
9225 [BZ #13114]
9226 * stdio-common/Makefile (tests): Add bug24.
9227 * stdio-common/bug24.c: New file.
9228
a101b025
AJ
92292011-08-19 Andreas Jaeger <aj@suse.de>
9230
9231 [BZ #13114]
9232 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9233 non-existant file when using close-on-exec mode.
9234
c88f1766
UD
92352011-08-20 Ulrich Drepper <drepper@gmail.com>
9236
0276a718
UD
9237 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9238 the very first instruction.
9239
c88f1766
UD
9240 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9241 the CFI state in the end.
9242 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9243 inclusion of dl-trampoline.h.
9244 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9245
51ccffa0
AS
92462011-08-19 Andreas Schwab <schwab@redhat.com>
9247
94d7165f
AS
9248 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9249 expectations for long double.
9250
51ccffa0
AS
9251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9252 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9253
fd708658 92542011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
9255
9256 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9257 artificual limit depends upon the system page size.
9258
44f0a71e
UD
92592011-08-17 Ulrich Drepper <drepper@gmail.com>
9260
9261 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9262 * resolv/Makefile: Define CFLAGS-libresolv.
9263
8de79a24
AS
92642011-08-17 Andreas Schwab <schwab@redhat.com>
9265
9266 * nss/makedb.c (compute_tables): Make variables used in nested
9267 function static.
9268
27724598
UD
92692011-08-17 Ulrich Drepper <drepper@gmail.com>
9270
c5305d88
UD
9271 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9272 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9273 if buffer was too small.
9274
27724598
UD
9275 * elf/pldd.c (main): Attach to all threads in the process.
9276 Rewrite /proc handling to use *at functions.
9277
076fe015
UD
92782011-08-16 Ulrich Drepper <drepper@gmail.com>
9279
174baab3
UD
9280 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9281 specifies first scope to show.
9282 (dl_open_worker): Update callers. Move printing scope of new
9283 object to before the relocation.
44f0a71e 9284 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
9285 * sysdeps/generic/ldsodefs.h: Update declaration.
9286
076fe015
UD
9287 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
9288 string for the scope number.
9289
a60df2c3
UD
92902011-08-14 Ulrich Drepper <drepper@gmail.com>
9291
9292 * nscd/servicescache.c (cache_addserv): Make sure written is always
9293 initialized.
9294
5e4287d1
RM
92952011-08-14 Roland McGrath <roland@hack.frob.com>
9296
85ae0589
RM
9297 * sysdeps/i386/i486/bits/atomic.h
9298 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
9299 statement expression, so as to suppress "set but not used" warning.
9300 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
9301
69f63097
RM
9302 * string/strncat.c (STRNCAT): Use prototype definition.
9303
675456ef
RM
9304 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
9305 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
9306 -Iprograms here.
9307 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
9308 (localedef-modules): Add localedef.
9309 (locale-modules): Add locale.
9310
5e4287d1
RM
9311 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
9312 * elf/rtld.c (dl_main): Invert order of assignment in last change,
9313 to avoid a warning.
9314
9c96ff23
DM
93152011-08-14 David S. Miller <davem@davemloft.net>
9316
9317 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
9318 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
9319
f9ddf089
UD
93202011-08-13 Ulrich Drepper <drepper@gmail.com>
9321
44f0a71e 9322 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
9323 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
9324 * elf/rtld.c (dl_main): Set l_name of vDSO.
9325 Call _dl_show_scope when DL_DEBUG_SCOPES.
9326 (process_dl_debug): Recognize scopes flag and also set it for all.
9327 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
9328 Declare _dl_show_scope.
9329
1dc27704
UD
9330 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
9331 (do_dlopen): Pass caller_dlopen to dl_open.
9332 (__libc_dlopen_mode): Initialize caller_dlopen.
9333
f9ddf089
UD
9334 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
9335 of libc. Make tolower call locale-independent. Optimize a bit by
9336 using isdigit instead of isalnum.
9337 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
9338
9ac533d3
UD
93392011-08-12 Ulrich Drepper <drepper@gmail.com>
9340
9341 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
9342 was a dependency or dynamically loaded.
9343
89edf2e9
UD
93442011-08-11 Ulrich Drepper <drepper@gmail.com>
9345
8e999d29
UD
9346 * intl/l10nflist.c: Allow architecture-specific pop function.
9347 * sysdeps/x86_64/l10nflist.c: New file.
9348
89edf2e9
UD
9349 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
9350 classification.
9351
14d96785
AS
93522011-08-10 Andreas Schwab <schwab@redhat.com>
9353
9354 * include/dirent.h: Add libc_hidden_proto for scandirat and
9355 scandirat64. Don't declare __scandirat64.
9356 * dirent/scandirat.c: Add libc_hidden_def.
9357 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
9358 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
9359
6761ac04
DM
93602011-08-10 David S. Miller <davem@davemloft.net>
9361
9362 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
9363 enum.
9364 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9365 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9366 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9367
c55fbd1e
UD
93682011-08-09 Ulrich Drepper <drepper@gmail.com>
9369
9370 * Versions.def [libc]: Add GLIBC_2.15.
9371 * dirent/Makefile (routines): Add scandirat and scandirat64.
9372 * dirent/Versions [libc]: Export scandirat and scandirat64 for
9373 GLIBC_2.15.
9374 * dirent/dirent.h: Declare scandirat and scandirat64.
9375 * dirent/scandirat.c: New file.
9376 * dirent/scandirat64.c: New file.
9377 * sysdeps/wordsize-64/scandirat.c: New file.
9378 * sysdeps/wordsize-64/scandirat64.c: New file.
9379 * dirent/opendir.c: Define opendirat.
9380 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
9381 using scandirat.
9382 * dirent/scandir64.c: Adjust for scandir.c change.
9383 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
9384 __scandirat64, and __scandir_cancel_handler.
9385 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
9386 additional parameter and use openat instead of open (outside of ld.so).
9387 Add new __opendir as wrapper around __opendirat.
9388 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
9389 here without requiring old scandirat implementation.
9390
879165f2
UD
93912011-08-08 Ulrich Drepper <drepper@gmail.com>
9392
9393 * dirent/scandir.c (cancel_handler): Renamed to
9394 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
9395 defined. Adjust users.
9396 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
9397 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
9398
cb7e923b
UD
93992011-08-04 Ulrich Drepper <drepper@gmail.com>
9400
16292edd
UD
9401 * string/test-string.h (IMPL): Use __STRING to expand name and then
9402 stringify it.
9403
cb7e923b
UD
9404 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
9405 of cleanups.
9406
cff82933
LD
94072011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9408
9409 * string/Makefile: Update.
9410 (strop-tests): Append strncat.
9411 * string/test-wcscmp.c: New file.
9412 New comprehensive test for wcscmp.
9413 * string/test-strcmp.c: Update.
9414 (WIDE): New define.
9415
9be9bfcc
AS
94162011-07-22 Andreas Schwab <schwab@redhat.com>
9417
9418 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
9419 line.
9420
2e96f1c7
AS
94212011-07-26 Andreas Schwab <schwab@redhat.com>
9422
9423 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9424 encoding to ACE if AI_IDN.
9425
85188888
JJ
94262011-08-01 Jakub Jelinek <jakub@redhat.com>
9427
9428 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
9429 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
9430
5fa16e9b
LD
94312011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9432
9433 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
9434 Fix overflow bug in strncat.
9435 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9436
9437 * string/test-strncat.c: Update.
9438 Add new tests for checking overflow bugs.
9439
94402011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9441
9442 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9443 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
9444 * sysdeps/i386/i686/multiarch/strcat.S: New file.
9445 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
9446 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
9447 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
9448 * sysdeps/i386/i686/multiarch/strncat.S: New file.
9449 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
9450 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
9451
9452 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
9453 (USE_AS_STRCAT): Define.
9454 Add strcat and strncat support.
9455 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9456
8c1a459f
AS
94572011-07-25 Andreas Schwab <schwab@redhat.com>
9458
9459 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
9460 __n bigger than INT_MAX+1.
9461 (__strncmp_g): Likewise.
9462
bba33c28
UD
94632011-07-23 Ulrich Drepper <drepper@gmail.com>
9464
798be72d
UD
9465 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
9466 * libio/stido.h: Likewise.
9467
8accd4dc
UD
9468 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
9469 (AF_NFC): Define.
9470 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
9471 (AF_NFC): Define.
9472
cbff0d96
UD
9473 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
9474 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9475 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9476 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9477 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9478
9191c04a
UD
9479 [BZ #13021]
9480 * scripts/test-installation.pl: Don't expect libnss_test1 to be
9481 installed.
9482
bba33c28
UD
9483 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
9484 typo.
9485 (_dl_x86_64_save_sse): Likewise.
9486
90f139dd
UD
94872011-07-22 Ulrich Drepper <drepper@gmail.com>
9488
1aae088a
UD
9489 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
9490 OSXSAVE.
9491 (_dl_x86_64_save_sse): Likewise.
9492
8e2045f5
UD
9493 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
9494
90f139dd
UD
9495 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
9496
1d002f25
AS
94972011-07-21 Andreas Schwab <schwab@redhat.com>
9498
9499 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
9500 change.
9501 (_dl_x86_64_save_sse): Use correct AVX check.
9502
21137f89
UD
95032011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9504
9505 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
9506 bug in strncpy/strncat.
9507 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9508
a65c0b7a
UD
95092011-07-21 Ulrich Drepper <drepper@gmail.com>
9510
9511 * string/tester.c (test_strcat): Add tests for different alignments
9512 of source and destination.
9513 (test_strncat): Likewise.
9514
6986b98a
UD
95152011-07-20 Ulrich Drepper <drepper@gmail.com>
9516
90bb2039
UD
9517 [BZ #12852]
9518 * posix/glob.c (glob): Check passed in values before using them in
9519 expressions to avoid some overflows.
9520 (glob_in_dir): Likewise.
9521
5644ef54
UD
9522 [BZ #13007]
9523 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
9524 check for AVX enablement so that we don't crash with old kernels and
9525 new hardware.
9526 * elf/tst-audit4.c: Add same checks here.
9527 * elf/tst-audit6.c: Likewise.
9528
9529 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 9530
bfc9dc9b
AS
95312011-07-09 Andreas Schwab <schwab@linux-m68k.org>
9532
9533 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
9534
702e64bb
UD
95352011-07-20 Ulrich Drepper <drepper@gmail.com>
9536
9537 * po/cs.po: Update from translation team.
9538 * po/bg.po: Likewise.
9539
295e904f
MP
95402011-07-12 Marek Polacek <mpolacek@redhat.com>
9541
9542 * misc/sys/cdefs.h: Add support for const attribute.
9543 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
9544 to gnu_dev_{major,minor,makedev} functions.
9545
3ff94596
MP
95462011-07-20 Marek Polacek <mpolacek@redhat.com>
9547
9548 * intl/dcigettext.c (get_output_charset): Add missing bracket.
9549
28b59fca
AS
95502011-07-20 Andreas Schwab <schwab@redhat.com>
9551
9552 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
9553 strlen results.
9554
19df733e
AK
95552011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9556
9557 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9558 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
9559 register in order to avoid conflicts with the soft frame pointer
9560 being held in r11 when necessary.
9561 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9562 (INTERNAL_VSYSCALL_NCS): Likewise.
9563
c8835729
MP
95642011-07-14 Marek Polacek <mpolacek@redhat.com>
9565
9566 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
9567 * elf/dl-fini.c (_dl_fini): Adjust caller.
9568 * elf/dl-close.c (_dl_close_worker): Likewise.
9569 * sysdeps/generic/ldsodefs.h: Adjust declaration.
9570
b902330c
MP
95712011-07-15 Marek Polacek <mpolacek@redhat.com>
9572
8991e135
MP
9573 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
9574 "aux_cache->nlibs < 0".
9575
b902330c
MP
9576 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
9577 in the reload-count case.
9578
99710781
LD
95792011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9580
9581 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9582 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
9583 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
9584 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
9585 * sysdeps/x86_64/multiarch/strcat.S: New file.
9586 * sysdeps/x86_64/multiarch/strncat.S: New file.
9587 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
9588 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
9589 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
9590 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
9591 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
9592 (USE_AS_STRCAT): Define.
9593 Add strcat and strncat support.
9594 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9595 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9596 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
9597 * string/strncat.c: Update.
9598 (USE_AS_STRNCAT): Define.
9599 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9600 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
9601 and i7.
9602 * sysdeps/x86_64/multiarch/init-arch.h
9603 (bit_Prefer_PMINUB_for_stringop): New.
9604 (index_Prefer_PMINUB_for_stringop): Likewise.
9605 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
9606 bit_Prefer_PMINUB_for_stringop.
9607
7dc6bd90
UD
96082011-07-19 Ulrich Drepper <drepper@gmail.com>
9609
9610 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
9611 buffer64.
9612 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
9613 of casting of buffer.
9614 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
9615 buffer32 and buffer64.
9616 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
9617 writes instead of casting of buffer.
9618 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
9619 buffer32.
9620 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
9621 casting of buffer.
9622
e0e72284
AS
96232011-07-19 Andreas Schwab <schwab@redhat.com>
9624
9625 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
9626
feb1eb0b
UD
96272011-07-19 Ulrich Drepper <drepper@gmail.com>
9628
9629 * nscd/nscd.c (termination_handler): Don't do anything for a database
9630 if it has not yet been initialized.
9631
298711ff
UD
96322011-07-18 Ulrich Drepper <drepper@gmail.com>
9633
9634 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9635
96362011-07-15 Marek Polacek <mpolacek@redhat.com>
9637
9638 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9639
f9d68389
UD
96402011-07-18 Ulrich Drepper <drepper@gmail.com>
9641
9642 * po/nl.po: Update from translation team.
9643 * po/sv.po: Likewise.
9644
db290cf5
RM
96452011-07-16 Roland McGrath <roland@hack.frob.com>
9646
9647 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
9648 now disallowed by GCC.
5c550700 9649
fd5e21c7
RM
9650 * configure.in (use-default-link): Default to yes if a test -shared
9651 link meets our qualifications.
9652 * configure: Regenerated.
9653
5c550700
RM
9654 * config.make.in (output-format): New variable.
9655 * configure.in: Check for ld --print-output-format support.
9656 * configure: Regenerated.
9657 * Makerules ($(common-objpfx)format.lds)
9658 [$(output-format) != unknown]: Just use $(output-format),
9659 instead of the linker-script munging.
9660
9fa2c032
RM
96612011-07-14 Roland McGrath <roland@hack.frob.com>
9662
a6928d51
RM
9663 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
9664 of $(common-objpfx)shlib.lds.
9665 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
9666
661607b3
RM
9667 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
9668 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
9669
9fa2c032
RM
9670 * configure.in (-z relro check): Adjust test code to add a large
9671 writable data section after it.
9672 * configure: Regenerated.
9673
defe9061
RM
96742011-07-11 Roland McGrath <roland@hack.frob.com>
9675
9676 * configure.in (-z relro check): Fix test code to make the variable
9677 truly const.
9678 * configure: Regenerated.
9679
319b9ad4
UD
96802011-07-11 Ulrich Drepper <drepper@gmail.com>
9681
9682 * nscd/nscd.h (struct traced_file): Define.
9683 (struct database_dyn): Remove inotify_descr, reset_res, and filename
9684 elements. Add traced_files.
9685 (inotify_fd): Declare.
9686 (register_traced_file): Declare.
9687 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
9688 (inotify_fd): Export.
9689 (resolv_conf_descr): Remove.
9690 (nscd_init): Move inotify descriptor creation to main.
9691 Don't register files for notification here.
9692 (register_traced_file): New function.
9693 (invalidate_cache): Don't use reset_res to determine whether to call
9694 res_init, go through the list of registered files.
9695 (main_loop_poll): The inotify descriptors are now stored in the
9696 structures for the traced files.
9697 (main_loop_epoll): Likewise
9698 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
9699 to __nss_disable_nscd.
9700 * nscd/cache.c (prune_cache): There is no single inotify descriptor
9701 for a database anymore. Check the records for all the registered
9702 files instead.
9703 * nss/Makefile (libnss_files-routines): Add files-init.
9704 (libnss_db-routines): Add db-init.
9705 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
9706 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
9707 * nss/nss_db/db-init.c: New file.
9708 * nss/nss_files/files-init.c: New file.
9709 * nss/nsswitch.c (nss_load_library): New function. Broken out of
9710 __nss_lookup_function.
9711 (__nss_lookup_function): Call nss_load_library.
9712 (nss_load_all_libraries): New function.
9713 (__nss_disable_nscd): Take parameter with callback function for files
9714 to register. Set is_nscd. Load all the DSOs for the NSS modules
9715 used for the cached services.
9716 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
9717 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
9718 options for features to all the files in nscd.
9719
9720 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
9721
23bee3e8
RM
97222011-07-10 Roland McGrath <roland@hack.frob.com>
9723
9724 * csu/elf-init.c (__libc_csu_init): Comment typo.
9725
46a5b7f0
UD
97262011-07-09 Ulrich Drepper <drepper@gmail.com>
9727
9728 * po/pl.po: Update from translation team.
9729 * po/ja.po: Likewise.
9730 * po/ru.po: Likewise.
9731 * po/ko.po: Likewise.
9732 * po/fr.po: Likewise.
9733
d30cf5bb
RM
97342011-07-09 Roland McGrath <roland@hack.frob.com>
9735
113ddea4
RM
9736 * configure.in (.ctors/.dtors header and trailer check):
9737 Use an empirical test on a built program.
9738 * configure: Regenerated.
9739
574920b4
RM
9740 * configure.in (-z relro check): Use an empirical test on a built DSO.
9741 Detect, but do not require, on ia64.
9742 * configure: Regenerated.
9743
d30cf5bb
RM
9744 * configure.in (READELF): Find it with AC_CHECK_TOOL.
9745 Update tests that use readelf to use $READELF instead.
9746 * configure: Regenerated.
9747
8538fdb3
UD
97482011-07-08 Ulrich Drepper <drepper@gmail.com>
9749
9750 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
9751 if the result is not used.
9752
04d08991
AJ
97532011-07-05 Andreas Jaeger <aj@suse.de>
9754
9755 [BZ#9696]
9756 * stdlib/tst-strtod.c: Add testcase.
9757
de283087
AD
97582011-07-07 Ulrich Drepper <drepper@gmail.com>
9759
4e5f31c8 9760 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 9761 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
9762 The latter has a higher limit. Take additional parameter to pass to
9763 the new function.
9764 (__pathconf): Pass file to __statfs_link_max.
9765 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
9766 __statfs_link_max.
9767 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
9768 __statfs_link_max.
9769
de283087
AD
9770 [BZ #12868]
9771 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
9772 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9773 Handle Lustre.
9774 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
9775 (__statfs_filesize_max): Likewise.
9776 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
9777
c75fa153
AJ
97782011-07-05 Andreas Jaeger <aj@suse.de>
9779
9780 * resolv/res_comp.c (dn_skipname): Remove unused variable.
9781
1a544854
UD
97822011-07-06 Marek Polacek <mpolacek@redhat.com>
9783
9784 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
9785 `status' variable.
9786 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
9787 Likewise.
9788
6f0eec67
UD
97892011-07-04 H.J. Lu <hongjiu.lu@intel.com>
9790
9791 * Makefile (strop-tests): Add strncat.
9792 * string/test-strncat.c: New file.
9793
aae30307
UD
97942011-06-30 Marek Polacek <mpolacek@redhat.com>
9795
9796 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
9797
c0cfb5eb
UD
97982011-06-21 Andreas Jaeger <aj@suse.de>
9799
9800 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
9801 Copy rule from iconvdata/Makefile.
9802
01636b21
UD
98032011-07-06 Ulrich Drepper <drepper@gmail.com>
9804
9805 [BZ #12922]
9806 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
9807 but no long options are defined, just return 'W'.
9808
9895c8bc
UD
98092011-06-22 Marek Polacek <mpolacek@redhat.com>
9810
9811 [BZ #9696]
9812 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
9813
5d4cf042
UD
98142011-07-06 Ulrich Drepper <drepper@gmail.com>
9815
9816 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
9817 netgroups to read.
960e5535 9818 (innetgr): Likewise.
5d4cf042 9819
751eb97e
RM
98202011-07-05 Roland McGrath <roland@hack.frob.com>
9821
9822 * config.make.in (install_root): Default to $(DESTDIR).
9823
f15f1e45
UD
98242011-07-05 Ulrich Drepper <drepper@gmail.com>
9825
9826 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
9827
4e34ac6a
RM
98282011-07-02 Roland McGrath <roland@hack.frob.com>
9829
5e9b6af4
RM
9830 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
9831
84f9ea0f
RM
9832 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
9833 containing directory rather than embedding absolute directory names.
9834
ea5ee9f7
RM
9835 * scripts/check-local-headers.sh: Rewritten using awk.
9836 Match by word, not by line. Print error messages for matches.
9837 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
9838
1b74661a
RM
9839 * Makerules [shlib-lds-flags empty]:
9840 ($(common-objpfx)libc_pic.opts): New target.
9841 ($(common-objpfx)libc_pic.os.clean): New target.
9842 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
9843
9844 * config.make.in (OBJCOPY): New variable.
9845 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
9846 * configure: Regenerated.
9847
f781ef40
RM
9848 * config.make.in (use-default-link): New variable.
9849 * configure.in (use_default_link): Grok --with-default-link to set it.
9850 * configure: Regenerated.
9851 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
9852 (shlib-lds, shlib-lds-flags): Define to empty.
9853
2d4fa81e
RM
9854 * Makerules (shlib-lds): New variable.
9855 (shlib-lds-flags): New variable.
9856 (build-shlib, build-moduile, build-module-asneeded): Use it.
9857 ($(common-objpfx)libc.so): Use $(shlib-lds).
9858 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
9859 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
9860
31fffa6b
RM
9861 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
9862 DT_FLAGS/DT_FLAGS_1 with zero flags.
9863
4e34ac6a
RM
9864 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
9865 linker script munging.
9866
fcfc776b
UD
98672011-07-02 Ulrich Drepper <drepper@gmail.com>
9868
9869 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
9870 as 128-bit value.
9871 * crypt/sha512.c (sha512_process_block): Perform total addition using
9872 128-bit if possible.
9873 (__sha512_finish_ctx): Likewise.
9874 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
9875 as 64-bit value.
9876 * crypt/sha256.c (SWAP64): Define.
9877 (sha256_process_block): Perform total addition using 64-bit if
9878 possible.
9879 (__sha256_finish_ctx): Likewise.
9880
99231d9a
UD
98812011-07-01 Ulrich Drepper <drepper@gmail.com>
9882
9883 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
9884 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9885 * nscd/hstcache.c (cache_addhst): Likewise.
9886 * nscd/grpcache.c (cache_addgr): Likewise.
9887 * nscd/aicache.c (addhstaiX): Likewise
9888 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
9889
445b4a53
TK
98902011-07-01 Thorsten Kukuk <kukuk@suse.de>
9891
9892 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
9893 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9894 * nscd/hstcache.c (cache_addhst): Likewise.
9895 * nscd/grpcache.c (cache_addgr): Likewise.
9896 * nscd/aicache.c (addhstaiX): Likewise
9897
6d4d8e8e
AS
98982011-07-01 Andreas Schwab <schwab@redhat.com>
9899
9900 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
9901 domain only when needed.
9902
89f654c5
AS
99032011-06-30 Andreas Schwab <schwab@redhat.com>
9904
9905 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
9906 is always restored.
9907
cf3b23ff
UD
99082011-06-29 Ulrich Drepper <drepper@gmail.com>
9909
9910 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
9911 are re-adding the entry.
9912 * nscd/servicescache.c (cache_addserv): Likewise.
9913
751626f9
AJ
99142011-06-30 Aurelien Jarno <aurelien@aurel32.net>
9915
9916 * sysdeps/generic/dl-irel.h: fix protection against multiple
9917 inclusions.
9918 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
9919
9113ea1f
UD
99202011-06-28 Ulrich Drepper <drepper@gmail.com>
9921
5c0b8d90
UD
9922 [BZ #12935]
9923 * malloc/memusage.sh: Fix quoting in message.
9924 * debug/xtrace.sh: Likewise.
9925
9113ea1f
UD
9926 * configure.in: Remove support for --experimental-malloc option, make
9927 it the default.
9928 * config.make.in: Likewise.
9929 * malloc/Makefile: Likewise.
9930
a4172181
AS
99312011-06-27 Andreas Schwab <schwab@redhat.com>
9932
9933 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
9934 two-byte characters.
9935
78a7eee7
RM
99362011-06-27 Roland McGrath <roland@hack.frob.com>
9937
62bede13
RM
9938 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
9939 AC_CACHE_CHECK invocation.
9940 * configure: Regenerated.
9941
78a7eee7
RM
9942 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
9943
5ce33a62
UD
99442011-06-27 Ulrich Drepper <drepper@gmail.com>
9945
034807a9
UD
9946 [BZ #12350]
9947 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
9948 bit from old_res_options.
9949
4902da17
UD
9950 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
9951
5ce33a62
UD
9952 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
9953 value type for setfct.
9954
c2344f56
L
99552011-06-23 H.J. Lu <hongjiu.lu@intel.com>
9956
9957 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9958 __gettimeofday instead of gettimeofday.
9959
68468076
UD
99602011-06-26 Ulrich Drepper <drepper@gmail.com>
9961
9962 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
9963
acb0d739
L
99642011-06-24 H.J. Lu <hongjiu.lu@intel.com>
9965
9966 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
9967
9968 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
9969 info.
9970
8912479f
L
99712011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9972
9973 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9974 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9975 strcpy-sse2-unaligned strncpy-sse2-unaligned
9976 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
9977 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
9978 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
9979 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
9980 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
9981 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
9982 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
9983 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
9984 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
9985 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
9986 (STRCPY): Support SSE2 and SSSE3 versions.
9987
d5495a11
UD
99882011-06-24 Ulrich Drepper <drepper@gmail.com>
9989
9990 [BZ #12874]
9991 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
9992 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
9993 kernels which artificially limit size of requests.
9994
0b1cbaae
L
99952011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9996
9997 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9998 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9999 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10000 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10001 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10002 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10003 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10004 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10005 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10006 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10007 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10008 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10009 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10010 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10011 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10012 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10013 Enable unaligned load optimization for Intel Core i3, i5 and i7
10014 processors.
10015 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10016 Define.
10017 (index_Fast_Unaligned_Load): Define.
10018 (HAS_FAST_UNALIGNED_LOAD): Define.
10019
07f494a0
MP
100202011-06-23 Marek Polacek <mpolacek@redhat.com>
10021
10022 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10023
fa3fc0fe
UD
100242011-06-22 Ulrich Drepper <drepper@gmail.com>
10025
10026 [BZ #12907]
10027 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10028 until it is clear that the information is realy needed.
10029 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10030
e12df166
AS
100312011-06-22 Andreas Schwab <schwab@redhat.com>
10032
10033 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10034
852eb34d
UD
100352011-06-22 Ulrich Drepper <drepper@gmail.com>
10036
84e2a551
UD
10037 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10038 /sys/devices/system/cpu/online if it is usable.
10039
852eb34d
UD
10040 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10041 reading the information from the /proc filesystem to once a second.
10042
6e502e19
UD
100432011-06-21 Andreas Jaeger <aj@suse.de>
10044
10045 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10046 NULL after inclusion of kernel headers.
10047
75d39ff2
UD
100482011-06-21 Ulrich Drepper <drepper@gmail.com>
10049
51f9aa6a
UD
10050 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10051 calls to internal_setent.
10052
c0244a9d
UD
10053 [BZ #12885]
10054 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10055 addresses using gethostbyname4_r ignore IPv4 addresses.
10056
c5e3c2ae
UD
10057 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10058 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10059
75d39ff2
UD
10060 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10061
42675c6f
DM
100622011-06-20 David S. Miller <davem@davemloft.net>
10063
10064 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10065 inclusions.
10066 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10067
10068 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10069 (elf_irel): Use it.
10070 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10071 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10072 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10073 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10074 * sysdeps/x86_64/dl-irel.h: Likewise.
10075
10076 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10077 * elf/dl-sym.c: Likewise.
10078
57912a71
UD
100792011-06-15 Ulrich Drepper <drepper@gmail.com>
10080
10081 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10082 need to dereference resplen2.
10083
ee22793d
AS
100842011-06-14 Andreas Schwab <schwab@redhat.com>
10085
10086 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10087
a9e836b0
UD
100882011-06-15 Ulrich Drepper <drepper@gmail.com>
10089
77fb9117
UD
10090 * Makeconfig: Define vardbdir and inst_vardbdir.
10091 * nss/Makefile: Add rules to install db-Makefile.
10092
40c1b22c
UD
10093 * nss/nss_db/db-XXX.c: Cleanup.
10094
9f2da732
UD
10095 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10096 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10097 GLIBC_PRIVATE.
10098 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10099 * nss/makedb.c: Implement -g option to specify that value strings
10100 are generated and should not be added to table iterated over for
10101 get*ent calls.
10102 * nss/nss_db/db-initgroups.c: New file.
10103
82e9a1f7
UD
10104 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10105 interface.
10106
c41af17e
UD
10107 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10108 (internal_getgrouplist): Adjust to name change.
10109 Update use_initgroups_entry if this is not the first call.
10110 * nss/databases.def: Add initgroups entry.
10111
a9e836b0
UD
10112 * nss/makedb.c (compute_tables): Check result of multiple hash table
10113 sizes to minimize maximum chain length.
10114
2666d441
UD
101152011-06-14 Ulrich Drepper <drepper@gmail.com>
10116
10117 * Versions.def: Add entry for libnss_db.
10118 * shlib-versions: Likewise.
10119 * nss/Makefile: Add rules to build libnss_db.
10120 * nss/Versions: Add libnss_db information. Organize libnss_files
10121 entries better.
10122 * nss/db-Makefile: Add gshadow support. Change rules for the new
10123 makedb progra. Some minor improvements to generate smaller files.
10124 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10125 here from...
10126 * nss/makedb.c: ...here.
10127 Improve database format to be smaller and require less memory at
10128 runtime.
10129 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10130 db anymore.
10131 * nss/nss_db/db-netgrp.c: Likewise.
10132 * nss/nss_db/db-open.c: Likewise.
10133 * nss/nss_files/flies-XXX.x: Adjust comments.
10134 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10135 * nss/nss_files/files-grp.c: Likewise.
10136 * nss/nss_files/files-hosts.c: Likewise.
10137 * nss/nss_files/files-network.c: Likewise.
10138 * nss/nss_files/files-proto.c: Likewise.
10139 * nss/nss_files/files-pwd.c: Likewise.
10140 * nss/nss_files/files-rpc.c: Likewise.
10141 * nss/nss_files/files-service.c: Likewise.
10142 * nss/nss_files/files-sgrp.c: Likewise.
10143 * nss/nss_files/files-spwd.c: Likewise.
10144 * nss/nss_db/db-alias.c: Removed.
10145 * nss/nss_db/dummy-db.h: Removed.
10146
9ee76b5a
UD
101472011-06-02 Ulrich Drepper <drepper@gmail.com>
10148
10149 * nss/makedb.c: Rewritten to not use database library.
10150 * nss/Makefile: Update to build new makedb program.
10151
c71ca1f8
AJ
101522011-06-14 Andreas Jaeger <aj@suse.de>
10153
10154 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10155 memset declaration.
10156
3154bfb8
UD
101572011-06-10 Andreas Schwab <schwab@redhat.com>
10158
10159 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10160 tmpbuf.
10161
b350afab
RM
101622011-06-10 Roland McGrath <roland@hack.frob.com>
10163
decd4e50
RM
10164 * Makerules (shlib.lds): Fail if the linker script comes out empty.
10165 * elf/Makefile ($(objpfx)ld.so): Likewise.
10166
5615eaf2
RM
10167 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10168 Don't list ld.so twice in dependencies.
10169
10170 * posix/bug-regex31.c: Include <stdlib.h>.
10171
10172 * nscd/hstcache.c (cache_addhst): Remove unused variable.
10173
10174 * nis/nss_compat/compat-spwd.c
10175 (getspent_next_nss_netgr): Remove unused variable.
10176 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10177
10178 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10179 nonmembers" output to use the right array.
10180
10181 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10182
10183 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10184
10185 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10186 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10187 * catgets/gencat.c (read_input_file): Likewise.
10188 * locale/programs/locarchive.c (enlarge_archive): Likewise.
10189
10190 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10191 variable definition inside #if's controlling its use.
10192
10193 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10194
10195 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10196
10197 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10198
10199 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10200 unreachable code.
10201
10202 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10203
b68e08db
RM
10204 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10205 * configure: Regenerated.
10206
b350afab
RM
10207 * Makerules: Revert last change.
10208 * elf/Makefile: Likewise.
10209
28368601
RM
102102011-06-09 Roland McGrath <roland@hack.frob.com>
10211
10212 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10213 * elf/Makefile ($(objpfx)librtld.os): Likewise.
10214 (reloc-link): Likewise.
10215
11988f8f
UD
102162011-06-09 Ulrich Drepper <drepper@gmail.com>
10217
10218 * elf/Makefile: Add rules to build pldd.
10219 * elf/pldd.c: New file.
10220 * elf/pldd-xx.c: New file.
10221
e80fab37
UD
102222011-06-07 Ulrich Drepper <drepper@gmail.com>
10223
10224 * version.h: Update for 2.15 development version.
10225
9b849836
DM
102262011-06-07 David S. Miller <davem@davemloft.net>
10227
10228 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10229 ifuncs.
10230 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10231 elf_machine_lazy_rel): Likewise.
10232 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10233 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10234 elf_machine_lazy_rel): Likewise.
10235 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10236 dl_hwcap via passed in argument.
10237 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10238 Likewise.
10239
5a31b283
AK
102402011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10241
10242 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
10243
069e52f8
RM
102442011-06-06 Roland McGrath <roland@hack.frob.com>
10245
10246 [BZ #12849]
10247 * manual/fdl-1.1.texi: New file, verbatim from:
10248 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10249 * manual/lgpl-2.1.texi: New file, verbatim from:
10250 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10251 * manual/Makefile (licenses): New variable, list those new file names.
10252 (texis): Use it.
10253 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10254
10255 * manual/fdl.texi: File removed.
10256 * manual/lesser.texi: File removed.
10257 * manual/libc.texinfo (Copying, Documentation License):
10258 Use new @include file names, put @appendix directive before @include.
10259
f16846a5
JJ
102602011-06-04 Jakub Jelinek <jakub@redhat.com>
10261
10262 [BZ #12841]
10263 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10264 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10265 (mq_open): Add __NTH.
10266
3d29045b
L
102672011-06-02 H.J. Lu <hongjiu.lu@intel.com>
10268
10269 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10270 Assume Intel Core i3/i5/i7 processor if AVX is available.
10271
8c297311
UD
102722011-05-31 Ulrich Drepper <drepper@gmail.com>
10273
10274 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10275 typo.
10276
c8fc0c91
UD
102772011-05-31 Andreas Schwab <schwab@redhat.com>
10278
10279 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10280 memory. Use alloca_account. Fix memory leak when retrying.
10281
5b27a807
UD
102822011-05-31 Ulrich Drepper <drepper@gmail.com>
10283
356f8bc6
UD
10284 * version.h (RELEASE): Bump for 2.14 release.
10285 * include/features.h (__GLIBC_MINOR__): Bump to 14.
10286
5b27a807
UD
10287 * config.make.in (RANLIB): Remove entry.
10288
01f16ab0
UD
102892011-05-30 Ulrich Drepper <drepper@gmail.com>
10290
41fce8bd
UD
10291 * po/Makefile (po-sed-cmd): Add ksh to extensions.
10292 (libc.pot): Work around missing support for .ksh extension in xgettext.
10293
4769ae77
UD
10294 [BZ #12684]
10295 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
10296 if both request failed.
10297 (send_dg): In case of server errors clear resplen or *resplen2.
10298
6b1e7d19
UD
10299 [BZ #12454]
10300 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
10301 when there are multiple maps.
10302 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
10303 (_dl_fini): Remove test here.
10304
01f16ab0
UD
10305 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
10306
b1ebd700
UD
103072011-05-29 Ulrich Drepper <drepper@gmail.com>
10308
7ae22829
UD
10309 [BZ #12350]
10310 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
10311 bit from old_res_options.
10312 (gaih_inet): Likewise.
10313
553149f6 10314 [BZ #11099]
18a84741 10315 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
10316 as signed.
10317
652ffab1
UD
10318 * resolv/res_init.c (res_setoptions): Make the code more compact.
10319
16985fd0
UD
10320 [BZ #11558]
10321 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
10322 set RES_USEVC.
10323
0464f746
UD
10324 [BZ #11634]
10325 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
10326
7d17596c
UD
10327 * malloc/malloc.h: Mark malloc hook variables as deprecated.
10328
cf6bbbd7
UD
10329 [BZ #11781]
10330 * malloc/malloc.h: Declare malloc hook variables as volatile.
10331
13f1ab36
UD
10332 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
10333 in last patch.
10334
b1ebd700
UD
10335 [BZ #11799]
10336 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 10337 raise in the comment.
80e2212d
UD
10338 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10339 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10340 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 10341
ce67228d
UD
103422011-05-28 Ulrich Drepper <drepper@gmail.com>
10343
8887a920
UD
10344 [BZ #12811]
10345 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
10346 grow the buffers more if it already has to be sufficient.
10347 (build_wcs_upper_buffer): Likewise.
10348 * posix/regexec.c (check_matching): Likewise.
10349 (clean_state_log_if_needed): Likewise.
10350 (extend_buffers): Don't enlarge buffers beyond size of the input
10351 buffer.
10352 Patches mostly by Emil Wojak <emil@wojak.eu>.
10353 * posix/bug-regex32.c: New file.
10354 * posix/Makefile (tests): Add bug-regex32.
10355
4f031072
UD
10356 * locale/findlocale.c (_nl_find_locale): Return right away if
10357 _nl_explode_name failed.
10358 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10359
d0478f0c
UD
10360 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
10361
de81b246
UD
10362 * debug/xtrace.sh: Unify messages.
10363 * malloc/memusage.sh: Likewise.
10364
c738465a
UD
10365 [BZ #12813]
10366 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
10367 time symbol from vDSO. Substitute with vsyscall if not available.
10368 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
10369 __vdso_time.
10370
f1f929d7
UD
10371 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
10372 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
10373 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
10374 Add sendmmsg and internal_sendmmsg.
10375 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
10376 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
10377 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
10378
ce67228d
UD
10379 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
10380 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
10381 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
10382
e57420c6
UD
103832011-05-27 Ulrich Drepper <drepper@gmail.com>
10384
a8509ca5
UD
10385 [BZ #12813]
10386 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
10387 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
10388 available.
10389 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
10390 __vdso_getcpu.
10391
e57420c6
UD
10392 [BZ #12814]
10393 * iconvdata/Makefile (tests): Add bug-iconv9.
10394 * iconvdata/bug-iconv9.c: New file.
10395
4d07db15
AS
103962011-05-27 Andreas Schwab <schwab@redhat.com>
10397
10398 [BZ #12814]
10399 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
10400
ea486f69
JJ
104012011-05-25 Jakub Jelinek <jakub@redhat.com>
10402
10403 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10404 (struct user_regs_struct): Change intcs field back to cs.
10405
6f038433
UD
104062011-05-25 Ulrich Drepper <drepper@gmail.com>
10407
10408 * po/ja.po: Update from translation team.
10409
67f86a25
UD
104102011-05-23 Ulrich Drepper <drepper@gmail.com>
10411
10412 [BZ #12795]
10413 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
10414 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
10415
def7fbd6
AS
104162011-05-20 Andreas Schwab <schwab@redhat.com>
10417
10418 * stdlib/longlong.h: Update from GCC.
10419
f50ef8f1
AS
104202011-05-23 Andreas Schwab <schwab@redhat.com>
10421
10422 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
10423 parameter name.
10424 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
10425 Add parameter name.
10426 (__sysconf): Pass it down.
10427
de7ce8f1
UD
104282011-05-22 Ulrich Drepper <drepper@gmail.com>
10429
f2962a71
UD
10430 [BZ #12671]
10431 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
10432 some situations.
10433 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10434 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
10435 add in in __libc_use_alloca calls. Adjust callers.
10436 (glob): Use malloc in some situations.
10437
de7ce8f1
UD
10438 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
10439 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
10440 pltexit.
10441
aec84f53
UD
104422011-05-21 Ulrich Drepper <drepper@gmail.com>
10443
05bb4a68
UD
10444 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
10445 and CLOCK_BOOTTIME_ALARM.
10446
7ea72f99
UD
10447 [BZ #12782]
10448 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
10449 is returned.
10450
7e4afad5
UD
10451 * string/_strerror.c (__strerror_r): Print negative errors as signed
10452 numbers.
10453
8e211fec
UD
10454 [BZ #12777]
10455 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
10456 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
10457 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
10458
f7d82dc9
UD
10459 * configure.in: Fix typo in redirection and correct removal of test
10460 files in two cases.
10461
cc9e536d
UD
10462 [BZ #12788]
10463 * locale/setlocale.c (new_composite_name): Fix test to check for
10464 identical name of all categories.
10465
aec84f53
UD
10466 [BZ #12792]
10467 * libio/filedoalloc.c (local_isatty): New function.
10468 (_IO_file_doallocate): Use local_isatty.
10469 * stdio-common/perror.c (perror): In case a new stream is used
10470 forward the stream error.
10471 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
10472 error flag.
10473
78e64fdc
RT
104742011-05-20 Ulrich Drepper <drepper@gmail.com>
10475
34a9094f
UD
10476 [BZ #11869]
10477 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
10478 alloca.
10479 * include/alloca.h (extend_alloca_account): Define.
10480
78e64fdc
RT
10481 [BZ #11857]
10482 * posix/regex.h: Fix comments with documentation of user-accessible
10483 fields after compilation and describe correct free'ing of pattern
10484 after re_compile_pattern.
10485 Patch by Reuben Thomas <rrt@sc3d.org>.
10486
457bddfc
RA
104872011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
10488
10489 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
10490 and -mno-altivec to prevent the compiler from using Altivec and/or
10491 VSX instructions when the corresponding registers are not available.
10492
a4527b51
AS
104932011-05-19 Andreas Schwab <schwab@redhat.com>
10494
10495 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
10496
ed690b2f
UD
104972011-05-19 Ulrich Drepper <drepper@gmail.com>
10498
10499 * libio/freopen.c (freopen): Use __dup2, not dup2.
10500 * libio/freopen64.c (freopen64): Likewise.
10501
8db73634
L
105022011-05-17 H.J. Lu <hongjiu.lu@intel.com>
10503
10504 [BZ #12775]
10505 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
10506 * math/Makefile (tests): Add test-powl.
10507 (CFLAGS-test-powl.c): Define.
10508 * math/test-powl.c: New file.
10509
0a197a9d
L
105102011-05-16 H.J. Lu <hongjiu.lu@intel.com>
10511
10512 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
10513
ee30c380
UD
105142011-05-17 Ulrich Drepper <drepper@gmail.com>
10515
10516 [BZ #11837]
10517 * iconvdata/gb18030.c: Update to GB18020-2005.
10518
6ce75379
UD
105192011-05-16 Ulrich Drepper <drepper@gmail.com>
10520
a4b89fd8
AR
10521 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
10522 RE_SYNTAX_POSIX_AWK): Update to match recent development.
10523 Patch by Aharon Robbins <arnold@skeeve.com>.
10524
ea389b12
UD
10525 [BZ #11892]
10526 * stdlib/putenv.c (putenv): Don't always create copy of the variable
10527 on the stack.
10528
68a3f91f
UD
10529 [BZ #11895]
10530 * misc/pselect.c (__pselect): Handle timeout value errors hidden
10531 through underflows.
10532
15cc7dd1
UD
10533 [BZ #12766]
10534 * misc/error.c (error_at_line): Ensure file_name and old_file_name
10535 point to strings before performing equality test for error_one_per_line
10536 mode.
10537
f3799213
UD
10538 [BZ #11697]
10539 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
10540
d79a9c94
UD
10541 [BZ #11820]
10542 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10543 (struct user_fpregs_struct): Avoid __uint*_t types.
10544
56e5eb46
UD
10545 [BZ #6420]
10546 * malloc/mtrace.c (tr_where): Add additional parameter to point to
10547 symbol info. Use it instead of calling _dl_addr locally.
10548 (lock_and_info): New function.
10549 (tr_freehook): Call lock_and_info and pass symbol info as additional
10550 parameter to tr_where.
10551 (tr_mallochook): Likewise.
10552 (tr_reallochook): Likewise.
10553 (tr_memalignhook): Likewise.
10554
6ce75379
UD
10555 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
10556 used and couldn't be at all thread-safe.
10557
f8a3b5bf
UD
105582011-05-15 Ulrich Drepper <drepper@gmail.com>
10559
94b7cc37
UD
10560 * libio/freopen.c (freopen): Don't close old file descriptor
10561 before the new one is opened. Instead dup the new file descriptor
10562 to the old one after the new stream is created.
10563 * libio/freopen64.c (freopen64): Likewise.
10564 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
10565 * libio/fileops.c (_IO_new_file_close_it): Handle new
10566 _IO_FLAGS2_NOCLOSE flag.
10567 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
10568 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
10569 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
10570 _IO_FLAGS2_NOCLOSE flag.
10571 * include/unistd.h: Add hidden_proto for dup3.
10572 Define __have_dup3.
10573 * io/dup3.c: Define hidden symbol.
10574 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
10575
bd25564e
UD
10576 [BZ #7101]
10577 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
10578 when an incomplete long option is used.
10579 * posix/tst-getopt_long1.c: New file.
10580 * posix/Makefile (tests): Add tst-getopt_long1.
10581
c84cfef4
UD
10582 [BZ #10138]
10583 * scripts/config.guess: Update from autoconf-2.68.
10584 * scripts/config.sub: Likewise.
10585
3b85df27
UD
10586 [BZ #10157]
10587 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
10588 tests into ...
10589 (has_cpuclock): ...this. New function.
10590 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
10591 macro here based on has_cpuclock code.
10592
15a856b1
UD
10593 [BZ #10149]
10594 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10595 First byte (not low byte) is now always NUL.
10596 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
10597
05f399e6
UD
10598 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10599 Use non-cancelable interfaces.
10600
10a52685 10601 [BZ #9809]
94ecc67d
UD
10602 * locale/iso-639.def: Add entry for Sorani.
10603
f8a3b5bf
UD
10604 [BZ #11901]
10605 * include/stdlib.h: Move include protection to the right place.
10606 Define abort_msg_s. Declare __abort_msg with it.
10607 * stdlib/abort.c (__abort_msg): Adjust type.
10608 * assert/assert.c (__assert_fail_base): New function. Majority
10609 of code from __assert_fail. Allocate memory for __abort_msg with
10610 mmap.
10611 (__assert_fail): Now call __assert_fail_base.
10612 * assert/assert-perr.c: Remove bulk of implementation. Use
10613 __assert_fail_base.
10614 * include/assert.hL Declare __assert_fail_base.
10615 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
10616 mmap.
10617 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
10618
1af4e298
UD
106192011-05-14 Ulrich Drepper <drepper@gmail.com>
10620
f8a3b5bf 10621 [BZ #11952]
d26dfc60
MG
10622 [BZ #12453]
10623 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
10624 until all modules are registered in the DTV.
10625 * elf/Makefile: Add rules to build and run tst-tls19.
10626 * elf/tst-tls19.c: New file.
10627 * elf/tst-tls19mod1.c: New file.
10628 * elf/tst-tls19mod2.c: New file.
10629 * elf/tst-tls19mod3.c: New file.
10630 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
10631
2fc54d6f
UD
10632 [BZ #12083]
10633 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
10634 correctly.
10635
98d76b46
UD
10636 [BZ #12601]
10637 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
10638 two-byte sequence errors.
10639 * iconvdata/Makefile (tests): Add bug-iconv8.
10640 * iconvdata/bug-iconv8.c: New file.
10641
da3c19ef
UD
10642 [BZ #12626]
10643 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
10644 buf2 definition.
10645
ca408c15
UD
10646 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
10647
d6f67f7d
UD
10648 [BZ #12432]
10649 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
10650 (dummy_getcfa): New function.
10651 (init): Get _Unwind_GetCFA address, use dummy if not found.
10652 (backtrace_helper): In recursion check, also check whether CFA changes.
10653 (__backtrace): Completely initialize arg.
10654
1af4e298 10655 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
10656 storing incomplete byte sequence in state object. Avoid testing for
10657 guaranteed too small input if we know there is enough data available.
1af4e298 10658
da62f81b
AS
106592011-05-11 Andreas Schwab <schwab@redhat.com>
10660
10661 * Makeconfig (+link-pie): Indent.
10662 * Rules (binaries-pie): Define if $(have-fpie) and
10663 $(build-shared).
10664 (binaries-shared): Also filter out $(binaries-pie).
10665 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
10666 * nscd/Makefile (others-pie): Add nscd.
10667 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
10668 ($(objpfx)nscd): Remove command override.
10669 * login/Makefile (others-pie): Add pt_chown.
10670 ($(objpfx)pt_chown): Remove command override.
10671 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
10672 remove command overrides.
10673
fcabc0f8
UD
106742011-05-13 Ulrich Drepper <drepper@gmail.com>
10675
20030ae6
UD
10676 * libio/tst_putwc.c: Fix error messages.
10677
fcabc0f8
UD
10678 [BZ #12724]
10679 * libio/fileops.c (_IO_new_file_close_it): Always flush when
10680 currently writing and seek to current position when not.
10681 * libio/Makefile (tests): Add bug-fclose1.
10682 * libio/bug-fclose1.c: New file.
10683
320a5dc0
PB
106842011-05-12 Ulrich Drepper <drepper@gmail.com>
10685
10686 [BZ #12511]
10687 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
10688 don't set DF_1_NODELETE here.
10689 (do_lookup_x): When entering new entry test for copy relocation
10690 and if necessary set DF_1_NODELETE flag.
10691 * elf/tst-unique4.cc: New file.
10692 * elf/tst-unique4.h: New file.
10693 * elf/tst-unique4lib.cc: New file.
10694 * elf/Makefile: Add rules to build and run tst-unique4.
10695 Patch by Piotr Bury <pbury@goahead.com>.
10696
22836f52
UD
106972011-05-11 Ulrich Drepper <drepper@gmail.com>
10698
f574184a
UD
10699 [BZ #12052]
10700 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
10701
e1fb097f
UD
10702 [BZ #12625]
10703 * misc/mntent_r.c (addmntent): Flush the stream after the output
10704
22836f52
UD
10705 [BZ #12393]
10706 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
10707 (is_trusted_path_normalize): Skip initial colon. Append slash
10708 to empty buffer. Duplicate is_trusted_path code but allow
10709 constructed patch to be prefix.
10710 (is_dst): Allow $ORIGIN followed by /.
10711 (_dl_dst_substitute): Correct clearing of check_for_trusted.
10712 Correct testing of result of is_trusted_path_normalize
10713 (decompose_rpath): Fix warning.
10714
7b3b0b2a
UD
107152011-05-10 Ulrich Drepper <drepper@gmail.com>
10716
10717 [BZ #11257]
10718 * grp/initgroups.c (internal_getgrouplist): When we found the service
10719 list through the initgroups entry in nsswitch.conf do not always
10720 continue on a successful lookup. Don't always use the
eac80ce2 10721 __nss_group_database value if it is set.
7b3b0b2a
UD
10722 * nss/nsswitch.conf (initgroups): Change action for successful db
10723 lookup to continue for compatibility.
10724
2a81eaa5
UD
107252011-05-09 Ulrich Drepper <drepper@gmail.com>
10726
be97a69e
UD
10727 [BZ #11532]
10728 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
10729 and CP774 modules.
10730 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
10731 and CP774 modules.
10732 * iconvdata/tst-tables.sh: Likewise.
10733 * iconvdata/cp770.c: New file.
10734 * iconvdata/cp771.c: New file.
10735 * iconvdata/cp772.c: New file.
10736 * iconvdata/cp773.c: New file.
10737 * iconvdata/cp774.c: New file.
10738 * iconvdata/testdata/CP770: New file.
10739 * iconvdata/testdata/CP770..UTF8: New file.
10740 * iconvdata/testdata/CP771: New file.
10741 * iconvdata/testdata/CP771..UTF8: New file.
10742 * iconvdata/testdata/CP772: New file.
10743 * iconvdata/testdata/CP772..UTF8: New file.
10744 * iconvdata/testdata/CP773: New file.
10745 * iconvdata/testdata/CP773..UTF8: New file.
10746 * iconvdata/testdata/CP774: New file.
10747 * iconvdata/testdata/CP774..UTF8: New file.
10748
10749 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
10750 END CHARMAP line.
10751 * iconvdata/gen-8bit-gap.sh: Likewise.
10752 * iconvdata/gen-8bit.sh: Likewise.
10753
c1e9e399
UD
10754 * locale/iso-639.def: Add ary entry.
10755
24c55fb3 10756 [BZ #11258]
96b4b1b0
UD
10757 * locale/C-translit.h.in: Add U20A1 transliteration.
10758
bdc2f971
KB
10759 [BZ #12178]
10760 * locale/iso-639.def: Add wae entry.
10761 Patch by Kevin Bortis <bortis@translate-wae.ch>.
10762
2952b117
UD
10763 [BZ #12545]
10764 * locale/programs/localedef.c (construct_output_path): Use ssize_t
10765 for n.
10766
2a81eaa5
UD
10767 [BZ #12711]
10768 * locale/C-translit.h.in: Add entry for U20B9.
10769 Patch by pravin.d.s@gmail.com.
10770
28377d1b
UD
107712011-05-08 Ulrich Drepper <drepper@gmail.com>
10772
7fb90fb8
UD
10773 [BZ #12713]
10774 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
10775 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
10776 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
10777 in rtld. Use *stat64.
7fb90fb8 10778 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 10779 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 10780 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
10781 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
10782 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
10783 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
10784 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
10785 __fstatat64 macros.
7fb90fb8
UD
10786 * include/dirent.h: Add libc_hidden_proto for rewinddir.
10787 * dirent/rewinddir.c: Add libc_hidden_def.
10788 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 10789 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 10790
28377d1b
UD
10791 * include/dirent.h (__alloc_dir): Add flags parameter.
10792 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
10793 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
10794 __alloc_dir.
10795 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
10796 from fdopendir if O_CLOEXEC is already set.
10797
66bdbaa4
AM
107982011-03-15 Alan Modra <amodra@gmail.com>
10799
10800 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
10801 l_tls_firstbyte_offset non-zero. Save padding offset in
10802 l_tls_firstbyte_offset for later use.
10803 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
10804 freeing static tls block.
10805
95721191
JN
108062011-03-05 Jonathan Nieder <jrnieder@gmail.com>
10807
10808 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
10809 where #ifdef was intended. The intent is to prevent ARG_MAX from
10810 being defined by the kernel headers.
10811
f87dfb1f
UD
108122011-05-07 Ulrich Drepper <drepper@gmail.com>
10813
10814 [BZ #12734]
10815 * resolv/resolv.h: Define RES_NOTLDQUERY.
10816 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
10817 no-tld-query and set RES_NOTLDQUERY.
10818 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
10819 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
10820 modern BIND to search name as TLD unless forbidden.
10821
47c3cd7a
UD
108222011-05-07 Petr Baudis <pasky@suse.cz>
10823 Ulrich Drepper <drepper@gmail.com>
10824
10825 [BZ #12393]
10826 * elf/dl-load.c (fillin_rpath): Move trusted path check...
10827 (is_trusted_path): ...to here.
c1e9ea35 10828 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 10829 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 10830 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 10831
8a35c912
PP
108322011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10833
10834 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
10835 __BEGIN/__END_DECLS.
10836
acd41f47
UD
108372011-05-06 Ulrich Drepper <drepper@gmail.com>
10838
10839 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
10840 NSS_STATUS_NOTFOUND if no record was found.
10841
597df647
AS
108422011-05-05 Andreas Schwab <schwab@redhat.com>
10843
10844 * sunrpc/Makefile (headers): Add rpc/netdb.h.
10845 (headers-not-in-tirpc): Remove rpc/netdb.h
10846 * resolv/netdb.h: Revert last change.
10847
b9af1301
PP
108482011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10849
10850 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
10851 circular dependency between libgcc.a and libc.a.
10852
4e34d5f5
AS
108532011-05-05 Andreas Schwab <schwab@redhat.com>
10854
10855 * resolv/netdb.h: Don't include <rpc/netdb.h>.
10856 * nis/Makefile: Don't install rpcsvc/*.
10857 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
10858 instead of <rpc/types.h>.
10859 (MAXHOSTNAMELEN): Define.
10860
00ee369c
AS
108612011-05-03 Andreas Schwab <schwab@redhat.com>
10862
10863 * elf/ldconfig.c (add_dir): Don't crash on empty path.
10864
0b592a30
MB
108652011-04-28 Maciej Babinski <mbabinski@google.com>
10866
10867 [BZ #12714]
10868 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
10869 gethostbyname4_r when IPv6 results are possible.
10870
6e04cbbe
UD
108712011-05-02 Ulrich Drepper <drepper@gmail.com>
10872
10873 [BZ #12723]
10874 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
10875 _PC_PIPE_BUF handling.
10876
e4ecafe0
BH
108772011-04-30 Bruno Haible <bruno@clisp.org>
10878
10879 [BZ #12717]
10880 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
10881 * resolv/netdb.h (getnameinfo): Change type of flags parameter
10882 to 'int'.
10883 * inet/getnameinfo.c (getnameinfo): Likewise.
10884
125ee683
UD
108852011-04-29 Ulrich Drepper <drepper@gmail.com>
10886
10887 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
10888 to groups setting in database lookup.
10889 * nss/nsswitch.conf: Add initgroups entry.
10890
b722481a
EB
108912011-04-22 Ulrich Drepper <drepper@gmail.com>
10892
10893 [BZ #12685]
10894 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
10895 mode string.
10896 Patch by Eric Blake <eblake@redhat.com>.
10897
4df46dbd
L
108982011-04-20 H.J. Lu <hongjiu.lu@intel.com>
10899
10900 * sunrpc/Makefile (need-export-routines): Add svc_run.
10901 (routines): Remove svc_run.
10902 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
10903 * sunrpc/clnt_perr.c (clnt_perrno): Export.
10904 * sunrpc/svc_run.c (svc_run): Likewise.
10905 * sunrpc/svc_udp.c (svcudp_create): Likewise.
10906
e84142d2
UD
109072011-04-21 Ulrich Drepper <drepper@gmail.com>
10908
10909 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
10910 problem in reallocation in last patch.
10911
877175d8
UD
109122011-04-20 Ulrich Drepper <drepper@gmail.com>
10913
10914 * sunrpc/Makefile: Move inclusion of Rules.
10915
ab8eed78
UD
109162011-04-19 Ulrich Drepper <drepper@gmail.com>
10917
10918 * nss/nss_files/files-initgroups.c: New file.
10919 * nss/Makefile (libnss_files-routines): Add files-initgroups.
10920 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
10921 _nss_files_initgroups_dyn.
10922
e3d8f584
RS
109232011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
10924
10925 * elf/elf.h (R_ARM_IRELATIVE): Define.
10926
af190f45
UD
109272011-04-19 Ulrich Drepper <drepper@gmail.com>
10928
10929 * po/ru.po: Update from translation team.
10930
53cf59ef
UD
109312011-04-17 Ulrich Drepper <drepper@gmail.com>
10932
10933 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
10934 dependencies.
10935
4c559bcd
MF
109362011-02-06 Mike Frysinger <vapier@gentoo.org>
10937
10938 [BZ #12653]
10939 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
10940 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
10941 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10942 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10943 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10944
4420675c
AS
109452011-03-28 Andreas Schwab <schwab@linux-m68k.org>
10946
10947 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
10948 differing bytes.
10949 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10950 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10951 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10952
75ea32ab
UD
109532011-04-17 Ulrich Drepper <drepper@gmail.com>
10954
10955 [BZ #12420]
10956 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
10957 storing it.
10958 * stdlib/bug-getcontext.c: New file.
10959 * stdlib/Makefile: Add rules to build and run bug-getcontext.
10960
27390476
AK
109612011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10962
10963 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
10964 instructions into .machine "z9-109".
10965 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10966 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10967
10442705
AK
109682011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10969
10970 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
10971 between environment variables and auxiliary vector.
10972
7b57bfe5
UD
109732011-04-16 Ulrich Drepper <drepper@gmail.com>
10974
10975 * Makefile: Add rules to build linkobj/libc.so.
10976 * include/libc-symbols.h: Define libc_hidden_nolink.
10977 * include/rpc/auth.h: Mark functions which are to be hidden.
10978 * include/rpc/auth_des.h: Likewise.
10979 * include/rpc/auth_unix.h: Likewise.
10980 * include/rpc/clnt.h: Likewise.
10981 * include/rpc/des_crypt.h: Likewise.
10982 * include/rpc/key_prot.h: Likewise.
10983 * include/rpc/pmap_clnt.h: Likewise.
10984 * include/rpc/pmap_prot.h: Likewise.
10985 * include/rpc/pmap_rmt.h: Likewise.
10986 * include/rpc/rpc_msg.h: Likewise.
10987 * include/rpc/svc.h: Likewise.
10988 * include/rpc/svc_auth.h: Likewise.
10989 * include/rpc/xdr.h: Likewise.
10990 * nis/Makefile: Link all DSOs against linkobj/libc.so.
10991 * nss/Makefile: Likewise.
10992 * sunrpc/Makefile: Don't install headers. Build library with normal
10993 entry points. Don't build rpcinfo. Link RPC tests appropriately.
10994 * sunrpc/auth_des.c: Hide exported symbols by default, export some
10995 for the compat linking library. Remove use of INTDEF/INTUSE.
10996 * sunrpc/auth_none.c: Likewise.
10997 * sunrpc/auth_unix.c: Likewise.
10998 * sunrpc/authdes_prot.c: Likewise.
10999 * sunrpc/authuxprot.c: Likewise.
11000 * sunrpc/clnt_gen.c: Likewise.
11001 * sunrpc/clnt_perr.c: Likewise.
11002 * sunrpc/clnt_raw.c: Likewise.
11003 * sunrpc/clnt_simp.c: Likewise.
11004 * sunrpc/clnt_tcp.c: Likewise.
11005 * sunrpc/clnt_udp.c: Likewise.
11006 * sunrpc/clnt_unix.c: Likewise.
11007 * sunrpc/des_crypt.c: Likewise.
11008 * sunrpc/des_soft.c: Likewise.
11009 * sunrpc/get_myaddr.c: Likewise.
11010 * sunrpc/key_call.c: Likewise.
11011 * sunrpc/key_prot.c: Likewise.
11012 * sunrpc/netname.c: Likewise.
11013 * sunrpc/pm_getmaps.c: Likewise.
11014 * sunrpc/pm_getport.c: Likewise.
11015 * sunrpc/pmap_clnt.c: Likewise.
11016 * sunrpc/pmap_prot.c: Likewise.
11017 * sunrpc/pmap_prot2.c: Likewise.
11018 * sunrpc/pmap_rmt.c: Likewise.
11019 * sunrpc/publickey.c: Likewise.
11020 * sunrpc/rpc_cmsg.c: Likewise.
11021 * sunrpc/rpc_common.c: Likewise.
11022 * sunrpc/rpc_dtable.c: Likewise.
11023 * sunrpc/rpc_prot.c: Likewise.
11024 * sunrpc/rpc_thread.c: Likewise.
11025 * sunrpc/rtime.c: Likewise.
11026 * sunrpc/svc.c: Likewise.
11027 * sunrpc/svc_auth.c: Likewise.
11028 * sunrpc/svc_authux.c: Likewise.
11029 * sunrpc/svc_raw.c: Likewise.
11030 * sunrpc/svc_run.c: Likewise.
11031 * sunrpc/svc_simple.c: Likewise.
11032 * sunrpc/svc_tcp.c: Likewise.
11033 * sunrpc/svc_udp.c: Likewise.
11034 * sunrpc/svc_unix.c: Likewise.
11035 * sunrpc/svcauth_des.c: Likewise.
11036 * sunrpc/xcrypt.c: Likewise.
11037 * sunrpc/xdr.c: Likewise.
11038 * sunrpc/xdr_array.c: Likewise.
11039 * sunrpc/xdr_float.c: Likewise.
11040 * sunrpc/xdr_intXX_t.c: Likewise.
11041 * sunrpc/xdr_mem.c: Likewise.
11042 * sunrpc/xdr_rec.c: Likewise.
11043 * sunrpc/xdr_ref.c: Likewise.
11044 * sunrpc/xdr_sizeof.c: Likewise.
11045 * sunrpc/xdr_stdio.c: Likewise.
11046
e6c61494
UD
110472011-04-10 Ulrich Drepper <drepper@gmail.com>
11048
11049 [BZ #12650]
11050 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11051 * sysdeps/ia64/dl-tls.h: Likewise.
11052 * sysdeps/powerpc/dl-tls.h: Likewise.
11053 * sysdeps/s390/dl-tls.h: Likewise.
11054 * sysdeps/sh/dl-tls.h: Likewise.
11055 * sysdeps/sparc/dl-tls.h: Likewise.
11056 * sysdeps/x86_64/dl-tls.h: Likewise.
11057 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11058
34fe483e
AS
110592011-03-14 Andreas Schwab <schwab@redhat.com>
11060
11061 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11062 rpath element also skip the following colon.
11063 (expand_dynamic_string_token): Add is_path parameter and pass
11064 down to DL_DST_REQUIRED and _dl_dst_substitute.
11065 (decompose_rpath): Call expand_dynamic_string_token with
11066 non-zero is_path. Ignore empty rpaths.
11067 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11068 with zero is_path.
11069
f12a32e6
AS
110702011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11071
11072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11073 Make cancelable.
11074
38a7d692
UD
110752011-04-09 Ulrich Drepper <drepper@gmail.com>
11076
11077 [BZ #12655]
11078 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11079 Patch by Filipe David Manana <fdmanana@apache.org>.
11080
e451d22b
AS
110812011-04-07 Andreas Schwab <schwab@redhat.com>
11082
11083 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11084 Maintain aligned stack.
11085 (CHECK_RSP): Remove unused macro.
11086
dedc7c7b
UD
110872011-04-03 Ulrich Drepper <drepper@gmail.com>
11088
11089 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11090 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11091
94521213
UD
110922011-04-02 Ulrich Drepper <drepper@gmail.com>
11093
11094 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11095
8cb700c0 11096 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 11097
0354e355
L
110982011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11099
11100 [BZ #12518]
11101 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11102 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11103 * sysdeps/x86_64/memmove.c: New file.
11104 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11105 (memcpy): Renamed to ...
11106 (__new_memcpy): This.
11107 (memcpy): Provide GLIBC_2_14 memcpy.
11108 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11109 (memcpy): Provide GLIBC_2_2_5 memcpy.
11110
8593482f
UD
111112011-04-01 Ulrich Drepper <drepper@gmail.com>
11112
11113 [BZ #12631]
11114 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11115
81a5726b
AS
111162011-03-30 Andreas Schwab <schwab@redhat.com>
11117
11118 * misc/syncfs.c: New file.
11119 * misc/Makefile (routines): Add syncfs.
11120 * posix/unistd.h: Declare syncfs.
11121 * sysdeps/unix/syscalls.list: Add syncfs.
11122
00e5419f
AS
111232011-04-01 Andreas Schwab <schwab@redhat.com>
11124
11125 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11126 open_by_handle_at.
11127 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11128 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11129 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11130 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11131 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11132 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11133 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11134
748876bf
UD
111352011-04-01 Ulrich Drepper <drepper@gmail.com>
11136
658e451d
UD
11137 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11138 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11139 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11140 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11141 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11142 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11143 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11144
748876bf
UD
11145 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11146 sync_file_range.c with -fexceptions.
11147 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11148 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11149 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11150 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11151 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11152 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11153 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
11154 sync_file_range as cancellation point
11155 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11156 now a wrapper around __call_sync_file_range with cancellation handling.
11157 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11158 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11159 function name to __call_sync_file_range.
11160 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11161 Add call_sync_file_range.
748876bf 11162
6e63d5e1
AS
111632011-04-01 Andreas Schwab <schwab@redhat.com>
11164
11165 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 11166 bits/timex.h.
6e63d5e1 11167
46998f74
UD
111682011-04-01 Ulrich Drepper <drepper@gmail.com>
11169
4c1423ed
UD
11170 * iconv/iconv.h: Fix typo in comment.
11171 * io/fcntl.h: Likewise.
11172 * libio/stdio.h: Likewise.
11173 * posix/spawn.h: Likewise.
11174 * posix/unistd.h: Likewise.
11175 * stdlib/stdlib.h: Likewise.
11176 * time/time.h: Likewise.
11177 * wcsmbs/wchar.h: Likewise.
11178
158648c0
UD
11179 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11180 open_by_handle): Add.
11181 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11182 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
11183 Augment a few comments.
11184 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11185 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11186 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11187 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11188 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11189 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11190 open_by_handle.
11191
46998f74
UD
11192 * io/fcntl.h (AT_EMPTY_PATH): Define.
11193
83fe108b
UD
111942011-03-30 Ulrich Drepper <drepper@gmail.com>
11195
11196 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11197 * sysdeps/unix/sysv/linux/bits/time.h: New file.
11198 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11199 to...
11200 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
11201 * Versions.def: Add GLIBC_2.14.
11202 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11203 Export.
83fe108b 11204
bb242059
UD
112052011-03-22 Ulrich Drepper <drepper@gmail.com>
11206
11207 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11208 round counter.
11209 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11210
c97a1282
L
112112011-03-20 H.J. Lu <hongjiu.lu@intel.com>
11212
11213 [BZ #12597]
11214 * string/test-strncmp.c (do_page_test): New function.
11215 (check2): Likewise.
11216 (test_main): Call check2.
11217 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11218
2a115601
UD
112192011-03-20 Ulrich Drepper <drepper@gmail.com>
11220
11221 [BZ #12587]
11222 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11223 Handle cache information in CPU leaf 4.
11224 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11225
8126d904
UD
112262011-03-18 Ulrich Drepper <drepper@gmail.com>
11227
042c49c6 11228 [BZ #12583]
8126d904
UD
11229 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11230 character representation.
11231 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11232
ccfe366e
RA
112332011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
11234
11235 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11236 END(__isnan) to END(__isnanf) to match function entry point/label
11237 EALIGN(__isnanf,...).
11238
c6e13027
JJ
112392011-03-10 Jakub Jelinek <jakub@redhat.com>
11240
11241 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11242
33f85a3f
UD
112432011-03-10 Ulrich Drepper <drepper@gmail.com>
11244
028478fa
UD
11245 [BZ #12510]
11246 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11247 copy from the symbol referenced in the relocation to initialize the
11248 used variable.
11249 Patch by Piotr Bury <pbury@goahead.com>.
11250 * elf/Makefile: Add rules to build and tst-unique3.
11251 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11252 * elf/tst-unique3.cc: New file.
11253 * elf/tst-unique3.h: New file.
11254 * elf/tst-unique3lib.cc: New file.
11255 * elf/tst-unique3lib2.cc: New file.
11256
33f85a3f
UD
11257 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11258
03592fc7
MF
112592011-03-10 Mike Frysinger <vapier@gentoo.org>
11260
11261 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11262 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
11263 to _start.
03592fc7 11264
6a5ee102
UD
112652011-03-06 Ulrich Drepper <drepper@gmail.com>
11266
11267 * elf/dl-load.c (_dl_map_object): If we are looking for the first
11268 to-be-loaded object along a path to loader is ld.so.
11269
7e4ba49c
HJ
112702011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11271 Ulrich Drepper <drepper@gmail.com>
11272
11273 * sysdeps/x86_64/memset.S: After aligning destination, code
11274 branches to different locations depending on the value of
11275 misalignment, when multiarch is enabled. Fix this.
11276
112772011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11278
11279 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11280 Set _x86_64_preferred_memory_instruction for AMD processsors.
11281 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11282 Set bit_Prefer_SSE_for_memop for AMD processors.
11283
13a804de
UD
112842011-03-04 Ulrich Drepper <drepper@gmail.com>
11285
11286 * libio/fmemopen.c (fmemopen): Optimize a bit.
11287
9d25c392
AS
112882011-03-03 Andreas Schwab <schwab@redhat.com>
11289
11290 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
11291
a5543c6a
RM
112922011-03-03 Roland McGrath <roland@redhat.com>
11293
11294 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
11295
012d35f7
DM
112962011-02-28 Aurelien Jarno <aurelien@aurel32.net>
11297
7e4ba49c 11298 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
11299 __bzero_ultra1 instead of __memset_ultra1.
11300
4bff6e01
AS
113012011-02-23 Andreas Schwab <schwab@redhat.com>
11302 Ulrich Drepper <drepper@gmail.com>
11303
11304 [BZ #12509]
11305 * include/link.h (struct link_map): Add l_orig_initfini.
11306 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
11307 returning unsuccessfully.
11308 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
11309 close of a file loaded at startup, restore the original l_initfini
11310 list.
11311 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
11312 list, store the pointer.
11313 * elf/Makefile ($(objpfx)noload-mem): New rule.
11314 (noload-ENV): Define.
11315 (tests): Add $(objpfx)noload-mem.
11316 * elf/noload.c: Include <memcheck.h>.
11317 (main): Call mtrace. Close all opened handles.
11318
f2092faf
AS
113192011-02-17 Andreas Schwab <schwab@redhat.com>
11320
11321 [BZ #12454]
11322 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
11323 dependencies are missing.
11324
6c8a2e88
ST
113252011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
11326
f2092faf 11327 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
11328 Hurd needs munmap.
11329 * sysdeps/mach/hurd/ifreq.h: New file.
11330
84a42118
PB
113312011-01-27 Petr Baudis <pasky@suse.cz>
11332 Ulrich Drepper <drepper@gmail.com>
11333
071f805e 11334 [BZ 12445]#
84a42118
PB
11335 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
11336 to extend_alloca().
11337 * stdio-common/bug23.c: New file.
11338 * stdio-common/Makefile (tests): Add bug23.
11339
e23fe25b
AS
113402010-09-28 Andreas Schwab <schwab@redhat.com>
11341 Ulrich Drepper <drepper@gmail.com>
11342
11343 [BZ #12489]
11344 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
11345 before performing relro protection. At old place add assertion
11346 to make sure nothing changed.
11347
d3f02e10
NS
113482011-02-17 Nathan Sidwell <nathan@codesourcery.com>
11349 Glauber de Oliveira Costa <glommer@gmail.com>
11350
11351 * elf/elf.h: Add new ARM TLS relocs.
11352
d55fd7a5
RA
113532011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
11354
11355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11356 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
11357 cast from r3.
11358 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
11359 'tests' variable.
11360 * sysdeps/wordsize-64/tst-writev.c: New file.
11361
2206397e
RA
113622011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
11363
11364 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
11365 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
11366 insns in _dl_start to prevent a TOC reference before relocs are
11367 resolved.
11368
e9433893
UD
113692011-02-15 Ulrich Drepper <drepper@gmail.com>
11370
11371 [BZ #12469]
11372 * Makeconfig: Remove RANLIB definition.
11373 * Makerules: Don't use RANLIB.
11374 * aclocal.m4: Remove ranlib test.
11375 * configure.in: No need to check for ranlib.
11376 * elf/rtld-Rules: Don't use RANLIB.
11377
f75286c6
ST
113782011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11379
8e31c82d
ST
11380 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
11381 protection macro.
11382 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
11383 inclusion protection macro.
11384
f75286c6
ST
11385 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
11386 SIGRTMIN and SIGRTMAX and print information in that case only when
11387 SIGRTMIN is defined.
11388
c1d0e639
JJ
113892011-02-11 Jakub Jelinek <jakub@redhat.com>
11390
11391 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
11392 arginfo fn returning -1.
11393
11394 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
11395 and thousands string is zero terminated.
11396
edf9294e
AS
113972011-02-03 Andreas Schwab <schwab@redhat.com>
11398
11399 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
11400 sysdeps/unix/sysv/linux/bits/socket.h.
11401
2b7e92df
ST
114022011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
11403
edf9294e
AS
11404 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
11405 (__CPU_COUNT): Remove old macros.
11406 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
11407 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
11408 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
11409 (__sched_cpualloc, __sched_cpufree): Add declarations.
11410
a4c7ea7b
UD
114112011-02-05 Ulrich Drepper <drepper@gmail.com>
11412
11413 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
11414 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
11415 * nscd/aicache.c (addhstaiX): Return timeout of added value.
11416 (readdhstai): Return value of addhstaiX call.
11417 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
11418 (addgrbyX): Return value returned by cache_addgr.
11419 (readdgrbyname): Return value returned by addgrbyX.
11420 (readdgrbygid): Likewise.
11421 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
11422 (addpwbyX): Return value returned by cache_addpw.
11423 (readdpwbyname): Return value returned by addhstbyX.
11424 (readdpwbyuid): Likewise.
11425 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
11426 (addservbyX): Return value returned by cache_addserv.
11427 (readdservbyname): Return value returned by addservbyX:
11428 (readdservbyport): Likewise.
11429 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
11430 (addhstbyX): Return value returned by cache_addhst.
11431 (readdhstbyname): Return value returned by addhstbyX.
11432 (readdhstbyaddr): Likewise.
11433 (readdhstbynamev6): Likewise.
11434 (readdhstbyaddrv6): Likewise.
11435 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
11436 (readdinitgroups): Return value returned by addinitgroupsX.
11437 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
11438 (prune_cache): Keep track of timeout value of re-added entries.
11439 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
11440 * nscd/nscd.h: Adjust prototypes of readd* functions.
11441
a0bf67cc
RM
114422011-02-04 Roland McGrath <roland@redhat.com>
11443
11444 * nis/nis_server.c (nis_servstate): Use the right name for 0.
11445 (nis_stats): Likewise.
11446 * nis/nis_modify.c (nis_modify): Likewise.
11447 * nis/nis_remove.c (nis_remove): Likewise.
11448 * nis/nis_add.c (nis_add): Likewise.
11449
11450 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
11451
11452 * posix/fnmatch_loop.c: Add some consts.
11453
11454 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
11455
435b95eb
L
114562011-02-02 H.J. Lu <hongjiu.lu@intel.com>
11457
11458 [BZ #12460]
11459 * config.make.in (config-cflags-novzeroupper): Define.
11460 * configure.in: Substitute libc_cv_cc_novzeroupper.
11461 * elf/Makefile (AVX-CFLAGS): Define.
11462 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
11463 (CFLAGS-tst-auditmod4a.c): Likewise.
11464 (CFLAGS-tst-auditmod4b.c): Likewise.
11465 (CFLAGS-tst-auditmod6b.c): Likewise.
11466 (CFLAGS-tst-auditmod6c.c): Likewise.
11467 (CFLAGS-tst-auditmod7b.c): Likewise.
11468 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
11469
8517b15e
UD
114702011-02-02 Ulrich Drepper <drepper@gmail.com>
11471
11472 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
11473 function to the callback.
11474 Patch partly by Jiri Olsa <jolsa@redhat.com>.
11475
10a656fe
AS
114762011-02-02 Andreas Schwab <schwab@redhat.com>
11477
11478 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
11479 of errno.
11480
968dad0a
UD
114812011-01-19 Ulrich Drepper <drepper@gmail.com>
11482
9f94d2ea 11483 [BZ #11724]
968dad0a
UD
11484 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
11485 of constructors.
11486 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
11487 of destructors.
11488 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
11489
11490 [BZ #11724]
11491 * elf/Makefile: Add rules to build and run new test.
11492 * elf/tst-initorder.c: New file.
11493 * elf/tst-initorder.exp: New file.
11494 * elf/tst-initordera1.c: New file.
11495 * elf/tst-initordera2.c: New file.
11496 * elf/tst-initordera3.c: New file.
11497 * elf/tst-initordera4.c: New file.
11498 * elf/tst-initorderb1.c: New file.
11499 * elf/tst-initorderb2.c: New file.
11500 * elf/tst-order-a1.c: New file.
11501 * elf/tst-order-a2.c: New file.
11502 * elf/tst-order-a3.c: New file.
11503 * elf/tst-order-a4.c: New file.
11504 * elf/tst-order-b1.c: New file.
11505 * elf/tst-order-b2.c: New file.
11506 * elf/tst-order-main.c: New file.
11507 New test case by George Gensure <werkt0@gmail.com>.
11508
86e92359
UD
115092010-10-01 Andreas Schwab <schwab@redhat.com>
11510
11511 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11512 decoding ACE if AI_CANONIDN.
11513
5d5732b0
UD
115142011-01-18 Ulrich Drepper <drepper@gmail.com>
11515
11516 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
11517
a77e8cbc
UD
115182011-01-17 Ulrich Drepper <drepper@gmail.com>
11519
6392473f
UD
11520 * version.h (RELEASE): Bump for 2.13 release.
11521 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
11522
620a0529
UD
11523 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
11524
18ba70a5
UD
11525 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
11526 MADV_NOHUGEPAGE.
32465c3e
UD
11527 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
11528 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11529 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11530 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11531 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11532 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11533
c0dafcf1
UD
11534 * posix/getconf.c: Update copyright year.
11535 * catgets/gencat.c: Likewise.
11536 * csu/version.c: Likewise.
11537 * debug/catchsegv.sh: Likewise.
11538 * debug/xtrace.sh: Likewise.
11539 * elf/ldconfig.c: Likewise.
11540 * elf/ldd.bash.in: Likewise.
11541 * elf/sprof.c (print_version): Likewise.
11542 * iconv/iconv_prog.c: Likewise.
11543 * iconv/iconvconfig.c: Likewise.
11544 * locale/programs/locale.c: Likewise.
11545 * locale/programs/localedef.c: Likewise.
11546 * malloc/memusage.sh: Likewise.
11547 * malloc/mtrace.pl: Likewise.
11548 * nscd/nscd.c (print_version): Likewise.
11549 * nss/getent.c: Likewise.
11550
a77e8cbc
UD
11551 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
11552 PF_CAIF, and PF_ALG.
11553 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11554
77e8bddf
AS
115552011-01-16 Andreas Schwab <schwab@linux-m68k.org>
11556
1f20b93a
AS
11557 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
11558 (modules-names): Use them.
11559 (ifunc-test-modules, ifunc-pie-tests): Define.
11560 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
11561 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
11562 (test-extras): Likewise.
11563 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
11564 $(compile-command.c).
11565 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
11566 (all-built-dso): Define.
11567 (check-textrel.out, check-execstack.out): Depend on it.
11568
77e8bddf
AS
11569 * configure.in: Don't override --enable-multi-arch.
11570
bc425b33
UD
115712011-01-15 Ulrich Drepper <drepper@gmail.com>
11572
11573 [BZ #6812]
11574 * nscd/hstcache.c (tryagain): Define.
11575 (cache_addhst): Return tryagain not notfound for temporary errors.
11576 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
11577 failed.
11578
794c3ad3
UD
115792011-01-14 Ulrich Drepper <drepper@gmail.com>
11580
70181fdd
UD
11581 [BZ #10563]
11582 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
11583 to make the syscall.
11584 * sysdeps/unix/sysv/linux/setgroups.c: New file.
11585
794c3ad3
UD
11586 [BZ #12378]
11587 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
11588 and fall back to matching as normal character if the string ends before
11589 the matching ']' is found. This is what POSIX requires.
11590 * posix/testfnm.c: Adjust test result.
11591 * posix/globtest.sh: Adjust test result. Add new test.
11592 * posix/tst-fnmatch.input: Likewise.
11593 * posix/tst-fnmatch2.c: Add new test.
11594
68dc9497
AS
115952010-12-28 Andreas Schwab <schwab@linux-m68k.org>
11596
11597 * elf/Makefile (check-execstack): Revert last change. Depend on
11598 check-execstack.h.
11599 (check-execstack.h): New target.
11600 (generated): Add check-execstack.h.
11601 * elf/check-execstack.c: Include "check-execstack.h".
11602 (main): Revert last change.
11603 (handle_file): Return zero if GNU_STACK is absent and
11604 DEFAULT_STACK_PERMS doesn't include PF_X.
11605
451f001b
UD
116062011-01-13 Ulrich Drepper <drepper@gmail.com>
11607
cfa28e56
UD
11608 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
11609 in child fails because the descriptor is already closed.
8cf8ce17
UD
11610 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
11611 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
11612 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 11613
1086d70d
UD
11614 [BZ #12397]
11615 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
11616 syscall.
11617
451f001b
UD
11618 [BZ #10484]
11619 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
11620 temporary buffer used to handle multi lookups locally.
a85b5cb4 11621 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 11622
08769175
UD
116232011-01-12 Ulrich Drepper <drepper@gmail.com>
11624
11625 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
11626 loader is ld.so.
11627
5e49c52e
UD
116282011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
11629
11630 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
11631 alignment for SSE2.
11632
60522a5f
UD
116332011-01-12 Ulrich Drepper <drepper@gmail.com>
11634
11635 [BZ #12394]
11636 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
11637 characters. When rounding increased number of integer digits recompute
11638 number of groups.
11639 * stdio-common/tst-grouping.c: New file.
11640 * stdio-common/Makefile: Add rules to build and run tst-grouping.
11641
f257bbd7
UD
116422011-01-09 Ulrich Drepper <drepper@gmail.com>
11643
11644 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
11645 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
11646
11647 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
11648 void.
11649 * bits/select.h: Likewise.
11650
fa9c15cb
UD
116512011-01-08 Ulrich Drepper <drepper@gmail.com>
11652
11653 * po/ja.po: Update from translation team.
11654
16c2895f
DM
116552011-01-04 David S. Miller <davem@sunset.davemloft.net>
11656
11657 [BZ #11155]
11658 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
11659 implementation just like for lxstat, fxstatat, et al.
11660
2543fef2
JM
116612010-12-27 Jim Meyering <meyering@redhat.com>
11662
11663 [BZ #12348]
11664 * posix/regexec.c (build_trtable): Return failure indication upon
11665 calloc failure. Otherwise, re_search_internal could infloop on OOM.
11666
98727dbe
UD
116672010-12-25 Ulrich Drepper <drepper@gmail.com>
11668
5bd6dc5c
UD
11669 [BZ #12201]
11670 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
11671 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
11672 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
11673 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
11674
97983464
UD
11675 [BZ #12207]
11676 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
11677
98727dbe
UD
11678 [BZ #12204]
11679 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
11680 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
11681
4a531bb0
L
116822010-12-15 H.J. Lu <hongjiu.lu@intel.com>
11683
11684 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
11685 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
11686 script has SORT_BY_INIT_PRIORITY.
11687 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
11688 NO_CTORS_DTORS_SECTIONS is defined.
11689 * elf/soinit.c: Likewise.
11690 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
11691 NO_CTORS_DTORS_SECTIONS is defined.
11692 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
11693 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
11694 * sysdeps/sh/init-first.c: Likewise.
11695 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
11696
07eb4b71
UD
116972010-12-24 Ulrich Drepper <drepper@gmail.com>
11698
11699 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
11700 always use the slow path.
11701
30950a5f
RA
117022010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
11703
11704 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
11705 similar rule which adds the sysdep directories to the header search in
11706 order to pick up the correct platform stackinfo.h.
11707 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
11708 perform test if it is, otherwise return successfully without testing.
11709 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
11710 DEFAULT_STACK_PERMS define in stackinfo.h.
11711 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
11712 defined in stackinfo.h.
11713 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
11714 DEFAULT_STACK_PERMS defined in stackinfo.h.
11715 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
11716 * sysdeps/ia64/stackinfo.h: Likewise.
11717 * sysdeps/s390/stackinfo.h: Likewise.
11718 * sysdeps/sh/stackinfo.h: Likewise.
11719 * sysdeps/sparc/stackinfo.h: Likewise.
11720 * sysdeps/x86_64/stackinfo.h: Likewise.
11721 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
11722 PF_X for powerpc64. Retain PF_X for powerpc32.
11723
db753e2c
UD
117242010-12-19 Ulrich Drepper <drepper@gmail.com>
11725
14b697f7
UD
11726 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
11727 accurately.
db753e2c
UD
11728 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
11729 GETDENTS_64BIT_ALIGNED.
11730
28300719
UD
117312010-12-14 Ulrich Drepper <dreper@gmail.com>
11732
14b697f7 11733 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 11734
4f197237
AS
117352010-12-10 Andreas Schwab <schwab@redhat.com>
11736
dbb0472f
AS
11737 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
11738 _GNU_SOURCE.
11739
4f197237
AS
11740 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
11741 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
11742 Remove __restrict.
11743 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
11744 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
11745
fb88ac72
UD
117462010-12-09 Ulrich Drepper <drepper@gmail.com>
11747
11748 [BZ #11655]
11749 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
11750 are initialized.
11751
42acbb92
JJ
117522010-12-09 Jakub Jelinek <jakub@redhat.com>
11753
11754 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
11755
c038d98d
UD
117562010-12-03 Ulrich Drepper <drepper@gmail.com>
11757
11758 * po/it.po: Update from translation team.
11759
3a4a2499
L
117602010-12-01 H.J. Lu <hongjiu.lu@intel.com>
11761
11762 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
11763 unused codes.
11764
1e24cf6e
UD
117652010-11-30 Ulrich Drepper <drepper@gmail.com>
11766
11767 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
11768
a7690819
AS
117692010-11-24 Andreas Schwab <schwab@redhat.com>
11770
11771 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
11772 specially.
11773 (gaih_getanswer_slice): Likewise.
11774
3bf8d1b1
JJ
117752010-10-20 Jakub Jelinek <jakub@redhat.com>
11776
11777 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
11778
6db52fbb
PB
117792010-05-31 Petr Baudis <pasky@suse.cz>
11780
11781 [BZ #11149]
11782 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
11783 silently even in the chroot mode.
11784
eaca7569
UD
117852010-11-22 Ulrich Drepper <drepper@gmail.com>
11786
11787 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
11788 last patch a bit. Pretty printing
11789
3056dcdb
UD
117902010-05-31 Petr Baudis <pasky@suse.cz>
11791
11792 [BZ #10085]
11793 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
11794 initialization of skip_initgroups_dyn.
11795
cf7c9078
UD
117962010-11-19 Ulrich Drepper <drepper@gmail.com>
11797
11798 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
11799 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11800
a1fb5e3e
UD
118012010-11-16 Ulrich Drepper <drepper@gmail.com>
11802
11803 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
11804
3540d66b
AS
118052010-11-11 Andreas Schwab <schwab@redhat.com>
11806
11807 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
11808 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
11809 (tst-fnmatch-ENV): Set MALLOC_TRACE.
11810 ($(objpfx)tst-fnmatch-mem): New rule.
11811 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
11812 * posix/tst-fnmatch.c (main): Call mtrace.
11813
13b69574
L
118142010-11-11 H.J. Lu <hongjiu.lu@intel.com>
11815
11816 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11817 Support Intel processor model 6 and model 0x2c.
11818
da93d214
LM
118192010-11-10 Luis Machado <luisgpm@br.ibm.com>
11820
11821 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
11822 signed comparison.
11823
8ca52c6e
L
118242010-11-09 H.J. Lu <hongjiu.lu@intel.com>
11825
11826 [BZ #12205]
11827 * string/test-strncasecmp.c (check_result): New function.
11828 (do_one_test): Use it.
11829 (check1): New function.
11830 (test_main): Use it.
11831 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
11832 Support strcasecmp and strncasecmp.
11833
69da074d
UD
118342010-11-08 Ulrich Drepper <drepper@gmail.com>
11835
11836 [BZ #12194]
11837 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
11838 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11839
ff02d528
L
118402010-11-07 H.J. Lu <hongjiu.lu@intel.com>
11841
11842 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
11843 IFUNC support.
11844 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11845 memset-x86-64.
11846 * sysdeps/x86_64/multiarch/bzero.S: New file.
11847 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
11848 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
11849 * sysdeps/x86_64/multiarch/memset.S: New file.
11850 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
11851 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11852 Set bit_Prefer_SSE_for_memop for Intel processors.
11853 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
11854 Define.
11855 (index_Prefer_SSE_for_memop): Define.
11856 (HAS_PREFER_SSE_FOR_MEMOP): Define.
11857
344d0b54
LM
118582010-11-04 Luis Machado <luisgpm@br.ibm.com>
11859
11860 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
11861 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
11862
c0dde15b
UD
118632010-11-03 H.J. Lu <hongjiu.lu@intel.com>
11864
11865 [BZ #12191]
11866 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11867 (__x86_64_raw_data_cache_size_half): Likewise.
11868 (__x86_64_raw_shared_cache_size): Likewise.
11869 (__x86_64_raw_shared_cache_size_half): Likewise.
11870
11871 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11872 (__x86_64_raw_data_cache_size_half): Likewise.
11873 (__x86_64_raw_shared_cache_size): Likewise.
11874 (__x86_64_raw_shared_cache_size_half): Likewise.
11875 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
11876 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
11877 and __x86_64_raw_shared_cache_size_half. Round
11878 __x86_64_data_cache_size_half, __x86_64_data_cache_size
11879 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
11880 to multiple of 256 bytes.
11881
0e516e0e
MS
118822010-11-03 Ulrich Drepper <drepper@gmail.com>
11883
11884 [BZ #12167]
11885 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
11886 of inacessible symlinks. Verify result of symlink before returning it.
11887 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11888 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
11889
0e012e87
ER
118902010-10-28 Erich Ritz <erichritz@gmail.com>
11891
11892 * math/math.h (isinf): Fix typo in comment.
11893
de0ff7bc
UD
118942010-11-01 Ulrich Drepper <drepper@gmail.com>
11895
11896 * po/da.po: Update from translation team.
11897
fa41c84d
UD
118982010-10-26 Ulrich Drepper <drepper@gmail.com>
11899
11900 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
11901 is added to the list.
11902
f0967738
AK
119032010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11904 Ulrich Drepper <drepper@gmail.com>
11905
11906 * elf/dl-object.c (_dl_new_object): Don't append the new object to
11907 the global list here. Move code to...
11908 (_dl_add_to_namespace_list): ...here. New function.
11909 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
11910 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
11911 * elf/dl-load.c (lose): Don't remove the element from the list.
11912 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
11913 (_dl_map_object): Likewise.
11914
119152010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
11916
11917 [BZ #12159]
11918 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
11919 into all bytes of SSE register.
11920 Patch by Richard Li <richardpku@gmail.com>.
11921
f0967738 119222010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
11923
11924 [BZ #12140]
11925 * malloc/malloc.c (_int_free): Fill correct number of bytes when
11926 perturbing.
11927
d0b9e94f
MB
119282010-10-20 Michael B. Brutman <brutman@us.ibm.com>
11929
11930 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
11931 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
11932 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
11933 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
11935 submachine.
11936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11937
8e9f92e9
AS
119382010-10-22 Andreas Schwab <schwab@redhat.com>
11939
11940 * include/dlfcn.h (__RTLD_SECURE): Define.
11941 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
11942 mode & __RTLD_SECURE instead.
11943 (open_path): Rename preloaded parameter to secure.
11944 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
11945 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
11946 * elf/dl-deps.c (openaux): Likewise.
11947 * elf/rtld.c (struct map_args): Remove is_preloaded.
11948 (map_doit): Don't use it.
11949 (dl_main): Likewise.
11950 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
11951 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
11952
bc96fbda
AS
119532010-09-09 Andreas Schwab <schwab@redhat.com>
11954
11955 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
11956 (sysd-rules-targets): Remove duplicates.
11957 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
11958 rtld-%.$o dependency.
11959
22cd1c9b
AS
119602010-10-18 Andreas Schwab <schwab@redhat.com>
11961
11962 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
11963 _dl_map_object do it.
11964
18edac48
UD
119652010-10-19 Ulrich Drepper <drepper@gmail.com>
11966
11967 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
11968 fast fma builtins, define the macros in the C99 standard.
11969 (FP_FAST_FMAF): Likewise.
11970 (FP_FAST_FMAL): Likewise.
11971 * sysdeps/x86_64/bits/mathdef.h: Likewise.
11972
11973 * bits/mathdef.h: Update copyright year.
11974 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11975
d2050124
MM
119762010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
11977
11978 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
11979 builtins, define the macros in the C99 standard.
11980 (FP_FAST_FMAF): Likewise.
11981 (FP_FAST_FMAL): Likewise.
11982 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
11983 multiply/add.
11984 (FP_FAST_FMAF): Likewise.
11985
475facd1
JJ
119862010-10-15 Jakub Jelinek <jakub@redhat.com>
11987
11988 [BZ #3268]
11989 * math/libm-test.inc (fma_test): Some new testcases.
11990 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
11991 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
11992 y and infinite z. Do multiplication by C already in long double.
11993 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
11994 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
11995 y and infinite z. Do bitwise or of inexact bit into u.d.
11996 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
11997 * sysdeps/i386/fpu/s_fmaf.S: Removed.
11998 * sysdeps/i386/fpu/s_fma.S: Removed.
11999 * sysdeps/i386/fpu/s_fmal.S: Removed.
12000
7c08a05c
JJ
120012010-10-16 Jakub Jelinek <jakub@redhat.com>
12002
12003 [BZ #3268]
12004 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12005 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12006 computation is not scheduled after fetestexcept. Fix value
12007 of minimum denormal long double.
12008
f3f7372d
JJ
120092010-10-14 Jakub Jelinek <jakub@redhat.com>
12010
12011 [BZ #3268]
12012 * math/libm-test.inc (fma_test): Add some more tests.
12013 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12014 correctly.
12015
14d43591
AS
120162010-10-15 Andreas Schwab <schwab@redhat.com>
12017
12018 * scripts/data/localplt-s390-linux-gnu.data: New file.
12019 * scripts/data/localplt-s390x-linux-gnu.data: New file.
12020
5e908464
JJ
120212010-10-13 Jakub Jelinek <jakub@redhat.com>
12022
12023 [BZ #3268]
12024 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12025 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12026 instead of dbl-64.
12027 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12028 inlines.
12029 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12030 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12031 if one of x and y is very large and the other is subnormal.
12032 * sysdeps/s390/fpu/s_fmaf.c: New file.
12033 * sysdeps/s390/fpu/s_fma.c: New file.
12034 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12035 * sysdeps/powerpc/fpu/s_fma.S: New file.
12036 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12037 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12038 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12039
120402010-10-12 Jakub Jelinek <jakub@redhat.com>
12041
12042 [BZ #3268]
12043 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12044 fma tests.
12045 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12046 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12047 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12048 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12049 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12050 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12051 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12052
b833d51f
UD
120532010-10-12 Ulrich Drepper <drepper@redhat.com>
12054
12055 [BZ #12078]
12056 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12057 * posix/bug-regex31.input: Add test case.
12058
1751705d
UD
120592010-10-11 Ulrich Drepper <drepper@gmail.com>
12060
e9b9cbf5
UD
12061 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12062 * posix/bug-regex31.input: New file.
12063
12064 [BZ #12078]
12065 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12066 (parse_sub_exp): Fix last change, use postorder.
12067
ef06edbe
UD
12068 * posix/bug-regex31.c: New file.
12069 * posix/Makefile: Add rules to build and run bug-regex31.
12070
a129c80d
UD
12071 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12072
12073 [BZ #12078]
12074 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12075
b76b818e
UD
12076 [BZ #12108]
12077 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12078 to have entries in sys_siglist.
12079
1751705d
UD
12080 [BZ #12093]
12081 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12082 be NULL.
12083
9ff8d36f
JJ
120842010-10-07 Jakub Jelinek <jakub@redhat.com>
12085
12086 [BZ #3268]
12087 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12088 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12089 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12090 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12091 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12092 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12093 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12094 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12095 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12096 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12097 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12098 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12099 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12100 * math/ftestexcept.c (fetestexcept): Likewise.
12101 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12102 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12103 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12104 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12105 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12106 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12107 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12108
af325969
UD
121092010-10-11 Ulrich Drepper <drepper@gmail.com>
12110
c579b202 12111 [BZ #12107]
af325969
UD
12112 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12113 newline.
12114
67a67b95
UD
121152010-10-06 Ulrich Drepper <drepper@gmail.com>
12116
12117 * string/bug-strstr1.c: New file.
12118 * string/Makefile: Add rules to build and run bug-strstr1.
12119
5fb308bc
EB
121202010-10-05 Eric Blake <eblake@redhat.com>
12121
12122 [BZ #12092]
12123 * string/str-two-way.h (two_way_long_needle): Always clear memory
12124 when skipping input due to the shift table.
12125
45db99c7
UD
121262010-10-03 Ulrich Drepper <drepper@gmail.com>
12127
3b111893
UD
12128 [BZ #12005]
12129 * malloc/mcheck.c: Handle large requests.
12130
45db99c7
UD
12131 [BZ #12077]
12132 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12133 for strncmp and strncasecmp.
12134 * string/stratcliff.c: Add tests for strcmp and strncmp.
12135 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12136
cf7a1eb8
NI
121372010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12138
12139 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12140 __set_fpscr.
12141
6484ba5e
AJ
121422010-09-30 Andreas Jaeger <aj@suse.de>
12143
12144 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12145 (CGROUP_SUPER_MAGIC): Define.
12146 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12147 Handle btrfs and cgroup file systems.
12148 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12149 Likewise.
12150
91c42559
LM
121512010-09-27 Luis Machado <luisgpm@br.ibm.com>
12152
12153 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12154 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12155
87a97932
AK
121562010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12157
12158 [BZ #12067]
12159 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12160 trying to locate the ELF header.
12161
c21cc9bc
AS
121622010-09-27 Andreas Schwab <schwab@redhat.com>
12163
12164 [BZ #11611]
12165 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12166 Mask out sign-bit copies when constructing f_fsid.
12167
315970f6
PB
121682010-09-24 Petr Baudis <pasky@suse.cz>
12169
12170 * debug/stack_chk_fail_local.c: Add missing licence exception.
12171 * debug/warning-nop.c: Likewise.
12172
1ac7a2c7
JM
121732010-09-15 Joseph Myers <joseph@codesourcery.com>
12174
12175 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12176 implementing getdents64 using getdents syscall, set d_type if
12177 __ASSUME_GETDENTS32_D_TYPE.
12178
56801c50
AS
121792010-09-16 Andreas Schwab <schwab@redhat.com>
12180
12181 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12182 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12183
dda51327
UD
121842010-09-21 Ulrich Drepper <drepper@redhat.com>
12185
12186 [BZ #12037]
12187 * posix/unistd.h: Undo change of feature selection for ftruncate from
12188 2010-01-11.
12189
8ffcee4a
UD
121902010-09-20 Ulrich Drepper <drepper@redhat.com>
12191
a545ecd9 12192 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
12193 detection.
12194
e24f0a8b
AS
121952010-09-20 Andreas Schwab <schwab@redhat.com>
12196
12197 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12198 fanotify_mark.
12199 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12200
7291c56f
AS
122012010-09-14 Andreas Schwab <schwab@redhat.com>
12202
12203 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12204 variables after CHECK_SP call.
12205 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12206
bc5fb037
AS
122072010-09-13 Andreas Schwab <schwab@redhat.com>
12208 Ulrich Drepper <drepper@redhat.com>
12209
12210 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12211 re-relocationg ld.so.
12212 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12213 _dl_init_paths call.
12214 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
12215 here anymore.
12216
e66e7419
UD
122172010-09-14 Ulrich Drepper <drepper@redhat.com>
12218
12219 * resolv/res_init.c (__res_vinit): Count the default server we added.
12220
c044aa75
CLT
122212010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
12222 Ulrich Drepper <drepper@redhat.com>
12223
12224 [BZ #11968]
12225 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12226 (____longjmp_chk): Use %ebx for saving value across system call.
12227 Add unwind info.
12228
32cf4069
AS
122292010-09-06 Andreas Schwab <schwab@redhat.com>
12230
12231 * manual/Makefile: Don't mix pattern rules with normal rules.
12232
817328ee
AS
122332010-09-05 Andreas Schwab <schwab@linux-m68k.org>
12234
12235 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12236 operation.
12237 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12238 * libio/iofopncook.c (_IO_cookie_init): Likewise.
12239 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12240 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12241 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12242 Likewise.
12243
29fddf61
UD
122442010-09-04 Ulrich Drepper <drepper@redhat.com>
12245
12246 [BZ #11979]
12247 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12248 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12249
0959ffc9
UD
122502010-09-02 Ulrich Drepper <drepper@redhat.com>
12251
12252 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12253 * sysdeps/x86_64/addmul_1.S: Likewise.
12254 * sysdeps/x86_64/lshift.S: Likewise.
12255 * sysdeps/x86_64/mul_1.S: Likewise.
12256 * sysdeps/x86_64/rshift.S: Likewise.
12257 * sysdeps/x86_64/sub_n.S: Likewise.
12258 * sysdeps/x86_64/submul_1.S: Likewise.
12259
ece29840
ST
122602010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
12261
0959ffc9
UD
12262 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12263 Define __sched_param instead of SCHED_* and sched_param when
ece29840 12264 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 12265 * bits/sched.h [__need_schedparam]
ece29840 12266 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
12267 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12268 (__defined_schedparam): Define to 1.
ece29840
ST
12269 (__sched_param): New structure, identical to sched_param.
12270 (__need_schedparam): Undefine.
12271
e53a31fe
MF
122722010-08-31 Mike Frysinger <vapier@gentoo.org>
12273
fdc0c10d
MF
12274 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12275 (epoll_create1): Declare.
12276
e53a31fe
MF
12277 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12278
a726d796
AS
122792010-08-31 Andreas Schwab <schwab@redhat.com>
12280
12281 [BZ #7066]
12282 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
12283 shifting retval into place.
12284
2f3e3dc7
UD
122852010-09-01 Ulrich Drepper <drepper@redhat.com>
12286
f2933da9
UD
12287 * nis/rpcsvc/nis.h: Update copyright notice.
12288 * nis/rpcsvc/nis.x: Likewise.
12289 * nis/rpcsvc/nis_callback.h: Likewise.
12290 * nis/rpcsvc/nis_callback.x: Likewise.
12291 * nis/rpcsvc/nis_object.x: Likewise.
12292 * nis/rpcsvc/nis_tags.h: Likewise.
12293 * nis/rpcsvc/yp.h: Likewise.
12294 * nis/rpcsvc/yp.x: Likewise.
12295 * nis/rpcsvc/ypupd.h: Likewise.
12296 * nis/yp_xdr.c: Likewise.
12297 * nis/ypupdate_xdr.c: Likewise.
12298
2f3e3dc7
UD
12299 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
12300 mainly the body of pmap_getport. Add parameters to specify timeouts.
12301 (pmap_getport): Use __libc_rpc_getport.
12302 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
12303 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
12304 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
12305
f3dcc2f9
AS
123062010-08-31 Andreas Schwab <schwab@linux-m68k.org>
12307
12308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
12309 fanotify_mark.
12310
6d34eb5b
RM
123112010-08-27 Roland McGrath <roland@redhat.com>
12312
12313 * sysdeps/i386/i686/multiarch/Makefile
12314 (CFLAGS-varshift.c): New variable.
12315
9ea3de11
UD
123162010-08-27 Ulrich Drepper <drepper@redhat.com>
12317
c96d23fc
UD
12318 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
12319 * sysdeps/i386/i686/multiarch/varshift.c: New file.
12320
9ea3de11
UD
12321 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
12322
12323 * sysdeps/x86_64/strlen.S: Minimal code improvement.
12324
623aac7f
L
123252010-08-26 H.J. Lu <hongjiu.lu@intel.com>
12326
12327 * sysdeps/x86_64/strlen.S: Unroll the loop.
12328 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12329 strlen-sse2 strlen-sse2-bsf.
12330 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
12331 __strlen_no_bsf if bit_Slow_BSF is set.
12332 (__strlen_sse42): Removed.
12333 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
12334 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
12335
8b2b7715
RM
123362010-08-25 Roland McGrath <roland@redhat.com>
12337
12338 * sysdeps/x86_64/multiarch/varshift.S: File removed.
12339 * sysdeps/x86_64/multiarch/varshift.c: New file.
12340 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
12341 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
12342 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
12343 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12344
e73015f2
L
123452010-08-25 H.J. Lu <hongjiu.lu@intel.com>
12346
12347 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12348 strlen-sse2 strlen-sse2-bsf.
12349 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
12350 __strlen_sse2_bsf if bit_Slow_BSF is unset.
12351 (__strlen_sse2): Removed.
12352 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
12353 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
12354 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12355 bit_Slow_BSF for Atom.
12356 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
12357 (index_Slow_BSF): Define.
12358 (HAS_SLOW_BSF): Define.
12359
df24a73e
UD
123602010-08-25 Ulrich Drepper <drepper@redhat.com>
12361
12362 [BZ #10851]
12363 * resolv/res_init.c (__res_vinit): When no server address at all
12364 is given default to loopback.
12365
f2ac4868
RM
123662010-08-24 Roland McGrath <roland@redhat.com>
12367
09055553
RM
12368 * configure.in: Remove config-name.h generation.
12369 * configure: Regenerated.
12370 * config-name.in: File removed.
12371 * scripts/config-uname.sh: New file.
12372 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
12373 ($(objdir)config-name.h): New target.
12374
f2ac4868
RM
12375 * sunrpc/rpc_parse.h: Avoid nested comment.
12376
73f27d5e
RH
123772010-08-24 Richard Henderson <rth@redhat.com>
12378 Ulrich Drepper <drepper@redhat.com>
12379 H.J. Lu <hongjiu.lu@intel.com>
12380
12381 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
12382 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
12383 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
12384 Replace _mm_srli_si128 with __m128i_shift_right. Replace
12385 _mm_alignr_epi8 with _mm_loadu_si128.
12386 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
12387 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
12388 (__m128i_shift_right): Removed.
12389 * sysdeps/i386/i686/multiarch/varshift.h: New file.
12390 * sysdeps/i386/i686/multiarch/varshift.S: New file.
12391 * sysdeps/x86_64/multiarch/varshift.h: New file.
12392 * sysdeps/x86_64/multiarch/varshift.S: New file.
12393
84b9230c
MF
123942010-08-21 Mike Frysinger <vapier@gentoo.org>
12395
12396 * configure.in: Move assembler checks to before sysdep dir checking.
12397
9bbd0ddc
PB
123982010-08-20 Petr Baudis <pasky@suse.cz>
12399
12400 * LICENSES: Sync the sunrpc license.
12401
9da4bb31
UD
124022010-08-19 Ulrich Drepper <drepper@redhat.com>
12403
a7ab6ec8
UD
12404 * sunrpc/auth_des.c: Update copyright notice once again.
12405 * sunrpc/auth_none.c: Likewise.
12406 * sunrpc/auth_unix.c: Likewise.
12407 * sunrpc/authdes_prot.c: Likewise.
12408 * sunrpc/authuxprot.c: Likewise.
12409 * sunrpc/bindrsvprt.c: Likewise.
12410 * sunrpc/clnt_gen.c: Likewise.
12411 * sunrpc/clnt_perr.c: Likewise.
12412 * sunrpc/clnt_raw.c: Likewise.
12413 * sunrpc/clnt_simp.c: Likewise.
12414 * sunrpc/clnt_tcp.c: Likewise.
12415 * sunrpc/clnt_udp.c: Likewise.
12416 * sunrpc/clnt_unix.c: Likewise.
12417 * sunrpc/des_crypt.c: Likewise.
12418 * sunrpc/des_soft.c: Likewise.
12419 * sunrpc/get_myaddr.c: Likewise.
12420 * sunrpc/getrpcport.c: Likewise.
12421 * sunrpc/key_call.c: Likewise.
12422 * sunrpc/key_prot.c: Likewise.
12423 * sunrpc/openchild.c: Likewise.
12424 * sunrpc/pm_getmaps.c: Likewise.
12425 * sunrpc/pm_getport.c: Likewise.
12426 * sunrpc/pmap_clnt.c: Likewise.
12427 * sunrpc/pmap_prot.c: Likewise.
12428 * sunrpc/pmap_prot2.c: Likewise.
12429 * sunrpc/pmap_rmt.c: Likewise.
12430 * sunrpc/rpc/auth.h: Likewise.
12431 * sunrpc/rpc/auth_unix.h: Likewise.
12432 * sunrpc/rpc/clnt.h: Likewise.
12433 * sunrpc/rpc/des_crypt.h: Likewise.
12434 * sunrpc/rpc/key_prot.h: Likewise.
12435 * sunrpc/rpc/netdb.h: Likewise.
12436 * sunrpc/rpc/pmap_clnt.h: Likewise.
12437 * sunrpc/rpc/pmap_prot.h: Likewise.
12438 * sunrpc/rpc/pmap_rmt.h: Likewise.
12439 * sunrpc/rpc/rpc.h: Likewise.
12440 * sunrpc/rpc/rpc_des.h: Likewise.
12441 * sunrpc/rpc/rpc_msg.h: Likewise.
12442 * sunrpc/rpc/svc.h: Likewise.
12443 * sunrpc/rpc/svc_auth.h: Likewise.
12444 * sunrpc/rpc/types.h: Likewise.
12445 * sunrpc/rpc/xdr.h: Likewise.
12446 * sunrpc/rpc_clntout.c: Likewise.
12447 * sunrpc/rpc_cmsg.c: Likewise.
12448 * sunrpc/rpc_common.c: Likewise.
12449 * sunrpc/rpc_cout.c: Likewise.
12450 * sunrpc/rpc_dtable.c: Likewise.
12451 * sunrpc/rpc_hout.c: Likewise.
12452 * sunrpc/rpc_main.c: Likewise.
12453 * sunrpc/rpc_parse.c: Likewise.
12454 * sunrpc/rpc_parse.h: Likewise.
12455 * sunrpc/rpc_prot.c: Likewise.
12456 * sunrpc/rpc_sample.c: Likewise.
12457 * sunrpc/rpc_scan.c: Likewise.
12458 * sunrpc/rpc_scan.h: Likewise.
12459 * sunrpc/rpc_svcout.c: Likewise.
12460 * sunrpc/rpc_tblout.c: Likewise.
12461 * sunrpc/rpc_util.c: Likewise.
12462 * sunrpc/rpc_util.h: Likewise.
12463 * sunrpc/rpcinfo.c: Likewise.
12464 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
12465 * sunrpc/rpcsvc/key_prot.x: Likewise.
12466 * sunrpc/rpcsvc/klm_prot.x: Likewise.
12467 * sunrpc/rpcsvc/mount.x: Likewise.
12468 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
12469 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
12470 * sunrpc/rpcsvc/rex.x: Likewise.
12471 * sunrpc/rpcsvc/rstat.x: Likewise.
12472 * sunrpc/rpcsvc/rusers.x: Likewise.
12473 * sunrpc/rpcsvc/sm_inter.x: Likewise.
12474 * sunrpc/rpcsvc/spray.x: Likewise.
12475 * sunrpc/rpcsvc/yppasswd.x: Likewise.
12476 * sunrpc/rtime.c: Likewise.
12477 * sunrpc/svc.c: Likewise.
12478 * sunrpc/svc_auth.c: Likewise.
12479 * sunrpc/svc_authux.c: Likewise.
12480 * sunrpc/svc_raw.c: Likewise.
12481 * sunrpc/svc_run.c: Likewise.
12482 * sunrpc/svc_simple.c: Likewise.
12483 * sunrpc/svc_tcp.c: Likewise.
12484 * sunrpc/svc_udp.c: Likewise.
12485 * sunrpc/svc_unix.c: Likewise.
12486 * sunrpc/svcauth_des.c: Likewise.
12487 * sunrpc/xcrypt.c: Likewise.
12488 * sunrpc/xdr.c: Likewise.
12489 * sunrpc/xdr_array.c: Likewise.
12490 * sunrpc/xdr_float.c: Likewise.
12491 * sunrpc/xdr_mem.c: Likewise.
12492 * sunrpc/xdr_rec.c: Likewise.
12493 * sunrpc/xdr_ref.c: Likewise.
12494 * sunrpc/xdr_sizeof.c: Likewise.
12495 * sunrpc/xdr_stdio.c: Likewise.
12496
9da4bb31
UD
12497 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
12498 handling.
12499
bdaa77bc
AS
125002010-08-19 Andreas Schwab <schwab@redhat.com>
12501
12502 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
12503
fe2f79db
LM
125042010-08-19 Luis Machado <luisgpm@br.ibm.com>
12505
12506 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
12507 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
12508 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
12509 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
12510 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
12511 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
12512 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
12513 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
12514 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
12515 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
12516 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
12517 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
12518 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
12519 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
12520
b9b42ee0
AB
125212010-07-26 Anton Blanchard <anton@samba.org>
12522
12523 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
12524 * malloc/arena.c (heap_trim): Likewise.
12525
1c06ba31
UD
125262010-08-16 Ulrich Drepper <drepper@redhat.com>
12527
12528 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
12529 here. Not...
12530 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
12531 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
12532
f8392f40
L
125332010-08-12 H.J. Lu <hongjiu.lu@intel.com>
12534
12535 * sysdeps/i386/elf/Makefile: New file.
12536
3162f12e
AS
125372010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12538
12539 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
12540 from fanotify_init.
12541 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12542 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12543
28c90b2c
UD
125442010-08-15 Ulrich Drepper <drepper@redhat.com>
12545
12546 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
12547 of strncasecmp_l.
1feccb6c 12548 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 12549
ca6bb004
UD
125502010-08-14 Ulrich Drepper <drepper@redhat.com>
12551
e9f82e0d
UD
12552 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12553 strncase_l-nonascii.
12554 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12555 Add strncase_l-ssse3.
12556 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
12557 * sysdeps/x86_64/strcmp.S: Likewise.
12558 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
12559 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
12560 * sysdeps/x86_64/strncase.S: New file.
12561 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
12562 * sysdeps/x86_64/strncase_l.S: New file.
12563 * string/Makefile (strop-tests): Add strncasecmp.
12564 * string/test-strncasecmp.c: New file.
12565
12566 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
12567 warning.
12568
ca6bb004
UD
12569 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
12570 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
12571
052fa7b3
AS
125722010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12573
12574 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
12575
962dba78
UD
125762010-08-12 Ulrich Drepper <drepper@redhat.com>
12577
12578 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
12579 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
12580 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
12581
bebff237
AM
125822010-05-01 Alan Modra <amodra@gmail.com>
12583
12584 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
12585 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
12586 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
12587 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
12588 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
12589 tidying. Don't tail-call __sigjmp_save for static lib.
12590 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
12591 save location.
12592 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
12593 (CALL_MCOUNT): Add eh info, and nop after bl.
12594 (TAIL_CALL_SYSCALL_ERROR): New macro.
12595 (PSEUDO_RET): Use it.
12596 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12597 Correct save location of integer regs and cr.
12598 (_dl_profile_resolve): Correct cr save location. Delete nops
12599 after bl when SHARED. Reduce cfi size a little by better
12600 placement of cfi directives.
12601 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
12602 make a stack frame. Instead use parm save area as a temp.
12603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
12604 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
12605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12606 Don't make a stack frame for parent, use parm save area.
12607 Increase child stack frame to 112 bytes. Don't save unused reg,
12608 and adjust reg usage. Set up cfi on error recovery and
12609 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
12610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12611 (__makecontext): Add dummy nop after jump to exit.
12612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
12613 Use correct parm save area and cr save, reduce stack frame.
12614 Correct cfi for possible PSEUDO_RET frame setup.
12615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
12616 Branch to local label emitted by PSEUDO_RET rather than
12617 __syscall_error.
12618
02637374
AS
126192010-08-12 Andreas Schwab <schwab@redhat.com>
12620
12621 [BZ #11904]
12622 * locale/programs/locale.c (print_assignment): New function.
12623 (show_locale_vars): Use it.
12624
c3e2f19b
UD
126252010-08-11 Ulrich Drepper <drepper@redhat.com>
12626
3cdaa6ad
UD
12627 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
12628 field.
12629 (struct statfs64): Likewise.
12630 (_STATFS_F_FLAGS): Define.
12631 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
12632 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12633 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
12634 (ST_VALID): Define locally.
12635 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
12636 __statvfs_getflags, use the provided value.
12637 * sysdeps/unix/sysv/linux/kernel-features.h: Define
12638 __ASSUME_STATFS_F_FLAGS.
12639
754f7da3
UD
12640 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
12641
10b3bedc
UD
12642 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
12643 Add sys/fanotify.h.
12644 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
12645 fanotify_mask for GLIBC_2.13.
12646 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
12647 fanotify_init and fanotify_mark.
12648 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12649 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
12650
c08fb0d7
UD
12651 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
12652 Add prlimit.
12653 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
12654 prlimit64 for GLIBC_2.13.
12655 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
12656 prlimit64.
12657 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
12658 syscall.
12659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12660 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12661 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
12662 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
12663 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
12664 add prlimit alias.
12665 * sysdeps/unix/sysv/linux/prlimit.c: New file.
12666
15bac72b
UD
12667 [BZ #11903]
12668 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
12669 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
12670
c3e2f19b
UD
12671 * nss/Makefile: Add rules to build and run tst-nss-test1.
12672 * shlib-versions: Add entry for libnss_test1.
12673 * nss/nss_test1.c: New file.
12674 * nss/tst-nss-test1.c: New file.
12675
12676 * nss/nsswitch.c (__nss_database_custom): Define new variable.
12677 (__nss_configure_lookup): Set appropriate entry in
12678 __nss_configure_lookup to true.
12679 * nss/nsswitch.h: Define enum with indeces of databases in
12680 databases and __nss_database_custom arrays. Declare
12681 __nss_database_custom.
12682 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
12683 to avoid using nscd when custom rules are installed.
12684 * nss/getXXbyYY_r.c: Likewise.
12685 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12686
12687 * nss/nss_files/files-parse.c: Whitespace fixes.
12688
f15ce4d8
UD
126892010-08-09 Ulrich Drepper <drepper@redhat.com>
12690
12691 [BZ #11883]
12692 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
12693 * posix/fnmatch_loop.c: Likewise.
12694
d22e4cc9
AK
126952010-07-17 Andi Kleen <ak@linux.intel.com>
12696
12697 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
12698 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
12699 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
12700 * Versions.def [GLIBC_2.13]: Add.
12701
805bc17d
UD
127022010-08-06 Ulrich Drepper <drepper@redhat.com>
12703
12704 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12705 Also fail if tpwd after pwuid call is NULL.
12706
5a42321d
ST
127072010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
12708
12709 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
12710 when converting to ms.
12711
fd3ebeda
ST
127122010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12713
12714 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
12715 EOPNOTSUPP errors with ENOTTY.
12716 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
12717 EOPNOTSUPP errors with ENOTTY.
12718
73507d3a
UD
127192010-07-31 Ulrich Drepper <drepper@redhat.com>
12720
12721 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12722 Add strcasecmp_l-ssse3.
12723 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
12724 strcasecmp.
12725 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
12726 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
12727 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
12728
fe36dd02
UD
127292010-07-30 Ulrich Drepper <drepper@redhat.com>
12730
66f6765a
UD
12731 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
12732
42e08a54
UD
12733 * string/Makefile (strop-tests): Add strcasecmp.
12734 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12735 strcasecmp_l-nonascii.
12736 (gen-as-const-headers): Add locale-defines.sym.
12737 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
12738 * sysdeps/x86_64/strcasecmp.S: New file.
12739 * sysdeps/x86_64/strcasecmp_l.S: New file.
12740 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
12741 * sysdeps/x86_64/locale-defines.sym: New file.
12742 * string/test-strcasecmp.c: New file.
12743
fe36dd02
UD
12744 * string/test-strcasestr.c: Test both ends of the range of characters.
12745 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
12746
48cbc0d6
RM
127472010-07-29 Roland McGrath <roland@redhat.com>
12748
76e6d6bc 12749 [BZ #11856]
48cbc0d6
RM
12750 * manual/locale.texi (Yes-or-No Questions): Fix example code.
12751
880113d9
UD
127522010-07-27 Ulrich Drepper <drepper@redhat.com>
12753
12754 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
12755 for ld.so.
12756
deb9cabb
AS
127572010-07-27 Andreas Schwab <schwab@redhat.com>
12758
12759 * manual/memory.texi (Malloc Tunable Parameters): Document
12760 M_PERTURB.
12761
1c7570ff
RM
127622010-07-26 Roland McGrath <roland@redhat.com>
12763
12764 [BZ #11840]
12765 * configure.in (-fgnu89-inline check): Set and substitute
12766 gnu89_inline, not libc_cv_gnu89_inline.
12767 * configure: Regenerated.
12768 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
12769
24fb0f88
UD
127702010-07-26 Ulrich Drepper <drepper@redhat.com>
12771
12772 * string/test-strnlen.c: New file.
12773 * string/Makefile (strop-tests): Add strnlen.
12774 * string/tester.c (test_strnlen): Add a few more test cases.
12775 * string/tst-strlen.c: Better error reporting.
12776
12777 * sysdeps/x86_64/strnlen.S: New file.
12778
8e96b93a
UD
127792010-07-24 Ulrich Drepper <drepper@redhat.com>
12780
12781 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
12782 lower-latency instructions.
12783
dbc676d4
UD
127842010-07-23 Ulrich Drepper <drepper@redhat.com>
12785
12786 * string/test-strcasestr.c: New file.
12787 * string/test-strstr.c: New file.
12788 * string/Makefile (strop-tests): Add strstr and strcasestr.
12789 * string/str-two-way.h: Don't undefine MAX.
12790 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
12791
f6a31e0e
AS
127922010-07-21 Andreas Schwab <schwab@redhat.com>
12793
12794 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12795 strcasestr-nonascii.
12796 (CFLAGS-strcasestr-nonascii.c): Define.
12797 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
12798 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
12799 Remove unused attribute.
12800
5dbc3b6c
RM
128012010-07-20 Roland McGrath <roland@redhat.com>
12802
12803 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
12804 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
12805 ld.so.cache was broken. With it, there is no way to disable dsocaps
12806 like LD_HWCAP_MASK can disable hwcaps.
12807
23d101d8
EPM
128082010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12809
12810 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
12811
cc9f2e47
UD
128122010-07-16 Ulrich Drepper <drepper@redhat.com>
12813
12814 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
12815 call in strcasestr.
12816 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
12817 __strcasestr_sse42_nonascii.
12818 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
12819 strcasestr-nonascii.c.
12820 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
12821
77c1b069
LM
128222010-06-15 Luis Machado <luisgpm@br.ibm.com>
12823
12824 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
12825 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
12826 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
12827 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
12828
440566c3
UD
128292010-07-09 Ulrich Drepper <drepper@redhat.com>
12830
12831 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
12832 fcntl.
12833
5be9d05d
AS
128342010-07-06 Andreas Schwab <schwab@redhat.com>
12835
c30b7ee2 12836 [BZ #11577]
5be9d05d
AS
12837 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
12838 dl_signal_cerror.
12839
8a492a67
UD
128402010-07-06 Ulrich Drepper <drepper@redhat.com>
12841
12842 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
12843 _PC_PIPE_BUF using F_GETPIPE_SZ.
12844
713df3d5
RM
128452010-07-05 Roland McGrath <roland@redhat.com>
12846
12847 * manual/arith.texi (Rounding Functions): Fix rint description
12848 implicit in round description.
12849
702e8f14
UD
128502010-07-02 Ulrich Drepper <drepper@redhat.com>
12851
12852 * elf/Makefile: Fix linking for a few tests to make recent linker
12853 happy.
12854
52ed8be9
AS
128552010-06-30 Andreas Schwab <schwab@redhat.com>
12856
12857 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12858 $(common-objpfx)libc_nonshared.a.
12859
f47c9a11
LM
128602010-06-21 Luis Machado <luisgpm@br.ibm.com>
12861
12862 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
12863 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
12864 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12865 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12866 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
12867 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
12868 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12869 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
12871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
12872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
12873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
12875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
12877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
12878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
12879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
12880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
12882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
12884 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
12885 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
12886 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
12887 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
12888 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
12889 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
12890 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
12891 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
12892 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
12893 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
12894 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
12895 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
12896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
12897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
12898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
12899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
12900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
12901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
12902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
12903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
12904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
12905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
12906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
12907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
12908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
12909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
12910
6fb8cbcb
L
129112010-06-25 H.J. Lu <hongjiu.lu@intel.com>
12912
12913 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
12914 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
12915 * string/memmove.c (memmove): Renamed to ...
12916 (MEMMOVE): ...this. Default to memmove.
12917 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
12918 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
12919 (END_CHK): Define.
12920 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12921 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
12922 mempcpy-ssse3-back memmove-ssse3-back.
12923 * sysdeps/x86_64/multiarch/bcopy.S: New file .
12924 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
12925 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
12926 * sysdeps/x86_64/multiarch/memcpy.S: New file.
12927 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
12928 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
12929 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
12930 * sysdeps/x86_64/multiarch/memmove.c: New file.
12931 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
12932 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
12933 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
12934 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
12935 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
12936 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
12937 Define.
12938 (index_Fast_Copy_Backward): Define.
12939 (HAS_ARCH_FEATURE): Define.
12940 (HAS_FAST_REP_STRING): Define.
12941 (HAS_FAST_COPY_BACKWARD): Define.
12942
4e733bac 129432010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
12944
12945 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12946 Restore proper fallback handling.
12947
63c4ed22
UD
129482010-06-19 Ulrich Drepper <drepper@redhat.com>
12949
ac2b484c
UD
12950 [BZ #11701]
12951 * posix/group_member.c (__group_member): Correct checking loop.
12952
63c4ed22
UD
12953 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
12954 OOM in getpwuid_r correctly. Return error number when the caller
12955 should return, otherwise -1.
12956 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
12957 call returning > 0 value.
12958 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
12959
765ade4b
AS
129602010-06-07 Andreas Schwab <schwab@redhat.com>
12961
12962 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
12963 libc_nonshared.a from targets in modules-names.
12964
80da2e09
KS
129652010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
12966
12967 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
12968 requires it.
12969
158db122
LM
129702010-06-10 Luis Machado <luisgpm@br.ibm.com>
12971
12972 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
12973 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
12974 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
12975 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
12976
caa78cf8
AS
129772010-06-02 Andreas Schwab <schwab@redhat.com>
12978
12979 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
12980
b2ef2c01
UD
129812010-06-14 Ulrich Drepper <drepper@redhat.com>
12982
12983 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
12984 and F_GETPIPE_SZ.
12985 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12986 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12987 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12988 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12989 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12990 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
12991
fbd643b6
RM
129922010-06-14 Roland McGrath <roland@redhat.com>
12993
12994 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
12995
f32f2869
JJ
129962010-06-07 Jakub Jelinek <jakub@redhat.com>
12997
12998 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
12999 __REDIRECT followed by __THROW.
13000 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13001 * posix/getopt.h (getopt): Likewise.
13002
2a50c078
EPM
130032010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13004
13005 * hurd/lookup-at.c (__file_name_lookup_at): Accept
13006 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
13007 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13008 in AT_FLAGS.
13009 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13010 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13011
eb5ad2eb
LM
130122010-05-28 Luis Machado <luisgpm@br.ibm.com>
13013
13014 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13015
3c88fe1e
L
130162010-05-26 H.J. Lu <hongjiu.lu@intel.com>
13017
13018 [BZ #11640]
13019 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13020 Properly check family and model.
13021
d2f73151
TY
130222010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
13023
13024 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13025
ebd2e13d
LM
130262010-05-24 Luis Machado <luisgpm@br.ibm.com>
13027
13028 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13029
b32b8b45
UD
130302010-05-21 Ulrich Drepper <drepper@redhat.com>
13031
13032 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13033 symbol reference.
13034
9acbe24d
AS
130352010-05-19 Andreas Schwab <schwab@redhat.com>
13036
13037 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13038 symbol reference.
13039
f0ccf6ea
AS
130402010-05-21 Andreas Schwab <schwab@redhat.com>
13041
3d04ff3a
AS
13042 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13043 and internal_recvmmsg.
13044 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13045 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13046 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13047 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13048
f0ccf6ea
AS
13049 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13050 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13051 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13052
5b08ac57
AS
130532010-05-20 Andreas Schwab <schwab@redhat.com>
13054
13055 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13056
4828935d
LM
130572010-05-17 Luis Machado <luisgpm@br.ibm.com>
13058
13059 POWER7 optimizations.
13060 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13061 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13062
373d545e
UD
130632010-05-19 Ulrich Drepper <drepper@redhat.com>
13064
13065 * version.h: Update for 2.13 development version.
13066
21a2b1ae
AS
130672010-05-12 Andrew Stubbs <ams@codesourcery.com>
13068
13069 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13070 exceptions. Return 0.
13071
3f7dcb2b
RM
130722010-05-07 Roland McGrath <roland@redhat.com>
13073
13074 * elf/ldconfig.c (main): Add a const.
13075
5f24d53a 130762010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 13077
a160f8d8
UD
13078 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13079 (args_options): Add no-idn option.
13080 (ahosts_keys_int): Add idn_flags to ai_flags.
13081 (parse_option): Handle 'i' option to clear idn_flags.
13082
5f24d53a
UD
13083 * malloc/malloc.c (_int_free): Possible race in the most recently
13084 added check. Only act on the data if no current modification
13085 happened.
265bb1ce
UD
13086
13087See ChangeLog.17 for earlier changes.
This page took 1.663318 seconds and 5 git commands to generate.