]> sourceware.org Git - glibc.git/blame - ChangeLog
Move x86-64 abilist files to 64/nptl
[glibc.git] / ChangeLog
CommitLineData
336270d0
L
12012-05-04 H.J. Lu <hongjiu.lu@intel.com>
2
3 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
4 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
6 Moved to ...
7 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
8 Here.
9 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10 to ...
11 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
12 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
13 to ...
14 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
15 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
16 to ...
17 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
18 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19 to ...
20 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
21 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
22 to ...
23 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
24 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25 to ...
26 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
27 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
28 to ...
29 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30 Here.
31 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
32 to ...
33 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
34 Here.
35 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36 to ...
37 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
38 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
39 Moved to ...
40 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
41 Here.
42 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
43 to ...
44 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
45
d128e450
JM
462012-05-04 Joseph Myers <joseph@codesourcery.com>
47
fa8ee516
JM
48 * sysdeps/unix/common/bits/dirent.h: Remove file.
49 * sysdeps/unix/common/bits/fcntl.h: Likewise.
50
d128e450
JM
51 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
52 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
53 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
54 * sysdeps/unix/bsd/isatty.c: Likewise.
55 * sysdeps/unix/bsd/tcdrain.c: Likewise.
56 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
57 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
58
110c96ff 592012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730
AZ
60
61 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
62 long double comparison inaccuracies.
63 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
64 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65
6fef930c
AS
662012-05-04 Andreas Schwab <schwab@linux-m68k.org>
67
68 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
69 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
70
8f203e6c
JM
712012-05-04 Joseph Myers <joseph@codesourcery.com>
72
73 [BZ #14049]
74 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
75 nonzero digits before rounding a hex value.
76 * stdlib/tst-strtod.c (tests): Add another test.
77
5197d9c2
AK
782012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79
80 * sysdeps/s390/fpu/libm-test-ulps: Update.
81
f0c1dedf
AJ
822012-05-03 Andreas Jaeger <aj@suse.de>
83
84 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
85 does not get optimized out.
86 (malloc_opt_barrier): New.
87
a65ef2ae 882012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 89 Roland McGrath <roland@hack.frob.com>
a65ef2ae 90
2b942cb7 91 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 92 intermediate file deletion.
2b942cb7 93 (generated): Add .symlist files.
a65ef2ae 94
54b71e02
JM
952012-05-03 Joseph Myers <joseph@codesourcery.com>
96
97 [BZ #13775]
98 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
99 Redirect under this condition.
100 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
101 [__USE_GNU] (__dprintf_chk): Not under this condition.
102 [__USE_GNU] (__vdprintf_chk): Likewise.
103 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
104 under this condition.
105 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
106 [__USE_XOPEN2K8] (dprintf): Define under this condition.
107 [__USE_XOPEN2K8] (vdprintf): Likewise.
108 [__USE_GNU] (__dprintf_chk): Not under this condition.
109 [__USE_GNU] (__vdprintf_chk): Likewise.
110 [__USE_GNU] (dprintf): Likewise.
111 [__USE_GNU] (vdprintf): Likewise.
112
d3dfcc41
RM
1132012-05-03 Roland McGrath <roland@hack.frob.com>
114
115 * elf/Makefile (common-generated): Set this instead of generated for
116 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
117 $(all-built-dso)-derived lists.
118
7ac30cc5
AJ
1192012-05-03 Andreas Jaeger <aj@suse.de>
120
0c51e550
AJ
121 * sysdeps/i386/fpu/libm-test-ulps: Update.
122
7ac30cc5
AJ
123 * FAQ: Removed.
124 * FAQ.in: Likewise.
125 * scripts/gen-FAQ.pl: Likewise.
126 * manual/install.texi (Installation): Point to online location of
127 FAQ.
128 * Makefile (files-for-dist): Remove FAQ.
129 (FAQ): Remove.
130
d4c2917f
AM
1312012-05-02 Allan McRae <allan@archlinux.org>
132
133 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
134 (LDFLAGS-reldepmod5.so): Likewise.
135 (LDFLAGS-reldep6mod1.so): Likewise.
136 (LDFLAGS-reldep6mod4.so): Likewise.
137 (LDFLAGS-reldep8mod3.so): Likewise.
138 (LDFLAGS-unload4mod1.so): Likewise.
139 (LDFLAGS-unload4mod2.so): Likewise.
140 (LDFLAGS-tst-initorder): Likewise.
141 (LDFLAGS-tst-initordera2.so): Likewise.
142 (LDFLAGS-tst-initordera3.so): Likewise.
143 (LDFLAGS-tst-initordera4.so): Likewise.
144 (LDFLAGS-tst-initorderb2.so): Likewise.
145 (LDFLAGS-noload): Likewise.
146 (LDFLAGS-next): Likewise.
147 (LDFLAGS-order2mod1.so): Likewise.
148 (LDFLAGS-order2mod2.so): Likewise.
149 (LDFLAGS-tst-initorder2): Likewise.
150 (LDFLAGS-tst-initorder2a.so): Likewise.
151 (LDFLAGS-tst-initorder2b.so): Likewise.
152 (LDFLAGS-tst-initorder2c.so): Likewise.
153 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
154
d77f993f
DM
1552012-05-02 David S. Miller <davem@davemloft.net>
156
157 * sysdeps/sparc/fpu/libm-test-ulps: Update.
158
171a70b4
PP
1592012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
160
161 [BZ #14055]
162 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
163
0be196ad
AJ
1642012-05-02 Andreas Jaeger <aj@suse.de>
165
166 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
167 since we manipulate rounding mode.
168 (CPPFLAGS-test-idouble.c): Likewise.
169 (CPPFLAGS-test-ifloat.c): Likewise.
170 (CFLAGS-test-ldouble.c): Likewise.
171 (CFLAGS-test-double.c): Likewise.
172 (CFLAGS-test-float.c): Likewise.
173 (CFLAGS-test-misc.c): Likewise.
174 (CFLAGS-test-test-fenv.c): Likewise.
175
4f9d04aa
AZ
1762012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
177
2b942cb7
RM
178 [BZ #2550]
179 [BZ #2570]
180 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
181 comparisons to determine direction to adjust input.
4f9d04aa 182
82a79e7d
RM
1832012-05-01 Roland McGrath <roland@hack.frob.com>
184
f5a01ca9
RM
185 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
186 output to the target.
187
90fe4186
RM
188 * scripts/localplt.awk: New file.
189 * elf/Makefile ($(objpfx)check-localplt): Target removed.
190 (check-localplt-CFLAGS): Variable removed.
191 ($(all-built-dso:=.jmprel)): New static pattern rule.
192 (generated): Add those targets.
193 (localplt-built-dso): New variable.
194 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
195
196 * elf/check-localplt.c: File removed.
197
82397ed6
RM
198 * scripts/check-execstack.awk: New file.
199 * elf/Makefile ($(objpfx)check-execstack): Target removed.
200 (check-execstack-CFLAGS): Variable removed.
201 ($(objpfx)check-execstack.h): Target removed.
202 ($(objpfx)execstack-default): New target.
203 (generated): Add that instead of check-execstack.h.
204 ($(all-built-dso:=.phdr)): New static pattern rule.
205 (generated): Add those targets.
206 * elf/check-execstack.c: File removed.
207
82a79e7d
RM
208 * scripts/check-textrel.awk: New file.
209 * elf/Makefile ($(objpfx)check-textrel): Target removed.
210 (check-textrel-CFLAGS): Variable removed.
211 (all-built-dso): Use := to define.o
212 ($(all-built-dso:=.dyn)): New static pattern rule.
213 (generated): Add those targets.
214 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
215 * config.make.in (READELF): New substituted variable.
216 * elf/check-textrel.c: File removed.
217
62fde54f 2182012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 219
615605c9
JM
220 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
221 allow.
222 * conform/data/ctype.h-data [C99-based standards] (isblank):
223 Expect function.
224 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
225 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
226 [ISO || ISO99 || ISO11] (*_t): Do not allow.
227 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
228 Specify type. Require positive value.
229 (EILSEQ): Likewise.
230 (ERANGE): Likewise.
231 [ISO || POSIX] (EILSEQ): Do not expect.
232 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
233 Specify type. Require positive value.
234 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
235 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
236 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
237 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
238 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
239 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
240 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
241 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
242 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
243 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
244 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
245 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
246 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
247 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
248 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
249 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
250 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
251 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
252 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
253 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
254 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
255 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
256 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
257 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
258 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
259 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
260 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
261 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
262 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
263 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
264 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
265 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
266 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
267 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
268 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
269 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
270 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
271 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
272 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
273 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
274 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
275 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
276 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
277 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
278 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
279 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
280 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
281 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
282 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
283 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
284 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
285 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
286 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
287 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
288 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
289 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
290 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
291 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
292 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
293 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
294 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
295 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
296 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
297 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
298 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
299 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
300 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
301 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
302 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
303 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
304 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
305 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
306 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
307 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
308 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
309 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
310 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
311 Require >= 2.
312 (FLT_ROUNDS): Expect as macro, not constant.
313 (FLT_MANT_DIG): Use macro-int-constant.
314 (DBL_MANT_DIG): Likewise.
315 (LDBL_MANT_DIG): Likewise.
316 (FLT_DIG): Likewise.
317 (DBL_DIG): Likewise.
318 (LDBL_DIG): Likewise.
319 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
320 (DBL_MIN_EXP): Likewise.
321 (LDBL_MIN_EXP): Likewise.
322 (FLT_MAX_EXP): Use macro-int-constant.
323 (DBL_MAX_EXP): Likewise.
324 (LDBL_MAX_EXP): Likewise.
325 (FLT_MAX_10_EXP): Likewise.
326 (DBL_MAX_10_EXP): Likewise.
327 (LDBL_MAX_10_EXP): Likewise.
328 (FLT_MAX): Use macro-constant.
329 (DBL_MAX): Likewise.
330 (LDBL_MAX): Likewise.
331 (FLT_EPSILON): Use macro-constant. Give upper bound.
332 (DBL_EPSILON): Likewise.
333 (LDBL_EPSILON): Likewise.
334 (FLT_MIN): Likewise.
335 (DBL_MIN): Likewise.
336 (LDBL_MIN): Likewise.
337 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
338 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
339 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
340 [ISO11] (FLT_HAS_SUBNORM): Likewise.
341 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
342 [ISO11] (DBL_DECIMAL_DIG): Likewise.
343 [ISO11] (FLT_DECIMAL_DIG): Likewise.
344 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
345 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
346 [ISO11] (FLT_TRUE_MIN): Likewise.
347 [ISO11] (LDBL_TRUE_MIN): Likewise.
348 [ISO || ISO99 || ISO11] (*_t): Do not allow.
349 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
350 (SCHAR_MIN): Use macro-int-constant. Specify type.
351 (SCHAR_MAX): Likewise.
352 (UCHAR_MAX): Likewise.
353 (CHAR_MIN): Likewise.
354 (CHAR_MAX): Likewise.
355 (MB_LEN_MAX): Use macro-int-constant.
356 (SHRT_MIN): Use macro-int-constant. Specify type.
357 (SHRT_MAX): Likewise.
358 (USHRT_MAX): Likewise.
359 (INT_MAX): Likewise.
360 (INT_MIN): Use macro-int-constant. Specify type. Make upper
361 bound negative.
362 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
363 bound with "U".
364 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
365 bound with "L".
366 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
367 bound negative. Suffix upper bound with "L".
368 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
369 bound with "UL".
370 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
371 Specify type.
372 [C99-based standards] (LLONG_MAX): Likewise.
373 [C99-based standards] (ULLONG_MAX): Likewise.
374 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
375 == 0.
376 [ISO11] (max_align_t): Require type.
377 [ISO || ISO99 || ISO11] (*_t): Do not allow.
378
c9140a62
JM
379 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
380 from $CFLAGS, without defining away __attribute__ calls.
381 (checknamespace): Use $CFLAGS_namespace.
382
9af0bf29
JM
383 * conform/conformtest.pl (@keywords): Only include C99 keywords
384 for standards based on C99 or C11.
385
343222a2
JM
386 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
387 Disable tests.
388 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
389 UNIX98]: Likewise.
390
661f8cf0
JM
391 * conform/conformtest.pl: Handle "macro-int-constant" and test for
392 usability of symbols in #if.
393
ee74b9cb
JM
394 * conform/conformtest.pl: If macro or constant types start
395 "promoted:", expect the symbol to be of the following type
396 promoted by the integer promotions.
62fde54f 397
aafc49b3
JM
398 * conform/conformtest.pl: Parse all "constant" and "macro" lines
399 in one place. Also handle "macro-constant".
400
fefdf574
JM
401 * conform/conformtest.pl: Only accept expected macro values with
402 "==". Parse all "macro" lines in one place.
403 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
404
f2d922fe
JM
405 * conform/conformtest.pl: Handle braced types on "constant" lines
406 instead of handling "typed-constant".
407 * conform/data/signal.h-data: Use "constant" instead of
408 "typed-constant".
409
d22956c9
JM
410 * conform/conformtest.pl: Handle "optional-" at start of lines in
411 one place rather than duplicating several cases. Handle each
412 format of "macro" line with initial "optional-".
413
028e2e38
JM
414 * conform/conformtest.pl: Only accept expected constant or
415 optional-constant values with "==". Parse all "constant" lines in
416 one place. Parse all "optional-constant" lines in one place.
417 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
418 * conform/data/fmtmsg.h-data: Likewise.
419 * conform/data/netinet/in.h-data: Likewise.
420 * conform/data/tar.h-data: Likewise.
421 * conform/data/limits.h-data: Use "==" form on "constant" and
422 "optional-constant" lines.
423
1b8f2850
JM
424 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
425 Use -std=c99 for XOPEN2K.
426 (@knownproblems): Remove.
427 (newtoken): Don't check %isknown.
428
a05a144b
JM
429 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
430 Do not expect macro.
431 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
432 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
433 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
434 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
435 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
436 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
437 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
438 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
439 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
440 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
441 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
442 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
443 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
444 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
445 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
446 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
447 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
448 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
449 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
450 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
451 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
452 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
453 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
454 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
455 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
456 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
457 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
458 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
459 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
460 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
461 [XPG3] (acosh): Likewise.
462 [XPG3] (asinh): Likewise.
463 [XPG3] (atanh): Likewise.
464 [XPG3] (cbrt): Likewise.
465 [XPG3] (expm1): Likewise.
466 [XPG3] (ilogb): Likewise.
467 [XPG3] (log1p): Likewise.
468 [XPG3] (logb): Likewise.
469 [XPG3] (nextafter): Likewise.
470 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
471 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
472 [XPG3] (remainder): Likewise.
473 [XPG3] (rint): Likewise.
474 [XPG3 || XPG4 || UNIX98] (round): Likewise.
475 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
476 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
477 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
478 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
479 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
480 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
481 [UNIX98 || XOPEN2K] (scalb): Expect.
482 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
483 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
484 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
485 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
486 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
487 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
488 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
489 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
490 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
491 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
492 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
493 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
494 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
495 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
496 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
497 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
498 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
499 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
500 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
501 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
502 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
503 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
504 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
505 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
506 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
507 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
508 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
509 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
510 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
511 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
512 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
513 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
514 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
515 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
516 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
517 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
518 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
519 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
520 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
521 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
522 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
523 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
524 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
525 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
526 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
527 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
528 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
529 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
530 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
531 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
532 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
533 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
534 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
535 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
536 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
537 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
538 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
539 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
540 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
541 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
542 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
543 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
544 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
545 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
546 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
547 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
548 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
549 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
550 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
551 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
552 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
553 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
554 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
555 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
556 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
557 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
558 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
559 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
560 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
561 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
562 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
563 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
564 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
565 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
566 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
567 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
568 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
569 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
570 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
571 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
572 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
573 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
574 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
575 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
576 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
577 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
578 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
579 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
580 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
581 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
582 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
583 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
584 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
585 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
586 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
587 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
588 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
589 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
590 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
591 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
592 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
593 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
594 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
595 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
596 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
597 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
598 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
599 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
600 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
601 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
602 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
603 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
604 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
605 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
606 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
607 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
608 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
609 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
610 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
611 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
612 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
613 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
614 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
615 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
616 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
617 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
618 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
619
73c5ebe3
JM
620 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
621 _XOPEN_SOURCE_EXTENDED for XPG4.
622
39c33b6c
JM
623 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
624
62fde54f
JM
625 * Makeconfig (localtime): Remove variable.
626 (inst_localtime-file): Likewise.
627
0741d64c
AS
6282012-05-01 Andreas Schwab <schwab@linux-m68k.org>
629
630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
631 Update.
632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
633 Update.
634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
635 Update.
636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
637 Update.
638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
639 Update.
640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
641 Update.
642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
643 Update.
644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
645 Update.
646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
647 Update.
648
7cb029ee
JM
6492012-05-01 Joseph Myers <joseph@codesourcery.com>
650
651 [BZ #2550]
652 [BZ #2570]
653 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
654 comparisons to determine direction to adjust input.
655 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
656 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
657 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
658 Likewise.
659 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
660 Likewise.
661 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
662 Likewise.
663 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
664 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
665 Likewise.
666 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
667 Likewise.
668 * math/libm-test.inc (nexttoward_test): Add more tests.
669
412bd966
AS
6702012-05-01 Andreas Schwab <schwab@linux-m68k.org>
671
672 [BZ #14040]
673 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
674 in version GLIBC_2.1, not GLIBC_2.0.
675 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
676 Likewise.
677
9568c0c2
JM
6782012-04-30 Joseph Myers <joseph@codesourcery.com>
679
adfbc8ac
JM
680 [BZ #13942]
681 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
682 (1 - x) * (1 + x).
683 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
684 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
685 * math/libm-test.inc (acos_test): Add more tests.
686 (asin_test): Likewise.
687 * sysdeps/i386/fpu/libm-test-ulps: Update.
688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
689
5ba3cc69
JM
690 [BZ #14034]
691 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
692 of square root.
693 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
694 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
695 * math/libm-test.inc (acos_test_tonearest): New function.
696 (acos_test_towardzero): Likewise.
697 (acos_test_downward): Likewise.
698 (acos_test_upward): Likewise.
699 (asin_test_tonearest): Likewise.
700 (asin_test_towardzero): Likewise.
701 (asin_test_downward): Likewise.
702 (asin_test_upward): Likewise.
703 (main): Call the new functions.
704 * sysdeps/i386/fpu/libm-test-ulps: Update.
705 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
706
9568c0c2
JM
707 [BZ #13884]
708 [BZ #13924]
709 * math/e_exp10.c: Include <float.h>.
710 (__ieee754_exp10): Handle underflow here rather than multiplying
711 large negative argument by M_LN10.
712 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
713 of __ieee754_expf.
714 * math/e_exp10l.c: Include <float.h>.
715 (__ieee754_exp10l): Handle underflow here rather than multiplying
716 large negative argument by M_LN10l.
717 * math/libm-test.inc (exp10_test): Add another test. Do not allow
718 spurious overflow exception on underflow.
719
5ac3ea17
MP
7202012-04-29 Marek Polacek <polacek@redhat.com>
721
722 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
723 (__fortify_function): New macro.
724 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
725 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
726 __extern_always_inline.
727 * libio/bits/stdio2.h: Likewise.
728 * libio/bits/stdio.h: Likewise.
729 * string/string.h: Likewise.
730 * string/bits/string3.h: Likewise.
731 * include/stdio.h: Likewise.
732 * stdlib/bits/stdlib.h: Likewise.
733 * stdlib/stdlib.h: Likewise.
734 * rt/bits/mqueue2.h: Likewise.
735 * rt/mqueue.h: Likewise.
736 * posix/bits/unistd.h: Likewise.
737 * posix/unistd.h: Likewise.
738 * io/bits/poll2.h: Likewise.
739 * io/bits/fcntl2.h: Likewise.
740 * io/fcntl.h: Likewise.
741 * io/sys/poll.h: Likewise.
742 * misc/bits/syslog.h: Likewise.
743 * misc/bits/syslog-ldbl.h: Likewise.
744 * misc/sys/syslog.h: Likewise.
745 * socket/bits/socket2.h: Likewise.
746 * socket/sys/socket.h: Likewise.
747 * debug/tst-chk1.c: Likewise.
748 * wcsmbs/bits/wchar2.h: Likewise.
749 * wcsmbs/bits/wchar-ldbl.h: Likewise.
750 * wcsmbs/wchar.h: Likewise.
751
ecf0ebfb
AJ
7522012-04-29 Andreas Jaeger <aj@suse.de>
753
754 * Makerules (tests): Remove enable-check-abi protection.
755 (check-abi-warn): Remove.
756 (check-abi-%): Remove check-abi-warn usage.
757
758 * configure.in: Remove check-abi configure option.
759 * configure: Regenerated.
760 * config.make.in (enable-check-abi): Remove.
761
6d5c57fa
AS
7622012-04-28 Andreas Schwab <schwab@linux-m68k.org>
763
24c5d07e 764 [BZ #14033]
ded5180a
AS
765 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
766 double functions to double *_finite functions.
767
7e0d315d
AS
768 [BZ #13941]
769 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
770 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
771 LDBL_MIN_EXP.
772 * stdio-common/Makefile (tests): Add tst-sprintf3.
773 * stdio-common/tst-sprintf3.c: New file.
774
6d5c57fa
AS
775 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
776 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
777
0749ff8b
JM
7782012-04-28 Joseph Myers <joseph@codesourcery.com>
779
780 * conform/conformtest.pl: Remove duplicate typed-constant
781 handling.
782
8dbd5d7b
DM
7832012-04-28 David S. Miller <davem@davemloft.net>
784
785 * Makerules (%.abilist): Add vpath on sysdep_dirs.
786 (check-abi-%): Remove AWK script prerequisite and explicit
787 abilist directory.
788 (check-abi): Rewrite to just diff the symlist with the abilist.
789 (config-tls, config-abi-config): Delete, no longer used.
790 (update-abi-%): Remove AWK script and explicit abilist directory.
791 (update-abi): Rewrite to simply compare and conditionally copy the
792 symlist and the sysdep abilist file. Remove update-abi-config
793 checks.
794 * abilist/ld.abilist: Remove.
795 * abilist/libBrokenLocale.abilist: Remove.
796 * abilist/libanl.abilist: Remove.
797 * abilist/libcrypt.abilist: Remove.
798 * abilist/libdl.abilist: Remove.
799 * abilist/librt.abilist: Remove.
800 * abilist/libthread_db.abilist: Remove.
801 * abilist/libutil.abilist: Remove.
802 * scripts/extract-abilist.awk: Remove.
803 * scripts/merge-abilist.awk: Remove.
804 * sysdeps/generic/libcidn.abilist: New file.
805 * sysdeps/generic/libnss_compat.abilist: New file.
806 * sysdeps/generic/libnss_db.abilist: New file.
807 * sysdeps/generic/libnss_dns.abilist: New file.
808 * sysdeps/generic/libnss_files.abilist: New file.
809 * sysdeps/generic/libnss_hesiod.abilist: New file.
810 * sysdeps/generic/libnss_nis.abilist: New file.
811 * sysdeps/generic/libnss_nisplus.abilist: New file.
812 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
813 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
814 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
815 file.
816 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
817 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
818 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
819 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
820 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
821 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
822 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
823 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
824 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
825 file.
826 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
827 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
828 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
829 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
830 file.
831 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
832 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
833 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
834 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
835 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
836 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
837 file.
838 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
839 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
840 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
841 file.
842 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
843 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
844 New file.
845 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
846 New file.
847 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
848 New file.
849 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
850 New file.
851 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
852 New file.
853 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
854 New file.
855 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
856 New file.
857 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
858 New file.
859 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
860 New file.
861 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
862 New file.
863 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
864 New file.
865 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
866 New file.
867 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
868 New file.
869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
870 file.
871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
872 New file.
873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
874 New file.
875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
876 file.
877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
878 New file.
879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
880 New file.
881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
882 file.
883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
884 New file.
885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
886 New file.
887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
888 New file.
889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
890 New file.
891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
892 New file.
893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
894 New file.
895 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
897 file.
898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
899 New file.
900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
901 file.
902 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
903 file.
904 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
905 file.
906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
907 file.
908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
909 file.
910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
911 New file.
912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
913 file.
914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
915 file.
916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
917 New file.
918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
919 file.
920 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
922 file.
923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
924 New file.
925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
926 file.
927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
928 file.
929 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
930 file.
931 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
932 file.
933 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
934 file.
935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
936 New file.
937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
938 file.
939 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
940 file.
941 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
942 New file.
943 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
944 file.
945 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
946 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
947 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
948 file.
949 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
950 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
951 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
952 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
953 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
954 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
955 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
956 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
957 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
958 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
959 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
960 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
961 file.
962 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
963 New file.
964 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
965 file.
966 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
967 file.
968 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
969 file.
970 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
971 file.
972 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
973 file.
974 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
975 New file.
976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
977 New file.
978 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
979 file.
980 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
981 New file.
982 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
983 file.
984 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
985 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
986 file.
987 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
988 New file.
989 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
990 file.
991 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
992 file.
993 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
994 file.
995 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
996 file.
997 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
998 file.
999 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1000 New file.
1001 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1002 New file.
1003 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1004 file.
1005 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1006 New file.
1007 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1008 file.
1009
41d73a1b
JM
10102012-04-28 Joseph Myers <joseph@codesourcery.com>
1011
1012 * conform/conformtest.pl: Fix typo in handling typed-constant from
1013 allow-header.
1014
28aeeda4
JM
10152012-04-27 Joseph Myers <joseph@codesourcery.com>
1016
adae8f5e
JM
1017 * README: Cut down references to pre-2.6 Linux kernels and
1018 Linuxthreads. Update lists of configurations in libc and ports
1019 and sort alphabetically. Say "or newer" with Linux kernel version
1020 requirements.
1021
28aeeda4
JM
1022 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1023
a462cb63
RA
10242012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1025
1026 [BZ #887]
1027 * math/libm-test.inc (logb_test_downward): New test to expose
1028 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1029 rounding mode.
1030
6ad3493e
JM
10312012-04-27 Joseph Myers <joseph@codesourcery.com>
1032
1033 [BZ #14027]
1034 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1035 to be done.
1036 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1037 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1038
2ce4f015
JM
10392012-04-26 Joseph Myers <joseph@codesourcery.com>
1040
5aeb141a
JM
1041 * sysdeps/unix/i386/brk.S: Remove file.
1042 * sysdeps/unix/i386/dl-brk.S: Likewise.
1043 * sysdeps/unix/i386/pipe.S: Likewise.
1044 * sysdeps/unix/i386/sigreturn.S: Likewise.
1045 * sysdeps/unix/i386/syscall.S: Likewise.
1046 * sysdeps/unix/i386/vfork.S: Likewise.
1047 * sysdeps/unix/i386/wait.S: Likewise.
1048
7143acae
JM
1049 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1050 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1051
2ce4f015
JM
1052 * configure.in (arm*-none*): Do not allow without
1053 --enable-hacker-mode.
1054 (netbsd*): Remove case setting base_os.
1055 (386bsd*): Likewise.
1056 (freebsd*): Likewise.
1057 (bsdi*): Likewise.
1058 (osf*): Likewise.
1059 (sunos*): Likewise.
1060 (ultrix*): Likewise.
1061 (newsos*): Likewise.
1062 (dynix*): Likewise.
1063 (*bsd*): Likewise.
1064 (sysv*): Likewise.
1065 (isc*): Likewise.
1066 (esix*): Likewise.
1067 (sco*): Likewise.
1068 (minix*): Likewise.
1069 (irix4*): Likewise.
1070 (irix6*): Likewise.
1071 (solaris[2-9]*): Likewise.
1072 (none): Likewise.
1073 * configure: Regenerated.
1074
0ac229c8
AZ
10752012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1076
1077 [BZ #11521]
1078 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1079 overflow or cancellation in calculating denominator.
1080 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1081 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1082 down expression to avoid unexpected rounding in newer GCCs.
1083 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1084
33f244f4
DM
10852012-04-26 David S. Miller <davem@davemloft.net>
1086
1087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1088 long-double compat symbols.
1089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1102
cfa1f3e8
DM
11032012-04-25 David S. Miller <davem@davemloft.net>
1104
1105 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1106 HWCAP_* values only after the memory barriers have been defined.
1107 (atomic_full_barrier): Define.
1108 (atomic_read_barrier): Define.
1109 (atomic_write_barrier): Define.
1110
6e236b92
SP
11112012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1112
1113 * shlib-versions: Add libgcc_s version information.
1114 * sysdeps/generic/libgcc_s.h: Remove.
1115 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1116 libgcc_s.h.
1117 * sysdeps/gnu/unwind-resume.c: Likewise.
1118 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1119
aab39a09
DM
11202012-04-25 David S. Miller <davem@davemloft.net>
1121
1122 * sysdeps/unix/sparc/brk.S: Delete.
1123 * sysdeps/unix/sparc/dl-brk.S: Delete.
1124 * sysdeps/unix/sparc/pipe.S: Delete.
1125 * sysdeps/unix/sparc/sysdep.S: Delete.
1126 * sysdeps/unix/sparc/sysdep.h: Delete.
1127 * sysdeps/unix/sparc/vfork.S: Delete.
1128 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1129 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1130 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1131 ret_ERRVAL, r0, r1, MOVE): Define.
1132 (JUMPTARGET): Remove.
1133 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1134 sysdeps/unix/sparc/sysdep.h
1135 (ENTRY, END): Remove.
1136 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1137
a3cc4f48
JM
11382012-04-25 Joseph Myers <joseph@codesourcery.com>
1139
2ed8cda2
JM
1140 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1141 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1142 -DIS_IN_build.
1143
35d76d59
JM
1144 * timezone/README: Update upstream location and email address for
1145 tzcode and tzdata.
1146 * timezone/zdump.c: Update from tzcode 2012b.
1147 * timezone/zic.c: Likewise.
1148
a3cc4f48
JM
1149 * configure.in (libc_cv_as_needed): Remove test.
1150 * configure: Regenerated.
1151 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1152 conditional definition.
1153 [$(have-as-needed) != yes] (no-as-needed): Likewise.
1154 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1155 * config.make.in (have-as-needed): Remove variable.
1156
ceab42c3
SP
11572012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1158 Paul Pluzhnikov <ppluzhnikov@google.com>
1159
1160 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1161 strings correctly.
1162
3ce2865f
CLT
11632012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
1164
1165 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1166 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1167 * sysdeps/sh/strlen.S: Likewise.
1168
f37e0d68
JM
11692012-04-24 Joseph Myers <joseph@codesourcery.com>
1170
ae186e9a
JM
1171 * sysdeps/unix/fork.S: Remove file.
1172 * sysdeps/unix/i386/fork.S: Likewise.
1173 * sysdeps/unix/sparc/fork.S: Likewise.
1174
b96914af
JM
1175 * sysdeps/unix/system.c: Remove file.
1176 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1177
f37e0d68
JM
1178 * sysdeps/unix/getegid.S: Remove file.
1179 * sysdeps/unix/geteuid.S: Likewise.
1180
87ef29ca
RM
11812012-04-24 Roland McGrath <roland@hack.frob.com>
1182
83bcd236
RM
1183 * scripts/check-localplt.awk: New file.
1184 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1185 of diff.
1186 * scripts/data/localplt-generic.data: Add a comment.
1187
87ef29ca
RM
1188 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1189 NODE when __dir_mkfile failed.
1190 * sysdeps/mach/hurd/symlinkat.c: Likewise.
1191 Reported by Ludovic Courtès <ludo@gnu.org>.
1192
e5a6e567
AJ
11932012-04-24 Andreas Jaeger <aj@suse.de>
1194
1195 * Makerules (common-clean): Also remove gen-as-const-headers
1196 files.
1197
c1820385
JM
11982012-04-24 Joseph Myers <joseph@codesourcery.com>
1199
1200 * Makerules (native-compile): Do not change working directory for
1201 build. Use $(OUTPUT_OPTION) in command.
1202 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1203
94e02fc4
AZ
12042012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1205
1206 [BZ #13886]
1207 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1208 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1209 * math/libm-test.inc (floor_test): Add more tests.
1210 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1211
3a533ca3
JM
12122012-04-24 Joseph Myers <joseph@codesourcery.com>
1213
940ab4b3
JM
1214 * sysdeps/unix/getdents.c: Remove file.
1215 * sysdeps/unix/sysv/getdents.c: Likewise.
1216 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1217
90e037bd
JM
1218 * sysdeps/unix/syscalls.list (madvise): Add syscall from
1219 sysdeps/unix/mman/syscalls.list.
1220 (mmap): Likewise.
1221 (mprotect): Likewise.
1222 (msync): Likewise.
1223 (munmap): Likewise.
1224 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1225 * sysdeps/unix/mman/syscalls.list: Remove.
1226 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1227
3a533ca3
JM
1228 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1229 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1230 * configure: Regenerated.
1231 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1232 $(libgcc_s_suffix).
1233 * config.make.in (libgcc_s_suffix): Remove variable.
1234
1ad743de
JM
12352012-04-23 Joseph Myers <joseph@codesourcery.com>
1236
4ad451e2
JM
1237 * sysdeps/unix/sysv/gethostname.c: Move to ...
1238 * sysdeps/posix/gethostname.c: ... here.
1239
5e37ce39
JM
1240 * sysdeps/unix/execve.S: Remove file.
1241
1ad743de
JM
1242 * sysdeps/unix/_exit.S: Remove file.
1243
4e681b5b
AJ
12442012-04-23 Andreas Jaeger <aj@suse.de>
1245
1246 [BZ #13739]
1247 * manual/Makefile: Remove make dist support, there's no
1248 need for a stand-alone documentation tar ball.
1249 (TEXI2DVI): Define always, it's not in Makeconfig.
1250 (dist): Removed.
1251 (tar-it): Removed.
1252 (edition): Removed.
1253 (glibc-doc-$(edition).tar): Removed
1254 (%.Z): Removed.
1255 (%.gz): Removed.
1256 (%.uu): Removed.
1257 (ETAGS): Remove, it's in Makeconfig.
1258 (move-if-change): Remove, it's in Makeconfig.
1259
c0baea34
PE
12602013-04-23 Paul Eggert <eggert@cs.ucla.edu>
1261
1262 [BZ #13970]
1263 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
1264 (strtod, strtof, strtold, strtol, strtoul, strtoq)
1265 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
1266 (strtod_l, strtof_l, strtold_l): Remove __wur.
1267 It is not necessarily an error to ignore strtol's return value.
1268 One can reliably look at the stored endptr to decide whether
1269 the number had valid syntax.
1270
7c0616fa
AJ
12712012-04-21 Andreas Jaeger <aj@suse.de>
1272
803cb6b7 1273 [BZ #13739]
7c0616fa
AJ
1274 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
1275
b0fe253f
JM
12762012-04-21 Joseph Myers <joseph@codesourcery.com>
1277
1278 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
1279 * sysdeps/unix/sysv/Versions: Remove file.
1280
8280f22d
MT
12812012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
1282
1283 [BZ #13927]
1284 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1285
75ce411f 12862012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
1287
1288 [BZ #7064]
1289 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
1290 version from __vm86.
1291
097d59fa
JM
12922012-04-20 Joseph Myers <joseph@codesourcery.com>
1293
a90f3bcb
JM
1294 * sysdeps/unix/common/lxstat.c: Remove file.
1295 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
1296
edc7ea78
JM
1297 * sysdeps/unix/sysv/Makefile: Remove file.
1298
cb78c221
JM
1299 * sysdeps/unix/sysv/direct.h: Remove file.
1300
efa6a45f
JM
1301 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
1302 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
1303 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
1304 * sysdeps/unix/sysv/bits/signum.h: Likewise.
1305 * sysdeps/unix/sysv/bits/stat.h: Likewise.
1306 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
1307 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
1308
9c9f2d0c
JM
1309 * sysdeps/unix/sysv/setrlimit.c: Remove file.
1310
4541c83b
JM
1311 * sysdeps/unix/xmknod.c: Remove file.
1312 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
1313
f5d153a0
JM
1314 * sysdeps/unix/sysv/settimeofday.c: Remove file.
1315
aa746595
JM
1316 * sysdeps/unix/sysv/i386/time.S: Remove file.
1317
cce5905e
JM
1318 * sysdeps/unix/fxstat.c: Remove file.
1319 * sysdeps/unix/xstat.c: Likewise.
1320 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
1321
37fa3841
JM
1322 * sysdeps/unix/sysv/sigaction.c: Remove file.
1323
ff1962a3
JM
1324 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
1325 (sysdep_headers): Remove variable.
1326 [termio.h not in sysdep_headers] (generated): Likewise.
1327 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
1328 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
1329 * sysdeps/unix/sysv/tcdrain.c: Likewise.
1330 * sysdeps/unix/sysv/tcflow.c: Likewise.
1331 * sysdeps/unix/sysv/tcflush.c: Likewise.
1332 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
1333 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
1334 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
1335 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
1336 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
1337
e7740d31
JM
1338 * sysdeps/unix/siglist.c: Remove file.
1339
ee06f18b
JM
1340 * sysdeps/unix/getppid.S: Remove file.
1341
097d59fa
JM
1342 * sysdeps/unix/mkdir.c: Remove file.
1343 * sysdeps/unix/rmdir.c: Likewise.
1344
ff3d51ec
AS
13452012-04-19 Andreas Schwab <schwab@linux-m68k.org>
1346
1347 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
1348 ERR_MAX value.
1349 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
1350 errlist-compat value.
1351
50f81fd7
DM
13522012-04-18 David S. Miller <davem@davemloft.net>
1353
1354 * sysdeps/generic/memcopy.h (reg_char): Delete.
1355 * debug/strcat_chk.c: Use char, not reg_char.
1356 * debug/strcpy_chk.c: Likewise.
1357 * debug/strncat_chk.c: Likewise.
1358 * debug/strncpy_chk.c: Likewise.
1359 * string/memchr.c: Likewise.
1360 * string/memrchr.c: Likewise.
1361 * string/rawmemchr.c: Likewise.
1362 * string/strcat.c: Likewise.
1363 * string/strchr.c: Likewise.
1364 * string/strchrnul.c: Likewise.
1365 * string/strcmp.c: Likewise.
1366 * string/strcpy.c: Likewise.
1367 * string/strncat.c: Likewise.
1368 * string/strncmp.c: Likewise.
1369 * string/strncpy.c: Likewise.
1370
8ff41c46
WS
13712012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1372
1373 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
1374 __builtin_memcopy is called when src and dest ranges are known to not
1375 overlap.
1376
6b652f46
WS
13772012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1378
1379 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
1380 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
1381 fwd_align_merge macro call.
1382 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
1383 bwd_align_merge macro call.
1384 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1385
b282631e
WS
13862012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1387
1388 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
1389 bwd_align_merge macros.
1390 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
1391 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
1392 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1393
95aa737c
DM
13942012-04-18 David S. Miller <davem@davemloft.net>
1395
1396 * sysdeps/sparc/sparc64/memcopy.h: Delete.
1397
7a99a614
AJ
13982012-04-18 Andreas Jaeger <aj@suse.de>
1399
1400 [BZ# 6794]
1401 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
1402 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
1403 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1404
1405 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
1406 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
1407 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1408
1409 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
1410 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
1411 Adjust for changed ldbl-128 files.
1412
1413 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
1414 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
1415 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1416
e5270c23
DM
14172012-04-17 David S. Miller <davem@davemloft.net>
1418
1419 * sysdeps/sparc/sparc32/memcopy.h: Delete.
1420
fb5e92c9
AS
14212012-04-17 Andreas Schwab <schwab@linux-m68k.org>
1422
1423 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
1424 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
1425 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
1426 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
1427 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1428 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
1429
76da7265
AZ
14302012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1431
1432 [BZ #6794]
1433 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
1434 * math/libm-test.inc: Add ilogb errno and exception tests.
1435 * math/w_ilogb.c: New file: ilogb wrapper.
1436 * math/w_ilogbf.c: New file: ilogbf wrapper.
1437 * math/w_ilogbl.c: New file: ilogbl wrapper.
1438 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
1439 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
1440 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
1441 exception being thrown with 0.0 as argument.
1442 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
1443 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
1444 exception being thrown with 0.0 as argument.
1445 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
1446 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1447 exception being thrown with 0.0 as argument.
1448 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
1449 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1450 exception being thrown with 0.0 as argument.
1451 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
1452 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 1453 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
1454 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
1455 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
1456 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
1457 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
1458 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
1459 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
1460
0396e69d
PB
14612012-04-17 Petr Baudis <pasky@ucw.cz>
1462
1463 * include/sys/uio.h: Change __vector to __iovec to avoid clash
1464 with altivec.
1465
750b5926
MP
14662012-04-16 Marek Polacek <polacek@redhat.com>
1467
1468 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
1469
751728a1
MP
14702012-04-16 Marek Polacek <polacek@redhat.com>
1471
1472 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
1473 operands of fdivp instruction.
1474
34a27407
L
14752012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1476
1477 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
1478 * elf/tst-auditmod3b.c: Likewise.
1479 * elf/tst-auditmod4b.c: Likewise.
1480 * elf/tst-auditmod5b.c: Likewise.
1481 * elf/tst-auditmod6b.c: Likewise.
1482 * elf/tst-auditmod6c.c: Likewise.
1483 * elf/tst-auditmod7b.c: Likewise.
1484 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
1485 * sysdeps/x86_64/preconfigure.in: Likewise.
1486 * sysdeps/x86_64/preconfigure: Regenerated.
1487
7e73e17d
L
14882012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1489
1490 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
1491 __ILP32__.
1492
c7a6ab72
AB
14932012-04-13 Antoine Balestrat <merkil33@gmail.com>
1494
1495 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1496 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
1497
a9e8e0e0
CL
14982012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
1499
1500 [BZ #13973]
1501 * locale/iso-639.def: Fix gl language name. Spotted by
1502 Yaron Shahrabani.
1503
ec98af7d
RM
15042012-04-12 Roland McGrath <roland@hack.frob.com>
1505
1506 [BZ #2074]
1507 * libio/libio.h (__io_write_fn): Update comment.
1508
247c3ede
PB
15092012-04-12 Petr Baudis <pasky@ucw.cz>
1510
1511 [BZ #2074]
1512 * stdio.texi (Hook Functions): The user provided writer function
1513 is not allowed to return -1.
1514
55939d6d
DM
15152012-04-11 David S. Miller <davem@davemloft.net>
1516
1517 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1518
90020f5a
MF
15192012-04-11 Mike Frysinger <vapier@gentoo.org>
1520
1521 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
1522 Add a leading slash to rtkaio.
1523
288f9098
JM
15242012-04-11 Jim Meyering <meyering@redhat.com>
1525
90020f5a
MF
1526 [BZ #11959]
1527 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
1528 It is not necessarily an error to ignore fwrite's return
1529 value. One can reliably use ferror to test for errors after
1530 the fact.
288f9098 1531
4be2b570
L
15322012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1533
1534 * bits/types.h (__snseconds_t): New type.
1535 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
1536
1537 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
1538 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1539 (__SNSECONDS_T_TYPE): Likewise.
1540 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1541 (__SNSECONDS_T_TYPE): Likewise.
1542 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1543 (__SNSECONDS_T_TYPE): Likewise.
1544
288f9098 15452012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
1546
1547 [BZ #2636]
1548 * manual/time.texi (Processor Time): Return type of times is
1549 elapsed real time since an arbitrary point in the past.
1550 (CPU Time): Move CLK_TCK from here...
1551 (Processor Time): ...to here. Correct description.
1552 * manual/conf.texi (Constants for Sysconf): Correct description of
1553 _SC_CLK_TCK.
1554
d7dd4413
DM
15552012-04-10 David S. Miller <davem@davemloft.net>
1556
1557 [BZ #13967]
1558 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
1559 where the is a gap between DT_REL(A) and DT_JMPREL.
1560
b46068fc
L
15612012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1562
1563 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
1564 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1565 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1566
73d65cc3
SP
15672012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1568
1569 * elf/dl-support.c (_dl_inhibit_cache): New variable.
1570 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
1571 (dl_main): Handle --inhibit-cache.
1572 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
1573 _dl_inhibit_cache.
1574 * elf/dl-load.c (_dl_map_object): Use it.
1575 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
1576
bcc8d661
JM
15772012-04-09 Joseph Myers <joseph@codesourcery.com>
1578
8f9a2fae
JM
1579 [BZ #13872]
1580 * sysdeps/i386/fpu/e_powl.S (p78): New object.
1581 (__ieee754_powl): Saturate large exponents rather than testing for
1582 overflow of y*log2(x).
1583 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1584 * math/libm-test.inc (pow_test): Do not permit spurious overflow
1585 exceptions.
1586
bcc8d661
JM
1587 [BZ #11521]
1588 * math/s_ctan.c: Include <float.h>.
1589 (__ctan): Avoid internal overflow or cancellation in calculating
1590 denominator.
1591 * math/s_ctanf.c: Likewise.
1592 * math/s_ctanl.c: Likewise.
1593 * math/s_ctanh.c: Likewise.
1594 * math/s_ctanhf.c: Likewise.
1595 * math/s_ctanhl.c: Likewise.
1596 * math/libm-test.inc (ctan_test): Add more tests.
1597 (ctanh_test): Likewise.
1598 * sysdeps/i386/fpu/libm-test-ulps: Update.
1599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1600
823fbbb4
AJ
16012012-04-09 Andreas Jaeger <aj@suse.de>
1602
03879793
AJ
1603 [BZ #6894]
1604 * manual/filesys.texi (Directory Entries): Mention that d_namlen
1605 is an optional BSD extension.
1606
823fbbb4
AJ
1607 [BZ #10254]
1608 * manual/stdio.texi (Opening Streams): Document additional fopen
1609 parameters.
1610
8de131cb
RM
16112012-04-09 Roland McGrath <roland@hack.frob.com>
1612
1613 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
1614 %eax without telling the compiler.
1615
c0ed9d7d
CD
16162012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
1617
1618 [BZ # 13963]
1619 * manual/install.texi: Use sourceware.org.
1620
c483f6b4
JM
16212012-04-09 Joseph Myers <joseph@codesourcery.com>
1622
d7dd9453
JM
1623 [BZ #13873]
1624 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
1625 (__ieee754_pow): Generate overflow and underflow using huge*huge
1626 and tiny*tiny rather than just returning constant infinity or zero
1627 for large exponents.
1628 * math/libm-test.inc (pow_test): Require overflow exceptions for
1629 applicable cases of large exponents.
1630
c483f6b4
JM
1631 [BZ #706]
1632 * sysdeps/i386/fpu/e_pow.S (p10): New object.
1633 (__ieee754_pow): Use iterative multiplication algorithm only for
1634 integer exponents with absolute value below 1024. Check for odd
1635 integer exponents when using algorithm for real exponents.
1636 * math/libm-test.inc (pow_test): Add more tests.
1637 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1638
d2de7579
JM
16392012-04-08 Joseph Myers <joseph@codesourcery.com>
1640
1641 [BZ #13705]
1642 * math/libm-test.inc (exp_test): Do not allow overflow exception
1643 on underflow test.
1644
f77f1232
AJ
16452012-04-08 Aurelien Jarno <aurelien@aurel32.net>
1646
1647 [BZ #13705]
1648 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
1649 instead of __kernel_standard_f.
1650
3884932b
MF
16512012-04-08 Mike Frysinger <vapier@gentoo.org>
1652
1653 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
1654 * sysdeps/x86_64/memset_chk.S: Likewise.
1655
54472e9c
AJ
16562012-04-08 Andreas Jaeger <aj@suse.de>
1657
6ab0fbfc
AJ
1658 [BZ #10153]
1659 * manual/startup.texi (Environment Access): Describe return value
1660 for putenv and setenv.
1661
61efba8c
AJ
1662 [BZ #6895]
1663 * manual/filesys.texi (Directory Entries): Add description for
1664 DT_LNK.
1665
95c3f29a
AJ
1666 [BZ #6890]
1667 * manual/filesys.texi (Directory Entries): Clarify that it's file
1668 system not operating system in the description of DT_UNKNOWN.
1669
54472e9c
AJ
1670 [BZ #6578]
1671 * manual/syslog.texi (closelog): Fix reference, it's openlog.
1672
624254b1
SC
16732012-04-08 Stephen Compall <s11@member.fsf.org>
1674
1675 [BZ #6649]
1676 * manual/llio.texi (Opening and Closing Files): Add cross
1677 reference to explain mode argument.
1678
1e4920e0
MF
16792012-04-07 Mike Frysinger <vapier@gentoo.org>
1680
1681 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
1682 * sysdeps/x86_64/memset_chk.S: Likewise.
1683
5ed848f3
DM
16842012-04-07 David S. Miller <davem@davemloft.net>
1685
1686 * elf/elf.h (R_SPARC_WDISP10): Define.
1687 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
1688 R_SPARC_SIZE32.
1689 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
1690 R_SPARC_SIZE64 and R_SPARC_H34.
1691
96154cd8
CD
16922012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
1693
1694 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
1695 conditions and remove no longer applicable assertion.
1696
9904dc47
L
16972012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1698
1699 * bits/byteswap.h: Include <features.h>.
1700 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1701 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1702
f8887d0a
L
17032012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1704
1705 * bits/byteswap.h (__bswap_16): Removed.
1706 Include <bits/byteswap-16.h> to get __bswap_16.
1707 * sysdeps/i386/bits/byteswap.h: Likewise.
1708 * sysdeps/s390/bits/byteswap.h: Likewise.
1709 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1710 * bits/byteswap-16.h: New file.
1711 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1712 * sysdeps/s390/bits/byteswap-16.h: Likewise.
1713 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
1714 * string/Makefile (headers): Add bits/byteswap-16.h.
1715
62470f60
PP
17162012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1717
1718 [BZ #13895]
1719 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
1720 extra indirection.
1721 * nss/Makefile (tests-static, tests): Add tst-nss-static.
1722 * nss/tst-nss-static.c: New.
1723
4dad7bab
RM
17242012-04-06 Robert Millan <rmh@gnu.org>
1725
1726 [BZ #6486]
1727 * manual/llio.texi (File Position Primitive): lseek
1728 refers to WHENCE when it really means OFFSET.
1729
e9142a17
AJ
17302012-04-06 Andreas Jaeger <aj@suse.de>
1731
2c040eff
AJ
1732 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
1733 strncmp declarations.
1734
e9142a17
AJ
1735 * abilist/libc.abilist: Add __poll and __ppoll.
1736
ff9f1c5f
DM
17372012-04-05 David S. Miller <davem@davemloft.net>
1738
dcd2ae90
DM
1739 * scripts/check-local-headers.sh: Accept a host triplet in the
1740 path matched by the exclude regexp.
1741
993eb054
DM
1742 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
1743 definition.
1744 * sysdeps/powerpc/powerpc32/dl-machine.h
1745 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
1746 * sysdeps/s390/s390-32/dl-machine.h
1747 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1748 * sysdeps/sparc/sparc32/dl-machine.h
1749 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1750 * sysdeps/sparc/sparc64/dl-machine.h
1751 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1752
ff9f1c5f
DM
1753 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
1754 lazy binding.
48e2e132 1755 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
1756 undefined symbol errors.
1757
48e2e132 1758 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
1759 DT_NEEDED entries.
1760
e80d6f94
MM
17612012-04-05 Michael Matz <matz@suse.de>
1762
1763 [BZ #13592]
1764 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
1765
349fa79f
AJ
17662012-04-05 Andreas Jaeger <aj@suse.de>
1767
1768 [BZ #13908]
1769 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
1770 comment.
1771
f402708f
KK
17722012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1773
1774 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
1775 which ROUND is no valid rounding mode.
1776
2ecccfc9
KK
17772012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1778
1779 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
1780 read again.
1781 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
1782
8a53f50f
KK
17832012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1784
1785 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
1786 an exception using FPU order intentionally.
1787
17882012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1789
1790 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
1791 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
1792 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
1793 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
1794
d653abb7
SJ
17952012-04-05 Simon Josefsson <simon@josefsson.org>
1796
1797 [BZ #12340]
1798 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
1799 EINVAL when BUFLEN is too smal.
1800
c3b1bf7d
TS
18012012-04-05 Thomas Schwinge <thomas@codesourcery.com>
1802
1803 [BZ #13553]
1804 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
1805 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
1806
b1aa60f3
AJ
18072012-04-03 Andreas Jaeger <aj@suse.de>
1808
c3b1bf7d 1809 [BZ #13938]
67f60a26
AJ
1810 * manual/setjmp.texi (System V contexts): Fix sentence.
1811
b1aa60f3
AJ
1812 [BZ #13926]
1813 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
1814 New macro for this case.
1815 [!__GNUC__] (__bswap_64): New inline function for this case.
1816 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1817 * bits/byteswap.h: Likewise.
1818 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
1819 ull, guard with __GLIBC_HAVE_LONG_LONG.
1820
1821 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
1822 __GLIBC_HAVE_LONG_LONG.
1823
1824 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
1825 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
1826
39c59c35
TMQMF
18272012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1828
1829 [BZ #13691]
1830 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
1831 inptr and inend, rather than using last_ch.
1832
135ffda8
DM
18332012-04-02 David S. Miller <davem@davemloft.net>
1834
1835 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
1836 * stdio-common/printf-parse.h (read_int): Change return type to
1837 'int', return -1 on INT_MAX overflow.
1838 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
1839 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
1840 overflows INT_MAX. Check for overflow of in-format-string precision
1841 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
1842 SIZE_MAX not INT_MAX for integer overflow test.
1843 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
1844 skip the construct in the format string but do not record anything.
1845 * stdio-common/bug22.c: Adjust to test both width/prevision
1846 INT_MAX overflow as well as total length INT_MAX overflow. Check
1847 explicitly for proper errno values.
1848
228c019e
TS
18492012-04-02 Thomas Schwinge <thomas@codesourcery.com>
1850
302cadd3
TS
1851 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
1852 CHAR_MAX.
1853 * string/test-strcmp.c [! WIDE]: Likewise.
1854 * time/tst-mktime2.c: Likewise for INT_MAX.
1855 * string/test-string.h: #include <sys/param.h> for MIN.
1856
228c019e
TS
1857 * csu/init-first.c (__libc_init_first): Call __ctype_init.
1858 * sysdeps/i386/init-first.c (init): Likewise.
1859 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
1860 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
1861 * sysdeps/sh/init-first.c (init): Likewise.
1862
cfa633f5
UD
18632012-04-01 Ulrich Drepper <drepper@gmail.com>
1864
1865 * po/ru.po: Update from translation team.
d1635ef8 1866 * po/vi.po: Likewise.
cfa633f5 1867
6cd0a5ea
SP
18682012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1869
1870 * resolv/nss_dns/dns-host.c: Merge copyright years.
1871
4b43400f
LD
18722012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1873
1874 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
1875 Optimize memcpy with prefetch if
1876 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
1877 src, dst pointers have unequal 16 byte alignments.
1878
48c41d04
SP
18792012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1880
1881 [BZ #13928]
1882 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
1883 from a CNAME entry and return the minimum ttl for the query.
1884 (gaih_getanswer_slice): Likewise.
1885
b8dc394d
JL
18862012-03-30 Jeff Law <law@redhat.com>
1887
1888 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
1889 due to long keys.
1890 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1891 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1892
2f5a5ed0
JL
1893 * resolv/nss_dns/dns-host.c: Update copyright year.
1894
1d39e359
UD
18952012-03-30 Ulrich Drepper <drepper@gmail.com>
1896
c030f70c 1897 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 1898 requests to save a system call. Fix check that all bytes are sent.
c030f70c 1899
1d39e359
UD
1900 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
1901 comments for sendmmsg.
1902
19032012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
1904
1905 [BZ #13691]
1906 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
1907 with only 1 character between 0x0041 and 0x01b0.
1908 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
1909 * wcsmbs/tst-mbsnrtowcs.c: New file.
1910
20fde227
DM
19112012-03-29 David S. Miller <davem@davemloft.net>
1912
1913 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
1914 small copies by hand.
1915
984a4237
JL
19162012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1917
1918 [BZ #13761]
1919 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
1920 _nss_compat_initgroups_dyn): Fall back to malloc/free
1921 for large group memberships.
1922
18c9d62b
DM
19232012-03-28 David S. Miller <davem@davemloft.net>
1924
88d85d4f
DM
1925 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
1926 that branches into memcpy.
1927 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1928 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1929 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1930 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1931 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
1932 bits.
1933 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
1934 implementation too.
1935 * sysdeps/sparc/mempcpy.S: New file.
1936
e5aa83e1
DM
1937 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
1938 the IFUNC routine in the libc case.
1939 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1940
88570753
DM
1941 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
1942 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
1943 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
1944 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
1945 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
1946 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
1947 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
1948 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
1949
249d7567
DM
1950 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
1951 loop to 256 bytes instead of 64 bytes and fix test signedness.
1952
18c9d62b
DM
1953 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
1954 * sysdeps/sparc/sparc32/Makefile: rather than here...
1955 * sysdeps/sparc/sparc64/Makefile: and here.
1956
05f3d1f6
UD
19572012-03-28 Ulrich Drepper <drepper@gmail.com>
1958
1959 * malloc/mallocbug.c: Avoid warnings about unused variables.
1960
86ae07a8
JL
19612012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1962
1963 [BZ #13760]
1964 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
1965 in the right place. Discard and retry query if response is
1966 larger than input buffer size.
1967
41bf21a1
JM
19682012-03-28 Joseph Myers <joseph@codesourcery.com>
1969
d6270972
JM
1970 [BZ #369]
1971 [BZ #2678]
1972 [BZ #3866]
1973 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
1974 x for large integer exponent.
1975 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1976 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
1977 sign of result as needed afterwards.
1978 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1979 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
1980 result for underflowing pow the same as for overflow.
1981 (__kernel_standard_l): Handle powl overflow and underflow here
1982 rather than calling __kernel_standard.
1983 * math/libm-test.inc (pow_test): Add more tests.
1984
414fca03 1985 [BZ #3868]
41bf21a1
JM
1986 [BZ #13879]
1987 [BZ #13910]
1988 [BZ #13911]
1989 [BZ #13912]
1990 [BZ #13913]
1991 [BZ #13915]
1992 [BZ #13916]
1993 [BZ #13917]
1994 [BZ #13918]
1995 [BZ #13919]
1996 [BZ #13920]
1997 [BZ #13921]
1998 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
1999 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2000 (__kernel_standard_l): New function.
2001 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2002 __kernel_standard.
2003 * math/w_acosl.c (__acosl): Likewise.
2004 * math/w_asinl.c (__asinl): Likewise.
2005 * math/w_atan2l.c (__atan2l): Likewise.
2006 * math/w_atanhl.c (__atanhl): Likewise.
2007 * math/w_coshl.c (__coshl): Likewise.
2008 * math/w_exp10l.c (__exp10l): Likewise.
2009 * math/w_exp2l.c (__exp2l): Likewise.
2010 * math/w_fmodl.c (__fmodl): Likewise.
2011 * math/w_hypotl.c (__hypotl): Likewise.
2012 * math/w_j0l.c (__j0l, __y0l): Likewise.
2013 * math/w_j1l.c (__j1l, __y1l): Likewise.
2014 * math/w_jnl.c (__jnl, __ynl): Likewise.
2015 * math/w_lgammal.c (__lgammal): Likewise.
2016 * math/w_log10l.c (__log10l): Likewise.
2017 * math/w_log2l.c (__log2l): Likewise.
2018 * math/w_logl.c (__logl): Likewise.
2019 * math/w_powl.c (__powl): Likewise.
2020 * math/w_remainderl.c (__remainderl): Likewise.
2021 * math/w_scalbl.c (sysv_scalbl): Likewise.
2022 * math/w_sinhl.c (__sinhl): Likewise.
2023 * math/w_sqrtl.c (__sqrtl): Likewise.
2024 * math/w_tgammal.c (__tgammal): Likewise.
2025 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2026 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2027 * math/libm-test.inc (acos_test): Add more tests.
2028 (acosh_test): Likewise.
2029 (asin_test): Likewise.
2030 (atanh_test): Likewise.
2031 (exp_test): Likewise.
2032 (exp10_test): Likewise.
2033 (exp2_test): Likewise.
2034 (expm1_test): Likewise.
2035 (lgamma_test): Likewise.
2036 (log_test): Likewise.
2037 (log10_test): Likewise.
2038 (log1p_test): Likewise.
2039 (log2_test): Likewise.
2040 (pow_test): Do not allow some spurious overflow exceptions.
2041 (sqrt_test): Add more tests.
2042 (tgamma_test): Likewise.
2043 (y0_test): Likewise.
2044 (y1_test): Likewise.
2045 (yn_test): Likewise.
2046
dd62fda6
AB
20472012-03-27 Anton Blanchard <anton@samba.org>
2048
2049 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2050 MAP_HUGETLB.
2051 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2052 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2053 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2054
1e3cdfda
AJ
20552012-03-27 David S. Miller <davem@davemloft.net>
2056
b855ab85
DM
2057 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2058
1e3cdfda
AJ
2059 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2060 have-as-vis3 check.
2061
20622012-03-27 Andreas Jaeger <aj@suse.de>
2063
2064 * sysdeps/x86_64/elf/configure.in: Moved to ...
2065 * sysdeps/x86_64/configure.in: ... here.
2066 * sysdeps/x86_64/elf/start.S: Moved to ...
2067 * sysdeps/x86_64/start.S: ... here.
2068 * sysdeps/x86_64/elf/configure: Delete.
2069
2070 * sysdeps/x86_64/configure.in: Merge contents from
2071 sysdeps/i386/configure.in (without i686 check).
2072
2073 * sysdeps/i386/elf/Versions: Merge into ...
2074 * sysdeps/i386/Versions: ... this.
2075 * sysdeps/i386/elf/Versions: Delete file.
2076 * sysdeps/i386/elf/start.S: Moved to ...
2077 * sysdeps/i386/start.S: ...here.
2078 * sysdeps/i386/elf/configure.in: Merge into...
2079 * sysdeps/i386/configure.in: ...here.
2080 * sysdeps/i386/elf/configure.in: Delete file.
2081 * sysdeps/i386/elf/configure: Delete file.
2082
2083 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2084 * debug/backtracesyms.c: ... here.
2085 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2086 * debug/backtracesymsfd.c: ... here.
2087 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2088 * sysdeps/generic/ifunc-sel.h: ... here.
2089
2090 * sysdeps/unix/i386/start.c: Delete file.
2091 * sysdeps/unix/sparc/start.c: Delete file.
2092 * sysdeps/unix/start.c: Delete file.
2093
2094 * sysdeps/sh/elf/configure.in: Moved to ...
2095 * sysdeps/sh/configure.in: ... here.
2096 * sysdeps/sh/elf/start.S: Moved to ...
2097 * sysdeps/sh/start.S: ... here.
2098 * sysdeps/sh/elf/configure: Delete file.
2099
2100 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2101 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2102 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2103 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2104 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2105 * sysdeps/powerpc/powerpc64/start.S: here.
2106 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2107 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2108 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2109 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2110 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2111
2112 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2113 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2114 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2115 * sysdeps/powerpc/powerpc32/start.S: ... here.
2116 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2117 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2118 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2119
2120 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2121 * sysdeps/powerpc/ifunc-sel.h: ... here.
2122 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2123 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2124
2125 * sysdeps/sparc/elf/configure.in: Moved to ...
2126 * sysdeps/sparc/configure.in: ... here.
2127 * sysdeps/sparc/elf/configure: Delete file.
2128 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2129 * sysdeps/sparc/sparc32/start.S: ... here.
2130 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2131 * sysdeps/sparc/sparc64/start.S: ... here.
2132 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2133 * sysdeps/sparc/sparc32/Makefile: ... this.
2134 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2135 * sysdeps/sparc/sparc64/Makefile: ... this.
2136
2137 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2138 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2139 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2140 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2141 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2142 * sysdeps/s390/s390-32/setjmp.S: ... here.
2143 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2144 * sysdeps/s390/s390-32/configure.in: ... here.
2145 * sysdeps/s390/s390-32/elf/configure: Delete file.
2146 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2147 * sysdeps/s390/s390-32/start.S: ... here.
2148
2149 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2150 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2151 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2152 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2153 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2154 * sysdeps/s390/s390-64/setjmp.S: ... here.
2155 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2156 * sysdeps/s390/s390-64/configure.in: ... here
2157 * sysdeps/s390/s390-64/elf/configure: Delete file.
2158 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2159 * sysdeps/s390/s390-64/start.S: ... here.
2160 * sysdeps/s390/s390-64/elf/configure: Delete.
2161
2162 * configure.in: Remove support for elf directories in sysdeps.
2163
2164 * configure: Regenerated.
2165 * sysdeps/i386/configure: Regenerated.
2166 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2167 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2168 * sysdeps/s390/s390-32/configure: Regenerated.
2169 * sysdeps/s390/s390-64/configure: Regenerated.
2170 * sysdeps/sh/configure: Regenerated.
2171 * sysdeps/sparc/configure: Regenerated.
2172 * sysdeps/x86_64/configure: Regenerated.
2173
a3f61311
AS
21742012-03-26 Andreas Schwab <schwab@linux-m68k.org>
2175
c876e002
AS
2176 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2177
a3f61311
AS
2178 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2179 denormal result into account.
2180
ac4c54f0
RM
21812012-03-25 Roland McGrath <roland@hack.frob.com>
2182
2183 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2184 Reported by Allan McRae <allan@archlinux.org>.
2185
6a9b9c02
JL
21862012-03-23 Jeff Law <law@redhat.com>
2187
2188 * nss/getnssent.c (__nss_getent): Fix typo.
2189
4c42a0c1
DM
21902012-03-23 David S. Miller <davem@davemloft.net>
2191
2192 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2193
1532c7ac
L
21942012-03-23 H.J. Lu <hongjiu.lu@intel.com>
2195
2196 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2197 to pad to uint64_t for each field.
2198 (dl_tls_index): Replace unsigned long with uint64_t.
2199
3ff42526
PP
22002012-03-23 Daniel Jacobowitz <dmj@google.com>
2201 Paul Pluzhnikov <ppluzhnikov@google.com>
2202
2203 [BZ #6528]
2204 * grp/Makefile (otherlibs): Don't set it.
2205 * inet/Makefile (otherlibs): Likewise.
2206 * login/Makefile (otherlibs): Likewise.
2207 * nscd/Makefile (otherlibs): Likewise.
2208 * posix/Makefile (otherlibs): Likewise.
2209 * pwd/Makefile (otherlibs): Likewise.
2210 * rt/Makefile (otherlibs): Likewise.
2211 * sunrpc/Makefile (otherlibs): Likewise.
2212 * nss/Makefile (otherlibs): Likewise.
2213 Add libnss_files to routines and static-only-routines.
2214 ($(objpfx)getent): Remove rule.
2215 * resolv/Makefile: Add libnss_dns and libresolv to routines and
2216 static-only-routines.
2217
7c69cd14
JM
22182012-03-22 Joseph Myers <joseph@codesourcery.com>
2219
2220 [BZ #13892]
2221 * math/s_cexp.c: Include <float.h>.
2222 (__cexp): Handle exp result overflowing not necessarily
2223 overflowing both real and imaginary parts of result.
2224 * math/s_cexpf.c: Likewise.
2225 * math/s_cexpl.c: Likewise.
2226 * math/libm-test.inc (cexp_test): Add more tests.
2227 * sysdeps/i386/fpu/libm-test-ulps: Update.
2228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2229
81b035fe
L
22302012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2231
2232 * include/link.h (ELFW): New macro.
2233 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2234 Replace ELF64_R_TYPE with ELFW(R_TYPE).
2235
1da7940c
L
22362012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2237
2238 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2239 with uint64_t.
2240
b749dbb9
L
22412012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2242
2243 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2244 declaration.
2245 (struct La_x32_retval): Likewise.
2246
2ff87f3f
L
22472012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2248
2249 * sysdeps/x86_64/preconfigure.in: New file.
2250 * sysdeps/x86_64/preconfigure: New generated file.
2251
c0df8e69
JM
22522012-03-22 Joseph Myers <joseph@codesourcery.com>
2253
48e44791
JM
2254 [BZ #13824]
2255 * math/e_exp2l.c: Include <float.h>.
2256 (__ieee754_exp2l): Handle overflow and underflow cases
2257 separately. Only pass fractional part of argument to
2258 __ieee754_expl.
2259 * math/libm-test.inc (exp2_test): Add more tests.
2260
c0df8e69
JM
2261 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
2262 negating x to take absolute value.
2263 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2264 Likewise.
2265 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2266 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2267 Likewise.
2268 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
2269 computing low part if x was negated.
2270 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2271
c8e43ba7
L
22722012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2273
2274 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
2275 la_x32_gnu_pltexit.
2276 (pltexit): Cast int_retval to ptrdiff_t.
2277 * elf/tst-auditmod3b.c: Likewise.
2278 * elf/tst-auditmod4b.c: Likewise.
2279 * elf/tst-auditmod5b.c: Likewise.
2280 * elf/tst-auditmod6b.c: Likewise.
2281 * elf/tst-auditmod6c.c: Likewise.
2282 * elf/tst-auditmod7b.c: Likewise.
2283
2284 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
2285 and x32_gnu_pltexit.
2286
2287 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
2288 __ELF_NATIVE_CLASS.
2289 (La_x32_regs): New macro.
2290 (La_x32_retval): Likewise.
2291 (la_x32_gnu_pltenter): New function prototype.
2292 (la_x32_gnu_pltexit): Likewise.
2293
7998fa78
AS
22942012-03-21 Andreas Schwab <schwab@linux-m68k.org>
2295
dcb33988
AS
2296 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
2297 exponent.
2298
233fc563
AS
2299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2300
7998fa78
AS
2301 * configure.in (libc_cv_cc_nofma): Check for option to disable
2302 generation of FMA instructions.
2303 * configure: Regenerate.
2304 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
2305 * sysdeps/ieee754/dbl-64/Makefile: New file.
2306 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2307 Remove brandred-fma4.
2308 (CFLAGS-brandred-fma4.c): Remove.
2309 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
2310 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
2311 define.
2312 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
2313 define.
2314
8e95c99a
L
23152012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2316
2317 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2318 LLONG_MAX != LONG_MAX.
2319 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2320 (_fitoa_word): Likewise.
2321 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
2322 LLONG_MAX != LONG_MAX.
2323 * stdio-common/_itowa.h: Include <_itoa.h>.
2324 (_itowa_word): Use _ITOA_WORD_TYPE on value.
2325 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
2326 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
2327 only if not defined.
2328 (_ITOA_WORD_TYPE): Likewise.
2329 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2330 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
2331
6f4db457
DM
23322012-03-21 David S. Miller <davem@davemloft.net>
2333
2334 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2335
7785fe5a
L
23362012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2337
2338 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
2339 of x86_64 when setting libc_cv_slibdir, libdir and
2340 libc_cv_localedir.
2341 * sysdeps/unix/sysv/linux/configure: Regenerated.
2342
4535cd55
JM
23432012-03-21 Joseph Myers <joseph@codesourcery.com>
2344
2345 * manual/lang.texi (Old Varargs): Remove section.
2346 (How Variadic): Update menu.
2347 (va_start): Do not mention varargs.h.
2348
17228132
TS
23492012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2350 Joseph Myers <joseph@codesourcery.com>
2351
2352 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
2353 link test.
2354 * configure: Regenerated.
2355
8149f976
TS
23562012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2357
05f3d1f6
UD
2358 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
2359 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
2360 conformtest.pl
8149f976 2361
1a4ac776
JM
23622012-03-21 Joseph Myers <joseph@codesourcery.com>
2363
be22ce65
JM
2364 * NOTES: Remove.
2365 * Makefile (files-for-dist): Remove NOTES.
2366 (NOTES): Remove rule.
2367 * README: Don't refer to NOTES.
2368 * manual/creature.texi: Don't include macros.texi.
2369 * manual/intro.texi (creature.texi): Remove comment referring to
2370 NOTES.
2371
40b601fb
JM
2372 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
2373 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
2374 * configure: Regenerated.
2375 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
2376 LIBC_TRY_CC_OPTION.
2377 (libc_cv_as_i686): Likewise.
2378 (libc_cv_cc_avx): Likewise.
2379 (libc_cv_cc_sse2avx): Likewise.
2380 (libc_cv_cc_fma4): Likewise.
2381 (libc_cv_cc_novzeroupper): Likewise.
2382 * sysdeps/i386/configure: Regenerated.
2383
1a4ac776
JM
2384 [BZ #13883]
2385 * sysdeps/i386/fpu/s_cexp.S: Remove.
2386 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2387 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2388 * math/libm-test.inc (cexp_test): Add more tests.
2389 * sysdeps/i386/fpu/libm-test-ulps: Update.
2390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2391
a458e7fe
AM
23922012-03-21 Allan McRae <allan@archlinux.org>
2393
2394 * timezone/Makefile: Do not install iso3166.tab and zone.tab
2395
0cb7efc5
JM
23962012-03-21 Joseph Myers <joseph@codesourcery.com>
2397
2398 [BZ #13871]
2399 * math/w_exp2.c: Do not include <float.h>.
2400 (o_threshold, u_threshold): Remove.
2401 (__exp2): Calculate result before checking finiteness and calling
2402 __kernel_standard.
2403 * math/w_exp2f.c: Likewise.
2404 * math/w_exp2l.c: Likewise.
2405 * math/libm-test.inc (exp2_test): Require overflow exception for
2406 1e6 input.
2460d3aa
JM
2407
2408 [BZ #3866]
2409 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
2410 range of signed 64-bit integers before using fistpll. Remove
2411 checks for whether integers fit in mantissa bits.
2412 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
2413 the range of signed 32-bit integers before using fistpl. Remove
2414 checks for whether integers fit in mantissa bits.
2415 * sysdeps/i386/fpu/e_powl.S (p64): New object.
2416 (__ieee754_powl): Test for y outside the range of signed 64-bit
2417 integers before using fistpll. Reduce 64-bit values to 63-bit
2418 ones as needed.
2419 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
2420 divide-by-zero is raised for zero to large negative powers.
2421 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
2422 (__ieee754_powl): Test for y outside the range of signed 64-bit
2423 integers before using fistpll. Reduce 64-bit values to 63-bit
2424 ones as needed.
2425 * math/libm-test.inc (pow_test): Add more tests.
2426
eb96ffb0
L
24272012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2428
2429 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
2430 <stdio-common/_itoa.h>.
2431 * debug/segfault.c: Likewise.
2432 * elf/dl-cache.c: Likewise.
2433 * elf/dl-minimal.c: Likewise.
2434 * elf/dl-misc.c: Likewise.
2435 * elf/dl-sysdep.c: Likewise.
2436 * elf/dl-version.c: Likewise.
2437 * elf/rtld.c: Likewise.
2438 * hurd/hurdsock.c: Likewise.
2439 * hurd/lookup-retry.c: Likewise.
2440 * malloc/malloc.c: Likewise.
2441 * malloc/mtrace.c: Likewise.
2442 * nscd/nscd_getgr_r.c: Likewise.
2443 * nscd/nscd_getpw_r.c: Likewise.
2444 * nscd/nscd_getserv_r.c: Likewise.
2445 * posix/getopt_init.c: Likewise.
2446 * posix/wordexp.c: Likewise.
2447 * stdio-common/_itoa.c: Likewise.
2448 * stdio-common/printf_fphex.c: Likewise.
2449 * stdio-common/vfprintf.c: Likewise.
2450 * string/_strerror.c: Likewise.
2451 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
2452 * sysdeps/i386/i686/hp-timing.h: Likewise.
2453 * sysdeps/mach/_strerror.c: Likewise.
2454 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
2455 * sysdeps/mach/hurd/sethostid.c: Likewise.
2456 * sysdeps/mach/hurd/xmknodat.c: Likewise.
2457 * sysdeps/mach/xpg-strerror.c: Likewise.
2458 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2459 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2460 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
2461 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
2462 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2463 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
2464 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2465 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2466 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
2467 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
2468 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
2469 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2470 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
2471 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2472 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2473 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
2474 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
2475 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2476 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2477 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2478 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
2479
2480 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
2481
2482 * stdio-common/_itoa.h: Moved to ...
2483 * sysdeps/generic/_itoa.h: Here.
2484
2485 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
2486
2487 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
2488 instead of "_itoa.h" and "_itowa.h".
2489 * stdio-common/vfprintf.: Likewise.
2490
d1af992d
L
24912012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2492
2493 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
2494 <bits/wordsize.h>.
2495 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
2496 (__signbit): Likwise.
2497 (llrintf): Likwise.
2498 (llrint): Likwise.
2499
114883e0
L
25002012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2501
2502 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
2503 __WORDSIZE != 64.
2504
c135cc1b
JM
25052012-03-20 Joseph Myers <joseph@codesourcery.com>
2506
2507 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
2508 OVERFLOW_EXCEPTION_OK.
2509 * math/libm-test.inc ("Philosophy"): Update comment about
2510 exception testing.
2511 (OVERFLOW_EXCEPTION): Define.
2512 (OVERFLOW_EXCEPTION_OK): Likewise.
2513 (INVALID_EXCEPTION_OK): Renumber.
2514 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2515 (IGNORE_ZERO_INF_SIGN): Likewise.
2516 (test_exceptions): Handle FE_OVERFLOW.
2517 (exp10_test): Expect overflow exceptions.
2518 (exp2_test): Likewise.
2519 (expm1_test): Likewise.
2520 (nextafter_test): Likewise.
2521 (pow_test): Likewise.
2522 (scalbn_test): Likewise.
2523 (scalbln_test): Likewise.
2524
95443d88
L
25252012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2526
2527 * sysdeps/x86_64/bits/atomic.h
2528 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
2529 64bit integer.
2530 (atomic_exchange_acq): Likewise.
2531 (__arch_exchange_and_add_body): Likewise.
2532 (__arch_add_body): Likewise.
2533 (atomic_add_negative): Likewise.
2534 (atomic_add_zero): Likewise.
2535
490df6c4
L
25362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2537
c2722551 2538 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
2539 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
2540
5e52b189
L
25412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2542
2543 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
2544 Check __x86_64__ instead of __WORDSIZE.
2545
a9879d4c
L
25462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2547
2548 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
2549
5df98260
DM
25502012-03-19 David S. Miller <davem@davemloft.net>
2551
e1497744
DM
2552 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2553
5df98260
DM
2554 * sysdeps/sparc/fpu/fenv_private.h: New file.
2555 * sysdeps/sparc/fpu/math_private.h: Use it.
2556 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
2557 Remove.
2558 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
2559 (libc_feholdexcept_setroundl): Remove.
2560 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
2561 Remove.
2562 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
2563 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
2564
b4c35121
L
25652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2566
2567 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
2568 int64_t instead of long int.
2569 (INSERT_WORDS64): Likwise.
2570
56965fd7
L
25712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2572
2573 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
2574 _Unwind_GetCFA return to _Unwind_Ptr first.
2575
83d1aec8
JM
25762012-03-19 Joseph Myers <joseph@codesourcery.com>
2577
1897ad44
JM
2578 [BZ #13629]
2579 * math/s_clog.c: Include <float.h>.
2580 (__clog): Scale large or subnormal inputs.
2581 * math/s_clogf.c: Likewise.
2582 * math/s_clogl.c: Likewise.
2583 * math/s_clog10.c: Include <float.h>.
2584 (M_LOG10_2): Define.
2585 (__clog10): Scale large or subnormal inputs.
2586 * math/s_clog10f.c: Likewise.
2587 * math/s_clog10l.c: Likewise.
2588 * math/libm-test.inc (clog_test): Add more tests.
2589 (clog10_test): Likewise.
2590 * sysdeps/i386/fpu/libm-test-ulps: Update.
2591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2592
7726d6a9
JM
2593 [BZ #11451]
2594 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
2595 x and y.
2596 * math/libm-test.inc (atan2_test): Add another test.
2597
83d1aec8
JM
2598 * Makerules (common-objdir-compile): Remove.
2599 * sysdeps/unix/Makefile (config-generated): Do not add
2600 $(unix-generated) to variable.
2601 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
2602 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
2603 Remove rule.
2604 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
2605 Likewise.
2606 [generic bits/local_lim.h] (before-compile): Do not append to
2607 variable.
2608 [generic bits/local_lim.h] (common-generated): Likewise.
2609 [generic sys/param.h] (before-compile): Do not append to variable.
2610 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
2611 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
2612 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
2613 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
2614 include.
2615 [generic sys/param.h] (sys/param.h-includes): Remove variable.
2616 [generic sys/param.h] (sys/param.h-includes): Remove rule.
2617 [generic sys/param.h] ($(addprefix
2618 $(common-objpfx),$(sys/param.h-includes))): Likewise.
2619 [generic sys/param.h] (common-generated): Do not append to
2620 variable.
2621 [generic sys/param.h] (sysdep_headers): Likewise.
2622 [generic bits/errno.h] (before-compile): Do not append to
2623 variable.
2624 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
2625 rule.
2626 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
2627 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
2628 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
2629 [generic bits/errno.h] (common-generated): Do not append to
2630 variable.
2631 [generic bits/ioctls.h] (before-compile): Do not append to
2632 variable.
2633 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
2634 rule.
2635 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
2636 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
2637 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
2638 rule.
2639 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
2640 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
2641 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
2642 [generic bits/ioctls.h] (common-generated): Do not append to
2643 variable.
2644 [generic sys/syscall.h] (syscall.h): Remove variable.
2645 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
2646 rule.
2647 [generic sys/syscall.h] (before-compile): Do not append to
2648 variable.
2649 [generic sys/syscall.h] (common-generated): Likewise.
2650 * sysdeps/unix/errnos-tmpl.c: Remove file.
2651 * sysdeps/unix/errnos.awk: Likewise.
2652 * sysdeps/unix/ioctls-tmpl.c: Likewise.
2653 * sysdeps/unix/ioctls.awk: Likewise.
2654 * sysdeps/unix/mk-local_lim.c: Likewise.
2655 * sysdeps/unix/snarf-ioctls: Likewise.
2656
4851a949
RH
26572012-03-19 Richard Henderson <rth@twiddle.net>
2658
bd37f2ee
RH
2659 * sysdeps/i386/fpu/fenv_private.h: New file.
2660 * sysdeps/i386/fpu/math_private.h: Use it.
2661 (math_opt_barrier, math_force_eval): Remove.
2662 (libc_feholdexcept_setround_53bit): Remove.
2663 (libc_feupdateenv_53bit): Remove.
2664 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2665 (math_opt_barrier, math_force_eval): Remove.
2666 (libc_feholdexcept): Remove.
2667 (libc_feholdexcept_setround): Remove.
2668 (libc_fetestexcept, libc_fesetenv): Remove.
2669 (libc_feupdateenv_test): Remove.
2670 (libc_feupdateenv, libc_feholdsetround): Remove.
2671 (libc_feresetround): Remove.
2672
d0adc922
RH
2673 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
2674 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2675
0fe0f1f8
RH
2676 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
2677 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
2678 (libc_feupdateenv_testl): New.
2679 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
2680 (libc_feupdateenv_testf): New.
2681 (libc_feupdateenv): Use libc_feupdateenv_test.
2682 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
2683 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
2684
eb92c487
RH
2685 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
2686 (libc_feholdsetroundf, libc_feholdsetroundl): New.
2687 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
2688 (libc_feresetround_noex): New.
2689 (libc_feresetround_noexf): New.
2690 (libc_feresetround_noexl): New.
2691 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
2692 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
2693 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
2694 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
2695 SET_RESTORE_ROUND.
2696 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
2697 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
2698 (__cos): Likewise.
2699 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
2700 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
2701 SET_RESTORE_ROUND_NOEX.
2702 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
2703 SET_RESTORE_ROUND_NOEXF.
2704 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
2705 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
2706 (libc_feholdsetroundf): New.
2707 (libc_feresetround, libc_feresetroundf): New.
2708
7d2e8012
RH
2709 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
2710 (libc_feholdexcept_setround_53bit): Convert from macro to function.
2711 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
2712
b4dabbb4
RH
2713 * sysdeps/generic/math_private.h: Include <fenv.h>.
2714 (default_libc_feholdexcept): New.
2715 (default_libc_feholdexcept_setround): New.
2716 (default_libc_fesetenv, default_libc_feupdateenv): New.
2717 (libc_feholdexcept): Only define if undefined.
2718 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
2719 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
2720 (libc_feholdexcept_setroundl): Likewise.
2721 (libc_feholdexcept_setround_53bit): Likewise.
2722 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
2723 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
2724 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
2725 (libc_feupdateenv_53bit): Likewise.
2726 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
2727 (libc_feholdexcept): Convert from macro to inline function.
2728 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
2729 (libc_fesetenv, libc_feupdateenv): Likewise.
2730
4851a949
RH
2731 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
2732 not previously defined.
2733 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
2734 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
2735 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
2736 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
2737 * sysdeps/ieee754/flt-32/math_private.h: New file.
2738 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
2739 math_private.h below SET_FLOAT_WORD.
2740 (__isnan, __isinf_ns, __finite): Remove.
2741 (__isnanf, __isinf_nsf, __finitef): Remove.
2742
e79d442e
AS
27432012-03-18 Andreas Schwab <schwab@linux-m68k.org>
2744
2745 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2746
90b80344
DM
27472012-03-17 David S. Miller <davem@davemloft.net>
2748
2749 [BZ #6471]
2750 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
2751 for 2.16.
2752
edc21804
DM
27532012-03-16 David S. Miller <davem@davemloft.net>
2754
77e927af
DM
2755 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
2756 warnings.
2757
374976dd
DM
2758 [BZ #6471]
2759 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
2760 properly.
2761 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
2762 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
2763 sysdep_routines when subdir is sysvipc.
2764 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
2765 __getshmlba helper.
2766
edc21804
DM
2767 * sysdeps/sparc/fpu/libm-test/ulps: Update.
2768
473c3ef3
L
27692012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2770
2771 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
2772 [__LP64__].
2773
eb0f39b6
L
27742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2775
2776 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
2777 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
2778 (__lround): Renamed to ...
2779 (__llround): This. Replace long int with long long int.
2780 Define lround functions as aliases of llround functions.
2781 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
2782
6b6cd74b
L
27832012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2784
2785 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
2786 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
2787 adresses to uintptr_t. Replace "long int" and "unsigned long
2788 int" with "greg_t" on va_arg.
2789
f1a77b01
L
27902012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2791
2792 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
2793 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
2794
2795 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2796 Move e_machine check before EI_CLASS check. Handle x32
2797 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
2798 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
2799 SKIP_EM_IA_64 and include
2800 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
2801
2802 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
2803 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
2804 (add_system_dir): New macro.
2805
2806 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
2807 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
2808
11b90b9f
JM
28092012-03-16 Joseph Myers <joseph@codesourcery.com>
2810
c36e1d23
JM
2811 [BZ #2551]
2812 [BZ #2552]
2813 [BZ #2553]
2814 [BZ #2554]
2815 [BZ #2562]
2816 [BZ #2563]
2817 [BZ #2565]
2818 [BZ #2566]
2819 [BZ #2576]
2820 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
2821 (y0): Likewise.
2822 * math/w_j0f.c (j0f): Likewise.
2823 (y0f): Likewise.
2824 * math/w_j0l.c (__j0l): Likewise.
2825 (__y0l): Likewise.
2826 * math/w_j1.c (j1): Likewise.
2827 (y1): Likewise.
2828 * math/w_j1f.c (j1f): Likewise.
2829 (y1f): Likewise.
2830 * math/w_j1l.c (__j1l): Likewise.
2831 (__y1l): Likewise.
2832 * math/w_jn.c (jn): Likewise.
2833 (yn): Likewise.
2834 * math/w_jnf.c (jnf): Likewise.
2835 (ynf): Likewise.
2836 * math/w_jnl.c (__jnl): Likewise.
2837 (__ynl): Likewise.
2838 * math/libm-test.inc (j0_test): Add more tests.
2839 (j1_test): Likewise.
2840 (jn_test): Likewise. Add trailing semicolon to existing test.
2841 (y0_test): Likewise.
2842 (y1_test): Likewise.
2843 * sysdeps/i386/fpu/libm-test-ulps: Update.
2844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2845
11b90b9f
JM
2846 [BZ #13851]
2847 [BZ #13854]
2848 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
2849 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
2850 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
2851 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
2852 (__tanl): Set errno for infinite argument.
2853 * sysdeps/i386/fpu/mptan.c: Remove.
2854 * sysdeps/i386/fpu/s_tan.S: Likewise.
2855 * sysdeps/i386/fpu/s_tanl.S: Likewise.
2856 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
2857 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
2858 * math/libm-test.inc (tan_test): Add more tests and enable more
2859 tests for double and long double.
2860 * sysdeps/i386/fpu/libm-test-ulps: Update.
2861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2862
6a1bd2a1
JK
28632012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2864
2865 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
2866 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
2867
10a803e0
RM
28682012-03-16 Roland McGrath <roland@hack.frob.com>
2869
2870 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
2871 * configure.in: Use it for both main tree and add-ons.
2872 * configure: Regenerated.
2873
f196c7f7
L
28742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2875
2876 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
2877
8848d99d
JM
28782012-03-16 Joseph Myers <joseph@codesourcery.com>
2879
96cbe7f4
JM
2880 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
2881 in comment.
2882
8848d99d
JM
2883 [BZ #13851]
2884 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
2885 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
2886 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
2887 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
2888 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
2889 infinite argument.
2890 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
2891 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
2892 != 0 for prec == 2.
2893 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
2894 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
2895 * sysdeps/i386/fpu/s_cosl.S: Likewise.
2896 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2897 * sysdeps/i386/fpu/s_sinl.S: Likewise.
2898 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
2899 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
2900 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
2901 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
2902 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
2903 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
2904 * math/libm-test.inc (cos_test): Add more tests and enable more
2905 tests for long double.
2906 (sin_test): Likewise.
2907 (sincos_test): Likewise.
2908 * sysdeps/i386/fpu/libm-test-ulps: Update.
2909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2910
dd7f4703
DM
29112012-03-16 David S. Miller <davem@davemloft.net>
2912
2913 * sysdeps/sparc/fpu/math_private.h: New file.
2914
006f1daa
DM
29152012-03-15 David S. Miller <davem@davemloft.net>
2916
c0c83bc8
DM
2917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
2918 file.
e6a62e18 2919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
2920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
2921 file.
e6a62e18
DM
2922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
2923 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
2924 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
2925 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
2926 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
2927 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
2928 sysdep routines.
2929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2930
88cb87d9
DM
2931 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
2932 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
2933
006f1daa 2934 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
2935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
2936 sparc-ifunc.h
006f1daa 2937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
2938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
2939 Likewise.
2940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
2941 Likewise.
006f1daa
DM
2942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
2943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
2944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
2945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2946 Likewise.
006f1daa
DM
2947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
2949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
2951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
2952 Likewise.
2953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
2954 Likewise.
006f1daa
DM
2955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
2957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
2958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
2959 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2960 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2961 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
2962 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
2963 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2964 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2965 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
2966 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
2967 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
2968 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
2969 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
2970 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
2971 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
2972 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
2973 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
2974 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
2975 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
2976 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
2977 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
2978 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
2979
11e0098e
AS
29802012-03-15 Andreas Schwab <schwab@linux-m68k.org>
2981
2982 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
2983 scaling.
2984 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2985
e85b09d0
AJ
29862012-03-15 Andreas Jaeger <aj@suse.de>
2987
2988 [BZ #13852]
2989 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
2990 ieee754/flt-32 implementation for sin, cos and sincos.
2991 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
2992 * sysdeps/i386/fpu/s_cosf.S: Likewise.
2993 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
2994 * sysdeps/i386/fpu/s_sinf.S: Likewise.
2995 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
2996 ieee754/flt-32 implementation for tan.
2997
2998 * math/libm-test.inc (cos_test): Enable some large input tests for
2999 float as well
3000 (sin_test): Likewise.
3001 (sincos_test): Likewise.
3002 (tan_test): Add tests for large input.
3003
3004 * sysdeps/i386/fpu/libm-test-ulps: Update.
3005
81c64153
AJ
30062012-03-15 Andreas Jaeger <aj@suse.de>
3007
3008 [BZ #13658]
3009 * math/libm-test.inc (cos_test): Add more test cases.
3010 (sin_test): Likewise.
3011 (sincos_test): Likewise.
3012
7bbfa5c6
AJ
30132012-03-15 Andreas Jaeger <aj@suse.de>
3014
3015 [BZ #13837]
3016 * math/libm-test.inc (cos_test): Add a test case for large input
3017 value.
3018 (sin_test): Likewise.
3019 (sincos_test): Likewise.
3020
30212012-03-15 Andreas Jaeger <aj@suse.de>,
3022 Joseph Myers <joseph@codesourcery.com>
3023
3024 [BZ #13658]
0671f479 3025 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
3026 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3027 * sysdeps/i386/fpu/branred.c: Likewise.
3028 * sysdeps/i386/fpu/dosincos.c: Likewise.
3029 * sysdeps/i386/fpu/mpa.c: Likewise.
3030 * sysdeps/i386/fpu/s_cos.S: Likewise.
3031 * sysdeps/i386/fpu/s_sin.S: Likewise.
3032 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3033 * sysdeps/i386/fpu/sincos32.c: Likewise.
3034
3035 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3036 Define.
3037 (libc_feupdateenv_53bit): Define.
3038 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3039 Define.
3040 (libc_feupdateenv_53bit): Define.
3041
3042 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3043 53 bit (without extend i386 double precision).
3044
3045 * math/libm-test.inc (sincos_test): Add tests for large input.
3046 (sin): Likewise.
3047 (cos): Likewise.
3048
3049 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3050
9cad04ea
AS
30512012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3052
3053 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3054
f7062b9a
DM
30552012-03-15 David S. Miller <davem@davemloft.net>
3056
3057 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3058 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3059 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3060 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3065 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3066 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3067 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3068 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3069 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3070 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3071 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
3072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3073 file.
f7062b9a 3074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
3075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3076 file.
f7062b9a 3077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
3078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3079 file.
f7062b9a 3080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
3081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3082 file.
f7062b9a
DM
3083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3084 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3085 fmin/fmax sysdep routines.
3086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3087
7bd951ff
DM
30882012-03-14 David S. Miller <davem@davemloft.net>
3089
559398ab
DM
3090 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3091 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3092 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3093 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3094 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3095 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3096 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3097 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3098 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3099 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3100 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3101 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3102 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3103 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3104 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3105 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3106 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3107 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3108 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3109 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3110 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3111 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3112 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3113 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3114 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3115 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3116 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3117 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3118 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3119 routines.
3120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3121 file.
559398ab 3122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
3123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3124 file.
559398ab 3125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
3126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3127 file.
559398ab 3128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
3129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3130 file.
559398ab 3131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
3132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3133 file.
559398ab 3134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
3135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3136 file.
3137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3138 file.
3139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3140 file.
3141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3142 file.
3143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3144 New file.
3145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3146 file.
3147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3148 file.
559398ab 3149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
3150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3151 file.
559398ab 3152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3154 file.
559398ab 3155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
3156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3157 file.
559398ab 3158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
3159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3160 VIS3 routines.
559398ab
DM
3161
3162 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3163 New file.
3164
5a1c1e32
DM
3165 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3166
eae47a36
DM
3167 * sysdeps/sparc/configure.in: New file.
3168 * sysdeps/sparc/configure: Generate.
3169 * configure.in (libc_cv_sparc_as_vis3): Substitute.
3170 * configure: Regenerate.
3171 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3172 * config.make.in (have-as-vis3): New.
3173 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3174 available use -Av9d instead of -Av9a.
3175 * sysdeps/sparc/sparc64/Makefile: Likewise.
3176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
3177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3178 New file.
3179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3180 file.
3181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3182 New file.
3183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3184 file.
eae47a36
DM
3185 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3186 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3187 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3188 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3189 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3190
c0c83bc8
DM
3191 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3192 fzeros/fnegs to load 0x80000000 into a float register instead of
3193 using the stack.
7bd951ff
DM
3194 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3195
bd951ccb
JM
31962012-03-14 Joseph Myers <joseph@codesourcery.com>
3197
3198 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3199 bits/syscall.h.
3200 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3201 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3202 ($(inst_includedir)/bits/syscall.h): Remove rule.
3203 ($(objpfx)bits/syscall.d): Include instead of
3204 $(objpfx)syscall-list.d.
3205 (generated): Change syscall-list.h and syscall-list.d to
3206 bits/syscall.h and bits/syscall.d.
3207
bb4e6db2
RM
32082012-03-14 Roland McGrath <roland@hack.frob.com>
3209
3210 [BZ #13846]
3211 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3212
aa4a2ae1
JM
32132012-03-14 Joseph Myers <joseph@codesourcery.com>
3214
e456826d
JM
3215 [BZ #13841]
3216 * math/s_csqrt.c: Include <float.h>.
3217 (__csqrt): Scale large or subnormal inputs.
3218 * math/s_csqrtf.c: Likewise.
3219 * math/s_csqrtl.c: Likewise.
3220 * math/libm-test.inc (csqrt_test): Add more tests.
3221 * sysdeps/i386/fpu/libm-test-ulps: Update.
3222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3223
aa4a2ae1
JM
3224 [BZ #13840]
3225 * math/libm-test.inc (hypot_test): Add more tests.
3226
7c10fd35
DM
32272012-03-13 David S. Miller <davem@davemloft.net>
3228
3229 [BZ #13840]
3230 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3231 double-precision for the calculation instead of scaling.
3232
f453b98b
JM
32332012-03-13 Joseph Myers <joseph@codesourcery.com>
3234
3235 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3236 manipulate bits before adding and subtracting TWO52[sx].
3237 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3238 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3239 Likewise.
3240 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3241
09a3453f
DM
32422012-03-13 David S. Miller <davem@davemloft.net>
3243
8e59da90
DM
3244 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3245 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3246 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3247 rtld-global-offsets.h
3248 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3249
2a8ab7f2
DM
3250 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3251 large parameters.
3252
10f62770
DM
3253 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
3254
5f0bdb18
DM
3255 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
3256 'err' in the ifdef scope in which it is actually used.
3257
09a3453f
DM
3258 * nss/nss_db/db-init.c: Include string.h
3259
b4b2eb5e
DM
32602012-03-12 David S. Miller <davem@davemloft.net>
3261
98bb2f1c
DM
3262 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3263 masking out of the most significant byte of random value used.
3264 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3265 Fix coding style in previous change.
3266
b4b2eb5e
DM
3267 * sysdeps/unix/sysv/linux/kernel-features.h
3268 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
3269 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
3270 expression.
3271 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
3272 later.
3273
6e226b09
DM
32742012-03-11 David S. Miller <davem@davemloft.net>
3275
a1bcbd40
DM
3276 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3277 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
3278 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
3279 for 'resultvar' otherwise things get truncated on 64-bit.
3280
cb9d6174
DM
3281 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3282 Fix masking out of the most significant byte of random value used.
3283
6e226b09
DM
3284 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3285
058c132d
AS
32862012-03-10 Andreas Schwab <schwab@linux-m68k.org>
3287
3288 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3289
2d2cd515
DM
32902012-03-09 David S. Miller <davem@davemloft.net>
3291
3292 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
3293 variables with appropriate CPP guards.
3294 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
3295 frame pointer, not the stack pointer. Correct layout comments. Fix test
3296 on resulting framesize and the management of the outregs buffer for pltexit.
3297 Preserve floating point return values across _dl_call_pltexit call.
3298 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
3299 framesize and the management of the outregs buffer for pltexit.
3300 Preserve floating point return values across _dl_call_pltexit
3301 call.
3302 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
3303 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
3304 (print_exit): Fix format string for return register value.
3305
9a07f9d0
JM
33062012-03-10 Joseph Myers <joseph@codesourcery.com>
3307
3308 * sunrpc/Makefile (others): Add rpcgen.
3309 ($(objpfx)rpcgen): Remove special build rule and dependency on
3310 libc.
3311 * sunrpc/rpcgen.c: New file.
3312
547b5e30
PE
33132012-03-09 Paul Eggert <eggert@cs.ucla.edu>
3314
c524201a
PE
3315 [BZ #13673]
3316 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
3317 * stdio-common/bug-vfprintf-nargs.c: Likewise.
3318 * sysdeps/i386/crti.S: Likewise.
3319 * sysdeps/i386/crtn.S: Likewise.
3320 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
3321 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
3322 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
3323 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
3324 * sysdeps/sh/crti.S: Likewise.
3325 * sysdeps/sh/crtn.S: Likewise.
3326 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3327
7b6235f2
PE
3328 [BZ #13673]
3329 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
3330 with URL.
3331 * locale/programs/locfile-kw.gperf: Likewise.
3332 * locale/programs/charmap-kw.h: Regenerated.
3333 * locale/programs/locfile-kw.h: Likewise.
3334
547b5e30
PE
3335 [BZ #13673]
3336 * intl/plural.y: Replace FSF snail mail address with URL.
3337 * intl/plural.c: Regenerated.
3338
5f0a5dae
RH
33392012-03-09 Richard Henderson <rth@twiddle.net>
3340
3341 * include/math_private.h: Remove file.
3342 * math/math_private.h: Move file ...
3343 * sysdeps/generic/math_private.h: ... here.
3344
b8c03620
RH
3345 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
3346 * sysdeps/powerpc/fpu/math_private.h: Likewise.
3347 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3348
4e234f5d 3349 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
3350 and <math_private.h>.
3351 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3352 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3353 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3354 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3355 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3356 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
3357 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3358 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3359 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3360 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3361 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3362 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3363 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3364 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3365 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3366 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3367 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3368 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3369 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3370 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3371 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3372 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3373 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3374 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3375 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3376 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3377 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3378 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3379 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3380 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3381 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3382 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3383 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3384 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3385 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3386 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3387 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3388 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3389 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3390 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3391 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
3392 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3393 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3394 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3395 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3396 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3397 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3398 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3399 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3400 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3401 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3402 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3403 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3404 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3405 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3406 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3407 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3408 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3409 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3410 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
3411 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3412 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3413 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3414 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3415 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3416 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3417 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3418 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3419 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
3420 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
3421 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3422 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3423 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3424 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3425 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
3426 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3427 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
3428 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3429 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
3430 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3431 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3432 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3433 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3434 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3435 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3436 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3437 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
3438 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3439 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3440 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3441 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3442 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3443 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3444 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3445 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3446 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3447 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3448 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3449 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3450 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3451 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3452 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3453 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3454 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3455 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3456 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3457 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3458 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3459 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3460 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3461 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3462 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3463 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3464 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3465 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
3466 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3467 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3468 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3469 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3470 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3471 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3472 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3473 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3474 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
3475 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3476 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3477 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3478 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
3479 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3480 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3481 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3482 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3483 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3484 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
3485 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
3486 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3487 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3488 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3489 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
3490 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3491 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3492 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3493 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3494 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
3495 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
3496 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3497 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3498 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3499 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3500 * sysdeps/ieee754/k_standard.c: Likewise.
3501 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3502 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3503 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3504 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3505 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3506 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3507 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3508 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3509 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3510 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3511 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3512 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3513 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3514 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3515 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3516 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3517 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3518 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3519 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3520 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3521 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3522 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3523 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3524 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3525 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3526 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3527 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3528 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3529 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3530 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3531 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3532 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3533 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3534 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3535 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3536 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3537 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3538 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
3539 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3540 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3541 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3542 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3543 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3544 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3545 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3546 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3547 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3548 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3549 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3550 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3551 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3552 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3553 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3554 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3555 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3556 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3557 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
3558 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3559 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3560 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3561 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3562 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3563 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3564 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
3565 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3566 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3567 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
3568 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
3569 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
3570 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
3571 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
3572 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3573 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
3574 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
3575 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
3576 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
3577 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
3578 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
3579 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3580 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3581 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3582 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3583 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3584 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3585 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
3586 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3587 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3588 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3589 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3590 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3591 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
3592 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3593 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3594 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3595 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3596 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3597 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
3598 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3599 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3600 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
3601 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3602 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3603 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3604 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3605 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
3606 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3607 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3608 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3609 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
3610 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3611 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3612 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3613 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
3614 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3615 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
3616 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3617 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
3618 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3619 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3620 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3621 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3622 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
3623 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3624 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
3625 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3626 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
3627 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3628 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3629 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3630 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3631 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3632 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3633 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3634 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3635 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3636 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3637 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
3638 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3639 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3640 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
3641 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
3642 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3643 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
3644 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
3645 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3646 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3647 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3648 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3649 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3650 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
3651 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3652 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3653 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3654 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3655 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
3656 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
3657 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3658 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3659 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3660 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3661 * sysdeps/ieee754/s_lib_version.c: Likewise.
3662 * sysdeps/ieee754/s_matherr.c: Likewise.
3663 * sysdeps/ieee754/s_signgam.c: Likewise.
3664 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3665 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3666 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
3667 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
3668 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
3669 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3670 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
3671 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
3672 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
3673 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
3674 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3675 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
3676 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3677 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3678 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
3679 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3680 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3681 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3682 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3683 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3684 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 3685
1991fa03
JM
36862012-03-09 Joseph Myers <joseph@codesourcery.com>
3687
3688 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
3689 * sunrpc/rpc_main.c: Likewise.
3690 * sunrpc/rpc_svcout.c: Likewise.
3691
60d6f5a6
DM
36922012-03-09 David S. Miller <davem@davemloft.net>
3693
3694 * include/math_private.h: New file.
3695
4962050e
JM
36962012-03-09 Joseph Myers <joseph@codesourcery.com>
3697
02a6f887
JM
3698 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
3699 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
3700 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
3701 from <bits/socket_type.h>.
3702 (enum __socket_type): Don't define here.
3703 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
3704 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3705 bits/socket_type.h.
3706
c6e013c1
JM
3707 [BZ #13566]
3708 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
3709 checking __USE_GNU.
3710
4962050e
JM
3711 * Makerules ($(inst_includedir)/%.h): New rule.
3712 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
3713 (install-others): Remove variable setting.
3714 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
3715
38842f45
RH
37162012-03-08 Richard Henderson <rth@twiddle.net>
3717
67bb6da6
RH
3718 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
3719 from macro to inline function; merge with the
3720 !__LIBC_INTERNAL_MATH_INLINES version.
3721 (__ieee754_sqrtf): Likewise.
3722
15194b4b
RH
3723 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
3724 to inline function.
3725 (__rintf, __floor, __floorf): Likewise.
3726
64e21ede
RH
3727 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
3728 macro to inline function.
3729 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
3730
38842f45
RH
3731 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
3732 not <math/math_private.h>.
3733
c64bf5fe
DM
37342012-03-08 David S. Miller <davem@davemloft.net>
3735
3736 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
3737 copyright year.
3738 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
3739
82d86f28
TS
37402012-03-08 Thomas Schwinge <thomas@codesourcery.com>
3741
3742 * resolv/gai_misc.c (handle_requests): Fix struct timespec
3743 normalization.
3744 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
3745 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3746
aea5d727
UD
37472012-03-08 Ulrich Drepper <drepper@gmail.com>
3748
3749 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
3750 be defined individually, they must be defined as a block. Define
3751 S for printing a string instead of hidint the different by using a
3752 macro for adding the 'l'.
3753 * stdio-common/tst-fphex-wide.c: Adjust.
3754
70bca0a3
MP
37552012-03-07 Marek Polacek <polacek@redhat.com>
3756
3757 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
3758
65b81130
MP
37592012-03-08 Marek Polacek <polacek@redhat.com>
3760
3761 [BZ #13806]
3762 * stdio-common/Makefile (tests): Add tst-fphex-wide.
3763 * stdio-common/tst-fphex.c: Define a few macros to make the
3764 test reusable. Use them.
3765 * stdio-common/tst-fphex-wide.c: New file.
3766
07037eeb
JM
37672012-03-08 Joseph Myers <joseph@codesourcery.com>
3768
a7a93d50
JM
3769 [BZ #6911]
3770 * manual/macros.texi (gnusystems): New macro.
3771 (nongnusystems): Likewise.
3772 (gnulinuxhurdsystems): Likewise.
3773 (gnuhurdsystems): Likewise..
3774 (gnulinuxsystems): Likewise.
3775 * manual/charset.texi: Use new macros or @theglibc{} to refer to
3776 variants of the GNU system, not "GNU system".
3777 * manual/conf.texi: Likewise.
3778 * manual/errno.texi: Likewise. Update example of errno macro
3779 expansion.
3780 * manual/filesys.texi: Likewise.
3781 (getumask): Document as specific to GNU/Hurd.
3782 * manual/install.texi: Likewise. Reword some references to
3783 GNU/Linux.
3784 * manual/intro.texi: Likewise.
3785 * manual/io.texi: Likewise.
3786 (File Name Portability): Detail which constraints are inapplicable
3787 to all GNU systems and which are only inapplicable to GNU/Hurd.
3788 * manual/job.texi: Likewise.
3789 * manual/llio.texi: Likewise.
3790 (O_NOCTTY): Document as present on GNU/Linux.
3791 * manual/maint.texi: Likewise.
3792 * manual/memory.texi: Likewise.
3793 * manual/pattern.texi: Likewise.
3794 * manual/pipe.texi: Likewise.
3795 * manual/process.texi: Likewise.
3796 * manual/resource.texi: Likewise.
3797 (RUSAGE_CHILDREN): Remove statement about specifying a particular
3798 child on GNU/Hurd.
3799 * manual/setjmp.texi: Likewise.
3800 * manual/signal.texi: Likewise.
3801 * manual/startup.texi: Likewise.
3802 * manual/stdio.texi: Likewise.
3803 * manual/terminal.texi: Likewise.
3804 (ONLCR): Document as POSIX.
3805 (OXTABS): Document availability on GNU/Linux as XTABS.
3806 (ONOEOT): Document availability separately from other bits.
3807 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
3808 * manual/time.texi: Likewise.
3809 * manual/users.texi: Likewise.
3810 * INSTALL: Regenerated.
3811 * sysdeps/gnu/errlist.c: Regenerated.
3812
07037eeb
JM
3813 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
3814 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
3815 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
3816 puts.
3817 * configure: Regenerated.
3818
d1d3431a
JM
38192012-03-07 Joseph Myers <joseph@codesourcery.com>
3820
af6a1e37
JM
3821 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
3822 default includes instead of AC_HEADER_CHECK.
3823 * sysdeps/i386/configure: Regenerated.
3824
d1d3431a
JM
3825 [BZ #10716]
3826 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
3827 * math/s_cacoshf.c (__cacoshf): Likewise.
3828 * math/s_cacoshl.c (__cacoshl): Likewise.
3829 * math/s_casinh.c (__casinh): Set signs of result from argument.
3830 * math/s_casinhf.c (__casinhf): Likewise.
3831 * math/s_casinhl.c (__casinhl): Likewise.
3832 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
3833 (casinh_test): Add more tests.
3834 * sysdeps/i386/fpu/libm-test-ulps: Update.
3835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3836
482ff4da
UD
38372012-03-07 Ulrich Drepper <drepper@gmail.com>
3838
872fda05
UD
3839 * po/zh_TW.po: Update from translation team.
3840
a4300c7a
UD
3841 * login/Makefile (distribute): Remove variable.
3842 * catgets/Makefile: Likewise.
3843 * mach/Makefile: Likewise.
3844 * malloc/Makefile: Likewise.
3845 * misc/Makefile: Likewise.
3846 * iconv/Makefile: Likewise.
3847 * nscd/Makefile: Likewise.
3848 * hurd/Makefile: Likewise.
3849 * manual/Makefile: Likewise.
3850 * locale/Makefile: Likewise.
3851 * intl/Makefile: Likewise.
3852 * conform/Makefile: Likewise.
3853 * nss/Makefile: Likewise.
3854 * time/Makefile: Likewise.
3855 * soft-fp/Makefile: Likewise.
3856 * dirent/Makefile: Likewise.
3857 * gmon/Makefile: Likewise.
3858 * po/Makefile: Likewise.
3859 * rt/Makefile: Likewise.
3860 * socket/Makefile: Likewise.
3861 * math/Makefile: Likewise.
3862 * signal/Makefile: Likewise.
3863 * debug/Makefile: Likewise.
3864 * elf/Makefile: Likewise.
3865 * timezone/Makefile: Likewise.
3866 * stdlib/Makefile: Likewise.
3867 * iconvdata/Makefile: Likewise.
3868 * sunrpc/Makefile: Likewise.
3869 * io/Makefile: Likewise.
3870 * argp/Makefile: Likewise.
3871 * inet/Makefile: Likewise.
3872 * hesiod/Makefile: Likewise.
3873 * grp/Makefile: Likewise.
3874 * csu/Makefile: Likewise.
3875 * wctype/Makefile: Likewise.
3876 * crypt/Makefile: Likewise.
3877 * libio/Makefile: Likewise.
3878 * string/Makefile: Likewise.
3879 * nis/Makefile: Likewise.
3880 * resolv/Makefile: Likewise.
3881 * stdio-common/Makefile: Likewise.
3882 * wcsmbs/Makefile: Likewise.
3883 * dlfcn/Makefile: Likewise.
3884 * posix/Makefile: Likewise.
3885
3b7c4e74 3886 [BZ #6959]
482ff4da
UD
3887 * timezone/Makefile: Don't install timezone files, just the programs
3888 and scripts.
3889
f72ed77d
UD
38902012-03-06 Ulrich Drepper <drepper@gmail.com>
3891
a000466f
UD
3892 * nss/databases.def: Add missing gshadow entry.
3893
f72ed77d
UD
3894 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
3895
a53b7a4e
MP
38962012-03-06 Marek Polacek <polacek@redhat.com>
3897
3898 [BZ #13726]
3899 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
3900 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3901 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
3902 * stdio-common/tst-long-dbl-fphex.c: New file.
3903
e9258400
DM
39042012-03-06 David S. Miller <davem@davemloft.net>
3905
3906 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3907 (set_obp_int): New function.
3908 (get_obp_int): New function.
3909 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
3910 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
3911 Avoid unused variable warnings on 'val' and use builtin_expect.
3912 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
3913 __builtin_expect.
e9258400
DM
3914 (INLINE_CLONE_SYSCALL): Likewise.
3915
3bd2c723
DM
39162012-03-05 David S. Miller <davem@davemloft.net>
3917
3918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3919
bbb78d03
AS
39202012-03-05 Andreas Schwab <schwab@linux-m68k.org>
3921
884c5db4
AS
3922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3923
bbb78d03
AS
3924 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
3925 only for |x| >= 40.
3926 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3927
1c9f702a 39282012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
3929
3930 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
3931 Replace gettimeofday with __vdso_gettimeofday.
3932
7be16f82
RM
3933 * sysdeps/unix/sysv/linux/x86_64/init-first.c
3934 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
3935 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
3936
3937 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
3938 time with __vdso_time.
3939
ed58a00f
JM
39402012-03-05 Joseph Myers <joseph@codesourcery.com>
3941
3942 * manual/lang.texi (size_t): Note types to which size_t may be
3943 equivalent with the GNU C Library, but do not describe when
3944 differences between them are significant.
3945
30ee4ced
AJ
39462012-03-05 Andreas Jaeger <aj@suse.de>
3947
3948 * sysdeps/i386/fpu/libm-test-ulps: Update.
3949
b7cd39e8
JM
39502012-03-05 Joseph Myers <joseph@codesourcery.com>
3951
3952 [BZ #3976]
3953 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
3954 (__ieee754_pow): Save and restore rounding mode and use
3955 round-to-nearest for main computations.
3956 * math/libm-test.inc (pow_test_tonearest): New function.
3957 (pow_test_towardzero): Likewise.
3958 (pow_test_downward): Likewise.
3959 (pow_test_upward): Likewise.
3960 (main): Call the new functions.
3961 * sysdeps/i386/fpu/libm-test-ulps: Update.
3962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
3963
3964 [BZ #3976]
3965 * math/libm-test.inc (cosh_test_tonearest): New function.
3966 (cosh_test_towardzero): Likewise.
3967 (cosh_test_downward): Likewise.
3968 (cosh_test_upward): Likewise.
3969 (sinh_test_tonearest): Likewise.
3970 (sinh_test_towardzero): Likewise.
3971 (sinh_test_downward): Likewise.
3972 (sinh_test_upward): Likewise.
3973 (main): Call the new functions.
3974 * sysdeps/i386/fpu/libm-test-ulps: Update.
3975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3976
6c6a98c9
TV
39772012-03-05 Tom de Vries <tom@codesourcery.com>
3978
3979 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
3980 default stack guard is set in last bytes.
3981 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
3982
21bb2d2e 39832012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 3984
21bb2d2e 3985 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 3986
21bb2d2e
AJ
3987 [BZ #13656]
3988 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
3989 possibly allocate from heap instead of stack.
3990 * stdio-common/bug-vfprintf-nargs.c: New file.
3991 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 3992
c6922934
AS
39932012-03-03 Andreas Schwab <schwab@linux-m68k.org>
3994
3995 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3996
bc957d53
MP
39972012-03-03 Marek Polacek <polacek@redhat.com>
3998
3999 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4000 * math/math_private.h: Likewise.
4001 * stdlib/tst-strtod.c: Likewise.
4002 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4003 * sysdeps/x86_64/bits/atomic.h: Likewise.
4004
6358490d
DM
40052012-03-02 David S. Miller <davem@davemloft.net>
4006
4007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4011 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4012 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4013 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4014 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4015
01ae168d
RM
40162012-03-02 Roland McGrath <roland@hack.frob.com>
4017
d9a17c07
RM
4018 [BZ #13792]
4019 * manual/examples/README: New file, says the example source files
4020 can be used under GPL>=2.
4021 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4022 line containing just "*/".
4023 * manual/examples/add.c: Add copyright header (GPL>=2).
4024 * manual/examples/argp-ex1.c: Likewise.
4025 * manual/examples/argp-ex2.c: Likewise.
4026 * manual/examples/argp-ex3.c: Likewise.
4027 * manual/examples/argp-ex4.c: Likewise.
4028 * manual/examples/atexit.c: Likewise.
4029 * manual/examples/db.c: Likewise.
4030 * manual/examples/dir.c: Likewise.
4031 * manual/examples/dir2.c: Likewise.
4032 * manual/examples/execinfo.c: Likewise.
4033 * manual/examples/filecli.c: Likewise.
4034 * manual/examples/filesrv.c: Likewise.
4035 * manual/examples/fmtmsgexpl.c: Likewise.
4036 * manual/examples/genpass.c: Likewise.
4037 * manual/examples/inetcli.c: Likewise.
4038 * manual/examples/inetsrv.c: Likewise.
4039 * manual/examples/isockad.c: Likewise.
4040 * manual/examples/longopt.c: Likewise.
4041 * manual/examples/memopen.c: Likewise.
4042 * manual/examples/memstrm.c: Likewise.
4043 * manual/examples/mkfsock.c: Likewise.
4044 * manual/examples/mkisock.c: Likewise.
4045 * manual/examples/mygetpass.c: Likewise.
4046 * manual/examples/pipe.c: Likewise.
4047 * manual/examples/popen.c: Likewise.
4048 * manual/examples/rprintf.c: Likewise.
4049 * manual/examples/search.c: Likewise.
4050 * manual/examples/select.c: Likewise.
4051 * manual/examples/setjmp.c: Likewise.
4052 * manual/examples/sigh1.c: Likewise.
4053 * manual/examples/sigusr.c: Likewise.
4054 * manual/examples/stpcpy.c: Likewise.
4055 * manual/examples/strdupa.c: Likewise.
4056 * manual/examples/strftim.c: Likewise.
4057 * manual/examples/strncat.c: Likewise.
4058 * manual/examples/subopt.c: Likewise.
4059 * manual/examples/swapcontext.c: Likewise.
4060 * manual/examples/termios.c: Likewise.
4061 * manual/examples/testopt.c: Likewise.
4062 * manual/examples/testpass.c: Likewise.
4063 * manual/examples/timeval_subtract.c: Likewise.
4064
01ae168d
RM
4065 [BZ #13792]
4066 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4067 function to ...
4068 * manual/timeval_subtract.c.texi: ... here, new file.
4069
49efa33d
DM
40702012-03-02 David S. Miller <davem@davemloft.net>
4071
4072 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4073
28afd92d
JM
40742012-03-02 Joseph Myers <joseph@codesourcery.com>
4075
804360ed
JM
4076 [BZ #3976]
4077 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4078 (__sin): Save and restore rounding mode and use round-to-nearest
4079 for all computations.
4080 (__cos): Save and restore rounding mode and use round-to-nearest
4081 for all computations.
4082 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4083 <fenv.h>.
4084 (tan): Save and restore rounding mode and use round-to-nearest for
4085 all computations.
4086 * math/libm-test.inc (cos_test_tonearest): New function.
4087 (cos_test_towardzero): Likewise.
4088 (cos_test_downward): Likewise.
4089 (cos_test_upward): Likewise.
4090 (sin_test_tonearest): Likewise.
4091 (sin_test_towardzero): Likewise.
4092 (sin_test_downward): Likewise.
4093 (sin_test_upward): Likewise.
4094 (tan_test_tonearest): Likewise.
4095 (tan_test_towardzero): Likewise.
4096 (tan_test_downward): Likewise.
4097 (tan_test_upward): Likewise.
4098 (main): Call the new functions.
4099 * sysdeps/i386/fpu/libm-test-ulps: Update.
4100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4101
a6d06d7b
JM
4102 [BZ #10135]
4103 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4104 small n, then large n, before computing and testing k+n.
4105 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4106 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4107 Likewise.
4108 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4109 Likewise.
4110 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4111 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4112 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4113 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4114 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4115 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4116 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4117 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4118 * math/libm-test.inc (scalbn_test): Add more tests.
4119 (scalbln_test): Likewise.
4120
07e12bb3
JM
4121 * manual/filesys.texi (mode_t): Describe constraints on size and
4122 signedness, not exact equivalence to a particular type.
4123 (ino_t): Likewise.
4124 (ino64_t): Likewise.
4125 (dev_t): Likewise.
4126 (nlink_t): Likewise.
4127 (blkcnt_t): Likewise.
4128 (blkcnt64_t): Likewise.
4129 * manual/llio.texi (off_t): Likewise.
4130
28afd92d
JM
4131 [BZ #3976]
4132 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4133 (__ieee754_exp): Save and restore rounding mode and use
4134 round-to-nearest for all computations.
4135 * math/libm-test.inc (exp_test_tonearest): New function.
4136 (exp_test_towardzero): Likewise.
4137 (exp_test_downward): Likewise.
4138 (exp_test_upward): Likewise.
4139 (main): Call the new functions.
4140 * sysdeps/i386/fpu/libm-test-ulps: Update.
4141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4142
b1eeb65d
CD
41432012-03-01 Chris Demetriou <cgd@google.com>
4144
4145 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4146 have predictable order.
4147
53362a4b
DM
41482012-03-01 David S. Miller <davem@davemloft.net>
4149
3c969083
DM
4150 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4151
759707de
DM
4152 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4153 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4154 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4155 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4156
dfdb8ff2
DM
4157 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4158 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4159 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4161 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4162 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4163 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4164 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4165 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4166
ead89f96
DM
4167 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4168
7f66bd07
DM
4169 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4170 * sysdeps/sparc/fpu/libm-test-ulps: to here.
4171 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4172
53362a4b
DM
4173 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4174 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4175 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4176 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4177 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4178 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4179 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4180 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4181 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4182 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4183 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4184 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4185 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4186 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4187 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4188 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4189 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4190 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4191 * sysdeps/sparc/elf/configure: Regenerated.
4192
7b1902cb
JM
41932012-03-01 Joseph Myers <joseph@codesourcery.com>
4194
bec039bc
JM
4195 * configure.in (AS, LD): Require binutils 2.20 or later.
4196 * configure: Regenerated.
4197 * manual/install.texi (Tools for Compilation): Give binutils 2.20
4198 as required minimum version.
4199 * INSTALL: Regenerated.
4200
7b1902cb
JM
4201 [BZ #2541]
4202 [BZ #4108]
4203 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4204 before squaring exponent.
4205 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4206 bottom long double and 27 bits of top long double before squaring
4207 exponent.
4208 * math/libm-test.inc (erfc_test): Add more tests.
4209 * sysdeps/i386/fpu/libm-test-ulps: Update.
4210 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4212
f775c276
KT
42132012-03-01 Kai Tietz <ktietz@redhat.com>
4214
4215 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4216 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4217 containing bit-fields.
4218 * soft-fp/extended.h (_FP_UNION_E): Likewise.
4219 * soft-fp/single.h (_FP_UNION_S): Likewise.
4220 * soft-fp/double.h (_FP_UNION_D): Likewise.
4221
5b8a4d4a
JM
42222012-02-29 Joseph Myers <joseph@codesourcery.com>
4223
0bab47b6
JM
4224 [BZ #13786]
4225 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4226 not include ../strcmp.S.
4227 [USE_AS_STRNCASECMP_L]: Likewise.
4228 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4229 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4230 * sysdeps/i386/i686/multiarch/strncase_l-c.c
4231 (__strncasecmp_l_ia32): Define as alias to
4232 __strncasecmp_l_nonascii.
4233
0fcad3e2
JM
4234 [BZ #5794]
4235 * math/libm-test.inc (expm1_test): Add test for bug 5794.
4236 * sysdeps/i386/fpu/libm-test-ulps: Update.
4237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4238
5b8a4d4a
JM
4239 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4241
8fdceb2e
JL
42422012-02-29 Jeff Law <law@redhat.com>
4243
4244 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4245 out of bounds read.
4246
1f393a11
MP
42472012-02-29 Marek Polacek <polacek@redhat.com>
4248
4249 [BZ #13706]
4250 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4251 * elf/Makefile: Add rules to run tst-unused-dep.out.
4252
8847f037
DM
42532012-02-28 David S. Miller <davem@davemloft.net>
4254
4255 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
4256 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
4257 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
4258 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
4259 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
4260 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
4261
169d7f11
JM
42622012-02-29 Joseph Myers <joseph@codesourcery.com>
4263
4264 * math/libm-test.inc (llround_test): Move one test from
4265 lround_test. Use TEST_f_L in moved test.
4266 (lround_test): Move misplaced test to llround_test. Add testcase
4267 from bug 2561.
4268
39adf059
UD
42692012-02-28 Ulrich Drepper <drepper@gmail.com>
4270
4271 * sysdeps/x86_64/fpu/e_expf.S: New file.
4272 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
4273
71b5d1c5
SB
42742012-02-28 Stanislav Brabec <sbrabec@suse.cz>
4275
4276 [BZ #13637]
4277 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
4278 of remain_len that may cause incomplete multi-byte character and
4279 false match.
4280 * posix/bug-regex33.c: New file.
4281 * posix/Makefile (tests): Add bug-regex33.
4282
1f77f049
JM
42832012-02-28 Joseph Myers <joseph@codesourcery.com>
4284
4285 * manual/macros.texi: New file.
4286 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
4287 * manual/libc.texinfo: Include macros.texi.
4288 * manual/creatute.texi: Likewise.
4289 * manual/install.texi: Likewise.
4290 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
4291 @glibcadj{} in references to the GNU C Library.
4292 * manual/charset.texi: Likewise.
4293 * manual/conf.texi: Likewise.
4294 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
4295 when not using those macros.
4296 * manual/creature.texi: Likewise.
4297 * manual/crypt.texi: Likewise.
4298 * manual/errno.texi: Likewise.
4299 * manual/filesys.texi: Likewise.
4300 * manual/header.texi: Likewise.
4301 * manual/install.texi: Likewise.
4302 * manual/intro.texi: Likewise.
4303 * manual/io.texi: Likewise.
4304 * manual/job.texi: Likewise.
4305 * manual/lang.texi: Likewise.
4306 * manual/libc.texiinfo: Likewise.
4307 * manual/llio.texi: Likewise.
4308 * manual/locale.texi: Likewise.
4309 * manual/maint.texi: Likewise.
4310 * manual/math.texi: Likewise.
4311 * manual/memory.texi: Likewise.
4312 * manual/message.texi: Likewise.
4313 * manual/nss.texi: Likewise.
4314 * manual/pattern.texi: Likewise.
4315 * manual/process.texi: Likewise.
4316 * manual/resource.texi: Likewise.
4317 * manual/search.texi: Likewise.
4318 * manual/setjmp.texi: Likewise.
4319 * manual/signal.texi: Likewise.
4320 * manual/socket.texi: Likewise.
4321 * manual/startup.texi: Likewise.
4322 * manual/stdio.texi: Likewise.
4323 * manual/string.texi: Likewise.
4324 * manual/sysinfo.texi: Likewise.
4325 * manual/syslog.texi: Likewise.
4326 * manual/terminal.texi: Likewise.
4327 * manual/time.texi: Likewise.
4328 * manual/users.texi: Likewise.
4329 * INSTALL: Regenerated.
4330 * NOTES: Regenerated.
d40c5d54 4331 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 4332
450bf206
AS
43332012-02-28 Andreas Schwab <schwab@linux-m68k.org>
4334
4335 * include/dirent.h: Include <dirstream.h> before
4336 <dirent/dirent.h>.
4337
741a235b
DM
43382012-02-28 David S. Miller <davem@davemloft.net>
4339
4340 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
4341 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
4342 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
4343 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
4344
d6b5aa58
DM
43452012-02-27 David S. Miller <davem@davemloft.net>
4346
1aff59a3
DM
4347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
4348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
4349 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
4350 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
4351
d6b5aa58
DM
4352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
4353 frame pointer instead of stack pointer relative arg slot.
4354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4355 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4356 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4357
433f48bf
CD
43582012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
4359
4360 [BZ #3992]
4361 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
4362
d674b76d
DM
43632012-02-27 David S. Miller <davem@davemloft.net>
4364
4365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
4366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
4369 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4370 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4371 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
4372 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
4373
0e7727f7
JM
43742012-02-27 Joseph Myers <joseph@codesourcery.com>
4375
4376 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
4377 later. Allow versions 5-9.
43be4ca2 4378 * configure: Regenerated.
0e7727f7
JM
4379 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
4380 required minimum version and 4.6 as recommended version. Do not
4381 mention bugs in GCC 2.7 and 2.8.
43be4ca2 4382 * INSTALL: Regenerated.
0e7727f7 4383
a78bc654
DM
43842012-02-27 David S. Miller <davem@davemloft.net>
4385
428d5830
DM
4386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
4387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
4388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
4389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
4390 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
4391 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
4392 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
4393 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
4394
a78bc654
DM
4395 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
4396 manipulate bits before adding and subtracting TWO112[sx].
4397 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4398
4579f81c
RM
43992012-02-27 Roland McGrath <roland@hack.frob.com>
4400
36c8acb4
RM
4401 [BZ #13775]
4402 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
4403 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
4404 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
4405 being in POSIX, because they are in 1003.1-2008.
4406
84ad622b
RM
4407 * rt/tst-aio.c: Include <fcntl.h>.
4408 * rt/tst-aio7.c: Likewise.
4409 * rt/tst-aio64.c: Likewise.
4410
4579f81c
RM
4411 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
4412
abd923db
JM
44132012-02-27 Joseph Myers <joseph@codesourcery.com>
4414
4415 * manual/install.texi (--with-headers): Describe headers as
4416 interface headers, not private headers.
4417 (Specific advice for GNU/Linux systems): Describe use of headers
4418 from "make headers_install", not private headers from older
4419 kernels.
43be4ca2 4420 * INSTALL: Regenerated.
abd923db
JM
4421 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
4422 Change to 2.6.19.
4423 * sysdeps/unix/sysv/linux/configure: Regenerated.
4424
6664049b
JM
4425 * manual/llio.texi (fclean): Remove documentation.
4426
bb8b6697
JM
4427 * manual/Makefile (libc-texi-generated): New variable. Include
4428 version.texi.
4429 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
4430 $(libc-texi-generated), not duplicated list of files.
4431 (version.texi, stamp-version): New rules.
4432 (realclean): Remove $(libc-texi-generated), not individual files
4433 from that list. Do not remove dir-add.texinfo.
4434 * manual/libc.texinfo: Comment out uses of edition numbers and
4435 references to printed manual. Remove last-updated dates.
4436 (EDITION): Comment out.
4437 (ISBN): Likewise.
4438 (VERSION, UPDATED): Remove.
4439 (version.texi): Include.
4440
12e5c3b9
AS
44412012-02-27 Andreas Schwab <schwab@linux-m68k.org>
4442
4443 * sysdeps/posix/spawni.c: Include <signal.h>.
4444 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
4445 * sysdeps/pthread/aio_fsync.c: Likewise.
4446
4efeffc1 44472012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 4448
ba63ba08
UD
4449 * conform/Makefile (tests): Run only when not cross-compiling and
4450 when fast-check is not defined.
4451
d94a4670
UD
4452 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
4453 * conform/data/limits.h-data: Fixes for POSIX2008.
4454 * conform/run-conformtest.sh: Run all tests.
4455 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
4456 headers.
4457 * include/bits/dlfcn.h: Likewise.
4458 * include/langinfo.h: Likewise.
4459 * include/monetary.h: Likewise.
4460 * include/sys/poll.h: Likewise.
4461
4462 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
4463 for __USE_GNU.
4464 * posix/spawn.h: Define __need_sigset_t.
4465 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
4466 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
4467 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
4468 to get sigevent_t only.
4469 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
4470 only for __USE_GNU.
4471 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4472 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4473 process_vm_writev only for __USE_GNU.
4474 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
4475
4476 * conform/Makefile: For now ignore errors from run-conformtest.
4477 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
4478 POSIX to avoid namespace pollution. Don't prepend headers.
4479 * conform/data/aio.h-data: Fixes for POSIX testing.
4480 * conform/data/fcntl.h-data: Likewise.
4481 * conform/data/glob.h-data: Likewise.
4482 * conform/data/grp.h-data: Likewise.
4483 * conform/data/pthread.h-data: Likewise.
4484 * conform/data/pwd.h-data: Likewise.
4485 * conform/data/signal.h-data: Likewise.
4486 * conform/data/spawn.h-data: Likewise.
4487 * conform/data/stdio.h-data: Likewise.
4488 * conform/data/stdlib.h-data: Likewise.
4489 * conform/data/stropts.h-data: Likewise.
4490 * conform/data/sys/mman.h-data: Likewise.
4491 * conform/data/sys/stat.h-data: Likewise.
4492 * conform/data/sys/types.h-data: Likewise.
4493 * conform/data/sys/wait.h-data: Likewise.
4494 * conform/data/time.h-data: Likewise.
4495 * conform/data/unistd.h-data: Likewise.
4496 * conform/data/utime.h-data: Likewise.
4497
4498 * io/sys/stat.h: fchmod was always in POSIX.
4499 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
4500 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
4501 * rt/aio.h: Define __need_timespec before including <time.h>.
4502 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
4503 struct. Add forward declaration of pthread_attr_t and use it in
4504 sigevent.
4505 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4506 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4507 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
4508 always remove CLK_TCK definition.
4509
c20105c3
AS
45102012-02-26 Andreas Schwab <schwab@linux-m68k.org>
4511
4512 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
4513
7a270350
UD
45142012-02-25 Ulrich Drepper <drepper@gmail.com>
4515
31341567
UD
4516 * conform/run-conformtest.sh: New file.
4517 * conform/Makefile: Run run-conformtest for tests.
4518 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
4519 support.
4520
4521 * conform/data/uchar.h-data: New file.
4522 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
4523 * conform/data/arpa/inet.h-data: Likewise.
4524 * conform/data/assert.h-data: Likewise.
4525 * conform/data/complex.h-data: Likewise.
4526 * conform/data/cpio.h-data: Likewise.
4527 * conform/data/ctype.h-data: Likewise.
4528 * conform/data/dirent.h-data: Likewise.
4529 * conform/data/dlfcn.h-data: Likewise.
4530 * conform/data/errno.h-data: Likewise.
4531 * conform/data/fcntl.h-data: Likewise.
4532 * conform/data/float.h-data: Likewise.
4533 * conform/data/fmtmsg.h-data: Likewise.
4534 * conform/data/fnmatch.h-data: Likewise.
4535 * conform/data/ftw.h-data: Likewise.
4536 * conform/data/glob.h-data: Likewise.
4537 * conform/data/grp.h-data: Likewise.
4538 * conform/data/iconv.h-data: Likewise.
4539 * conform/data/inttypes.h-data: Likewise.
4540 * conform/data/langinfo.h-data: Likewise.
4541 * conform/data/libgen.h-data: Likewise.
4542 * conform/data/limits.h-data: Likewise.
4543 * conform/data/locale.h-data: Likewise.
4544 * conform/data/math.h-data: Likewise.
4545 * conform/data/monetary.h-data: Likewise.
4546 * conform/data/mqueue.h-data: Likewise.
4547 * conform/data/ndbm.h-data: Likewise.
4548 * conform/data/net/if.h-data: Likewise.
4549 * conform/data/netdb.h-data: Likewise.
4550 * conform/data/netinet/in.h-data: Likewise.
4551 * conform/data/nl_types.h-data: Likewise.
4552 * conform/data/poll.h-data: Likewise.
4553 * conform/data/pthread.h-data: Likewise.
4554 * conform/data/pwd.h-data: Likewise.
4555 * conform/data/regex.h-data: Likewise.
4556 * conform/data/sched.h-data: Likewise.
4557 * conform/data/search.h-data: Likewise.
4558 * conform/data/semaphore.h-data: Likewise.
4559 * conform/data/setjmp.h-data: Likewise.
4560 * conform/data/signal.h-data: Likewise.
4561 * conform/data/spawn.h-data: Likewise.
4562 * conform/data/stdarg.h-data: Likewise.
4563 * conform/data/stdio.h-data: Likewise.
4564 * conform/data/stdlib.h-data: Likewise.
4565 * conform/data/string.h-data: Likewise.
4566 * conform/data/strings.h-data: Likewise.
4567 * conform/data/stropts.h-data: Likewise.
4568 * conform/data/sys/ipc.h-data: Likewise.
4569 * conform/data/sys/mman.h-data: Likewise.
4570 * conform/data/sys/msg.h-data: Likewise.
4571 * conform/data/sys/resource.h-data: Likewise.
4572 * conform/data/sys/select.h-data: Likewise.
4573 * conform/data/sys/sem.h-data: Likewise.
4574 * conform/data/sys/shm.h-data: Likewise.
4575 * conform/data/sys/socket.h-data: Likewise.
4576 * conform/data/sys/stat.h-data: Likewise.
4577 * conform/data/sys/statvfs.h-data: Likewise.
4578 * conform/data/sys/time.h-data: Likewise.
4579 * conform/data/sys/timeb.h-data: Likewise.
4580 * conform/data/sys/times.h-data: Likewise.
4581 * conform/data/sys/types.h-data: Likewise.
4582 * conform/data/sys/uio.h-data: Likewise.
4583 * conform/data/sys/un.h-data: Likewise.
4584 * conform/data/sys/utsname.h-data: Likewise.
4585 * conform/data/sys/wait.h-data: Likewise.
4586 * conform/data/syslog.h-data: Likewise.
4587 * conform/data/tar.h-data: Likewise.
4588 * conform/data/termios.h-data: Likewise.
4589 * conform/data/utime.h-data: Likewise.
4590 * conform/data/utmpx.h-data: Likewise.
4591 * conform/data/varargs.h-data: Likewise.
4592 * conform/data/wchar.h-data: Likewise.
4593 * conform/data/wctype.h-data: Likewise.
4594 * conform/data/wordexp.h-data: Likewise.
4595
4596 * include/stropts.h: New file.
4597 * include/uchar.h: New file.
4598 * include/aio.h: Changes to allow conformtest.pl to use the headers.
4599 * include/assert.h: Likewise.
4600 * include/ctype.h: Likewise.
4601 * include/dirent.h: Likewise.
4602 * include/dlfcn.h: Likewise.
4603 * include/fcntl.h: Likewise.
4604 * include/fnmatch.h: Likewise.
4605 * include/glob.h: Likewise.
4606 * include/grp.h: Likewise.
4607 * include/libio.h: Likewise.
4608 * include/locale.h: Likewise.
4609 * include/math.h: Likewise.
4610 * include/net/if.h: Likewise.
4611 * include/netdb.h: Likewise.
4612 * include/netinet/in.h: Likewise.
4613 * include/pthread.h: Likewise.
4614 * include/pwd.h: Likewise.
4615 * include/regex.h: Likewise.
4616 * include/sched.h: Likewise.
4617 * include/search.h: Likewise.
4618 * include/setjmp.h: Likewise.
4619 * include/signal.h: Likewise.
4620 * include/stdio.h: Likewise.
4621 * include/stdlib.h: Likewise.
4622 * include/string.h: Likewise.
4623 * include/sys/cdefs.h: Likewise.
4624 * include/sys/mman.h: Likewise.
4625 * include/sys/msg.h: Likewise.
4626 * include/sys/resource.h: Likewise.
4627 * include/sys/select.h: Likewise.
4628 * include/sys/socket.h: Likewise.
4629 * include/sys/stat.h: Likewise.
4630 * include/sys/statvfs.h: Likewise.
4631 * include/sys/time.h: Likewise.
4632 * include/sys/times.h: Likewise.
4633 * include/sys/uio.h: Likewise.
4634 * include/sys/utsname.h: Likewise.
4635 * include/sys/wait.h: Likewise.
4636 * include/termios.h: Likewise.
4637 * include/time.h: Likewise.
4638 * include/ulimit.h: Likewise.
4639 * include/unistd.h: Likewise.
4640 * include/utime.h: Likewise.
4641 * include/wchar.h: Likewise.
4642 * include/wctype.h: Likewise.
4643 * include/wordexp.h: Likewise.
4644
4645 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
4646
7a270350
UD
4647 * time/time.h: TIME_UTC must be a macro.
4648 Make timespec_get available for ISO C11 only as well.
4649
7724defc
UD
46502012-02-24 Ulrich Drepper <drepper@gmail.com>
4651
4652 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
4653 Reported by Peng Haitao <penght@cn.fujitsu.com>.
4654
6b1d1d46
JM
46552012-02-24 Joseph Myers <joseph@codesourcery.com>
4656
4657 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 4658
0f8bbd69
JM
46592012-02-24 Joseph Myers <joseph@codesourcery.com>
4660
4661 * manual/texinfo.tex: Update to version 2012-01-19.16.
4662
66ab80bc
JM
46632012-02-24 Joseph Myers <joseph@codesourcery.com>
4664
4665 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
4666
74981cc5
RM
46672012-02-24 Roland McGrath <roland@hack.frob.com>
4668
ee968201
RM
4669 [BZ #13738]
4670 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
4671 * manual/fdl-1.3.texi: New file.
4672 * manual/fdl-1.1.texi: File removed.
4673
74981cc5
RM
4674 [BZ #13738]
4675 * manual/libc.texinfo (FDL_VERSION): New @set.
4676 Use it for mention of FDL in cover text.
4677 (Documentation License): Use it in @include file name.
4678
7bb764bc
JM
46792012-02-22 Joseph Myers <joseph@codesourcery.com>
4680 Roland McGrath <roland@hack.frob.com>
4681
4682 [BZ #5461]
4683 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
4684 not LONG_LONG_MAX and LONG_LONG_MIN.
4685 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
4686 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
4687 name.
4688 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
4689
6cbeae47
JM
46902012-02-22 Joseph Myers <joseph@codesourcery.com>
4691
4692 [BZ #2547]
4693 [BZ #11365]
4694 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
4695 manipulate bits before adding and subtracting TWO23[sx].
4696 * math/libm-test.inc (nearbyint_test): Add more tests.
4697
fe45ce09
JM
46982012-02-22 Joseph Myers <joseph@codesourcery.com>
4699
4700 [BZ #2548]
4701 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
4702 bits before adding and subtracting TWO23[sx].
4703 * math/libm-test.inc (rint_test): Add more tests.
4704 (rint_test_tonearest): Likewise.
4705 (rint_test_towardzero): Likewise.
4706 (rint_test_downward): Likewise.
4707 (rint_test_upward: Likewise.
4708
ff3b3d82
JM
47092012-02-22 Joseph Myers <joseph@codesourcery.com>
4710
4711 [BZ #10110]
4712 * include/stdc-predef.h: New file. Extracted from features.h.
4713 * include/features.h: Include stdc-predef.h.
4714 * Makefile (headers): Add stdc-predef.h.
4715 * CONFORMANCE (Compiler limitations): Update.
4716
ef0aab35
JM
47172012-02-22 Joseph Myers <joseph@codesourcery.com>
4718
4719 * manual/libc.texinfo (VERSION, UPDATED): Revert.
4720
58639409
DM
47212012-02-21 David S. Miller <davem@davemloft.net>
4722
4723 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
4724 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4725
c0e70b25
DM
47262012-02-20 David S. Miller <davem@davemloft.net>
4727
4728 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
4729 using a normal save/restore sequence, rather than allocating a
4730 dummy stack frame just to store a frame pointer and restore.
4731 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4732
fb06851d
JM
47332012-02-21 Joseph Myers <joseph@codesourcery.com>
4734
4735 * manual/install.texi: Fix stray word in line-wrapped comment.
4736
7a8b71c3
DM
47372012-02-20 David S. Miller <davem@davemloft.net>
4738
d510c123
DM
4739 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
4740 both binutils and gcc support GOTDATA.
4741
0722d7c2
DM
4742 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
4743 "rd %pc" in the PIC register setup sequences.
4744
3d2b3019
DM
4745 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
4746 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4747 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4748 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4749 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4750 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4751 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4752 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4753 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
4754 (SYSCALL_ERROR_HANDLER): Likewise.
4755 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4756 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4757 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
4758 (SYSCALL_ERROR_HANDLER): Likewise.
4759
c80098a9
DM
4760 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
4761 (HAVE_GCC_GOTDATA): New.
4762 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
4763 relocation support in both binutils and gcc.
4764 * sysdeps/sparc/elf/configure: Regenerate.
4765
3a2545a0
DM
4766 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
4767 * sysdeps/sparc/sparc32/elf/configure: Delete.
4768 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
4769 * sysdeps/sparc/sparc64/elf/configure: Delete.
4770 * sysdeps/sparc/elf/configure.in: New file.
4771 * sysdeps/sparc/elf/configure: Generate.
4772
7a8b71c3
DM
4773 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
4774 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
4775 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4776 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
4777 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
4778
f1e86fca
JM
47792012-02-21 Joseph Myers <joseph@codesourcery.com>
4780
4781 * manual/install.texi: Do not mention specific glibc version
4782 numbers.
4783 * manual/libc.texinfo (VERSION, UPDATED): Update.
4784 (@copying): Use @copyright{} and range of years.
4785
0e7dfaef
JM
47862012-02-21 Joseph Myers <joseph@codesourcery.com>
4787
4788 [BZ #13695]
4789 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
4790 [crti.S not in sysdirs] (generated): Do not append.
4791 [crti.S not in sysdirs] (omit-deps): Likewise.
4792 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
4793 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
4794 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
4795 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
4796 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
4797 Likewise.
4798 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
4799 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
4800 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
4801 * csu/defs.awk: Remove file.
4802 * sysdeps/generic/initfini.c: Likewise.
4803 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
4804 variable.
4805 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
4806 Likewise.
4807
599af3ca
JM
48082012-02-20 Joseph Myers <joseph@codesourcery.com>
4809
4810 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
4811 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
4812 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
4813 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
4814 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4815 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
4816 <bits/epoll.h>.
4817 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
4818 (__EPOLL_PACKED): Define to empty if not defined by
4819 <bits/epoll.h>.
4820 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
4821 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4822 bits/epoll.h.
4823
0e499750
JM
48242012-02-20 Joseph Myers <joseph@codesourcery.com>
4825
4826 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
4827 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
4828 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
4829 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
4830 <bits/timerfd.h>.
4831 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
4832 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4833 bits/timerfd.h.
4834
5ad91f6e
JM
48352012-02-20 Joseph Myers <joseph@codesourcery.com>
4836
4837 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
4838 in C locale.
4839 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4840 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4841 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
4842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4843
06b99b02
AJ
48442012-02-20 Aurelien Jarno <aurelien@aurel32.net>
4845
4846 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4847 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4848
7638c0fd
AS
48492012-02-19 Andreas Schwab <schwab@linux-m68k.org>
4850
4851 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
4852 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
4853 defined.
4854 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
4855 Likewise.
4856 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
4857 entry for 2.16.
4858
92221550
AJ
48592012-02-19 Aurelien Jarno <aurelien@aurel32.net>
4860
4861 * math/w_acos.c: Use non-signaling floating-point comparisons.
4862 * math/w_acosf.c: Likewise.
4863 * math/w_acosh.c: Likewise.
4864 * math/w_acoshf.c: Likewise.
4865 * math/w_acoshl.c: Likewise.
4866 * math/w_acosl.c: Likewise.
4867 * math/w_asin.c: Likewise.
4868 * math/w_asinf.c: Likewise.
4869 * math/w_asinl.c: Likewise.
4870 * math/w_atanh.c: Likewise.
4871 * math/w_atanhf.c: Likewise.
4872 * math/w_atanhl.c: Likewise.
4873 * math/w_exp2.c: Likewise.
4874 * math/w_exp2f.c: Likewise.
4875 * math/w_exp2l.c: Likewise.
4876 * math/w_j0.c: Likewise.
4877 * math/w_j0f.c: Likewise.
4878 * math/w_j0l.c: Likewise.
4879 * math/w_j1.c: Likewise.
4880 * math/w_j1f.c: Likewise.
4881 * math/w_j1l.c: Likewise.
4882 * math/w_jn.c: Likewise.
4883 * math/w_jnf.c: Likewise.
4884 * math/w_log.c: Likewise.
4885 * math/w_log10.c: Likewise.
4886 * math/w_log10f.c: Likewise.
4887 * math/w_log10l.c: Likewise.
4888 * math/w_log2.c: Likewise.
4889 * math/w_log2f.c: Likewise.
4890 * math/w_log2l.c: Likewise.
4891 * math/w_logf.c: Likewise.
4892 * math/w_logl.c: Likewise.
4893 * math/w_sqrt.c: Likewise.
4894 * math/w_sqrtf.c: Likewise.
4895 * math/w_sqrtl.c: Likewise.
4896 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4897 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4898 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4899 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4900 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4901
ebaf36eb
JM
49022012-02-19 Joseph Myers <joseph@codesourcery.com>
4903
4904 [BZ #9739]
4905 * manual/string.texi (strnlen): Use correct parameter name in
4906 equivalent expression.
4907
71c254a6
JM
49082012-02-19 Joseph Myers <joseph@codesourcery.com>
4909
4910 [BZ #11174]
4911 * manual/users.texi (seteuid): Consistently use neweuid for
4912 argument name.
4913
16d2c631
JM
49142012-02-19 Joseph Myers <joseph@codesourcery.com>
4915
4916 [BZ #13704]
4917 * manual/nss.texi (Services in the NSS configuration): Correct
4918 list of services in example configuration file.
4919
cd837b09
NB
49202012-02-19 Nick Bowler <nbowler@draconx.ca>
4921
4922 [BZ #11322]
4923 * manual/arith.texi: Remove statements about negative zero
4924 behaving identically to zero.
4925
02c4bbad
JM
49262012-02-18 Joseph Myers <joseph@codesourcery.com>
4927
4928 [BZ #5993]
4929 * manual/install.texi: Do not document upgrading from libc5.
4930
366842e7
JM
49312012-02-18 Joseph Myers <joseph@codesourcery.com>
4932
4933 [BZ #4596]
4934 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
4935
dd54084d
DM
49362012-02-18 David S. Miller <davem@davemloft.net>
4937
4938 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
4939 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
4940 %o7 across the call.
4941 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
4942 instead.
4943 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
4944 SETUP_PIC_REG_LEAF.
4945 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4946 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
4947 * sysdeps/sparc/crtn.S: Likewise.
4948
2bcc53a3
UD
49492012-02-17 Ulrich Drepper <drepper@gmail.com>
4950
4951 * aout/Makefile: Remove.
4952
09c093b5
RK
49532012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
4954
4955 [BZ #13058]
4956 * manual/examples/argp-ex1.c (main): Format definition in GNU
4957 style.
4958 * manual/examples/argp-ex2.c (main): Likewise.
4959 * manual/examples/argp-ex3.c (main): Likewise.
4960 * manual/examples/argp-ex4.c (main): Likewise.
4961 * manual/examples/longopt.c (main): Use new-style prototype
4962 definition.
4963 * manual/examples/strncat.c (main): Specify return type and use
4964 (void) for arguments.
4965 * manual/examples/subopt.c (main): Use char **argv argument.
4966
2ee633a2
JM
49672012-02-17 Joseph Myers <joseph@codesourcery.com>
4968
4969 [BZ #5077]
4970 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
4971 rounding modes.
4972
0520adde
FB
49732012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
4974
4975 [BZ #6907]
4976 * manual/string.texi (strchr): Change when strchrnul is
4977 recommended.
4978
3f4081cd
DGM
49792012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
4980
4981 [BZ #174]
4982 * manual/locale.texi (setlocale): Document LOCPATH.
4983
d1b10e78
JM
49842012-02-17 Joseph Myers <joseph@codesourcery.com>
4985
4986 [BZ #10210]
4987 * manual/process.texi (execle): Move @dots{} before last argument.
4988
79c6869c
PB
49892012-02-17 Paul Bolle <pebolle@tiscali.nl>
4990
4991 [BZ #12047]
4992 * manual/charset.texi (Generic Charset Conversion): Fix typo
4993 (LC_TYPE -> LC_CTYPE).
4994
cc6e48bc
NB
49952012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
4996
4997 [BZ #5805]
4998 * manual/arith.texi (scalbn): Use @var{} on parameter names.
4999 (scalbnf): Likewise.
5000 (scalbnl): Likewise.
5001 (scalbln): Likewise.
5002 (scalblnf): Likewise.
5003 (scalblnl): Likewise.
5004 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5005 (vwarnx): Likewise.
5006 (verr): Likewise.
5007 (verrx): Likewise.
5008 * manual/filesys.texi (telldir): Use braces around return type.
5009 * manual/llio.texi (mmap): Add space after comma.
5010 (mmap64): Likewise.
5011 * manual/math.texi (jn): Use @var{} on parameter names.
5012 (jnf): Likewise.
5013 (jnl): Likewise.
5014 (yn): Likewise.
5015 (ynf): Likewise.
5016 (ynl): Likewise.
5017 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5018 line.
5019 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5020 "...".
5021 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5022 (sched_get_priority_max): Likewise.
5023 * manual/signal.texi (sigvec): Add space after comma.
5024 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5025 names.
5026 (if_indextoname): Likewise.
5027 (if_freenameindex): Likewise.
5028 (sendto): Use ',' instead of '.' in prototype.
5029 * manual/startup.texi (syscall): Use @dots{} instead of literal
5030 "...".
5031 * manual/stdio.texi (__fpending): Separate initial words of
5032 paragraph from @deftypefun line.
5033 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5034 "...".
5035 (vsyslog): Use @var{} on parameter names.
5036 * manual/terminal.texi (stty): Use @var{} on parameter names.
5037 * manual/users.texi (getutmp): Use @var{} on parameter names.
5038 (getutmpx): Likewise.
5039
5b23062f
JM
50402012-02-17 Joseph Myers <joseph@codesourcery.com>
5041
5042 [BZ #6884]
5043 * manual/stdio.texi (fopen): Fix typos in description of
5044 ",ccs=STRING".
5045
8dee4833
AJ
50462012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5047
5048 [BZ #4026]
5049 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5050 get clock_id definition.
5051
9078ce93
TS
50522012-02-17 Thomas Schwinge <thomas@schwinge.name>
5053
5054 [BZ #4822]
5055 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5056 (madvise): Cast every argument to void on its own.
5057
3835c55f
JM
50582012-02-17 Joseph Myers <joseph@codesourcery.com>
5059
5060 [BZ #9902]
5061 * manual/startup.texi (Exit Status): Fix typo.
5062
35c47e37
JM
50632012-02-17 Joseph Myers <joseph@codesourcery.com>
5064
5065 [BZ #10140]
5066 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5067 * manual/examples/argp-ex2.c: Likewise.
5068 * manual/examples/argp-ex3.c: Likewise.
5069
e3b69ca7
RH
50702012-02-16 Richard Henderson <rth@redhat.com>
5071
5072 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5073 * sysdeps/s390/s390-32/initfini.c: Remove.
5074 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5075 * sysdeps/s390/s390-64/initfini.c: Remove.
5076
df83af67
KK
50772012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5078
5079 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5080 compiler output for sysdeps/generic/initfini.c.
5081 * sysdeps/sh/elf/initfini.c: Remove file.
5082
f63f3380
DM
50832012-02-16 David S. Miller <davem@davemloft.net>
5084
fb59b3a4
DM
5085 [BZ #11494]
5086 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5087
f63f3380
DM
5088 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5089 * sysdeps/sparc/crti.S: New file.
5090 * sysdeps/sparc/crtn.S: New file.
5091 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5092 * sysdeps/sparc/sparc64/Makefile: Likewise.
5093
df6a4a4a
MF
50942012-02-15 Mike Frysinger <vapier@gentoo.org>
5095
6dd8f3dc 5096 [BZ #3335]
df6a4a4a
MF
5097 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5098
1cac7236
RM
50992012-02-15 Roland McGrath <roland@hack.frob.com>
5100
d2c736f8
RM
5101 [BZ #4822]
5102 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5103
1cac7236
RM
5104 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5105 (write, read, close): Likewise.
5106 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5107
8e475601
JM
51082012-02-15 Joseph Myers <joseph@codesourcery.com>
5109
5110 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5111 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5112 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5113 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5114 <bits/signalfd.h>.
5115 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5116 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5117 bits/signalfd.h.
5118
ed656b40
MP
51192012-02-14 Marek Polacek <polacek@redhat.com>
5120
5121 * sysdeps/x86_64/crti.S: New file.
5122 * sysdeps/x86_64/crtn.S: New file.
5123 * sysdeps/x86_64/elf/initfini.c: Remove file.
5124
2a979d3a
JM
51252012-02-13 Joseph Myers <joseph@codesourcery.com>
5126
5127 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5128 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5129 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5130 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5131 <bits/inotify.h>.
5132 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5133 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5134 bits/inotify.h.
5135
2a418ac3
JM
51362012-02-13 Joseph Myers <joseph@codesourcery.com>
5137
5138 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5139 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5140 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5141 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5142 <bits/eventfd.h>.
5143 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5144 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5145 bits/eventfd.h.
5146
fb779be7
TS
51472012-02-10 Thomas Schwinge <thomas@codesourcery.com>
5148
e19e83c5
RM
5149 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5150 __feraiseexcept instead of feraiseexcept.
7c35ffed 5151
fb779be7
TS
5152 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5153 nanosleep invocations.
5154 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5155 strings, and add error checking for a nanosleep invocations.
5156
59ba27a6
PE
51572012-02-09 Paul Eggert <eggert@cs.ucla.edu>
5158
5159 Replace FSF snail mail address with URLs, as per GNU coding standards.
5160 Most of the snail mail addresses were wrong anyway, and omitting
5161 them makes the source code easier to maintain. Almost all of the
5162 changes are to license notices and to locale LC_IDENTIFICATION
5163 addresses, except for this one:
5164 * manual/libc.texinfo: In "Published by", give the FSF's URL,
5165 not its snail mail address.
5166
57b957eb
RH
51672012-02-09 Richard Henderson <rth@twiddle.net>
5168
af850b1c
RH
5169 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5170 of kernel-features.h.
5171
57b957eb
RH
5172 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5173
6b73181a
MP
51742012-02-08 Marek Polacek <polacek@redhat.com>
5175
5176 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5177 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5178 * sysdeps/gnu/_G_config.h: Likewise.
5179 * sysdeps/generic/_G_config.h: Likewise.
5180
26ecc33a
AS
51812012-02-08 Andreas Schwab <schwab@linux-m68k.org>
5182
6c6dbc63
AS
5183 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5184 tests.
5185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5186
e216c012
AS
5187 * sysdeps/powerpc/powerpc32/crti.S: New file.
5188 * sysdeps/powerpc/powerpc32/crtn.S: New file.
5189 * sysdeps/powerpc/powerpc64/crti.S: New file.
5190 * sysdeps/powerpc/powerpc64/crtn.S: New file.
5191
26ecc33a
AS
5192 * Makeconfig (have-initfini): Don't set.
5193 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5194 * configure.in (nopic_initfini): Don't substitute.
5195 * config.h.in (HAVE_INITFINI): Don't #undef.
5196 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5197 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5198
3add8e13
JM
51992012-02-08 Joseph Myers <joseph@codesourcery.com>
5200
5201 Support crti.S and crtn.S provided directly by architectures.
5202 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5203 [crti.S in sysdirs] (omit-deps): Likewise.
5204 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5205 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5206 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5207 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5208 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5209 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5210 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5211 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5212 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5213 compiler output for sysdeps/generic/initfini.c.
5214 * sysdeps/i386/elf/Makefile: Remove file.
5215 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5216
a22f12b4
MP
52172012-02-07 Marek Polacek <polacek@redhat.com>
5218
5219 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5220 * sysdeps/gnu/_G_config.h: Likewise.
5221 * sysdeps/mach/hurd/_G_config.h: Likewise.
5222
148cf100
MP
52232012-02-07 Marek Polacek <polacek@redhat.com>
5224
5225 * math/Makefile (tests): Add tst-CMPLX2.
5226 * math/tst-CMPLX2.c: New file.
5227
cfdc0dd7
AS
52282012-02-07 Andreas Schwab <schwab@linux-m68k.org>
5229
84ba42c4
AS
5230 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5231
cfdc0dd7
AS
5232 * math/libm-test.inc (jn_test): Add missing L suffix.
5233
622c86f4
MP
52342012-02-06 Marek Polacek <polacek@redhat.com>
5235
5236 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5237 * sysdeps/i386/fpu/e_powf.S: Likewise.
5238 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5239 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5240 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5241 * sysdeps/i386/fpu/e_pow.S: Likewise.
5242 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5243 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5244 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5245 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5246 * sysdeps/i386/fpu/e_log2.S: Likewise.
5247 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5248 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5249 * sysdeps/i386/fpu/e_powl.S: Likewise.
5250 * sysdeps/i386/fpu/s_log1p.S: Likewise.
5251 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5252 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5253 * sysdeps/i386/fpu/e_logl.S: Likewise.
5254 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5255 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
5256 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5257 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5258 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5259 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5260 * sysdeps/i386/fpu/e_log.S: Likewise.
5261 * sysdeps/i386/fpu/s_cexp.S: Likewise.
5262 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5263 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
5264 * sysdeps/i386/fpu/e_logf.S: Likewise.
5265 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5266 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5267 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
5268 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5269 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5270 * sysdeps/i386/fpu/e_log10.S: Likewise.
5271 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5272 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5273 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5274 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5275 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5276 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5277 * sysdeps/i386/asm-syntax.h: Likewise.
5278 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5279 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5280 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5281 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
5282 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
5283 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5284 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5285 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5286 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5287 * sysdeps/powerpc/sysdep.h: Likewise.
5288 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
5289 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5290
d4a54ac6
JM
52912012-02-06 Joseph Myers <joseph@codesourcery.com>
5292
5293 [BZ #411]
5294 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
5295
314054ea
JM
52962012-02-06 Joseph Myers <joseph@codesourcery.com>
5297
5298 * sysdeps/i386/sysdep.h: Include <features.h>.
5299 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
5300 version.
5301
d8e0ca50
JM
53022012-02-05 Joseph Myers <joseph@codesourcery.com>
5303
5304 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
5305 Define.
5306 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
5307 LOAD_PIC_REG_STR.
5308
b1da7dd9
JM
53092012-02-03 Joseph Myers <joseph@codesourcery.com>
5310
5311 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
5312 (SETUP_PIC_REG): Use GET_PC_THUNK.
5313 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
5314 macro.
5315
9a1d9254
JM
53162012-02-03 Joseph Myers <joseph@codesourcery.com>
5317
5318 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
5319 for non-PIC compilation.
5320 (SETUP_PIC_REG): Add .p2align directive.
5321 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
5322 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5323 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5324 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5325 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5326 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5327 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5328 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5329 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5330 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5331 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5332 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5333 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5334 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5335 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5336 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5337 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5338 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5339 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5340 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5341 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5342 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5343 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5344 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5345 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5346 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5347 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5348 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5349 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5350 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5351 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5352 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5353 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5354 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5355 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5356 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5357 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5358 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5359 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5360 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5361 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5362
65dc3b75
JM
53632012-02-03 Joseph Myers <joseph@codesourcery.com>
5364
5365 * math/tst-CMPLX.c: Include <stdio.h>.
5366
d55bf177
JM
53672012-01-31 Joseph Myers <joseph@codesourcery.com>
5368
5369 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
5370 float.
5371 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5372 * sysdeps/sparc/bits/mathdef.h: Likewise.
5373
69db4f8f
MP
53742012-01-31 Marek Polacek <polacek@redhat.com>
5375
5376 * libio/libio.h: Don't define _PARAMS.
5377 * locale/programs/config.h: Don't define PARAMS.
5378 * stdlib/strtol_l.c: Likewise.
5379 (__strtol_l): Remove PARAMS from the prototype.
5380
41b81892
UD
53812012-01-31 Ulrich Drepper <drepper@gmail.com>
5382
3b49edc0
UD
5383 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
5384 names. Just use the correct names. Remove unnecessary wrapper
5385 functions.
5386 * malloc/arena.c: Likewise.
5387 * malloc/hooks.c: Likewise.
5388
41b81892
UD
5389 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
5390 ARENA_TEST says not to. Simplify test for creation of a new arena.
5391 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
5392
27a25b6e
UD
53932012-01-30 Ulrich Drepper <drepper@gmail.com>
5394
5395 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
5396 into tail calls.
5397 (update_get_addr): New function.
5398 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
5399 GET_ADDR_MODULE parameter.
5400
c8a89e7d
JM
54012012-01-30 Joseph Myers <joseph@codesourcery.com>
5402
5403 * crypt/cert.c: Remove __STDC__ conditionals.
5404 * crypt/crypt-entry.c: Likewise.
5405 * crypt/crypt_util.c: Likewise.
5406 * libio/filedoalloc.c: Likewise.
5407 * libio/fileops.c: Likewise.
5408 * libio/genops.c: Likewise.
5409 * libio/iofclose.c: Likewise.
5410 * libio/iofdopen.c: Likewise.
5411 * libio/iofopen.c: Likewise.
5412 * libio/iofopen64.c: Likewise.
5413 * libio/iogetdelim.c: Likewise.
5414 * libio/iopopen.c: Likewise.
5415 * libio/obprintf.c: Likewise.
5416 * libio/oldfileops.c: Likewise.
5417 * libio/oldiofclose.c: Likewise.
5418 * libio/oldiofdopen.c: Likewise.
5419 * libio/oldiofopen.c: Likewise.
5420 * libio/oldiopopen.c: Likewise.
5421 * libio/wfiledoalloc.c: Likewise.
5422 * libio/wgenops.c: Likewise.
5423 * locale/programs/xmalloc.c: Likewise.
5424 * misc/syslog.c: Likewise.
5425 * stdio-common/xbug.c: Likewise.
5426 * string/memchr.c: Likewise.
5427 * string/memcmp.c: Likewise.
5428 * string/memrchr.c: Likewise.
5429 * string/rawmemchr.c: Likewise.
5430 * sysdeps/posix/getcwd.c: Likewise.
5431 * time/strftime_l.c: Likewise.
5432
3b100462
JM
54332012-01-30 Joseph Myers <joseph@codesourcery.com>
5434
5435 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
5436 * config.make.in (config-cflags-sse2avx): Define.
5437 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
5438 Fix typo.
5439
607998af
CM
54402012-01-29 Chris Metcalf <cmetcalf@tilera.com>
5441
5442 * scripts/config.guess: Update from upstream config git repository.
5443 * scripts/config.sub: Likewise.
5444
3601428f
CM
54452012-01-28 Chris Metcalf <cmetcalf@tilera.com>
5446
3ac8b282
CM
5447 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
5448 (EM_NUM): Update.
5449 (R_TILEPRO_*, R_TILEGX_*): New macros.
5450
e034841e
CM
5451 * scripts/firstversions.awk: Fix bug in version range handling.
5452
540d7568
CM
5453 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
5454
3601428f
CM
5455 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
5456
463de862
CM
5457 * include/sys/epoll.h: New file.
5458 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
5459 libc_hidden_def.
5460
73139a76
UD
54612012-01-28 Ulrich Drepper <drepper@gmail.com>
5462
96bc5b45
UD
5463 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
5464 Avoid unnecessary __WORDSIZE == 64 test.
5465 (fmaxf): Use VEX format if possible.
5466 (fmax): Likewise.
5467 (fminf): Likewise.
5468 (fmin): Likewise.
5469
56f6f6a2
UD
5470 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
5471 * math/math_private.h: Remove libc_fegetround* and
5472 libc_fesetround*.
5473 * sysdeps/i386/configure.in: Check for -msse2avx.
5474 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
5475 also if SSE2AVX is defined.
5476 Remove libc_fegetround* and libc_fesetround*.
5477 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
5478 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
5479 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
5480 of HAS_YMM_USABLE.
5481 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5482 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5483 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5484 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5485 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5486
73139a76
UD
5487 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
5488
d73f93a4
AZ
54892012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5490
5491 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
5492 size is not set.
5493 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
5494
6ee65ed6
UD
54952012-01-27 Ulrich Drepper <drepper@gmail.com>
5496
5497 [BZ #13618]
5498 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
5499 relocation.
5500 * Makeconfig (libm): Define.
5501 * elf/Makefile: Add rules to build and run tst-relsort1.
5502 * elf/tst-relsort1.c: New file.
5503 * elf/tst-relsort1mod1.c: New file.
5504 * elf/tst-relsort1mod2.c: New file.
5505
8db21882
JM
55062012-01-27 Joseph Myers <joseph@codesourcery.com>
5507
5508 * math/s_ldexp.c: Remove __STDC__ conditionals.
5509 * math/s_ldexpf.c: Likewise.
5510 * math/s_ldexpl.c: Likewise.
5511 * math/s_nextafter.c: Likewise.
5512 * math/s_nexttowardf.c: Likewise.
5513 * math/s_significand.c: Likewise.
5514 * math/s_significandf.c: Likewise.
5515 * math/s_significandl.c: Likewise.
5516 * math/w_jnl.c: Likewise.
5517 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5518 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5519 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5520 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5521 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5522 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5523 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
5524 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5525 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5526 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5527 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5528 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5529 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5530 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5531 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5532 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5533 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5534 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5535 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5536 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5537 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5538 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5539 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5540 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5541 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5542 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5543 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5544 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5545 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5546 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5547 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5548 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5549 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5550 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5551 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5552 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5553 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5554 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5555 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5556 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5557 * sysdeps/ieee754/k_standard.c: Likewise.
5558 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5559 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5560 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5561 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5562 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5563 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5564 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5565 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5566 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5567 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5568 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5569 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5570 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5571 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5572 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5573 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5574 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5575 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5576 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5577 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5578 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5579 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5580 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5581 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5582 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5583 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5584 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5585 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5586 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5587 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5588 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5589 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5590 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5591 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5592 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5593 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5594 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
5595 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5596 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5597 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5598 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5599 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5600 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5601 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5602 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5603 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5604 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5605 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5606 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5607 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5608 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5609 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5610 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5611 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5612 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5613 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5614 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5615 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5616 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5617 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5618 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5619 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5620 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5621 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5622 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5623 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5624 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5625 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5626 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5627 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5628 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5629 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5630 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5631 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5632 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5633 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5634 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5635 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5636 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5637 * sysdeps/ieee754/s_matherr.c: Likewise.
5638 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5639 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5640 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5641 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5642
965a54a4
JM
56432012-01-26 Joseph Myers <joseph@codesourcery.com>
5644
5645 * crypt/md5.h: Remove __STDC__ conditionals.
5646 * libio/libioP.h: Likewise.
5647 * locale/programs/config.h: Likewise.
5648 * sysdeps/generic/sysdep.h: Likewise.
5649 * sysdeps/i386/asm-syntax.h: Likewise.
5650 * sysdeps/s390/asm-syntax.h: Likewise.
5651 * sysdeps/unix/sysdep.h: Likewise.
5652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5654
7071ad79
JM
56552012-01-26 Joseph Myers <joseph@codesourcery.com>
5656
5657 * libio/libio.h: Remove __STDC__ conditionals.
5658 * malloc/obstack.h: Likewise.
5659 * math/complex.h: Likewise.
5660 * math/math.h: Likewise.
5661 * sysdeps/generic/_G_config.h: Likewise.
5662 * sysdeps/gnu/_G_config.h: Likewise.
5663 * sysdeps/mach/hurd/_G_config.h: Likewise.
5664 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5665 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5666 * sysdeps/sparc/bits/mathdef.h: Likewise.
5667
afc5ed09
UD
56682012-01-26 Ulrich Drepper <drepper@gmail.com>
5669
5670 [BZ #13583]
5671 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 5672 Clean up HAS_* macros.
afc5ed09 5673 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
5674 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
5675 possible.
5676 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
5677 HAS_AVX.
5678 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5679 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5680 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5681 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5682 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 5683
bdb6de1d
JM
56842012-01-25 Joseph Myers <joseph@codesourcery.com>
5685
5686 * elf/tst-unique3.cc (gets): Remove declaration.
5687 * elf/tst-unique3lib.cc (gets): Likewise.
5688 * elf/tst-unique3lib2.cc (gets): Likewise.
5689 * elf/tst-unique4.cc (gets): Likewise.
5690
b15549e6
UD
56912012-01-24 Ulrich Drepper <drepper@gmail.com>
5692
5693 * include/stdio.h: Add C++ protection. Add gets declarations and
5694 definitions.
5695 * debug/tst-chk1.c: Don't declare gets here.
5696 * stdio-common/tst-gets.c: Likewise.
5697
a037381f
JM
56982012-01-24 Joseph Myers <joseph@codesourcery.com>
5699
5700 * posix/glob: Remove directory.
5701
f1d4aa75
JM
57022012-01-24 Joseph Myers <joseph@codesourcery.com>
5703
5704 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
5705
81c0c964
PT
57062012-01-22 Pino Toscano <toscano.pino@tiscali.it>
5707
5708 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
5709 of the non-standard EPFNOSUPPORT.
5710
0ea698ae
ST
57112011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
5712
5713 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
5714 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
5715 ANYWHERE set to 1 only on KERN_NO_SPACE error.
5716
d220b117
UD
57172012-01-21 Ulrich Drepper <drepper@gmail.com>
5718
5719 * wcsmbs/uchar.h: Test __STDC_VERSION__.
5720
3e1aa84e
UD
57212012-01-20 Ulrich Drepper <drepper@gmail.com>
5722
5723 * nscd/aicache.c (addhstaiX): Do not cache negative results of
5724 transient errors.
5725 * nscd/grpcache.c (cache_addgr): Likewise.
5726 * nscd/hstcache.c (cache_addhst): Likewise.
5727 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5728 * nscd/pwdcache.c (cache_addpw): Likewise.
5729 * nscd/servicescache.c (cache_addserv): Likewise.
5730
400aa020
UD
57312012-01-16 Ulrich Drepper <drepper@gmail.com>
5732
d77e7869
UD
5733 * malloc/malloc.c: Various cleanups.
5734 * malloc/hooks.c: Likewise.
5735
400aa020
UD
5736 * stdlib/Makefile (tests): Add bug-fmtmsg1.
5737 * stdlib/bug-fmtmsg1.c: New file.
5738
5739 * stdlib/fmtmsg.c (init): Add missing unlock.
5740 Patch by Peng Haitao <penght@cn.fujitsu.com>.
5741
e0a309cf
MP
57422012-01-12 Marek Polacek <polacek@redhat.com>
5743
5744 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
5745 and _GNU_SOURCE.
5746
929d11c7
WS
57472012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
5748
5749 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
5750 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
5751 macro to ensure uniqueness of label name.
5752 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5753 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5754
41d0e869
UD
57552012-01-11 Ulrich Drepper <drepper@gmail.com>
5756
0cc5ed3b
UD
5757 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
5758
41d0e869
UD
5759 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
5760 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5761 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5762 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
5763
a47a831a
UD
57642012-01-10 Ulrich Drepper <drepper@gmail.com>
5765
daa891c0
UD
5766 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
5767
5768 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
5769 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5770 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5771
e58ef0f2
UD
5772 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
5773
a47a831a 5774 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
5775 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5776 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 5777 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
5778
5779 * math/bits/math-finite.h: Add ldexp support.
5780
a0bfc9c7
MP
57812012-01-10 Marek Polacek <polacek@redhat.com>
5782
5783 * locale/programs/localedef.h (show_archive_content): Add noreturn
5784 attribute.
5785
d6e97a1d
UD
57862012-01-09 Ulrich Drepper <drepper@gmail.com>
5787
5788 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
5789
d5835c26
UD
57902012-01-08 Ulrich Drepper <drepper@gmail.com>
5791
e5f484c6
UD
5792 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
5793
d5835c26
UD
5794 * io/Makefile (headers): Add bits/poll2.h.
5795
d1f741e9
WS
57962011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
5797
5798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
5799 typo #include statement.
5800
ec09c1c4
UD
58012012-01-08 Ulrich Drepper <drepper@gmail.com>
5802
5803 * include/sys/cdefs.h: Define __attribute_alloc_size.
5804 * catgets/gencat.c: Add alloc_size attribute and apply consistently
5805 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
5806 * elf/pldd.c: Likewise.
5807 * iconv/iconv_charmap.c: Likewise.
5808 * iconv/iconvconfig.c: Likewise.
5809 * iconv/strtab.c: Likewise.
5810 * locale/programs/locale.c: Likewise.
5811 * locale/programs/localedef.h: Likewise.
5812 * locale/programs/simple-hash.c: Likewise.
5813 * nscd/nscd.h: Likewise.
5814 * nss/makedb.c: Likewise.
5815 * sysdeps/generic/ldconfig.h: Likewise.
5816 * locale/programs/localedef.c: Remove xmalloc prototype.
5817 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
5818
20b38e03
PP
58192012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5820
5821 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
5822 appropriate.
5823
a0da5fe1
UD
58242012-01-08 Ulrich Drepper <drepper@gmail.com>
5825
1d5a644a 5826 * math/Makefile (tests): Add tst-CMPLX.
669704fd 5827 * math/tst-CMPLX.c: New file.
1d5a644a 5828
8784a6db
UD
5829 * math/complex.h (CMPLXL): Fix typo.
5830
d9a216c0
UD
5831 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
5832 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
5833 GLIBC_2.16.
5834 * debug/tst-chk1.c: Add poll and ppoll tests.
5835 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
5836 * include/sys/poll.h: Add hidden proto for ppoll.
5837 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
5838 * sysdeps/mach/hurd/ppoll.c: Likewise.
5839 * io/ppoll.c: Likewise.
5840 * debug/poll_chk.c: New file.
5841 * debug/ppoll_chk.c: New file.
5842 * include/bits/poll2.h: New file.
5843 * io/bits/poll2.h: New file.
5844
ac097f5c
UD
5845 [BZ #1350]
5846 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
5847
2119dcfa
UD
5848 * configure.in: static is always set to yes. Remove.
5849 * config.make.in: Don't set build-static.
5850 * Makeconfig: Remove use of build-static.
5851 * dlfcn/Makefile: Likewise.
5852 * elf/Makefile: Likewise.
5853 * math/Makefile: Likewise.
5854 * misc/Makefile: Likewise.
5855 * nptl/Makefile: Likewise.
5856 * sysdeps/mach/hurd/Makefile: Likewise.
5857
121766a9
UD
5858 * configure.in: PWD_P is not used anymore.
5859 * config.make.in: Remove PWD_P entry.
5860
51a1d39c 5861 * configure.in: Remove last remnants of RANLIB.
8720d066 5862 No need to check for signed size_t anymore.
215f4bdc
UD
5863 Don't set libc_commonpagesize and libc_relro_required here for Alpha
5864 and IA-64.
3857022a 5865 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
5866 * aclocal.m4: Likewise.
5867
d3ed7225
UD
5868 * wcsmbs/mbrtoc16.c: Implement using towc function.
5869 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
5870 * wcsmbs/wcsmbsload.c: Likewise.
5871 * iconv/gconv_simple.c: Likewise.
5872 * iconv/gconv_int.h: Likewise.
5873 * iconv/gconv_builtin.h: Likewise.
5874 * iconv/iconv_prog.c: Remove CHAR16 handling.
5875
5876 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
5877
5878 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
5879
a0da5fe1
UD
5880 * configure.in: Remove --with-elf and --enable-bounded options.
5881 Dont set base_machine for ia64. More non-ELF conditions removed.
5882 Remove testing and setting of leading underscore information.
5883 * config.make.in (build-bounded): Set to no.
5884 * config.h.in: Remove NO_UNDERSCORES entry.
5885 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
5886 them.
5887 * csu/start.c: Remove !NO_UNDERSCORE code.
5888 * locale/localeinfo.h: Likewise.
5889 * sysdeps/generic/machine-gmon.h: Likewise.
5890 * sysdeps/generic/sysdep.h: Likewise.
5891 * sysdeps/i386/sysdep.h: Likewise.
5892 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5893 * sysdeps/mach/sysdep.h: Likewise.
5894 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5895 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5896 * sysdeps/sh/sysdep.h: Likewise.
5897 * sysdeps/sparc/sparc32/alloca.S: Likewise.
5898 * sysdeps/unix/i386/sysdep.S: Likewise.
5899 * sysdeps/unix/sparc/start.c: Likewise.
5900 * sysdeps/unix/sparc/sysdep.S: Likewise.
5901 * sysdeps/unix/sparc/sysdep.h: Likewise.
5902 * sysdeps/unix/start.c: Likewise.
5903 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5904 * sysdeps/x86_64/sysdep.h: Likewise.
5905
df78418a
UD
59062012-01-07 Ulrich Drepper <drepper@gmail.com>
5907
a784e502
UD
5908 [BZ #13553]
5909 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
5910 for non-gcc.
5911 * argp/argp-fmtstream.h: Use const instead __const.
5912 * argp/argp.h: Likewise.
5913 * assert/assert.h: Likewise.
5914 * bits/fenv.h: Likewise.
5915 * bits/sched.h: Likewise.
5916 * bits/sigset.h: Likewise.
5917 * bits/sigthread.h: Likewise.
5918 * catgets/nl_types.h: Likewise.
5919 * conform/data/pthread.h-data: Likewise.
5920 * crypt/crypt-private.h: Likewise.
5921 * crypt/crypt.h: Likewise.
5922 * crypt/crypt_util.c: Likewise.
5923 * ctype/ctype.h: Likewise.
5924 * debug/execinfo.h: Likewise.
5925 * debug/mbsnrtowcs_chk.c: Likewise.
5926 * debug/mbsrtowcs_chk.c: Likewise.
5927 * debug/wcsnrtombs_chk.c: Likewise.
5928 * debug/wcsrtombs_chk.c: Likewise.
5929 * debug/wcstombs_chk.c: Likewise.
5930 * dirent/dirent.h: Likewise.
5931 * dlfcn/dlfcn.h: Likewise.
5932 * elf/neededtest4.c: Likewise.
5933 * grp/grp.h: Likewise.
5934 * gshadow/gshadow.h: Likewise.
5935 * iconv/gconv.h: Likewise.
5936 * iconv/gconv_int.h: Likewise.
5937 * iconv/gconv_simple.c: Likewise.
5938 * iconv/iconv.h: Likewise.
5939 * iconv/loop.c: Likewise.
5940 * iconv/skeleton.c: Likewise.
5941 * include/aio.h: Likewise.
5942 * include/aliases.h: Likewise.
5943 * include/argz.h: Likewise.
5944 * include/arpa/inet.h: Likewise.
5945 * include/assert.h: Likewise.
5946 * include/dirent.h: Likewise.
5947 * include/dlfcn.h: Likewise.
5948 * include/execinfo.h: Likewise.
5949 * include/fcntl.h: Likewise.
5950 * include/fenv.h: Likewise.
5951 * include/glob.h: Likewise.
5952 * include/grp.h: Likewise.
5953 * include/libintl.h: Likewise.
5954 * include/mntent.h: Likewise.
5955 * include/netdb.h: Likewise.
5956 * include/pwd.h: Likewise.
5957 * include/rpc/netdb.h: Likewise.
5958 * include/sched.h: Likewise.
5959 * include/search.h: Likewise.
5960 * include/shadow.h: Likewise.
5961 * include/signal.h: Likewise.
5962 * include/stdio.h: Likewise.
5963 * include/stdlib.h: Likewise.
5964 * include/string.h: Likewise.
5965 * include/sys/socket.h: Likewise.
5966 * include/sys/stat.h: Likewise.
5967 * include/sys/statfs.h: Likewise.
5968 * include/sys/statvfs.h: Likewise.
5969 * include/sys/syslog.h: Likewise.
5970 * include/sys/time.h: Likewise.
5971 * include/sys/uio.h: Likewise.
5972 * include/time.h: Likewise.
5973 * include/unistd.h: Likewise.
5974 * include/utmp.h: Likewise.
5975 * include/wchar.h: Likewise.
5976 * include/wctype.h: Likewise.
5977 * inet/aliases.h: Likewise.
5978 * inet/arpa/inet.h: Likewise.
5979 * inet/netinet/ether.h: Likewise.
5980 * inet/netinet/in.h: Likewise.
5981 * intl/libintl.h: Likewise.
5982 * io/bits/fcntl2.h: Likewise.
5983 * io/fcntl.h: Likewise.
5984 * io/ftw.h: Likewise.
5985 * io/sys/poll.h: Likewise.
5986 * io/sys/stat.h: Likewise.
5987 * io/sys/statfs.h: Likewise.
5988 * io/sys/statvfs.h: Likewise.
5989 * io/utime.h: Likewise.
5990 * libio/bits/stdio.h: Likewise.
5991 * libio/bits/stdio2.h: Likewise.
5992 * libio/libio.h: Likewise.
5993 * libio/libioP.h: Likewise.
5994 * libio/stdio.h: Likewise.
5995 * locale/lc-ctype.c: Likewise.
5996 * locale/locale.h: Likewise.
5997 * login/utmp.h: Likewise.
5998 * malloc/arena.c: Likewise.
5999 * malloc/malloc.c: Likewise.
6000 * malloc/malloc.h: Likewise.
6001 * malloc/mcheck.c: Likewise.
6002 * malloc/mtrace.c: Likewise.
6003 * math/bits/mathcalls.h: Likewise.
6004 * math/fenv.h: Likewise.
6005 * math/math_private.h: Likewise.
6006 * misc/bits/error.h: Likewise.
6007 * misc/bits/syslog.h: Likewise.
6008 * misc/err.h: Likewise.
6009 * misc/error.h: Likewise.
6010 * misc/fstab.h: Likewise.
6011 * misc/mntent.h: Likewise.
6012 * misc/regexp.h: Likewise.
6013 * misc/search.h: Likewise.
6014 * misc/sgtty.h: Likewise.
6015 * misc/sys/mman.h: Likewise.
6016 * misc/sys/syslog.h: Likewise.
6017 * misc/sys/uio.h: Likewise.
6018 * misc/sys/xattr.h: Likewise.
6019 * misc/ttyent.h: Likewise.
6020 * nis/rpcsvc/ypclnt.h: Likewise.
6021 * nss/nss.h: Likewise.
6022 * posix/bits/unistd.h: Likewise.
6023 * posix/fnmatch.h: Likewise.
6024 * posix/glob.h: Likewise.
6025 * posix/sched.h: Likewise.
6026 * posix/spawn.h: Likewise.
6027 * posix/sys/wait.h: Likewise.
6028 * posix/unistd.h: Likewise.
6029 * posix/wordexp.h: Likewise.
6030 * pwd/pwd.h: Likewise.
6031 * resolv/netdb.h: Likewise.
6032 * resource/sys/resource.h: Likewise.
6033 * rt/aio.h: Likewise.
6034 * rt/bits/mqueue2.h: Likewise.
6035 * rt/mqueue.h: Likewise.
6036 * shadow/shadow.h: Likewise.
6037 * signal/signal.h: Likewise.
6038 * socket/send.c: Likewise.
6039 * socket/sendto.c: Likewise.
6040 * socket/sys/socket.h: Likewise.
6041 * stdio-common/printf.h: Likewise.
6042 * stdlib/bits/stdlib.h: Likewise.
6043 * stdlib/fmtmsg.h: Likewise.
6044 * stdlib/monetary.h: Likewise.
6045 * stdlib/stdlib.h: Likewise.
6046 * stdlib/ucontext.h: Likewise.
6047 * streams/stropts.h: Likewise.
6048 * string/argz.h: Likewise.
6049 * string/bits/string2.h: Likewise.
6050 * string/string.h: Likewise.
6051 * string/strings.h: Likewise.
6052 * sunrpc/rpc/auth.h: Likewise.
6053 * sunrpc/rpc/auth_des.h: Likewise.
6054 * sunrpc/rpc/clnt.h: Likewise.
6055 * sunrpc/rpc/netdb.h: Likewise.
6056 * sunrpc/rpc/pmap_clnt.h: Likewise.
6057 * sunrpc/rpc/xdr.h: Likewise.
6058 * sysdeps/generic/inttypes.h: Likewise.
6059 * sysdeps/generic/net/if.h: Likewise.
6060 * sysdeps/generic/sys/swap.h: Likewise.
6061 * sysdeps/gnu/net/if.h: Likewise.
6062 * sysdeps/gnu/utmpx.h: Likewise.
6063 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6064 * sysdeps/i386/i486/bits/string.h: Likewise.
6065 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6066 * sysdeps/s390/bits/string.h: Likewise.
6067 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6068 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6069 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6070 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6071 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6072 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6073 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6074 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6075 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6076 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6077 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6078 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6079 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6080 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6081 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6082 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6083 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6084 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6085 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6086 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6087 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6088 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6089 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6090 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6091 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6092 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6093 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6094 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6095 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6096 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6097 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6098 * sysvipc/sys/ipc.h: Likewise.
6099 * sysvipc/sys/msg.h: Likewise.
6100 * sysvipc/sys/sem.h: Likewise.
6101 * sysvipc/sys/shm.h: Likewise.
6102 * termios/termios.h: Likewise.
6103 * time/sys/time.h: Likewise.
6104 * time/time.h: Likewise.
6105 * wcsmbs/bits/wchar2.h: Likewise.
6106 * wcsmbs/uchar.h: Likewise.
6107 * wcsmbs/wchar.h: Likewise.
6108 * wctype/wctype.h: Likewise.
6109
0269750c
UD
6110 [BZ #13551]
6111 * Makeconfig: Remove all but ELF support including AIX support.
6112 * Makerules: Likewise.
6113 * config.h.in: Likewise.
6114 * config.make.in: Likewise.
6115 * configure: Likewise.
6116 * configure.in: Likewise.
6117 * csu/Makefile: Likewise.
6118 * csu/version.c: Likewise.
6119 * debug/Makefile: Likewise.
6120 * dlfcn/Makefile: Likewise.
6121 * elf/Makefile: Likewise.
6122 * extra-lib.mk: Likewise.
6123 * iconv/Makefile: Likewise.
6124 * include/libc-symbols.h: Likewise.
6125 * include/shlib-compat.h: Likewise.
6126 * resolv/Makefile: Likewise.
6127 * resolv/res_libc.c: Likewise.
6128 * rt/Makefile: Likewise.
6129 * sysdeps/i386/asm-syntax.h: Likewise.
6130 * sysdeps/i386/sysdep.h: Likewise.
6131 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6132 * sysdeps/mach/sysdep.h: Likewise.
6133 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6134 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6135 * sysdeps/s390/asm-syntax.h: Likewise.
6136 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6137 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6138 * sysdeps/sh/sysdep.h: Likewise.
6139 * sysdeps/unix/sparc/sysdep.h: Likewise.
6140 * sysdeps/wordsize-32/divdi3.c: Likewise.
6141 * sysdeps/x86_64/sysdep.h: Likewise.
6142
00bbd29b
UD
6143 * argp/Versions: Remove _argp_unlock_xxx.
6144
6145 [BZ #13559]
6146 * abilist/ld.abilist: Update. Adjust for removal of tls option.
6147 * abilist/libBrokenLocale.abilist: Likewise.
6148 * abilist/libanl.abilist: Likewise.
6149 * abilist/libc.abilist: Likewise.
6150 * abilist/libcrypt.abilist: Likewise.
6151 * abilist/libdl.abilist: Likewise.
6152 * abilist/libm.abilist: Likewise.
6153 * abilist/libnsl.abilist: Likewise.
6154 * abilist/libpthread.abilist: Likewise.
6155 * abilist/libresolv.abilist: Likewise.
6156 * abilist/librt.abilist: Likewise.
6157 * abilist/libthread_db.abilist: Likewise.
6158 * abilist/libutil.abilist: Likewise.
6159 * abilist/libnss_db.abilist: New file.
6160
6161 * scripts/abilist.awk: Add support for indirect functions.
6162
a2693a0e
UD
6163 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6164
3f05895f
UD
6165 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6166
ecb6fb48
UD
6167 * shlib-versions: Remove entries for ports architectures.
6168
664f8cb9
UD
6169 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
6170 files in ports.
6171 * elf/stackguard-macros.h: Remove support for IA-64.
6172 * elf/tst-auditmod1.c: Likewise.
6173 * sysdeps/generic/ldsodefs.h: Likewise.
6174
7ae81d88
UD
6175 * sysdeps/unix/sysv/linux/configure.in: Ports should define
6176 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6177 configure files.
6178
bdeba135
UD
6179 [BZ #13552]
6180 * configure.in: Remove --enable-omitfp support.
6181 * FAQ.in: Adjust.
6182 * config.make.in: Likewise.
6183 * Makeconfig: Likewise.
6184 * manual/install.texi: Likewise.
6185
d75a0a62
UD
6186 In case anyone cares, the IA-64 architecture could move to ports.
6187 * sysdeps/ia64/*: Removed.
6188 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 6189 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 6190
dcc9756b
UD
6191 [BZ #13555]
6192 * configure.in: Remove entries for unsupported architectures.
6193
d3761ebc 6194 [BZ #13533]
9954432e
UD
6195 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6196 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
6197 routines.
6198 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6199 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6200 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
6201 fall back to using wcrtomb.
6202 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6203 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
6204 renaming.
6205 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6206 * wcsmbs/tst-c16c32-1.c: New file.
6207
6208 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6209 local variable.
6210
c3a87236
UD
6211 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6212
28926a1b
UD
6213 * elf/tst-unique3.cc: Add explicit declaration of gets.
6214 * elf/tst-unique3lib.cc: Likewise.
6215 * elf/tst-unique3lib2.cc: Likewise.
6216 * elf/tst-unique4.cc: Likewise.
6217
df78418a
UD
6218 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6219
8ecd6b2a
JM
62202012-01-06 Joseph Myers <joseph@codesourcery.com>
6221
6222 [BZ #13566]
6223 * assert/assert.h (static_assert): Don't define for C++.
6224 * libio/stdio.h (gets): Do declare for C++ <= C++11.
6225 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6226
9f115170
UD
62272012-01-03 Ulrich Drepper <drepper@gmail.com>
6228
5e0d0300
UD
6229 * iconv/loop.c (single loop): Fix assertion in storing of
6230 remaining bytes.
6231
9f115170
UD
6232 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6233
81fb02b0
UD
62342012-01-01 Ulrich Drepper <drepper@gmail.com>
6235
6236 * posix/getconf.c: Update copyright year.
6237 * nss/getent.c: Likewise.
a316c1f6 6238 * nss/makedb.c: Likewise.
81fb02b0
UD
6239 * iconv/iconvconfig.c: Likewise.
6240 * iconv/iconv_prog.c: Likewise.
6241 * elf/ldconfig.c: Likewise.
a316c1f6
UD
6242 * elf/pldd.c: Likewise.
6243 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
6244 * catgets/gencat.c: Likewise.
6245 * csu/version.c: Likewise.
6246 * elf/ldd.bash.in: Likewise.
6247 * elf/sprof.c (print_version): Likewise.
6248 * locale/programs/locale.c: Likewise.
6249 * locale/programs/localedef.c: Likewise.
a316c1f6 6250 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
6251 * nscd/nscd.c (print_version): Likewise.
6252 * debug/xtrace.sh: Likewise.
6253 * malloc/memusage.sh: Likewise.
6254 * malloc/mtrace.pl: Likewise.
6255 * debug/catchsegv.sh: Likewise.
6256
2ba92745
JJ
62572011-12-30 Jakub Jelinek <jakub@redhat.com>
6258
6259 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
6260 pure attribute.
6261
dadebdae
UD
62622011-12-24 Ulrich Drepper <drepper@gmail.com>
6263
d3761ebc 6264 [BZ #13533]
db6af3eb
UD
6265 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
6266 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
6267 transformations.
6268 * iconv/gconv_int.h: Likewise.
6269 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
6270 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
6271 from libc for GLIBC_2.16.
6272 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
6273 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
6274 * wcsmbs/uchar.h: Really define mbstate_t.
6275 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
6276 * wcsmbs/c16rtomb.c: New file.
6277 * wcsmbs/mbrtoc16.c: New file.
6278 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
6279 for C/POSIX locale.
6280 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
6281 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
6282
dadebdae
UD
6283 * wcsmbs/wchar.h: Add missing __restrict.
6284
67371b56
UD
62852011-12-23 Ulrich Drepper <drepper@gmail.com>
6286
74033a25
UD
6287 [BZ #13532]
6288 * time/Makefile (routines): Add timespec_get.
6289 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
6290 * time/time.h: Define TIME_UTC and declare timespec_get. Define
6291 timespec for ISO C11.
6292 * time/timespec_get.c: New file.
6293 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
6294 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
6295
380d7e87
UD
6296 [BZ #13531]
6297 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
6298 * stdlib/stdlib.h: Declare aligned_alloc.
6299 * Versions.def: Add GLIBC_2.16 for libc.
6300 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
6301
4e9e7a35
UD
6302 [BZ 13527]
6303 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
6304 ISO C11.
6305
380d7e87 6306 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
6307 code.
6308
03a71829
UD
6309 [BZ #13528]
6310 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
6311
839e283e
UD
6312 [BZ #13529]
6313 * assert/assert.h (static_assert): Define.
6314
ce5294e2 6315 * version.h: Update for 2.16 development version.
90fa7312 6316
8d44e150 6317 [BZ #13526]
d7809905
UD
6318 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
6319 _ISOC11_SOURCE.
6320
c0da14cd
UD
6321 * version.h (RELEASE): Bump for 2.15 release.
6322 * include/features.h (__GLIBC_MINOR__): Bump to 15.
6323
530a3249
MP
6324 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
6325 Patch by Marek Polacek <mpolacek@redhat.com>.
6326
67371b56
UD
6327 * bits/byteswap.h: Protect long long constants with __extension__.
6328 * sysdeps/i386/bits/byteswap.h: Likewise.
6329 * sysdeps/ia64/bits/byteswap.h: Likewise.
6330 * sysdeps/s390/bits/byteswap.h: Likewise.
6331 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6332
15db4de1
LD
63332011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6334
6335 [BZ #13540]
bbe315ea
LD
6336 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
6337 destination buffer.
15db4de1
LD
6338 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6339
2b2596b1
MP
63402011-12-23 Marek Polacek <polacek@redhat.com>
6341
6342 * elf/dl-addr.c (determine_info): Add inline keyword.
6343 * elf/tst-auditmod4b.c (check_avx): Likewise.
6344 * elf/tst-auditmod6b.c (check_avx): Likewise.
6345 * elf/tst-auditmod6c.c (check_avx): Likewise.
6346 * elf/tst-auditmod7b.c (check_avx): Likewise.
6347
70c6c246
UD
63482011-12-23 Ulrich Drepper <drepper@gmail.com>
6349
6350 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
6351 !__SSE_MATH__.
6352
c044cf14
LD
63532011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6354
15db4de1 6355 [BZ #13540]
c044cf14
LD
6356 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
6357 processing for last bytes.
6358
6b13d9d9
BH
63592011-08-06 Bruno Haible <bruno@clisp.org>
6360
d455f537
BH
6361 [BZ #13061]
6362 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
6363 U+0385, not to U+1FEE.
6364
6b13d9d9
BH
6365 [BZ #13062]
6366 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
6367 entry for U+00A5 U+0301.
6368
db910efd
UD
63692011-12-22 Ulrich Drepper <drepper@gmail.com>
6370
27deeafc
UD
6371 [BZ #13166]
6372 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
6373 buffer for the output is too small.
6374
aed9d171
UD
6375 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
6376 optimization.
6377
db910efd
UD
6378 [BZ #13185]
6379 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
6380 SSE flags if possible.
6381
2bd779ae
LD
63822011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6383
e7f9dac3 6384 [BZ #13540]
2bd779ae
LD
6385 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
6386 processing for last bytes.
6387
154bfc16
JM
63882011-12-22 Joseph Myers <joseph@codesourcery.com>
6389
6390 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
6391 (syscall-list-default-options, syscall-list-default-condition)
6392 (syscall-list-includes): Define.
6393 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
6394 list of ABIs and options and #if conditions for each ABI. Do not
6395 handle common syscalls between ABIs specially.
6396 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
6397 Remove.
6398 (syscall-list-variants, syscall-list-32bit-options)
6399 (syscall-list-32bit-condition, syscall-list-64bit-options)
6400 (syscall-list-64bit-condition): Define.
6401 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
6402 (syscall-list-variants, syscall-list-32bit-options)
6403 (syscall-list-32bit-condition, syscall-list-64bit-options)
6404 (syscall-list-64bit-condition): Define.
6405 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
6406 Remove.
6407 (syscall-list-variants, syscall-list-32bit-options)
6408 (syscall-list-32bit-condition, syscall-list-64bit-options)
6409 (syscall-list-64bit-condition): Define.
6410 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
6411 Remove.
6412 (syscall-list-variants, syscall-list-32bit-options)
6413 (syscall-list-32bit-condition, syscall-list-64bit-options)
6414 (syscall-list-64bit-condition): Define.
6415
21eaf3a5
UD
64162011-12-22 Ulrich Drepper <drepper@gmail.com>
6417
16c6f992
UD
6418 * locale/iso-639.def: Add brx entry.
6419
41043168
UD
6420 [BZ #13328]
6421 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
6422 Proposed by Mariusz_Cukr <marcukr@op.pl>.
6423
21eaf3a5
UD
6424 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
6425 __feraiseexcept_renamed.
6426
e3a851a2
UD
64272011-12-21 Ulrich Drepper <drepper@gmail.com>
6428
4920765e
UD
6429 [BZ #13538]
6430 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
6431 EPOLLET with unsigned values.
6432 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6433 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6434
e3a851a2
UD
6435 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
6436 to large cancellation.
6437 * math/s_cacoshf.c: Likewise.
6438 * math/s_cacoshl.c: Likewise.
6439
b27e24b8
RK
64402011-11-18 Richard B. Kreckel <kreckel@ginac.de>
6441
6442 [BZ #13305]
aebefeee 6443 [BZ #12786]
b27e24b8
RK
6444 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
6445 * math/s_cacoshf.c: Likewise.
6446 * math/s_cacoshl.c: Likewise.
6447
ee190f67
UD
64482011-12-21 Ulrich Drepper <drepper@gmail.com>
6449
6450 [BZ #13439]
6451 * iconv/gconv.h: Define __GCONV_SWAP.
6452 * iconvdata/unicode.c: The swap bit must be stored in __flags.
6453 * iconvdata/utf-16.c: Likewise.
6454 * iconvdata/utf-32.c: Likewise.
6455
707f25df
AS
64562011-12-21 Andreas Schwab <schwab@linux-m68k.org>
6457
6458 [BZ #13524]
6459 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
6460 numerator after shifting it by one limb.
6461
d2daaa1e
RÁE
64622011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
6463
6464 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
6465 under [__USE_EXTERN_INLINES].
6466
a4647e72
UD
64672011-12-17 Ulrich Drepper <drepper@gmail.com>
6468
6469 [BZ #13446]
6470 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
6471
f0b264f1
AZ
64722011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6473
6474 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
6475 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
6476 optimized code.
6477 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
6478 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
6479 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
6480 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
6481 for strncasecmp/strncasecmp_l compilation.
6482 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
6483 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
6484
8ef4f244
MP
64852011-12-08 Marek Polacek <mpolacek@redhat.com>
6486
6487 [BZ #13484]
6488 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
6489 of __asm__.
6490
97ac2654
UD
64912011-12-17 Ulrich Drepper <drepper@gmail.com>
6492
6493 [BZ #13506]
6494 * time/tzfile.c (__tzfile_read): Check values from file header.
6495
91d2a845
WS
64962011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6497
6498 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
6499 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
6500 * powerpc/powerpc32/dl-start.S: Likewise.
6501 * powerpc/powerpc32/elf/start.S: Likewise.
6502 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6503 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
6504 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
6505 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
6506 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6507 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
6508 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
6509 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6510 * powerpc/powerpc32/fpu/s_round.S: Likewise.
6511 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6512 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6513 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6514 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6515 * powerpc/powerpc32/memset.S: Likewise.
6516 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6517 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6518 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6519 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6520 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6521 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6522 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6523 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6524 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
6525 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
6526 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
6527 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6528 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6529
a1267ba1
AZ
65302011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6531
6532 * math/libm-test.inc: Added more nearbyint tests.
6533 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
6534 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
6535 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
6536 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
6537
ad8ac1bd
RL
65382011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
6539
6540 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
6541 FD_CLOEXEC.
6542
1d3e4b61
UD
65432011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6544
6545 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
6546 Add wcscpy-ssse3 wcscpy-c.
6547 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
6548 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
6549 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
6550 * sysdeps/x86_64/wcschr.S: New file.
6551 * sysdeps/x86_64/wcsrchr.S: New file.
6552 * string/test-strcmp.c: Remove checking of wcscmp function for
6553 wrong alignments.
6554 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
6555 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
6556 wcsrchr-sse2 wcsrchr-c.
6557 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
6558 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
6559 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
6560 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
6561 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
6562 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
6563 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
6564 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
6565 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
6566 * wcsmbc/wcschr.c (WCSCHR): New macro.
6567
5b330a2d
UD
65682011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6569
6570 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
6571 * wcsmbs/test-wcsrchr.c: New file.
6572 * string/test-strrchr.c: Add wcsrchr support.
6573 (WIDE): New macro.
6574 * wcsmbs/test-wcscpy.c: New file.
6575 * string/test-strcpy.c: Add wcscpy support.
6576 (WIDE): New macro.
26428b7c 6577
f039c043
UD
65782011-12-10 Ulrich Drepper <drepper@gmail.com>
6579
6580 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
6581 the inner loop.
6582
850fb039
AS
65832011-12-06 Andreas Schwab <schwab@linux-m68k.org>
6584
6585 [BZ #13472]
6586 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
6587
4efbd5cb
UD
65882011-12-04 Ulrich Drepper <drepper@gmail.com>
6589
52ff5dd0 6590 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 6591 Minor optimizations.
52ff5dd0 6592
4efbd5cb
UD
6593 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
6594 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
6595 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6596
8a426e12
UD
65972011-12-03 Ulrich Drepper <drepper@gmail.com>
6598
aff2453d
UD
6599 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
6600 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
6601 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
6602 for gcc to avoid warnings.
6603 * inet/Makefile (tests): Add tst-checks.
6604 * inet/tst-checks.c: New file.
6605
6606 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
6607 warning.
6608
6609 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
6610 __wmemcmp_sse2.
6611
6612 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
6613 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
6614
8a426e12
UD
6615 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
6616
9bea3473
UD
66172011-12-02 Ulrich Drepper <drepper@gmail.com>
6618
3a965496
UD
6619 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
6620 problem.
6621
9bea3473
UD
6622 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
6623
f101631b
UD
66242011-11-29 Joseph Myers <joseph@codesourcery.com>
6625
6626 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
6627 conditional on GCC version.
6628 (__arch_compare_and_exchange_val_8_acq)
6629 (__arch_compare_and_exchange_val_16_acq)
6630 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
6631 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
6632 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
6633
a98275aa
UD
66342011-12-02 Joseph Myers <joseph@codesourcery.com>
6635
6636 * sysdeps/sh/backtrace.c: New file.
6637
d4cc29a2
AS
66382011-12-02 Andreas Schwab <schwab@redhat.com>
6639
6640 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
6641 parenthesis.
6642
6257af2d
AS
66432011-12-01 Andreas Schwab <schwab@redhat.com>
6644
6645 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
6646 falling back to utime.
6647
b5f44c1a
AS
66482011-11-30 Andreas Schwab <schwab@redhat.com>
6649
6650 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
6651 expectations for float.
6652
f3a6cc0a
AS
66532011-11-29 Andreas Schwab <schwab@redhat.com>
6654
6655 * locale/weight.h (findidx): Add parameter len.
6656 * locale/weightwc.h (findidx): Likewise.
6657 * posix/fnmatch_loop.c (FCT): Adjust caller.
6658 * posix/regcomp.c (build_equiv_class): Likewise.
6659 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
6660 * posix/regexec.c (check_node_accept_bytes): Likewise.
6661 * string/strcoll_l.c (STRCOLL): Likewise.
6662 * string/strxfrm_l.c (STRXFRM): Likewise.
6663
9d65ea3a
UD
66642011-11-17 Ulrich Drepper <drepper@gmail.com>
6665
6666 * Makefile.in: Remove CVSOPT handling.
6667 * configure.in: Remove use of AC_REVISION.
6668 * iconvdata/Makefile (distribute): No need to filter out CVS.
6669 * scripts/list-sources.sh: Remove CVS, subversion and monotone
6670 handling.
6671
5583a086
AS
66722011-11-16 Andreas Schwab <schwab@redhat.com>
6673
6674 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
6675 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
6676 [USE_AS_STRNCASECMP_L]: Likewise.
6677 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
6678 NO_TLS_DIRECT_SEG_REFS.
6679 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
6680 Fix argument offsets for non-PIC.
6681 [USE_AS_STRNCASECMP_L]: Likewise.
6682 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
6683 NO_TLS_DIRECT_SEG_REFS.
6684
d62a8200
UD
66852011-11-15 Ulrich Drepper <drepper@gmail.com>
6686
9d65ea3a 6687 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
6688 O_CLOEXEC.
6689 * locale/loadlocale.c (_nl_load_locale): Likewise.
6690
09f93bd3
AS
66912011-11-15 Andreas Schwab <schwab@redhat.com>
6692
446514f9
AS
6693 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
6694 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
6695 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
6696 (SYSCALL_GETTIME): Set errno on error.
6697
09f93bd3
AS
6698 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
6699 count references to noai6ai_cached.
6700
312be3f9
UD
67012011-11-15 Ulrich Drepper <drepper@gmail.com>
6702
6703 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
6704
6705 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
6706 FD_CLOEXEC for /proc/self/maps.
6707
6708 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
6709 FD_CLOEXEC for /proc/meminfo.
6710
6711 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
6712 gai.conf.
6713
6714 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
6715 FD_CLOEXEC for given file.
6716
6717 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
6718
6719 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
6720 FD_CLOEXEC for /etc/hosts.
6721 (_gethtent): Likewise.
6722
6723 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
6724
6725 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
6726 cancellation and set FD_CLOEXEC for /etc/netgroup.
6727
6728 * nss/nss_files/files-key.c (search): Don't allow cancellation when
6729 reading /etc/publickey.
6730
6731 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
6732 allow cancellation when reading /etc/group.
6733
6734 * nss/nss_files/files-alias.c (internal_setent): Don't allow
6735 cancellation.
6736 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
6737
6738 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
6739 when using data file.
6740
6741 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
6742
6743 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
6744 (write_nis_obj): Use "c" and "e" in fopen.
6745
6746 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
6747
6748 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
6749
6750 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
6751
6752 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
6753
6754 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
6755 locale.alias.
6756
6757 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
6758
6759 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
6760
6761 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
6762
6763 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
6764 file parsing and set FD_CLOEXEC.
6765
82af0fa8
UD
67662011-11-14 Ulrich Drepper <drepper@gmail.com>
6767
6768 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
6769
a5fb313c
AS
67702011-11-14 Andreas Schwab <schwab@redhat.com>
6771
6772 * malloc/arena.c (arena_get2): Don't call reused_arena when
6773 _int_new_arena failed.
6774
6abf3465
UD
67752011-11-14 Ulrich Drepper <drepper@gmail.com>
6776
6777 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
6778 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
6779 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
6780 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6781 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6782 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
6783 to compile strcasecmp and strncasecmp.
6784 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
6785 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
6786
6787 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
6788
76e3966e
UD
67892011-11-13 Ulrich Drepper <drepper@gmail.com>
6790
6791 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
6792 locale-defines.sym to gen-as-const-headers.
6793 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
6794 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
6795 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
6796 to compile strcasecmp and strncasecmp.
6797 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
6798 strcasecmp_l and strncasecmp_l.
6799 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
6800 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
6801 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
6802 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
6803 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
6804 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
6805 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
6806 * sysdeps/i386/i686/multiarch/strncase.S: New file.
6807 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
6808 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
6809 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
6810
ab26144e
UD
68112011-11-12 Ulrich Drepper <drepper@gmail.com>
6812
7edb22ef
UD
6813 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
6814 result of SYSDEP_GETTIME_CPU to retval.
6815 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
6816 parameter list to macro. Remove trailing semicolon. Adjust users.
6817
9694fc44
UD
6818 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
6819 variable.
6820
8ad89ef8
UD
6821 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
6822 mantissa words.
6823 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6824
0c822ef9
UD
6825 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
6826 from unused variable.
6827
874e0564
UD
6828 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
6829 DWARF definitions.
6830 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
6831 for assembling.
6832
3a2edc79
UD
6833 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
6834 over namespaces.
6835
f3c2577f
UD
6836 * sunrpc/rpc_prot.c (rejected): Fix case value.
6837
294ce126
UD
6838 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
6839 unsigned long long int to avoid warnings in shift.
6840
5e2b63c6
UD
6841 * posix/regex_internal.c (re_string_reconstruct): Actually use result
6842 of use of trans.
6843 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
6844 variable tmp.
6845
e7f4b08e
UD
6846 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
6847 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6848 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6849
ab26144e
UD
6850 * nis/nis_table.c (nis_list): Use variable of correct type for
6851 result of __follow_path call.
6852
8a6d5255
AZ
68532011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6854
6855 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
6856 of math functions ceil, trunc, floor, round, and sqrt, when
6857 avaliable on the platform.
6858 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
6859 name clash.
6860 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6861 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6862 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6863
aaddc98c
MP
68642011-10-30 Marek Polacek <mpolacek@redhat.com>
6865
6866 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
6867 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6868
95b7042b
RM
68692011-11-11 Roland McGrath <roland@hack.frob.com>
6870
6871 * include/unistd.h: Fix __readlink return type.
6872 Reported by Chris Metcalf <cmetcalf@tilera.com>.
6873
57769839
UD
68742011-11-11 Ulrich Drepper <drepper@gmail.com>
6875
6876 * stdlib/ucontext.h: Undo last change for makecontext.
6877
edc5984d
AS
68782011-11-11 Andreas Schwab <schwab@redhat.com>
6879
98591e58
AS
6880 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
6881
edc5984d
AS
6882 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
6883 * setjmp/setjmp.h: Mark functions as non-leaf.
6884 * setjmp/bits/setjmp2.h: Likewise.
6885 * stdlib/ucontext.h: Likewise.
6886
77cdc054
AS
68872011-11-10 Andreas Schwab <schwab@redhat.com>
6888
6889 * malloc/arena.c (_int_new_arena): Don't increment narenas.
6890 (reused_arena): Don't check arena limit.
6891 (arena_get2): Atomically check arena limit.
6892
fe72eebd
UD
68932011-11-08 Ulrich Drepper <drepper@gmail.com>
6894
5f078c32
UD
6895 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
6896 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
6897
fe72eebd
UD
6898 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
6899 instructions.
6900
ae1bc2fa
AS
69012011-11-07 Andreas Schwab <schwab@redhat.com>
6902
7583a88d
AS
6903 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
6904 handler when locking.
6905
ae1bc2fa
AS
6906 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6907 Fix size of allocated buffer.
6908
10fb0bfa
AS
69092011-11-04 Andreas Schwab <schwab@redhat.com>
6910
998832a4
AS
6911 [BZ #10103]
6912 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
6913 declarations for long double functions.
6914 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
6915
10fb0bfa
AS
6916 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
6917
3d7ba52b
AS
69182011-11-03 Andreas Schwab <schwab@redhat.com>
6919
a9ae54a1
AS
6920 * nscd/nscd.c (main): Don't start AVC thread until credentials are
6921 installed.
6922
3d7ba52b
AS
6923 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
6924 is disabled.
6925
bc8db248
ST
69262011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
6927
6928 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
6929
45b96dd6
AS
69302011-11-01 Andreas Schwab <schwab@linux-m68k.org>
6931
647776f6
AS
6932 * include/alloca.h (stackinfo_alloca_round): Define.
6933 (extend_alloca): Use it.
6934 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
6935 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
6936 here.
6937
d91a8b93
AS
6938 * scripts/check-local-headers.sh: Ignore libaudit.h.
6939
45b96dd6
AS
6940 * nscd/Makefile (extra-objs): Make recursively expanded.
6941
432d41ce
UD
69422011-11-01 Ulrich Drepper <drepper@gmail.com>
6943
34372fc6
UD
6944 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
6945 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6946
fadb59f8
UD
6947 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
6948 * posix/tst-rfc3484-2.c: Likewise.
6949 * posix/tst-rfc3484-3.c: Likewise.
6950
78239589
UD
6951 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6952 process_vm_writev.
6953 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
6954 process_vm_writev.
6955 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
6956 process_vm_writev from libc using GLIBC_2.15 version.
6957
432d41ce
UD
6958 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
6959
02f9c6cf
PP
69602011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6961
6962 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
6963 stack usage.
6964
3a2c0242
UD
69652011-10-31 Ulrich Drepper <drepper@gmail.com>
6966
f4ec4833
UD
6967 [BZ #13367]
6968 * nss/getent.c (initgroups_keys): Show error message in case no group
6969 names are given.
6970
3a2c0242
UD
6971 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
6972 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
6973 __bump_nl_timestamp.
6974 * nscd/connections (nscd_init): When host database is served open
6975 netlink socket and request notification about configuration changes.
6976 (main_loop_poll): Track netlink file descriptor and bump timestamp
6977 in case data becomes available.
6978 (main_loop_epoll): Likewise.
6979 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
6980 (database_pers_head): Add extra_data fileds.
6981 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
6982 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
6983 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
6984 Adjust caller.
6985 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
6986 in6ai data, call __free_in6ai.
6987 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
6988 Add -DHAVE_NETLINK.
6989 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
6990 interface information. Reuse previous data if netlink timestamp
6991 is not changed.
6992 (__bump_nl_timestamp): New function.
6993 (__free_in6ai): New function.
6994
636064eb
UD
69952011-10-30 Ulrich Drepper <drepper@gmail.com>
6996
6997 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
6998 close_not_cancel_no_status here.
6999 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7000
9beb2334
UD
70012011-10-29 Ulrich Drepper <drepper@gmail.com>
7002
6ef76f3b
UD
7003 [BZ #13276]
7004 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7005 return value.
7006
0ffc4f3e 7007 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
7008 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7009 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7010
cb95113e
UD
70112011-07-03 Andreas Jaeger <aj@suse.de>
7012
7013 [BZ #10709]
7014 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7015 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7016 * math/libm-test.inc (sin_test): Add test case.
7017
a1b560ff
UD
70182011-10-29 Ulrich Drepper <drepper@gmail.com>
7019
c9aaface
UD
7020 [BZ #13337]
7021 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7022 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7023
d272e7f1
UD
7024 * elf/chroot_canon.c (chroot_canon): Cleanups.
7025
1bc33071
UD
7026 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7027
1760874d
TJ
7028 [BZ #13335]
7029 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7030 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7031
51d91b18
UD
7032 * string/test-strchr.c: Make usable for strchrnul testing.
7033 * string/test-strchrnul.c: New file.
7034 * string/Makefile (strop-tests): Add strchrnul.
7035
a1b560ff 7036 * po/it.po: Update from translation team.
b611fb81 7037 * po/es.po: Likewise.
a1b560ff 7038
a5b81e1f
UD
70392011-10-28 Ulrich Drepper <drepper@gmail.com>
7040
fd52bc6d
UD
7041 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7042 the three constants needed as parameters. Drop the others.
7043 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7044 __m128i_strloadu_tolower.
52e4b9eb
UD
7045 Create and initialize variable zero and use it in all the places
7046 where _mm_setzero_si128 was used.
fd52bc6d 7047
a5b81e1f
UD
7048 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7049 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7050 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7051 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7052 anymore.
7053 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7054 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7055 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7056 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7057 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7058 __mpranred, __mptan.
7059 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7060 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7061 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7062 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7063 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7064 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7065 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7066 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7067 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7068
b4343346
AS
70692011-10-28 Andreas Schwab <schwab@redhat.com>
7070
0c92d8a8
AS
7071 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7072 redefine if SHARED.
7073 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7074
b4343346
AS
7075 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7076 wide char related routines to wcsmbs subdir.
7077
3871f58f
AS
70782011-10-27 Andreas Schwab <schwab@redhat.com>
7079
7080 [BZ #13344]
7081 * misc/sys/cdefs.h (__THROWNL): Define.
7082 * posix/unistd.h: Use __THREADNL instead of __THREAD
7083 for memory synchronization functions.
7084
94d44d9f
RM
70852011-10-26 Roland McGrath <roland@hack.frob.com>
7086
21b64b15 7087 [BZ #13349]
94d44d9f
RM
7088 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7089 doesn't exist.
7090 * manual/stdio.texi (Obstack Streams): Node removed.
7091
f6ce9294
AS
70922011-10-26 Andreas Schwab <schwab@redhat.com>
7093
80479147
AS
7094 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7095 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7096 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7097
f6ce9294
AS
7098 * math/math_private.h (math_force_eval): Allow non-addressable
7099 arguments.
7100 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7101
618280a1
UD
71022011-10-25 Ulrich Drepper <drepper@gmail.com>
7103
e0016b11
UD
7104 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7105 file is not needed.
7106
7107 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7108 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7109 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7110 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7111 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7112 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7113 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7114 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7115 Add AVX variants.
7116 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7117 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7118 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7119 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7120 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7121 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7122 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7123 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7124 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7125 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7126 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7127 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7128 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7129 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7130 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7131 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7132 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7133 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7134 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7135
7136 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7137 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
7138
618280a1
UD
7139 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7140 place. Use VEX encoding when compiling for AVX.
7141
37822576
AS
71422011-10-25 Andreas Schwab <schwab@redhat.com>
7143
1f1e1947
AS
7144 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7145 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7146
37822576
AS
7147 * string/test-strchr.c (do_test): Don't generate NUL bytes.
7148
31ea014d
UD
71492011-10-25 Ulrich Drepper <drepper@gmail.com>
7150
d7826aa1 7151 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 7152 useless if() expression.
d7826aa1
UD
7153 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7154 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7155 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7156 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7157 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7158 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7159 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7160 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7161 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7162 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7163 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7164 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7165 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7166 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7167 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7168 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7169 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7170 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7171 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7172
31ea014d
UD
7173 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7174
16437fec
AS
71752011-10-25 Andreas Schwab <schwab@redhat.com>
7176
7177 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7178 condition.
7179 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7180
31d3cc00
UD
71812011-10-25 Ulrich Drepper <drepper@gmail.com>
7182
7183 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7184 .text section. Avoid duplicate constants.
7185 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7186 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7187 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7188 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7189 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7190 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7191 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7192 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7193 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7194 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7195 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7196 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7197 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7198 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7199 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7200 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7201 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7202 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7203 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7204 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7205 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7206 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7207 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7208 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7209 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7210 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7211 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7212 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7213 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7214 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7215 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7216 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7217 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7218 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7219 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7220 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7221 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7222 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7223 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7224 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7225 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7226 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7227 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7228 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7229 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7230
58985aa9
UD
72312011-10-24 Ulrich Drepper <drepper@gmail.com>
7232
202c9deb
UD
7233 * sysdeps/x86_64/dla.h: Move to ...
7234 * sysdeps/x86_64/fpu/dla.h: ...here.
7235 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7236 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 7237
af968f62
UD
7238 * config.make.in: Add have-mfma4 entry.
7239 * configure.in: Substitute libc_cv_cc_fma4.
7240 * math/Makefile (dbl-only-routines): Add sincostab.
7241 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7242 Use __sincostab not sincos.
7243 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7244 name is a macro.
7245 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7246 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7247 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7248 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
7249 using __copysign.
7250 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
7251 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
7252 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7253 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
7254 and __inv.
7255 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
7256 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
7257 __copysign.
7258 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
7259 define aliases when function name is a macro.
7260 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
7261 sysdeps/ieee754/dbl-64/sincos.tbl.
7262 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
7263 fma4-enabled routines.
7264 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
7265 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
7266 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
7267 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
7268 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
7269 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
7270 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
7271 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
7272 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
7273 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
7274 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
7275 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
7276 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
7277 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
7278 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
7279 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
7280 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
7281 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
7282 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
7283 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
7284 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
7285 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
7286 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
7287 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
7288 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
7289 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
7290 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
7291 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
7292 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
7293 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
7294
58985aa9
UD
7295 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
7296 rename.
7297 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7298 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7299 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7300 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7301 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7302 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7303 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7304 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7305
a201fbcf
AS
73062011-10-24 Andreas Schwab <schwab@redhat.com>
7307
7308 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
7309
fc2ee42a
LD
73102011-10-23 Ulrich Drepper <drepper@gmail.com>
7311
bb3129bd
UD
7312 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
7313
0275fff8
UD
7314 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
7315 prediction.
7316 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
7317
2fa2ae85
UD
7318 * string/strnlen.c: Don't define STRNLEN, reverse logic.
7319 Remove unused variable magic_bits.
7320 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
7321
fc2ee42a
LD
7322 * string/strnlen.c: Define and use STRNLEN macro.
7323 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
7324 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
7325 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
7326 * wcsmbs/wcslen.c: Define and use WCSLEN.
7327 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
7328 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
7329 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
7330 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
7331 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
7332 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
7333 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7334
ce7dd29f
LD
73352011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7336
7337 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7338 strnlen-sse2-no-bsf.
7339 Rename strlen-no-bsf to strlen-sse2-no-bsf.
7340 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
7341 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
7342 Add strnlen support.
7343 (USE_AS_STRNLEN): New macro.
7344 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
7345 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
7346 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
7347 * sysdeps/x86_64/wcslen.S: New file.
7348
979c70a3
MZ
73492011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
7350
7351 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7352 XMM-moves are used for copying on small sizes.
7353
2d09f82f
LD
73542011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7355
7356 * wcsmbs/Makefile (strop-tests): Add wcschr.
7357 * wcsmbs/test-wcschr.c: New file.
7358 * string/test-strchr.c: Update.
7359 Add wcschr support.
7360 (WIDE): New macro.
7361
619fccca
LD
73622011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7363
2d09f82f 7364 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
7365 * wcsmbs/test-wcslen.c: New file.
7366 * string/test-strlen.c: Update.
7367 Add wcslen support.
7368 (WIDE): New macro.
7369
09f699ea
UD
73702011-10-23 Ulrich Drepper <drepper@gmail.com>
7371
7372 * po/it.po: Update from translation team.
7373
95584d3b
LD
73742011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7375
7376 * sysdeps/x86_64/wcscmp.S: Update.
7377 Fix wrong comparison semantics.
7378 wcscmp shall use signed comparison not unsigned.
7379 Don't use substraction to avoid overflow bug.
7380 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7381 * wcsmbc/wcscmp.c: Likewise.
7382 * string/test-strcmp.c: Likewise.
7383 Add new tests to check cases with negative values.
7384
c8b3296b
UD
73852011-10-23 Ulrich Drepper <drepper@gmail.com>
7386
7387 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
7388 * sysdeps/x86_64/dla.h: ...here. New file.
7389 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
7390 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7391 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7392 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7393 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7394 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7395 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7396 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7397 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7398
246ad57a
AS
73992011-10-23 Andreas Schwab <schwab@linux-m68k.org>
7400
7401 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
7402 __ynl_finite aliases.
7403
a1a87169
UD
74042011-10-22 Ulrich Drepper <drepper@gmail.com>
7405
0d355eb7
UD
7406 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7407
a1a87169
UD
7408 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
7409 define DLA_FMA.
7410 [DLA_FMA] (EMULV): Use DLA_FMA.
7411 [DLA_FMA] (MUL12): Use EMULV.
7412 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
7413 that are not needed.
7414 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7415 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7416 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7417 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7418 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7419 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7420 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7421
ee2aafe0
AS
74222011-10-22 Andreas Schwab <schwab@linux-m68k.org>
7423
7424 * math/s_nan.c: Undef __nan.
7425 * math/s_nanf.c: Undef __nanf.
7426 * math/s_nanl.c: Undef __nanl.
7427 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
7428 "math_private.h".
7429
bc62c2fb
UD
74302011-10-22 Ulrich Drepper <drepper@gmail.com>
7431
77425c63
UD
7432 * math/s_catan.c: Add branch predictions.
7433 * math/s_catanf.c: Likewise.
7434 * math/s_catanh.c: Likewise.
7435 * math/s_catanhf.c: Likewise.
7436 * math/s_catanhl.c: Likewise.
7437 * math/s_catanl.c: Likewise.
7438 * math/s_cexp.c: Likewise.
7439 * math/s_cexpf.c: Likewise.
7440 * math/s_cexpl.c: Likewise.
7441 * math/s_clog.c: Likewise.
7442 * math/s_clog10.c: Likewise.
7443 * math/s_clog10f.c: Likewise.
7444 * math/s_clog10l.c: Likewise.
7445 * math/s_clogf.c: Likewise.
7446 * math/s_clogl.c: Likewise.
7447 * math/s_csqrt.c: Likewise.
7448 * math/s_csqrtf.c: Likewise.
7449 * math/s_csqrtl.c: Likewise.
7450 * math/s_ctanf.c: Likewise.
7451 * math/s_ctanh.c: Likewise.
7452 * math/s_ctanhf.c: Likewise.
7453 * math/s_ctanhl.c: Likewise.
7454 * math/s_ctanl.c: Likewise.
7455
bc62c2fb
UD
7456 * math/math_private.h: Define __nan, __nanf, __nanl.
7457 * math/s_cacosh.c: Include <math_private.h>.
7458 * math/s_cacoshl.c: Likewise.
7459 * math/s_casinh.c: Likewise.
7460 * math/s_casinhf.c: Likewise.
7461 * math/s_casinhl.c: Likewise.
7462 * math/s_ccos.c: Rely entire on ccosh.
7463 * math/s_ccosf.c: Rely entire on ccoshf.
7464 * math/s_ccosl.c: Rely entirely on ccoshl.
7465 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
7466 Remove tests for FE_INVALID.
7467 * math/s_ccoshf.c: Likewise.
7468 * math/s_ccoshl.c: Likewise.
7469 * math/s_csin.c: Likewise.
7470 * math/s_csinf.c: Likewise.
7471 * math/s_csinh.c Likewise.
7472 * math/s_csinhf.c: Likewise.
7473 * math/s_csinhl.c: Likewise.
7474 * math/s_csinl.c: Likewise.
7475 * math/s_ctan.c: Likewise.
7476 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
7477 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
7478 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
7479
8ec250a4
UD
74802011-10-21 Ulrich Drepper <drepper@gmail.com>
7481
c196fed8
UD
7482 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
7483 compilation problems.
7484
8ec250a4
UD
7485 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
7486 __builtin_expect.
7487
8d4f46c6
UD
74882011-10-20 Ulrich Drepper <drepper@gmail.com>
7489
ed72b654
UD
7490 * sysdeps/i386/configure.in: Test for -mfma4 option.
7491 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
7492 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
7493 COMMON_CPUID_INDEX_80000001.
7494 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
7495 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
7496 use it if FMA3 is not supported.
7497 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7498
8d4f46c6
UD
7499 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
7500 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7501
d45c60c2
AS
75022011-10-20 Andreas Schwab <schwab@redhat.com>
7503
7504 [BZ #12892]
7505 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
7506 it would create a cycle with a link time dependency.
7507
d9a4d2ab
UD
75082011-10-19 Ulrich Drepper <drepper@gmail.com>
7509
855d1560
UD
7510 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
7511 instruction.
7512 * string/Makefile (strop-tests): Add rawmemchr.
7513 * string/test-rawmemchr.c: New file.
7514
d9a4d2ab
UD
7515 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
7516 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
7517 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
7518 when compiling str{,n}casecmp and when AVX is available. Hook up
7519 new optimized code in initializers.
7520
8f3b1ffe
AS
75212011-10-19 Andreas Schwab <schwab@redhat.com>
7522
7523 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
7524 __feraiseexcept instead of feraiseexcept.
7525
d38f1dba
UD
75262011-10-18 Ulrich Drepper <drepper@gmail.com>
7527
d9a8d0ab
UD
7528 * math/math_private.h: Define defaults for libc_fetestexcept and
7529 libc_feupdateenv.
7530 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
7531 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7532 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7533 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7534 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7535 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7536 libc_fetestexcept and libc_feupdateenv.
7537
4855e3dd
UD
7538 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
7539 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
7540 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
7541 * sysdeps/x86_64/fpu/math_private.h: Define special version of
7542 libc_feholdexcept_setround.
7543
581d30e3
UD
7544 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
7545 Add s_nearbyint-c and s_nearbyintf-c.
7546 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
7547 nearbyintf inlines.
7548 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
7549 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
7550 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
7551 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
7552
d38f1dba
UD
7553 * math/math_private.h: Define defaults for libc_fegetround,
7554 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
7555 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
7556 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
7557 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
7558 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
7559 standard functions.
7560 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7561 Remove comments and hacks for old compiler versions.
7562 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7563 libc_fegetround, libc_fesetround, libc_feholdexcept, and
7564 libc_feholdexceptl.
7565
caa6c9d8
AS
75662011-10-18 Andreas Schwab <schwab@redhat.com>
7567
7568 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
7569 (__feraiseexcept_renamed): Add __NTH.
7570 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
7571 namespace violations.
7572
97c066e6
UD
75732011-10-17 Ulrich Drepper <drepper@gmail.com>
7574
99ce7b04
UD
7575 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
7576
1004d182
UD
7577 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
7578
228a984d
UD
7579 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
7580 recently added interfaces.
7581 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
7582
c8553a6a
UD
7583 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
7584 about macro parameter expansion.
7585
ed22dcf6
UD
7586 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
7587 __NO_MATH_INLINES is defined. Cleanups.
7588
7589 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
7590 and __floorf is target has SSE4.1.
7591 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
7592 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
7593 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
7594 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
7595
b171c137
UD
7596 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
7597 name.
7598 (floorf): Likewise.
7599
97c066e6
UD
7600 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
7601
629f62ef
AS
76022011-10-17 Andreas Schwab <schwab@redhat.com>
7603
49a43d80
AS
7604 * misc/sys/cdefs.h: Fix last change.
7605
629f62ef
AS
7606 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
7607 database lookup.
7608
e453f6cd
UD
76092011-10-16 Ulrich Drepper <drepper@gmail.com>
7610
aa78043a
UD
7611 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
7612
ad0f5cad
UD
7613 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
7614 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7615 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7616 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7617 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7618 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7619 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7620 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7621 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7622 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
7623 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
7624 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
7625 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
7626 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
7627 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
7628 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
7629 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
7630 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
7631 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
7632 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
7633 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
7634 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
7635
7636 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
7637 ceil, ceilf, floor, floorf.
7638
7639 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
7640 Perform IRELATIVE relocations last.
7641
e453f6cd
UD
7642 * elf/do-rel.h: Add another parameter nrelative, replacing the
7643 local variable with the same name. Change name of the function
7644 to end in Rel or Rela (uppercase).
7645 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
7646 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
7647 elf_dynamic_do_##reloc function.
7648
fd5bdc09
UD
76492011-10-15 Ulrich Drepper <drepper@gmail.com>
7650
79b195b5
UD
7651 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
7652 is sufficient, at least on modern CPUs.
7653
d4a28569
UD
7654 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
7655
b61099b5
UD
7656 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
7657 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
7658
bcf01e6d
UD
7659 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
7660 __expl_finite.
7661 * math/bits/math-finite.h: Add entries for exp.
7662 * math/e_expl.c: Add __*_finite alias.
7663 * sysdeps/i386/fpu/e_exp.S: Likewise.
7664 * sysdeps/i386/fpu/e_expf.S: Likewise.
7665 * sysdeps/i386/fpu/e_expl.c: Likewise.
7666 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7667 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7668 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7669 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7670 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
7671 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7672 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7673
ba1a0d59
UD
7674 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
7675 is sufficient, at least on modern CPUs.
7676
fd5bdc09
UD
7677 * ctype/ctype-info.c (__ctype_init): Define.
7678 * include/ctype.h (__ctype_init): Declare.
7679 (__ctype_b_loc): The variable is always initialized.
7680 (__ctype_toupper_loc): Likewise.
7681 (__ctype_tolower_loc): Likewise.
7682 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
7683 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
7684
7872cfb0
AS
76852011-10-15 Andreas Schwab <schwab@linux-m68k.org>
7686
b468825a
AS
7687 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
7688
7872cfb0
AS
7689 * configure.in: Also look in $cxxmachine/include for C++ system
7690 headers.
7691
be13f7bf
LD
76922011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7693
7694 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
7695 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
7696 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
7697 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
7698 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
7699 (USE_AS_WMEMCMP): New macro.
7700 Fixing indents.
7701 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
7702 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
7703 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
7704 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
7705 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7706 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
7707 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
7708 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
7709 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
7710 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
7711 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
7712 (USE_AS_WMEMCMP): New macro.
7713 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
7714 * sysdeps/string/test-memcmp.c: Update.
7715 Fix simple_wmemcmp.
7716 Add new tests.
7717 * wcsmbs/wmemcmp.c: Update.
7718 (WMEMCMP): New macro.
7719 Fix overflow bug.
7720
556a2007
AJ
77212011-10-12 Andreas Jaeger <aj@suse.de>
7722
7723 [BZ #13268]
7724 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
7725
538faaa7
UD
77262011-10-15 Ulrich Drepper <drepper@gmail.com>
7727
ab6737ff
UD
7728 * libio/iofwide.c (do_length): Avoid warning.
7729
538faaa7
UD
7730 * ctype/ctype.h (__isctype_f): Add missing __THROW.
7731
396a21b1
UD
77322011-10-14 Ulrich Drepper <drepper@gmail.com>
7733
cdf2901f
UD
7734 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
7735
38ad40ce
UD
7736 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
7737 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
7738 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
7739 * sysdeps/i386/i686/fpu/e_log.S: New file.
7740 * sysdeps/i386/i686/fpu/e_logf.S: New file.
7741 * sysdeps/i386/i686/fpu/e_logl.S: New file.
7742
396a21b1
UD
7743 * ctype/ctype.h: Add support for inlined isXXX functions when
7744 compiling C++ code.
7745
6b1f68c9
AS
77462011-10-14 Andreas Schwab <schwab@redhat.com>
7747
349290c0
AS
7748 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7749
6b1f68c9
AS
7750 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
7751
f2282d42
RM
77522011-10-13 Roland McGrath <roland@hack.frob.com>
7753
7754 [BZ #13291]
7755 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
7756
5298ffa8
AS
77572011-10-13 Andreas Schwab <schwab@redhat.com>
7758
714fad23
AS
7759 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
7760 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
7761 feraiseexcept.
7762
81dcc7fb
AS
7763 * sysdeps/x86_64/memrchr.S: Check for zero size.
7764
5298ffa8
AS
7765 * string/stratcliff.c: Add memrchr tests.
7766
951fbcec
LD
77672011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7768
7769 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7770 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
7771 rawmemchr-sse2 rawmemchr-sse2-bsf.
7772 * sysdeps/i386/i686/multiarch/memchr.S: New file.
7773 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
7774 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
7775 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
7776 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
7777 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
7778 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
7779 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
7780 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
7781 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
7782 * string/memrchr.c (MEMRCHR): New macro.
7783
0ac5ae23
UD
77842011-10-12 Ulrich Drepper <drepper@gmail.com>
7785
7786 Add integration with gcc's -ffinite-math-only and optimize wrapper
7787 functions in libm.
7788 * Versions.def: Define GLIBC_2.15 version for libm.
7789 * math/Makefile (headers): Add bits/math-finite.h.
7790 * math/bits/math-finite.h: New file.
7791 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
7792 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
7793 * math/e_acoshl.c: Add __*_finite alias.
7794 * math/e_acosl.c: Likewise.
7795 * math/e_asinl.c: Likewise.
7796 * math/e_atan2l.c: Likewise.
7797 * math/e_atanhl.c: Likewise.
7798 * math/e_coshl.c: Likewise.
7799 * math/e_exp10.c: Likewise.
7800 * math/e_exp10f.c: Likewise.
7801 * math/e_exp10l.c: Likewise.
7802 * math/e_exp2l.c: Likewise.
7803 * math/e_fmodl.c: Likewise.
7804 * math/e_gammal_r.c: Likewise.
7805 * math/e_hypotl.c: Likewise.
7806 * math/e_j0l.c: Likewise.
7807 * math/e_j1l.c: Likewise.
7808 * math/e_jnl.c: Likewise.
7809 * math/e_lgammal_r.c: Likewise.
7810 * math/e_log10l.c: Likewise.
7811 * math/e_log2l.c: Likewise.
7812 * math/e_logl.c: Likewise.
7813 * math/e_powl.c: Likewise.
7814 * math/e_sinhl.c: Likewise.
7815 * math/e_sqrtl.c: Likewise.
7816 * math/e_scalb.c: Completely rewritten and optimized.
7817 * math/e_scalbf.c: Likewise.
7818 * math/e_scalbl.c: Likewise.
7819 * math/w_acos.c: Likewise.
7820 * math/w_acosf.c: Likewise.
7821 * math/w_acosl.c: Likewise.
7822 * math/w_acosh.c: Likewise.
7823 * math/w_acoshf.c: Likewise.
7824 * math/w_acoshl.c: Likewise.
7825 * math/w_asin.c: Likewise.
7826 * math/w_asinf.c: Likewise.
7827 * math/w_asinl.c: Likewise.
7828 * math/w_atan2.c: Likewise.
7829 * math/w_atan2f.c: Likewise.
7830 * math/w_atan2l.c: Likewise.
7831 * math/w_atanh.c: Likewise.
7832 * math/w_atanhf.c: Likewise.
7833 * math/w_atanhl.c: Likewise.
7834 * math/w_exp10.c: Likewise.
7835 * math/w_exp10f.c: Likewise.
7836 * math/w_exp10l.c: Likewise.
7837 * math/w_fmod.c: Likewise.
7838 * math/w_fmodf.c: Likewise.
7839 * math/w_fmodl.c: Likewise.
7840 * math/w_j0.c: Likewise.
7841 * math/w_j0f.c: Likewise.
7842 * math/w_j0l.c: Likewise.
7843 * math/w_j1.c: Likewise.
7844 * math/w_j1f.c: Likewise.
7845 * math/w_j1l.c: Likewise.
7846 * math/w_jn.c: Likewise.
7847 * math/w_jnf.c: Likewise.
7848 * math/w_log.c: Likewise.
7849 * math/w_logf.c: Likewise.
7850 * math/w_logl.c: Likewise.
7851 * math/w_log10.c: Likewise.
7852 * math/w_log10f.c: Likewise.
7853 * math/w_log10l.c: Likewise.
7854 * math/w_log2.c: Likewise.
7855 * math/w_log2f.c: Likewise.
7856 * math/w_log2l.c: Likewise.
7857 * math/w_pow.c: Likewise.
7858 * math/w_powf.c: Likewise.
7859 * math/w_powl.c: Likewise.
7860 * math/w_remainder.c: Likewise.
7861 * math/w_remainderf.c: Likewise.
7862 * math/w_remainderl.c: Likewise.
7863 * math/w_scalb.c: Likewise.
7864 * math/w_scalbf.c: Likewise.
7865 * math/w_scalbl.c: Likewise.
7866 * math/w_sqrt.c: Likewise.
7867 * math/w_sqrtf.c: Likewise.
7868 * math/w_sqrtl.c: Likewise.
7869 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
7870 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
7871 used.
7872 * math/math_private.h: Declare __kernel_standard_f.
7873 * math/w_cosh.c: Remove cruft and optimize a bit.
7874 * math/w_coshf.c: Likewise.
7875 * math/w_coshl.c: Likewise.
7876 * math/w_exp2.c: Likewise.
7877 * math/w_exp2f.c: Likewise.
7878 * math/w_exp2l.c: Likewise.
7879 * math/w_hypot.c: Likewise.
7880 * math/w_hypotf.c: Likewise.
7881 * math/w_hypotl.c: Likewise.
7882 * math/w_lgamma.c: Likewise.
7883 * math/w_lgamma_r.c: Likewise.
7884 * math/w_lgammaf.c: Likewise.
7885 * math/w_lgammaf_r.c: Likewise.
7886 * math/w_lgammal.c: Likewise.
7887 * math/w_lgammal_r.c: Likewise.
7888 * math/w_sinh.c: Likewise.
7889 * math/w_sinhf.c: Likewise.
7890 * math/w_sinhl.c: Likewise.
7891 * math/w_tgamma.c: Likewise.
7892 * math/w_tgammaf.c: Likewise.
7893 * math/w_tgammal.c: Likewise.
7894 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7895 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7896 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
7897 Minor optimizations. Pretty printing. Remove cruft.
7898 * sysdeps/i386/fpu/e_acosf.S: Likewise.
7899 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7900 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7901 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7902 * sysdeps/i386/fpu/e_acosl.c: Likewise.
7903 * sysdeps/i386/fpu/e_asin.S: Likewise.
7904 * sysdeps/i386/fpu/e_asinf.S: Likewise.
7905 * sysdeps/i386/fpu/e_atan2.S: Likewise.
7906 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
7907 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
7908 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7909 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7910 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7911 * sysdeps/i386/fpu/e_exp10.S: Likewise.
7912 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
7913 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
7914 * sysdeps/i386/fpu/e_exp2.S: Likewise.
7915 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
7916 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
7917 * sysdeps/i386/fpu/e_fmod.S: Likewise.
7918 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
7919 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
7920 * sysdeps/i386/fpu/e_hypot.S: Likewise.
7921 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
7922 * sysdeps/i386/fpu/e_log.S: Likewise.
7923 * sysdeps/i386/fpu/e_log10.S: Likewise.
7924 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7925 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7926 * sysdeps/i386/fpu/e_log2.S: Likewise.
7927 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7928 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7929 * sysdeps/i386/fpu/e_logf.S: Likewise.
7930 * sysdeps/i386/fpu/e_logl.S: Likewise.
7931 * sysdeps/i386/fpu/e_pow.S: Likewise.
7932 * sysdeps/i386/fpu/e_powf.S: Likewise.
7933 * sysdeps/i386/fpu/e_powl.S: Likewise.
7934 * sysdeps/i386/fpu/e_remainder.S: Likewise.
7935 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
7936 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
7937 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7938 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7939 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7940 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
7941 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
7942 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
7943 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7944 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7945 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7946 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7947 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7948 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7949 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7950 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7951 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7952 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7953 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7954 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7955 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7956 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7957 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7958 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7959 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7960 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7961 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7962 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7963 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7964 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7965 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7966 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7967 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7968 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7969 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7970 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7971 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7972 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7973 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7974 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7975 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7976 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7977 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7978 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7979 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7980 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7981 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7982 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7983 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7984 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7985 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7986 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7987 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7988 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7989 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7990 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7991 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7992 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7993 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7994 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7995 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7996 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7997 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7998 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7999 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8000 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8001 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8002 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8003 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8004 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8005 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8006 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8007 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8008 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8009 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8010 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8011 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8012 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8013 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8014 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8015 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8016 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8017 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8018 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8019 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8020 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8021 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8022 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8023 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8024 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8025 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8026 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8027 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8028 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8029 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8030 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8031 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8032 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8033 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8034 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8035 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8036 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8037 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8038 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8039 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8040 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8041 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8042 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8043 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8044 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8045 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8046 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8047 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8048 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8049 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8050 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8051 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8052 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8053 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8054 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8055 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8056 (__isnanf): Likewise.
8057 (__isinf_ns): Likewise.
8058 (__isinf_nsf): Likewise.
8059 (__finite): Likewise.
8060 (__finitef): Likewise.
8061 (__ieee754_sqrt): Define as macro.
8062 (__ieee754_sqrtf): Define as macro.
8063 (__ieee754_sqrtl): Define as macro.
8064 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8065 inlined copy.
8066 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8067 __FINITE_MATH_ONLY__ consistent.
8068 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8069
12cc2fcd
AS
80702011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8071
a843a204
AS
8072 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8073 of rawmemchr.
8074
12cc2fcd
AS
8075 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8076
c853acd5
UD
80772011-10-09 Ulrich Drepper <drepper@gmail.com>
8078
8079 * po/ja.po: Update from translation team.
8080
c658d255
RM
80812011-10-08 Roland McGrath <roland@hack.frob.com>
8082
110946e4
RM
8083 * locale/programs/locarchive.c (prepare_address_space): New function.
8084 (create_archive, enlarge_archive, open_archive): Use it.
8085
50604220
RM
8086 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8087 inside [SHARED], where it is used.
8088
c658d255
RM
8089 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8090
8091 * nss/getent.c (netgroup_keys): Remove unused variable.
8092 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8093
6a621eb7
UD
80942011-10-08 Ulrich Drepper <drepper@gmail.com>
8095
7edb55ce
UD
8096 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8097 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8098 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8099 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8100 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8101 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8102 * math/Makefile (libm-calls): Add s_isinf_ns.
8103 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8104 * math/multc3.c: Likewise.
8105 * math/s_casin.c: Likewise.
8106 * math/s_casinf.c: Likewise.
8107 * math/s_casinl.c: Likewise.
8108 * math/s_ccos.c: Likewise.
8109 * math/s_ccosf.c: Likewise.
8110 * math/s_ccosl.c: Likewise.
8111 * math/s_ctan.c: Likewise.
8112 * math/s_ctanf.c: Likewise.
8113 * math/s_ctanh.c: Likewise.
8114 * math/s_ctanhf.c: Likewise.
8115 * math/s_ctanhl.c: Likewise.
8116 * math/s_ctanl.c: Likewise.
8117 * math/w_fmod.c: Likewise.
8118 * math/w_fmodf.c: Likewise.
8119 * math/w_fmodl.c: Likewise.
8120 * math/w_remainder.c: Likewise.
8121 * math/w_remainderf.c: Likewise.
8122 * math/w_remainderl.c: Likewise.
8123 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8124 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8125 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8126 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8127 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8128 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8129 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8130 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8131
187da0ae
UD
8132 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8133 of the number.
8134 * stdio-common/printf_fphex.c: Likewise.
8135 * stdio-common/printf_size.c: Likewise.
8136
9277c064
UD
8137 * math/e_exp10.c: Include math_private.h using <...> not "...".
8138 * math/e_exp10f.c: Likewise.
8139 * math/e_exp10l.c: Likewise.
8140 * math/e_exp2l.c: Likewise.
8141 * math/e_j0l.c: Likewise.
8142 * math/e_j1l.c: Likewise.
8143 * math/e_jnl.c: Likewise.
8144 * math/e_lgammal_r.c: Likewise.
8145 * math/e_rem_pio2l.c: Likewise.
8146 * math/e_scalb.c: Likewise.
8147 * math/e_scalbf.c: Likewise.
8148 * math/e_scalbl.c: Likewise.
8149 * math/k_cosl.c: Likewise.
8150 * math/k_sinl.c: Likewise.
8151 * math/k_tanl.c: Likewise.
8152 * math/s_cacoshf.c: Likewise.
8153 * math/s_catan.c: Likewise.
8154 * math/s_catanf.c: Likewise.
8155 * math/s_catanh.c: Likewise.
8156 * math/s_catanhf.c: Likewise.
8157 * math/s_catanhl.c: Likewise.
8158 * math/s_catanl.c: Likewise.
8159 * math/s_ccosh.c: Likewise.
8160 * math/s_ccoshf.c: Likewise.
8161 * math/s_ccoshl.c: Likewise.
8162 * math/s_cexp.c: Likewise.
8163 * math/s_cexpf.c: Likewise.
8164 * math/s_cexpl.c: Likewise.
8165 * math/s_clog.c: Likewise.
8166 * math/s_clog10.c: Likewise.
8167 * math/s_clog10f.c: Likewise.
8168 * math/s_clog10l.c: Likewise.
8169 * math/s_clogf.c: Likewise.
8170 * math/s_clogl.c: Likewise.
8171 * math/s_csin.c: Likewise.
8172 * math/s_csinf.c: Likewise.
8173 * math/s_csinh.c: Likewise.
8174 * math/s_csinhf.c: Likewise.
8175 * math/s_csinhl.c: Likewise.
8176 * math/s_csinl.c: Likewise.
8177 * math/s_csqrt.c: Likewise.
8178 * math/s_csqrtf.c: Likewise.
8179 * math/s_csqrtl.c: Likewise.
8180 * math/s_ctan.c: Likewise.
8181 * math/s_ctanf.c: Likewise.
8182 * math/s_ctanh.c: Likewise.
8183 * math/s_ctanhf.c: Likewise.
8184 * math/s_ctanhl.c: Likewise.
8185 * math/s_ctanl.c: Likewise.
8186 * math/s_ldexp.c: Likewise.
8187 * math/s_ldexpf.c: Likewise.
8188 * math/s_ldexpl.c: Likewise.
8189 * math/s_significand.c: Likewise.
8190 * math/s_significandf.c: Likewise.
8191 * math/s_significandl.c: Likewise.
8192 * math/w_acos.c: Likewise.
8193 * math/w_acosf.c: Likewise.
8194 * math/w_acosh.c: Likewise.
8195 * math/w_acoshf.c: Likewise.
8196 * math/w_acoshl.c: Likewise.
8197 * math/w_acosl.c: Likewise.
8198 * math/w_asin.c: Likewise.
8199 * math/w_asinf.c: Likewise.
8200 * math/w_asinl.c: Likewise.
8201 * math/w_atan2.c: Likewise.
8202 * math/w_atan2f.c: Likewise.
8203 * math/w_atan2l.c: Likewise.
8204 * math/w_atanh.c: Likewise.
8205 * math/w_atanhf.c: Likewise.
8206 * math/w_atanhl.c: Likewise.
8207 * math/w_cosh.c: Likewise.
8208 * math/w_coshf.c: Likewise.
8209 * math/w_coshl.c: Likewise.
8210 * math/w_dremf.c: Likewise.
8211 * math/w_exp10.c: Likewise.
8212 * math/w_exp10f.c: Likewise.
8213 * math/w_exp10l.c: Likewise.
8214 * math/w_exp2.c: Likewise.
8215 * math/w_exp2f.c: Likewise.
8216 * math/w_fmod.c: Likewise.
8217 * math/w_fmodf.c: Likewise.
8218 * math/w_fmodl.c: Likewise.
8219 * math/w_hypot.c: Likewise.
8220 * math/w_hypotf.c: Likewise.
8221 * math/w_hypotl.c: Likewise.
8222 * math/w_j0.c: Likewise.
8223 * math/w_j0f.c: Likewise.
8224 * math/w_j0l.c: Likewise.
8225 * math/w_j1.c: Likewise.
8226 * math/w_j1f.c: Likewise.
8227 * math/w_j1l.c: Likewise.
8228 * math/w_jn.c: Likewise.
8229 * math/w_jnf.c: Likewise.
8230 * math/w_jnl.c: Likewise.
8231 * math/w_lgamma.c: Likewise.
8232 * math/w_lgamma_r.c: Likewise.
8233 * math/w_lgammaf.c: Likewise.
8234 * math/w_lgammaf_r.c: Likewise.
8235 * math/w_lgammal.c: Likewise.
8236 * math/w_lgammal_r.c: Likewise.
8237 * math/w_log.c: Likewise.
8238 * math/w_log10.c: Likewise.
8239 * math/w_log10f.c: Likewise.
8240 * math/w_log10l.c: Likewise.
8241 * math/w_log2.c: Likewise.
8242 * math/w_log2f.c: Likewise.
8243 * math/w_log2l.c: Likewise.
8244 * math/w_logf.c: Likewise.
8245 * math/w_logl.c: Likewise.
8246 * math/w_pow.c: Likewise.
8247 * math/w_powf.c: Likewise.
8248 * math/w_powl.c: Likewise.
8249 * math/w_remainder.c: Likewise.
8250 * math/w_remainderf.c: Likewise.
8251 * math/w_remainderl.c: Likewise.
8252 * math/w_scalb.c: Likewise.
8253 * math/w_scalbf.c: Likewise.
8254 * math/w_scalbl.c: Likewise.
8255 * math/w_sinh.c: Likewise.
8256 * math/w_sinhf.c: Likewise.
8257 * math/w_sinhl.c: Likewise.
8258 * math/w_sqrt.c: Likewise.
8259 * math/w_sqrtf.c: Likewise.
8260 * math/w_sqrtl.c: Likewise.
8261 * math/w_tgamma.c: Likewise.
8262 * math/w_tgammaf.c: Likewise.
8263 * math/w_tgammal.c: Likewise.
8264
6a621eb7
UD
8265 * po/ja.po: Update from translation team.
8266
bf582445
AJ
82672011-09-29 Andreas Jaeger <aj@suse.de>
8268
f9efbf3a
AJ
8269 [BZ #13179]
8270 * sunrpc/netname.c (netname2host): Fix logic.
8271
bf582445
AJ
8272 [BZ #6779]
8273 [BZ #6783]
8274 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
8275 correctly.
8276 * math/w_remainder.c (__remainder): Likewise.
8277 * math/w_remainderf.c (__remainderf): Likewise.
8278 * math/libm-test.inc (remainder_test): Add test cases.
8279
48693bea
AK
82802011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8281
8282 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
8283 sdiv_qrnnd.
8284
42622229
LD
82852011-10-07 Ulrich Drepper <drepper@gmail.com>
8286
8287 * string/test-memcmp.c: Avoid unncessary #defines.
8288 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8289
093ecf92
LD
82902011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8291
8292 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
8293 Use new sse2 version for core i3 - i7 as it's faster
8294 than sse42 version.
8295 (bit_Prefer_PMINUB_for_stringop): New.
8296 * sysdeps/x86_64/rawmemchr.S: Update.
8297 Replace with faster SSE2 version.
8298 * sysdeps/x86_64/memrchr.S: New file.
8299 * sysdeps/x86_64/memchr.S: Update.
8300 Replace with faster SSE2 version.
8301
fde56e5c
MP
83022011-09-12 Marek Polacek <mpolacek@redhat.com>
8303
8304 * elf/dl-load.c (lose): Add cast to avoid warning.
8305
21fd49a9
UD
83062011-10-07 Ulrich Drepper <drepper@gmail.com>
8307
5a06e643
UD
8308 * po/ca.po: Update from translation team.
8309
684ae515
UD
8310 * inet/getnetgrent_r.c: Hook up nscd.
8311 * nscd/Makefile (routines): Add nscd_netgroup.
8312 (nscd-modules): Add netgroupcache.
8313 (CFLAGS-netgroupcache.c): Define.
8314 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
8315 (cache_search): Add const to second parameter.
8316 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
8317 INNETGR.
8318 (dbs): Add netgrdb entry.
8319 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
8320 (verify_persistent_db): Handle netgrdb.
8321 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
8322 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
8323 GETFDNETGR.
8324 (netgroup_response_header): Define.
8325 (innetgroup_response_header): Define.
8326 (datahead): Add netgroup_response_header and innetgroup_response_header
8327 elements.
8328 * nscd/nscd.conf: Add entries for netgroup cache.
8329 * nscd/nscd.h (dbtype): Add netgrdb.
8330 (_PATH_NSCD_NETGROUP_DB): Define.
8331 (netgroup_iov_disabled): Declare.
8332 (xmalloc, xcalloc, xrealloc): Move declarations here.
8333 (cache_search): Adjust prototype.
8334 Add netgroup-related prototypes.
8335 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
8336 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
8337 (__nscd_innetgr): Declare.
8338 * nscd/selinux.c (perms): Use access_vector_t as element type and
8339 add netgroup-related initializers.
8340 * nscd/netgroupcache.c: New file.
8341 * nscd/nscd_netgroup.c: New file.
8342 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
8343 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
8344 For four parameters use innetgr.
8345 * nss/nss_files/files-init.c: Add definition and callback for netgr.
8346 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
8347 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
8348 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
8349
21fd49a9
UD
8350 * nscd/connections.c (register_traced_file): Don't register file
8351 for disabled databases.
8352
054c0457
UD
83532011-10-06 Ulrich Drepper <drepper@gmail.com>
8354
32b63198
UD
8355 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
8356
054c0457
UD
8357 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
8358 from tree and freeing node.
8359
64031225
JO
83602011-09-25 Jiri Olsa <jolsa@redhat.com>
8361
8362 * nss/nsswitch.c (__nss_database_lookup): Handle
8363 nss_parse_service_list out of memory case.
8364
0490345c
JO
83652011-09-15 Jiri Olsa <jolsa@redhat.com>
8366
8367 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
8368 out of memory case.
8369
3a62d00d
AS
83702011-10-04 Andreas Schwab <schwab@redhat.com>
8371
8372 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
8373 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
8374 pass it down.
8375 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
8376 elf_machine_rela, elf_machine_lazy_rel.
8377 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
8378 (ELF_DYNAMIC_DO_REL): Likewise.
8379 (ELF_DYNAMIC_DO_RELA): Likewise.
8380 (ELF_DYNAMIC_RELOCATE): Likewise.
8381 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
8382 to ELF_DYNAMIC_DO_REL.
8383 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
8384 (dl_main): In trace mode always set __RTLD_NOIFUNC.
8385 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
8386 elf_machine_rela.
8387 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
8388 skip_ifunc, don't call ifunc function if non-zero.
8389 (elf_machine_rela): Likewise.
8390 (elf_machine_lazy_rel): Likewise.
8391 (elf_machine_lazy_rela): Likewise.
8392 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
8393 (elf_machine_lazy_rel): Likewise.
8394 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
8395 Likewise.
8396 (elf_machine_lazy_rel): Likewise.
8397 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8398 Likewise.
8399 (elf_machine_lazy_rel): Likewise.
8400 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
8401 (elf_machine_lazy_rel): Likewise.
8402 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
8403 (elf_machine_lazy_rel): Likewise.
8404 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8405 (elf_machine_lazy_rel): Likewise.
8406 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8407 (elf_machine_lazy_rel): Likewise.
8408 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8409 (elf_machine_lazy_rel): Likewise.
8410 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8411 (elf_machine_lazy_rel): Likewise.
8412
68577918
UD
84132011-09-28 Ulrich Drepper <drepper@gmail.com>
8414
8415 * nss/nss_files/files-init.c (_nss_files_init): Use static
8416 initialization for all the *_traced_file variables.
8417
68822d74
AS
84182011-09-28 Andreas Schwab <schwab@redhat.com>
8419
8420 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8421
2056100b
RM
84222011-09-27 Roland McGrath <roland@hack.frob.com>
8423
8424 [BZ #13226]
8425 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
8426
32c76b63
AS
84272011-09-27 Andreas Schwab <schwab@redhat.com>
8428
8429 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8430 Reread the line before reparsing it.
8431
bf972c9d
AS
84322011-09-26 Andreas Schwab <schwab@redhat.com>
8433
8434 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
8435
e057a1b5
JM
84362011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
8437 Maxim Kuvyrkov <maxim@codesourcery.com>
8438 Joseph Myers <joseph@codesourcery.com>
8439
8440 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
8441 if needed for __stack_chk_guard.
8442
bc7e1c36
RM
84432011-09-19 Roland McGrath <roland@hack.frob.com>
8444
ecb1482f
RM
8445 * sysdeps/posix/spawni.c (script_execute): Always define it.
8446 It will be optimized away if unused.
8447 (maybe_script_execute): New function.
8448 (__spawni): Call it.
8449
bc7e1c36
RM
8450 * Makerules: Don't include tls.make.
8451 (config-tls): Always set to thread.
8452 * tls.make.c: File removed.
8453
1c3b002b
MF
84542011-09-19 Mike Frysinger <vapier@gentoo.org>
8455
8456 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
8457 * config.make.in (CPPFLAGS-config): New substituted variable.
8458
2840865d
UD
84592011-09-15 Ulrich Drepper <drepper@gmail.com>
8460
88738eb6
UD
8461 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
8462
cbf645a6 8463 [BZ #13192]
2840865d
UD
8464 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
8465 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
8466
b402e91a
RM
84672011-09-15 Roland McGrath <roland@hack.frob.com>
8468
8469 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
8470 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
8471 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8472 (CALL_FAIL): Likewise.
8473 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
8474 (CALL_FAIL): Macro removed.
8475 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
8476
4c1a1f71
UD
84772011-09-15 Ulrich Drepper <drepper@gmail.com>
8478
8479 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
8480 for __FINITE_MATH_ONLY__ == 1.
8481
edc121be
AS
84822011-09-15 Andreas Schwab <schwab@redhat.com>
8483
8484 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
8485 __ieee754_sqrt instead of sqrt.
8486 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
8487 __ieee754_sqrtf instead of sqrtf.
8488 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
8489 __floorf instead of floorf.
8490 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
8491 __floorf, __truncf instead of floorf, truncf.
8492
cd205654
UD
84932011-09-14 Ulrich Drepper <drepper@gmail.com>
8494
ee4d0315
UD
8495 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
8496
cd205654
UD
8497 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
8498 __extern_always_inline.
8499 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
8500 32-bit.
8501
48b67d71
AS
85022011-09-14 Andreas Schwab <schwab@redhat.com>
8503
8504 * elf/rtld.c (dl_main): Also relocate in dependency order when
8505 doing symbol dependency testing.
8506
1ae12c75
AS
85072011-09-13 Andreas Schwab <schwab@linux-m68k.org>
8508
8509 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8510 Always define `refsym'.
8511
995a80df
AS
85122011-09-13 Andreas Schwab <schwab@redhat.com>
8513
e529793b
AS
8514 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
8515 (__FD_ELT): Renamed from __FDELT.
8516 * misc/bits/select2.h (__FD_ELT): Likewise.
8517 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
8518 __FD_MASK instead of __FDELT, __FDMASK.
8519 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8520 Likewise.
8521 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8522 Likewise.
8523
52d4fef8
AS
8524 * elf/Makefile (gen-ldd): Fix pattern.
8525
995a80df
AS
8526 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
8527 (init_tls): Likewise.
8528
8682f8b0
UD
85292011-09-12 Ulrich Drepper <drepper@gmail.com>
8530
8531 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
8532
de82006d
AS
85332011-09-12 Andreas Schwab <schwab@redhat.com>
8534
a7c8e6a1
AS
8535 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
8536 `struct cmsghdr *' instead of `void *'.
8537 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
8538 Likewise.
8539
0f31fe77
AS
85402011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8541
8542 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
8543 if non-absolute.
8544 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
8545 ldd_rewrite_script.
0f31fe77 8546
32b4c839
UD
85472011-09-11 Ulrich Drepper <drepper@gmail.com>
8548
83cd1420
UD
8549 * configure.in: Remove --with-tls option.
8550 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
8551 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
8552 out in case it is missing.
8553 * sysdeps/ia64/elf/configure.in: Likewise.
8554 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
8555 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
8556 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
8557 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
8558 * sysdeps/sh/elf/configure.in: Likewise.
8559 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
8560 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8561 * sysdeps/x86_64/elf/configure.in: Likewise.
8562 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
8563 * sysdeps/mach/hurd/tls.h: Likewise.
8564
633f745d
UD
8565 [BZ #13067]
8566 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
8567
f318beb8
UD
8568 [BZ #13090]
8569 * configure.in: Fix use of AC_INIT.
8570
32b4c839
UD
8571 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
8572
3ce1f295
UD
85732011-09-10 Ulrich Drepper <drepper@gmail.com>
8574
bb016596
UD
8575 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
8576 __set_errno.
8e58439c
UD
8577 * malloc/hooks.c: Likewise.
8578
aebae053 8579 [BZ #11929]
02d46fc4
UD
8580 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
8581 variables statically.
8582 (narenas): Initialize.
8583 (list_lock): Initialize.
bb016596
UD
8584 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
8585 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
8586 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
8587 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
8588 Add initializers to main_arena and mp_.
8589 (malloc_state): Remove pagesize member. Change all users to use
8590 GLRO(dl_pagesize).
8591
8592 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
8593 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
8594 is always initialized.
8595
22a89187
UD
8596 * malloc/malloc.c: Removed unused configurations and dead code.
8597 * malloc/arena.c: Likewise.
8598 * malloc/hooks.c: Likewise.
02d46fc4 8599 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 8600
d063d164
UD
8601 * include/tls.h: Removed. USE___THREAD must always be defined.
8602 * bits/libc-tsd.h: Don't handle !USE___THREAD.
8603 * elf/dl-libc.c: Likewise.
8604 * elf/dl-tsd.c: Likewise.
8605 * include/errno.h: Likewise.
8606 * include/netdb.h: Likewise.
8607 * include/resolv.h: Likewise.
8608 * inet/herrno-loc.c: Likewise.
8609 * inet/herrno.c: Likewise.
8610 * malloc/arena.c: Likewise.
8611 * malloc/hooks.c: Likewise.
8612 * malloc/malloc.c: Likewise.
8613 * resolv/res-state.c: Likewise.
8614 * resolv/res_libc.c: Likewise.
8615 * sysdeps/i386/dl-machine.h: Likewise.
8616 * sysdeps/ia64/dl-machine.h: Likewise.
8617 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8618 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8619 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8620 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8621 * sysdeps/sh/dl-machine.h: Likewise.
8622 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8623 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8624 * sysdeps/unix/i386/sysdep.S: Likewise.
8625 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8626 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8627 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8628 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8629 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8630 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8631 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8632 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8633 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8634 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8635 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8636 * sysdeps/x86_64/dl-machine.h: Likewise.
8637 * tls.make.c: Likewise.
8638
3ce1f295
UD
8639 * configure.in: Remove --with-__thread option. Make tests for
8640 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
8641 tls_model attribute fail if no support is available. Remove
8642 USE_IN_LIBIO.
8643 * Makeconfig: Adjust for dropped configure option. All features are
8644 now mandatory.
8645 * Makerules: Likewise.
8646 * Versions.def: Likewise.
8647 * argp/argp-fmtstream.c: Likewise.
8648 * argp/argp-fmtstream.h: Likewise.
8649 * argp/argp-help.c: Likewise.
8650 * assert/assert.c: Likewise.
8651 * config.h.in: Likewise.
8652 * config.make.in: Likewise.
8653 * configure: Likewise.
8654 * configure.in: Likewise.
8655 * csu/Versions: Likewise.
8656 * csu/init.c: Likewise.
8657 * elf/tst-audit2.c: Likewise.
8658 * elf/tst-tls10.c: Likewise.
8659 * elf/tst-tls10.h: Likewise.
8660 * elf/tst-tls11.c: Likewise.
8661 * elf/tst-tls12.c: Likewise.
8662 * elf/tst-tls14.c: Likewise.
8663 * elf/tst-tlsmod11.c: Likewise.
8664 * elf/tst-tlsmod12.c: Likewise.
8665 * elf/tst-tlsmod13.c: Likewise.
8666 * elf/tst-tlsmod13a.c: Likewise.
8667 * elf/tst-tlsmod14a.c: Likewise.
8668 * elf/tst-tlsmod15b.c: Likewise.
8669 * elf/tst-tlsmod16a.c: Likewise.
8670 * elf/tst-tlsmod16b.c: Likewise.
8671 * elf/tst-tlsmod7.c: Likewise.
8672 * elf/tst-tlsmod8.c: Likewise.
8673 * elf/tst-tlsmod9.c: Likewise.
8674 * gmon/gmon.c: Likewise.
8675 * grp/fgetgrent_r.c: Likewise.
8676 * grp/putgrent.c: Likewise.
8677 * hurd/fopenport.c: Likewise.
8678 * include/libc-symbols.h: Likewise.
8679 * include/tls.h: Likewise.
8680 * intl/gettextP.h: Likewise.
8681 * intl/loadinfo.h: Likewise.
8682 * locale/global-locale.c: Likewise.
8683 * locale/localeinfo.h: Likewise.
8684 * mach/devstream.c: Likewise.
8685 * malloc/arena.c: Likewise.
8686 * malloc/set-freeres.c: Likewise.
8687 * misc/err.c: Likewise.
8688 * misc/getttyent.c: Likewise.
8689 * misc/mntent_r.c: Likewise.
8690 * posix/getopt.c: Likewise.
8691 * posix/wordexp.c: Likewise.
8692 * pwd/fgetpwent_r.c: Likewise.
8693 * resolv/Versions: Likewise.
8694 * resolv/res_hconf.c: Likewise.
8695 * shadow/fgetspent_r.c: Likewise.
8696 * shadow/putspent.c: Likewise.
8697 * stdio-common/printf_fphex.c: Likewise.
8698 * stdio-common/tmpfile.c: Likewise.
8699 * stdlib/abort.c: Likewise.
8700 * stdlib/fmtmsg.c: Likewise.
8701 * sunrpc/auth_unix.c: Likewise.
8702 * sunrpc/clnt_perr.c: Likewise.
8703 * sunrpc/clnt_tcp.c: Likewise.
8704 * sunrpc/clnt_udp.c: Likewise.
8705 * sunrpc/clnt_unix.c: Likewise.
8706 * sunrpc/openchild.c: Likewise.
8707 * sunrpc/svc_simple.c: Likewise.
8708 * sunrpc/svc_tcp.c: Likewise.
8709 * sunrpc/svc_udp.c: Likewise.
8710 * sunrpc/svc_unix.c: Likewise.
8711 * sunrpc/xdr.c: Likewise.
8712 * sunrpc/xdr_array.c: Likewise.
8713 * sunrpc/xdr_rec.c: Likewise.
8714 * sunrpc/xdr_ref.c: Likewise.
8715 * sunrpc/xdr_stdio.c: Likewise.
8716
1248c1c4
PB
87172011-09-09 Ulrich Drepper <drepper@gmail.com>
8718
8719 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8720
87212011-07-03 Andreas Jaeger <aj@suse.de>
8722
8723 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
8724 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
8725 regenerate with gen-libm-tests.pl.
8726
87272010-05-12 Petr Baudis <pasky@suse.cz>
8728
8729 [BZ #11589]
8730 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
8731 around j0() zero points by switching to j1().
8732 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8733 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8734 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8735 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8736
f22e1074
UD
87372011-09-09 Ulrich Drepper <drepper@gmail.com>
8738
f19009c1
UD
8739 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
8740 instead of 0.
8741 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
8742 instead of 0. .
8743 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8744 Patch in part by Pavel Roskin <proski@gnu.org>.
8745
3f8cc204
UD
8746 [BZ #13138]
8747 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
8748 realloc.
8749 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
8750 Free memory block if necessary.
8751
f22e1074
UD
8752 [BZ #12847]
8753 * libio/genops.c (INTDEF): For string streams the _lock pointer can
8754 be NULL. Don't lock in this case.
8755
0a2349f9
RM
87562011-09-09 Roland McGrath <roland@hack.frob.com>
8757
8758 * elf/elf.h (ELFOSABI_GNU): New macro.
8759 (ELFOSABI_LINUX): Define to that.
8760
f3cdd467
DZ
87612011-07-29 Denis Zaitceff <zaitceff@gmail.com>
8762
8763 * string/strncat.c (strncat): Undef the symbol in case it has been
8764 defined in bits/string.h.
8765
74718d13
UD
87662011-09-09 Ulrich Drepper <drepper@gmail.com>
8767
633e9e0f
UD
8768 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
8769
0a2349f9 8770 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
8771 link map.
8772
f9924780
AJ
87732011-08-17 Andreas Jaeger <aj@suse.de>
8774
8775 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
8776
7f5517aa
PP
87772011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8778 Ian Lance Taylor <iant@google.com>
8779
8780 * math/libm-test.inc (lround_test): New testcase.
8781 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
8782
762011fe
UD
87832011-09-08 Ulrich Drepper <drepper@gmail.com>
8784
92963737
UD
8785 * Makefile: Remove support for automatic cvs check-ins.
8786 * Makerules: Likewise.
8787 * config.make.in: Likewise.
8788 * configure.in: Likewise.
8789 * intl/Makefile: Likewise.
8790 * locale/Makefile: Likewise.
8791 * po/Makefile: Likewise.
8792 * posix/Makefile: Likewise.
8793 * sysdeps/gnu/Makefile: Likewise.
8794 * sysdeps/mach/hurd/Makefile: Likewise.
8795 * sysdeps/sparc/sparc32/Makefile: Likewise.
8796
b0727fd8
JS
8797 [BZ #13118]
8798 * posix/Makefile (bug-regex32-ENV): Define.
8799 Patch by John Stanley <jpsinthemix@verizon.net>.
8800
a0f33f99
UD
8801 * misc/Makefile (headers): Add bits/select2.h.
8802 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
8803 * misc/bits/select2.h: New file.
8804 * include/bits/select2.h: New file.
8805 * debug/Makefile (routines): Add fdelt_chk.
8806 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
8807 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
8808 FD_ISSET.
8809 * debug/fdelt_chk.c: New file.
8810
762011fe
UD
8811 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
8812 * wcsmbs/test-wmemcmp.c: Likewise.
8813 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 8814 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
8815
88162011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8817
8818 * string/Makefile (strop-tests): Add memcmp.
8819 * string/test-wmemcmp.c: New file.
8820 * string/test-memcmp.c: Add wmemcmp support.
8821
7f513ec8
RM
88222011-09-08 Roland McGrath <roland@hack.frob.com>
8823
0442afb4
RM
8824 [BZ #13153]
8825 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
8826 2011-07-19 change.
8827
7f513ec8
RM
8828 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
8829 garbage value in a __mach_port_mod_refs call in the cases of the
8830 task-self and thread-self ports.
8831
a12b2239
ST
88322011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8833
8834 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
8835
610f9ab4
AS
88362011-09-08 Andreas Schwab <schwab@redhat.com>
8837
7f513ec8 8838 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 8839
48882a1a
LD
88402011-09-07 Ulrich Drepper <drepper@gmail.com>
8841
b49865be
UD
8842 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
8843
fdc86bc9
UD
8844 * elf/dl-libc.c (dlerror_run): Pass back error code from
8845 dl_catch_error.
8846
c966526a
UD
8847 [BZ #13123]
8848 * elf/dl-load.c (lose): Free l_origin if it is valid.
8849
48882a1a
LD
8850 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
8851 names.
8852 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8853 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8854 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8855 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8856 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8857 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
8858
77a2a8b4
AZ
88592011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8860
8861 * sysdeps/powerpc/fpu/e_hypot.c: New file.
8862 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
8863 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
8864 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
8865 * sysdeps/powerpc/fpu/k_cosf.c: New file.
8866 * sysdeps/powerpc/fpu/k_sinf.c: New file.
8867 * sysdeps/powerpc/fpu/s_cosf.c: New file.
8868 * sysdeps/powerpc/fpu/s_sinf.c: New file.
8869 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
8870 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
8871
24f579d8
AM
88722011-08-15 Alan Modra <amodra@gmail.com>
8873
8874 [BZ #13092]
8875 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
8876 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
8877 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
8878 ppc_mcount to static-only-routines.
8879 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
8880 __mcount_internal.
8881 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
8882 __mcount_internal with usual JUMPTARGET. Remove useless nop.
8883
3d4837df
UD
88842011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
8885
8886 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
8887 for finite and infinity parameters.
8888
22700377
WS
88892011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8890
8891 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
8892 and add nop instructions for throughput optimization.
8893 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8894
5025581e
WS
88952011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
8896
8897 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
8898 aligned copy for power7 with vector-scalar instructions.
8899 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8900
08a300c9
L
89012011-07-24 H.J. Lu <hongjiu.lu@intel.com>
8902
8903 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
8904 AVX check.
8905
59178ef9
AS
89062011-09-07 Andreas Schwab <schwab@redhat.com>
8907
8908 [BZ #13144]
8909 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
8910 last change.
8911
e38ba7ab
UD
89122011-09-07 Ulrich Drepper <drepper@gmail.com>
8913
8914 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8915 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
8916 syscall wrapper around clock_gettime in __vdso_clock_gettime.
8917 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
8918 clock_gettime.
8919
d53a73ac
UD
89202011-09-06 Ulrich Drepper <drepper@gmail.com>
8921
fc8bffcc
UD
8922 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
8923 Forgot to demangle the pointer.
8924
ceaa0c5d
UD
8925 * sysdeps/i386/sysdep.h: Define atom_text_section.
8926 * sysdeps/x86_64/sysdep.h: Likewise.
8927 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
8928 section with atom_text_section.
8929 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8930 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8931 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8932 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8933 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
8934
a77d3c17
UD
8935 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
8936 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
8937 already be defined. Change to take two parameters and don't assign
8938 result to variable. Adjust all users.
8939 Define INTERNAL_GETTIME if not already defined.
8940 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
8941 call.
8942 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
8943 HAVE_CLOCK_GETTIME_VSYSCALL.
8944 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
8945
d53a73ac
UD
8946 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
8947 gettimeofday vsyscall, just use time.
8948
a8f84144
AS
89492011-09-06 Andreas Schwab <schwab@redhat.com>
8950
8951 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
8952 <errno.h>.
8953
ef606249
UD
89542011-09-06 Ulrich Drepper <drepper@gmail.com>
8955
8956 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
8957 syscall on x86-64.
8958 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
8959 syscall.
8960 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
8961 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
8962 syscall if possible.
8963
6585cb60
UD
89642011-09-05 Ulrich Drepper <drepper@gmail.com>
8965
8966 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
8967 e_ident. Don't pass to find_mapsXX.
8968 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
8969
a5f524e4
LD
89702011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8971
8972 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8973 strchr-sse2-no-bsf strrchr-sse2-no-bsf
8974 * sysdeps/x86_64/multiarch/strchr.S: Update.
8975 Check bit_slow_BSF bit.
8976 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8977 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
8978 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
8979
554881ef
UD
89802011-09-05 Ulrich Drepper <drepper@gmail.com>
8981
d96de963
UD
8982 [BZ #13134]
8983 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
8984 before glibc 2.15.
8985 (tryshell): Define.
8986 (__spawni): Change last parameter to be flag. Test
8987 SPAWN_XFLAGS_USE_PATH flag to use path or not.
8988 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
8989 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
8990 * posix/spawni.c: Likewise.
8991 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
8992 * posix/spawnp.c: Likewise. Change normal version to use
8993 SPAWN_XFLAGS_USE_PATH.
8994 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
8995 SPAWN_XFLAGS_TRY_SHELL.
8996
d48e5868
UD
8997 [BZ #13150]
8998 * posix/glob.h: Remove gcc 1.x support.
8999
554881ef
UD
9000 [BZ #13068]
9001 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9002
693fb948
LD
90032011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9004
9005 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9006 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9007 strrchr-sse2-bsf
9008 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9009 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9010 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9011 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9012 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9013 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9014
1b48c537
UD
90152011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9016
49d42c37
UD
9017 * sysdeps/x86_64/wcscmp.S: New file.
9018
1b48c537
UD
9019 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9020 wcscmp-c wcscmp-sse2
9021 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9022 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9023 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9024 * wcsmbs/wcscmp.c: Allow renaming.
9025
15c95c5d
DM
90262011-09-05 David S. Miller <davem@davemloft.net>
9027
9028 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9029 stack slot, rather than the struct return pointer slot.
9030 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9031 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9033 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9034
2f0ad8f3
UD
90352011-09-05 Ulrich Drepper <drepper@gmail.com>
9036
d88ae418
UD
9037 * po/ja.po: Update from translation team.
9038
2f0ad8f3
UD
9039 [BZ #13144]
9040 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9041 kernel in 64-bit binaries.
9042
5f4318d1
DM
90432011-09-01 David S. Miller <davem@davemloft.net>
9044
9045 * elf/elf.h (HWCAP_SPARC_*): Move to..
9046 * sysdeps/sparc/sysdep.h: this new file and add new values.
9047 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9048 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9049 _DL_HWCAP_COUNT to 24.
9050 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9051 entries.
9052 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9053 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9054 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9055 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9056 instead of magic constants.
9057 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9058
3ba57516
DM
90592011-08-31 David S. Miller <davem@davemloft.net>
9060
9061 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9062 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9063 Reimplement to do errno handling inline.
9064 (SYSCALL_ERROR_HANDLER): New macro.
9065 (__SYSCALL_STRING): Do not do errno handling in asm.
9066 (__CLONE_SYSCALL_STRING): Delete.
9067 (__INTERNAL_SYSCALL_STRING): Delete.
9068 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9069 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9070 (PSEUDO): Reimplement to do errno handling inline.
9071 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9072 (SYSCALL_ERROR_HANDLER): New macro.
9073 (__SYSCALL_STRING): Do not do errno handling in asm.
9074 (__CLONE_SYSCALL_STRING): Delete.
9075 (__INTERNAL_SYSCALL_STRING): Delete.
9076 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9077 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9078 i386.
9079 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9080 (inline_syscall*): Add 'err' argument.
9081 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9082 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9083 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9084 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9085
9086 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9087 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9088
2bc17433
AS
90892011-08-30 Andreas Schwab <schwab@redhat.com>
9090
9091 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9092
fbeb5f4d
JO
90932011-08-29 Jiri Olsa <jolsa@redhat.com>
9094
9095 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9096 directive.
9097
ad69cc26
DM
90982011-08-24 David S. Miller <davem@davemloft.net>
9099
9100 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9101
39dd69df
AS
91022011-08-24 Andreas Schwab <schwab@redhat.com>
9103
9104 * elf/Makefile: Add rules to build and run unload8 test.
9105 * elf/unload8.c: New file.
9106 * elf/unload8mod1.c: New file.
9107 * elf/unload8mod1x.c: New file.
9108 * elf/unload8mod2.c: New file.
9109 * elf/unload8mod3.c: New file.
9110
9111 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9112 it wasn't used.
9113
2c0b250a
DM
91142011-08-23 David S. Miller <davem@davemloft.net>
9115
9116 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9117 subtract stack bias.
9118 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9119 %sp not %fp in calculations.
9120 (_JMPBUF_UNWINDS_ADJ): Likewise.
9121
22044b48
DM
9122 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9123 (aio_suspend): Call it to force an exception region around the
9124 AIO_MISC_WAIT() invocation.
9125
2cae4995
AS
91262011-08-23 Andreas Schwab <schwab@redhat.com>
9127
9128 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9129 backslash.
9130
873a772e
AJ
91312011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9132
9133 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9134 protection macro.
9135 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9136 and <dl-machine.h>.
9137 (Elf64_FuncDesc): Remove.
9138
25ad0df1
DM
91392011-08-22 David S. Miller <davem@davemloft.net>
9140
9141 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9142 sigaltstack check, add missing cfi directives.
9143 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9144 missing cfi directives, and sigaltstack handling.
9145
e888bcbe
AS
91462011-08-16 Andreas Schwab <schwab@redhat.com>
9147
9148 [BZ #11724]
9149 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9150 object is seen twice.
9151 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9152
9153 * elf/Makefile (distribute): Add tst-initorder2.c.
9154 (tests): Add tst-initorder2.
9155 (modules-names): Add tst-initorder2a tst-initorder2b
9156 tst-initorder2c tst-initorder2d. Add rules to build them.
9157 ($(objpfx)tst-initorder2.out): New rule.
9158 * elf/tst-initorder2.c: New file.
9159 * elf/tst-initorder2.exp: New file.
9160
87162f46
AS
91612011-08-22 Andreas Schwab <schwab@redhat.com>
9162
70538b7f
AS
9163 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9164
f55ffe58
AS
9165 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9166 dependencies back to end of function.
9167
87162f46
AS
9168 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9169 $(elfobjdir)/ld.so.
9170
91b392a4
UD
91712011-08-21 Ulrich Drepper <drepper@gmail.com>
9172
9173 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9174 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9175 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9176 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9177 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9178 of __vdso_gettimeofday.
9179 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9180 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
9181 attribute_hidden.
9182 (_libc_vdso_platform_setup): Remove initialization of
9183 __vdso_gettimeofday and __vdso_time.
9184
5c43483f
UD
91852011-08-20 Ulrich Drepper <drepper@gmail.com>
9186
775a77e7
UD
9187 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9188 and fgetc_unlocked.
9189 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9190 getc_unlocked.
89f447ed 9191
49c74ba9
UD
9192 * elf/dl-open.c (add_to_global): Report additions to the global scope
9193 for LD_DEBUG=scopes.
9194 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 9195 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 9196
5c43483f
UD
9197 [BZ #13114]
9198 * stdio-common/Makefile (tests): Add bug24.
9199 * stdio-common/bug24.c: New file.
9200
a101b025
AJ
92012011-08-19 Andreas Jaeger <aj@suse.de>
9202
9203 [BZ #13114]
9204 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9205 non-existant file when using close-on-exec mode.
9206
c88f1766
UD
92072011-08-20 Ulrich Drepper <drepper@gmail.com>
9208
0276a718
UD
9209 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9210 the very first instruction.
9211
c88f1766
UD
9212 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9213 the CFI state in the end.
9214 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9215 inclusion of dl-trampoline.h.
9216 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9217
51ccffa0
AS
92182011-08-19 Andreas Schwab <schwab@redhat.com>
9219
94d7165f
AS
9220 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9221 expectations for long double.
9222
51ccffa0
AS
9223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9224 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9225
fd708658 92262011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
9227
9228 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9229 artificual limit depends upon the system page size.
9230
44f0a71e
UD
92312011-08-17 Ulrich Drepper <drepper@gmail.com>
9232
9233 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9234 * resolv/Makefile: Define CFLAGS-libresolv.
9235
8de79a24
AS
92362011-08-17 Andreas Schwab <schwab@redhat.com>
9237
9238 * nss/makedb.c (compute_tables): Make variables used in nested
9239 function static.
9240
27724598
UD
92412011-08-17 Ulrich Drepper <drepper@gmail.com>
9242
c5305d88
UD
9243 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9244 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9245 if buffer was too small.
9246
27724598
UD
9247 * elf/pldd.c (main): Attach to all threads in the process.
9248 Rewrite /proc handling to use *at functions.
9249
076fe015
UD
92502011-08-16 Ulrich Drepper <drepper@gmail.com>
9251
174baab3
UD
9252 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9253 specifies first scope to show.
9254 (dl_open_worker): Update callers. Move printing scope of new
9255 object to before the relocation.
44f0a71e 9256 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
9257 * sysdeps/generic/ldsodefs.h: Update declaration.
9258
076fe015
UD
9259 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
9260 string for the scope number.
9261
a60df2c3
UD
92622011-08-14 Ulrich Drepper <drepper@gmail.com>
9263
9264 * nscd/servicescache.c (cache_addserv): Make sure written is always
9265 initialized.
9266
5e4287d1
RM
92672011-08-14 Roland McGrath <roland@hack.frob.com>
9268
85ae0589
RM
9269 * sysdeps/i386/i486/bits/atomic.h
9270 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
9271 statement expression, so as to suppress "set but not used" warning.
9272 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
9273
69f63097
RM
9274 * string/strncat.c (STRNCAT): Use prototype definition.
9275
675456ef
RM
9276 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
9277 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
9278 -Iprograms here.
9279 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
9280 (localedef-modules): Add localedef.
9281 (locale-modules): Add locale.
9282
5e4287d1
RM
9283 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
9284 * elf/rtld.c (dl_main): Invert order of assignment in last change,
9285 to avoid a warning.
9286
9c96ff23
DM
92872011-08-14 David S. Miller <davem@davemloft.net>
9288
9289 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
9290 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
9291
f9ddf089
UD
92922011-08-13 Ulrich Drepper <drepper@gmail.com>
9293
44f0a71e 9294 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
9295 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
9296 * elf/rtld.c (dl_main): Set l_name of vDSO.
9297 Call _dl_show_scope when DL_DEBUG_SCOPES.
9298 (process_dl_debug): Recognize scopes flag and also set it for all.
9299 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
9300 Declare _dl_show_scope.
9301
1dc27704
UD
9302 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
9303 (do_dlopen): Pass caller_dlopen to dl_open.
9304 (__libc_dlopen_mode): Initialize caller_dlopen.
9305
f9ddf089
UD
9306 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
9307 of libc. Make tolower call locale-independent. Optimize a bit by
9308 using isdigit instead of isalnum.
9309 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
9310
9ac533d3
UD
93112011-08-12 Ulrich Drepper <drepper@gmail.com>
9312
9313 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
9314 was a dependency or dynamically loaded.
9315
89edf2e9
UD
93162011-08-11 Ulrich Drepper <drepper@gmail.com>
9317
8e999d29
UD
9318 * intl/l10nflist.c: Allow architecture-specific pop function.
9319 * sysdeps/x86_64/l10nflist.c: New file.
9320
89edf2e9
UD
9321 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
9322 classification.
9323
14d96785
AS
93242011-08-10 Andreas Schwab <schwab@redhat.com>
9325
9326 * include/dirent.h: Add libc_hidden_proto for scandirat and
9327 scandirat64. Don't declare __scandirat64.
9328 * dirent/scandirat.c: Add libc_hidden_def.
9329 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
9330 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
9331
6761ac04
DM
93322011-08-10 David S. Miller <davem@davemloft.net>
9333
9334 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
9335 enum.
9336 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9337 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9338 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9339
c55fbd1e
UD
93402011-08-09 Ulrich Drepper <drepper@gmail.com>
9341
9342 * Versions.def [libc]: Add GLIBC_2.15.
9343 * dirent/Makefile (routines): Add scandirat and scandirat64.
9344 * dirent/Versions [libc]: Export scandirat and scandirat64 for
9345 GLIBC_2.15.
9346 * dirent/dirent.h: Declare scandirat and scandirat64.
9347 * dirent/scandirat.c: New file.
9348 * dirent/scandirat64.c: New file.
9349 * sysdeps/wordsize-64/scandirat.c: New file.
9350 * sysdeps/wordsize-64/scandirat64.c: New file.
9351 * dirent/opendir.c: Define opendirat.
9352 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
9353 using scandirat.
9354 * dirent/scandir64.c: Adjust for scandir.c change.
9355 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
9356 __scandirat64, and __scandir_cancel_handler.
9357 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
9358 additional parameter and use openat instead of open (outside of ld.so).
9359 Add new __opendir as wrapper around __opendirat.
9360 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
9361 here without requiring old scandirat implementation.
9362
879165f2
UD
93632011-08-08 Ulrich Drepper <drepper@gmail.com>
9364
9365 * dirent/scandir.c (cancel_handler): Renamed to
9366 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
9367 defined. Adjust users.
9368 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
9369 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
9370
cb7e923b
UD
93712011-08-04 Ulrich Drepper <drepper@gmail.com>
9372
16292edd
UD
9373 * string/test-string.h (IMPL): Use __STRING to expand name and then
9374 stringify it.
9375
cb7e923b
UD
9376 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
9377 of cleanups.
9378
cff82933
LD
93792011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9380
9381 * string/Makefile: Update.
9382 (strop-tests): Append strncat.
9383 * string/test-wcscmp.c: New file.
9384 New comprehensive test for wcscmp.
9385 * string/test-strcmp.c: Update.
9386 (WIDE): New define.
9387
9be9bfcc
AS
93882011-07-22 Andreas Schwab <schwab@redhat.com>
9389
9390 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
9391 line.
9392
2e96f1c7
AS
93932011-07-26 Andreas Schwab <schwab@redhat.com>
9394
9395 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9396 encoding to ACE if AI_IDN.
9397
85188888
JJ
93982011-08-01 Jakub Jelinek <jakub@redhat.com>
9399
9400 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
9401 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
9402
5fa16e9b
LD
94032011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9404
9405 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
9406 Fix overflow bug in strncat.
9407 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9408
9409 * string/test-strncat.c: Update.
9410 Add new tests for checking overflow bugs.
9411
94122011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9413
9414 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9415 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
9416 * sysdeps/i386/i686/multiarch/strcat.S: New file.
9417 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
9418 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
9419 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
9420 * sysdeps/i386/i686/multiarch/strncat.S: New file.
9421 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
9422 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
9423
9424 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
9425 (USE_AS_STRCAT): Define.
9426 Add strcat and strncat support.
9427 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9428
8c1a459f
AS
94292011-07-25 Andreas Schwab <schwab@redhat.com>
9430
9431 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
9432 __n bigger than INT_MAX+1.
9433 (__strncmp_g): Likewise.
9434
bba33c28
UD
94352011-07-23 Ulrich Drepper <drepper@gmail.com>
9436
798be72d
UD
9437 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
9438 * libio/stido.h: Likewise.
9439
8accd4dc
UD
9440 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
9441 (AF_NFC): Define.
9442 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
9443 (AF_NFC): Define.
9444
cbff0d96
UD
9445 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
9446 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9447 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9448 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9449 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9450
9191c04a
UD
9451 [BZ #13021]
9452 * scripts/test-installation.pl: Don't expect libnss_test1 to be
9453 installed.
9454
bba33c28
UD
9455 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
9456 typo.
9457 (_dl_x86_64_save_sse): Likewise.
9458
90f139dd
UD
94592011-07-22 Ulrich Drepper <drepper@gmail.com>
9460
1aae088a
UD
9461 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
9462 OSXSAVE.
9463 (_dl_x86_64_save_sse): Likewise.
9464
8e2045f5
UD
9465 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
9466
90f139dd
UD
9467 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
9468
1d002f25
AS
94692011-07-21 Andreas Schwab <schwab@redhat.com>
9470
9471 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
9472 change.
9473 (_dl_x86_64_save_sse): Use correct AVX check.
9474
21137f89
UD
94752011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9476
9477 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
9478 bug in strncpy/strncat.
9479 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9480
a65c0b7a
UD
94812011-07-21 Ulrich Drepper <drepper@gmail.com>
9482
9483 * string/tester.c (test_strcat): Add tests for different alignments
9484 of source and destination.
9485 (test_strncat): Likewise.
9486
6986b98a
UD
94872011-07-20 Ulrich Drepper <drepper@gmail.com>
9488
90bb2039
UD
9489 [BZ #12852]
9490 * posix/glob.c (glob): Check passed in values before using them in
9491 expressions to avoid some overflows.
9492 (glob_in_dir): Likewise.
9493
5644ef54
UD
9494 [BZ #13007]
9495 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
9496 check for AVX enablement so that we don't crash with old kernels and
9497 new hardware.
9498 * elf/tst-audit4.c: Add same checks here.
9499 * elf/tst-audit6.c: Likewise.
9500
9501 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 9502
bfc9dc9b
AS
95032011-07-09 Andreas Schwab <schwab@linux-m68k.org>
9504
9505 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
9506
702e64bb
UD
95072011-07-20 Ulrich Drepper <drepper@gmail.com>
9508
9509 * po/cs.po: Update from translation team.
9510 * po/bg.po: Likewise.
9511
295e904f
MP
95122011-07-12 Marek Polacek <mpolacek@redhat.com>
9513
9514 * misc/sys/cdefs.h: Add support for const attribute.
9515 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
9516 to gnu_dev_{major,minor,makedev} functions.
9517
3ff94596
MP
95182011-07-20 Marek Polacek <mpolacek@redhat.com>
9519
9520 * intl/dcigettext.c (get_output_charset): Add missing bracket.
9521
28b59fca
AS
95222011-07-20 Andreas Schwab <schwab@redhat.com>
9523
9524 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
9525 strlen results.
9526
19df733e
AK
95272011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9528
9529 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9530 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
9531 register in order to avoid conflicts with the soft frame pointer
9532 being held in r11 when necessary.
9533 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9534 (INTERNAL_VSYSCALL_NCS): Likewise.
9535
c8835729
MP
95362011-07-14 Marek Polacek <mpolacek@redhat.com>
9537
9538 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
9539 * elf/dl-fini.c (_dl_fini): Adjust caller.
9540 * elf/dl-close.c (_dl_close_worker): Likewise.
9541 * sysdeps/generic/ldsodefs.h: Adjust declaration.
9542
b902330c
MP
95432011-07-15 Marek Polacek <mpolacek@redhat.com>
9544
8991e135
MP
9545 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
9546 "aux_cache->nlibs < 0".
9547
b902330c
MP
9548 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
9549 in the reload-count case.
9550
99710781
LD
95512011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9552
9553 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9554 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
9555 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
9556 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
9557 * sysdeps/x86_64/multiarch/strcat.S: New file.
9558 * sysdeps/x86_64/multiarch/strncat.S: New file.
9559 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
9560 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
9561 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
9562 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
9563 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
9564 (USE_AS_STRCAT): Define.
9565 Add strcat and strncat support.
9566 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9567 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9568 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
9569 * string/strncat.c: Update.
9570 (USE_AS_STRNCAT): Define.
9571 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9572 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
9573 and i7.
9574 * sysdeps/x86_64/multiarch/init-arch.h
9575 (bit_Prefer_PMINUB_for_stringop): New.
9576 (index_Prefer_PMINUB_for_stringop): Likewise.
9577 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
9578 bit_Prefer_PMINUB_for_stringop.
9579
7dc6bd90
UD
95802011-07-19 Ulrich Drepper <drepper@gmail.com>
9581
9582 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
9583 buffer64.
9584 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
9585 of casting of buffer.
9586 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
9587 buffer32 and buffer64.
9588 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
9589 writes instead of casting of buffer.
9590 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
9591 buffer32.
9592 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
9593 casting of buffer.
9594
e0e72284
AS
95952011-07-19 Andreas Schwab <schwab@redhat.com>
9596
9597 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
9598
feb1eb0b
UD
95992011-07-19 Ulrich Drepper <drepper@gmail.com>
9600
9601 * nscd/nscd.c (termination_handler): Don't do anything for a database
9602 if it has not yet been initialized.
9603
298711ff
UD
96042011-07-18 Ulrich Drepper <drepper@gmail.com>
9605
9606 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9607
96082011-07-15 Marek Polacek <mpolacek@redhat.com>
9609
9610 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9611
f9d68389
UD
96122011-07-18 Ulrich Drepper <drepper@gmail.com>
9613
9614 * po/nl.po: Update from translation team.
9615 * po/sv.po: Likewise.
9616
db290cf5
RM
96172011-07-16 Roland McGrath <roland@hack.frob.com>
9618
9619 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
9620 now disallowed by GCC.
5c550700 9621
fd5e21c7
RM
9622 * configure.in (use-default-link): Default to yes if a test -shared
9623 link meets our qualifications.
9624 * configure: Regenerated.
9625
5c550700
RM
9626 * config.make.in (output-format): New variable.
9627 * configure.in: Check for ld --print-output-format support.
9628 * configure: Regenerated.
9629 * Makerules ($(common-objpfx)format.lds)
9630 [$(output-format) != unknown]: Just use $(output-format),
9631 instead of the linker-script munging.
9632
9fa2c032
RM
96332011-07-14 Roland McGrath <roland@hack.frob.com>
9634
a6928d51
RM
9635 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
9636 of $(common-objpfx)shlib.lds.
9637 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
9638
661607b3
RM
9639 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
9640 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
9641
9fa2c032
RM
9642 * configure.in (-z relro check): Adjust test code to add a large
9643 writable data section after it.
9644 * configure: Regenerated.
9645
defe9061
RM
96462011-07-11 Roland McGrath <roland@hack.frob.com>
9647
9648 * configure.in (-z relro check): Fix test code to make the variable
9649 truly const.
9650 * configure: Regenerated.
9651
319b9ad4
UD
96522011-07-11 Ulrich Drepper <drepper@gmail.com>
9653
9654 * nscd/nscd.h (struct traced_file): Define.
9655 (struct database_dyn): Remove inotify_descr, reset_res, and filename
9656 elements. Add traced_files.
9657 (inotify_fd): Declare.
9658 (register_traced_file): Declare.
9659 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
9660 (inotify_fd): Export.
9661 (resolv_conf_descr): Remove.
9662 (nscd_init): Move inotify descriptor creation to main.
9663 Don't register files for notification here.
9664 (register_traced_file): New function.
9665 (invalidate_cache): Don't use reset_res to determine whether to call
9666 res_init, go through the list of registered files.
9667 (main_loop_poll): The inotify descriptors are now stored in the
9668 structures for the traced files.
9669 (main_loop_epoll): Likewise
9670 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
9671 to __nss_disable_nscd.
9672 * nscd/cache.c (prune_cache): There is no single inotify descriptor
9673 for a database anymore. Check the records for all the registered
9674 files instead.
9675 * nss/Makefile (libnss_files-routines): Add files-init.
9676 (libnss_db-routines): Add db-init.
9677 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
9678 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
9679 * nss/nss_db/db-init.c: New file.
9680 * nss/nss_files/files-init.c: New file.
9681 * nss/nsswitch.c (nss_load_library): New function. Broken out of
9682 __nss_lookup_function.
9683 (__nss_lookup_function): Call nss_load_library.
9684 (nss_load_all_libraries): New function.
9685 (__nss_disable_nscd): Take parameter with callback function for files
9686 to register. Set is_nscd. Load all the DSOs for the NSS modules
9687 used for the cached services.
9688 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
9689 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
9690 options for features to all the files in nscd.
9691
9692 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
9693
23bee3e8
RM
96942011-07-10 Roland McGrath <roland@hack.frob.com>
9695
9696 * csu/elf-init.c (__libc_csu_init): Comment typo.
9697
46a5b7f0
UD
96982011-07-09 Ulrich Drepper <drepper@gmail.com>
9699
9700 * po/pl.po: Update from translation team.
9701 * po/ja.po: Likewise.
9702 * po/ru.po: Likewise.
9703 * po/ko.po: Likewise.
9704 * po/fr.po: Likewise.
9705
d30cf5bb
RM
97062011-07-09 Roland McGrath <roland@hack.frob.com>
9707
113ddea4
RM
9708 * configure.in (.ctors/.dtors header and trailer check):
9709 Use an empirical test on a built program.
9710 * configure: Regenerated.
9711
574920b4
RM
9712 * configure.in (-z relro check): Use an empirical test on a built DSO.
9713 Detect, but do not require, on ia64.
9714 * configure: Regenerated.
9715
d30cf5bb
RM
9716 * configure.in (READELF): Find it with AC_CHECK_TOOL.
9717 Update tests that use readelf to use $READELF instead.
9718 * configure: Regenerated.
9719
8538fdb3
UD
97202011-07-08 Ulrich Drepper <drepper@gmail.com>
9721
9722 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
9723 if the result is not used.
9724
04d08991
AJ
97252011-07-05 Andreas Jaeger <aj@suse.de>
9726
9727 [BZ#9696]
9728 * stdlib/tst-strtod.c: Add testcase.
9729
de283087
AD
97302011-07-07 Ulrich Drepper <drepper@gmail.com>
9731
4e5f31c8 9732 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 9733 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
9734 The latter has a higher limit. Take additional parameter to pass to
9735 the new function.
9736 (__pathconf): Pass file to __statfs_link_max.
9737 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
9738 __statfs_link_max.
9739 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
9740 __statfs_link_max.
9741
de283087
AD
9742 [BZ #12868]
9743 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
9744 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9745 Handle Lustre.
9746 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
9747 (__statfs_filesize_max): Likewise.
9748 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
9749
c75fa153
AJ
97502011-07-05 Andreas Jaeger <aj@suse.de>
9751
9752 * resolv/res_comp.c (dn_skipname): Remove unused variable.
9753
1a544854
UD
97542011-07-06 Marek Polacek <mpolacek@redhat.com>
9755
9756 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
9757 `status' variable.
9758 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
9759 Likewise.
9760
6f0eec67
UD
97612011-07-04 H.J. Lu <hongjiu.lu@intel.com>
9762
9763 * Makefile (strop-tests): Add strncat.
9764 * string/test-strncat.c: New file.
9765
aae30307
UD
97662011-06-30 Marek Polacek <mpolacek@redhat.com>
9767
9768 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
9769
c0cfb5eb
UD
97702011-06-21 Andreas Jaeger <aj@suse.de>
9771
9772 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
9773 Copy rule from iconvdata/Makefile.
9774
01636b21
UD
97752011-07-06 Ulrich Drepper <drepper@gmail.com>
9776
9777 [BZ #12922]
9778 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
9779 but no long options are defined, just return 'W'.
9780
9895c8bc
UD
97812011-06-22 Marek Polacek <mpolacek@redhat.com>
9782
9783 [BZ #9696]
9784 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
9785
5d4cf042
UD
97862011-07-06 Ulrich Drepper <drepper@gmail.com>
9787
9788 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
9789 netgroups to read.
960e5535 9790 (innetgr): Likewise.
5d4cf042 9791
751eb97e
RM
97922011-07-05 Roland McGrath <roland@hack.frob.com>
9793
9794 * config.make.in (install_root): Default to $(DESTDIR).
9795
f15f1e45
UD
97962011-07-05 Ulrich Drepper <drepper@gmail.com>
9797
9798 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
9799
4e34ac6a
RM
98002011-07-02 Roland McGrath <roland@hack.frob.com>
9801
5e9b6af4
RM
9802 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
9803
84f9ea0f
RM
9804 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
9805 containing directory rather than embedding absolute directory names.
9806
ea5ee9f7
RM
9807 * scripts/check-local-headers.sh: Rewritten using awk.
9808 Match by word, not by line. Print error messages for matches.
9809 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
9810
1b74661a
RM
9811 * Makerules [shlib-lds-flags empty]:
9812 ($(common-objpfx)libc_pic.opts): New target.
9813 ($(common-objpfx)libc_pic.os.clean): New target.
9814 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
9815
9816 * config.make.in (OBJCOPY): New variable.
9817 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
9818 * configure: Regenerated.
9819
f781ef40
RM
9820 * config.make.in (use-default-link): New variable.
9821 * configure.in (use_default_link): Grok --with-default-link to set it.
9822 * configure: Regenerated.
9823 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
9824 (shlib-lds, shlib-lds-flags): Define to empty.
9825
2d4fa81e
RM
9826 * Makerules (shlib-lds): New variable.
9827 (shlib-lds-flags): New variable.
9828 (build-shlib, build-moduile, build-module-asneeded): Use it.
9829 ($(common-objpfx)libc.so): Use $(shlib-lds).
9830 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
9831 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
9832
31fffa6b
RM
9833 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
9834 DT_FLAGS/DT_FLAGS_1 with zero flags.
9835
4e34ac6a
RM
9836 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
9837 linker script munging.
9838
fcfc776b
UD
98392011-07-02 Ulrich Drepper <drepper@gmail.com>
9840
9841 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
9842 as 128-bit value.
9843 * crypt/sha512.c (sha512_process_block): Perform total addition using
9844 128-bit if possible.
9845 (__sha512_finish_ctx): Likewise.
9846 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
9847 as 64-bit value.
9848 * crypt/sha256.c (SWAP64): Define.
9849 (sha256_process_block): Perform total addition using 64-bit if
9850 possible.
9851 (__sha256_finish_ctx): Likewise.
9852
99231d9a
UD
98532011-07-01 Ulrich Drepper <drepper@gmail.com>
9854
9855 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
9856 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9857 * nscd/hstcache.c (cache_addhst): Likewise.
9858 * nscd/grpcache.c (cache_addgr): Likewise.
9859 * nscd/aicache.c (addhstaiX): Likewise
9860 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
9861
445b4a53
TK
98622011-07-01 Thorsten Kukuk <kukuk@suse.de>
9863
9864 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
9865 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9866 * nscd/hstcache.c (cache_addhst): Likewise.
9867 * nscd/grpcache.c (cache_addgr): Likewise.
9868 * nscd/aicache.c (addhstaiX): Likewise
9869
6d4d8e8e
AS
98702011-07-01 Andreas Schwab <schwab@redhat.com>
9871
9872 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
9873 domain only when needed.
9874
89f654c5
AS
98752011-06-30 Andreas Schwab <schwab@redhat.com>
9876
9877 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
9878 is always restored.
9879
cf3b23ff
UD
98802011-06-29 Ulrich Drepper <drepper@gmail.com>
9881
9882 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
9883 are re-adding the entry.
9884 * nscd/servicescache.c (cache_addserv): Likewise.
9885
751626f9
AJ
98862011-06-30 Aurelien Jarno <aurelien@aurel32.net>
9887
9888 * sysdeps/generic/dl-irel.h: fix protection against multiple
9889 inclusions.
9890 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
9891
9113ea1f
UD
98922011-06-28 Ulrich Drepper <drepper@gmail.com>
9893
5c0b8d90
UD
9894 [BZ #12935]
9895 * malloc/memusage.sh: Fix quoting in message.
9896 * debug/xtrace.sh: Likewise.
9897
9113ea1f
UD
9898 * configure.in: Remove support for --experimental-malloc option, make
9899 it the default.
9900 * config.make.in: Likewise.
9901 * malloc/Makefile: Likewise.
9902
a4172181
AS
99032011-06-27 Andreas Schwab <schwab@redhat.com>
9904
9905 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
9906 two-byte characters.
9907
78a7eee7
RM
99082011-06-27 Roland McGrath <roland@hack.frob.com>
9909
62bede13
RM
9910 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
9911 AC_CACHE_CHECK invocation.
9912 * configure: Regenerated.
9913
78a7eee7
RM
9914 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
9915
5ce33a62
UD
99162011-06-27 Ulrich Drepper <drepper@gmail.com>
9917
034807a9
UD
9918 [BZ #12350]
9919 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
9920 bit from old_res_options.
9921
4902da17
UD
9922 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
9923
5ce33a62
UD
9924 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
9925 value type for setfct.
9926
c2344f56
L
99272011-06-23 H.J. Lu <hongjiu.lu@intel.com>
9928
9929 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9930 __gettimeofday instead of gettimeofday.
9931
68468076
UD
99322011-06-26 Ulrich Drepper <drepper@gmail.com>
9933
9934 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
9935
acb0d739
L
99362011-06-24 H.J. Lu <hongjiu.lu@intel.com>
9937
9938 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
9939
9940 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
9941 info.
9942
8912479f
L
99432011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9944
9945 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9946 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9947 strcpy-sse2-unaligned strncpy-sse2-unaligned
9948 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
9949 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
9950 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
9951 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
9952 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
9953 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
9954 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
9955 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
9956 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
9957 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
9958 (STRCPY): Support SSE2 and SSSE3 versions.
9959
d5495a11
UD
99602011-06-24 Ulrich Drepper <drepper@gmail.com>
9961
9962 [BZ #12874]
9963 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
9964 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
9965 kernels which artificially limit size of requests.
9966
0b1cbaae
L
99672011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9968
9969 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9970 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9971 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
9972 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
9973 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
9974 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
9975 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
9976 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
9977 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
9978 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
9979 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
9980 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
9981 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
9982 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
9983 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
9984 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9985 Enable unaligned load optimization for Intel Core i3, i5 and i7
9986 processors.
9987 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
9988 Define.
9989 (index_Fast_Unaligned_Load): Define.
9990 (HAS_FAST_UNALIGNED_LOAD): Define.
9991
07f494a0
MP
99922011-06-23 Marek Polacek <mpolacek@redhat.com>
9993
9994 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
9995
fa3fc0fe
UD
99962011-06-22 Ulrich Drepper <drepper@gmail.com>
9997
9998 [BZ #12907]
9999 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10000 until it is clear that the information is realy needed.
10001 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10002
e12df166
AS
100032011-06-22 Andreas Schwab <schwab@redhat.com>
10004
10005 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10006
852eb34d
UD
100072011-06-22 Ulrich Drepper <drepper@gmail.com>
10008
84e2a551
UD
10009 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10010 /sys/devices/system/cpu/online if it is usable.
10011
852eb34d
UD
10012 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10013 reading the information from the /proc filesystem to once a second.
10014
6e502e19
UD
100152011-06-21 Andreas Jaeger <aj@suse.de>
10016
10017 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10018 NULL after inclusion of kernel headers.
10019
75d39ff2
UD
100202011-06-21 Ulrich Drepper <drepper@gmail.com>
10021
51f9aa6a
UD
10022 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10023 calls to internal_setent.
10024
c0244a9d
UD
10025 [BZ #12885]
10026 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10027 addresses using gethostbyname4_r ignore IPv4 addresses.
10028
c5e3c2ae
UD
10029 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10030 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10031
75d39ff2
UD
10032 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10033
42675c6f
DM
100342011-06-20 David S. Miller <davem@davemloft.net>
10035
10036 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10037 inclusions.
10038 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10039
10040 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10041 (elf_irel): Use it.
10042 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10043 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10044 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10045 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10046 * sysdeps/x86_64/dl-irel.h: Likewise.
10047
10048 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10049 * elf/dl-sym.c: Likewise.
10050
57912a71
UD
100512011-06-15 Ulrich Drepper <drepper@gmail.com>
10052
10053 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10054 need to dereference resplen2.
10055
ee22793d
AS
100562011-06-14 Andreas Schwab <schwab@redhat.com>
10057
10058 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10059
a9e836b0
UD
100602011-06-15 Ulrich Drepper <drepper@gmail.com>
10061
77fb9117
UD
10062 * Makeconfig: Define vardbdir and inst_vardbdir.
10063 * nss/Makefile: Add rules to install db-Makefile.
10064
40c1b22c
UD
10065 * nss/nss_db/db-XXX.c: Cleanup.
10066
9f2da732
UD
10067 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10068 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10069 GLIBC_PRIVATE.
10070 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10071 * nss/makedb.c: Implement -g option to specify that value strings
10072 are generated and should not be added to table iterated over for
10073 get*ent calls.
10074 * nss/nss_db/db-initgroups.c: New file.
10075
82e9a1f7
UD
10076 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10077 interface.
10078
c41af17e
UD
10079 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10080 (internal_getgrouplist): Adjust to name change.
10081 Update use_initgroups_entry if this is not the first call.
10082 * nss/databases.def: Add initgroups entry.
10083
a9e836b0
UD
10084 * nss/makedb.c (compute_tables): Check result of multiple hash table
10085 sizes to minimize maximum chain length.
10086
2666d441
UD
100872011-06-14 Ulrich Drepper <drepper@gmail.com>
10088
10089 * Versions.def: Add entry for libnss_db.
10090 * shlib-versions: Likewise.
10091 * nss/Makefile: Add rules to build libnss_db.
10092 * nss/Versions: Add libnss_db information. Organize libnss_files
10093 entries better.
10094 * nss/db-Makefile: Add gshadow support. Change rules for the new
10095 makedb progra. Some minor improvements to generate smaller files.
10096 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10097 here from...
10098 * nss/makedb.c: ...here.
10099 Improve database format to be smaller and require less memory at
10100 runtime.
10101 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10102 db anymore.
10103 * nss/nss_db/db-netgrp.c: Likewise.
10104 * nss/nss_db/db-open.c: Likewise.
10105 * nss/nss_files/flies-XXX.x: Adjust comments.
10106 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10107 * nss/nss_files/files-grp.c: Likewise.
10108 * nss/nss_files/files-hosts.c: Likewise.
10109 * nss/nss_files/files-network.c: Likewise.
10110 * nss/nss_files/files-proto.c: Likewise.
10111 * nss/nss_files/files-pwd.c: Likewise.
10112 * nss/nss_files/files-rpc.c: Likewise.
10113 * nss/nss_files/files-service.c: Likewise.
10114 * nss/nss_files/files-sgrp.c: Likewise.
10115 * nss/nss_files/files-spwd.c: Likewise.
10116 * nss/nss_db/db-alias.c: Removed.
10117 * nss/nss_db/dummy-db.h: Removed.
10118
9ee76b5a
UD
101192011-06-02 Ulrich Drepper <drepper@gmail.com>
10120
10121 * nss/makedb.c: Rewritten to not use database library.
10122 * nss/Makefile: Update to build new makedb program.
10123
c71ca1f8
AJ
101242011-06-14 Andreas Jaeger <aj@suse.de>
10125
10126 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10127 memset declaration.
10128
3154bfb8
UD
101292011-06-10 Andreas Schwab <schwab@redhat.com>
10130
10131 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10132 tmpbuf.
10133
b350afab
RM
101342011-06-10 Roland McGrath <roland@hack.frob.com>
10135
decd4e50
RM
10136 * Makerules (shlib.lds): Fail if the linker script comes out empty.
10137 * elf/Makefile ($(objpfx)ld.so): Likewise.
10138
5615eaf2
RM
10139 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10140 Don't list ld.so twice in dependencies.
10141
10142 * posix/bug-regex31.c: Include <stdlib.h>.
10143
10144 * nscd/hstcache.c (cache_addhst): Remove unused variable.
10145
10146 * nis/nss_compat/compat-spwd.c
10147 (getspent_next_nss_netgr): Remove unused variable.
10148 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10149
10150 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10151 nonmembers" output to use the right array.
10152
10153 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10154
10155 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10156
10157 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10158 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10159 * catgets/gencat.c (read_input_file): Likewise.
10160 * locale/programs/locarchive.c (enlarge_archive): Likewise.
10161
10162 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10163 variable definition inside #if's controlling its use.
10164
10165 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10166
10167 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10168
10169 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10170
10171 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10172 unreachable code.
10173
10174 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10175
b68e08db
RM
10176 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10177 * configure: Regenerated.
10178
b350afab
RM
10179 * Makerules: Revert last change.
10180 * elf/Makefile: Likewise.
10181
28368601
RM
101822011-06-09 Roland McGrath <roland@hack.frob.com>
10183
10184 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10185 * elf/Makefile ($(objpfx)librtld.os): Likewise.
10186 (reloc-link): Likewise.
10187
11988f8f
UD
101882011-06-09 Ulrich Drepper <drepper@gmail.com>
10189
10190 * elf/Makefile: Add rules to build pldd.
10191 * elf/pldd.c: New file.
10192 * elf/pldd-xx.c: New file.
10193
e80fab37
UD
101942011-06-07 Ulrich Drepper <drepper@gmail.com>
10195
10196 * version.h: Update for 2.15 development version.
10197
9b849836
DM
101982011-06-07 David S. Miller <davem@davemloft.net>
10199
10200 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10201 ifuncs.
10202 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10203 elf_machine_lazy_rel): Likewise.
10204 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10205 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10206 elf_machine_lazy_rel): Likewise.
10207 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10208 dl_hwcap via passed in argument.
10209 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10210 Likewise.
10211
5a31b283
AK
102122011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10213
10214 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
10215
069e52f8
RM
102162011-06-06 Roland McGrath <roland@hack.frob.com>
10217
10218 [BZ #12849]
10219 * manual/fdl-1.1.texi: New file, verbatim from:
10220 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10221 * manual/lgpl-2.1.texi: New file, verbatim from:
10222 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10223 * manual/Makefile (licenses): New variable, list those new file names.
10224 (texis): Use it.
10225 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10226
10227 * manual/fdl.texi: File removed.
10228 * manual/lesser.texi: File removed.
10229 * manual/libc.texinfo (Copying, Documentation License):
10230 Use new @include file names, put @appendix directive before @include.
10231
f16846a5
JJ
102322011-06-04 Jakub Jelinek <jakub@redhat.com>
10233
10234 [BZ #12841]
10235 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10236 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10237 (mq_open): Add __NTH.
10238
3d29045b
L
102392011-06-02 H.J. Lu <hongjiu.lu@intel.com>
10240
10241 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10242 Assume Intel Core i3/i5/i7 processor if AVX is available.
10243
8c297311
UD
102442011-05-31 Ulrich Drepper <drepper@gmail.com>
10245
10246 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10247 typo.
10248
c8fc0c91
UD
102492011-05-31 Andreas Schwab <schwab@redhat.com>
10250
10251 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10252 memory. Use alloca_account. Fix memory leak when retrying.
10253
5b27a807
UD
102542011-05-31 Ulrich Drepper <drepper@gmail.com>
10255
356f8bc6
UD
10256 * version.h (RELEASE): Bump for 2.14 release.
10257 * include/features.h (__GLIBC_MINOR__): Bump to 14.
10258
5b27a807
UD
10259 * config.make.in (RANLIB): Remove entry.
10260
01f16ab0
UD
102612011-05-30 Ulrich Drepper <drepper@gmail.com>
10262
41fce8bd
UD
10263 * po/Makefile (po-sed-cmd): Add ksh to extensions.
10264 (libc.pot): Work around missing support for .ksh extension in xgettext.
10265
4769ae77
UD
10266 [BZ #12684]
10267 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
10268 if both request failed.
10269 (send_dg): In case of server errors clear resplen or *resplen2.
10270
6b1e7d19
UD
10271 [BZ #12454]
10272 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
10273 when there are multiple maps.
10274 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
10275 (_dl_fini): Remove test here.
10276
01f16ab0
UD
10277 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
10278
b1ebd700
UD
102792011-05-29 Ulrich Drepper <drepper@gmail.com>
10280
7ae22829
UD
10281 [BZ #12350]
10282 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
10283 bit from old_res_options.
10284 (gaih_inet): Likewise.
10285
553149f6 10286 [BZ #11099]
18a84741 10287 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
10288 as signed.
10289
652ffab1
UD
10290 * resolv/res_init.c (res_setoptions): Make the code more compact.
10291
16985fd0
UD
10292 [BZ #11558]
10293 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
10294 set RES_USEVC.
10295
0464f746
UD
10296 [BZ #11634]
10297 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
10298
7d17596c
UD
10299 * malloc/malloc.h: Mark malloc hook variables as deprecated.
10300
cf6bbbd7
UD
10301 [BZ #11781]
10302 * malloc/malloc.h: Declare malloc hook variables as volatile.
10303
13f1ab36
UD
10304 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
10305 in last patch.
10306
b1ebd700
UD
10307 [BZ #11799]
10308 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 10309 raise in the comment.
80e2212d
UD
10310 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10311 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10312 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 10313
ce67228d
UD
103142011-05-28 Ulrich Drepper <drepper@gmail.com>
10315
8887a920
UD
10316 [BZ #12811]
10317 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
10318 grow the buffers more if it already has to be sufficient.
10319 (build_wcs_upper_buffer): Likewise.
10320 * posix/regexec.c (check_matching): Likewise.
10321 (clean_state_log_if_needed): Likewise.
10322 (extend_buffers): Don't enlarge buffers beyond size of the input
10323 buffer.
10324 Patches mostly by Emil Wojak <emil@wojak.eu>.
10325 * posix/bug-regex32.c: New file.
10326 * posix/Makefile (tests): Add bug-regex32.
10327
4f031072
UD
10328 * locale/findlocale.c (_nl_find_locale): Return right away if
10329 _nl_explode_name failed.
10330 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10331
d0478f0c
UD
10332 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
10333
de81b246
UD
10334 * debug/xtrace.sh: Unify messages.
10335 * malloc/memusage.sh: Likewise.
10336
c738465a
UD
10337 [BZ #12813]
10338 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
10339 time symbol from vDSO. Substitute with vsyscall if not available.
10340 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
10341 __vdso_time.
10342
f1f929d7
UD
10343 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
10344 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
10345 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
10346 Add sendmmsg and internal_sendmmsg.
10347 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
10348 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
10349 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
10350
ce67228d
UD
10351 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
10352 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
10353 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
10354
e57420c6
UD
103552011-05-27 Ulrich Drepper <drepper@gmail.com>
10356
a8509ca5
UD
10357 [BZ #12813]
10358 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
10359 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
10360 available.
10361 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
10362 __vdso_getcpu.
10363
e57420c6
UD
10364 [BZ #12814]
10365 * iconvdata/Makefile (tests): Add bug-iconv9.
10366 * iconvdata/bug-iconv9.c: New file.
10367
4d07db15
AS
103682011-05-27 Andreas Schwab <schwab@redhat.com>
10369
10370 [BZ #12814]
10371 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
10372
ea486f69
JJ
103732011-05-25 Jakub Jelinek <jakub@redhat.com>
10374
10375 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10376 (struct user_regs_struct): Change intcs field back to cs.
10377
6f038433
UD
103782011-05-25 Ulrich Drepper <drepper@gmail.com>
10379
10380 * po/ja.po: Update from translation team.
10381
67f86a25
UD
103822011-05-23 Ulrich Drepper <drepper@gmail.com>
10383
10384 [BZ #12795]
10385 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
10386 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
10387
def7fbd6
AS
103882011-05-20 Andreas Schwab <schwab@redhat.com>
10389
10390 * stdlib/longlong.h: Update from GCC.
10391
f50ef8f1
AS
103922011-05-23 Andreas Schwab <schwab@redhat.com>
10393
10394 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
10395 parameter name.
10396 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
10397 Add parameter name.
10398 (__sysconf): Pass it down.
10399
de7ce8f1
UD
104002011-05-22 Ulrich Drepper <drepper@gmail.com>
10401
f2962a71
UD
10402 [BZ #12671]
10403 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
10404 some situations.
10405 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10406 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
10407 add in in __libc_use_alloca calls. Adjust callers.
10408 (glob): Use malloc in some situations.
10409
de7ce8f1
UD
10410 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
10411 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
10412 pltexit.
10413
aec84f53
UD
104142011-05-21 Ulrich Drepper <drepper@gmail.com>
10415
05bb4a68
UD
10416 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
10417 and CLOCK_BOOTTIME_ALARM.
10418
7ea72f99
UD
10419 [BZ #12782]
10420 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
10421 is returned.
10422
7e4afad5
UD
10423 * string/_strerror.c (__strerror_r): Print negative errors as signed
10424 numbers.
10425
8e211fec
UD
10426 [BZ #12777]
10427 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
10428 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
10429 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
10430
f7d82dc9
UD
10431 * configure.in: Fix typo in redirection and correct removal of test
10432 files in two cases.
10433
cc9e536d
UD
10434 [BZ #12788]
10435 * locale/setlocale.c (new_composite_name): Fix test to check for
10436 identical name of all categories.
10437
aec84f53
UD
10438 [BZ #12792]
10439 * libio/filedoalloc.c (local_isatty): New function.
10440 (_IO_file_doallocate): Use local_isatty.
10441 * stdio-common/perror.c (perror): In case a new stream is used
10442 forward the stream error.
10443 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
10444 error flag.
10445
78e64fdc
RT
104462011-05-20 Ulrich Drepper <drepper@gmail.com>
10447
34a9094f
UD
10448 [BZ #11869]
10449 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
10450 alloca.
10451 * include/alloca.h (extend_alloca_account): Define.
10452
78e64fdc
RT
10453 [BZ #11857]
10454 * posix/regex.h: Fix comments with documentation of user-accessible
10455 fields after compilation and describe correct free'ing of pattern
10456 after re_compile_pattern.
10457 Patch by Reuben Thomas <rrt@sc3d.org>.
10458
457bddfc
RA
104592011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
10460
10461 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
10462 and -mno-altivec to prevent the compiler from using Altivec and/or
10463 VSX instructions when the corresponding registers are not available.
10464
a4527b51
AS
104652011-05-19 Andreas Schwab <schwab@redhat.com>
10466
10467 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
10468
ed690b2f
UD
104692011-05-19 Ulrich Drepper <drepper@gmail.com>
10470
10471 * libio/freopen.c (freopen): Use __dup2, not dup2.
10472 * libio/freopen64.c (freopen64): Likewise.
10473
8db73634
L
104742011-05-17 H.J. Lu <hongjiu.lu@intel.com>
10475
10476 [BZ #12775]
10477 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
10478 * math/Makefile (tests): Add test-powl.
10479 (CFLAGS-test-powl.c): Define.
10480 * math/test-powl.c: New file.
10481
0a197a9d
L
104822011-05-16 H.J. Lu <hongjiu.lu@intel.com>
10483
10484 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
10485
ee30c380
UD
104862011-05-17 Ulrich Drepper <drepper@gmail.com>
10487
10488 [BZ #11837]
10489 * iconvdata/gb18030.c: Update to GB18020-2005.
10490
6ce75379
UD
104912011-05-16 Ulrich Drepper <drepper@gmail.com>
10492
a4b89fd8
AR
10493 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
10494 RE_SYNTAX_POSIX_AWK): Update to match recent development.
10495 Patch by Aharon Robbins <arnold@skeeve.com>.
10496
ea389b12
UD
10497 [BZ #11892]
10498 * stdlib/putenv.c (putenv): Don't always create copy of the variable
10499 on the stack.
10500
68a3f91f
UD
10501 [BZ #11895]
10502 * misc/pselect.c (__pselect): Handle timeout value errors hidden
10503 through underflows.
10504
15cc7dd1
UD
10505 [BZ #12766]
10506 * misc/error.c (error_at_line): Ensure file_name and old_file_name
10507 point to strings before performing equality test for error_one_per_line
10508 mode.
10509
f3799213
UD
10510 [BZ #11697]
10511 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
10512
d79a9c94
UD
10513 [BZ #11820]
10514 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10515 (struct user_fpregs_struct): Avoid __uint*_t types.
10516
56e5eb46
UD
10517 [BZ #6420]
10518 * malloc/mtrace.c (tr_where): Add additional parameter to point to
10519 symbol info. Use it instead of calling _dl_addr locally.
10520 (lock_and_info): New function.
10521 (tr_freehook): Call lock_and_info and pass symbol info as additional
10522 parameter to tr_where.
10523 (tr_mallochook): Likewise.
10524 (tr_reallochook): Likewise.
10525 (tr_memalignhook): Likewise.
10526
6ce75379
UD
10527 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
10528 used and couldn't be at all thread-safe.
10529
f8a3b5bf
UD
105302011-05-15 Ulrich Drepper <drepper@gmail.com>
10531
94b7cc37
UD
10532 * libio/freopen.c (freopen): Don't close old file descriptor
10533 before the new one is opened. Instead dup the new file descriptor
10534 to the old one after the new stream is created.
10535 * libio/freopen64.c (freopen64): Likewise.
10536 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
10537 * libio/fileops.c (_IO_new_file_close_it): Handle new
10538 _IO_FLAGS2_NOCLOSE flag.
10539 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
10540 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
10541 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
10542 _IO_FLAGS2_NOCLOSE flag.
10543 * include/unistd.h: Add hidden_proto for dup3.
10544 Define __have_dup3.
10545 * io/dup3.c: Define hidden symbol.
10546 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
10547
bd25564e
UD
10548 [BZ #7101]
10549 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
10550 when an incomplete long option is used.
10551 * posix/tst-getopt_long1.c: New file.
10552 * posix/Makefile (tests): Add tst-getopt_long1.
10553
c84cfef4
UD
10554 [BZ #10138]
10555 * scripts/config.guess: Update from autoconf-2.68.
10556 * scripts/config.sub: Likewise.
10557
3b85df27
UD
10558 [BZ #10157]
10559 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
10560 tests into ...
10561 (has_cpuclock): ...this. New function.
10562 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
10563 macro here based on has_cpuclock code.
10564
15a856b1
UD
10565 [BZ #10149]
10566 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10567 First byte (not low byte) is now always NUL.
10568 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
10569
05f399e6
UD
10570 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10571 Use non-cancelable interfaces.
10572
10a52685 10573 [BZ #9809]
94ecc67d
UD
10574 * locale/iso-639.def: Add entry for Sorani.
10575
f8a3b5bf
UD
10576 [BZ #11901]
10577 * include/stdlib.h: Move include protection to the right place.
10578 Define abort_msg_s. Declare __abort_msg with it.
10579 * stdlib/abort.c (__abort_msg): Adjust type.
10580 * assert/assert.c (__assert_fail_base): New function. Majority
10581 of code from __assert_fail. Allocate memory for __abort_msg with
10582 mmap.
10583 (__assert_fail): Now call __assert_fail_base.
10584 * assert/assert-perr.c: Remove bulk of implementation. Use
10585 __assert_fail_base.
10586 * include/assert.hL Declare __assert_fail_base.
10587 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
10588 mmap.
10589 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
10590
1af4e298
UD
105912011-05-14 Ulrich Drepper <drepper@gmail.com>
10592
f8a3b5bf 10593 [BZ #11952]
d26dfc60
MG
10594 [BZ #12453]
10595 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
10596 until all modules are registered in the DTV.
10597 * elf/Makefile: Add rules to build and run tst-tls19.
10598 * elf/tst-tls19.c: New file.
10599 * elf/tst-tls19mod1.c: New file.
10600 * elf/tst-tls19mod2.c: New file.
10601 * elf/tst-tls19mod3.c: New file.
10602 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
10603
2fc54d6f
UD
10604 [BZ #12083]
10605 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
10606 correctly.
10607
98d76b46
UD
10608 [BZ #12601]
10609 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
10610 two-byte sequence errors.
10611 * iconvdata/Makefile (tests): Add bug-iconv8.
10612 * iconvdata/bug-iconv8.c: New file.
10613
da3c19ef
UD
10614 [BZ #12626]
10615 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
10616 buf2 definition.
10617
ca408c15
UD
10618 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
10619
d6f67f7d
UD
10620 [BZ #12432]
10621 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
10622 (dummy_getcfa): New function.
10623 (init): Get _Unwind_GetCFA address, use dummy if not found.
10624 (backtrace_helper): In recursion check, also check whether CFA changes.
10625 (__backtrace): Completely initialize arg.
10626
1af4e298 10627 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
10628 storing incomplete byte sequence in state object. Avoid testing for
10629 guaranteed too small input if we know there is enough data available.
1af4e298 10630
da62f81b
AS
106312011-05-11 Andreas Schwab <schwab@redhat.com>
10632
10633 * Makeconfig (+link-pie): Indent.
10634 * Rules (binaries-pie): Define if $(have-fpie) and
10635 $(build-shared).
10636 (binaries-shared): Also filter out $(binaries-pie).
10637 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
10638 * nscd/Makefile (others-pie): Add nscd.
10639 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
10640 ($(objpfx)nscd): Remove command override.
10641 * login/Makefile (others-pie): Add pt_chown.
10642 ($(objpfx)pt_chown): Remove command override.
10643 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
10644 remove command overrides.
10645
fcabc0f8
UD
106462011-05-13 Ulrich Drepper <drepper@gmail.com>
10647
20030ae6
UD
10648 * libio/tst_putwc.c: Fix error messages.
10649
fcabc0f8
UD
10650 [BZ #12724]
10651 * libio/fileops.c (_IO_new_file_close_it): Always flush when
10652 currently writing and seek to current position when not.
10653 * libio/Makefile (tests): Add bug-fclose1.
10654 * libio/bug-fclose1.c: New file.
10655
320a5dc0
PB
106562011-05-12 Ulrich Drepper <drepper@gmail.com>
10657
10658 [BZ #12511]
10659 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
10660 don't set DF_1_NODELETE here.
10661 (do_lookup_x): When entering new entry test for copy relocation
10662 and if necessary set DF_1_NODELETE flag.
10663 * elf/tst-unique4.cc: New file.
10664 * elf/tst-unique4.h: New file.
10665 * elf/tst-unique4lib.cc: New file.
10666 * elf/Makefile: Add rules to build and run tst-unique4.
10667 Patch by Piotr Bury <pbury@goahead.com>.
10668
22836f52
UD
106692011-05-11 Ulrich Drepper <drepper@gmail.com>
10670
f574184a
UD
10671 [BZ #12052]
10672 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
10673
e1fb097f
UD
10674 [BZ #12625]
10675 * misc/mntent_r.c (addmntent): Flush the stream after the output
10676
22836f52
UD
10677 [BZ #12393]
10678 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
10679 (is_trusted_path_normalize): Skip initial colon. Append slash
10680 to empty buffer. Duplicate is_trusted_path code but allow
10681 constructed patch to be prefix.
10682 (is_dst): Allow $ORIGIN followed by /.
10683 (_dl_dst_substitute): Correct clearing of check_for_trusted.
10684 Correct testing of result of is_trusted_path_normalize
10685 (decompose_rpath): Fix warning.
10686
7b3b0b2a
UD
106872011-05-10 Ulrich Drepper <drepper@gmail.com>
10688
10689 [BZ #11257]
10690 * grp/initgroups.c (internal_getgrouplist): When we found the service
10691 list through the initgroups entry in nsswitch.conf do not always
10692 continue on a successful lookup. Don't always use the
eac80ce2 10693 __nss_group_database value if it is set.
7b3b0b2a
UD
10694 * nss/nsswitch.conf (initgroups): Change action for successful db
10695 lookup to continue for compatibility.
10696
2a81eaa5
UD
106972011-05-09 Ulrich Drepper <drepper@gmail.com>
10698
be97a69e
UD
10699 [BZ #11532]
10700 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
10701 and CP774 modules.
10702 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
10703 and CP774 modules.
10704 * iconvdata/tst-tables.sh: Likewise.
10705 * iconvdata/cp770.c: New file.
10706 * iconvdata/cp771.c: New file.
10707 * iconvdata/cp772.c: New file.
10708 * iconvdata/cp773.c: New file.
10709 * iconvdata/cp774.c: New file.
10710 * iconvdata/testdata/CP770: New file.
10711 * iconvdata/testdata/CP770..UTF8: New file.
10712 * iconvdata/testdata/CP771: New file.
10713 * iconvdata/testdata/CP771..UTF8: New file.
10714 * iconvdata/testdata/CP772: New file.
10715 * iconvdata/testdata/CP772..UTF8: New file.
10716 * iconvdata/testdata/CP773: New file.
10717 * iconvdata/testdata/CP773..UTF8: New file.
10718 * iconvdata/testdata/CP774: New file.
10719 * iconvdata/testdata/CP774..UTF8: New file.
10720
10721 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
10722 END CHARMAP line.
10723 * iconvdata/gen-8bit-gap.sh: Likewise.
10724 * iconvdata/gen-8bit.sh: Likewise.
10725
c1e9e399
UD
10726 * locale/iso-639.def: Add ary entry.
10727
24c55fb3 10728 [BZ #11258]
96b4b1b0
UD
10729 * locale/C-translit.h.in: Add U20A1 transliteration.
10730
bdc2f971
KB
10731 [BZ #12178]
10732 * locale/iso-639.def: Add wae entry.
10733 Patch by Kevin Bortis <bortis@translate-wae.ch>.
10734
2952b117
UD
10735 [BZ #12545]
10736 * locale/programs/localedef.c (construct_output_path): Use ssize_t
10737 for n.
10738
2a81eaa5
UD
10739 [BZ #12711]
10740 * locale/C-translit.h.in: Add entry for U20B9.
10741 Patch by pravin.d.s@gmail.com.
10742
28377d1b
UD
107432011-05-08 Ulrich Drepper <drepper@gmail.com>
10744
7fb90fb8
UD
10745 [BZ #12713]
10746 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
10747 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
10748 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
10749 in rtld. Use *stat64.
7fb90fb8 10750 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 10751 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 10752 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
10753 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
10754 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
10755 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
10756 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
10757 __fstatat64 macros.
7fb90fb8
UD
10758 * include/dirent.h: Add libc_hidden_proto for rewinddir.
10759 * dirent/rewinddir.c: Add libc_hidden_def.
10760 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 10761 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 10762
28377d1b
UD
10763 * include/dirent.h (__alloc_dir): Add flags parameter.
10764 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
10765 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
10766 __alloc_dir.
10767 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
10768 from fdopendir if O_CLOEXEC is already set.
10769
66bdbaa4
AM
107702011-03-15 Alan Modra <amodra@gmail.com>
10771
10772 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
10773 l_tls_firstbyte_offset non-zero. Save padding offset in
10774 l_tls_firstbyte_offset for later use.
10775 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
10776 freeing static tls block.
10777
95721191
JN
107782011-03-05 Jonathan Nieder <jrnieder@gmail.com>
10779
10780 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
10781 where #ifdef was intended. The intent is to prevent ARG_MAX from
10782 being defined by the kernel headers.
10783
f87dfb1f
UD
107842011-05-07 Ulrich Drepper <drepper@gmail.com>
10785
10786 [BZ #12734]
10787 * resolv/resolv.h: Define RES_NOTLDQUERY.
10788 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
10789 no-tld-query and set RES_NOTLDQUERY.
10790 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
10791 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
10792 modern BIND to search name as TLD unless forbidden.
10793
47c3cd7a
UD
107942011-05-07 Petr Baudis <pasky@suse.cz>
10795 Ulrich Drepper <drepper@gmail.com>
10796
10797 [BZ #12393]
10798 * elf/dl-load.c (fillin_rpath): Move trusted path check...
10799 (is_trusted_path): ...to here.
c1e9ea35 10800 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 10801 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 10802 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 10803
8a35c912
PP
108042011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10805
10806 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
10807 __BEGIN/__END_DECLS.
10808
acd41f47
UD
108092011-05-06 Ulrich Drepper <drepper@gmail.com>
10810
10811 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
10812 NSS_STATUS_NOTFOUND if no record was found.
10813
597df647
AS
108142011-05-05 Andreas Schwab <schwab@redhat.com>
10815
10816 * sunrpc/Makefile (headers): Add rpc/netdb.h.
10817 (headers-not-in-tirpc): Remove rpc/netdb.h
10818 * resolv/netdb.h: Revert last change.
10819
b9af1301
PP
108202011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10821
10822 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
10823 circular dependency between libgcc.a and libc.a.
10824
4e34d5f5
AS
108252011-05-05 Andreas Schwab <schwab@redhat.com>
10826
10827 * resolv/netdb.h: Don't include <rpc/netdb.h>.
10828 * nis/Makefile: Don't install rpcsvc/*.
10829 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
10830 instead of <rpc/types.h>.
10831 (MAXHOSTNAMELEN): Define.
10832
00ee369c
AS
108332011-05-03 Andreas Schwab <schwab@redhat.com>
10834
10835 * elf/ldconfig.c (add_dir): Don't crash on empty path.
10836
0b592a30
MB
108372011-04-28 Maciej Babinski <mbabinski@google.com>
10838
10839 [BZ #12714]
10840 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
10841 gethostbyname4_r when IPv6 results are possible.
10842
6e04cbbe
UD
108432011-05-02 Ulrich Drepper <drepper@gmail.com>
10844
10845 [BZ #12723]
10846 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
10847 _PC_PIPE_BUF handling.
10848
e4ecafe0
BH
108492011-04-30 Bruno Haible <bruno@clisp.org>
10850
10851 [BZ #12717]
10852 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
10853 * resolv/netdb.h (getnameinfo): Change type of flags parameter
10854 to 'int'.
10855 * inet/getnameinfo.c (getnameinfo): Likewise.
10856
125ee683
UD
108572011-04-29 Ulrich Drepper <drepper@gmail.com>
10858
10859 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
10860 to groups setting in database lookup.
10861 * nss/nsswitch.conf: Add initgroups entry.
10862
b722481a
EB
108632011-04-22 Ulrich Drepper <drepper@gmail.com>
10864
10865 [BZ #12685]
10866 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
10867 mode string.
10868 Patch by Eric Blake <eblake@redhat.com>.
10869
4df46dbd
L
108702011-04-20 H.J. Lu <hongjiu.lu@intel.com>
10871
10872 * sunrpc/Makefile (need-export-routines): Add svc_run.
10873 (routines): Remove svc_run.
10874 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
10875 * sunrpc/clnt_perr.c (clnt_perrno): Export.
10876 * sunrpc/svc_run.c (svc_run): Likewise.
10877 * sunrpc/svc_udp.c (svcudp_create): Likewise.
10878
e84142d2
UD
108792011-04-21 Ulrich Drepper <drepper@gmail.com>
10880
10881 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
10882 problem in reallocation in last patch.
10883
877175d8
UD
108842011-04-20 Ulrich Drepper <drepper@gmail.com>
10885
10886 * sunrpc/Makefile: Move inclusion of Rules.
10887
ab8eed78
UD
108882011-04-19 Ulrich Drepper <drepper@gmail.com>
10889
10890 * nss/nss_files/files-initgroups.c: New file.
10891 * nss/Makefile (libnss_files-routines): Add files-initgroups.
10892 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
10893 _nss_files_initgroups_dyn.
10894
e3d8f584
RS
108952011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
10896
10897 * elf/elf.h (R_ARM_IRELATIVE): Define.
10898
af190f45
UD
108992011-04-19 Ulrich Drepper <drepper@gmail.com>
10900
10901 * po/ru.po: Update from translation team.
10902
53cf59ef
UD
109032011-04-17 Ulrich Drepper <drepper@gmail.com>
10904
10905 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
10906 dependencies.
10907
4c559bcd
MF
109082011-02-06 Mike Frysinger <vapier@gentoo.org>
10909
10910 [BZ #12653]
10911 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
10912 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
10913 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10914 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10915 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10916
4420675c
AS
109172011-03-28 Andreas Schwab <schwab@linux-m68k.org>
10918
10919 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
10920 differing bytes.
10921 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10922 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10923 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10924
75ea32ab
UD
109252011-04-17 Ulrich Drepper <drepper@gmail.com>
10926
10927 [BZ #12420]
10928 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
10929 storing it.
10930 * stdlib/bug-getcontext.c: New file.
10931 * stdlib/Makefile: Add rules to build and run bug-getcontext.
10932
27390476
AK
109332011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10934
10935 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
10936 instructions into .machine "z9-109".
10937 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10938 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10939
10442705
AK
109402011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10941
10942 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
10943 between environment variables and auxiliary vector.
10944
7b57bfe5
UD
109452011-04-16 Ulrich Drepper <drepper@gmail.com>
10946
10947 * Makefile: Add rules to build linkobj/libc.so.
10948 * include/libc-symbols.h: Define libc_hidden_nolink.
10949 * include/rpc/auth.h: Mark functions which are to be hidden.
10950 * include/rpc/auth_des.h: Likewise.
10951 * include/rpc/auth_unix.h: Likewise.
10952 * include/rpc/clnt.h: Likewise.
10953 * include/rpc/des_crypt.h: Likewise.
10954 * include/rpc/key_prot.h: Likewise.
10955 * include/rpc/pmap_clnt.h: Likewise.
10956 * include/rpc/pmap_prot.h: Likewise.
10957 * include/rpc/pmap_rmt.h: Likewise.
10958 * include/rpc/rpc_msg.h: Likewise.
10959 * include/rpc/svc.h: Likewise.
10960 * include/rpc/svc_auth.h: Likewise.
10961 * include/rpc/xdr.h: Likewise.
10962 * nis/Makefile: Link all DSOs against linkobj/libc.so.
10963 * nss/Makefile: Likewise.
10964 * sunrpc/Makefile: Don't install headers. Build library with normal
10965 entry points. Don't build rpcinfo. Link RPC tests appropriately.
10966 * sunrpc/auth_des.c: Hide exported symbols by default, export some
10967 for the compat linking library. Remove use of INTDEF/INTUSE.
10968 * sunrpc/auth_none.c: Likewise.
10969 * sunrpc/auth_unix.c: Likewise.
10970 * sunrpc/authdes_prot.c: Likewise.
10971 * sunrpc/authuxprot.c: Likewise.
10972 * sunrpc/clnt_gen.c: Likewise.
10973 * sunrpc/clnt_perr.c: Likewise.
10974 * sunrpc/clnt_raw.c: Likewise.
10975 * sunrpc/clnt_simp.c: Likewise.
10976 * sunrpc/clnt_tcp.c: Likewise.
10977 * sunrpc/clnt_udp.c: Likewise.
10978 * sunrpc/clnt_unix.c: Likewise.
10979 * sunrpc/des_crypt.c: Likewise.
10980 * sunrpc/des_soft.c: Likewise.
10981 * sunrpc/get_myaddr.c: Likewise.
10982 * sunrpc/key_call.c: Likewise.
10983 * sunrpc/key_prot.c: Likewise.
10984 * sunrpc/netname.c: Likewise.
10985 * sunrpc/pm_getmaps.c: Likewise.
10986 * sunrpc/pm_getport.c: Likewise.
10987 * sunrpc/pmap_clnt.c: Likewise.
10988 * sunrpc/pmap_prot.c: Likewise.
10989 * sunrpc/pmap_prot2.c: Likewise.
10990 * sunrpc/pmap_rmt.c: Likewise.
10991 * sunrpc/publickey.c: Likewise.
10992 * sunrpc/rpc_cmsg.c: Likewise.
10993 * sunrpc/rpc_common.c: Likewise.
10994 * sunrpc/rpc_dtable.c: Likewise.
10995 * sunrpc/rpc_prot.c: Likewise.
10996 * sunrpc/rpc_thread.c: Likewise.
10997 * sunrpc/rtime.c: Likewise.
10998 * sunrpc/svc.c: Likewise.
10999 * sunrpc/svc_auth.c: Likewise.
11000 * sunrpc/svc_authux.c: Likewise.
11001 * sunrpc/svc_raw.c: Likewise.
11002 * sunrpc/svc_run.c: Likewise.
11003 * sunrpc/svc_simple.c: Likewise.
11004 * sunrpc/svc_tcp.c: Likewise.
11005 * sunrpc/svc_udp.c: Likewise.
11006 * sunrpc/svc_unix.c: Likewise.
11007 * sunrpc/svcauth_des.c: Likewise.
11008 * sunrpc/xcrypt.c: Likewise.
11009 * sunrpc/xdr.c: Likewise.
11010 * sunrpc/xdr_array.c: Likewise.
11011 * sunrpc/xdr_float.c: Likewise.
11012 * sunrpc/xdr_intXX_t.c: Likewise.
11013 * sunrpc/xdr_mem.c: Likewise.
11014 * sunrpc/xdr_rec.c: Likewise.
11015 * sunrpc/xdr_ref.c: Likewise.
11016 * sunrpc/xdr_sizeof.c: Likewise.
11017 * sunrpc/xdr_stdio.c: Likewise.
11018
e6c61494
UD
110192011-04-10 Ulrich Drepper <drepper@gmail.com>
11020
11021 [BZ #12650]
11022 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11023 * sysdeps/ia64/dl-tls.h: Likewise.
11024 * sysdeps/powerpc/dl-tls.h: Likewise.
11025 * sysdeps/s390/dl-tls.h: Likewise.
11026 * sysdeps/sh/dl-tls.h: Likewise.
11027 * sysdeps/sparc/dl-tls.h: Likewise.
11028 * sysdeps/x86_64/dl-tls.h: Likewise.
11029 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11030
34fe483e
AS
110312011-03-14 Andreas Schwab <schwab@redhat.com>
11032
11033 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11034 rpath element also skip the following colon.
11035 (expand_dynamic_string_token): Add is_path parameter and pass
11036 down to DL_DST_REQUIRED and _dl_dst_substitute.
11037 (decompose_rpath): Call expand_dynamic_string_token with
11038 non-zero is_path. Ignore empty rpaths.
11039 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11040 with zero is_path.
11041
f12a32e6
AS
110422011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11043
11044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11045 Make cancelable.
11046
38a7d692
UD
110472011-04-09 Ulrich Drepper <drepper@gmail.com>
11048
11049 [BZ #12655]
11050 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11051 Patch by Filipe David Manana <fdmanana@apache.org>.
11052
e451d22b
AS
110532011-04-07 Andreas Schwab <schwab@redhat.com>
11054
11055 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11056 Maintain aligned stack.
11057 (CHECK_RSP): Remove unused macro.
11058
dedc7c7b
UD
110592011-04-03 Ulrich Drepper <drepper@gmail.com>
11060
11061 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11062 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11063
94521213
UD
110642011-04-02 Ulrich Drepper <drepper@gmail.com>
11065
11066 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11067
8cb700c0 11068 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 11069
0354e355
L
110702011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11071
11072 [BZ #12518]
11073 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11074 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11075 * sysdeps/x86_64/memmove.c: New file.
11076 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11077 (memcpy): Renamed to ...
11078 (__new_memcpy): This.
11079 (memcpy): Provide GLIBC_2_14 memcpy.
11080 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11081 (memcpy): Provide GLIBC_2_2_5 memcpy.
11082
8593482f
UD
110832011-04-01 Ulrich Drepper <drepper@gmail.com>
11084
11085 [BZ #12631]
11086 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11087
81a5726b
AS
110882011-03-30 Andreas Schwab <schwab@redhat.com>
11089
11090 * misc/syncfs.c: New file.
11091 * misc/Makefile (routines): Add syncfs.
11092 * posix/unistd.h: Declare syncfs.
11093 * sysdeps/unix/syscalls.list: Add syncfs.
11094
00e5419f
AS
110952011-04-01 Andreas Schwab <schwab@redhat.com>
11096
11097 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11098 open_by_handle_at.
11099 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11100 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11101 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11102 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11103 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11104 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11105 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11106
748876bf
UD
111072011-04-01 Ulrich Drepper <drepper@gmail.com>
11108
658e451d
UD
11109 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11110 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11111 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11112 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11113 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11114 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11115 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11116
748876bf
UD
11117 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11118 sync_file_range.c with -fexceptions.
11119 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11120 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11121 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11122 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11123 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11124 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11125 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
11126 sync_file_range as cancellation point
11127 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11128 now a wrapper around __call_sync_file_range with cancellation handling.
11129 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11130 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11131 function name to __call_sync_file_range.
11132 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11133 Add call_sync_file_range.
748876bf 11134
6e63d5e1
AS
111352011-04-01 Andreas Schwab <schwab@redhat.com>
11136
11137 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 11138 bits/timex.h.
6e63d5e1 11139
46998f74
UD
111402011-04-01 Ulrich Drepper <drepper@gmail.com>
11141
4c1423ed
UD
11142 * iconv/iconv.h: Fix typo in comment.
11143 * io/fcntl.h: Likewise.
11144 * libio/stdio.h: Likewise.
11145 * posix/spawn.h: Likewise.
11146 * posix/unistd.h: Likewise.
11147 * stdlib/stdlib.h: Likewise.
11148 * time/time.h: Likewise.
11149 * wcsmbs/wchar.h: Likewise.
11150
158648c0
UD
11151 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11152 open_by_handle): Add.
11153 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11154 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
11155 Augment a few comments.
11156 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11157 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11158 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11159 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11160 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11161 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11162 open_by_handle.
11163
46998f74
UD
11164 * io/fcntl.h (AT_EMPTY_PATH): Define.
11165
83fe108b
UD
111662011-03-30 Ulrich Drepper <drepper@gmail.com>
11167
11168 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11169 * sysdeps/unix/sysv/linux/bits/time.h: New file.
11170 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11171 to...
11172 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
11173 * Versions.def: Add GLIBC_2.14.
11174 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11175 Export.
83fe108b 11176
bb242059
UD
111772011-03-22 Ulrich Drepper <drepper@gmail.com>
11178
11179 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11180 round counter.
11181 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11182
c97a1282
L
111832011-03-20 H.J. Lu <hongjiu.lu@intel.com>
11184
11185 [BZ #12597]
11186 * string/test-strncmp.c (do_page_test): New function.
11187 (check2): Likewise.
11188 (test_main): Call check2.
11189 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11190
2a115601
UD
111912011-03-20 Ulrich Drepper <drepper@gmail.com>
11192
11193 [BZ #12587]
11194 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11195 Handle cache information in CPU leaf 4.
11196 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11197
8126d904
UD
111982011-03-18 Ulrich Drepper <drepper@gmail.com>
11199
042c49c6 11200 [BZ #12583]
8126d904
UD
11201 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11202 character representation.
11203 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11204
ccfe366e
RA
112052011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
11206
11207 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11208 END(__isnan) to END(__isnanf) to match function entry point/label
11209 EALIGN(__isnanf,...).
11210
c6e13027
JJ
112112011-03-10 Jakub Jelinek <jakub@redhat.com>
11212
11213 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11214
33f85a3f
UD
112152011-03-10 Ulrich Drepper <drepper@gmail.com>
11216
028478fa
UD
11217 [BZ #12510]
11218 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11219 copy from the symbol referenced in the relocation to initialize the
11220 used variable.
11221 Patch by Piotr Bury <pbury@goahead.com>.
11222 * elf/Makefile: Add rules to build and tst-unique3.
11223 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11224 * elf/tst-unique3.cc: New file.
11225 * elf/tst-unique3.h: New file.
11226 * elf/tst-unique3lib.cc: New file.
11227 * elf/tst-unique3lib2.cc: New file.
11228
33f85a3f
UD
11229 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11230
03592fc7
MF
112312011-03-10 Mike Frysinger <vapier@gentoo.org>
11232
11233 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11234 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
11235 to _start.
03592fc7 11236
6a5ee102
UD
112372011-03-06 Ulrich Drepper <drepper@gmail.com>
11238
11239 * elf/dl-load.c (_dl_map_object): If we are looking for the first
11240 to-be-loaded object along a path to loader is ld.so.
11241
7e4ba49c
HJ
112422011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11243 Ulrich Drepper <drepper@gmail.com>
11244
11245 * sysdeps/x86_64/memset.S: After aligning destination, code
11246 branches to different locations depending on the value of
11247 misalignment, when multiarch is enabled. Fix this.
11248
112492011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11250
11251 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11252 Set _x86_64_preferred_memory_instruction for AMD processsors.
11253 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11254 Set bit_Prefer_SSE_for_memop for AMD processors.
11255
13a804de
UD
112562011-03-04 Ulrich Drepper <drepper@gmail.com>
11257
11258 * libio/fmemopen.c (fmemopen): Optimize a bit.
11259
9d25c392
AS
112602011-03-03 Andreas Schwab <schwab@redhat.com>
11261
11262 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
11263
a5543c6a
RM
112642011-03-03 Roland McGrath <roland@redhat.com>
11265
11266 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
11267
012d35f7
DM
112682011-02-28 Aurelien Jarno <aurelien@aurel32.net>
11269
7e4ba49c 11270 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
11271 __bzero_ultra1 instead of __memset_ultra1.
11272
4bff6e01
AS
112732011-02-23 Andreas Schwab <schwab@redhat.com>
11274 Ulrich Drepper <drepper@gmail.com>
11275
11276 [BZ #12509]
11277 * include/link.h (struct link_map): Add l_orig_initfini.
11278 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
11279 returning unsuccessfully.
11280 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
11281 close of a file loaded at startup, restore the original l_initfini
11282 list.
11283 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
11284 list, store the pointer.
11285 * elf/Makefile ($(objpfx)noload-mem): New rule.
11286 (noload-ENV): Define.
11287 (tests): Add $(objpfx)noload-mem.
11288 * elf/noload.c: Include <memcheck.h>.
11289 (main): Call mtrace. Close all opened handles.
11290
f2092faf
AS
112912011-02-17 Andreas Schwab <schwab@redhat.com>
11292
11293 [BZ #12454]
11294 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
11295 dependencies are missing.
11296
6c8a2e88
ST
112972011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
11298
f2092faf 11299 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
11300 Hurd needs munmap.
11301 * sysdeps/mach/hurd/ifreq.h: New file.
11302
84a42118
PB
113032011-01-27 Petr Baudis <pasky@suse.cz>
11304 Ulrich Drepper <drepper@gmail.com>
11305
071f805e 11306 [BZ 12445]#
84a42118
PB
11307 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
11308 to extend_alloca().
11309 * stdio-common/bug23.c: New file.
11310 * stdio-common/Makefile (tests): Add bug23.
11311
e23fe25b
AS
113122010-09-28 Andreas Schwab <schwab@redhat.com>
11313 Ulrich Drepper <drepper@gmail.com>
11314
11315 [BZ #12489]
11316 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
11317 before performing relro protection. At old place add assertion
11318 to make sure nothing changed.
11319
d3f02e10
NS
113202011-02-17 Nathan Sidwell <nathan@codesourcery.com>
11321 Glauber de Oliveira Costa <glommer@gmail.com>
11322
11323 * elf/elf.h: Add new ARM TLS relocs.
11324
d55fd7a5
RA
113252011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
11326
11327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11328 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
11329 cast from r3.
11330 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
11331 'tests' variable.
11332 * sysdeps/wordsize-64/tst-writev.c: New file.
11333
2206397e
RA
113342011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
11335
11336 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
11337 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
11338 insns in _dl_start to prevent a TOC reference before relocs are
11339 resolved.
11340
e9433893
UD
113412011-02-15 Ulrich Drepper <drepper@gmail.com>
11342
11343 [BZ #12469]
11344 * Makeconfig: Remove RANLIB definition.
11345 * Makerules: Don't use RANLIB.
11346 * aclocal.m4: Remove ranlib test.
11347 * configure.in: No need to check for ranlib.
11348 * elf/rtld-Rules: Don't use RANLIB.
11349
f75286c6
ST
113502011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11351
8e31c82d
ST
11352 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
11353 protection macro.
11354 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
11355 inclusion protection macro.
11356
f75286c6
ST
11357 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
11358 SIGRTMIN and SIGRTMAX and print information in that case only when
11359 SIGRTMIN is defined.
11360
c1d0e639
JJ
113612011-02-11 Jakub Jelinek <jakub@redhat.com>
11362
11363 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
11364 arginfo fn returning -1.
11365
11366 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
11367 and thousands string is zero terminated.
11368
edf9294e
AS
113692011-02-03 Andreas Schwab <schwab@redhat.com>
11370
11371 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
11372 sysdeps/unix/sysv/linux/bits/socket.h.
11373
2b7e92df
ST
113742011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
11375
edf9294e
AS
11376 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
11377 (__CPU_COUNT): Remove old macros.
11378 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
11379 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
11380 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
11381 (__sched_cpualloc, __sched_cpufree): Add declarations.
11382
a4c7ea7b
UD
113832011-02-05 Ulrich Drepper <drepper@gmail.com>
11384
11385 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
11386 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
11387 * nscd/aicache.c (addhstaiX): Return timeout of added value.
11388 (readdhstai): Return value of addhstaiX call.
11389 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
11390 (addgrbyX): Return value returned by cache_addgr.
11391 (readdgrbyname): Return value returned by addgrbyX.
11392 (readdgrbygid): Likewise.
11393 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
11394 (addpwbyX): Return value returned by cache_addpw.
11395 (readdpwbyname): Return value returned by addhstbyX.
11396 (readdpwbyuid): Likewise.
11397 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
11398 (addservbyX): Return value returned by cache_addserv.
11399 (readdservbyname): Return value returned by addservbyX:
11400 (readdservbyport): Likewise.
11401 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
11402 (addhstbyX): Return value returned by cache_addhst.
11403 (readdhstbyname): Return value returned by addhstbyX.
11404 (readdhstbyaddr): Likewise.
11405 (readdhstbynamev6): Likewise.
11406 (readdhstbyaddrv6): Likewise.
11407 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
11408 (readdinitgroups): Return value returned by addinitgroupsX.
11409 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
11410 (prune_cache): Keep track of timeout value of re-added entries.
11411 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
11412 * nscd/nscd.h: Adjust prototypes of readd* functions.
11413
a0bf67cc
RM
114142011-02-04 Roland McGrath <roland@redhat.com>
11415
11416 * nis/nis_server.c (nis_servstate): Use the right name for 0.
11417 (nis_stats): Likewise.
11418 * nis/nis_modify.c (nis_modify): Likewise.
11419 * nis/nis_remove.c (nis_remove): Likewise.
11420 * nis/nis_add.c (nis_add): Likewise.
11421
11422 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
11423
11424 * posix/fnmatch_loop.c: Add some consts.
11425
11426 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
11427
435b95eb
L
114282011-02-02 H.J. Lu <hongjiu.lu@intel.com>
11429
11430 [BZ #12460]
11431 * config.make.in (config-cflags-novzeroupper): Define.
11432 * configure.in: Substitute libc_cv_cc_novzeroupper.
11433 * elf/Makefile (AVX-CFLAGS): Define.
11434 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
11435 (CFLAGS-tst-auditmod4a.c): Likewise.
11436 (CFLAGS-tst-auditmod4b.c): Likewise.
11437 (CFLAGS-tst-auditmod6b.c): Likewise.
11438 (CFLAGS-tst-auditmod6c.c): Likewise.
11439 (CFLAGS-tst-auditmod7b.c): Likewise.
11440 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
11441
8517b15e
UD
114422011-02-02 Ulrich Drepper <drepper@gmail.com>
11443
11444 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
11445 function to the callback.
11446 Patch partly by Jiri Olsa <jolsa@redhat.com>.
11447
10a656fe
AS
114482011-02-02 Andreas Schwab <schwab@redhat.com>
11449
11450 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
11451 of errno.
11452
968dad0a
UD
114532011-01-19 Ulrich Drepper <drepper@gmail.com>
11454
9f94d2ea 11455 [BZ #11724]
968dad0a
UD
11456 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
11457 of constructors.
11458 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
11459 of destructors.
11460 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
11461
11462 [BZ #11724]
11463 * elf/Makefile: Add rules to build and run new test.
11464 * elf/tst-initorder.c: New file.
11465 * elf/tst-initorder.exp: New file.
11466 * elf/tst-initordera1.c: New file.
11467 * elf/tst-initordera2.c: New file.
11468 * elf/tst-initordera3.c: New file.
11469 * elf/tst-initordera4.c: New file.
11470 * elf/tst-initorderb1.c: New file.
11471 * elf/tst-initorderb2.c: New file.
11472 * elf/tst-order-a1.c: New file.
11473 * elf/tst-order-a2.c: New file.
11474 * elf/tst-order-a3.c: New file.
11475 * elf/tst-order-a4.c: New file.
11476 * elf/tst-order-b1.c: New file.
11477 * elf/tst-order-b2.c: New file.
11478 * elf/tst-order-main.c: New file.
11479 New test case by George Gensure <werkt0@gmail.com>.
11480
86e92359
UD
114812010-10-01 Andreas Schwab <schwab@redhat.com>
11482
11483 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11484 decoding ACE if AI_CANONIDN.
11485
5d5732b0
UD
114862011-01-18 Ulrich Drepper <drepper@gmail.com>
11487
11488 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
11489
a77e8cbc
UD
114902011-01-17 Ulrich Drepper <drepper@gmail.com>
11491
6392473f
UD
11492 * version.h (RELEASE): Bump for 2.13 release.
11493 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
11494
620a0529
UD
11495 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
11496
18ba70a5
UD
11497 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
11498 MADV_NOHUGEPAGE.
32465c3e
UD
11499 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
11500 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11501 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11502 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11503 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11504 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11505
c0dafcf1
UD
11506 * posix/getconf.c: Update copyright year.
11507 * catgets/gencat.c: Likewise.
11508 * csu/version.c: Likewise.
11509 * debug/catchsegv.sh: Likewise.
11510 * debug/xtrace.sh: Likewise.
11511 * elf/ldconfig.c: Likewise.
11512 * elf/ldd.bash.in: Likewise.
11513 * elf/sprof.c (print_version): Likewise.
11514 * iconv/iconv_prog.c: Likewise.
11515 * iconv/iconvconfig.c: Likewise.
11516 * locale/programs/locale.c: Likewise.
11517 * locale/programs/localedef.c: Likewise.
11518 * malloc/memusage.sh: Likewise.
11519 * malloc/mtrace.pl: Likewise.
11520 * nscd/nscd.c (print_version): Likewise.
11521 * nss/getent.c: Likewise.
11522
a77e8cbc
UD
11523 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
11524 PF_CAIF, and PF_ALG.
11525 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11526
77e8bddf
AS
115272011-01-16 Andreas Schwab <schwab@linux-m68k.org>
11528
1f20b93a
AS
11529 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
11530 (modules-names): Use them.
11531 (ifunc-test-modules, ifunc-pie-tests): Define.
11532 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
11533 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
11534 (test-extras): Likewise.
11535 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
11536 $(compile-command.c).
11537 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
11538 (all-built-dso): Define.
11539 (check-textrel.out, check-execstack.out): Depend on it.
11540
77e8bddf
AS
11541 * configure.in: Don't override --enable-multi-arch.
11542
bc425b33
UD
115432011-01-15 Ulrich Drepper <drepper@gmail.com>
11544
11545 [BZ #6812]
11546 * nscd/hstcache.c (tryagain): Define.
11547 (cache_addhst): Return tryagain not notfound for temporary errors.
11548 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
11549 failed.
11550
794c3ad3
UD
115512011-01-14 Ulrich Drepper <drepper@gmail.com>
11552
70181fdd
UD
11553 [BZ #10563]
11554 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
11555 to make the syscall.
11556 * sysdeps/unix/sysv/linux/setgroups.c: New file.
11557
794c3ad3
UD
11558 [BZ #12378]
11559 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
11560 and fall back to matching as normal character if the string ends before
11561 the matching ']' is found. This is what POSIX requires.
11562 * posix/testfnm.c: Adjust test result.
11563 * posix/globtest.sh: Adjust test result. Add new test.
11564 * posix/tst-fnmatch.input: Likewise.
11565 * posix/tst-fnmatch2.c: Add new test.
11566
68dc9497
AS
115672010-12-28 Andreas Schwab <schwab@linux-m68k.org>
11568
11569 * elf/Makefile (check-execstack): Revert last change. Depend on
11570 check-execstack.h.
11571 (check-execstack.h): New target.
11572 (generated): Add check-execstack.h.
11573 * elf/check-execstack.c: Include "check-execstack.h".
11574 (main): Revert last change.
11575 (handle_file): Return zero if GNU_STACK is absent and
11576 DEFAULT_STACK_PERMS doesn't include PF_X.
11577
451f001b
UD
115782011-01-13 Ulrich Drepper <drepper@gmail.com>
11579
cfa28e56
UD
11580 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
11581 in child fails because the descriptor is already closed.
8cf8ce17
UD
11582 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
11583 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
11584 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 11585
1086d70d
UD
11586 [BZ #12397]
11587 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
11588 syscall.
11589
451f001b
UD
11590 [BZ #10484]
11591 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
11592 temporary buffer used to handle multi lookups locally.
a85b5cb4 11593 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 11594
08769175
UD
115952011-01-12 Ulrich Drepper <drepper@gmail.com>
11596
11597 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
11598 loader is ld.so.
11599
5e49c52e
UD
116002011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
11601
11602 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
11603 alignment for SSE2.
11604
60522a5f
UD
116052011-01-12 Ulrich Drepper <drepper@gmail.com>
11606
11607 [BZ #12394]
11608 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
11609 characters. When rounding increased number of integer digits recompute
11610 number of groups.
11611 * stdio-common/tst-grouping.c: New file.
11612 * stdio-common/Makefile: Add rules to build and run tst-grouping.
11613
f257bbd7
UD
116142011-01-09 Ulrich Drepper <drepper@gmail.com>
11615
11616 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
11617 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
11618
11619 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
11620 void.
11621 * bits/select.h: Likewise.
11622
fa9c15cb
UD
116232011-01-08 Ulrich Drepper <drepper@gmail.com>
11624
11625 * po/ja.po: Update from translation team.
11626
16c2895f
DM
116272011-01-04 David S. Miller <davem@sunset.davemloft.net>
11628
11629 [BZ #11155]
11630 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
11631 implementation just like for lxstat, fxstatat, et al.
11632
2543fef2
JM
116332010-12-27 Jim Meyering <meyering@redhat.com>
11634
11635 [BZ #12348]
11636 * posix/regexec.c (build_trtable): Return failure indication upon
11637 calloc failure. Otherwise, re_search_internal could infloop on OOM.
11638
98727dbe
UD
116392010-12-25 Ulrich Drepper <drepper@gmail.com>
11640
5bd6dc5c
UD
11641 [BZ #12201]
11642 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
11643 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
11644 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
11645 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
11646
97983464
UD
11647 [BZ #12207]
11648 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
11649
98727dbe
UD
11650 [BZ #12204]
11651 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
11652 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
11653
4a531bb0
L
116542010-12-15 H.J. Lu <hongjiu.lu@intel.com>
11655
11656 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
11657 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
11658 script has SORT_BY_INIT_PRIORITY.
11659 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
11660 NO_CTORS_DTORS_SECTIONS is defined.
11661 * elf/soinit.c: Likewise.
11662 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
11663 NO_CTORS_DTORS_SECTIONS is defined.
11664 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
11665 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
11666 * sysdeps/sh/init-first.c: Likewise.
11667 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
11668
07eb4b71
UD
116692010-12-24 Ulrich Drepper <drepper@gmail.com>
11670
11671 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
11672 always use the slow path.
11673
30950a5f
RA
116742010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
11675
11676 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
11677 similar rule which adds the sysdep directories to the header search in
11678 order to pick up the correct platform stackinfo.h.
11679 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
11680 perform test if it is, otherwise return successfully without testing.
11681 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
11682 DEFAULT_STACK_PERMS define in stackinfo.h.
11683 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
11684 defined in stackinfo.h.
11685 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
11686 DEFAULT_STACK_PERMS defined in stackinfo.h.
11687 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
11688 * sysdeps/ia64/stackinfo.h: Likewise.
11689 * sysdeps/s390/stackinfo.h: Likewise.
11690 * sysdeps/sh/stackinfo.h: Likewise.
11691 * sysdeps/sparc/stackinfo.h: Likewise.
11692 * sysdeps/x86_64/stackinfo.h: Likewise.
11693 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
11694 PF_X for powerpc64. Retain PF_X for powerpc32.
11695
db753e2c
UD
116962010-12-19 Ulrich Drepper <drepper@gmail.com>
11697
14b697f7
UD
11698 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
11699 accurately.
db753e2c
UD
11700 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
11701 GETDENTS_64BIT_ALIGNED.
11702
28300719
UD
117032010-12-14 Ulrich Drepper <dreper@gmail.com>
11704
14b697f7 11705 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 11706
4f197237
AS
117072010-12-10 Andreas Schwab <schwab@redhat.com>
11708
dbb0472f
AS
11709 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
11710 _GNU_SOURCE.
11711
4f197237
AS
11712 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
11713 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
11714 Remove __restrict.
11715 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
11716 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
11717
fb88ac72
UD
117182010-12-09 Ulrich Drepper <drepper@gmail.com>
11719
11720 [BZ #11655]
11721 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
11722 are initialized.
11723
42acbb92
JJ
117242010-12-09 Jakub Jelinek <jakub@redhat.com>
11725
11726 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
11727
c038d98d
UD
117282010-12-03 Ulrich Drepper <drepper@gmail.com>
11729
11730 * po/it.po: Update from translation team.
11731
3a4a2499
L
117322010-12-01 H.J. Lu <hongjiu.lu@intel.com>
11733
11734 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
11735 unused codes.
11736
1e24cf6e
UD
117372010-11-30 Ulrich Drepper <drepper@gmail.com>
11738
11739 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
11740
a7690819
AS
117412010-11-24 Andreas Schwab <schwab@redhat.com>
11742
11743 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
11744 specially.
11745 (gaih_getanswer_slice): Likewise.
11746
3bf8d1b1
JJ
117472010-10-20 Jakub Jelinek <jakub@redhat.com>
11748
11749 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
11750
6db52fbb
PB
117512010-05-31 Petr Baudis <pasky@suse.cz>
11752
11753 [BZ #11149]
11754 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
11755 silently even in the chroot mode.
11756
eaca7569
UD
117572010-11-22 Ulrich Drepper <drepper@gmail.com>
11758
11759 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
11760 last patch a bit. Pretty printing
11761
3056dcdb
UD
117622010-05-31 Petr Baudis <pasky@suse.cz>
11763
11764 [BZ #10085]
11765 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
11766 initialization of skip_initgroups_dyn.
11767
cf7c9078
UD
117682010-11-19 Ulrich Drepper <drepper@gmail.com>
11769
11770 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
11771 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11772
a1fb5e3e
UD
117732010-11-16 Ulrich Drepper <drepper@gmail.com>
11774
11775 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
11776
3540d66b
AS
117772010-11-11 Andreas Schwab <schwab@redhat.com>
11778
11779 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
11780 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
11781 (tst-fnmatch-ENV): Set MALLOC_TRACE.
11782 ($(objpfx)tst-fnmatch-mem): New rule.
11783 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
11784 * posix/tst-fnmatch.c (main): Call mtrace.
11785
13b69574
L
117862010-11-11 H.J. Lu <hongjiu.lu@intel.com>
11787
11788 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11789 Support Intel processor model 6 and model 0x2c.
11790
da93d214
LM
117912010-11-10 Luis Machado <luisgpm@br.ibm.com>
11792
11793 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
11794 signed comparison.
11795
8ca52c6e
L
117962010-11-09 H.J. Lu <hongjiu.lu@intel.com>
11797
11798 [BZ #12205]
11799 * string/test-strncasecmp.c (check_result): New function.
11800 (do_one_test): Use it.
11801 (check1): New function.
11802 (test_main): Use it.
11803 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
11804 Support strcasecmp and strncasecmp.
11805
69da074d
UD
118062010-11-08 Ulrich Drepper <drepper@gmail.com>
11807
11808 [BZ #12194]
11809 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
11810 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11811
ff02d528
L
118122010-11-07 H.J. Lu <hongjiu.lu@intel.com>
11813
11814 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
11815 IFUNC support.
11816 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11817 memset-x86-64.
11818 * sysdeps/x86_64/multiarch/bzero.S: New file.
11819 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
11820 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
11821 * sysdeps/x86_64/multiarch/memset.S: New file.
11822 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
11823 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11824 Set bit_Prefer_SSE_for_memop for Intel processors.
11825 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
11826 Define.
11827 (index_Prefer_SSE_for_memop): Define.
11828 (HAS_PREFER_SSE_FOR_MEMOP): Define.
11829
344d0b54
LM
118302010-11-04 Luis Machado <luisgpm@br.ibm.com>
11831
11832 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
11833 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
11834
c0dde15b
UD
118352010-11-03 H.J. Lu <hongjiu.lu@intel.com>
11836
11837 [BZ #12191]
11838 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11839 (__x86_64_raw_data_cache_size_half): Likewise.
11840 (__x86_64_raw_shared_cache_size): Likewise.
11841 (__x86_64_raw_shared_cache_size_half): Likewise.
11842
11843 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11844 (__x86_64_raw_data_cache_size_half): Likewise.
11845 (__x86_64_raw_shared_cache_size): Likewise.
11846 (__x86_64_raw_shared_cache_size_half): Likewise.
11847 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
11848 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
11849 and __x86_64_raw_shared_cache_size_half. Round
11850 __x86_64_data_cache_size_half, __x86_64_data_cache_size
11851 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
11852 to multiple of 256 bytes.
11853
0e516e0e
MS
118542010-11-03 Ulrich Drepper <drepper@gmail.com>
11855
11856 [BZ #12167]
11857 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
11858 of inacessible symlinks. Verify result of symlink before returning it.
11859 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11860 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
11861
0e012e87
ER
118622010-10-28 Erich Ritz <erichritz@gmail.com>
11863
11864 * math/math.h (isinf): Fix typo in comment.
11865
de0ff7bc
UD
118662010-11-01 Ulrich Drepper <drepper@gmail.com>
11867
11868 * po/da.po: Update from translation team.
11869
fa41c84d
UD
118702010-10-26 Ulrich Drepper <drepper@gmail.com>
11871
11872 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
11873 is added to the list.
11874
f0967738
AK
118752010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11876 Ulrich Drepper <drepper@gmail.com>
11877
11878 * elf/dl-object.c (_dl_new_object): Don't append the new object to
11879 the global list here. Move code to...
11880 (_dl_add_to_namespace_list): ...here. New function.
11881 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
11882 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
11883 * elf/dl-load.c (lose): Don't remove the element from the list.
11884 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
11885 (_dl_map_object): Likewise.
11886
118872010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
11888
11889 [BZ #12159]
11890 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
11891 into all bytes of SSE register.
11892 Patch by Richard Li <richardpku@gmail.com>.
11893
f0967738 118942010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
11895
11896 [BZ #12140]
11897 * malloc/malloc.c (_int_free): Fill correct number of bytes when
11898 perturbing.
11899
d0b9e94f
MB
119002010-10-20 Michael B. Brutman <brutman@us.ibm.com>
11901
11902 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
11903 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
11904 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
11905 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
11907 submachine.
11908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11909
8e9f92e9
AS
119102010-10-22 Andreas Schwab <schwab@redhat.com>
11911
11912 * include/dlfcn.h (__RTLD_SECURE): Define.
11913 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
11914 mode & __RTLD_SECURE instead.
11915 (open_path): Rename preloaded parameter to secure.
11916 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
11917 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
11918 * elf/dl-deps.c (openaux): Likewise.
11919 * elf/rtld.c (struct map_args): Remove is_preloaded.
11920 (map_doit): Don't use it.
11921 (dl_main): Likewise.
11922 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
11923 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
11924
bc96fbda
AS
119252010-09-09 Andreas Schwab <schwab@redhat.com>
11926
11927 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
11928 (sysd-rules-targets): Remove duplicates.
11929 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
11930 rtld-%.$o dependency.
11931
22cd1c9b
AS
119322010-10-18 Andreas Schwab <schwab@redhat.com>
11933
11934 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
11935 _dl_map_object do it.
11936
18edac48
UD
119372010-10-19 Ulrich Drepper <drepper@gmail.com>
11938
11939 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
11940 fast fma builtins, define the macros in the C99 standard.
11941 (FP_FAST_FMAF): Likewise.
11942 (FP_FAST_FMAL): Likewise.
11943 * sysdeps/x86_64/bits/mathdef.h: Likewise.
11944
11945 * bits/mathdef.h: Update copyright year.
11946 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11947
d2050124
MM
119482010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
11949
11950 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
11951 builtins, define the macros in the C99 standard.
11952 (FP_FAST_FMAF): Likewise.
11953 (FP_FAST_FMAL): Likewise.
11954 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
11955 multiply/add.
11956 (FP_FAST_FMAF): Likewise.
11957
475facd1
JJ
119582010-10-15 Jakub Jelinek <jakub@redhat.com>
11959
11960 [BZ #3268]
11961 * math/libm-test.inc (fma_test): Some new testcases.
11962 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
11963 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
11964 y and infinite z. Do multiplication by C already in long double.
11965 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
11966 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
11967 y and infinite z. Do bitwise or of inexact bit into u.d.
11968 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
11969 * sysdeps/i386/fpu/s_fmaf.S: Removed.
11970 * sysdeps/i386/fpu/s_fma.S: Removed.
11971 * sysdeps/i386/fpu/s_fmal.S: Removed.
11972
7c08a05c
JJ
119732010-10-16 Jakub Jelinek <jakub@redhat.com>
11974
11975 [BZ #3268]
11976 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
11977 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
11978 computation is not scheduled after fetestexcept. Fix value
11979 of minimum denormal long double.
11980
f3f7372d
JJ
119812010-10-14 Jakub Jelinek <jakub@redhat.com>
11982
11983 [BZ #3268]
11984 * math/libm-test.inc (fma_test): Add some more tests.
11985 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
11986 correctly.
11987
14d43591
AS
119882010-10-15 Andreas Schwab <schwab@redhat.com>
11989
11990 * scripts/data/localplt-s390-linux-gnu.data: New file.
11991 * scripts/data/localplt-s390x-linux-gnu.data: New file.
11992
5e908464
JJ
119932010-10-13 Jakub Jelinek <jakub@redhat.com>
11994
11995 [BZ #3268]
11996 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
11997 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
11998 instead of dbl-64.
11999 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12000 inlines.
12001 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12002 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12003 if one of x and y is very large and the other is subnormal.
12004 * sysdeps/s390/fpu/s_fmaf.c: New file.
12005 * sysdeps/s390/fpu/s_fma.c: New file.
12006 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12007 * sysdeps/powerpc/fpu/s_fma.S: New file.
12008 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12009 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12010 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12011
120122010-10-12 Jakub Jelinek <jakub@redhat.com>
12013
12014 [BZ #3268]
12015 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12016 fma tests.
12017 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12018 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12019 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12020 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12021 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12022 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12023 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12024
b833d51f
UD
120252010-10-12 Ulrich Drepper <drepper@redhat.com>
12026
12027 [BZ #12078]
12028 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12029 * posix/bug-regex31.input: Add test case.
12030
1751705d
UD
120312010-10-11 Ulrich Drepper <drepper@gmail.com>
12032
e9b9cbf5
UD
12033 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12034 * posix/bug-regex31.input: New file.
12035
12036 [BZ #12078]
12037 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12038 (parse_sub_exp): Fix last change, use postorder.
12039
ef06edbe
UD
12040 * posix/bug-regex31.c: New file.
12041 * posix/Makefile: Add rules to build and run bug-regex31.
12042
a129c80d
UD
12043 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12044
12045 [BZ #12078]
12046 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12047
b76b818e
UD
12048 [BZ #12108]
12049 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12050 to have entries in sys_siglist.
12051
1751705d
UD
12052 [BZ #12093]
12053 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12054 be NULL.
12055
9ff8d36f
JJ
120562010-10-07 Jakub Jelinek <jakub@redhat.com>
12057
12058 [BZ #3268]
12059 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12060 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12061 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12062 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12063 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12064 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12065 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12066 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12067 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12068 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12069 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12070 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12071 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12072 * math/ftestexcept.c (fetestexcept): Likewise.
12073 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12074 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12075 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12076 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12077 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12078 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12079 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12080
af325969
UD
120812010-10-11 Ulrich Drepper <drepper@gmail.com>
12082
c579b202 12083 [BZ #12107]
af325969
UD
12084 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12085 newline.
12086
67a67b95
UD
120872010-10-06 Ulrich Drepper <drepper@gmail.com>
12088
12089 * string/bug-strstr1.c: New file.
12090 * string/Makefile: Add rules to build and run bug-strstr1.
12091
5fb308bc
EB
120922010-10-05 Eric Blake <eblake@redhat.com>
12093
12094 [BZ #12092]
12095 * string/str-two-way.h (two_way_long_needle): Always clear memory
12096 when skipping input due to the shift table.
12097
45db99c7
UD
120982010-10-03 Ulrich Drepper <drepper@gmail.com>
12099
3b111893
UD
12100 [BZ #12005]
12101 * malloc/mcheck.c: Handle large requests.
12102
45db99c7
UD
12103 [BZ #12077]
12104 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12105 for strncmp and strncasecmp.
12106 * string/stratcliff.c: Add tests for strcmp and strncmp.
12107 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12108
cf7a1eb8
NI
121092010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12110
12111 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12112 __set_fpscr.
12113
6484ba5e
AJ
121142010-09-30 Andreas Jaeger <aj@suse.de>
12115
12116 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12117 (CGROUP_SUPER_MAGIC): Define.
12118 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12119 Handle btrfs and cgroup file systems.
12120 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12121 Likewise.
12122
91c42559
LM
121232010-09-27 Luis Machado <luisgpm@br.ibm.com>
12124
12125 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12126 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12127
87a97932
AK
121282010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12129
12130 [BZ #12067]
12131 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12132 trying to locate the ELF header.
12133
c21cc9bc
AS
121342010-09-27 Andreas Schwab <schwab@redhat.com>
12135
12136 [BZ #11611]
12137 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12138 Mask out sign-bit copies when constructing f_fsid.
12139
315970f6
PB
121402010-09-24 Petr Baudis <pasky@suse.cz>
12141
12142 * debug/stack_chk_fail_local.c: Add missing licence exception.
12143 * debug/warning-nop.c: Likewise.
12144
1ac7a2c7
JM
121452010-09-15 Joseph Myers <joseph@codesourcery.com>
12146
12147 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12148 implementing getdents64 using getdents syscall, set d_type if
12149 __ASSUME_GETDENTS32_D_TYPE.
12150
56801c50
AS
121512010-09-16 Andreas Schwab <schwab@redhat.com>
12152
12153 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12154 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12155
dda51327
UD
121562010-09-21 Ulrich Drepper <drepper@redhat.com>
12157
12158 [BZ #12037]
12159 * posix/unistd.h: Undo change of feature selection for ftruncate from
12160 2010-01-11.
12161
8ffcee4a
UD
121622010-09-20 Ulrich Drepper <drepper@redhat.com>
12163
a545ecd9 12164 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
12165 detection.
12166
e24f0a8b
AS
121672010-09-20 Andreas Schwab <schwab@redhat.com>
12168
12169 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12170 fanotify_mark.
12171 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12172
7291c56f
AS
121732010-09-14 Andreas Schwab <schwab@redhat.com>
12174
12175 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12176 variables after CHECK_SP call.
12177 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12178
bc5fb037
AS
121792010-09-13 Andreas Schwab <schwab@redhat.com>
12180 Ulrich Drepper <drepper@redhat.com>
12181
12182 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12183 re-relocationg ld.so.
12184 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12185 _dl_init_paths call.
12186 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
12187 here anymore.
12188
e66e7419
UD
121892010-09-14 Ulrich Drepper <drepper@redhat.com>
12190
12191 * resolv/res_init.c (__res_vinit): Count the default server we added.
12192
c044aa75
CLT
121932010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
12194 Ulrich Drepper <drepper@redhat.com>
12195
12196 [BZ #11968]
12197 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12198 (____longjmp_chk): Use %ebx for saving value across system call.
12199 Add unwind info.
12200
32cf4069
AS
122012010-09-06 Andreas Schwab <schwab@redhat.com>
12202
12203 * manual/Makefile: Don't mix pattern rules with normal rules.
12204
817328ee
AS
122052010-09-05 Andreas Schwab <schwab@linux-m68k.org>
12206
12207 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12208 operation.
12209 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12210 * libio/iofopncook.c (_IO_cookie_init): Likewise.
12211 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12212 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12213 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12214 Likewise.
12215
29fddf61
UD
122162010-09-04 Ulrich Drepper <drepper@redhat.com>
12217
12218 [BZ #11979]
12219 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12220 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12221
0959ffc9
UD
122222010-09-02 Ulrich Drepper <drepper@redhat.com>
12223
12224 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12225 * sysdeps/x86_64/addmul_1.S: Likewise.
12226 * sysdeps/x86_64/lshift.S: Likewise.
12227 * sysdeps/x86_64/mul_1.S: Likewise.
12228 * sysdeps/x86_64/rshift.S: Likewise.
12229 * sysdeps/x86_64/sub_n.S: Likewise.
12230 * sysdeps/x86_64/submul_1.S: Likewise.
12231
ece29840
ST
122322010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
12233
0959ffc9
UD
12234 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12235 Define __sched_param instead of SCHED_* and sched_param when
ece29840 12236 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 12237 * bits/sched.h [__need_schedparam]
ece29840 12238 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
12239 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12240 (__defined_schedparam): Define to 1.
ece29840
ST
12241 (__sched_param): New structure, identical to sched_param.
12242 (__need_schedparam): Undefine.
12243
e53a31fe
MF
122442010-08-31 Mike Frysinger <vapier@gentoo.org>
12245
fdc0c10d
MF
12246 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12247 (epoll_create1): Declare.
12248
e53a31fe
MF
12249 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12250
a726d796
AS
122512010-08-31 Andreas Schwab <schwab@redhat.com>
12252
12253 [BZ #7066]
12254 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
12255 shifting retval into place.
12256
2f3e3dc7
UD
122572010-09-01 Ulrich Drepper <drepper@redhat.com>
12258
f2933da9
UD
12259 * nis/rpcsvc/nis.h: Update copyright notice.
12260 * nis/rpcsvc/nis.x: Likewise.
12261 * nis/rpcsvc/nis_callback.h: Likewise.
12262 * nis/rpcsvc/nis_callback.x: Likewise.
12263 * nis/rpcsvc/nis_object.x: Likewise.
12264 * nis/rpcsvc/nis_tags.h: Likewise.
12265 * nis/rpcsvc/yp.h: Likewise.
12266 * nis/rpcsvc/yp.x: Likewise.
12267 * nis/rpcsvc/ypupd.h: Likewise.
12268 * nis/yp_xdr.c: Likewise.
12269 * nis/ypupdate_xdr.c: Likewise.
12270
2f3e3dc7
UD
12271 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
12272 mainly the body of pmap_getport. Add parameters to specify timeouts.
12273 (pmap_getport): Use __libc_rpc_getport.
12274 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
12275 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
12276 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
12277
f3dcc2f9
AS
122782010-08-31 Andreas Schwab <schwab@linux-m68k.org>
12279
12280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
12281 fanotify_mark.
12282
6d34eb5b
RM
122832010-08-27 Roland McGrath <roland@redhat.com>
12284
12285 * sysdeps/i386/i686/multiarch/Makefile
12286 (CFLAGS-varshift.c): New variable.
12287
9ea3de11
UD
122882010-08-27 Ulrich Drepper <drepper@redhat.com>
12289
c96d23fc
UD
12290 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
12291 * sysdeps/i386/i686/multiarch/varshift.c: New file.
12292
9ea3de11
UD
12293 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
12294
12295 * sysdeps/x86_64/strlen.S: Minimal code improvement.
12296
623aac7f
L
122972010-08-26 H.J. Lu <hongjiu.lu@intel.com>
12298
12299 * sysdeps/x86_64/strlen.S: Unroll the loop.
12300 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12301 strlen-sse2 strlen-sse2-bsf.
12302 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
12303 __strlen_no_bsf if bit_Slow_BSF is set.
12304 (__strlen_sse42): Removed.
12305 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
12306 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
12307
8b2b7715
RM
123082010-08-25 Roland McGrath <roland@redhat.com>
12309
12310 * sysdeps/x86_64/multiarch/varshift.S: File removed.
12311 * sysdeps/x86_64/multiarch/varshift.c: New file.
12312 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
12313 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
12314 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
12315 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12316
e73015f2
L
123172010-08-25 H.J. Lu <hongjiu.lu@intel.com>
12318
12319 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12320 strlen-sse2 strlen-sse2-bsf.
12321 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
12322 __strlen_sse2_bsf if bit_Slow_BSF is unset.
12323 (__strlen_sse2): Removed.
12324 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
12325 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
12326 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12327 bit_Slow_BSF for Atom.
12328 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
12329 (index_Slow_BSF): Define.
12330 (HAS_SLOW_BSF): Define.
12331
df24a73e
UD
123322010-08-25 Ulrich Drepper <drepper@redhat.com>
12333
12334 [BZ #10851]
12335 * resolv/res_init.c (__res_vinit): When no server address at all
12336 is given default to loopback.
12337
f2ac4868
RM
123382010-08-24 Roland McGrath <roland@redhat.com>
12339
09055553
RM
12340 * configure.in: Remove config-name.h generation.
12341 * configure: Regenerated.
12342 * config-name.in: File removed.
12343 * scripts/config-uname.sh: New file.
12344 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
12345 ($(objdir)config-name.h): New target.
12346
f2ac4868
RM
12347 * sunrpc/rpc_parse.h: Avoid nested comment.
12348
73f27d5e
RH
123492010-08-24 Richard Henderson <rth@redhat.com>
12350 Ulrich Drepper <drepper@redhat.com>
12351 H.J. Lu <hongjiu.lu@intel.com>
12352
12353 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
12354 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
12355 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
12356 Replace _mm_srli_si128 with __m128i_shift_right. Replace
12357 _mm_alignr_epi8 with _mm_loadu_si128.
12358 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
12359 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
12360 (__m128i_shift_right): Removed.
12361 * sysdeps/i386/i686/multiarch/varshift.h: New file.
12362 * sysdeps/i386/i686/multiarch/varshift.S: New file.
12363 * sysdeps/x86_64/multiarch/varshift.h: New file.
12364 * sysdeps/x86_64/multiarch/varshift.S: New file.
12365
84b9230c
MF
123662010-08-21 Mike Frysinger <vapier@gentoo.org>
12367
12368 * configure.in: Move assembler checks to before sysdep dir checking.
12369
9bbd0ddc
PB
123702010-08-20 Petr Baudis <pasky@suse.cz>
12371
12372 * LICENSES: Sync the sunrpc license.
12373
9da4bb31
UD
123742010-08-19 Ulrich Drepper <drepper@redhat.com>
12375
a7ab6ec8
UD
12376 * sunrpc/auth_des.c: Update copyright notice once again.
12377 * sunrpc/auth_none.c: Likewise.
12378 * sunrpc/auth_unix.c: Likewise.
12379 * sunrpc/authdes_prot.c: Likewise.
12380 * sunrpc/authuxprot.c: Likewise.
12381 * sunrpc/bindrsvprt.c: Likewise.
12382 * sunrpc/clnt_gen.c: Likewise.
12383 * sunrpc/clnt_perr.c: Likewise.
12384 * sunrpc/clnt_raw.c: Likewise.
12385 * sunrpc/clnt_simp.c: Likewise.
12386 * sunrpc/clnt_tcp.c: Likewise.
12387 * sunrpc/clnt_udp.c: Likewise.
12388 * sunrpc/clnt_unix.c: Likewise.
12389 * sunrpc/des_crypt.c: Likewise.
12390 * sunrpc/des_soft.c: Likewise.
12391 * sunrpc/get_myaddr.c: Likewise.
12392 * sunrpc/getrpcport.c: Likewise.
12393 * sunrpc/key_call.c: Likewise.
12394 * sunrpc/key_prot.c: Likewise.
12395 * sunrpc/openchild.c: Likewise.
12396 * sunrpc/pm_getmaps.c: Likewise.
12397 * sunrpc/pm_getport.c: Likewise.
12398 * sunrpc/pmap_clnt.c: Likewise.
12399 * sunrpc/pmap_prot.c: Likewise.
12400 * sunrpc/pmap_prot2.c: Likewise.
12401 * sunrpc/pmap_rmt.c: Likewise.
12402 * sunrpc/rpc/auth.h: Likewise.
12403 * sunrpc/rpc/auth_unix.h: Likewise.
12404 * sunrpc/rpc/clnt.h: Likewise.
12405 * sunrpc/rpc/des_crypt.h: Likewise.
12406 * sunrpc/rpc/key_prot.h: Likewise.
12407 * sunrpc/rpc/netdb.h: Likewise.
12408 * sunrpc/rpc/pmap_clnt.h: Likewise.
12409 * sunrpc/rpc/pmap_prot.h: Likewise.
12410 * sunrpc/rpc/pmap_rmt.h: Likewise.
12411 * sunrpc/rpc/rpc.h: Likewise.
12412 * sunrpc/rpc/rpc_des.h: Likewise.
12413 * sunrpc/rpc/rpc_msg.h: Likewise.
12414 * sunrpc/rpc/svc.h: Likewise.
12415 * sunrpc/rpc/svc_auth.h: Likewise.
12416 * sunrpc/rpc/types.h: Likewise.
12417 * sunrpc/rpc/xdr.h: Likewise.
12418 * sunrpc/rpc_clntout.c: Likewise.
12419 * sunrpc/rpc_cmsg.c: Likewise.
12420 * sunrpc/rpc_common.c: Likewise.
12421 * sunrpc/rpc_cout.c: Likewise.
12422 * sunrpc/rpc_dtable.c: Likewise.
12423 * sunrpc/rpc_hout.c: Likewise.
12424 * sunrpc/rpc_main.c: Likewise.
12425 * sunrpc/rpc_parse.c: Likewise.
12426 * sunrpc/rpc_parse.h: Likewise.
12427 * sunrpc/rpc_prot.c: Likewise.
12428 * sunrpc/rpc_sample.c: Likewise.
12429 * sunrpc/rpc_scan.c: Likewise.
12430 * sunrpc/rpc_scan.h: Likewise.
12431 * sunrpc/rpc_svcout.c: Likewise.
12432 * sunrpc/rpc_tblout.c: Likewise.
12433 * sunrpc/rpc_util.c: Likewise.
12434 * sunrpc/rpc_util.h: Likewise.
12435 * sunrpc/rpcinfo.c: Likewise.
12436 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
12437 * sunrpc/rpcsvc/key_prot.x: Likewise.
12438 * sunrpc/rpcsvc/klm_prot.x: Likewise.
12439 * sunrpc/rpcsvc/mount.x: Likewise.
12440 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
12441 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
12442 * sunrpc/rpcsvc/rex.x: Likewise.
12443 * sunrpc/rpcsvc/rstat.x: Likewise.
12444 * sunrpc/rpcsvc/rusers.x: Likewise.
12445 * sunrpc/rpcsvc/sm_inter.x: Likewise.
12446 * sunrpc/rpcsvc/spray.x: Likewise.
12447 * sunrpc/rpcsvc/yppasswd.x: Likewise.
12448 * sunrpc/rtime.c: Likewise.
12449 * sunrpc/svc.c: Likewise.
12450 * sunrpc/svc_auth.c: Likewise.
12451 * sunrpc/svc_authux.c: Likewise.
12452 * sunrpc/svc_raw.c: Likewise.
12453 * sunrpc/svc_run.c: Likewise.
12454 * sunrpc/svc_simple.c: Likewise.
12455 * sunrpc/svc_tcp.c: Likewise.
12456 * sunrpc/svc_udp.c: Likewise.
12457 * sunrpc/svc_unix.c: Likewise.
12458 * sunrpc/svcauth_des.c: Likewise.
12459 * sunrpc/xcrypt.c: Likewise.
12460 * sunrpc/xdr.c: Likewise.
12461 * sunrpc/xdr_array.c: Likewise.
12462 * sunrpc/xdr_float.c: Likewise.
12463 * sunrpc/xdr_mem.c: Likewise.
12464 * sunrpc/xdr_rec.c: Likewise.
12465 * sunrpc/xdr_ref.c: Likewise.
12466 * sunrpc/xdr_sizeof.c: Likewise.
12467 * sunrpc/xdr_stdio.c: Likewise.
12468
9da4bb31
UD
12469 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
12470 handling.
12471
bdaa77bc
AS
124722010-08-19 Andreas Schwab <schwab@redhat.com>
12473
12474 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
12475
fe2f79db
LM
124762010-08-19 Luis Machado <luisgpm@br.ibm.com>
12477
12478 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
12479 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
12480 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
12481 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
12482 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
12483 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
12484 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
12485 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
12486 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
12487 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
12488 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
12489 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
12490 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
12491 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
12492
b9b42ee0
AB
124932010-07-26 Anton Blanchard <anton@samba.org>
12494
12495 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
12496 * malloc/arena.c (heap_trim): Likewise.
12497
1c06ba31
UD
124982010-08-16 Ulrich Drepper <drepper@redhat.com>
12499
12500 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
12501 here. Not...
12502 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
12503 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
12504
f8392f40
L
125052010-08-12 H.J. Lu <hongjiu.lu@intel.com>
12506
12507 * sysdeps/i386/elf/Makefile: New file.
12508
3162f12e
AS
125092010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12510
12511 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
12512 from fanotify_init.
12513 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12514 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12515
28c90b2c
UD
125162010-08-15 Ulrich Drepper <drepper@redhat.com>
12517
12518 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
12519 of strncasecmp_l.
1feccb6c 12520 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 12521
ca6bb004
UD
125222010-08-14 Ulrich Drepper <drepper@redhat.com>
12523
e9f82e0d
UD
12524 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12525 strncase_l-nonascii.
12526 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12527 Add strncase_l-ssse3.
12528 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
12529 * sysdeps/x86_64/strcmp.S: Likewise.
12530 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
12531 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
12532 * sysdeps/x86_64/strncase.S: New file.
12533 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
12534 * sysdeps/x86_64/strncase_l.S: New file.
12535 * string/Makefile (strop-tests): Add strncasecmp.
12536 * string/test-strncasecmp.c: New file.
12537
12538 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
12539 warning.
12540
ca6bb004
UD
12541 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
12542 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
12543
052fa7b3
AS
125442010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12545
12546 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
12547
962dba78
UD
125482010-08-12 Ulrich Drepper <drepper@redhat.com>
12549
12550 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
12551 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
12552 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
12553
bebff237
AM
125542010-05-01 Alan Modra <amodra@gmail.com>
12555
12556 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
12557 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
12558 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
12559 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
12560 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
12561 tidying. Don't tail-call __sigjmp_save for static lib.
12562 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
12563 save location.
12564 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
12565 (CALL_MCOUNT): Add eh info, and nop after bl.
12566 (TAIL_CALL_SYSCALL_ERROR): New macro.
12567 (PSEUDO_RET): Use it.
12568 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12569 Correct save location of integer regs and cr.
12570 (_dl_profile_resolve): Correct cr save location. Delete nops
12571 after bl when SHARED. Reduce cfi size a little by better
12572 placement of cfi directives.
12573 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
12574 make a stack frame. Instead use parm save area as a temp.
12575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
12576 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
12577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12578 Don't make a stack frame for parent, use parm save area.
12579 Increase child stack frame to 112 bytes. Don't save unused reg,
12580 and adjust reg usage. Set up cfi on error recovery and
12581 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
12582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12583 (__makecontext): Add dummy nop after jump to exit.
12584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
12585 Use correct parm save area and cr save, reduce stack frame.
12586 Correct cfi for possible PSEUDO_RET frame setup.
12587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
12588 Branch to local label emitted by PSEUDO_RET rather than
12589 __syscall_error.
12590
02637374
AS
125912010-08-12 Andreas Schwab <schwab@redhat.com>
12592
12593 [BZ #11904]
12594 * locale/programs/locale.c (print_assignment): New function.
12595 (show_locale_vars): Use it.
12596
c3e2f19b
UD
125972010-08-11 Ulrich Drepper <drepper@redhat.com>
12598
3cdaa6ad
UD
12599 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
12600 field.
12601 (struct statfs64): Likewise.
12602 (_STATFS_F_FLAGS): Define.
12603 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
12604 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12605 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
12606 (ST_VALID): Define locally.
12607 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
12608 __statvfs_getflags, use the provided value.
12609 * sysdeps/unix/sysv/linux/kernel-features.h: Define
12610 __ASSUME_STATFS_F_FLAGS.
12611
754f7da3
UD
12612 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
12613
10b3bedc
UD
12614 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
12615 Add sys/fanotify.h.
12616 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
12617 fanotify_mask for GLIBC_2.13.
12618 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
12619 fanotify_init and fanotify_mark.
12620 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12621 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
12622
c08fb0d7
UD
12623 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
12624 Add prlimit.
12625 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
12626 prlimit64 for GLIBC_2.13.
12627 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
12628 prlimit64.
12629 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
12630 syscall.
12631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12632 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12633 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
12634 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
12635 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
12636 add prlimit alias.
12637 * sysdeps/unix/sysv/linux/prlimit.c: New file.
12638
15bac72b
UD
12639 [BZ #11903]
12640 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
12641 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
12642
c3e2f19b
UD
12643 * nss/Makefile: Add rules to build and run tst-nss-test1.
12644 * shlib-versions: Add entry for libnss_test1.
12645 * nss/nss_test1.c: New file.
12646 * nss/tst-nss-test1.c: New file.
12647
12648 * nss/nsswitch.c (__nss_database_custom): Define new variable.
12649 (__nss_configure_lookup): Set appropriate entry in
12650 __nss_configure_lookup to true.
12651 * nss/nsswitch.h: Define enum with indeces of databases in
12652 databases and __nss_database_custom arrays. Declare
12653 __nss_database_custom.
12654 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
12655 to avoid using nscd when custom rules are installed.
12656 * nss/getXXbyYY_r.c: Likewise.
12657 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12658
12659 * nss/nss_files/files-parse.c: Whitespace fixes.
12660
f15ce4d8
UD
126612010-08-09 Ulrich Drepper <drepper@redhat.com>
12662
12663 [BZ #11883]
12664 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
12665 * posix/fnmatch_loop.c: Likewise.
12666
d22e4cc9
AK
126672010-07-17 Andi Kleen <ak@linux.intel.com>
12668
12669 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
12670 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
12671 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
12672 * Versions.def [GLIBC_2.13]: Add.
12673
805bc17d
UD
126742010-08-06 Ulrich Drepper <drepper@redhat.com>
12675
12676 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12677 Also fail if tpwd after pwuid call is NULL.
12678
5a42321d
ST
126792010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
12680
12681 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
12682 when converting to ms.
12683
fd3ebeda
ST
126842010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12685
12686 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
12687 EOPNOTSUPP errors with ENOTTY.
12688 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
12689 EOPNOTSUPP errors with ENOTTY.
12690
73507d3a
UD
126912010-07-31 Ulrich Drepper <drepper@redhat.com>
12692
12693 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12694 Add strcasecmp_l-ssse3.
12695 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
12696 strcasecmp.
12697 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
12698 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
12699 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
12700
fe36dd02
UD
127012010-07-30 Ulrich Drepper <drepper@redhat.com>
12702
66f6765a
UD
12703 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
12704
42e08a54
UD
12705 * string/Makefile (strop-tests): Add strcasecmp.
12706 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12707 strcasecmp_l-nonascii.
12708 (gen-as-const-headers): Add locale-defines.sym.
12709 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
12710 * sysdeps/x86_64/strcasecmp.S: New file.
12711 * sysdeps/x86_64/strcasecmp_l.S: New file.
12712 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
12713 * sysdeps/x86_64/locale-defines.sym: New file.
12714 * string/test-strcasecmp.c: New file.
12715
fe36dd02
UD
12716 * string/test-strcasestr.c: Test both ends of the range of characters.
12717 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
12718
48cbc0d6
RM
127192010-07-29 Roland McGrath <roland@redhat.com>
12720
76e6d6bc 12721 [BZ #11856]
48cbc0d6
RM
12722 * manual/locale.texi (Yes-or-No Questions): Fix example code.
12723
880113d9
UD
127242010-07-27 Ulrich Drepper <drepper@redhat.com>
12725
12726 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
12727 for ld.so.
12728
deb9cabb
AS
127292010-07-27 Andreas Schwab <schwab@redhat.com>
12730
12731 * manual/memory.texi (Malloc Tunable Parameters): Document
12732 M_PERTURB.
12733
1c7570ff
RM
127342010-07-26 Roland McGrath <roland@redhat.com>
12735
12736 [BZ #11840]
12737 * configure.in (-fgnu89-inline check): Set and substitute
12738 gnu89_inline, not libc_cv_gnu89_inline.
12739 * configure: Regenerated.
12740 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
12741
24fb0f88
UD
127422010-07-26 Ulrich Drepper <drepper@redhat.com>
12743
12744 * string/test-strnlen.c: New file.
12745 * string/Makefile (strop-tests): Add strnlen.
12746 * string/tester.c (test_strnlen): Add a few more test cases.
12747 * string/tst-strlen.c: Better error reporting.
12748
12749 * sysdeps/x86_64/strnlen.S: New file.
12750
8e96b93a
UD
127512010-07-24 Ulrich Drepper <drepper@redhat.com>
12752
12753 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
12754 lower-latency instructions.
12755
dbc676d4
UD
127562010-07-23 Ulrich Drepper <drepper@redhat.com>
12757
12758 * string/test-strcasestr.c: New file.
12759 * string/test-strstr.c: New file.
12760 * string/Makefile (strop-tests): Add strstr and strcasestr.
12761 * string/str-two-way.h: Don't undefine MAX.
12762 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
12763
f6a31e0e
AS
127642010-07-21 Andreas Schwab <schwab@redhat.com>
12765
12766 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12767 strcasestr-nonascii.
12768 (CFLAGS-strcasestr-nonascii.c): Define.
12769 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
12770 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
12771 Remove unused attribute.
12772
5dbc3b6c
RM
127732010-07-20 Roland McGrath <roland@redhat.com>
12774
12775 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
12776 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
12777 ld.so.cache was broken. With it, there is no way to disable dsocaps
12778 like LD_HWCAP_MASK can disable hwcaps.
12779
23d101d8
EPM
127802010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12781
12782 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
12783
cc9f2e47
UD
127842010-07-16 Ulrich Drepper <drepper@redhat.com>
12785
12786 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
12787 call in strcasestr.
12788 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
12789 __strcasestr_sse42_nonascii.
12790 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
12791 strcasestr-nonascii.c.
12792 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
12793
77c1b069
LM
127942010-06-15 Luis Machado <luisgpm@br.ibm.com>
12795
12796 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
12797 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
12798 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
12799 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
12800
440566c3
UD
128012010-07-09 Ulrich Drepper <drepper@redhat.com>
12802
12803 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
12804 fcntl.
12805
5be9d05d
AS
128062010-07-06 Andreas Schwab <schwab@redhat.com>
12807
c30b7ee2 12808 [BZ #11577]
5be9d05d
AS
12809 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
12810 dl_signal_cerror.
12811
8a492a67
UD
128122010-07-06 Ulrich Drepper <drepper@redhat.com>
12813
12814 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
12815 _PC_PIPE_BUF using F_GETPIPE_SZ.
12816
713df3d5
RM
128172010-07-05 Roland McGrath <roland@redhat.com>
12818
12819 * manual/arith.texi (Rounding Functions): Fix rint description
12820 implicit in round description.
12821
702e8f14
UD
128222010-07-02 Ulrich Drepper <drepper@redhat.com>
12823
12824 * elf/Makefile: Fix linking for a few tests to make recent linker
12825 happy.
12826
52ed8be9
AS
128272010-06-30 Andreas Schwab <schwab@redhat.com>
12828
12829 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12830 $(common-objpfx)libc_nonshared.a.
12831
f47c9a11
LM
128322010-06-21 Luis Machado <luisgpm@br.ibm.com>
12833
12834 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
12835 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
12836 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12837 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12838 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
12839 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
12840 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12841 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
12843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
12844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
12845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
12847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
12849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
12850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
12851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
12852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
12854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
12856 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
12857 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
12858 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
12859 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
12860 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
12861 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
12862 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
12863 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
12864 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
12865 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
12866 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
12867 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
12868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
12869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
12870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
12871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
12872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
12873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
12874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
12875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
12876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
12877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
12878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
12879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
12880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
12881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
12882
6fb8cbcb
L
128832010-06-25 H.J. Lu <hongjiu.lu@intel.com>
12884
12885 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
12886 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
12887 * string/memmove.c (memmove): Renamed to ...
12888 (MEMMOVE): ...this. Default to memmove.
12889 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
12890 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
12891 (END_CHK): Define.
12892 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12893 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
12894 mempcpy-ssse3-back memmove-ssse3-back.
12895 * sysdeps/x86_64/multiarch/bcopy.S: New file .
12896 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
12897 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
12898 * sysdeps/x86_64/multiarch/memcpy.S: New file.
12899 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
12900 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
12901 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
12902 * sysdeps/x86_64/multiarch/memmove.c: New file.
12903 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
12904 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
12905 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
12906 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
12907 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
12908 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
12909 Define.
12910 (index_Fast_Copy_Backward): Define.
12911 (HAS_ARCH_FEATURE): Define.
12912 (HAS_FAST_REP_STRING): Define.
12913 (HAS_FAST_COPY_BACKWARD): Define.
12914
4e733bac 129152010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
12916
12917 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12918 Restore proper fallback handling.
12919
63c4ed22
UD
129202010-06-19 Ulrich Drepper <drepper@redhat.com>
12921
ac2b484c
UD
12922 [BZ #11701]
12923 * posix/group_member.c (__group_member): Correct checking loop.
12924
63c4ed22
UD
12925 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
12926 OOM in getpwuid_r correctly. Return error number when the caller
12927 should return, otherwise -1.
12928 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
12929 call returning > 0 value.
12930 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
12931
765ade4b
AS
129322010-06-07 Andreas Schwab <schwab@redhat.com>
12933
12934 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
12935 libc_nonshared.a from targets in modules-names.
12936
80da2e09
KS
129372010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
12938
12939 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
12940 requires it.
12941
158db122
LM
129422010-06-10 Luis Machado <luisgpm@br.ibm.com>
12943
12944 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
12945 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
12946 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
12947 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
12948
caa78cf8
AS
129492010-06-02 Andreas Schwab <schwab@redhat.com>
12950
12951 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
12952
b2ef2c01
UD
129532010-06-14 Ulrich Drepper <drepper@redhat.com>
12954
12955 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
12956 and F_GETPIPE_SZ.
12957 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12958 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12959 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12960 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12961 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12962 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
12963
fbd643b6
RM
129642010-06-14 Roland McGrath <roland@redhat.com>
12965
12966 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
12967
f32f2869
JJ
129682010-06-07 Jakub Jelinek <jakub@redhat.com>
12969
12970 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
12971 __REDIRECT followed by __THROW.
12972 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
12973 * posix/getopt.h (getopt): Likewise.
12974
2a50c078
EPM
129752010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12976
12977 * hurd/lookup-at.c (__file_name_lookup_at): Accept
12978 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
12979 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
12980 in AT_FLAGS.
12981 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
12982 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
12983
eb5ad2eb
LM
129842010-05-28 Luis Machado <luisgpm@br.ibm.com>
12985
12986 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
12987
3c88fe1e
L
129882010-05-26 H.J. Lu <hongjiu.lu@intel.com>
12989
12990 [BZ #11640]
12991 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12992 Properly check family and model.
12993
d2f73151
TY
129942010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
12995
12996 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
12997
ebd2e13d
LM
129982010-05-24 Luis Machado <luisgpm@br.ibm.com>
12999
13000 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13001
b32b8b45
UD
130022010-05-21 Ulrich Drepper <drepper@redhat.com>
13003
13004 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13005 symbol reference.
13006
9acbe24d
AS
130072010-05-19 Andreas Schwab <schwab@redhat.com>
13008
13009 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13010 symbol reference.
13011
f0ccf6ea
AS
130122010-05-21 Andreas Schwab <schwab@redhat.com>
13013
3d04ff3a
AS
13014 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13015 and internal_recvmmsg.
13016 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13017 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13018 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13019 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13020
f0ccf6ea
AS
13021 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13022 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13023 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13024
5b08ac57
AS
130252010-05-20 Andreas Schwab <schwab@redhat.com>
13026
13027 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13028
4828935d
LM
130292010-05-17 Luis Machado <luisgpm@br.ibm.com>
13030
13031 POWER7 optimizations.
13032 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13033 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13034
373d545e
UD
130352010-05-19 Ulrich Drepper <drepper@redhat.com>
13036
13037 * version.h: Update for 2.13 development version.
13038
21a2b1ae
AS
130392010-05-12 Andrew Stubbs <ams@codesourcery.com>
13040
13041 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13042 exceptions. Return 0.
13043
3f7dcb2b
RM
130442010-05-07 Roland McGrath <roland@redhat.com>
13045
13046 * elf/ldconfig.c (main): Add a const.
13047
5f24d53a 130482010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 13049
a160f8d8
UD
13050 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13051 (args_options): Add no-idn option.
13052 (ahosts_keys_int): Add idn_flags to ai_flags.
13053 (parse_option): Handle 'i' option to clear idn_flags.
13054
5f24d53a
UD
13055 * malloc/malloc.c (_int_free): Possible race in the most recently
13056 added check. Only act on the data if no current modification
13057 happened.
265bb1ce
UD
13058
13059See ChangeLog.17 for earlier changes.
This page took 1.66552 seconds and 5 git commands to generate.