]> sourceware.org Git - glibc.git/blame - ChangeLog
Fix missing exceptions from exp (bugs 13787, 13922, 14036).
[glibc.git] / ChangeLog
CommitLineData
7b17aeda
JM
12012-05-05 Joseph Myers <joseph@codesourcery.com>
2
41498f4d
JM
3 [BZ #13787]
4 [BZ #13922]
5 [BZ #14036]
6 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
7 (__ieee754_expl): Allow for and saturate large arguments.
8 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
9 (u_threshold): Likewise.
10 (__exp): Call __ieee754_exp before checking for overflow and
11 underflow.
12 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
13 (u_threshold): Likewise.
14 (__expf): Call __ieee754_expf before checking for overflow and
15 underflow.
16 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
17 (u_threshold): Likewise.
18 (__expl): Call __ieee754_expl before checking for overflow and
19 underflow.
20 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
21 (__ieee754_expl): Allow for and saturate large arguments.
22 * math/libm-test.inc (exp_test): Add another test. Do not allow
23 missing overflow exception on overflow.
24 (expm1_test): Do not allow missing overflow exception on overflow.
25
6698b8bf
JM
26 * sysdeps/i386/fpu/e_expl.c: Move to ...
27 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
28 rather than using inline asm.
29 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30 * sysdeps/x86_64/fpu/e_expl.S: Copy from
31 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
32
7b17aeda
JM
33 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
34 (nice): Likewise.
35 (poll): Likewise.
36 (signal): Likewise.
37 (time): Likewise.
38 (times): Likewise.
39
f7c85819
JM
402012-05-04 Joseph Myers <joseph@codesourcery.com>
41
42 * sysdeps/unix/syscalls.list (adjtime): Add entry from
43 sysdeps/unix/common/syscalls.list.
44 (fchmod): Likewise.
45 (fchown): Likewise.
46 (ftruncate): Likewise.
47 (getrusage): Likewise.
48 (gettimeofday): Likewise.
49 (setpgid): Likewise.
50 (setregid): Likewise.
51 (setreuid): Likewise.
52 (sigaction): Likewise.
53 (truncate): Likewise.
54 (vhangup): Likewise.
55 * sysdeps/unix/common/syscalls.list: Remove file.
56 * sysdeps/unix/bsd/Implies: Don't include unix/common.
57 * sysdeps/unix/sysv/linux/Implies: Likewise.
58
336270d0
L
592012-05-04 H.J. Lu <hongjiu.lu@intel.com>
60
61 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
62 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
63 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
64 Moved to ...
65 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
66 Here.
67 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
68 to ...
69 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
70 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
71 to ...
72 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
73 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
74 to ...
75 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
76 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
77 to ...
78 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
79 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
80 to ...
81 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
82 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
83 to ...
84 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
85 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
86 to ...
87 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
88 Here.
89 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
90 to ...
91 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
92 Here.
93 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
94 to ...
95 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
96 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
97 Moved to ...
98 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
99 Here.
100 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
101 to ...
102 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
103
d128e450
JM
1042012-05-04 Joseph Myers <joseph@codesourcery.com>
105
fa8ee516
JM
106 * sysdeps/unix/common/bits/dirent.h: Remove file.
107 * sysdeps/unix/common/bits/fcntl.h: Likewise.
108
d128e450
JM
109 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
110 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
111 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
112 * sysdeps/unix/bsd/isatty.c: Likewise.
113 * sysdeps/unix/bsd/tcdrain.c: Likewise.
114 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
115 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
116
110c96ff 1172012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730
AZ
118
119 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
120 long double comparison inaccuracies.
121 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
122 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
123
6fef930c
AS
1242012-05-04 Andreas Schwab <schwab@linux-m68k.org>
125
126 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
127 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
128
8f203e6c
JM
1292012-05-04 Joseph Myers <joseph@codesourcery.com>
130
131 [BZ #14049]
132 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
133 nonzero digits before rounding a hex value.
134 * stdlib/tst-strtod.c (tests): Add another test.
135
5197d9c2
AK
1362012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
137
138 * sysdeps/s390/fpu/libm-test-ulps: Update.
139
f0c1dedf
AJ
1402012-05-03 Andreas Jaeger <aj@suse.de>
141
142 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
143 does not get optimized out.
144 (malloc_opt_barrier): New.
145
a65ef2ae 1462012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 147 Roland McGrath <roland@hack.frob.com>
a65ef2ae 148
2b942cb7 149 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 150 intermediate file deletion.
2b942cb7 151 (generated): Add .symlist files.
a65ef2ae 152
54b71e02
JM
1532012-05-03 Joseph Myers <joseph@codesourcery.com>
154
155 [BZ #13775]
156 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
157 Redirect under this condition.
158 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
159 [__USE_GNU] (__dprintf_chk): Not under this condition.
160 [__USE_GNU] (__vdprintf_chk): Likewise.
161 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
162 under this condition.
163 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
164 [__USE_XOPEN2K8] (dprintf): Define under this condition.
165 [__USE_XOPEN2K8] (vdprintf): Likewise.
166 [__USE_GNU] (__dprintf_chk): Not under this condition.
167 [__USE_GNU] (__vdprintf_chk): Likewise.
168 [__USE_GNU] (dprintf): Likewise.
169 [__USE_GNU] (vdprintf): Likewise.
170
d3dfcc41
RM
1712012-05-03 Roland McGrath <roland@hack.frob.com>
172
173 * elf/Makefile (common-generated): Set this instead of generated for
174 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
175 $(all-built-dso)-derived lists.
176
7ac30cc5
AJ
1772012-05-03 Andreas Jaeger <aj@suse.de>
178
0c51e550
AJ
179 * sysdeps/i386/fpu/libm-test-ulps: Update.
180
7ac30cc5
AJ
181 * FAQ: Removed.
182 * FAQ.in: Likewise.
183 * scripts/gen-FAQ.pl: Likewise.
184 * manual/install.texi (Installation): Point to online location of
185 FAQ.
186 * Makefile (files-for-dist): Remove FAQ.
187 (FAQ): Remove.
188
d4c2917f
AM
1892012-05-02 Allan McRae <allan@archlinux.org>
190
191 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
192 (LDFLAGS-reldepmod5.so): Likewise.
193 (LDFLAGS-reldep6mod1.so): Likewise.
194 (LDFLAGS-reldep6mod4.so): Likewise.
195 (LDFLAGS-reldep8mod3.so): Likewise.
196 (LDFLAGS-unload4mod1.so): Likewise.
197 (LDFLAGS-unload4mod2.so): Likewise.
198 (LDFLAGS-tst-initorder): Likewise.
199 (LDFLAGS-tst-initordera2.so): Likewise.
200 (LDFLAGS-tst-initordera3.so): Likewise.
201 (LDFLAGS-tst-initordera4.so): Likewise.
202 (LDFLAGS-tst-initorderb2.so): Likewise.
203 (LDFLAGS-noload): Likewise.
204 (LDFLAGS-next): Likewise.
205 (LDFLAGS-order2mod1.so): Likewise.
206 (LDFLAGS-order2mod2.so): Likewise.
207 (LDFLAGS-tst-initorder2): Likewise.
208 (LDFLAGS-tst-initorder2a.so): Likewise.
209 (LDFLAGS-tst-initorder2b.so): Likewise.
210 (LDFLAGS-tst-initorder2c.so): Likewise.
211 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
212
d77f993f
DM
2132012-05-02 David S. Miller <davem@davemloft.net>
214
215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
216
171a70b4
PP
2172012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
218
219 [BZ #14055]
220 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
221
0be196ad
AJ
2222012-05-02 Andreas Jaeger <aj@suse.de>
223
224 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
225 since we manipulate rounding mode.
226 (CPPFLAGS-test-idouble.c): Likewise.
227 (CPPFLAGS-test-ifloat.c): Likewise.
228 (CFLAGS-test-ldouble.c): Likewise.
229 (CFLAGS-test-double.c): Likewise.
230 (CFLAGS-test-float.c): Likewise.
231 (CFLAGS-test-misc.c): Likewise.
232 (CFLAGS-test-test-fenv.c): Likewise.
233
4f9d04aa
AZ
2342012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
235
2b942cb7
RM
236 [BZ #2550]
237 [BZ #2570]
238 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
239 comparisons to determine direction to adjust input.
4f9d04aa 240
82a79e7d
RM
2412012-05-01 Roland McGrath <roland@hack.frob.com>
242
f5a01ca9
RM
243 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
244 output to the target.
245
90fe4186
RM
246 * scripts/localplt.awk: New file.
247 * elf/Makefile ($(objpfx)check-localplt): Target removed.
248 (check-localplt-CFLAGS): Variable removed.
249 ($(all-built-dso:=.jmprel)): New static pattern rule.
250 (generated): Add those targets.
251 (localplt-built-dso): New variable.
252 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
253
254 * elf/check-localplt.c: File removed.
255
82397ed6
RM
256 * scripts/check-execstack.awk: New file.
257 * elf/Makefile ($(objpfx)check-execstack): Target removed.
258 (check-execstack-CFLAGS): Variable removed.
259 ($(objpfx)check-execstack.h): Target removed.
260 ($(objpfx)execstack-default): New target.
261 (generated): Add that instead of check-execstack.h.
262 ($(all-built-dso:=.phdr)): New static pattern rule.
263 (generated): Add those targets.
264 * elf/check-execstack.c: File removed.
265
82a79e7d
RM
266 * scripts/check-textrel.awk: New file.
267 * elf/Makefile ($(objpfx)check-textrel): Target removed.
268 (check-textrel-CFLAGS): Variable removed.
269 (all-built-dso): Use := to define.o
270 ($(all-built-dso:=.dyn)): New static pattern rule.
271 (generated): Add those targets.
272 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
273 * config.make.in (READELF): New substituted variable.
274 * elf/check-textrel.c: File removed.
275
62fde54f 2762012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 277
615605c9
JM
278 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
279 allow.
280 * conform/data/ctype.h-data [C99-based standards] (isblank):
281 Expect function.
282 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
283 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
284 [ISO || ISO99 || ISO11] (*_t): Do not allow.
285 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
286 Specify type. Require positive value.
287 (EILSEQ): Likewise.
288 (ERANGE): Likewise.
289 [ISO || POSIX] (EILSEQ): Do not expect.
290 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
291 Specify type. Require positive value.
292 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
293 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
294 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
295 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
296 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
297 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
298 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
299 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
300 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
301 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
302 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
303 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
304 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
305 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
306 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
307 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
308 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
309 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
310 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
311 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
312 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
313 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
314 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
315 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
316 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
317 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
318 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
319 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
320 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
321 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
322 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
323 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
324 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
325 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
326 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
327 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
328 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
329 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
330 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
331 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
332 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
333 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
334 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
335 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
336 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
337 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
338 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
339 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
340 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
341 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
342 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
343 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
344 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
345 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
346 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
347 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
348 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
349 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
350 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
351 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
352 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
353 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
354 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
355 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
356 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
357 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
358 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
359 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
360 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
361 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
362 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
363 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
364 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
365 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
366 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
367 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
368 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
369 Require >= 2.
370 (FLT_ROUNDS): Expect as macro, not constant.
371 (FLT_MANT_DIG): Use macro-int-constant.
372 (DBL_MANT_DIG): Likewise.
373 (LDBL_MANT_DIG): Likewise.
374 (FLT_DIG): Likewise.
375 (DBL_DIG): Likewise.
376 (LDBL_DIG): Likewise.
377 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
378 (DBL_MIN_EXP): Likewise.
379 (LDBL_MIN_EXP): Likewise.
380 (FLT_MAX_EXP): Use macro-int-constant.
381 (DBL_MAX_EXP): Likewise.
382 (LDBL_MAX_EXP): Likewise.
383 (FLT_MAX_10_EXP): Likewise.
384 (DBL_MAX_10_EXP): Likewise.
385 (LDBL_MAX_10_EXP): Likewise.
386 (FLT_MAX): Use macro-constant.
387 (DBL_MAX): Likewise.
388 (LDBL_MAX): Likewise.
389 (FLT_EPSILON): Use macro-constant. Give upper bound.
390 (DBL_EPSILON): Likewise.
391 (LDBL_EPSILON): Likewise.
392 (FLT_MIN): Likewise.
393 (DBL_MIN): Likewise.
394 (LDBL_MIN): Likewise.
395 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
396 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
397 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
398 [ISO11] (FLT_HAS_SUBNORM): Likewise.
399 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
400 [ISO11] (DBL_DECIMAL_DIG): Likewise.
401 [ISO11] (FLT_DECIMAL_DIG): Likewise.
402 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
403 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
404 [ISO11] (FLT_TRUE_MIN): Likewise.
405 [ISO11] (LDBL_TRUE_MIN): Likewise.
406 [ISO || ISO99 || ISO11] (*_t): Do not allow.
407 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
408 (SCHAR_MIN): Use macro-int-constant. Specify type.
409 (SCHAR_MAX): Likewise.
410 (UCHAR_MAX): Likewise.
411 (CHAR_MIN): Likewise.
412 (CHAR_MAX): Likewise.
413 (MB_LEN_MAX): Use macro-int-constant.
414 (SHRT_MIN): Use macro-int-constant. Specify type.
415 (SHRT_MAX): Likewise.
416 (USHRT_MAX): Likewise.
417 (INT_MAX): Likewise.
418 (INT_MIN): Use macro-int-constant. Specify type. Make upper
419 bound negative.
420 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
421 bound with "U".
422 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
423 bound with "L".
424 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
425 bound negative. Suffix upper bound with "L".
426 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
427 bound with "UL".
428 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
429 Specify type.
430 [C99-based standards] (LLONG_MAX): Likewise.
431 [C99-based standards] (ULLONG_MAX): Likewise.
432 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
433 == 0.
434 [ISO11] (max_align_t): Require type.
435 [ISO || ISO99 || ISO11] (*_t): Do not allow.
436
c9140a62
JM
437 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
438 from $CFLAGS, without defining away __attribute__ calls.
439 (checknamespace): Use $CFLAGS_namespace.
440
9af0bf29
JM
441 * conform/conformtest.pl (@keywords): Only include C99 keywords
442 for standards based on C99 or C11.
443
343222a2
JM
444 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
445 Disable tests.
446 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
447 UNIX98]: Likewise.
448
661f8cf0
JM
449 * conform/conformtest.pl: Handle "macro-int-constant" and test for
450 usability of symbols in #if.
451
ee74b9cb
JM
452 * conform/conformtest.pl: If macro or constant types start
453 "promoted:", expect the symbol to be of the following type
454 promoted by the integer promotions.
62fde54f 455
aafc49b3
JM
456 * conform/conformtest.pl: Parse all "constant" and "macro" lines
457 in one place. Also handle "macro-constant".
458
fefdf574
JM
459 * conform/conformtest.pl: Only accept expected macro values with
460 "==". Parse all "macro" lines in one place.
461 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
462
f2d922fe
JM
463 * conform/conformtest.pl: Handle braced types on "constant" lines
464 instead of handling "typed-constant".
465 * conform/data/signal.h-data: Use "constant" instead of
466 "typed-constant".
467
d22956c9
JM
468 * conform/conformtest.pl: Handle "optional-" at start of lines in
469 one place rather than duplicating several cases. Handle each
470 format of "macro" line with initial "optional-".
471
028e2e38
JM
472 * conform/conformtest.pl: Only accept expected constant or
473 optional-constant values with "==". Parse all "constant" lines in
474 one place. Parse all "optional-constant" lines in one place.
475 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
476 * conform/data/fmtmsg.h-data: Likewise.
477 * conform/data/netinet/in.h-data: Likewise.
478 * conform/data/tar.h-data: Likewise.
479 * conform/data/limits.h-data: Use "==" form on "constant" and
480 "optional-constant" lines.
481
1b8f2850
JM
482 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
483 Use -std=c99 for XOPEN2K.
484 (@knownproblems): Remove.
485 (newtoken): Don't check %isknown.
486
a05a144b
JM
487 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
488 Do not expect macro.
489 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
490 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
491 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
492 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
493 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
494 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
495 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
496 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
497 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
498 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
499 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
500 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
501 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
502 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
503 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
504 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
505 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
506 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
507 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
508 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
509 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
510 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
511 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
512 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
513 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
514 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
515 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
516 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
517 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
518 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
519 [XPG3] (acosh): Likewise.
520 [XPG3] (asinh): Likewise.
521 [XPG3] (atanh): Likewise.
522 [XPG3] (cbrt): Likewise.
523 [XPG3] (expm1): Likewise.
524 [XPG3] (ilogb): Likewise.
525 [XPG3] (log1p): Likewise.
526 [XPG3] (logb): Likewise.
527 [XPG3] (nextafter): Likewise.
528 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
529 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
530 [XPG3] (remainder): Likewise.
531 [XPG3] (rint): Likewise.
532 [XPG3 || XPG4 || UNIX98] (round): Likewise.
533 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
534 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
535 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
536 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
537 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
538 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
539 [UNIX98 || XOPEN2K] (scalb): Expect.
540 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
541 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
542 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
543 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
544 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
545 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
546 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
547 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
548 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
549 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
550 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
551 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
552 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
553 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
554 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
555 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
556 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
557 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
558 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
559 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
560 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
561 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
562 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
563 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
564 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
565 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
566 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
567 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
568 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
569 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
570 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
571 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
572 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
573 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
574 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
575 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
576 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
577 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
578 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
579 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
580 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
581 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
582 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
583 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
584 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
585 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
586 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
587 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
588 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
589 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
590 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
591 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
592 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
593 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
594 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
595 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
596 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
597 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
598 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
599 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
600 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
601 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
602 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
603 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
604 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
605 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
606 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
607 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
608 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
609 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
610 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
611 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
612 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
613 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
614 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
615 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
616 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
617 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
618 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
619 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
620 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
621 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
622 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
623 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
624 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
625 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
626 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
627 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
628 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
629 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
630 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
631 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
632 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
633 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
634 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
635 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
636 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
637 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
638 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
639 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
640 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
641 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
642 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
643 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
644 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
645 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
646 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
647 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
648 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
649 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
650 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
651 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
652 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
653 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
654 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
655 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
656 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
657 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
658 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
659 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
660 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
661 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
662 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
663 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
664 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
665 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
666 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
667 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
668 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
669 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
670 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
671 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
672 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
673 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
674 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
675 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
676 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
677
73c5ebe3
JM
678 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
679 _XOPEN_SOURCE_EXTENDED for XPG4.
680
39c33b6c
JM
681 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
682
62fde54f
JM
683 * Makeconfig (localtime): Remove variable.
684 (inst_localtime-file): Likewise.
685
0741d64c
AS
6862012-05-01 Andreas Schwab <schwab@linux-m68k.org>
687
688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
689 Update.
690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
691 Update.
692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
693 Update.
694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
695 Update.
696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
697 Update.
698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
699 Update.
700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
701 Update.
702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
703 Update.
704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
705 Update.
706
7cb029ee
JM
7072012-05-01 Joseph Myers <joseph@codesourcery.com>
708
709 [BZ #2550]
710 [BZ #2570]
711 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
712 comparisons to determine direction to adjust input.
713 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
714 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
715 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
716 Likewise.
717 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
718 Likewise.
719 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
720 Likewise.
721 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
722 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
723 Likewise.
724 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
725 Likewise.
726 * math/libm-test.inc (nexttoward_test): Add more tests.
727
412bd966
AS
7282012-05-01 Andreas Schwab <schwab@linux-m68k.org>
729
730 [BZ #14040]
731 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
732 in version GLIBC_2.1, not GLIBC_2.0.
733 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
734 Likewise.
735
9568c0c2
JM
7362012-04-30 Joseph Myers <joseph@codesourcery.com>
737
adfbc8ac
JM
738 [BZ #13942]
739 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
740 (1 - x) * (1 + x).
741 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
742 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
743 * math/libm-test.inc (acos_test): Add more tests.
744 (asin_test): Likewise.
745 * sysdeps/i386/fpu/libm-test-ulps: Update.
746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
747
5ba3cc69
JM
748 [BZ #14034]
749 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
750 of square root.
751 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
752 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
753 * math/libm-test.inc (acos_test_tonearest): New function.
754 (acos_test_towardzero): Likewise.
755 (acos_test_downward): Likewise.
756 (acos_test_upward): Likewise.
757 (asin_test_tonearest): Likewise.
758 (asin_test_towardzero): Likewise.
759 (asin_test_downward): Likewise.
760 (asin_test_upward): Likewise.
761 (main): Call the new functions.
762 * sysdeps/i386/fpu/libm-test-ulps: Update.
763 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
764
9568c0c2
JM
765 [BZ #13884]
766 [BZ #13924]
767 * math/e_exp10.c: Include <float.h>.
768 (__ieee754_exp10): Handle underflow here rather than multiplying
769 large negative argument by M_LN10.
770 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
771 of __ieee754_expf.
772 * math/e_exp10l.c: Include <float.h>.
773 (__ieee754_exp10l): Handle underflow here rather than multiplying
774 large negative argument by M_LN10l.
775 * math/libm-test.inc (exp10_test): Add another test. Do not allow
776 spurious overflow exception on underflow.
777
5ac3ea17
MP
7782012-04-29 Marek Polacek <polacek@redhat.com>
779
780 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
781 (__fortify_function): New macro.
782 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
783 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
784 __extern_always_inline.
785 * libio/bits/stdio2.h: Likewise.
786 * libio/bits/stdio.h: Likewise.
787 * string/string.h: Likewise.
788 * string/bits/string3.h: Likewise.
789 * include/stdio.h: Likewise.
790 * stdlib/bits/stdlib.h: Likewise.
791 * stdlib/stdlib.h: Likewise.
792 * rt/bits/mqueue2.h: Likewise.
793 * rt/mqueue.h: Likewise.
794 * posix/bits/unistd.h: Likewise.
795 * posix/unistd.h: Likewise.
796 * io/bits/poll2.h: Likewise.
797 * io/bits/fcntl2.h: Likewise.
798 * io/fcntl.h: Likewise.
799 * io/sys/poll.h: Likewise.
800 * misc/bits/syslog.h: Likewise.
801 * misc/bits/syslog-ldbl.h: Likewise.
802 * misc/sys/syslog.h: Likewise.
803 * socket/bits/socket2.h: Likewise.
804 * socket/sys/socket.h: Likewise.
805 * debug/tst-chk1.c: Likewise.
806 * wcsmbs/bits/wchar2.h: Likewise.
807 * wcsmbs/bits/wchar-ldbl.h: Likewise.
808 * wcsmbs/wchar.h: Likewise.
809
ecf0ebfb
AJ
8102012-04-29 Andreas Jaeger <aj@suse.de>
811
812 * Makerules (tests): Remove enable-check-abi protection.
813 (check-abi-warn): Remove.
814 (check-abi-%): Remove check-abi-warn usage.
815
816 * configure.in: Remove check-abi configure option.
817 * configure: Regenerated.
818 * config.make.in (enable-check-abi): Remove.
819
6d5c57fa
AS
8202012-04-28 Andreas Schwab <schwab@linux-m68k.org>
821
24c5d07e 822 [BZ #14033]
ded5180a
AS
823 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
824 double functions to double *_finite functions.
825
7e0d315d
AS
826 [BZ #13941]
827 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
828 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
829 LDBL_MIN_EXP.
830 * stdio-common/Makefile (tests): Add tst-sprintf3.
831 * stdio-common/tst-sprintf3.c: New file.
832
6d5c57fa
AS
833 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
834 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
835
0749ff8b
JM
8362012-04-28 Joseph Myers <joseph@codesourcery.com>
837
838 * conform/conformtest.pl: Remove duplicate typed-constant
839 handling.
840
8dbd5d7b
DM
8412012-04-28 David S. Miller <davem@davemloft.net>
842
843 * Makerules (%.abilist): Add vpath on sysdep_dirs.
844 (check-abi-%): Remove AWK script prerequisite and explicit
845 abilist directory.
846 (check-abi): Rewrite to just diff the symlist with the abilist.
847 (config-tls, config-abi-config): Delete, no longer used.
848 (update-abi-%): Remove AWK script and explicit abilist directory.
849 (update-abi): Rewrite to simply compare and conditionally copy the
850 symlist and the sysdep abilist file. Remove update-abi-config
851 checks.
852 * abilist/ld.abilist: Remove.
853 * abilist/libBrokenLocale.abilist: Remove.
854 * abilist/libanl.abilist: Remove.
855 * abilist/libcrypt.abilist: Remove.
856 * abilist/libdl.abilist: Remove.
857 * abilist/librt.abilist: Remove.
858 * abilist/libthread_db.abilist: Remove.
859 * abilist/libutil.abilist: Remove.
860 * scripts/extract-abilist.awk: Remove.
861 * scripts/merge-abilist.awk: Remove.
862 * sysdeps/generic/libcidn.abilist: New file.
863 * sysdeps/generic/libnss_compat.abilist: New file.
864 * sysdeps/generic/libnss_db.abilist: New file.
865 * sysdeps/generic/libnss_dns.abilist: New file.
866 * sysdeps/generic/libnss_files.abilist: New file.
867 * sysdeps/generic/libnss_hesiod.abilist: New file.
868 * sysdeps/generic/libnss_nis.abilist: New file.
869 * sysdeps/generic/libnss_nisplus.abilist: New file.
870 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
871 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
872 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
873 file.
874 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
875 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
876 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
877 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
878 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
879 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
880 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
881 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
882 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
883 file.
884 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
885 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
886 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
887 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
888 file.
889 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
890 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
891 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
892 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
893 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
894 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
895 file.
896 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
897 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
898 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
899 file.
900 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
901 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
902 New file.
903 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
904 New file.
905 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
906 New file.
907 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
908 New file.
909 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
910 New file.
911 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
912 New file.
913 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
914 New file.
915 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
916 New file.
917 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
918 New file.
919 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
920 New file.
921 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
922 New file.
923 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
924 New file.
925 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
926 New file.
927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
928 file.
929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
930 New file.
931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
932 New file.
933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
934 file.
935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
936 New file.
937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
938 New file.
939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
940 file.
941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
942 New file.
943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
944 New file.
945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
946 New file.
947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
948 New file.
949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
950 New file.
951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
952 New file.
953 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
954 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
955 file.
956 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
957 New file.
958 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
959 file.
960 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
961 file.
962 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
963 file.
964 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
965 file.
966 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
967 file.
968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
969 New file.
970 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
971 file.
972 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
973 file.
974 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
975 New file.
976 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
977 file.
978 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
979 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
980 file.
981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
982 New file.
983 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
984 file.
985 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
986 file.
987 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
988 file.
989 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
990 file.
991 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
992 file.
993 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
994 New file.
995 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
996 file.
997 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
998 file.
999 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1000 New file.
1001 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1002 file.
1003 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1004 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1005 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1006 file.
1007 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1008 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1009 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1010 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1011 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1012 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1013 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1014 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1015 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1016 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1017 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1018 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1019 file.
1020 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1021 New file.
1022 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1023 file.
1024 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1025 file.
1026 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1027 file.
1028 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1029 file.
1030 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1031 file.
1032 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1033 New file.
1034 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1035 New file.
1036 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1037 file.
1038 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1039 New file.
1040 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1041 file.
1042 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1043 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1044 file.
1045 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1046 New file.
1047 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1048 file.
1049 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1050 file.
1051 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1052 file.
1053 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1054 file.
1055 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1056 file.
1057 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1058 New file.
1059 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1060 New file.
1061 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1062 file.
1063 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1064 New file.
1065 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1066 file.
1067
41d73a1b
JM
10682012-04-28 Joseph Myers <joseph@codesourcery.com>
1069
1070 * conform/conformtest.pl: Fix typo in handling typed-constant from
1071 allow-header.
1072
28aeeda4
JM
10732012-04-27 Joseph Myers <joseph@codesourcery.com>
1074
adae8f5e
JM
1075 * README: Cut down references to pre-2.6 Linux kernels and
1076 Linuxthreads. Update lists of configurations in libc and ports
1077 and sort alphabetically. Say "or newer" with Linux kernel version
1078 requirements.
1079
28aeeda4
JM
1080 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1081
a462cb63
RA
10822012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1083
1084 [BZ #887]
1085 * math/libm-test.inc (logb_test_downward): New test to expose
1086 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1087 rounding mode.
1088
6ad3493e
JM
10892012-04-27 Joseph Myers <joseph@codesourcery.com>
1090
1091 [BZ #14027]
1092 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1093 to be done.
1094 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1095 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1096
2ce4f015
JM
10972012-04-26 Joseph Myers <joseph@codesourcery.com>
1098
5aeb141a
JM
1099 * sysdeps/unix/i386/brk.S: Remove file.
1100 * sysdeps/unix/i386/dl-brk.S: Likewise.
1101 * sysdeps/unix/i386/pipe.S: Likewise.
1102 * sysdeps/unix/i386/sigreturn.S: Likewise.
1103 * sysdeps/unix/i386/syscall.S: Likewise.
1104 * sysdeps/unix/i386/vfork.S: Likewise.
1105 * sysdeps/unix/i386/wait.S: Likewise.
1106
7143acae
JM
1107 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1108 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1109
2ce4f015
JM
1110 * configure.in (arm*-none*): Do not allow without
1111 --enable-hacker-mode.
1112 (netbsd*): Remove case setting base_os.
1113 (386bsd*): Likewise.
1114 (freebsd*): Likewise.
1115 (bsdi*): Likewise.
1116 (osf*): Likewise.
1117 (sunos*): Likewise.
1118 (ultrix*): Likewise.
1119 (newsos*): Likewise.
1120 (dynix*): Likewise.
1121 (*bsd*): Likewise.
1122 (sysv*): Likewise.
1123 (isc*): Likewise.
1124 (esix*): Likewise.
1125 (sco*): Likewise.
1126 (minix*): Likewise.
1127 (irix4*): Likewise.
1128 (irix6*): Likewise.
1129 (solaris[2-9]*): Likewise.
1130 (none): Likewise.
1131 * configure: Regenerated.
1132
0ac229c8
AZ
11332012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1134
1135 [BZ #11521]
1136 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1137 overflow or cancellation in calculating denominator.
1138 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1139 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1140 down expression to avoid unexpected rounding in newer GCCs.
1141 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1142
33f244f4
DM
11432012-04-26 David S. Miller <davem@davemloft.net>
1144
1145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1146 long-double compat symbols.
1147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1160
cfa1f3e8
DM
11612012-04-25 David S. Miller <davem@davemloft.net>
1162
1163 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1164 HWCAP_* values only after the memory barriers have been defined.
1165 (atomic_full_barrier): Define.
1166 (atomic_read_barrier): Define.
1167 (atomic_write_barrier): Define.
1168
6e236b92
SP
11692012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1170
1171 * shlib-versions: Add libgcc_s version information.
1172 * sysdeps/generic/libgcc_s.h: Remove.
1173 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1174 libgcc_s.h.
1175 * sysdeps/gnu/unwind-resume.c: Likewise.
1176 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1177
aab39a09
DM
11782012-04-25 David S. Miller <davem@davemloft.net>
1179
1180 * sysdeps/unix/sparc/brk.S: Delete.
1181 * sysdeps/unix/sparc/dl-brk.S: Delete.
1182 * sysdeps/unix/sparc/pipe.S: Delete.
1183 * sysdeps/unix/sparc/sysdep.S: Delete.
1184 * sysdeps/unix/sparc/sysdep.h: Delete.
1185 * sysdeps/unix/sparc/vfork.S: Delete.
1186 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1187 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1188 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1189 ret_ERRVAL, r0, r1, MOVE): Define.
1190 (JUMPTARGET): Remove.
1191 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1192 sysdeps/unix/sparc/sysdep.h
1193 (ENTRY, END): Remove.
1194 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1195
a3cc4f48
JM
11962012-04-25 Joseph Myers <joseph@codesourcery.com>
1197
2ed8cda2
JM
1198 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1199 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1200 -DIS_IN_build.
1201
35d76d59
JM
1202 * timezone/README: Update upstream location and email address for
1203 tzcode and tzdata.
1204 * timezone/zdump.c: Update from tzcode 2012b.
1205 * timezone/zic.c: Likewise.
1206
a3cc4f48
JM
1207 * configure.in (libc_cv_as_needed): Remove test.
1208 * configure: Regenerated.
1209 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1210 conditional definition.
1211 [$(have-as-needed) != yes] (no-as-needed): Likewise.
1212 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1213 * config.make.in (have-as-needed): Remove variable.
1214
ceab42c3
SP
12152012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1216 Paul Pluzhnikov <ppluzhnikov@google.com>
1217
1218 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1219 strings correctly.
1220
3ce2865f
CLT
12212012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
1222
1223 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1224 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1225 * sysdeps/sh/strlen.S: Likewise.
1226
f37e0d68
JM
12272012-04-24 Joseph Myers <joseph@codesourcery.com>
1228
ae186e9a
JM
1229 * sysdeps/unix/fork.S: Remove file.
1230 * sysdeps/unix/i386/fork.S: Likewise.
1231 * sysdeps/unix/sparc/fork.S: Likewise.
1232
b96914af
JM
1233 * sysdeps/unix/system.c: Remove file.
1234 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1235
f37e0d68
JM
1236 * sysdeps/unix/getegid.S: Remove file.
1237 * sysdeps/unix/geteuid.S: Likewise.
1238
87ef29ca
RM
12392012-04-24 Roland McGrath <roland@hack.frob.com>
1240
83bcd236
RM
1241 * scripts/check-localplt.awk: New file.
1242 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1243 of diff.
1244 * scripts/data/localplt-generic.data: Add a comment.
1245
87ef29ca
RM
1246 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1247 NODE when __dir_mkfile failed.
1248 * sysdeps/mach/hurd/symlinkat.c: Likewise.
1249 Reported by Ludovic Courtès <ludo@gnu.org>.
1250
e5a6e567
AJ
12512012-04-24 Andreas Jaeger <aj@suse.de>
1252
1253 * Makerules (common-clean): Also remove gen-as-const-headers
1254 files.
1255
c1820385
JM
12562012-04-24 Joseph Myers <joseph@codesourcery.com>
1257
1258 * Makerules (native-compile): Do not change working directory for
1259 build. Use $(OUTPUT_OPTION) in command.
1260 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1261
94e02fc4
AZ
12622012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1263
1264 [BZ #13886]
1265 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1266 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1267 * math/libm-test.inc (floor_test): Add more tests.
1268 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1269
3a533ca3
JM
12702012-04-24 Joseph Myers <joseph@codesourcery.com>
1271
940ab4b3
JM
1272 * sysdeps/unix/getdents.c: Remove file.
1273 * sysdeps/unix/sysv/getdents.c: Likewise.
1274 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1275
90e037bd
JM
1276 * sysdeps/unix/syscalls.list (madvise): Add syscall from
1277 sysdeps/unix/mman/syscalls.list.
1278 (mmap): Likewise.
1279 (mprotect): Likewise.
1280 (msync): Likewise.
1281 (munmap): Likewise.
1282 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1283 * sysdeps/unix/mman/syscalls.list: Remove.
1284 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1285
3a533ca3
JM
1286 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1287 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1288 * configure: Regenerated.
1289 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1290 $(libgcc_s_suffix).
1291 * config.make.in (libgcc_s_suffix): Remove variable.
1292
1ad743de
JM
12932012-04-23 Joseph Myers <joseph@codesourcery.com>
1294
4ad451e2
JM
1295 * sysdeps/unix/sysv/gethostname.c: Move to ...
1296 * sysdeps/posix/gethostname.c: ... here.
1297
5e37ce39
JM
1298 * sysdeps/unix/execve.S: Remove file.
1299
1ad743de
JM
1300 * sysdeps/unix/_exit.S: Remove file.
1301
4e681b5b
AJ
13022012-04-23 Andreas Jaeger <aj@suse.de>
1303
1304 [BZ #13739]
1305 * manual/Makefile: Remove make dist support, there's no
1306 need for a stand-alone documentation tar ball.
1307 (TEXI2DVI): Define always, it's not in Makeconfig.
1308 (dist): Removed.
1309 (tar-it): Removed.
1310 (edition): Removed.
1311 (glibc-doc-$(edition).tar): Removed
1312 (%.Z): Removed.
1313 (%.gz): Removed.
1314 (%.uu): Removed.
1315 (ETAGS): Remove, it's in Makeconfig.
1316 (move-if-change): Remove, it's in Makeconfig.
1317
c0baea34
PE
13182013-04-23 Paul Eggert <eggert@cs.ucla.edu>
1319
1320 [BZ #13970]
1321 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
1322 (strtod, strtof, strtold, strtol, strtoul, strtoq)
1323 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
1324 (strtod_l, strtof_l, strtold_l): Remove __wur.
1325 It is not necessarily an error to ignore strtol's return value.
1326 One can reliably look at the stored endptr to decide whether
1327 the number had valid syntax.
1328
7c0616fa
AJ
13292012-04-21 Andreas Jaeger <aj@suse.de>
1330
803cb6b7 1331 [BZ #13739]
7c0616fa
AJ
1332 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
1333
b0fe253f
JM
13342012-04-21 Joseph Myers <joseph@codesourcery.com>
1335
1336 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
1337 * sysdeps/unix/sysv/Versions: Remove file.
1338
8280f22d
MT
13392012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
1340
1341 [BZ #13927]
1342 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1343
75ce411f 13442012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
1345
1346 [BZ #7064]
1347 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
1348 version from __vm86.
1349
097d59fa
JM
13502012-04-20 Joseph Myers <joseph@codesourcery.com>
1351
a90f3bcb
JM
1352 * sysdeps/unix/common/lxstat.c: Remove file.
1353 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
1354
edc7ea78
JM
1355 * sysdeps/unix/sysv/Makefile: Remove file.
1356
cb78c221
JM
1357 * sysdeps/unix/sysv/direct.h: Remove file.
1358
efa6a45f
JM
1359 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
1360 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
1361 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
1362 * sysdeps/unix/sysv/bits/signum.h: Likewise.
1363 * sysdeps/unix/sysv/bits/stat.h: Likewise.
1364 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
1365 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
1366
9c9f2d0c
JM
1367 * sysdeps/unix/sysv/setrlimit.c: Remove file.
1368
4541c83b
JM
1369 * sysdeps/unix/xmknod.c: Remove file.
1370 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
1371
f5d153a0
JM
1372 * sysdeps/unix/sysv/settimeofday.c: Remove file.
1373
aa746595
JM
1374 * sysdeps/unix/sysv/i386/time.S: Remove file.
1375
cce5905e
JM
1376 * sysdeps/unix/fxstat.c: Remove file.
1377 * sysdeps/unix/xstat.c: Likewise.
1378 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
1379
37fa3841
JM
1380 * sysdeps/unix/sysv/sigaction.c: Remove file.
1381
ff1962a3
JM
1382 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
1383 (sysdep_headers): Remove variable.
1384 [termio.h not in sysdep_headers] (generated): Likewise.
1385 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
1386 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
1387 * sysdeps/unix/sysv/tcdrain.c: Likewise.
1388 * sysdeps/unix/sysv/tcflow.c: Likewise.
1389 * sysdeps/unix/sysv/tcflush.c: Likewise.
1390 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
1391 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
1392 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
1393 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
1394 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
1395
e7740d31
JM
1396 * sysdeps/unix/siglist.c: Remove file.
1397
ee06f18b
JM
1398 * sysdeps/unix/getppid.S: Remove file.
1399
097d59fa
JM
1400 * sysdeps/unix/mkdir.c: Remove file.
1401 * sysdeps/unix/rmdir.c: Likewise.
1402
ff3d51ec
AS
14032012-04-19 Andreas Schwab <schwab@linux-m68k.org>
1404
1405 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
1406 ERR_MAX value.
1407 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
1408 errlist-compat value.
1409
50f81fd7
DM
14102012-04-18 David S. Miller <davem@davemloft.net>
1411
1412 * sysdeps/generic/memcopy.h (reg_char): Delete.
1413 * debug/strcat_chk.c: Use char, not reg_char.
1414 * debug/strcpy_chk.c: Likewise.
1415 * debug/strncat_chk.c: Likewise.
1416 * debug/strncpy_chk.c: Likewise.
1417 * string/memchr.c: Likewise.
1418 * string/memrchr.c: Likewise.
1419 * string/rawmemchr.c: Likewise.
1420 * string/strcat.c: Likewise.
1421 * string/strchr.c: Likewise.
1422 * string/strchrnul.c: Likewise.
1423 * string/strcmp.c: Likewise.
1424 * string/strcpy.c: Likewise.
1425 * string/strncat.c: Likewise.
1426 * string/strncmp.c: Likewise.
1427 * string/strncpy.c: Likewise.
1428
8ff41c46
WS
14292012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1430
1431 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
1432 __builtin_memcopy is called when src and dest ranges are known to not
1433 overlap.
1434
6b652f46
WS
14352012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1436
1437 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
1438 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
1439 fwd_align_merge macro call.
1440 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
1441 bwd_align_merge macro call.
1442 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1443
b282631e
WS
14442012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1445
1446 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
1447 bwd_align_merge macros.
1448 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
1449 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
1450 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1451
95aa737c
DM
14522012-04-18 David S. Miller <davem@davemloft.net>
1453
1454 * sysdeps/sparc/sparc64/memcopy.h: Delete.
1455
7a99a614
AJ
14562012-04-18 Andreas Jaeger <aj@suse.de>
1457
1458 [BZ# 6794]
1459 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
1460 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
1461 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1462
1463 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
1464 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
1465 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1466
1467 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
1468 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
1469 Adjust for changed ldbl-128 files.
1470
1471 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
1472 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
1473 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1474
e5270c23
DM
14752012-04-17 David S. Miller <davem@davemloft.net>
1476
1477 * sysdeps/sparc/sparc32/memcopy.h: Delete.
1478
fb5e92c9
AS
14792012-04-17 Andreas Schwab <schwab@linux-m68k.org>
1480
1481 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
1482 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
1483 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
1484 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
1485 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1486 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
1487
76da7265
AZ
14882012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1489
1490 [BZ #6794]
1491 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
1492 * math/libm-test.inc: Add ilogb errno and exception tests.
1493 * math/w_ilogb.c: New file: ilogb wrapper.
1494 * math/w_ilogbf.c: New file: ilogbf wrapper.
1495 * math/w_ilogbl.c: New file: ilogbl wrapper.
1496 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
1497 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
1498 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
1499 exception being thrown with 0.0 as argument.
1500 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
1501 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
1502 exception being thrown with 0.0 as argument.
1503 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
1504 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1505 exception being thrown with 0.0 as argument.
1506 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
1507 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1508 exception being thrown with 0.0 as argument.
1509 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
1510 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 1511 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
1512 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
1513 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
1514 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
1515 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
1516 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
1517 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
1518
0396e69d
PB
15192012-04-17 Petr Baudis <pasky@ucw.cz>
1520
1521 * include/sys/uio.h: Change __vector to __iovec to avoid clash
1522 with altivec.
1523
750b5926
MP
15242012-04-16 Marek Polacek <polacek@redhat.com>
1525
1526 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
1527
751728a1
MP
15282012-04-16 Marek Polacek <polacek@redhat.com>
1529
1530 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
1531 operands of fdivp instruction.
1532
34a27407
L
15332012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1534
1535 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
1536 * elf/tst-auditmod3b.c: Likewise.
1537 * elf/tst-auditmod4b.c: Likewise.
1538 * elf/tst-auditmod5b.c: Likewise.
1539 * elf/tst-auditmod6b.c: Likewise.
1540 * elf/tst-auditmod6c.c: Likewise.
1541 * elf/tst-auditmod7b.c: Likewise.
1542 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
1543 * sysdeps/x86_64/preconfigure.in: Likewise.
1544 * sysdeps/x86_64/preconfigure: Regenerated.
1545
7e73e17d
L
15462012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1547
1548 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
1549 __ILP32__.
1550
c7a6ab72
AB
15512012-04-13 Antoine Balestrat <merkil33@gmail.com>
1552
1553 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1554 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
1555
a9e8e0e0
CL
15562012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
1557
1558 [BZ #13973]
1559 * locale/iso-639.def: Fix gl language name. Spotted by
1560 Yaron Shahrabani.
1561
ec98af7d
RM
15622012-04-12 Roland McGrath <roland@hack.frob.com>
1563
1564 [BZ #2074]
1565 * libio/libio.h (__io_write_fn): Update comment.
1566
247c3ede
PB
15672012-04-12 Petr Baudis <pasky@ucw.cz>
1568
1569 [BZ #2074]
1570 * stdio.texi (Hook Functions): The user provided writer function
1571 is not allowed to return -1.
1572
55939d6d
DM
15732012-04-11 David S. Miller <davem@davemloft.net>
1574
1575 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1576
90020f5a
MF
15772012-04-11 Mike Frysinger <vapier@gentoo.org>
1578
1579 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
1580 Add a leading slash to rtkaio.
1581
288f9098
JM
15822012-04-11 Jim Meyering <meyering@redhat.com>
1583
90020f5a
MF
1584 [BZ #11959]
1585 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
1586 It is not necessarily an error to ignore fwrite's return
1587 value. One can reliably use ferror to test for errors after
1588 the fact.
288f9098 1589
4be2b570
L
15902012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1591
1592 * bits/types.h (__snseconds_t): New type.
1593 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
1594
1595 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
1596 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1597 (__SNSECONDS_T_TYPE): Likewise.
1598 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1599 (__SNSECONDS_T_TYPE): Likewise.
1600 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1601 (__SNSECONDS_T_TYPE): Likewise.
1602
288f9098 16032012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
1604
1605 [BZ #2636]
1606 * manual/time.texi (Processor Time): Return type of times is
1607 elapsed real time since an arbitrary point in the past.
1608 (CPU Time): Move CLK_TCK from here...
1609 (Processor Time): ...to here. Correct description.
1610 * manual/conf.texi (Constants for Sysconf): Correct description of
1611 _SC_CLK_TCK.
1612
d7dd4413
DM
16132012-04-10 David S. Miller <davem@davemloft.net>
1614
1615 [BZ #13967]
1616 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
1617 where the is a gap between DT_REL(A) and DT_JMPREL.
1618
b46068fc
L
16192012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1620
1621 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
1622 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1623 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1624
73d65cc3
SP
16252012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1626
1627 * elf/dl-support.c (_dl_inhibit_cache): New variable.
1628 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
1629 (dl_main): Handle --inhibit-cache.
1630 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
1631 _dl_inhibit_cache.
1632 * elf/dl-load.c (_dl_map_object): Use it.
1633 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
1634
bcc8d661
JM
16352012-04-09 Joseph Myers <joseph@codesourcery.com>
1636
8f9a2fae
JM
1637 [BZ #13872]
1638 * sysdeps/i386/fpu/e_powl.S (p78): New object.
1639 (__ieee754_powl): Saturate large exponents rather than testing for
1640 overflow of y*log2(x).
1641 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1642 * math/libm-test.inc (pow_test): Do not permit spurious overflow
1643 exceptions.
1644
bcc8d661
JM
1645 [BZ #11521]
1646 * math/s_ctan.c: Include <float.h>.
1647 (__ctan): Avoid internal overflow or cancellation in calculating
1648 denominator.
1649 * math/s_ctanf.c: Likewise.
1650 * math/s_ctanl.c: Likewise.
1651 * math/s_ctanh.c: Likewise.
1652 * math/s_ctanhf.c: Likewise.
1653 * math/s_ctanhl.c: Likewise.
1654 * math/libm-test.inc (ctan_test): Add more tests.
1655 (ctanh_test): Likewise.
1656 * sysdeps/i386/fpu/libm-test-ulps: Update.
1657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1658
823fbbb4
AJ
16592012-04-09 Andreas Jaeger <aj@suse.de>
1660
03879793
AJ
1661 [BZ #6894]
1662 * manual/filesys.texi (Directory Entries): Mention that d_namlen
1663 is an optional BSD extension.
1664
823fbbb4
AJ
1665 [BZ #10254]
1666 * manual/stdio.texi (Opening Streams): Document additional fopen
1667 parameters.
1668
8de131cb
RM
16692012-04-09 Roland McGrath <roland@hack.frob.com>
1670
1671 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
1672 %eax without telling the compiler.
1673
c0ed9d7d
CD
16742012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
1675
1676 [BZ # 13963]
1677 * manual/install.texi: Use sourceware.org.
1678
c483f6b4
JM
16792012-04-09 Joseph Myers <joseph@codesourcery.com>
1680
d7dd9453
JM
1681 [BZ #13873]
1682 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
1683 (__ieee754_pow): Generate overflow and underflow using huge*huge
1684 and tiny*tiny rather than just returning constant infinity or zero
1685 for large exponents.
1686 * math/libm-test.inc (pow_test): Require overflow exceptions for
1687 applicable cases of large exponents.
1688
c483f6b4
JM
1689 [BZ #706]
1690 * sysdeps/i386/fpu/e_pow.S (p10): New object.
1691 (__ieee754_pow): Use iterative multiplication algorithm only for
1692 integer exponents with absolute value below 1024. Check for odd
1693 integer exponents when using algorithm for real exponents.
1694 * math/libm-test.inc (pow_test): Add more tests.
1695 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1696
d2de7579
JM
16972012-04-08 Joseph Myers <joseph@codesourcery.com>
1698
1699 [BZ #13705]
1700 * math/libm-test.inc (exp_test): Do not allow overflow exception
1701 on underflow test.
1702
f77f1232
AJ
17032012-04-08 Aurelien Jarno <aurelien@aurel32.net>
1704
1705 [BZ #13705]
1706 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
1707 instead of __kernel_standard_f.
1708
3884932b
MF
17092012-04-08 Mike Frysinger <vapier@gentoo.org>
1710
1711 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
1712 * sysdeps/x86_64/memset_chk.S: Likewise.
1713
54472e9c
AJ
17142012-04-08 Andreas Jaeger <aj@suse.de>
1715
6ab0fbfc
AJ
1716 [BZ #10153]
1717 * manual/startup.texi (Environment Access): Describe return value
1718 for putenv and setenv.
1719
61efba8c
AJ
1720 [BZ #6895]
1721 * manual/filesys.texi (Directory Entries): Add description for
1722 DT_LNK.
1723
95c3f29a
AJ
1724 [BZ #6890]
1725 * manual/filesys.texi (Directory Entries): Clarify that it's file
1726 system not operating system in the description of DT_UNKNOWN.
1727
54472e9c
AJ
1728 [BZ #6578]
1729 * manual/syslog.texi (closelog): Fix reference, it's openlog.
1730
624254b1
SC
17312012-04-08 Stephen Compall <s11@member.fsf.org>
1732
1733 [BZ #6649]
1734 * manual/llio.texi (Opening and Closing Files): Add cross
1735 reference to explain mode argument.
1736
1e4920e0
MF
17372012-04-07 Mike Frysinger <vapier@gentoo.org>
1738
1739 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
1740 * sysdeps/x86_64/memset_chk.S: Likewise.
1741
5ed848f3
DM
17422012-04-07 David S. Miller <davem@davemloft.net>
1743
1744 * elf/elf.h (R_SPARC_WDISP10): Define.
1745 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
1746 R_SPARC_SIZE32.
1747 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
1748 R_SPARC_SIZE64 and R_SPARC_H34.
1749
96154cd8
CD
17502012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
1751
1752 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
1753 conditions and remove no longer applicable assertion.
1754
9904dc47
L
17552012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1756
1757 * bits/byteswap.h: Include <features.h>.
1758 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1759 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1760
f8887d0a
L
17612012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1762
1763 * bits/byteswap.h (__bswap_16): Removed.
1764 Include <bits/byteswap-16.h> to get __bswap_16.
1765 * sysdeps/i386/bits/byteswap.h: Likewise.
1766 * sysdeps/s390/bits/byteswap.h: Likewise.
1767 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1768 * bits/byteswap-16.h: New file.
1769 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1770 * sysdeps/s390/bits/byteswap-16.h: Likewise.
1771 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
1772 * string/Makefile (headers): Add bits/byteswap-16.h.
1773
62470f60
PP
17742012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1775
1776 [BZ #13895]
1777 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
1778 extra indirection.
1779 * nss/Makefile (tests-static, tests): Add tst-nss-static.
1780 * nss/tst-nss-static.c: New.
1781
4dad7bab
RM
17822012-04-06 Robert Millan <rmh@gnu.org>
1783
1784 [BZ #6486]
1785 * manual/llio.texi (File Position Primitive): lseek
1786 refers to WHENCE when it really means OFFSET.
1787
e9142a17
AJ
17882012-04-06 Andreas Jaeger <aj@suse.de>
1789
2c040eff
AJ
1790 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
1791 strncmp declarations.
1792
e9142a17
AJ
1793 * abilist/libc.abilist: Add __poll and __ppoll.
1794
ff9f1c5f
DM
17952012-04-05 David S. Miller <davem@davemloft.net>
1796
dcd2ae90
DM
1797 * scripts/check-local-headers.sh: Accept a host triplet in the
1798 path matched by the exclude regexp.
1799
993eb054
DM
1800 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
1801 definition.
1802 * sysdeps/powerpc/powerpc32/dl-machine.h
1803 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
1804 * sysdeps/s390/s390-32/dl-machine.h
1805 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1806 * sysdeps/sparc/sparc32/dl-machine.h
1807 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1808 * sysdeps/sparc/sparc64/dl-machine.h
1809 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1810
ff9f1c5f
DM
1811 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
1812 lazy binding.
48e2e132 1813 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
1814 undefined symbol errors.
1815
48e2e132 1816 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
1817 DT_NEEDED entries.
1818
e80d6f94
MM
18192012-04-05 Michael Matz <matz@suse.de>
1820
1821 [BZ #13592]
1822 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
1823
349fa79f
AJ
18242012-04-05 Andreas Jaeger <aj@suse.de>
1825
1826 [BZ #13908]
1827 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
1828 comment.
1829
f402708f
KK
18302012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1831
1832 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
1833 which ROUND is no valid rounding mode.
1834
2ecccfc9
KK
18352012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1836
1837 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
1838 read again.
1839 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
1840
8a53f50f
KK
18412012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1842
1843 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
1844 an exception using FPU order intentionally.
1845
18462012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1847
1848 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
1849 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
1850 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
1851 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
1852
d653abb7
SJ
18532012-04-05 Simon Josefsson <simon@josefsson.org>
1854
1855 [BZ #12340]
1856 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
1857 EINVAL when BUFLEN is too smal.
1858
c3b1bf7d
TS
18592012-04-05 Thomas Schwinge <thomas@codesourcery.com>
1860
1861 [BZ #13553]
1862 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
1863 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
1864
b1aa60f3
AJ
18652012-04-03 Andreas Jaeger <aj@suse.de>
1866
c3b1bf7d 1867 [BZ #13938]
67f60a26
AJ
1868 * manual/setjmp.texi (System V contexts): Fix sentence.
1869
b1aa60f3
AJ
1870 [BZ #13926]
1871 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
1872 New macro for this case.
1873 [!__GNUC__] (__bswap_64): New inline function for this case.
1874 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1875 * bits/byteswap.h: Likewise.
1876 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
1877 ull, guard with __GLIBC_HAVE_LONG_LONG.
1878
1879 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
1880 __GLIBC_HAVE_LONG_LONG.
1881
1882 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
1883 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
1884
39c59c35
TMQMF
18852012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1886
1887 [BZ #13691]
1888 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
1889 inptr and inend, rather than using last_ch.
1890
135ffda8
DM
18912012-04-02 David S. Miller <davem@davemloft.net>
1892
1893 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
1894 * stdio-common/printf-parse.h (read_int): Change return type to
1895 'int', return -1 on INT_MAX overflow.
1896 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
1897 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
1898 overflows INT_MAX. Check for overflow of in-format-string precision
1899 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
1900 SIZE_MAX not INT_MAX for integer overflow test.
1901 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
1902 skip the construct in the format string but do not record anything.
1903 * stdio-common/bug22.c: Adjust to test both width/prevision
1904 INT_MAX overflow as well as total length INT_MAX overflow. Check
1905 explicitly for proper errno values.
1906
228c019e
TS
19072012-04-02 Thomas Schwinge <thomas@codesourcery.com>
1908
302cadd3
TS
1909 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
1910 CHAR_MAX.
1911 * string/test-strcmp.c [! WIDE]: Likewise.
1912 * time/tst-mktime2.c: Likewise for INT_MAX.
1913 * string/test-string.h: #include <sys/param.h> for MIN.
1914
228c019e
TS
1915 * csu/init-first.c (__libc_init_first): Call __ctype_init.
1916 * sysdeps/i386/init-first.c (init): Likewise.
1917 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
1918 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
1919 * sysdeps/sh/init-first.c (init): Likewise.
1920
cfa633f5
UD
19212012-04-01 Ulrich Drepper <drepper@gmail.com>
1922
1923 * po/ru.po: Update from translation team.
d1635ef8 1924 * po/vi.po: Likewise.
cfa633f5 1925
6cd0a5ea
SP
19262012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1927
1928 * resolv/nss_dns/dns-host.c: Merge copyright years.
1929
4b43400f
LD
19302012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1931
1932 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
1933 Optimize memcpy with prefetch if
1934 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
1935 src, dst pointers have unequal 16 byte alignments.
1936
48c41d04
SP
19372012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1938
1939 [BZ #13928]
1940 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
1941 from a CNAME entry and return the minimum ttl for the query.
1942 (gaih_getanswer_slice): Likewise.
1943
b8dc394d
JL
19442012-03-30 Jeff Law <law@redhat.com>
1945
1946 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
1947 due to long keys.
1948 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1949 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1950
2f5a5ed0
JL
1951 * resolv/nss_dns/dns-host.c: Update copyright year.
1952
1d39e359
UD
19532012-03-30 Ulrich Drepper <drepper@gmail.com>
1954
c030f70c 1955 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 1956 requests to save a system call. Fix check that all bytes are sent.
c030f70c 1957
1d39e359
UD
1958 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
1959 comments for sendmmsg.
1960
19612012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
1962
1963 [BZ #13691]
1964 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
1965 with only 1 character between 0x0041 and 0x01b0.
1966 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
1967 * wcsmbs/tst-mbsnrtowcs.c: New file.
1968
20fde227
DM
19692012-03-29 David S. Miller <davem@davemloft.net>
1970
1971 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
1972 small copies by hand.
1973
984a4237
JL
19742012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1975
1976 [BZ #13761]
1977 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
1978 _nss_compat_initgroups_dyn): Fall back to malloc/free
1979 for large group memberships.
1980
18c9d62b
DM
19812012-03-28 David S. Miller <davem@davemloft.net>
1982
88d85d4f
DM
1983 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
1984 that branches into memcpy.
1985 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1986 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1987 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1988 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1989 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
1990 bits.
1991 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
1992 implementation too.
1993 * sysdeps/sparc/mempcpy.S: New file.
1994
e5aa83e1
DM
1995 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
1996 the IFUNC routine in the libc case.
1997 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1998
88570753
DM
1999 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2000 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2001 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2002 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2003 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2004 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2005 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2006 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2007
249d7567
DM
2008 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2009 loop to 256 bytes instead of 64 bytes and fix test signedness.
2010
18c9d62b
DM
2011 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2012 * sysdeps/sparc/sparc32/Makefile: rather than here...
2013 * sysdeps/sparc/sparc64/Makefile: and here.
2014
05f3d1f6
UD
20152012-03-28 Ulrich Drepper <drepper@gmail.com>
2016
2017 * malloc/mallocbug.c: Avoid warnings about unused variables.
2018
86ae07a8
JL
20192012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2020
2021 [BZ #13760]
2022 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2023 in the right place. Discard and retry query if response is
2024 larger than input buffer size.
2025
41bf21a1
JM
20262012-03-28 Joseph Myers <joseph@codesourcery.com>
2027
d6270972
JM
2028 [BZ #369]
2029 [BZ #2678]
2030 [BZ #3866]
2031 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2032 x for large integer exponent.
2033 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2034 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
2035 sign of result as needed afterwards.
2036 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2037 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2038 result for underflowing pow the same as for overflow.
2039 (__kernel_standard_l): Handle powl overflow and underflow here
2040 rather than calling __kernel_standard.
2041 * math/libm-test.inc (pow_test): Add more tests.
2042
414fca03 2043 [BZ #3868]
41bf21a1
JM
2044 [BZ #13879]
2045 [BZ #13910]
2046 [BZ #13911]
2047 [BZ #13912]
2048 [BZ #13913]
2049 [BZ #13915]
2050 [BZ #13916]
2051 [BZ #13917]
2052 [BZ #13918]
2053 [BZ #13919]
2054 [BZ #13920]
2055 [BZ #13921]
2056 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2057 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2058 (__kernel_standard_l): New function.
2059 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2060 __kernel_standard.
2061 * math/w_acosl.c (__acosl): Likewise.
2062 * math/w_asinl.c (__asinl): Likewise.
2063 * math/w_atan2l.c (__atan2l): Likewise.
2064 * math/w_atanhl.c (__atanhl): Likewise.
2065 * math/w_coshl.c (__coshl): Likewise.
2066 * math/w_exp10l.c (__exp10l): Likewise.
2067 * math/w_exp2l.c (__exp2l): Likewise.
2068 * math/w_fmodl.c (__fmodl): Likewise.
2069 * math/w_hypotl.c (__hypotl): Likewise.
2070 * math/w_j0l.c (__j0l, __y0l): Likewise.
2071 * math/w_j1l.c (__j1l, __y1l): Likewise.
2072 * math/w_jnl.c (__jnl, __ynl): Likewise.
2073 * math/w_lgammal.c (__lgammal): Likewise.
2074 * math/w_log10l.c (__log10l): Likewise.
2075 * math/w_log2l.c (__log2l): Likewise.
2076 * math/w_logl.c (__logl): Likewise.
2077 * math/w_powl.c (__powl): Likewise.
2078 * math/w_remainderl.c (__remainderl): Likewise.
2079 * math/w_scalbl.c (sysv_scalbl): Likewise.
2080 * math/w_sinhl.c (__sinhl): Likewise.
2081 * math/w_sqrtl.c (__sqrtl): Likewise.
2082 * math/w_tgammal.c (__tgammal): Likewise.
2083 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2084 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2085 * math/libm-test.inc (acos_test): Add more tests.
2086 (acosh_test): Likewise.
2087 (asin_test): Likewise.
2088 (atanh_test): Likewise.
2089 (exp_test): Likewise.
2090 (exp10_test): Likewise.
2091 (exp2_test): Likewise.
2092 (expm1_test): Likewise.
2093 (lgamma_test): Likewise.
2094 (log_test): Likewise.
2095 (log10_test): Likewise.
2096 (log1p_test): Likewise.
2097 (log2_test): Likewise.
2098 (pow_test): Do not allow some spurious overflow exceptions.
2099 (sqrt_test): Add more tests.
2100 (tgamma_test): Likewise.
2101 (y0_test): Likewise.
2102 (y1_test): Likewise.
2103 (yn_test): Likewise.
2104
dd62fda6
AB
21052012-03-27 Anton Blanchard <anton@samba.org>
2106
2107 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2108 MAP_HUGETLB.
2109 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2110 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2111 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2112
1e3cdfda
AJ
21132012-03-27 David S. Miller <davem@davemloft.net>
2114
b855ab85
DM
2115 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2116
1e3cdfda
AJ
2117 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2118 have-as-vis3 check.
2119
21202012-03-27 Andreas Jaeger <aj@suse.de>
2121
2122 * sysdeps/x86_64/elf/configure.in: Moved to ...
2123 * sysdeps/x86_64/configure.in: ... here.
2124 * sysdeps/x86_64/elf/start.S: Moved to ...
2125 * sysdeps/x86_64/start.S: ... here.
2126 * sysdeps/x86_64/elf/configure: Delete.
2127
2128 * sysdeps/x86_64/configure.in: Merge contents from
2129 sysdeps/i386/configure.in (without i686 check).
2130
2131 * sysdeps/i386/elf/Versions: Merge into ...
2132 * sysdeps/i386/Versions: ... this.
2133 * sysdeps/i386/elf/Versions: Delete file.
2134 * sysdeps/i386/elf/start.S: Moved to ...
2135 * sysdeps/i386/start.S: ...here.
2136 * sysdeps/i386/elf/configure.in: Merge into...
2137 * sysdeps/i386/configure.in: ...here.
2138 * sysdeps/i386/elf/configure.in: Delete file.
2139 * sysdeps/i386/elf/configure: Delete file.
2140
2141 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2142 * debug/backtracesyms.c: ... here.
2143 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2144 * debug/backtracesymsfd.c: ... here.
2145 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2146 * sysdeps/generic/ifunc-sel.h: ... here.
2147
2148 * sysdeps/unix/i386/start.c: Delete file.
2149 * sysdeps/unix/sparc/start.c: Delete file.
2150 * sysdeps/unix/start.c: Delete file.
2151
2152 * sysdeps/sh/elf/configure.in: Moved to ...
2153 * sysdeps/sh/configure.in: ... here.
2154 * sysdeps/sh/elf/start.S: Moved to ...
2155 * sysdeps/sh/start.S: ... here.
2156 * sysdeps/sh/elf/configure: Delete file.
2157
2158 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2159 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2160 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2161 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2162 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2163 * sysdeps/powerpc/powerpc64/start.S: here.
2164 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2165 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2166 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2167 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2168 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2169
2170 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2171 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2172 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2173 * sysdeps/powerpc/powerpc32/start.S: ... here.
2174 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2175 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2176 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2177
2178 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2179 * sysdeps/powerpc/ifunc-sel.h: ... here.
2180 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2181 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2182
2183 * sysdeps/sparc/elf/configure.in: Moved to ...
2184 * sysdeps/sparc/configure.in: ... here.
2185 * sysdeps/sparc/elf/configure: Delete file.
2186 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2187 * sysdeps/sparc/sparc32/start.S: ... here.
2188 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2189 * sysdeps/sparc/sparc64/start.S: ... here.
2190 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2191 * sysdeps/sparc/sparc32/Makefile: ... this.
2192 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2193 * sysdeps/sparc/sparc64/Makefile: ... this.
2194
2195 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2196 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2197 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2198 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2199 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2200 * sysdeps/s390/s390-32/setjmp.S: ... here.
2201 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2202 * sysdeps/s390/s390-32/configure.in: ... here.
2203 * sysdeps/s390/s390-32/elf/configure: Delete file.
2204 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2205 * sysdeps/s390/s390-32/start.S: ... here.
2206
2207 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2208 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2209 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2210 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2211 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2212 * sysdeps/s390/s390-64/setjmp.S: ... here.
2213 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2214 * sysdeps/s390/s390-64/configure.in: ... here
2215 * sysdeps/s390/s390-64/elf/configure: Delete file.
2216 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2217 * sysdeps/s390/s390-64/start.S: ... here.
2218 * sysdeps/s390/s390-64/elf/configure: Delete.
2219
2220 * configure.in: Remove support for elf directories in sysdeps.
2221
2222 * configure: Regenerated.
2223 * sysdeps/i386/configure: Regenerated.
2224 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2225 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2226 * sysdeps/s390/s390-32/configure: Regenerated.
2227 * sysdeps/s390/s390-64/configure: Regenerated.
2228 * sysdeps/sh/configure: Regenerated.
2229 * sysdeps/sparc/configure: Regenerated.
2230 * sysdeps/x86_64/configure: Regenerated.
2231
a3f61311
AS
22322012-03-26 Andreas Schwab <schwab@linux-m68k.org>
2233
c876e002
AS
2234 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2235
a3f61311
AS
2236 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2237 denormal result into account.
2238
ac4c54f0
RM
22392012-03-25 Roland McGrath <roland@hack.frob.com>
2240
2241 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2242 Reported by Allan McRae <allan@archlinux.org>.
2243
6a9b9c02
JL
22442012-03-23 Jeff Law <law@redhat.com>
2245
2246 * nss/getnssent.c (__nss_getent): Fix typo.
2247
4c42a0c1
DM
22482012-03-23 David S. Miller <davem@davemloft.net>
2249
2250 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2251
1532c7ac
L
22522012-03-23 H.J. Lu <hongjiu.lu@intel.com>
2253
2254 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2255 to pad to uint64_t for each field.
2256 (dl_tls_index): Replace unsigned long with uint64_t.
2257
3ff42526
PP
22582012-03-23 Daniel Jacobowitz <dmj@google.com>
2259 Paul Pluzhnikov <ppluzhnikov@google.com>
2260
2261 [BZ #6528]
2262 * grp/Makefile (otherlibs): Don't set it.
2263 * inet/Makefile (otherlibs): Likewise.
2264 * login/Makefile (otherlibs): Likewise.
2265 * nscd/Makefile (otherlibs): Likewise.
2266 * posix/Makefile (otherlibs): Likewise.
2267 * pwd/Makefile (otherlibs): Likewise.
2268 * rt/Makefile (otherlibs): Likewise.
2269 * sunrpc/Makefile (otherlibs): Likewise.
2270 * nss/Makefile (otherlibs): Likewise.
2271 Add libnss_files to routines and static-only-routines.
2272 ($(objpfx)getent): Remove rule.
2273 * resolv/Makefile: Add libnss_dns and libresolv to routines and
2274 static-only-routines.
2275
7c69cd14
JM
22762012-03-22 Joseph Myers <joseph@codesourcery.com>
2277
2278 [BZ #13892]
2279 * math/s_cexp.c: Include <float.h>.
2280 (__cexp): Handle exp result overflowing not necessarily
2281 overflowing both real and imaginary parts of result.
2282 * math/s_cexpf.c: Likewise.
2283 * math/s_cexpl.c: Likewise.
2284 * math/libm-test.inc (cexp_test): Add more tests.
2285 * sysdeps/i386/fpu/libm-test-ulps: Update.
2286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2287
81b035fe
L
22882012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2289
2290 * include/link.h (ELFW): New macro.
2291 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2292 Replace ELF64_R_TYPE with ELFW(R_TYPE).
2293
1da7940c
L
22942012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2295
2296 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2297 with uint64_t.
2298
b749dbb9
L
22992012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2300
2301 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2302 declaration.
2303 (struct La_x32_retval): Likewise.
2304
2ff87f3f
L
23052012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2306
2307 * sysdeps/x86_64/preconfigure.in: New file.
2308 * sysdeps/x86_64/preconfigure: New generated file.
2309
c0df8e69
JM
23102012-03-22 Joseph Myers <joseph@codesourcery.com>
2311
48e44791
JM
2312 [BZ #13824]
2313 * math/e_exp2l.c: Include <float.h>.
2314 (__ieee754_exp2l): Handle overflow and underflow cases
2315 separately. Only pass fractional part of argument to
2316 __ieee754_expl.
2317 * math/libm-test.inc (exp2_test): Add more tests.
2318
c0df8e69
JM
2319 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
2320 negating x to take absolute value.
2321 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2322 Likewise.
2323 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2324 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2325 Likewise.
2326 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
2327 computing low part if x was negated.
2328 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2329
c8e43ba7
L
23302012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2331
2332 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
2333 la_x32_gnu_pltexit.
2334 (pltexit): Cast int_retval to ptrdiff_t.
2335 * elf/tst-auditmod3b.c: Likewise.
2336 * elf/tst-auditmod4b.c: Likewise.
2337 * elf/tst-auditmod5b.c: Likewise.
2338 * elf/tst-auditmod6b.c: Likewise.
2339 * elf/tst-auditmod6c.c: Likewise.
2340 * elf/tst-auditmod7b.c: Likewise.
2341
2342 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
2343 and x32_gnu_pltexit.
2344
2345 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
2346 __ELF_NATIVE_CLASS.
2347 (La_x32_regs): New macro.
2348 (La_x32_retval): Likewise.
2349 (la_x32_gnu_pltenter): New function prototype.
2350 (la_x32_gnu_pltexit): Likewise.
2351
7998fa78
AS
23522012-03-21 Andreas Schwab <schwab@linux-m68k.org>
2353
dcb33988
AS
2354 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
2355 exponent.
2356
233fc563
AS
2357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2358
7998fa78
AS
2359 * configure.in (libc_cv_cc_nofma): Check for option to disable
2360 generation of FMA instructions.
2361 * configure: Regenerate.
2362 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
2363 * sysdeps/ieee754/dbl-64/Makefile: New file.
2364 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2365 Remove brandred-fma4.
2366 (CFLAGS-brandred-fma4.c): Remove.
2367 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
2368 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
2369 define.
2370 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
2371 define.
2372
8e95c99a
L
23732012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2374
2375 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2376 LLONG_MAX != LONG_MAX.
2377 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2378 (_fitoa_word): Likewise.
2379 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
2380 LLONG_MAX != LONG_MAX.
2381 * stdio-common/_itowa.h: Include <_itoa.h>.
2382 (_itowa_word): Use _ITOA_WORD_TYPE on value.
2383 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
2384 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
2385 only if not defined.
2386 (_ITOA_WORD_TYPE): Likewise.
2387 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2388 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
2389
6f4db457
DM
23902012-03-21 David S. Miller <davem@davemloft.net>
2391
2392 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2393
7785fe5a
L
23942012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2395
2396 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
2397 of x86_64 when setting libc_cv_slibdir, libdir and
2398 libc_cv_localedir.
2399 * sysdeps/unix/sysv/linux/configure: Regenerated.
2400
4535cd55
JM
24012012-03-21 Joseph Myers <joseph@codesourcery.com>
2402
2403 * manual/lang.texi (Old Varargs): Remove section.
2404 (How Variadic): Update menu.
2405 (va_start): Do not mention varargs.h.
2406
17228132
TS
24072012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2408 Joseph Myers <joseph@codesourcery.com>
2409
2410 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
2411 link test.
2412 * configure: Regenerated.
2413
8149f976
TS
24142012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2415
05f3d1f6
UD
2416 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
2417 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
2418 conformtest.pl
8149f976 2419
1a4ac776
JM
24202012-03-21 Joseph Myers <joseph@codesourcery.com>
2421
be22ce65
JM
2422 * NOTES: Remove.
2423 * Makefile (files-for-dist): Remove NOTES.
2424 (NOTES): Remove rule.
2425 * README: Don't refer to NOTES.
2426 * manual/creature.texi: Don't include macros.texi.
2427 * manual/intro.texi (creature.texi): Remove comment referring to
2428 NOTES.
2429
40b601fb
JM
2430 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
2431 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
2432 * configure: Regenerated.
2433 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
2434 LIBC_TRY_CC_OPTION.
2435 (libc_cv_as_i686): Likewise.
2436 (libc_cv_cc_avx): Likewise.
2437 (libc_cv_cc_sse2avx): Likewise.
2438 (libc_cv_cc_fma4): Likewise.
2439 (libc_cv_cc_novzeroupper): Likewise.
2440 * sysdeps/i386/configure: Regenerated.
2441
1a4ac776
JM
2442 [BZ #13883]
2443 * sysdeps/i386/fpu/s_cexp.S: Remove.
2444 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2445 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2446 * math/libm-test.inc (cexp_test): Add more tests.
2447 * sysdeps/i386/fpu/libm-test-ulps: Update.
2448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2449
a458e7fe
AM
24502012-03-21 Allan McRae <allan@archlinux.org>
2451
2452 * timezone/Makefile: Do not install iso3166.tab and zone.tab
2453
0cb7efc5
JM
24542012-03-21 Joseph Myers <joseph@codesourcery.com>
2455
2456 [BZ #13871]
2457 * math/w_exp2.c: Do not include <float.h>.
2458 (o_threshold, u_threshold): Remove.
2459 (__exp2): Calculate result before checking finiteness and calling
2460 __kernel_standard.
2461 * math/w_exp2f.c: Likewise.
2462 * math/w_exp2l.c: Likewise.
2463 * math/libm-test.inc (exp2_test): Require overflow exception for
2464 1e6 input.
2460d3aa
JM
2465
2466 [BZ #3866]
2467 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
2468 range of signed 64-bit integers before using fistpll. Remove
2469 checks for whether integers fit in mantissa bits.
2470 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
2471 the range of signed 32-bit integers before using fistpl. Remove
2472 checks for whether integers fit in mantissa bits.
2473 * sysdeps/i386/fpu/e_powl.S (p64): New object.
2474 (__ieee754_powl): Test for y outside the range of signed 64-bit
2475 integers before using fistpll. Reduce 64-bit values to 63-bit
2476 ones as needed.
2477 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
2478 divide-by-zero is raised for zero to large negative powers.
2479 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
2480 (__ieee754_powl): Test for y outside the range of signed 64-bit
2481 integers before using fistpll. Reduce 64-bit values to 63-bit
2482 ones as needed.
2483 * math/libm-test.inc (pow_test): Add more tests.
2484
eb96ffb0
L
24852012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2486
2487 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
2488 <stdio-common/_itoa.h>.
2489 * debug/segfault.c: Likewise.
2490 * elf/dl-cache.c: Likewise.
2491 * elf/dl-minimal.c: Likewise.
2492 * elf/dl-misc.c: Likewise.
2493 * elf/dl-sysdep.c: Likewise.
2494 * elf/dl-version.c: Likewise.
2495 * elf/rtld.c: Likewise.
2496 * hurd/hurdsock.c: Likewise.
2497 * hurd/lookup-retry.c: Likewise.
2498 * malloc/malloc.c: Likewise.
2499 * malloc/mtrace.c: Likewise.
2500 * nscd/nscd_getgr_r.c: Likewise.
2501 * nscd/nscd_getpw_r.c: Likewise.
2502 * nscd/nscd_getserv_r.c: Likewise.
2503 * posix/getopt_init.c: Likewise.
2504 * posix/wordexp.c: Likewise.
2505 * stdio-common/_itoa.c: Likewise.
2506 * stdio-common/printf_fphex.c: Likewise.
2507 * stdio-common/vfprintf.c: Likewise.
2508 * string/_strerror.c: Likewise.
2509 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
2510 * sysdeps/i386/i686/hp-timing.h: Likewise.
2511 * sysdeps/mach/_strerror.c: Likewise.
2512 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
2513 * sysdeps/mach/hurd/sethostid.c: Likewise.
2514 * sysdeps/mach/hurd/xmknodat.c: Likewise.
2515 * sysdeps/mach/xpg-strerror.c: Likewise.
2516 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2517 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2518 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
2519 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
2520 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2521 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
2522 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2523 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2524 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
2525 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
2526 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
2527 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2528 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
2529 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2530 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2531 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
2532 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
2533 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2534 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2535 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2536 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
2537
2538 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
2539
2540 * stdio-common/_itoa.h: Moved to ...
2541 * sysdeps/generic/_itoa.h: Here.
2542
2543 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
2544
2545 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
2546 instead of "_itoa.h" and "_itowa.h".
2547 * stdio-common/vfprintf.: Likewise.
2548
d1af992d
L
25492012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2550
2551 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
2552 <bits/wordsize.h>.
2553 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
2554 (__signbit): Likwise.
2555 (llrintf): Likwise.
2556 (llrint): Likwise.
2557
114883e0
L
25582012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2559
2560 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
2561 __WORDSIZE != 64.
2562
c135cc1b
JM
25632012-03-20 Joseph Myers <joseph@codesourcery.com>
2564
2565 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
2566 OVERFLOW_EXCEPTION_OK.
2567 * math/libm-test.inc ("Philosophy"): Update comment about
2568 exception testing.
2569 (OVERFLOW_EXCEPTION): Define.
2570 (OVERFLOW_EXCEPTION_OK): Likewise.
2571 (INVALID_EXCEPTION_OK): Renumber.
2572 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2573 (IGNORE_ZERO_INF_SIGN): Likewise.
2574 (test_exceptions): Handle FE_OVERFLOW.
2575 (exp10_test): Expect overflow exceptions.
2576 (exp2_test): Likewise.
2577 (expm1_test): Likewise.
2578 (nextafter_test): Likewise.
2579 (pow_test): Likewise.
2580 (scalbn_test): Likewise.
2581 (scalbln_test): Likewise.
2582
95443d88
L
25832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2584
2585 * sysdeps/x86_64/bits/atomic.h
2586 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
2587 64bit integer.
2588 (atomic_exchange_acq): Likewise.
2589 (__arch_exchange_and_add_body): Likewise.
2590 (__arch_add_body): Likewise.
2591 (atomic_add_negative): Likewise.
2592 (atomic_add_zero): Likewise.
2593
490df6c4
L
25942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2595
c2722551 2596 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
2597 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
2598
5e52b189
L
25992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2600
2601 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
2602 Check __x86_64__ instead of __WORDSIZE.
2603
a9879d4c
L
26042012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2605
2606 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
2607
5df98260
DM
26082012-03-19 David S. Miller <davem@davemloft.net>
2609
e1497744
DM
2610 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2611
5df98260
DM
2612 * sysdeps/sparc/fpu/fenv_private.h: New file.
2613 * sysdeps/sparc/fpu/math_private.h: Use it.
2614 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
2615 Remove.
2616 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
2617 (libc_feholdexcept_setroundl): Remove.
2618 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
2619 Remove.
2620 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
2621 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
2622
b4c35121
L
26232012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2624
2625 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
2626 int64_t instead of long int.
2627 (INSERT_WORDS64): Likwise.
2628
56965fd7
L
26292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2630
2631 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
2632 _Unwind_GetCFA return to _Unwind_Ptr first.
2633
83d1aec8
JM
26342012-03-19 Joseph Myers <joseph@codesourcery.com>
2635
1897ad44
JM
2636 [BZ #13629]
2637 * math/s_clog.c: Include <float.h>.
2638 (__clog): Scale large or subnormal inputs.
2639 * math/s_clogf.c: Likewise.
2640 * math/s_clogl.c: Likewise.
2641 * math/s_clog10.c: Include <float.h>.
2642 (M_LOG10_2): Define.
2643 (__clog10): Scale large or subnormal inputs.
2644 * math/s_clog10f.c: Likewise.
2645 * math/s_clog10l.c: Likewise.
2646 * math/libm-test.inc (clog_test): Add more tests.
2647 (clog10_test): Likewise.
2648 * sysdeps/i386/fpu/libm-test-ulps: Update.
2649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2650
7726d6a9
JM
2651 [BZ #11451]
2652 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
2653 x and y.
2654 * math/libm-test.inc (atan2_test): Add another test.
2655
83d1aec8
JM
2656 * Makerules (common-objdir-compile): Remove.
2657 * sysdeps/unix/Makefile (config-generated): Do not add
2658 $(unix-generated) to variable.
2659 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
2660 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
2661 Remove rule.
2662 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
2663 Likewise.
2664 [generic bits/local_lim.h] (before-compile): Do not append to
2665 variable.
2666 [generic bits/local_lim.h] (common-generated): Likewise.
2667 [generic sys/param.h] (before-compile): Do not append to variable.
2668 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
2669 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
2670 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
2671 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
2672 include.
2673 [generic sys/param.h] (sys/param.h-includes): Remove variable.
2674 [generic sys/param.h] (sys/param.h-includes): Remove rule.
2675 [generic sys/param.h] ($(addprefix
2676 $(common-objpfx),$(sys/param.h-includes))): Likewise.
2677 [generic sys/param.h] (common-generated): Do not append to
2678 variable.
2679 [generic sys/param.h] (sysdep_headers): Likewise.
2680 [generic bits/errno.h] (before-compile): Do not append to
2681 variable.
2682 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
2683 rule.
2684 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
2685 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
2686 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
2687 [generic bits/errno.h] (common-generated): Do not append to
2688 variable.
2689 [generic bits/ioctls.h] (before-compile): Do not append to
2690 variable.
2691 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
2692 rule.
2693 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
2694 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
2695 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
2696 rule.
2697 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
2698 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
2699 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
2700 [generic bits/ioctls.h] (common-generated): Do not append to
2701 variable.
2702 [generic sys/syscall.h] (syscall.h): Remove variable.
2703 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
2704 rule.
2705 [generic sys/syscall.h] (before-compile): Do not append to
2706 variable.
2707 [generic sys/syscall.h] (common-generated): Likewise.
2708 * sysdeps/unix/errnos-tmpl.c: Remove file.
2709 * sysdeps/unix/errnos.awk: Likewise.
2710 * sysdeps/unix/ioctls-tmpl.c: Likewise.
2711 * sysdeps/unix/ioctls.awk: Likewise.
2712 * sysdeps/unix/mk-local_lim.c: Likewise.
2713 * sysdeps/unix/snarf-ioctls: Likewise.
2714
4851a949
RH
27152012-03-19 Richard Henderson <rth@twiddle.net>
2716
bd37f2ee
RH
2717 * sysdeps/i386/fpu/fenv_private.h: New file.
2718 * sysdeps/i386/fpu/math_private.h: Use it.
2719 (math_opt_barrier, math_force_eval): Remove.
2720 (libc_feholdexcept_setround_53bit): Remove.
2721 (libc_feupdateenv_53bit): Remove.
2722 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2723 (math_opt_barrier, math_force_eval): Remove.
2724 (libc_feholdexcept): Remove.
2725 (libc_feholdexcept_setround): Remove.
2726 (libc_fetestexcept, libc_fesetenv): Remove.
2727 (libc_feupdateenv_test): Remove.
2728 (libc_feupdateenv, libc_feholdsetround): Remove.
2729 (libc_feresetround): Remove.
2730
d0adc922
RH
2731 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
2732 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2733
0fe0f1f8
RH
2734 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
2735 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
2736 (libc_feupdateenv_testl): New.
2737 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
2738 (libc_feupdateenv_testf): New.
2739 (libc_feupdateenv): Use libc_feupdateenv_test.
2740 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
2741 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
2742
eb92c487
RH
2743 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
2744 (libc_feholdsetroundf, libc_feholdsetroundl): New.
2745 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
2746 (libc_feresetround_noex): New.
2747 (libc_feresetround_noexf): New.
2748 (libc_feresetround_noexl): New.
2749 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
2750 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
2751 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
2752 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
2753 SET_RESTORE_ROUND.
2754 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
2755 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
2756 (__cos): Likewise.
2757 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
2758 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
2759 SET_RESTORE_ROUND_NOEX.
2760 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
2761 SET_RESTORE_ROUND_NOEXF.
2762 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
2763 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
2764 (libc_feholdsetroundf): New.
2765 (libc_feresetround, libc_feresetroundf): New.
2766
7d2e8012
RH
2767 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
2768 (libc_feholdexcept_setround_53bit): Convert from macro to function.
2769 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
2770
b4dabbb4
RH
2771 * sysdeps/generic/math_private.h: Include <fenv.h>.
2772 (default_libc_feholdexcept): New.
2773 (default_libc_feholdexcept_setround): New.
2774 (default_libc_fesetenv, default_libc_feupdateenv): New.
2775 (libc_feholdexcept): Only define if undefined.
2776 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
2777 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
2778 (libc_feholdexcept_setroundl): Likewise.
2779 (libc_feholdexcept_setround_53bit): Likewise.
2780 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
2781 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
2782 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
2783 (libc_feupdateenv_53bit): Likewise.
2784 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
2785 (libc_feholdexcept): Convert from macro to inline function.
2786 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
2787 (libc_fesetenv, libc_feupdateenv): Likewise.
2788
4851a949
RH
2789 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
2790 not previously defined.
2791 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
2792 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
2793 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
2794 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
2795 * sysdeps/ieee754/flt-32/math_private.h: New file.
2796 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
2797 math_private.h below SET_FLOAT_WORD.
2798 (__isnan, __isinf_ns, __finite): Remove.
2799 (__isnanf, __isinf_nsf, __finitef): Remove.
2800
e79d442e
AS
28012012-03-18 Andreas Schwab <schwab@linux-m68k.org>
2802
2803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2804
90b80344
DM
28052012-03-17 David S. Miller <davem@davemloft.net>
2806
2807 [BZ #6471]
2808 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
2809 for 2.16.
2810
edc21804
DM
28112012-03-16 David S. Miller <davem@davemloft.net>
2812
77e927af
DM
2813 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
2814 warnings.
2815
374976dd
DM
2816 [BZ #6471]
2817 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
2818 properly.
2819 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
2820 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
2821 sysdep_routines when subdir is sysvipc.
2822 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
2823 __getshmlba helper.
2824
edc21804
DM
2825 * sysdeps/sparc/fpu/libm-test/ulps: Update.
2826
473c3ef3
L
28272012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2828
2829 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
2830 [__LP64__].
2831
eb0f39b6
L
28322012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2833
2834 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
2835 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
2836 (__lround): Renamed to ...
2837 (__llround): This. Replace long int with long long int.
2838 Define lround functions as aliases of llround functions.
2839 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
2840
6b6cd74b
L
28412012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2842
2843 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
2844 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
2845 adresses to uintptr_t. Replace "long int" and "unsigned long
2846 int" with "greg_t" on va_arg.
2847
f1a77b01
L
28482012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2849
2850 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
2851 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
2852
2853 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2854 Move e_machine check before EI_CLASS check. Handle x32
2855 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
2856 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
2857 SKIP_EM_IA_64 and include
2858 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
2859
2860 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
2861 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
2862 (add_system_dir): New macro.
2863
2864 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
2865 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
2866
11b90b9f
JM
28672012-03-16 Joseph Myers <joseph@codesourcery.com>
2868
c36e1d23
JM
2869 [BZ #2551]
2870 [BZ #2552]
2871 [BZ #2553]
2872 [BZ #2554]
2873 [BZ #2562]
2874 [BZ #2563]
2875 [BZ #2565]
2876 [BZ #2566]
2877 [BZ #2576]
2878 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
2879 (y0): Likewise.
2880 * math/w_j0f.c (j0f): Likewise.
2881 (y0f): Likewise.
2882 * math/w_j0l.c (__j0l): Likewise.
2883 (__y0l): Likewise.
2884 * math/w_j1.c (j1): Likewise.
2885 (y1): Likewise.
2886 * math/w_j1f.c (j1f): Likewise.
2887 (y1f): Likewise.
2888 * math/w_j1l.c (__j1l): Likewise.
2889 (__y1l): Likewise.
2890 * math/w_jn.c (jn): Likewise.
2891 (yn): Likewise.
2892 * math/w_jnf.c (jnf): Likewise.
2893 (ynf): Likewise.
2894 * math/w_jnl.c (__jnl): Likewise.
2895 (__ynl): Likewise.
2896 * math/libm-test.inc (j0_test): Add more tests.
2897 (j1_test): Likewise.
2898 (jn_test): Likewise. Add trailing semicolon to existing test.
2899 (y0_test): Likewise.
2900 (y1_test): Likewise.
2901 * sysdeps/i386/fpu/libm-test-ulps: Update.
2902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2903
11b90b9f
JM
2904 [BZ #13851]
2905 [BZ #13854]
2906 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
2907 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
2908 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
2909 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
2910 (__tanl): Set errno for infinite argument.
2911 * sysdeps/i386/fpu/mptan.c: Remove.
2912 * sysdeps/i386/fpu/s_tan.S: Likewise.
2913 * sysdeps/i386/fpu/s_tanl.S: Likewise.
2914 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
2915 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
2916 * math/libm-test.inc (tan_test): Add more tests and enable more
2917 tests for double and long double.
2918 * sysdeps/i386/fpu/libm-test-ulps: Update.
2919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2920
6a1bd2a1
JK
29212012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2922
2923 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
2924 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
2925
10a803e0
RM
29262012-03-16 Roland McGrath <roland@hack.frob.com>
2927
2928 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
2929 * configure.in: Use it for both main tree and add-ons.
2930 * configure: Regenerated.
2931
f196c7f7
L
29322012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2933
2934 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
2935
8848d99d
JM
29362012-03-16 Joseph Myers <joseph@codesourcery.com>
2937
96cbe7f4
JM
2938 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
2939 in comment.
2940
8848d99d
JM
2941 [BZ #13851]
2942 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
2943 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
2944 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
2945 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
2946 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
2947 infinite argument.
2948 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
2949 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
2950 != 0 for prec == 2.
2951 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
2952 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
2953 * sysdeps/i386/fpu/s_cosl.S: Likewise.
2954 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2955 * sysdeps/i386/fpu/s_sinl.S: Likewise.
2956 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
2957 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
2958 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
2959 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
2960 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
2961 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
2962 * math/libm-test.inc (cos_test): Add more tests and enable more
2963 tests for long double.
2964 (sin_test): Likewise.
2965 (sincos_test): Likewise.
2966 * sysdeps/i386/fpu/libm-test-ulps: Update.
2967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2968
dd7f4703
DM
29692012-03-16 David S. Miller <davem@davemloft.net>
2970
2971 * sysdeps/sparc/fpu/math_private.h: New file.
2972
006f1daa
DM
29732012-03-15 David S. Miller <davem@davemloft.net>
2974
c0c83bc8
DM
2975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
2976 file.
e6a62e18 2977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
2978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
2979 file.
e6a62e18
DM
2980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
2981 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
2982 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
2983 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
2984 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
2985 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
2986 sysdep routines.
2987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2988
88cb87d9
DM
2989 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
2990 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
2991
006f1daa 2992 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
2993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
2994 sparc-ifunc.h
006f1daa 2995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
2996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
2997 Likewise.
2998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
2999 Likewise.
006f1daa
DM
3000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
3003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3004 Likewise.
006f1daa
DM
3005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
3009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3010 Likewise.
3011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3012 Likewise.
006f1daa
DM
3013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3017 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3018 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3019 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3020 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3021 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3022 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3023 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3024 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3025 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3026 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3027 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3028 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3029 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3030 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3031 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3032 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3033 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3034 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3035 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3036 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3037
11e0098e
AS
30382012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3039
3040 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3041 scaling.
3042 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3043
e85b09d0
AJ
30442012-03-15 Andreas Jaeger <aj@suse.de>
3045
3046 [BZ #13852]
3047 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3048 ieee754/flt-32 implementation for sin, cos and sincos.
3049 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3050 * sysdeps/i386/fpu/s_cosf.S: Likewise.
3051 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3052 * sysdeps/i386/fpu/s_sinf.S: Likewise.
3053 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3054 ieee754/flt-32 implementation for tan.
3055
3056 * math/libm-test.inc (cos_test): Enable some large input tests for
3057 float as well
3058 (sin_test): Likewise.
3059 (sincos_test): Likewise.
3060 (tan_test): Add tests for large input.
3061
3062 * sysdeps/i386/fpu/libm-test-ulps: Update.
3063
81c64153
AJ
30642012-03-15 Andreas Jaeger <aj@suse.de>
3065
3066 [BZ #13658]
3067 * math/libm-test.inc (cos_test): Add more test cases.
3068 (sin_test): Likewise.
3069 (sincos_test): Likewise.
3070
7bbfa5c6
AJ
30712012-03-15 Andreas Jaeger <aj@suse.de>
3072
3073 [BZ #13837]
3074 * math/libm-test.inc (cos_test): Add a test case for large input
3075 value.
3076 (sin_test): Likewise.
3077 (sincos_test): Likewise.
3078
30792012-03-15 Andreas Jaeger <aj@suse.de>,
3080 Joseph Myers <joseph@codesourcery.com>
3081
3082 [BZ #13658]
0671f479 3083 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
3084 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3085 * sysdeps/i386/fpu/branred.c: Likewise.
3086 * sysdeps/i386/fpu/dosincos.c: Likewise.
3087 * sysdeps/i386/fpu/mpa.c: Likewise.
3088 * sysdeps/i386/fpu/s_cos.S: Likewise.
3089 * sysdeps/i386/fpu/s_sin.S: Likewise.
3090 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3091 * sysdeps/i386/fpu/sincos32.c: Likewise.
3092
3093 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3094 Define.
3095 (libc_feupdateenv_53bit): Define.
3096 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3097 Define.
3098 (libc_feupdateenv_53bit): Define.
3099
3100 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3101 53 bit (without extend i386 double precision).
3102
3103 * math/libm-test.inc (sincos_test): Add tests for large input.
3104 (sin): Likewise.
3105 (cos): Likewise.
3106
3107 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3108
9cad04ea
AS
31092012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3110
3111 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3112
f7062b9a
DM
31132012-03-15 David S. Miller <davem@davemloft.net>
3114
3115 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3116 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3117 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3118 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3122 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3123 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3124 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3125 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3126 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3127 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3128 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3129 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
3130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3131 file.
f7062b9a 3132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
3133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3134 file.
f7062b9a 3135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
3136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3137 file.
f7062b9a 3138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
3139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3140 file.
f7062b9a
DM
3141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3142 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3143 fmin/fmax sysdep routines.
3144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3145
7bd951ff
DM
31462012-03-14 David S. Miller <davem@davemloft.net>
3147
559398ab
DM
3148 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3149 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3150 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3151 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3152 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3153 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3154 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3155 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3156 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3157 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3158 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3159 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3160 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3161 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3162 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3163 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3164 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3165 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3166 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3167 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3168 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3169 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3170 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3171 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3172 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3173 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3174 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3175 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3176 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3177 routines.
3178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3179 file.
559398ab 3180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
3181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3182 file.
559398ab 3183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
3184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3185 file.
559398ab 3186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
3187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3188 file.
559398ab 3189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
3190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3191 file.
559398ab 3192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
3193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3194 file.
3195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3196 file.
3197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3198 file.
3199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3200 file.
3201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3202 New file.
3203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3204 file.
3205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3206 file.
559398ab 3207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
3208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3209 file.
559398ab 3210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3212 file.
559398ab 3213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
3214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3215 file.
559398ab 3216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
3217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3218 VIS3 routines.
559398ab
DM
3219
3220 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3221 New file.
3222
5a1c1e32
DM
3223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3224
eae47a36
DM
3225 * sysdeps/sparc/configure.in: New file.
3226 * sysdeps/sparc/configure: Generate.
3227 * configure.in (libc_cv_sparc_as_vis3): Substitute.
3228 * configure: Regenerate.
3229 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3230 * config.make.in (have-as-vis3): New.
3231 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3232 available use -Av9d instead of -Av9a.
3233 * sysdeps/sparc/sparc64/Makefile: Likewise.
3234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
3235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3236 New file.
3237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3238 file.
3239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3240 New file.
3241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3242 file.
eae47a36
DM
3243 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3244 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3245 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3246 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3247 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3248
c0c83bc8
DM
3249 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3250 fzeros/fnegs to load 0x80000000 into a float register instead of
3251 using the stack.
7bd951ff
DM
3252 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3253
bd951ccb
JM
32542012-03-14 Joseph Myers <joseph@codesourcery.com>
3255
3256 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3257 bits/syscall.h.
3258 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3259 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3260 ($(inst_includedir)/bits/syscall.h): Remove rule.
3261 ($(objpfx)bits/syscall.d): Include instead of
3262 $(objpfx)syscall-list.d.
3263 (generated): Change syscall-list.h and syscall-list.d to
3264 bits/syscall.h and bits/syscall.d.
3265
bb4e6db2
RM
32662012-03-14 Roland McGrath <roland@hack.frob.com>
3267
3268 [BZ #13846]
3269 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3270
aa4a2ae1
JM
32712012-03-14 Joseph Myers <joseph@codesourcery.com>
3272
e456826d
JM
3273 [BZ #13841]
3274 * math/s_csqrt.c: Include <float.h>.
3275 (__csqrt): Scale large or subnormal inputs.
3276 * math/s_csqrtf.c: Likewise.
3277 * math/s_csqrtl.c: Likewise.
3278 * math/libm-test.inc (csqrt_test): Add more tests.
3279 * sysdeps/i386/fpu/libm-test-ulps: Update.
3280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3281
aa4a2ae1
JM
3282 [BZ #13840]
3283 * math/libm-test.inc (hypot_test): Add more tests.
3284
7c10fd35
DM
32852012-03-13 David S. Miller <davem@davemloft.net>
3286
3287 [BZ #13840]
3288 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3289 double-precision for the calculation instead of scaling.
3290
f453b98b
JM
32912012-03-13 Joseph Myers <joseph@codesourcery.com>
3292
3293 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3294 manipulate bits before adding and subtracting TWO52[sx].
3295 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3296 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3297 Likewise.
3298 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3299
09a3453f
DM
33002012-03-13 David S. Miller <davem@davemloft.net>
3301
8e59da90
DM
3302 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3303 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3304 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3305 rtld-global-offsets.h
3306 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3307
2a8ab7f2
DM
3308 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3309 large parameters.
3310
10f62770
DM
3311 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
3312
5f0bdb18
DM
3313 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
3314 'err' in the ifdef scope in which it is actually used.
3315
09a3453f
DM
3316 * nss/nss_db/db-init.c: Include string.h
3317
b4b2eb5e
DM
33182012-03-12 David S. Miller <davem@davemloft.net>
3319
98bb2f1c
DM
3320 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3321 masking out of the most significant byte of random value used.
3322 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3323 Fix coding style in previous change.
3324
b4b2eb5e
DM
3325 * sysdeps/unix/sysv/linux/kernel-features.h
3326 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
3327 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
3328 expression.
3329 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
3330 later.
3331
6e226b09
DM
33322012-03-11 David S. Miller <davem@davemloft.net>
3333
a1bcbd40
DM
3334 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3335 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
3336 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
3337 for 'resultvar' otherwise things get truncated on 64-bit.
3338
cb9d6174
DM
3339 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3340 Fix masking out of the most significant byte of random value used.
3341
6e226b09
DM
3342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3343
058c132d
AS
33442012-03-10 Andreas Schwab <schwab@linux-m68k.org>
3345
3346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3347
2d2cd515
DM
33482012-03-09 David S. Miller <davem@davemloft.net>
3349
3350 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
3351 variables with appropriate CPP guards.
3352 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
3353 frame pointer, not the stack pointer. Correct layout comments. Fix test
3354 on resulting framesize and the management of the outregs buffer for pltexit.
3355 Preserve floating point return values across _dl_call_pltexit call.
3356 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
3357 framesize and the management of the outregs buffer for pltexit.
3358 Preserve floating point return values across _dl_call_pltexit
3359 call.
3360 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
3361 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
3362 (print_exit): Fix format string for return register value.
3363
9a07f9d0
JM
33642012-03-10 Joseph Myers <joseph@codesourcery.com>
3365
3366 * sunrpc/Makefile (others): Add rpcgen.
3367 ($(objpfx)rpcgen): Remove special build rule and dependency on
3368 libc.
3369 * sunrpc/rpcgen.c: New file.
3370
547b5e30
PE
33712012-03-09 Paul Eggert <eggert@cs.ucla.edu>
3372
c524201a
PE
3373 [BZ #13673]
3374 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
3375 * stdio-common/bug-vfprintf-nargs.c: Likewise.
3376 * sysdeps/i386/crti.S: Likewise.
3377 * sysdeps/i386/crtn.S: Likewise.
3378 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
3379 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
3380 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
3381 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
3382 * sysdeps/sh/crti.S: Likewise.
3383 * sysdeps/sh/crtn.S: Likewise.
3384 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3385
7b6235f2
PE
3386 [BZ #13673]
3387 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
3388 with URL.
3389 * locale/programs/locfile-kw.gperf: Likewise.
3390 * locale/programs/charmap-kw.h: Regenerated.
3391 * locale/programs/locfile-kw.h: Likewise.
3392
547b5e30
PE
3393 [BZ #13673]
3394 * intl/plural.y: Replace FSF snail mail address with URL.
3395 * intl/plural.c: Regenerated.
3396
5f0a5dae
RH
33972012-03-09 Richard Henderson <rth@twiddle.net>
3398
3399 * include/math_private.h: Remove file.
3400 * math/math_private.h: Move file ...
3401 * sysdeps/generic/math_private.h: ... here.
3402
b8c03620
RH
3403 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
3404 * sysdeps/powerpc/fpu/math_private.h: Likewise.
3405 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3406
4e234f5d 3407 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
3408 and <math_private.h>.
3409 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3410 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3411 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3412 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3413 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3414 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
3415 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3416 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3417 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3418 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3419 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3420 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3421 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3422 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3423 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3424 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3425 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3426 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3427 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3428 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3429 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3430 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3431 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3432 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3433 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3434 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3435 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3436 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3437 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3438 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3439 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3440 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3441 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3442 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3443 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3444 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3445 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3446 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3447 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3448 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3449 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
3450 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3451 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3452 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3453 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3454 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3455 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3456 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3457 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3458 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3459 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3460 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3461 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3462 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3463 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3464 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3465 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3466 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3467 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3468 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
3469 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3470 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3471 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3472 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3473 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3474 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3475 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3476 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3477 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
3478 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
3479 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3480 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3481 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3482 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3483 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
3484 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3485 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
3486 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3487 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
3488 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3489 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3490 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3491 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3492 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3493 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3494 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3495 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
3496 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3497 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3498 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3499 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3500 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3501 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3502 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3503 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3504 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3505 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3506 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3507 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3508 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3509 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3510 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3511 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3512 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3513 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3514 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3515 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3516 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3517 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3518 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3519 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3520 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3521 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3522 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3523 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
3524 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3525 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3526 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3527 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3528 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3529 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3530 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3531 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3532 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
3533 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3534 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3535 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3536 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
3537 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3538 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3539 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3540 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3541 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3542 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
3543 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
3544 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3545 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3546 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3547 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
3548 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3549 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3550 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3551 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3552 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
3553 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
3554 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3555 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3556 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3557 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3558 * sysdeps/ieee754/k_standard.c: Likewise.
3559 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3560 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3561 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3562 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3563 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3564 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3565 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3566 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3567 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3568 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3569 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3570 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3571 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3572 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3573 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3574 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3575 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3576 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3577 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3578 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3579 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3580 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3581 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3582 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3583 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3584 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3585 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3586 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3587 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3588 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3589 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3590 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3591 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3592 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3593 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3594 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3595 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3596 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
3597 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3598 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3599 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3600 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3601 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3602 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3603 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3604 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3605 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3606 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3607 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3608 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3609 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3610 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3611 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3612 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3613 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3614 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3615 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
3616 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3617 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3618 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3619 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3620 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3621 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3622 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
3623 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3624 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3625 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
3626 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
3627 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
3628 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
3629 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
3630 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3631 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
3632 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
3633 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
3634 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
3635 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
3636 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
3637 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3638 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3639 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3640 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3641 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3642 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3643 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
3644 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3645 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3646 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3647 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3648 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3649 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
3650 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3651 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3652 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3653 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3654 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3655 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
3656 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3657 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3658 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
3659 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3660 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3661 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3662 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3663 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
3664 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3665 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3666 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3667 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
3668 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3669 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3670 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3671 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
3672 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3673 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
3674 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3675 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
3676 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3677 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3678 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3679 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3680 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
3681 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3682 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
3683 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3684 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
3685 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3686 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3687 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3688 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3689 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3690 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3691 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3692 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3693 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3694 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3695 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
3696 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3697 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3698 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
3699 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
3700 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3701 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
3702 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
3703 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3704 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3705 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3706 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3707 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3708 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
3709 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3710 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3711 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3712 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3713 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
3714 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
3715 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3716 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3717 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3718 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3719 * sysdeps/ieee754/s_lib_version.c: Likewise.
3720 * sysdeps/ieee754/s_matherr.c: Likewise.
3721 * sysdeps/ieee754/s_signgam.c: Likewise.
3722 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3723 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3724 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
3725 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
3726 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
3727 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3728 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
3729 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
3730 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
3731 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
3732 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3733 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
3734 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3735 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3736 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
3737 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3738 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3739 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3740 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3741 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3742 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 3743
1991fa03
JM
37442012-03-09 Joseph Myers <joseph@codesourcery.com>
3745
3746 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
3747 * sunrpc/rpc_main.c: Likewise.
3748 * sunrpc/rpc_svcout.c: Likewise.
3749
60d6f5a6
DM
37502012-03-09 David S. Miller <davem@davemloft.net>
3751
3752 * include/math_private.h: New file.
3753
4962050e
JM
37542012-03-09 Joseph Myers <joseph@codesourcery.com>
3755
02a6f887
JM
3756 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
3757 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
3758 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
3759 from <bits/socket_type.h>.
3760 (enum __socket_type): Don't define here.
3761 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
3762 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3763 bits/socket_type.h.
3764
c6e013c1
JM
3765 [BZ #13566]
3766 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
3767 checking __USE_GNU.
3768
4962050e
JM
3769 * Makerules ($(inst_includedir)/%.h): New rule.
3770 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
3771 (install-others): Remove variable setting.
3772 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
3773
38842f45
RH
37742012-03-08 Richard Henderson <rth@twiddle.net>
3775
67bb6da6
RH
3776 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
3777 from macro to inline function; merge with the
3778 !__LIBC_INTERNAL_MATH_INLINES version.
3779 (__ieee754_sqrtf): Likewise.
3780
15194b4b
RH
3781 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
3782 to inline function.
3783 (__rintf, __floor, __floorf): Likewise.
3784
64e21ede
RH
3785 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
3786 macro to inline function.
3787 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
3788
38842f45
RH
3789 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
3790 not <math/math_private.h>.
3791
c64bf5fe
DM
37922012-03-08 David S. Miller <davem@davemloft.net>
3793
3794 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
3795 copyright year.
3796 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
3797
82d86f28
TS
37982012-03-08 Thomas Schwinge <thomas@codesourcery.com>
3799
3800 * resolv/gai_misc.c (handle_requests): Fix struct timespec
3801 normalization.
3802 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
3803 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3804
aea5d727
UD
38052012-03-08 Ulrich Drepper <drepper@gmail.com>
3806
3807 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
3808 be defined individually, they must be defined as a block. Define
3809 S for printing a string instead of hidint the different by using a
3810 macro for adding the 'l'.
3811 * stdio-common/tst-fphex-wide.c: Adjust.
3812
70bca0a3
MP
38132012-03-07 Marek Polacek <polacek@redhat.com>
3814
3815 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
3816
65b81130
MP
38172012-03-08 Marek Polacek <polacek@redhat.com>
3818
3819 [BZ #13806]
3820 * stdio-common/Makefile (tests): Add tst-fphex-wide.
3821 * stdio-common/tst-fphex.c: Define a few macros to make the
3822 test reusable. Use them.
3823 * stdio-common/tst-fphex-wide.c: New file.
3824
07037eeb
JM
38252012-03-08 Joseph Myers <joseph@codesourcery.com>
3826
a7a93d50
JM
3827 [BZ #6911]
3828 * manual/macros.texi (gnusystems): New macro.
3829 (nongnusystems): Likewise.
3830 (gnulinuxhurdsystems): Likewise.
3831 (gnuhurdsystems): Likewise..
3832 (gnulinuxsystems): Likewise.
3833 * manual/charset.texi: Use new macros or @theglibc{} to refer to
3834 variants of the GNU system, not "GNU system".
3835 * manual/conf.texi: Likewise.
3836 * manual/errno.texi: Likewise. Update example of errno macro
3837 expansion.
3838 * manual/filesys.texi: Likewise.
3839 (getumask): Document as specific to GNU/Hurd.
3840 * manual/install.texi: Likewise. Reword some references to
3841 GNU/Linux.
3842 * manual/intro.texi: Likewise.
3843 * manual/io.texi: Likewise.
3844 (File Name Portability): Detail which constraints are inapplicable
3845 to all GNU systems and which are only inapplicable to GNU/Hurd.
3846 * manual/job.texi: Likewise.
3847 * manual/llio.texi: Likewise.
3848 (O_NOCTTY): Document as present on GNU/Linux.
3849 * manual/maint.texi: Likewise.
3850 * manual/memory.texi: Likewise.
3851 * manual/pattern.texi: Likewise.
3852 * manual/pipe.texi: Likewise.
3853 * manual/process.texi: Likewise.
3854 * manual/resource.texi: Likewise.
3855 (RUSAGE_CHILDREN): Remove statement about specifying a particular
3856 child on GNU/Hurd.
3857 * manual/setjmp.texi: Likewise.
3858 * manual/signal.texi: Likewise.
3859 * manual/startup.texi: Likewise.
3860 * manual/stdio.texi: Likewise.
3861 * manual/terminal.texi: Likewise.
3862 (ONLCR): Document as POSIX.
3863 (OXTABS): Document availability on GNU/Linux as XTABS.
3864 (ONOEOT): Document availability separately from other bits.
3865 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
3866 * manual/time.texi: Likewise.
3867 * manual/users.texi: Likewise.
3868 * INSTALL: Regenerated.
3869 * sysdeps/gnu/errlist.c: Regenerated.
3870
07037eeb
JM
3871 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
3872 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
3873 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
3874 puts.
3875 * configure: Regenerated.
3876
d1d3431a
JM
38772012-03-07 Joseph Myers <joseph@codesourcery.com>
3878
af6a1e37
JM
3879 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
3880 default includes instead of AC_HEADER_CHECK.
3881 * sysdeps/i386/configure: Regenerated.
3882
d1d3431a
JM
3883 [BZ #10716]
3884 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
3885 * math/s_cacoshf.c (__cacoshf): Likewise.
3886 * math/s_cacoshl.c (__cacoshl): Likewise.
3887 * math/s_casinh.c (__casinh): Set signs of result from argument.
3888 * math/s_casinhf.c (__casinhf): Likewise.
3889 * math/s_casinhl.c (__casinhl): Likewise.
3890 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
3891 (casinh_test): Add more tests.
3892 * sysdeps/i386/fpu/libm-test-ulps: Update.
3893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3894
482ff4da
UD
38952012-03-07 Ulrich Drepper <drepper@gmail.com>
3896
872fda05
UD
3897 * po/zh_TW.po: Update from translation team.
3898
a4300c7a
UD
3899 * login/Makefile (distribute): Remove variable.
3900 * catgets/Makefile: Likewise.
3901 * mach/Makefile: Likewise.
3902 * malloc/Makefile: Likewise.
3903 * misc/Makefile: Likewise.
3904 * iconv/Makefile: Likewise.
3905 * nscd/Makefile: Likewise.
3906 * hurd/Makefile: Likewise.
3907 * manual/Makefile: Likewise.
3908 * locale/Makefile: Likewise.
3909 * intl/Makefile: Likewise.
3910 * conform/Makefile: Likewise.
3911 * nss/Makefile: Likewise.
3912 * time/Makefile: Likewise.
3913 * soft-fp/Makefile: Likewise.
3914 * dirent/Makefile: Likewise.
3915 * gmon/Makefile: Likewise.
3916 * po/Makefile: Likewise.
3917 * rt/Makefile: Likewise.
3918 * socket/Makefile: Likewise.
3919 * math/Makefile: Likewise.
3920 * signal/Makefile: Likewise.
3921 * debug/Makefile: Likewise.
3922 * elf/Makefile: Likewise.
3923 * timezone/Makefile: Likewise.
3924 * stdlib/Makefile: Likewise.
3925 * iconvdata/Makefile: Likewise.
3926 * sunrpc/Makefile: Likewise.
3927 * io/Makefile: Likewise.
3928 * argp/Makefile: Likewise.
3929 * inet/Makefile: Likewise.
3930 * hesiod/Makefile: Likewise.
3931 * grp/Makefile: Likewise.
3932 * csu/Makefile: Likewise.
3933 * wctype/Makefile: Likewise.
3934 * crypt/Makefile: Likewise.
3935 * libio/Makefile: Likewise.
3936 * string/Makefile: Likewise.
3937 * nis/Makefile: Likewise.
3938 * resolv/Makefile: Likewise.
3939 * stdio-common/Makefile: Likewise.
3940 * wcsmbs/Makefile: Likewise.
3941 * dlfcn/Makefile: Likewise.
3942 * posix/Makefile: Likewise.
3943
3b7c4e74 3944 [BZ #6959]
482ff4da
UD
3945 * timezone/Makefile: Don't install timezone files, just the programs
3946 and scripts.
3947
f72ed77d
UD
39482012-03-06 Ulrich Drepper <drepper@gmail.com>
3949
a000466f
UD
3950 * nss/databases.def: Add missing gshadow entry.
3951
f72ed77d
UD
3952 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
3953
a53b7a4e
MP
39542012-03-06 Marek Polacek <polacek@redhat.com>
3955
3956 [BZ #13726]
3957 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
3958 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3959 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
3960 * stdio-common/tst-long-dbl-fphex.c: New file.
3961
e9258400
DM
39622012-03-06 David S. Miller <davem@davemloft.net>
3963
3964 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3965 (set_obp_int): New function.
3966 (get_obp_int): New function.
3967 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
3968 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
3969 Avoid unused variable warnings on 'val' and use builtin_expect.
3970 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
3971 __builtin_expect.
e9258400
DM
3972 (INLINE_CLONE_SYSCALL): Likewise.
3973
3bd2c723
DM
39742012-03-05 David S. Miller <davem@davemloft.net>
3975
3976 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3977
bbb78d03
AS
39782012-03-05 Andreas Schwab <schwab@linux-m68k.org>
3979
884c5db4
AS
3980 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3981
bbb78d03
AS
3982 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
3983 only for |x| >= 40.
3984 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3985
1c9f702a 39862012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
3987
3988 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
3989 Replace gettimeofday with __vdso_gettimeofday.
3990
7be16f82
RM
3991 * sysdeps/unix/sysv/linux/x86_64/init-first.c
3992 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
3993 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
3994
3995 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
3996 time with __vdso_time.
3997
ed58a00f
JM
39982012-03-05 Joseph Myers <joseph@codesourcery.com>
3999
4000 * manual/lang.texi (size_t): Note types to which size_t may be
4001 equivalent with the GNU C Library, but do not describe when
4002 differences between them are significant.
4003
30ee4ced
AJ
40042012-03-05 Andreas Jaeger <aj@suse.de>
4005
4006 * sysdeps/i386/fpu/libm-test-ulps: Update.
4007
b7cd39e8
JM
40082012-03-05 Joseph Myers <joseph@codesourcery.com>
4009
4010 [BZ #3976]
4011 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4012 (__ieee754_pow): Save and restore rounding mode and use
4013 round-to-nearest for main computations.
4014 * math/libm-test.inc (pow_test_tonearest): New function.
4015 (pow_test_towardzero): Likewise.
4016 (pow_test_downward): Likewise.
4017 (pow_test_upward): Likewise.
4018 (main): Call the new functions.
4019 * sysdeps/i386/fpu/libm-test-ulps: Update.
4020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
4021
4022 [BZ #3976]
4023 * math/libm-test.inc (cosh_test_tonearest): New function.
4024 (cosh_test_towardzero): Likewise.
4025 (cosh_test_downward): Likewise.
4026 (cosh_test_upward): Likewise.
4027 (sinh_test_tonearest): Likewise.
4028 (sinh_test_towardzero): Likewise.
4029 (sinh_test_downward): Likewise.
4030 (sinh_test_upward): Likewise.
4031 (main): Call the new functions.
4032 * sysdeps/i386/fpu/libm-test-ulps: Update.
4033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4034
6c6a98c9
TV
40352012-03-05 Tom de Vries <tom@codesourcery.com>
4036
4037 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4038 default stack guard is set in last bytes.
4039 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4040
21bb2d2e 40412012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 4042
21bb2d2e 4043 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 4044
21bb2d2e
AJ
4045 [BZ #13656]
4046 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4047 possibly allocate from heap instead of stack.
4048 * stdio-common/bug-vfprintf-nargs.c: New file.
4049 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 4050
c6922934
AS
40512012-03-03 Andreas Schwab <schwab@linux-m68k.org>
4052
4053 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4054
bc957d53
MP
40552012-03-03 Marek Polacek <polacek@redhat.com>
4056
4057 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4058 * math/math_private.h: Likewise.
4059 * stdlib/tst-strtod.c: Likewise.
4060 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4061 * sysdeps/x86_64/bits/atomic.h: Likewise.
4062
6358490d
DM
40632012-03-02 David S. Miller <davem@davemloft.net>
4064
4065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4069 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4070 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4071 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4072 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4073
01ae168d
RM
40742012-03-02 Roland McGrath <roland@hack.frob.com>
4075
d9a17c07
RM
4076 [BZ #13792]
4077 * manual/examples/README: New file, says the example source files
4078 can be used under GPL>=2.
4079 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4080 line containing just "*/".
4081 * manual/examples/add.c: Add copyright header (GPL>=2).
4082 * manual/examples/argp-ex1.c: Likewise.
4083 * manual/examples/argp-ex2.c: Likewise.
4084 * manual/examples/argp-ex3.c: Likewise.
4085 * manual/examples/argp-ex4.c: Likewise.
4086 * manual/examples/atexit.c: Likewise.
4087 * manual/examples/db.c: Likewise.
4088 * manual/examples/dir.c: Likewise.
4089 * manual/examples/dir2.c: Likewise.
4090 * manual/examples/execinfo.c: Likewise.
4091 * manual/examples/filecli.c: Likewise.
4092 * manual/examples/filesrv.c: Likewise.
4093 * manual/examples/fmtmsgexpl.c: Likewise.
4094 * manual/examples/genpass.c: Likewise.
4095 * manual/examples/inetcli.c: Likewise.
4096 * manual/examples/inetsrv.c: Likewise.
4097 * manual/examples/isockad.c: Likewise.
4098 * manual/examples/longopt.c: Likewise.
4099 * manual/examples/memopen.c: Likewise.
4100 * manual/examples/memstrm.c: Likewise.
4101 * manual/examples/mkfsock.c: Likewise.
4102 * manual/examples/mkisock.c: Likewise.
4103 * manual/examples/mygetpass.c: Likewise.
4104 * manual/examples/pipe.c: Likewise.
4105 * manual/examples/popen.c: Likewise.
4106 * manual/examples/rprintf.c: Likewise.
4107 * manual/examples/search.c: Likewise.
4108 * manual/examples/select.c: Likewise.
4109 * manual/examples/setjmp.c: Likewise.
4110 * manual/examples/sigh1.c: Likewise.
4111 * manual/examples/sigusr.c: Likewise.
4112 * manual/examples/stpcpy.c: Likewise.
4113 * manual/examples/strdupa.c: Likewise.
4114 * manual/examples/strftim.c: Likewise.
4115 * manual/examples/strncat.c: Likewise.
4116 * manual/examples/subopt.c: Likewise.
4117 * manual/examples/swapcontext.c: Likewise.
4118 * manual/examples/termios.c: Likewise.
4119 * manual/examples/testopt.c: Likewise.
4120 * manual/examples/testpass.c: Likewise.
4121 * manual/examples/timeval_subtract.c: Likewise.
4122
01ae168d
RM
4123 [BZ #13792]
4124 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4125 function to ...
4126 * manual/timeval_subtract.c.texi: ... here, new file.
4127
49efa33d
DM
41282012-03-02 David S. Miller <davem@davemloft.net>
4129
4130 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4131
28afd92d
JM
41322012-03-02 Joseph Myers <joseph@codesourcery.com>
4133
804360ed
JM
4134 [BZ #3976]
4135 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4136 (__sin): Save and restore rounding mode and use round-to-nearest
4137 for all computations.
4138 (__cos): Save and restore rounding mode and use round-to-nearest
4139 for all computations.
4140 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4141 <fenv.h>.
4142 (tan): Save and restore rounding mode and use round-to-nearest for
4143 all computations.
4144 * math/libm-test.inc (cos_test_tonearest): New function.
4145 (cos_test_towardzero): Likewise.
4146 (cos_test_downward): Likewise.
4147 (cos_test_upward): Likewise.
4148 (sin_test_tonearest): Likewise.
4149 (sin_test_towardzero): Likewise.
4150 (sin_test_downward): Likewise.
4151 (sin_test_upward): Likewise.
4152 (tan_test_tonearest): Likewise.
4153 (tan_test_towardzero): Likewise.
4154 (tan_test_downward): Likewise.
4155 (tan_test_upward): Likewise.
4156 (main): Call the new functions.
4157 * sysdeps/i386/fpu/libm-test-ulps: Update.
4158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4159
a6d06d7b
JM
4160 [BZ #10135]
4161 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4162 small n, then large n, before computing and testing k+n.
4163 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4164 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4165 Likewise.
4166 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4167 Likewise.
4168 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4169 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4170 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4171 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4172 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4173 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4174 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4175 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4176 * math/libm-test.inc (scalbn_test): Add more tests.
4177 (scalbln_test): Likewise.
4178
07e12bb3
JM
4179 * manual/filesys.texi (mode_t): Describe constraints on size and
4180 signedness, not exact equivalence to a particular type.
4181 (ino_t): Likewise.
4182 (ino64_t): Likewise.
4183 (dev_t): Likewise.
4184 (nlink_t): Likewise.
4185 (blkcnt_t): Likewise.
4186 (blkcnt64_t): Likewise.
4187 * manual/llio.texi (off_t): Likewise.
4188
28afd92d
JM
4189 [BZ #3976]
4190 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4191 (__ieee754_exp): Save and restore rounding mode and use
4192 round-to-nearest for all computations.
4193 * math/libm-test.inc (exp_test_tonearest): New function.
4194 (exp_test_towardzero): Likewise.
4195 (exp_test_downward): Likewise.
4196 (exp_test_upward): Likewise.
4197 (main): Call the new functions.
4198 * sysdeps/i386/fpu/libm-test-ulps: Update.
4199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4200
b1eeb65d
CD
42012012-03-01 Chris Demetriou <cgd@google.com>
4202
4203 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4204 have predictable order.
4205
53362a4b
DM
42062012-03-01 David S. Miller <davem@davemloft.net>
4207
3c969083
DM
4208 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4209
759707de
DM
4210 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4211 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4212 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4213 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4214
dfdb8ff2
DM
4215 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4216 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4217 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4219 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4220 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4221 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4222 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4223 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4224
ead89f96
DM
4225 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4226
7f66bd07
DM
4227 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4228 * sysdeps/sparc/fpu/libm-test-ulps: to here.
4229 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4230
53362a4b
DM
4231 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4232 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4233 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4234 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4235 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4236 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4237 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4238 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4239 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4240 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4241 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4242 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4243 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4244 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4245 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4246 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4247 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4248 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4249 * sysdeps/sparc/elf/configure: Regenerated.
4250
7b1902cb
JM
42512012-03-01 Joseph Myers <joseph@codesourcery.com>
4252
bec039bc
JM
4253 * configure.in (AS, LD): Require binutils 2.20 or later.
4254 * configure: Regenerated.
4255 * manual/install.texi (Tools for Compilation): Give binutils 2.20
4256 as required minimum version.
4257 * INSTALL: Regenerated.
4258
7b1902cb
JM
4259 [BZ #2541]
4260 [BZ #4108]
4261 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4262 before squaring exponent.
4263 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4264 bottom long double and 27 bits of top long double before squaring
4265 exponent.
4266 * math/libm-test.inc (erfc_test): Add more tests.
4267 * sysdeps/i386/fpu/libm-test-ulps: Update.
4268 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4270
f775c276
KT
42712012-03-01 Kai Tietz <ktietz@redhat.com>
4272
4273 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4274 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4275 containing bit-fields.
4276 * soft-fp/extended.h (_FP_UNION_E): Likewise.
4277 * soft-fp/single.h (_FP_UNION_S): Likewise.
4278 * soft-fp/double.h (_FP_UNION_D): Likewise.
4279
5b8a4d4a
JM
42802012-02-29 Joseph Myers <joseph@codesourcery.com>
4281
0bab47b6
JM
4282 [BZ #13786]
4283 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4284 not include ../strcmp.S.
4285 [USE_AS_STRNCASECMP_L]: Likewise.
4286 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4287 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4288 * sysdeps/i386/i686/multiarch/strncase_l-c.c
4289 (__strncasecmp_l_ia32): Define as alias to
4290 __strncasecmp_l_nonascii.
4291
0fcad3e2
JM
4292 [BZ #5794]
4293 * math/libm-test.inc (expm1_test): Add test for bug 5794.
4294 * sysdeps/i386/fpu/libm-test-ulps: Update.
4295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4296
5b8a4d4a
JM
4297 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4299
8fdceb2e
JL
43002012-02-29 Jeff Law <law@redhat.com>
4301
4302 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4303 out of bounds read.
4304
1f393a11
MP
43052012-02-29 Marek Polacek <polacek@redhat.com>
4306
4307 [BZ #13706]
4308 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4309 * elf/Makefile: Add rules to run tst-unused-dep.out.
4310
8847f037
DM
43112012-02-28 David S. Miller <davem@davemloft.net>
4312
4313 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
4314 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
4315 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
4316 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
4317 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
4318 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
4319
169d7f11
JM
43202012-02-29 Joseph Myers <joseph@codesourcery.com>
4321
4322 * math/libm-test.inc (llround_test): Move one test from
4323 lround_test. Use TEST_f_L in moved test.
4324 (lround_test): Move misplaced test to llround_test. Add testcase
4325 from bug 2561.
4326
39adf059
UD
43272012-02-28 Ulrich Drepper <drepper@gmail.com>
4328
4329 * sysdeps/x86_64/fpu/e_expf.S: New file.
4330 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
4331
71b5d1c5
SB
43322012-02-28 Stanislav Brabec <sbrabec@suse.cz>
4333
4334 [BZ #13637]
4335 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
4336 of remain_len that may cause incomplete multi-byte character and
4337 false match.
4338 * posix/bug-regex33.c: New file.
4339 * posix/Makefile (tests): Add bug-regex33.
4340
1f77f049
JM
43412012-02-28 Joseph Myers <joseph@codesourcery.com>
4342
4343 * manual/macros.texi: New file.
4344 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
4345 * manual/libc.texinfo: Include macros.texi.
4346 * manual/creatute.texi: Likewise.
4347 * manual/install.texi: Likewise.
4348 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
4349 @glibcadj{} in references to the GNU C Library.
4350 * manual/charset.texi: Likewise.
4351 * manual/conf.texi: Likewise.
4352 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
4353 when not using those macros.
4354 * manual/creature.texi: Likewise.
4355 * manual/crypt.texi: Likewise.
4356 * manual/errno.texi: Likewise.
4357 * manual/filesys.texi: Likewise.
4358 * manual/header.texi: Likewise.
4359 * manual/install.texi: Likewise.
4360 * manual/intro.texi: Likewise.
4361 * manual/io.texi: Likewise.
4362 * manual/job.texi: Likewise.
4363 * manual/lang.texi: Likewise.
4364 * manual/libc.texiinfo: Likewise.
4365 * manual/llio.texi: Likewise.
4366 * manual/locale.texi: Likewise.
4367 * manual/maint.texi: Likewise.
4368 * manual/math.texi: Likewise.
4369 * manual/memory.texi: Likewise.
4370 * manual/message.texi: Likewise.
4371 * manual/nss.texi: Likewise.
4372 * manual/pattern.texi: Likewise.
4373 * manual/process.texi: Likewise.
4374 * manual/resource.texi: Likewise.
4375 * manual/search.texi: Likewise.
4376 * manual/setjmp.texi: Likewise.
4377 * manual/signal.texi: Likewise.
4378 * manual/socket.texi: Likewise.
4379 * manual/startup.texi: Likewise.
4380 * manual/stdio.texi: Likewise.
4381 * manual/string.texi: Likewise.
4382 * manual/sysinfo.texi: Likewise.
4383 * manual/syslog.texi: Likewise.
4384 * manual/terminal.texi: Likewise.
4385 * manual/time.texi: Likewise.
4386 * manual/users.texi: Likewise.
4387 * INSTALL: Regenerated.
4388 * NOTES: Regenerated.
d40c5d54 4389 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 4390
450bf206
AS
43912012-02-28 Andreas Schwab <schwab@linux-m68k.org>
4392
4393 * include/dirent.h: Include <dirstream.h> before
4394 <dirent/dirent.h>.
4395
741a235b
DM
43962012-02-28 David S. Miller <davem@davemloft.net>
4397
4398 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
4399 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
4400 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
4401 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
4402
d6b5aa58
DM
44032012-02-27 David S. Miller <davem@davemloft.net>
4404
1aff59a3
DM
4405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
4406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
4407 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
4408 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
4409
d6b5aa58
DM
4410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
4411 frame pointer instead of stack pointer relative arg slot.
4412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4413 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4414 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4415
433f48bf
CD
44162012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
4417
4418 [BZ #3992]
4419 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
4420
d674b76d
DM
44212012-02-27 David S. Miller <davem@davemloft.net>
4422
4423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
4424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
4427 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4428 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4429 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
4430 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
4431
0e7727f7
JM
44322012-02-27 Joseph Myers <joseph@codesourcery.com>
4433
4434 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
4435 later. Allow versions 5-9.
43be4ca2 4436 * configure: Regenerated.
0e7727f7
JM
4437 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
4438 required minimum version and 4.6 as recommended version. Do not
4439 mention bugs in GCC 2.7 and 2.8.
43be4ca2 4440 * INSTALL: Regenerated.
0e7727f7 4441
a78bc654
DM
44422012-02-27 David S. Miller <davem@davemloft.net>
4443
428d5830
DM
4444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
4445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
4446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
4447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
4448 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
4449 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
4450 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
4451 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
4452
a78bc654
DM
4453 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
4454 manipulate bits before adding and subtracting TWO112[sx].
4455 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4456
4579f81c
RM
44572012-02-27 Roland McGrath <roland@hack.frob.com>
4458
36c8acb4
RM
4459 [BZ #13775]
4460 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
4461 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
4462 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
4463 being in POSIX, because they are in 1003.1-2008.
4464
84ad622b
RM
4465 * rt/tst-aio.c: Include <fcntl.h>.
4466 * rt/tst-aio7.c: Likewise.
4467 * rt/tst-aio64.c: Likewise.
4468
4579f81c
RM
4469 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
4470
abd923db
JM
44712012-02-27 Joseph Myers <joseph@codesourcery.com>
4472
4473 * manual/install.texi (--with-headers): Describe headers as
4474 interface headers, not private headers.
4475 (Specific advice for GNU/Linux systems): Describe use of headers
4476 from "make headers_install", not private headers from older
4477 kernels.
43be4ca2 4478 * INSTALL: Regenerated.
abd923db
JM
4479 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
4480 Change to 2.6.19.
4481 * sysdeps/unix/sysv/linux/configure: Regenerated.
4482
6664049b
JM
4483 * manual/llio.texi (fclean): Remove documentation.
4484
bb8b6697
JM
4485 * manual/Makefile (libc-texi-generated): New variable. Include
4486 version.texi.
4487 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
4488 $(libc-texi-generated), not duplicated list of files.
4489 (version.texi, stamp-version): New rules.
4490 (realclean): Remove $(libc-texi-generated), not individual files
4491 from that list. Do not remove dir-add.texinfo.
4492 * manual/libc.texinfo: Comment out uses of edition numbers and
4493 references to printed manual. Remove last-updated dates.
4494 (EDITION): Comment out.
4495 (ISBN): Likewise.
4496 (VERSION, UPDATED): Remove.
4497 (version.texi): Include.
4498
12e5c3b9
AS
44992012-02-27 Andreas Schwab <schwab@linux-m68k.org>
4500
4501 * sysdeps/posix/spawni.c: Include <signal.h>.
4502 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
4503 * sysdeps/pthread/aio_fsync.c: Likewise.
4504
4efeffc1 45052012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 4506
ba63ba08
UD
4507 * conform/Makefile (tests): Run only when not cross-compiling and
4508 when fast-check is not defined.
4509
d94a4670
UD
4510 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
4511 * conform/data/limits.h-data: Fixes for POSIX2008.
4512 * conform/run-conformtest.sh: Run all tests.
4513 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
4514 headers.
4515 * include/bits/dlfcn.h: Likewise.
4516 * include/langinfo.h: Likewise.
4517 * include/monetary.h: Likewise.
4518 * include/sys/poll.h: Likewise.
4519
4520 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
4521 for __USE_GNU.
4522 * posix/spawn.h: Define __need_sigset_t.
4523 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
4524 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
4525 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
4526 to get sigevent_t only.
4527 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
4528 only for __USE_GNU.
4529 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4530 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4531 process_vm_writev only for __USE_GNU.
4532 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
4533
4534 * conform/Makefile: For now ignore errors from run-conformtest.
4535 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
4536 POSIX to avoid namespace pollution. Don't prepend headers.
4537 * conform/data/aio.h-data: Fixes for POSIX testing.
4538 * conform/data/fcntl.h-data: Likewise.
4539 * conform/data/glob.h-data: Likewise.
4540 * conform/data/grp.h-data: Likewise.
4541 * conform/data/pthread.h-data: Likewise.
4542 * conform/data/pwd.h-data: Likewise.
4543 * conform/data/signal.h-data: Likewise.
4544 * conform/data/spawn.h-data: Likewise.
4545 * conform/data/stdio.h-data: Likewise.
4546 * conform/data/stdlib.h-data: Likewise.
4547 * conform/data/stropts.h-data: Likewise.
4548 * conform/data/sys/mman.h-data: Likewise.
4549 * conform/data/sys/stat.h-data: Likewise.
4550 * conform/data/sys/types.h-data: Likewise.
4551 * conform/data/sys/wait.h-data: Likewise.
4552 * conform/data/time.h-data: Likewise.
4553 * conform/data/unistd.h-data: Likewise.
4554 * conform/data/utime.h-data: Likewise.
4555
4556 * io/sys/stat.h: fchmod was always in POSIX.
4557 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
4558 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
4559 * rt/aio.h: Define __need_timespec before including <time.h>.
4560 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
4561 struct. Add forward declaration of pthread_attr_t and use it in
4562 sigevent.
4563 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4564 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4565 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
4566 always remove CLK_TCK definition.
4567
c20105c3
AS
45682012-02-26 Andreas Schwab <schwab@linux-m68k.org>
4569
4570 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
4571
7a270350
UD
45722012-02-25 Ulrich Drepper <drepper@gmail.com>
4573
31341567
UD
4574 * conform/run-conformtest.sh: New file.
4575 * conform/Makefile: Run run-conformtest for tests.
4576 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
4577 support.
4578
4579 * conform/data/uchar.h-data: New file.
4580 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
4581 * conform/data/arpa/inet.h-data: Likewise.
4582 * conform/data/assert.h-data: Likewise.
4583 * conform/data/complex.h-data: Likewise.
4584 * conform/data/cpio.h-data: Likewise.
4585 * conform/data/ctype.h-data: Likewise.
4586 * conform/data/dirent.h-data: Likewise.
4587 * conform/data/dlfcn.h-data: Likewise.
4588 * conform/data/errno.h-data: Likewise.
4589 * conform/data/fcntl.h-data: Likewise.
4590 * conform/data/float.h-data: Likewise.
4591 * conform/data/fmtmsg.h-data: Likewise.
4592 * conform/data/fnmatch.h-data: Likewise.
4593 * conform/data/ftw.h-data: Likewise.
4594 * conform/data/glob.h-data: Likewise.
4595 * conform/data/grp.h-data: Likewise.
4596 * conform/data/iconv.h-data: Likewise.
4597 * conform/data/inttypes.h-data: Likewise.
4598 * conform/data/langinfo.h-data: Likewise.
4599 * conform/data/libgen.h-data: Likewise.
4600 * conform/data/limits.h-data: Likewise.
4601 * conform/data/locale.h-data: Likewise.
4602 * conform/data/math.h-data: Likewise.
4603 * conform/data/monetary.h-data: Likewise.
4604 * conform/data/mqueue.h-data: Likewise.
4605 * conform/data/ndbm.h-data: Likewise.
4606 * conform/data/net/if.h-data: Likewise.
4607 * conform/data/netdb.h-data: Likewise.
4608 * conform/data/netinet/in.h-data: Likewise.
4609 * conform/data/nl_types.h-data: Likewise.
4610 * conform/data/poll.h-data: Likewise.
4611 * conform/data/pthread.h-data: Likewise.
4612 * conform/data/pwd.h-data: Likewise.
4613 * conform/data/regex.h-data: Likewise.
4614 * conform/data/sched.h-data: Likewise.
4615 * conform/data/search.h-data: Likewise.
4616 * conform/data/semaphore.h-data: Likewise.
4617 * conform/data/setjmp.h-data: Likewise.
4618 * conform/data/signal.h-data: Likewise.
4619 * conform/data/spawn.h-data: Likewise.
4620 * conform/data/stdarg.h-data: Likewise.
4621 * conform/data/stdio.h-data: Likewise.
4622 * conform/data/stdlib.h-data: Likewise.
4623 * conform/data/string.h-data: Likewise.
4624 * conform/data/strings.h-data: Likewise.
4625 * conform/data/stropts.h-data: Likewise.
4626 * conform/data/sys/ipc.h-data: Likewise.
4627 * conform/data/sys/mman.h-data: Likewise.
4628 * conform/data/sys/msg.h-data: Likewise.
4629 * conform/data/sys/resource.h-data: Likewise.
4630 * conform/data/sys/select.h-data: Likewise.
4631 * conform/data/sys/sem.h-data: Likewise.
4632 * conform/data/sys/shm.h-data: Likewise.
4633 * conform/data/sys/socket.h-data: Likewise.
4634 * conform/data/sys/stat.h-data: Likewise.
4635 * conform/data/sys/statvfs.h-data: Likewise.
4636 * conform/data/sys/time.h-data: Likewise.
4637 * conform/data/sys/timeb.h-data: Likewise.
4638 * conform/data/sys/times.h-data: Likewise.
4639 * conform/data/sys/types.h-data: Likewise.
4640 * conform/data/sys/uio.h-data: Likewise.
4641 * conform/data/sys/un.h-data: Likewise.
4642 * conform/data/sys/utsname.h-data: Likewise.
4643 * conform/data/sys/wait.h-data: Likewise.
4644 * conform/data/syslog.h-data: Likewise.
4645 * conform/data/tar.h-data: Likewise.
4646 * conform/data/termios.h-data: Likewise.
4647 * conform/data/utime.h-data: Likewise.
4648 * conform/data/utmpx.h-data: Likewise.
4649 * conform/data/varargs.h-data: Likewise.
4650 * conform/data/wchar.h-data: Likewise.
4651 * conform/data/wctype.h-data: Likewise.
4652 * conform/data/wordexp.h-data: Likewise.
4653
4654 * include/stropts.h: New file.
4655 * include/uchar.h: New file.
4656 * include/aio.h: Changes to allow conformtest.pl to use the headers.
4657 * include/assert.h: Likewise.
4658 * include/ctype.h: Likewise.
4659 * include/dirent.h: Likewise.
4660 * include/dlfcn.h: Likewise.
4661 * include/fcntl.h: Likewise.
4662 * include/fnmatch.h: Likewise.
4663 * include/glob.h: Likewise.
4664 * include/grp.h: Likewise.
4665 * include/libio.h: Likewise.
4666 * include/locale.h: Likewise.
4667 * include/math.h: Likewise.
4668 * include/net/if.h: Likewise.
4669 * include/netdb.h: Likewise.
4670 * include/netinet/in.h: Likewise.
4671 * include/pthread.h: Likewise.
4672 * include/pwd.h: Likewise.
4673 * include/regex.h: Likewise.
4674 * include/sched.h: Likewise.
4675 * include/search.h: Likewise.
4676 * include/setjmp.h: Likewise.
4677 * include/signal.h: Likewise.
4678 * include/stdio.h: Likewise.
4679 * include/stdlib.h: Likewise.
4680 * include/string.h: Likewise.
4681 * include/sys/cdefs.h: Likewise.
4682 * include/sys/mman.h: Likewise.
4683 * include/sys/msg.h: Likewise.
4684 * include/sys/resource.h: Likewise.
4685 * include/sys/select.h: Likewise.
4686 * include/sys/socket.h: Likewise.
4687 * include/sys/stat.h: Likewise.
4688 * include/sys/statvfs.h: Likewise.
4689 * include/sys/time.h: Likewise.
4690 * include/sys/times.h: Likewise.
4691 * include/sys/uio.h: Likewise.
4692 * include/sys/utsname.h: Likewise.
4693 * include/sys/wait.h: Likewise.
4694 * include/termios.h: Likewise.
4695 * include/time.h: Likewise.
4696 * include/ulimit.h: Likewise.
4697 * include/unistd.h: Likewise.
4698 * include/utime.h: Likewise.
4699 * include/wchar.h: Likewise.
4700 * include/wctype.h: Likewise.
4701 * include/wordexp.h: Likewise.
4702
4703 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
4704
7a270350
UD
4705 * time/time.h: TIME_UTC must be a macro.
4706 Make timespec_get available for ISO C11 only as well.
4707
7724defc
UD
47082012-02-24 Ulrich Drepper <drepper@gmail.com>
4709
4710 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
4711 Reported by Peng Haitao <penght@cn.fujitsu.com>.
4712
6b1d1d46
JM
47132012-02-24 Joseph Myers <joseph@codesourcery.com>
4714
4715 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 4716
0f8bbd69
JM
47172012-02-24 Joseph Myers <joseph@codesourcery.com>
4718
4719 * manual/texinfo.tex: Update to version 2012-01-19.16.
4720
66ab80bc
JM
47212012-02-24 Joseph Myers <joseph@codesourcery.com>
4722
4723 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
4724
74981cc5
RM
47252012-02-24 Roland McGrath <roland@hack.frob.com>
4726
ee968201
RM
4727 [BZ #13738]
4728 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
4729 * manual/fdl-1.3.texi: New file.
4730 * manual/fdl-1.1.texi: File removed.
4731
74981cc5
RM
4732 [BZ #13738]
4733 * manual/libc.texinfo (FDL_VERSION): New @set.
4734 Use it for mention of FDL in cover text.
4735 (Documentation License): Use it in @include file name.
4736
7bb764bc
JM
47372012-02-22 Joseph Myers <joseph@codesourcery.com>
4738 Roland McGrath <roland@hack.frob.com>
4739
4740 [BZ #5461]
4741 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
4742 not LONG_LONG_MAX and LONG_LONG_MIN.
4743 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
4744 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
4745 name.
4746 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
4747
6cbeae47
JM
47482012-02-22 Joseph Myers <joseph@codesourcery.com>
4749
4750 [BZ #2547]
4751 [BZ #11365]
4752 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
4753 manipulate bits before adding and subtracting TWO23[sx].
4754 * math/libm-test.inc (nearbyint_test): Add more tests.
4755
fe45ce09
JM
47562012-02-22 Joseph Myers <joseph@codesourcery.com>
4757
4758 [BZ #2548]
4759 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
4760 bits before adding and subtracting TWO23[sx].
4761 * math/libm-test.inc (rint_test): Add more tests.
4762 (rint_test_tonearest): Likewise.
4763 (rint_test_towardzero): Likewise.
4764 (rint_test_downward): Likewise.
4765 (rint_test_upward: Likewise.
4766
ff3b3d82
JM
47672012-02-22 Joseph Myers <joseph@codesourcery.com>
4768
4769 [BZ #10110]
4770 * include/stdc-predef.h: New file. Extracted from features.h.
4771 * include/features.h: Include stdc-predef.h.
4772 * Makefile (headers): Add stdc-predef.h.
4773 * CONFORMANCE (Compiler limitations): Update.
4774
ef0aab35
JM
47752012-02-22 Joseph Myers <joseph@codesourcery.com>
4776
4777 * manual/libc.texinfo (VERSION, UPDATED): Revert.
4778
58639409
DM
47792012-02-21 David S. Miller <davem@davemloft.net>
4780
4781 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
4782 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4783
c0e70b25
DM
47842012-02-20 David S. Miller <davem@davemloft.net>
4785
4786 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
4787 using a normal save/restore sequence, rather than allocating a
4788 dummy stack frame just to store a frame pointer and restore.
4789 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4790
fb06851d
JM
47912012-02-21 Joseph Myers <joseph@codesourcery.com>
4792
4793 * manual/install.texi: Fix stray word in line-wrapped comment.
4794
7a8b71c3
DM
47952012-02-20 David S. Miller <davem@davemloft.net>
4796
d510c123
DM
4797 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
4798 both binutils and gcc support GOTDATA.
4799
0722d7c2
DM
4800 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
4801 "rd %pc" in the PIC register setup sequences.
4802
3d2b3019
DM
4803 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
4804 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4805 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4806 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4807 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4808 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4809 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4810 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4811 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
4812 (SYSCALL_ERROR_HANDLER): Likewise.
4813 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4814 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4815 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
4816 (SYSCALL_ERROR_HANDLER): Likewise.
4817
c80098a9
DM
4818 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
4819 (HAVE_GCC_GOTDATA): New.
4820 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
4821 relocation support in both binutils and gcc.
4822 * sysdeps/sparc/elf/configure: Regenerate.
4823
3a2545a0
DM
4824 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
4825 * sysdeps/sparc/sparc32/elf/configure: Delete.
4826 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
4827 * sysdeps/sparc/sparc64/elf/configure: Delete.
4828 * sysdeps/sparc/elf/configure.in: New file.
4829 * sysdeps/sparc/elf/configure: Generate.
4830
7a8b71c3
DM
4831 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
4832 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
4833 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4834 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
4835 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
4836
f1e86fca
JM
48372012-02-21 Joseph Myers <joseph@codesourcery.com>
4838
4839 * manual/install.texi: Do not mention specific glibc version
4840 numbers.
4841 * manual/libc.texinfo (VERSION, UPDATED): Update.
4842 (@copying): Use @copyright{} and range of years.
4843
0e7dfaef
JM
48442012-02-21 Joseph Myers <joseph@codesourcery.com>
4845
4846 [BZ #13695]
4847 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
4848 [crti.S not in sysdirs] (generated): Do not append.
4849 [crti.S not in sysdirs] (omit-deps): Likewise.
4850 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
4851 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
4852 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
4853 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
4854 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
4855 Likewise.
4856 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
4857 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
4858 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
4859 * csu/defs.awk: Remove file.
4860 * sysdeps/generic/initfini.c: Likewise.
4861 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
4862 variable.
4863 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
4864 Likewise.
4865
599af3ca
JM
48662012-02-20 Joseph Myers <joseph@codesourcery.com>
4867
4868 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
4869 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
4870 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
4871 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
4872 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4873 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
4874 <bits/epoll.h>.
4875 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
4876 (__EPOLL_PACKED): Define to empty if not defined by
4877 <bits/epoll.h>.
4878 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
4879 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4880 bits/epoll.h.
4881
0e499750
JM
48822012-02-20 Joseph Myers <joseph@codesourcery.com>
4883
4884 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
4885 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
4886 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
4887 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
4888 <bits/timerfd.h>.
4889 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
4890 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4891 bits/timerfd.h.
4892
5ad91f6e
JM
48932012-02-20 Joseph Myers <joseph@codesourcery.com>
4894
4895 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
4896 in C locale.
4897 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4898 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4899 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
4900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4901
06b99b02
AJ
49022012-02-20 Aurelien Jarno <aurelien@aurel32.net>
4903
4904 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4905 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4906
7638c0fd
AS
49072012-02-19 Andreas Schwab <schwab@linux-m68k.org>
4908
4909 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
4910 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
4911 defined.
4912 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
4913 Likewise.
4914 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
4915 entry for 2.16.
4916
92221550
AJ
49172012-02-19 Aurelien Jarno <aurelien@aurel32.net>
4918
4919 * math/w_acos.c: Use non-signaling floating-point comparisons.
4920 * math/w_acosf.c: Likewise.
4921 * math/w_acosh.c: Likewise.
4922 * math/w_acoshf.c: Likewise.
4923 * math/w_acoshl.c: Likewise.
4924 * math/w_acosl.c: Likewise.
4925 * math/w_asin.c: Likewise.
4926 * math/w_asinf.c: Likewise.
4927 * math/w_asinl.c: Likewise.
4928 * math/w_atanh.c: Likewise.
4929 * math/w_atanhf.c: Likewise.
4930 * math/w_atanhl.c: Likewise.
4931 * math/w_exp2.c: Likewise.
4932 * math/w_exp2f.c: Likewise.
4933 * math/w_exp2l.c: Likewise.
4934 * math/w_j0.c: Likewise.
4935 * math/w_j0f.c: Likewise.
4936 * math/w_j0l.c: Likewise.
4937 * math/w_j1.c: Likewise.
4938 * math/w_j1f.c: Likewise.
4939 * math/w_j1l.c: Likewise.
4940 * math/w_jn.c: Likewise.
4941 * math/w_jnf.c: Likewise.
4942 * math/w_log.c: Likewise.
4943 * math/w_log10.c: Likewise.
4944 * math/w_log10f.c: Likewise.
4945 * math/w_log10l.c: Likewise.
4946 * math/w_log2.c: Likewise.
4947 * math/w_log2f.c: Likewise.
4948 * math/w_log2l.c: Likewise.
4949 * math/w_logf.c: Likewise.
4950 * math/w_logl.c: Likewise.
4951 * math/w_sqrt.c: Likewise.
4952 * math/w_sqrtf.c: Likewise.
4953 * math/w_sqrtl.c: Likewise.
4954 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4955 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4956 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4957 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4958 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4959
ebaf36eb
JM
49602012-02-19 Joseph Myers <joseph@codesourcery.com>
4961
4962 [BZ #9739]
4963 * manual/string.texi (strnlen): Use correct parameter name in
4964 equivalent expression.
4965
71c254a6
JM
49662012-02-19 Joseph Myers <joseph@codesourcery.com>
4967
4968 [BZ #11174]
4969 * manual/users.texi (seteuid): Consistently use neweuid for
4970 argument name.
4971
16d2c631
JM
49722012-02-19 Joseph Myers <joseph@codesourcery.com>
4973
4974 [BZ #13704]
4975 * manual/nss.texi (Services in the NSS configuration): Correct
4976 list of services in example configuration file.
4977
cd837b09
NB
49782012-02-19 Nick Bowler <nbowler@draconx.ca>
4979
4980 [BZ #11322]
4981 * manual/arith.texi: Remove statements about negative zero
4982 behaving identically to zero.
4983
02c4bbad
JM
49842012-02-18 Joseph Myers <joseph@codesourcery.com>
4985
4986 [BZ #5993]
4987 * manual/install.texi: Do not document upgrading from libc5.
4988
366842e7
JM
49892012-02-18 Joseph Myers <joseph@codesourcery.com>
4990
4991 [BZ #4596]
4992 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
4993
dd54084d
DM
49942012-02-18 David S. Miller <davem@davemloft.net>
4995
4996 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
4997 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
4998 %o7 across the call.
4999 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5000 instead.
5001 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5002 SETUP_PIC_REG_LEAF.
5003 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5004 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5005 * sysdeps/sparc/crtn.S: Likewise.
5006
2bcc53a3
UD
50072012-02-17 Ulrich Drepper <drepper@gmail.com>
5008
5009 * aout/Makefile: Remove.
5010
09c093b5
RK
50112012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
5012
5013 [BZ #13058]
5014 * manual/examples/argp-ex1.c (main): Format definition in GNU
5015 style.
5016 * manual/examples/argp-ex2.c (main): Likewise.
5017 * manual/examples/argp-ex3.c (main): Likewise.
5018 * manual/examples/argp-ex4.c (main): Likewise.
5019 * manual/examples/longopt.c (main): Use new-style prototype
5020 definition.
5021 * manual/examples/strncat.c (main): Specify return type and use
5022 (void) for arguments.
5023 * manual/examples/subopt.c (main): Use char **argv argument.
5024
2ee633a2
JM
50252012-02-17 Joseph Myers <joseph@codesourcery.com>
5026
5027 [BZ #5077]
5028 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5029 rounding modes.
5030
0520adde
FB
50312012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
5032
5033 [BZ #6907]
5034 * manual/string.texi (strchr): Change when strchrnul is
5035 recommended.
5036
3f4081cd
DGM
50372012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
5038
5039 [BZ #174]
5040 * manual/locale.texi (setlocale): Document LOCPATH.
5041
d1b10e78
JM
50422012-02-17 Joseph Myers <joseph@codesourcery.com>
5043
5044 [BZ #10210]
5045 * manual/process.texi (execle): Move @dots{} before last argument.
5046
79c6869c
PB
50472012-02-17 Paul Bolle <pebolle@tiscali.nl>
5048
5049 [BZ #12047]
5050 * manual/charset.texi (Generic Charset Conversion): Fix typo
5051 (LC_TYPE -> LC_CTYPE).
5052
cc6e48bc
NB
50532012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
5054
5055 [BZ #5805]
5056 * manual/arith.texi (scalbn): Use @var{} on parameter names.
5057 (scalbnf): Likewise.
5058 (scalbnl): Likewise.
5059 (scalbln): Likewise.
5060 (scalblnf): Likewise.
5061 (scalblnl): Likewise.
5062 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5063 (vwarnx): Likewise.
5064 (verr): Likewise.
5065 (verrx): Likewise.
5066 * manual/filesys.texi (telldir): Use braces around return type.
5067 * manual/llio.texi (mmap): Add space after comma.
5068 (mmap64): Likewise.
5069 * manual/math.texi (jn): Use @var{} on parameter names.
5070 (jnf): Likewise.
5071 (jnl): Likewise.
5072 (yn): Likewise.
5073 (ynf): Likewise.
5074 (ynl): Likewise.
5075 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5076 line.
5077 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5078 "...".
5079 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5080 (sched_get_priority_max): Likewise.
5081 * manual/signal.texi (sigvec): Add space after comma.
5082 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5083 names.
5084 (if_indextoname): Likewise.
5085 (if_freenameindex): Likewise.
5086 (sendto): Use ',' instead of '.' in prototype.
5087 * manual/startup.texi (syscall): Use @dots{} instead of literal
5088 "...".
5089 * manual/stdio.texi (__fpending): Separate initial words of
5090 paragraph from @deftypefun line.
5091 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5092 "...".
5093 (vsyslog): Use @var{} on parameter names.
5094 * manual/terminal.texi (stty): Use @var{} on parameter names.
5095 * manual/users.texi (getutmp): Use @var{} on parameter names.
5096 (getutmpx): Likewise.
5097
5b23062f
JM
50982012-02-17 Joseph Myers <joseph@codesourcery.com>
5099
5100 [BZ #6884]
5101 * manual/stdio.texi (fopen): Fix typos in description of
5102 ",ccs=STRING".
5103
8dee4833
AJ
51042012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5105
5106 [BZ #4026]
5107 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5108 get clock_id definition.
5109
9078ce93
TS
51102012-02-17 Thomas Schwinge <thomas@schwinge.name>
5111
5112 [BZ #4822]
5113 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5114 (madvise): Cast every argument to void on its own.
5115
3835c55f
JM
51162012-02-17 Joseph Myers <joseph@codesourcery.com>
5117
5118 [BZ #9902]
5119 * manual/startup.texi (Exit Status): Fix typo.
5120
35c47e37
JM
51212012-02-17 Joseph Myers <joseph@codesourcery.com>
5122
5123 [BZ #10140]
5124 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5125 * manual/examples/argp-ex2.c: Likewise.
5126 * manual/examples/argp-ex3.c: Likewise.
5127
e3b69ca7
RH
51282012-02-16 Richard Henderson <rth@redhat.com>
5129
5130 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5131 * sysdeps/s390/s390-32/initfini.c: Remove.
5132 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5133 * sysdeps/s390/s390-64/initfini.c: Remove.
5134
df83af67
KK
51352012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5136
5137 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5138 compiler output for sysdeps/generic/initfini.c.
5139 * sysdeps/sh/elf/initfini.c: Remove file.
5140
f63f3380
DM
51412012-02-16 David S. Miller <davem@davemloft.net>
5142
fb59b3a4
DM
5143 [BZ #11494]
5144 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5145
f63f3380
DM
5146 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5147 * sysdeps/sparc/crti.S: New file.
5148 * sysdeps/sparc/crtn.S: New file.
5149 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5150 * sysdeps/sparc/sparc64/Makefile: Likewise.
5151
df6a4a4a
MF
51522012-02-15 Mike Frysinger <vapier@gentoo.org>
5153
6dd8f3dc 5154 [BZ #3335]
df6a4a4a
MF
5155 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5156
1cac7236
RM
51572012-02-15 Roland McGrath <roland@hack.frob.com>
5158
d2c736f8
RM
5159 [BZ #4822]
5160 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5161
1cac7236
RM
5162 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5163 (write, read, close): Likewise.
5164 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5165
8e475601
JM
51662012-02-15 Joseph Myers <joseph@codesourcery.com>
5167
5168 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5169 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5170 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5171 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5172 <bits/signalfd.h>.
5173 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5174 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5175 bits/signalfd.h.
5176
ed656b40
MP
51772012-02-14 Marek Polacek <polacek@redhat.com>
5178
5179 * sysdeps/x86_64/crti.S: New file.
5180 * sysdeps/x86_64/crtn.S: New file.
5181 * sysdeps/x86_64/elf/initfini.c: Remove file.
5182
2a979d3a
JM
51832012-02-13 Joseph Myers <joseph@codesourcery.com>
5184
5185 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5186 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5187 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5188 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5189 <bits/inotify.h>.
5190 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5191 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5192 bits/inotify.h.
5193
2a418ac3
JM
51942012-02-13 Joseph Myers <joseph@codesourcery.com>
5195
5196 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5197 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5198 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5199 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5200 <bits/eventfd.h>.
5201 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5202 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5203 bits/eventfd.h.
5204
fb779be7
TS
52052012-02-10 Thomas Schwinge <thomas@codesourcery.com>
5206
e19e83c5
RM
5207 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5208 __feraiseexcept instead of feraiseexcept.
7c35ffed 5209
fb779be7
TS
5210 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5211 nanosleep invocations.
5212 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5213 strings, and add error checking for a nanosleep invocations.
5214
59ba27a6
PE
52152012-02-09 Paul Eggert <eggert@cs.ucla.edu>
5216
5217 Replace FSF snail mail address with URLs, as per GNU coding standards.
5218 Most of the snail mail addresses were wrong anyway, and omitting
5219 them makes the source code easier to maintain. Almost all of the
5220 changes are to license notices and to locale LC_IDENTIFICATION
5221 addresses, except for this one:
5222 * manual/libc.texinfo: In "Published by", give the FSF's URL,
5223 not its snail mail address.
5224
57b957eb
RH
52252012-02-09 Richard Henderson <rth@twiddle.net>
5226
af850b1c
RH
5227 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5228 of kernel-features.h.
5229
57b957eb
RH
5230 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5231
6b73181a
MP
52322012-02-08 Marek Polacek <polacek@redhat.com>
5233
5234 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5235 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5236 * sysdeps/gnu/_G_config.h: Likewise.
5237 * sysdeps/generic/_G_config.h: Likewise.
5238
26ecc33a
AS
52392012-02-08 Andreas Schwab <schwab@linux-m68k.org>
5240
6c6dbc63
AS
5241 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5242 tests.
5243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5244
e216c012
AS
5245 * sysdeps/powerpc/powerpc32/crti.S: New file.
5246 * sysdeps/powerpc/powerpc32/crtn.S: New file.
5247 * sysdeps/powerpc/powerpc64/crti.S: New file.
5248 * sysdeps/powerpc/powerpc64/crtn.S: New file.
5249
26ecc33a
AS
5250 * Makeconfig (have-initfini): Don't set.
5251 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5252 * configure.in (nopic_initfini): Don't substitute.
5253 * config.h.in (HAVE_INITFINI): Don't #undef.
5254 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5255 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5256
3add8e13
JM
52572012-02-08 Joseph Myers <joseph@codesourcery.com>
5258
5259 Support crti.S and crtn.S provided directly by architectures.
5260 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5261 [crti.S in sysdirs] (omit-deps): Likewise.
5262 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5263 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5264 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5265 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5266 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5267 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5268 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5269 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5270 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5271 compiler output for sysdeps/generic/initfini.c.
5272 * sysdeps/i386/elf/Makefile: Remove file.
5273 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5274
a22f12b4
MP
52752012-02-07 Marek Polacek <polacek@redhat.com>
5276
5277 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5278 * sysdeps/gnu/_G_config.h: Likewise.
5279 * sysdeps/mach/hurd/_G_config.h: Likewise.
5280
148cf100
MP
52812012-02-07 Marek Polacek <polacek@redhat.com>
5282
5283 * math/Makefile (tests): Add tst-CMPLX2.
5284 * math/tst-CMPLX2.c: New file.
5285
cfdc0dd7
AS
52862012-02-07 Andreas Schwab <schwab@linux-m68k.org>
5287
84ba42c4
AS
5288 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5289
cfdc0dd7
AS
5290 * math/libm-test.inc (jn_test): Add missing L suffix.
5291
622c86f4
MP
52922012-02-06 Marek Polacek <polacek@redhat.com>
5293
5294 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5295 * sysdeps/i386/fpu/e_powf.S: Likewise.
5296 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5297 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5298 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5299 * sysdeps/i386/fpu/e_pow.S: Likewise.
5300 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5301 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5302 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5303 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5304 * sysdeps/i386/fpu/e_log2.S: Likewise.
5305 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5306 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5307 * sysdeps/i386/fpu/e_powl.S: Likewise.
5308 * sysdeps/i386/fpu/s_log1p.S: Likewise.
5309 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5310 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5311 * sysdeps/i386/fpu/e_logl.S: Likewise.
5312 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5313 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
5314 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5315 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5316 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5317 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5318 * sysdeps/i386/fpu/e_log.S: Likewise.
5319 * sysdeps/i386/fpu/s_cexp.S: Likewise.
5320 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5321 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
5322 * sysdeps/i386/fpu/e_logf.S: Likewise.
5323 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5324 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5325 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
5326 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5327 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5328 * sysdeps/i386/fpu/e_log10.S: Likewise.
5329 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5330 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5331 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5332 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5333 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5334 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5335 * sysdeps/i386/asm-syntax.h: Likewise.
5336 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5337 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5338 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5339 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
5340 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
5341 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5342 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5343 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5344 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5345 * sysdeps/powerpc/sysdep.h: Likewise.
5346 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
5347 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5348
d4a54ac6
JM
53492012-02-06 Joseph Myers <joseph@codesourcery.com>
5350
5351 [BZ #411]
5352 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
5353
314054ea
JM
53542012-02-06 Joseph Myers <joseph@codesourcery.com>
5355
5356 * sysdeps/i386/sysdep.h: Include <features.h>.
5357 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
5358 version.
5359
d8e0ca50
JM
53602012-02-05 Joseph Myers <joseph@codesourcery.com>
5361
5362 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
5363 Define.
5364 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
5365 LOAD_PIC_REG_STR.
5366
b1da7dd9
JM
53672012-02-03 Joseph Myers <joseph@codesourcery.com>
5368
5369 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
5370 (SETUP_PIC_REG): Use GET_PC_THUNK.
5371 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
5372 macro.
5373
9a1d9254
JM
53742012-02-03 Joseph Myers <joseph@codesourcery.com>
5375
5376 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
5377 for non-PIC compilation.
5378 (SETUP_PIC_REG): Add .p2align directive.
5379 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
5380 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5381 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5382 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5383 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5384 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5385 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5386 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5387 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5388 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5389 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5390 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5391 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5392 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5393 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5394 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5395 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5396 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5397 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5398 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5399 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5400 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5401 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5402 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5403 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5404 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5405 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5406 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5407 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5408 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5409 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5410 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5411 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5412 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5413 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5414 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5415 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5416 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5417 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5418 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5419 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5420
65dc3b75
JM
54212012-02-03 Joseph Myers <joseph@codesourcery.com>
5422
5423 * math/tst-CMPLX.c: Include <stdio.h>.
5424
d55bf177
JM
54252012-01-31 Joseph Myers <joseph@codesourcery.com>
5426
5427 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
5428 float.
5429 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5430 * sysdeps/sparc/bits/mathdef.h: Likewise.
5431
69db4f8f
MP
54322012-01-31 Marek Polacek <polacek@redhat.com>
5433
5434 * libio/libio.h: Don't define _PARAMS.
5435 * locale/programs/config.h: Don't define PARAMS.
5436 * stdlib/strtol_l.c: Likewise.
5437 (__strtol_l): Remove PARAMS from the prototype.
5438
41b81892
UD
54392012-01-31 Ulrich Drepper <drepper@gmail.com>
5440
3b49edc0
UD
5441 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
5442 names. Just use the correct names. Remove unnecessary wrapper
5443 functions.
5444 * malloc/arena.c: Likewise.
5445 * malloc/hooks.c: Likewise.
5446
41b81892
UD
5447 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
5448 ARENA_TEST says not to. Simplify test for creation of a new arena.
5449 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
5450
27a25b6e
UD
54512012-01-30 Ulrich Drepper <drepper@gmail.com>
5452
5453 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
5454 into tail calls.
5455 (update_get_addr): New function.
5456 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
5457 GET_ADDR_MODULE parameter.
5458
c8a89e7d
JM
54592012-01-30 Joseph Myers <joseph@codesourcery.com>
5460
5461 * crypt/cert.c: Remove __STDC__ conditionals.
5462 * crypt/crypt-entry.c: Likewise.
5463 * crypt/crypt_util.c: Likewise.
5464 * libio/filedoalloc.c: Likewise.
5465 * libio/fileops.c: Likewise.
5466 * libio/genops.c: Likewise.
5467 * libio/iofclose.c: Likewise.
5468 * libio/iofdopen.c: Likewise.
5469 * libio/iofopen.c: Likewise.
5470 * libio/iofopen64.c: Likewise.
5471 * libio/iogetdelim.c: Likewise.
5472 * libio/iopopen.c: Likewise.
5473 * libio/obprintf.c: Likewise.
5474 * libio/oldfileops.c: Likewise.
5475 * libio/oldiofclose.c: Likewise.
5476 * libio/oldiofdopen.c: Likewise.
5477 * libio/oldiofopen.c: Likewise.
5478 * libio/oldiopopen.c: Likewise.
5479 * libio/wfiledoalloc.c: Likewise.
5480 * libio/wgenops.c: Likewise.
5481 * locale/programs/xmalloc.c: Likewise.
5482 * misc/syslog.c: Likewise.
5483 * stdio-common/xbug.c: Likewise.
5484 * string/memchr.c: Likewise.
5485 * string/memcmp.c: Likewise.
5486 * string/memrchr.c: Likewise.
5487 * string/rawmemchr.c: Likewise.
5488 * sysdeps/posix/getcwd.c: Likewise.
5489 * time/strftime_l.c: Likewise.
5490
3b100462
JM
54912012-01-30 Joseph Myers <joseph@codesourcery.com>
5492
5493 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
5494 * config.make.in (config-cflags-sse2avx): Define.
5495 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
5496 Fix typo.
5497
607998af
CM
54982012-01-29 Chris Metcalf <cmetcalf@tilera.com>
5499
5500 * scripts/config.guess: Update from upstream config git repository.
5501 * scripts/config.sub: Likewise.
5502
3601428f
CM
55032012-01-28 Chris Metcalf <cmetcalf@tilera.com>
5504
3ac8b282
CM
5505 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
5506 (EM_NUM): Update.
5507 (R_TILEPRO_*, R_TILEGX_*): New macros.
5508
e034841e
CM
5509 * scripts/firstversions.awk: Fix bug in version range handling.
5510
540d7568
CM
5511 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
5512
3601428f
CM
5513 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
5514
463de862
CM
5515 * include/sys/epoll.h: New file.
5516 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
5517 libc_hidden_def.
5518
73139a76
UD
55192012-01-28 Ulrich Drepper <drepper@gmail.com>
5520
96bc5b45
UD
5521 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
5522 Avoid unnecessary __WORDSIZE == 64 test.
5523 (fmaxf): Use VEX format if possible.
5524 (fmax): Likewise.
5525 (fminf): Likewise.
5526 (fmin): Likewise.
5527
56f6f6a2
UD
5528 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
5529 * math/math_private.h: Remove libc_fegetround* and
5530 libc_fesetround*.
5531 * sysdeps/i386/configure.in: Check for -msse2avx.
5532 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
5533 also if SSE2AVX is defined.
5534 Remove libc_fegetround* and libc_fesetround*.
5535 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
5536 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
5537 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
5538 of HAS_YMM_USABLE.
5539 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5540 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5541 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5542 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5543 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5544
73139a76
UD
5545 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
5546
d73f93a4
AZ
55472012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5548
5549 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
5550 size is not set.
5551 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
5552
6ee65ed6
UD
55532012-01-27 Ulrich Drepper <drepper@gmail.com>
5554
5555 [BZ #13618]
5556 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
5557 relocation.
5558 * Makeconfig (libm): Define.
5559 * elf/Makefile: Add rules to build and run tst-relsort1.
5560 * elf/tst-relsort1.c: New file.
5561 * elf/tst-relsort1mod1.c: New file.
5562 * elf/tst-relsort1mod2.c: New file.
5563
8db21882
JM
55642012-01-27 Joseph Myers <joseph@codesourcery.com>
5565
5566 * math/s_ldexp.c: Remove __STDC__ conditionals.
5567 * math/s_ldexpf.c: Likewise.
5568 * math/s_ldexpl.c: Likewise.
5569 * math/s_nextafter.c: Likewise.
5570 * math/s_nexttowardf.c: Likewise.
5571 * math/s_significand.c: Likewise.
5572 * math/s_significandf.c: Likewise.
5573 * math/s_significandl.c: Likewise.
5574 * math/w_jnl.c: Likewise.
5575 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5576 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5577 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5578 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5579 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5580 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5581 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
5582 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5583 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5584 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5585 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5586 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5587 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5588 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5589 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5590 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5591 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5592 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5593 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5594 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5595 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5596 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5597 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5598 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5599 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5600 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5601 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5602 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5603 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5604 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5605 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5606 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5607 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5608 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5609 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5610 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5611 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5612 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5613 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5614 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5615 * sysdeps/ieee754/k_standard.c: Likewise.
5616 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5617 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5618 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5619 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5620 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5621 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5622 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5623 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5624 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5625 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5626 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5627 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5628 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5629 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5630 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5631 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5632 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5633 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5634 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5635 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5636 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5637 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5638 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5639 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5640 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5641 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5642 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5643 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5644 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5645 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5646 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5647 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5648 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5649 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5650 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5651 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5652 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
5653 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5654 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5655 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5656 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5657 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5658 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5659 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5660 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5661 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5662 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5663 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5664 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5665 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5666 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5667 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5668 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5669 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5670 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5671 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5672 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5673 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5674 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5675 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5676 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5677 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5678 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5679 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5680 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5681 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5682 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5683 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5684 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5685 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5686 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5687 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5688 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5689 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5690 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5691 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5692 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5693 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5694 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5695 * sysdeps/ieee754/s_matherr.c: Likewise.
5696 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5697 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5698 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5699 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5700
965a54a4
JM
57012012-01-26 Joseph Myers <joseph@codesourcery.com>
5702
5703 * crypt/md5.h: Remove __STDC__ conditionals.
5704 * libio/libioP.h: Likewise.
5705 * locale/programs/config.h: Likewise.
5706 * sysdeps/generic/sysdep.h: Likewise.
5707 * sysdeps/i386/asm-syntax.h: Likewise.
5708 * sysdeps/s390/asm-syntax.h: Likewise.
5709 * sysdeps/unix/sysdep.h: Likewise.
5710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5712
7071ad79
JM
57132012-01-26 Joseph Myers <joseph@codesourcery.com>
5714
5715 * libio/libio.h: Remove __STDC__ conditionals.
5716 * malloc/obstack.h: Likewise.
5717 * math/complex.h: Likewise.
5718 * math/math.h: Likewise.
5719 * sysdeps/generic/_G_config.h: Likewise.
5720 * sysdeps/gnu/_G_config.h: Likewise.
5721 * sysdeps/mach/hurd/_G_config.h: Likewise.
5722 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5723 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5724 * sysdeps/sparc/bits/mathdef.h: Likewise.
5725
afc5ed09
UD
57262012-01-26 Ulrich Drepper <drepper@gmail.com>
5727
5728 [BZ #13583]
5729 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 5730 Clean up HAS_* macros.
afc5ed09 5731 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
5732 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
5733 possible.
5734 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
5735 HAS_AVX.
5736 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5737 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5738 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5739 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5740 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 5741
bdb6de1d
JM
57422012-01-25 Joseph Myers <joseph@codesourcery.com>
5743
5744 * elf/tst-unique3.cc (gets): Remove declaration.
5745 * elf/tst-unique3lib.cc (gets): Likewise.
5746 * elf/tst-unique3lib2.cc (gets): Likewise.
5747 * elf/tst-unique4.cc (gets): Likewise.
5748
b15549e6
UD
57492012-01-24 Ulrich Drepper <drepper@gmail.com>
5750
5751 * include/stdio.h: Add C++ protection. Add gets declarations and
5752 definitions.
5753 * debug/tst-chk1.c: Don't declare gets here.
5754 * stdio-common/tst-gets.c: Likewise.
5755
a037381f
JM
57562012-01-24 Joseph Myers <joseph@codesourcery.com>
5757
5758 * posix/glob: Remove directory.
5759
f1d4aa75
JM
57602012-01-24 Joseph Myers <joseph@codesourcery.com>
5761
5762 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
5763
81c0c964
PT
57642012-01-22 Pino Toscano <toscano.pino@tiscali.it>
5765
5766 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
5767 of the non-standard EPFNOSUPPORT.
5768
0ea698ae
ST
57692011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
5770
5771 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
5772 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
5773 ANYWHERE set to 1 only on KERN_NO_SPACE error.
5774
d220b117
UD
57752012-01-21 Ulrich Drepper <drepper@gmail.com>
5776
5777 * wcsmbs/uchar.h: Test __STDC_VERSION__.
5778
3e1aa84e
UD
57792012-01-20 Ulrich Drepper <drepper@gmail.com>
5780
5781 * nscd/aicache.c (addhstaiX): Do not cache negative results of
5782 transient errors.
5783 * nscd/grpcache.c (cache_addgr): Likewise.
5784 * nscd/hstcache.c (cache_addhst): Likewise.
5785 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5786 * nscd/pwdcache.c (cache_addpw): Likewise.
5787 * nscd/servicescache.c (cache_addserv): Likewise.
5788
400aa020
UD
57892012-01-16 Ulrich Drepper <drepper@gmail.com>
5790
d77e7869
UD
5791 * malloc/malloc.c: Various cleanups.
5792 * malloc/hooks.c: Likewise.
5793
400aa020
UD
5794 * stdlib/Makefile (tests): Add bug-fmtmsg1.
5795 * stdlib/bug-fmtmsg1.c: New file.
5796
5797 * stdlib/fmtmsg.c (init): Add missing unlock.
5798 Patch by Peng Haitao <penght@cn.fujitsu.com>.
5799
e0a309cf
MP
58002012-01-12 Marek Polacek <polacek@redhat.com>
5801
5802 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
5803 and _GNU_SOURCE.
5804
929d11c7
WS
58052012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
5806
5807 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
5808 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
5809 macro to ensure uniqueness of label name.
5810 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5811 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5812
41d0e869
UD
58132012-01-11 Ulrich Drepper <drepper@gmail.com>
5814
0cc5ed3b
UD
5815 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
5816
41d0e869
UD
5817 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
5818 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5819 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5820 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
5821
a47a831a
UD
58222012-01-10 Ulrich Drepper <drepper@gmail.com>
5823
daa891c0
UD
5824 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
5825
5826 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
5827 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5828 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5829
e58ef0f2
UD
5830 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
5831
a47a831a 5832 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
5833 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5834 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 5835 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
5836
5837 * math/bits/math-finite.h: Add ldexp support.
5838
a0bfc9c7
MP
58392012-01-10 Marek Polacek <polacek@redhat.com>
5840
5841 * locale/programs/localedef.h (show_archive_content): Add noreturn
5842 attribute.
5843
d6e97a1d
UD
58442012-01-09 Ulrich Drepper <drepper@gmail.com>
5845
5846 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
5847
d5835c26
UD
58482012-01-08 Ulrich Drepper <drepper@gmail.com>
5849
e5f484c6
UD
5850 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
5851
d5835c26
UD
5852 * io/Makefile (headers): Add bits/poll2.h.
5853
d1f741e9
WS
58542011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
5855
5856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
5857 typo #include statement.
5858
ec09c1c4
UD
58592012-01-08 Ulrich Drepper <drepper@gmail.com>
5860
5861 * include/sys/cdefs.h: Define __attribute_alloc_size.
5862 * catgets/gencat.c: Add alloc_size attribute and apply consistently
5863 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
5864 * elf/pldd.c: Likewise.
5865 * iconv/iconv_charmap.c: Likewise.
5866 * iconv/iconvconfig.c: Likewise.
5867 * iconv/strtab.c: Likewise.
5868 * locale/programs/locale.c: Likewise.
5869 * locale/programs/localedef.h: Likewise.
5870 * locale/programs/simple-hash.c: Likewise.
5871 * nscd/nscd.h: Likewise.
5872 * nss/makedb.c: Likewise.
5873 * sysdeps/generic/ldconfig.h: Likewise.
5874 * locale/programs/localedef.c: Remove xmalloc prototype.
5875 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
5876
20b38e03
PP
58772012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5878
5879 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
5880 appropriate.
5881
a0da5fe1
UD
58822012-01-08 Ulrich Drepper <drepper@gmail.com>
5883
1d5a644a 5884 * math/Makefile (tests): Add tst-CMPLX.
669704fd 5885 * math/tst-CMPLX.c: New file.
1d5a644a 5886
8784a6db
UD
5887 * math/complex.h (CMPLXL): Fix typo.
5888
d9a216c0
UD
5889 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
5890 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
5891 GLIBC_2.16.
5892 * debug/tst-chk1.c: Add poll and ppoll tests.
5893 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
5894 * include/sys/poll.h: Add hidden proto for ppoll.
5895 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
5896 * sysdeps/mach/hurd/ppoll.c: Likewise.
5897 * io/ppoll.c: Likewise.
5898 * debug/poll_chk.c: New file.
5899 * debug/ppoll_chk.c: New file.
5900 * include/bits/poll2.h: New file.
5901 * io/bits/poll2.h: New file.
5902
ac097f5c
UD
5903 [BZ #1350]
5904 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
5905
2119dcfa
UD
5906 * configure.in: static is always set to yes. Remove.
5907 * config.make.in: Don't set build-static.
5908 * Makeconfig: Remove use of build-static.
5909 * dlfcn/Makefile: Likewise.
5910 * elf/Makefile: Likewise.
5911 * math/Makefile: Likewise.
5912 * misc/Makefile: Likewise.
5913 * nptl/Makefile: Likewise.
5914 * sysdeps/mach/hurd/Makefile: Likewise.
5915
121766a9
UD
5916 * configure.in: PWD_P is not used anymore.
5917 * config.make.in: Remove PWD_P entry.
5918
51a1d39c 5919 * configure.in: Remove last remnants of RANLIB.
8720d066 5920 No need to check for signed size_t anymore.
215f4bdc
UD
5921 Don't set libc_commonpagesize and libc_relro_required here for Alpha
5922 and IA-64.
3857022a 5923 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
5924 * aclocal.m4: Likewise.
5925
d3ed7225
UD
5926 * wcsmbs/mbrtoc16.c: Implement using towc function.
5927 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
5928 * wcsmbs/wcsmbsload.c: Likewise.
5929 * iconv/gconv_simple.c: Likewise.
5930 * iconv/gconv_int.h: Likewise.
5931 * iconv/gconv_builtin.h: Likewise.
5932 * iconv/iconv_prog.c: Remove CHAR16 handling.
5933
5934 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
5935
5936 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
5937
a0da5fe1
UD
5938 * configure.in: Remove --with-elf and --enable-bounded options.
5939 Dont set base_machine for ia64. More non-ELF conditions removed.
5940 Remove testing and setting of leading underscore information.
5941 * config.make.in (build-bounded): Set to no.
5942 * config.h.in: Remove NO_UNDERSCORES entry.
5943 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
5944 them.
5945 * csu/start.c: Remove !NO_UNDERSCORE code.
5946 * locale/localeinfo.h: Likewise.
5947 * sysdeps/generic/machine-gmon.h: Likewise.
5948 * sysdeps/generic/sysdep.h: Likewise.
5949 * sysdeps/i386/sysdep.h: Likewise.
5950 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5951 * sysdeps/mach/sysdep.h: Likewise.
5952 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5953 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5954 * sysdeps/sh/sysdep.h: Likewise.
5955 * sysdeps/sparc/sparc32/alloca.S: Likewise.
5956 * sysdeps/unix/i386/sysdep.S: Likewise.
5957 * sysdeps/unix/sparc/start.c: Likewise.
5958 * sysdeps/unix/sparc/sysdep.S: Likewise.
5959 * sysdeps/unix/sparc/sysdep.h: Likewise.
5960 * sysdeps/unix/start.c: Likewise.
5961 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5962 * sysdeps/x86_64/sysdep.h: Likewise.
5963
df78418a
UD
59642012-01-07 Ulrich Drepper <drepper@gmail.com>
5965
a784e502
UD
5966 [BZ #13553]
5967 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
5968 for non-gcc.
5969 * argp/argp-fmtstream.h: Use const instead __const.
5970 * argp/argp.h: Likewise.
5971 * assert/assert.h: Likewise.
5972 * bits/fenv.h: Likewise.
5973 * bits/sched.h: Likewise.
5974 * bits/sigset.h: Likewise.
5975 * bits/sigthread.h: Likewise.
5976 * catgets/nl_types.h: Likewise.
5977 * conform/data/pthread.h-data: Likewise.
5978 * crypt/crypt-private.h: Likewise.
5979 * crypt/crypt.h: Likewise.
5980 * crypt/crypt_util.c: Likewise.
5981 * ctype/ctype.h: Likewise.
5982 * debug/execinfo.h: Likewise.
5983 * debug/mbsnrtowcs_chk.c: Likewise.
5984 * debug/mbsrtowcs_chk.c: Likewise.
5985 * debug/wcsnrtombs_chk.c: Likewise.
5986 * debug/wcsrtombs_chk.c: Likewise.
5987 * debug/wcstombs_chk.c: Likewise.
5988 * dirent/dirent.h: Likewise.
5989 * dlfcn/dlfcn.h: Likewise.
5990 * elf/neededtest4.c: Likewise.
5991 * grp/grp.h: Likewise.
5992 * gshadow/gshadow.h: Likewise.
5993 * iconv/gconv.h: Likewise.
5994 * iconv/gconv_int.h: Likewise.
5995 * iconv/gconv_simple.c: Likewise.
5996 * iconv/iconv.h: Likewise.
5997 * iconv/loop.c: Likewise.
5998 * iconv/skeleton.c: Likewise.
5999 * include/aio.h: Likewise.
6000 * include/aliases.h: Likewise.
6001 * include/argz.h: Likewise.
6002 * include/arpa/inet.h: Likewise.
6003 * include/assert.h: Likewise.
6004 * include/dirent.h: Likewise.
6005 * include/dlfcn.h: Likewise.
6006 * include/execinfo.h: Likewise.
6007 * include/fcntl.h: Likewise.
6008 * include/fenv.h: Likewise.
6009 * include/glob.h: Likewise.
6010 * include/grp.h: Likewise.
6011 * include/libintl.h: Likewise.
6012 * include/mntent.h: Likewise.
6013 * include/netdb.h: Likewise.
6014 * include/pwd.h: Likewise.
6015 * include/rpc/netdb.h: Likewise.
6016 * include/sched.h: Likewise.
6017 * include/search.h: Likewise.
6018 * include/shadow.h: Likewise.
6019 * include/signal.h: Likewise.
6020 * include/stdio.h: Likewise.
6021 * include/stdlib.h: Likewise.
6022 * include/string.h: Likewise.
6023 * include/sys/socket.h: Likewise.
6024 * include/sys/stat.h: Likewise.
6025 * include/sys/statfs.h: Likewise.
6026 * include/sys/statvfs.h: Likewise.
6027 * include/sys/syslog.h: Likewise.
6028 * include/sys/time.h: Likewise.
6029 * include/sys/uio.h: Likewise.
6030 * include/time.h: Likewise.
6031 * include/unistd.h: Likewise.
6032 * include/utmp.h: Likewise.
6033 * include/wchar.h: Likewise.
6034 * include/wctype.h: Likewise.
6035 * inet/aliases.h: Likewise.
6036 * inet/arpa/inet.h: Likewise.
6037 * inet/netinet/ether.h: Likewise.
6038 * inet/netinet/in.h: Likewise.
6039 * intl/libintl.h: Likewise.
6040 * io/bits/fcntl2.h: Likewise.
6041 * io/fcntl.h: Likewise.
6042 * io/ftw.h: Likewise.
6043 * io/sys/poll.h: Likewise.
6044 * io/sys/stat.h: Likewise.
6045 * io/sys/statfs.h: Likewise.
6046 * io/sys/statvfs.h: Likewise.
6047 * io/utime.h: Likewise.
6048 * libio/bits/stdio.h: Likewise.
6049 * libio/bits/stdio2.h: Likewise.
6050 * libio/libio.h: Likewise.
6051 * libio/libioP.h: Likewise.
6052 * libio/stdio.h: Likewise.
6053 * locale/lc-ctype.c: Likewise.
6054 * locale/locale.h: Likewise.
6055 * login/utmp.h: Likewise.
6056 * malloc/arena.c: Likewise.
6057 * malloc/malloc.c: Likewise.
6058 * malloc/malloc.h: Likewise.
6059 * malloc/mcheck.c: Likewise.
6060 * malloc/mtrace.c: Likewise.
6061 * math/bits/mathcalls.h: Likewise.
6062 * math/fenv.h: Likewise.
6063 * math/math_private.h: Likewise.
6064 * misc/bits/error.h: Likewise.
6065 * misc/bits/syslog.h: Likewise.
6066 * misc/err.h: Likewise.
6067 * misc/error.h: Likewise.
6068 * misc/fstab.h: Likewise.
6069 * misc/mntent.h: Likewise.
6070 * misc/regexp.h: Likewise.
6071 * misc/search.h: Likewise.
6072 * misc/sgtty.h: Likewise.
6073 * misc/sys/mman.h: Likewise.
6074 * misc/sys/syslog.h: Likewise.
6075 * misc/sys/uio.h: Likewise.
6076 * misc/sys/xattr.h: Likewise.
6077 * misc/ttyent.h: Likewise.
6078 * nis/rpcsvc/ypclnt.h: Likewise.
6079 * nss/nss.h: Likewise.
6080 * posix/bits/unistd.h: Likewise.
6081 * posix/fnmatch.h: Likewise.
6082 * posix/glob.h: Likewise.
6083 * posix/sched.h: Likewise.
6084 * posix/spawn.h: Likewise.
6085 * posix/sys/wait.h: Likewise.
6086 * posix/unistd.h: Likewise.
6087 * posix/wordexp.h: Likewise.
6088 * pwd/pwd.h: Likewise.
6089 * resolv/netdb.h: Likewise.
6090 * resource/sys/resource.h: Likewise.
6091 * rt/aio.h: Likewise.
6092 * rt/bits/mqueue2.h: Likewise.
6093 * rt/mqueue.h: Likewise.
6094 * shadow/shadow.h: Likewise.
6095 * signal/signal.h: Likewise.
6096 * socket/send.c: Likewise.
6097 * socket/sendto.c: Likewise.
6098 * socket/sys/socket.h: Likewise.
6099 * stdio-common/printf.h: Likewise.
6100 * stdlib/bits/stdlib.h: Likewise.
6101 * stdlib/fmtmsg.h: Likewise.
6102 * stdlib/monetary.h: Likewise.
6103 * stdlib/stdlib.h: Likewise.
6104 * stdlib/ucontext.h: Likewise.
6105 * streams/stropts.h: Likewise.
6106 * string/argz.h: Likewise.
6107 * string/bits/string2.h: Likewise.
6108 * string/string.h: Likewise.
6109 * string/strings.h: Likewise.
6110 * sunrpc/rpc/auth.h: Likewise.
6111 * sunrpc/rpc/auth_des.h: Likewise.
6112 * sunrpc/rpc/clnt.h: Likewise.
6113 * sunrpc/rpc/netdb.h: Likewise.
6114 * sunrpc/rpc/pmap_clnt.h: Likewise.
6115 * sunrpc/rpc/xdr.h: Likewise.
6116 * sysdeps/generic/inttypes.h: Likewise.
6117 * sysdeps/generic/net/if.h: Likewise.
6118 * sysdeps/generic/sys/swap.h: Likewise.
6119 * sysdeps/gnu/net/if.h: Likewise.
6120 * sysdeps/gnu/utmpx.h: Likewise.
6121 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6122 * sysdeps/i386/i486/bits/string.h: Likewise.
6123 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6124 * sysdeps/s390/bits/string.h: Likewise.
6125 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6126 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6127 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6128 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6129 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6130 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6131 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6132 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6133 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6134 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6135 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6136 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6137 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6138 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6139 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6140 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6141 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6142 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6143 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6144 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6145 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6146 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6147 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6148 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6149 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6150 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6151 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6152 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6153 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6154 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6155 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6156 * sysvipc/sys/ipc.h: Likewise.
6157 * sysvipc/sys/msg.h: Likewise.
6158 * sysvipc/sys/sem.h: Likewise.
6159 * sysvipc/sys/shm.h: Likewise.
6160 * termios/termios.h: Likewise.
6161 * time/sys/time.h: Likewise.
6162 * time/time.h: Likewise.
6163 * wcsmbs/bits/wchar2.h: Likewise.
6164 * wcsmbs/uchar.h: Likewise.
6165 * wcsmbs/wchar.h: Likewise.
6166 * wctype/wctype.h: Likewise.
6167
0269750c
UD
6168 [BZ #13551]
6169 * Makeconfig: Remove all but ELF support including AIX support.
6170 * Makerules: Likewise.
6171 * config.h.in: Likewise.
6172 * config.make.in: Likewise.
6173 * configure: Likewise.
6174 * configure.in: Likewise.
6175 * csu/Makefile: Likewise.
6176 * csu/version.c: Likewise.
6177 * debug/Makefile: Likewise.
6178 * dlfcn/Makefile: Likewise.
6179 * elf/Makefile: Likewise.
6180 * extra-lib.mk: Likewise.
6181 * iconv/Makefile: Likewise.
6182 * include/libc-symbols.h: Likewise.
6183 * include/shlib-compat.h: Likewise.
6184 * resolv/Makefile: Likewise.
6185 * resolv/res_libc.c: Likewise.
6186 * rt/Makefile: Likewise.
6187 * sysdeps/i386/asm-syntax.h: Likewise.
6188 * sysdeps/i386/sysdep.h: Likewise.
6189 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6190 * sysdeps/mach/sysdep.h: Likewise.
6191 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6192 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6193 * sysdeps/s390/asm-syntax.h: Likewise.
6194 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6195 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6196 * sysdeps/sh/sysdep.h: Likewise.
6197 * sysdeps/unix/sparc/sysdep.h: Likewise.
6198 * sysdeps/wordsize-32/divdi3.c: Likewise.
6199 * sysdeps/x86_64/sysdep.h: Likewise.
6200
00bbd29b
UD
6201 * argp/Versions: Remove _argp_unlock_xxx.
6202
6203 [BZ #13559]
6204 * abilist/ld.abilist: Update. Adjust for removal of tls option.
6205 * abilist/libBrokenLocale.abilist: Likewise.
6206 * abilist/libanl.abilist: Likewise.
6207 * abilist/libc.abilist: Likewise.
6208 * abilist/libcrypt.abilist: Likewise.
6209 * abilist/libdl.abilist: Likewise.
6210 * abilist/libm.abilist: Likewise.
6211 * abilist/libnsl.abilist: Likewise.
6212 * abilist/libpthread.abilist: Likewise.
6213 * abilist/libresolv.abilist: Likewise.
6214 * abilist/librt.abilist: Likewise.
6215 * abilist/libthread_db.abilist: Likewise.
6216 * abilist/libutil.abilist: Likewise.
6217 * abilist/libnss_db.abilist: New file.
6218
6219 * scripts/abilist.awk: Add support for indirect functions.
6220
a2693a0e
UD
6221 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6222
3f05895f
UD
6223 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6224
ecb6fb48
UD
6225 * shlib-versions: Remove entries for ports architectures.
6226
664f8cb9
UD
6227 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
6228 files in ports.
6229 * elf/stackguard-macros.h: Remove support for IA-64.
6230 * elf/tst-auditmod1.c: Likewise.
6231 * sysdeps/generic/ldsodefs.h: Likewise.
6232
7ae81d88
UD
6233 * sysdeps/unix/sysv/linux/configure.in: Ports should define
6234 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6235 configure files.
6236
bdeba135
UD
6237 [BZ #13552]
6238 * configure.in: Remove --enable-omitfp support.
6239 * FAQ.in: Adjust.
6240 * config.make.in: Likewise.
6241 * Makeconfig: Likewise.
6242 * manual/install.texi: Likewise.
6243
d75a0a62
UD
6244 In case anyone cares, the IA-64 architecture could move to ports.
6245 * sysdeps/ia64/*: Removed.
6246 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 6247 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 6248
dcc9756b
UD
6249 [BZ #13555]
6250 * configure.in: Remove entries for unsupported architectures.
6251
d3761ebc 6252 [BZ #13533]
9954432e
UD
6253 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6254 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
6255 routines.
6256 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6257 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6258 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
6259 fall back to using wcrtomb.
6260 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6261 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
6262 renaming.
6263 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6264 * wcsmbs/tst-c16c32-1.c: New file.
6265
6266 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6267 local variable.
6268
c3a87236
UD
6269 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6270
28926a1b
UD
6271 * elf/tst-unique3.cc: Add explicit declaration of gets.
6272 * elf/tst-unique3lib.cc: Likewise.
6273 * elf/tst-unique3lib2.cc: Likewise.
6274 * elf/tst-unique4.cc: Likewise.
6275
df78418a
UD
6276 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6277
8ecd6b2a
JM
62782012-01-06 Joseph Myers <joseph@codesourcery.com>
6279
6280 [BZ #13566]
6281 * assert/assert.h (static_assert): Don't define for C++.
6282 * libio/stdio.h (gets): Do declare for C++ <= C++11.
6283 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6284
9f115170
UD
62852012-01-03 Ulrich Drepper <drepper@gmail.com>
6286
5e0d0300
UD
6287 * iconv/loop.c (single loop): Fix assertion in storing of
6288 remaining bytes.
6289
9f115170
UD
6290 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6291
81fb02b0
UD
62922012-01-01 Ulrich Drepper <drepper@gmail.com>
6293
6294 * posix/getconf.c: Update copyright year.
6295 * nss/getent.c: Likewise.
a316c1f6 6296 * nss/makedb.c: Likewise.
81fb02b0
UD
6297 * iconv/iconvconfig.c: Likewise.
6298 * iconv/iconv_prog.c: Likewise.
6299 * elf/ldconfig.c: Likewise.
a316c1f6
UD
6300 * elf/pldd.c: Likewise.
6301 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
6302 * catgets/gencat.c: Likewise.
6303 * csu/version.c: Likewise.
6304 * elf/ldd.bash.in: Likewise.
6305 * elf/sprof.c (print_version): Likewise.
6306 * locale/programs/locale.c: Likewise.
6307 * locale/programs/localedef.c: Likewise.
a316c1f6 6308 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
6309 * nscd/nscd.c (print_version): Likewise.
6310 * debug/xtrace.sh: Likewise.
6311 * malloc/memusage.sh: Likewise.
6312 * malloc/mtrace.pl: Likewise.
6313 * debug/catchsegv.sh: Likewise.
6314
2ba92745
JJ
63152011-12-30 Jakub Jelinek <jakub@redhat.com>
6316
6317 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
6318 pure attribute.
6319
dadebdae
UD
63202011-12-24 Ulrich Drepper <drepper@gmail.com>
6321
d3761ebc 6322 [BZ #13533]
db6af3eb
UD
6323 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
6324 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
6325 transformations.
6326 * iconv/gconv_int.h: Likewise.
6327 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
6328 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
6329 from libc for GLIBC_2.16.
6330 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
6331 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
6332 * wcsmbs/uchar.h: Really define mbstate_t.
6333 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
6334 * wcsmbs/c16rtomb.c: New file.
6335 * wcsmbs/mbrtoc16.c: New file.
6336 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
6337 for C/POSIX locale.
6338 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
6339 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
6340
dadebdae
UD
6341 * wcsmbs/wchar.h: Add missing __restrict.
6342
67371b56
UD
63432011-12-23 Ulrich Drepper <drepper@gmail.com>
6344
74033a25
UD
6345 [BZ #13532]
6346 * time/Makefile (routines): Add timespec_get.
6347 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
6348 * time/time.h: Define TIME_UTC and declare timespec_get. Define
6349 timespec for ISO C11.
6350 * time/timespec_get.c: New file.
6351 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
6352 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
6353
380d7e87
UD
6354 [BZ #13531]
6355 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
6356 * stdlib/stdlib.h: Declare aligned_alloc.
6357 * Versions.def: Add GLIBC_2.16 for libc.
6358 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
6359
4e9e7a35
UD
6360 [BZ 13527]
6361 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
6362 ISO C11.
6363
380d7e87 6364 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
6365 code.
6366
03a71829
UD
6367 [BZ #13528]
6368 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
6369
839e283e
UD
6370 [BZ #13529]
6371 * assert/assert.h (static_assert): Define.
6372
ce5294e2 6373 * version.h: Update for 2.16 development version.
90fa7312 6374
8d44e150 6375 [BZ #13526]
d7809905
UD
6376 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
6377 _ISOC11_SOURCE.
6378
c0da14cd
UD
6379 * version.h (RELEASE): Bump for 2.15 release.
6380 * include/features.h (__GLIBC_MINOR__): Bump to 15.
6381
530a3249
MP
6382 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
6383 Patch by Marek Polacek <mpolacek@redhat.com>.
6384
67371b56
UD
6385 * bits/byteswap.h: Protect long long constants with __extension__.
6386 * sysdeps/i386/bits/byteswap.h: Likewise.
6387 * sysdeps/ia64/bits/byteswap.h: Likewise.
6388 * sysdeps/s390/bits/byteswap.h: Likewise.
6389 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6390
15db4de1
LD
63912011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6392
6393 [BZ #13540]
bbe315ea
LD
6394 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
6395 destination buffer.
15db4de1
LD
6396 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6397
2b2596b1
MP
63982011-12-23 Marek Polacek <polacek@redhat.com>
6399
6400 * elf/dl-addr.c (determine_info): Add inline keyword.
6401 * elf/tst-auditmod4b.c (check_avx): Likewise.
6402 * elf/tst-auditmod6b.c (check_avx): Likewise.
6403 * elf/tst-auditmod6c.c (check_avx): Likewise.
6404 * elf/tst-auditmod7b.c (check_avx): Likewise.
6405
70c6c246
UD
64062011-12-23 Ulrich Drepper <drepper@gmail.com>
6407
6408 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
6409 !__SSE_MATH__.
6410
c044cf14
LD
64112011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6412
15db4de1 6413 [BZ #13540]
c044cf14
LD
6414 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
6415 processing for last bytes.
6416
6b13d9d9
BH
64172011-08-06 Bruno Haible <bruno@clisp.org>
6418
d455f537
BH
6419 [BZ #13061]
6420 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
6421 U+0385, not to U+1FEE.
6422
6b13d9d9
BH
6423 [BZ #13062]
6424 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
6425 entry for U+00A5 U+0301.
6426
db910efd
UD
64272011-12-22 Ulrich Drepper <drepper@gmail.com>
6428
27deeafc
UD
6429 [BZ #13166]
6430 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
6431 buffer for the output is too small.
6432
aed9d171
UD
6433 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
6434 optimization.
6435
db910efd
UD
6436 [BZ #13185]
6437 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
6438 SSE flags if possible.
6439
2bd779ae
LD
64402011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6441
e7f9dac3 6442 [BZ #13540]
2bd779ae
LD
6443 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
6444 processing for last bytes.
6445
154bfc16
JM
64462011-12-22 Joseph Myers <joseph@codesourcery.com>
6447
6448 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
6449 (syscall-list-default-options, syscall-list-default-condition)
6450 (syscall-list-includes): Define.
6451 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
6452 list of ABIs and options and #if conditions for each ABI. Do not
6453 handle common syscalls between ABIs specially.
6454 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
6455 Remove.
6456 (syscall-list-variants, syscall-list-32bit-options)
6457 (syscall-list-32bit-condition, syscall-list-64bit-options)
6458 (syscall-list-64bit-condition): Define.
6459 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
6460 (syscall-list-variants, syscall-list-32bit-options)
6461 (syscall-list-32bit-condition, syscall-list-64bit-options)
6462 (syscall-list-64bit-condition): Define.
6463 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
6464 Remove.
6465 (syscall-list-variants, syscall-list-32bit-options)
6466 (syscall-list-32bit-condition, syscall-list-64bit-options)
6467 (syscall-list-64bit-condition): Define.
6468 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
6469 Remove.
6470 (syscall-list-variants, syscall-list-32bit-options)
6471 (syscall-list-32bit-condition, syscall-list-64bit-options)
6472 (syscall-list-64bit-condition): Define.
6473
21eaf3a5
UD
64742011-12-22 Ulrich Drepper <drepper@gmail.com>
6475
16c6f992
UD
6476 * locale/iso-639.def: Add brx entry.
6477
41043168
UD
6478 [BZ #13328]
6479 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
6480 Proposed by Mariusz_Cukr <marcukr@op.pl>.
6481
21eaf3a5
UD
6482 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
6483 __feraiseexcept_renamed.
6484
e3a851a2
UD
64852011-12-21 Ulrich Drepper <drepper@gmail.com>
6486
4920765e
UD
6487 [BZ #13538]
6488 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
6489 EPOLLET with unsigned values.
6490 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6491 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6492
e3a851a2
UD
6493 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
6494 to large cancellation.
6495 * math/s_cacoshf.c: Likewise.
6496 * math/s_cacoshl.c: Likewise.
6497
b27e24b8
RK
64982011-11-18 Richard B. Kreckel <kreckel@ginac.de>
6499
6500 [BZ #13305]
aebefeee 6501 [BZ #12786]
b27e24b8
RK
6502 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
6503 * math/s_cacoshf.c: Likewise.
6504 * math/s_cacoshl.c: Likewise.
6505
ee190f67
UD
65062011-12-21 Ulrich Drepper <drepper@gmail.com>
6507
6508 [BZ #13439]
6509 * iconv/gconv.h: Define __GCONV_SWAP.
6510 * iconvdata/unicode.c: The swap bit must be stored in __flags.
6511 * iconvdata/utf-16.c: Likewise.
6512 * iconvdata/utf-32.c: Likewise.
6513
707f25df
AS
65142011-12-21 Andreas Schwab <schwab@linux-m68k.org>
6515
6516 [BZ #13524]
6517 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
6518 numerator after shifting it by one limb.
6519
d2daaa1e
RÁE
65202011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
6521
6522 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
6523 under [__USE_EXTERN_INLINES].
6524
a4647e72
UD
65252011-12-17 Ulrich Drepper <drepper@gmail.com>
6526
6527 [BZ #13446]
6528 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
6529
f0b264f1
AZ
65302011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6531
6532 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
6533 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
6534 optimized code.
6535 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
6536 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
6537 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
6538 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
6539 for strncasecmp/strncasecmp_l compilation.
6540 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
6541 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
6542
8ef4f244
MP
65432011-12-08 Marek Polacek <mpolacek@redhat.com>
6544
6545 [BZ #13484]
6546 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
6547 of __asm__.
6548
97ac2654
UD
65492011-12-17 Ulrich Drepper <drepper@gmail.com>
6550
6551 [BZ #13506]
6552 * time/tzfile.c (__tzfile_read): Check values from file header.
6553
91d2a845
WS
65542011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6555
6556 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
6557 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
6558 * powerpc/powerpc32/dl-start.S: Likewise.
6559 * powerpc/powerpc32/elf/start.S: Likewise.
6560 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6561 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
6562 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
6563 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
6564 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6565 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
6566 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
6567 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6568 * powerpc/powerpc32/fpu/s_round.S: Likewise.
6569 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6570 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6571 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6572 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6573 * powerpc/powerpc32/memset.S: Likewise.
6574 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6575 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6576 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6577 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6578 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6579 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6580 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6581 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6582 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
6583 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
6584 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
6585 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6586 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6587
a1267ba1
AZ
65882011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6589
6590 * math/libm-test.inc: Added more nearbyint tests.
6591 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
6592 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
6593 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
6594 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
6595
ad8ac1bd
RL
65962011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
6597
6598 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
6599 FD_CLOEXEC.
6600
1d3e4b61
UD
66012011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6602
6603 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
6604 Add wcscpy-ssse3 wcscpy-c.
6605 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
6606 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
6607 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
6608 * sysdeps/x86_64/wcschr.S: New file.
6609 * sysdeps/x86_64/wcsrchr.S: New file.
6610 * string/test-strcmp.c: Remove checking of wcscmp function for
6611 wrong alignments.
6612 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
6613 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
6614 wcsrchr-sse2 wcsrchr-c.
6615 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
6616 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
6617 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
6618 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
6619 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
6620 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
6621 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
6622 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
6623 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
6624 * wcsmbc/wcschr.c (WCSCHR): New macro.
6625
5b330a2d
UD
66262011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6627
6628 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
6629 * wcsmbs/test-wcsrchr.c: New file.
6630 * string/test-strrchr.c: Add wcsrchr support.
6631 (WIDE): New macro.
6632 * wcsmbs/test-wcscpy.c: New file.
6633 * string/test-strcpy.c: Add wcscpy support.
6634 (WIDE): New macro.
26428b7c 6635
f039c043
UD
66362011-12-10 Ulrich Drepper <drepper@gmail.com>
6637
6638 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
6639 the inner loop.
6640
850fb039
AS
66412011-12-06 Andreas Schwab <schwab@linux-m68k.org>
6642
6643 [BZ #13472]
6644 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
6645
4efbd5cb
UD
66462011-12-04 Ulrich Drepper <drepper@gmail.com>
6647
52ff5dd0 6648 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 6649 Minor optimizations.
52ff5dd0 6650
4efbd5cb
UD
6651 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
6652 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
6653 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6654
8a426e12
UD
66552011-12-03 Ulrich Drepper <drepper@gmail.com>
6656
aff2453d
UD
6657 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
6658 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
6659 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
6660 for gcc to avoid warnings.
6661 * inet/Makefile (tests): Add tst-checks.
6662 * inet/tst-checks.c: New file.
6663
6664 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
6665 warning.
6666
6667 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
6668 __wmemcmp_sse2.
6669
6670 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
6671 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
6672
8a426e12
UD
6673 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
6674
9bea3473
UD
66752011-12-02 Ulrich Drepper <drepper@gmail.com>
6676
3a965496
UD
6677 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
6678 problem.
6679
9bea3473
UD
6680 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
6681
f101631b
UD
66822011-11-29 Joseph Myers <joseph@codesourcery.com>
6683
6684 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
6685 conditional on GCC version.
6686 (__arch_compare_and_exchange_val_8_acq)
6687 (__arch_compare_and_exchange_val_16_acq)
6688 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
6689 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
6690 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
6691
a98275aa
UD
66922011-12-02 Joseph Myers <joseph@codesourcery.com>
6693
6694 * sysdeps/sh/backtrace.c: New file.
6695
d4cc29a2
AS
66962011-12-02 Andreas Schwab <schwab@redhat.com>
6697
6698 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
6699 parenthesis.
6700
6257af2d
AS
67012011-12-01 Andreas Schwab <schwab@redhat.com>
6702
6703 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
6704 falling back to utime.
6705
b5f44c1a
AS
67062011-11-30 Andreas Schwab <schwab@redhat.com>
6707
6708 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
6709 expectations for float.
6710
f3a6cc0a
AS
67112011-11-29 Andreas Schwab <schwab@redhat.com>
6712
6713 * locale/weight.h (findidx): Add parameter len.
6714 * locale/weightwc.h (findidx): Likewise.
6715 * posix/fnmatch_loop.c (FCT): Adjust caller.
6716 * posix/regcomp.c (build_equiv_class): Likewise.
6717 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
6718 * posix/regexec.c (check_node_accept_bytes): Likewise.
6719 * string/strcoll_l.c (STRCOLL): Likewise.
6720 * string/strxfrm_l.c (STRXFRM): Likewise.
6721
9d65ea3a
UD
67222011-11-17 Ulrich Drepper <drepper@gmail.com>
6723
6724 * Makefile.in: Remove CVSOPT handling.
6725 * configure.in: Remove use of AC_REVISION.
6726 * iconvdata/Makefile (distribute): No need to filter out CVS.
6727 * scripts/list-sources.sh: Remove CVS, subversion and monotone
6728 handling.
6729
5583a086
AS
67302011-11-16 Andreas Schwab <schwab@redhat.com>
6731
6732 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
6733 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
6734 [USE_AS_STRNCASECMP_L]: Likewise.
6735 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
6736 NO_TLS_DIRECT_SEG_REFS.
6737 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
6738 Fix argument offsets for non-PIC.
6739 [USE_AS_STRNCASECMP_L]: Likewise.
6740 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
6741 NO_TLS_DIRECT_SEG_REFS.
6742
d62a8200
UD
67432011-11-15 Ulrich Drepper <drepper@gmail.com>
6744
9d65ea3a 6745 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
6746 O_CLOEXEC.
6747 * locale/loadlocale.c (_nl_load_locale): Likewise.
6748
09f93bd3
AS
67492011-11-15 Andreas Schwab <schwab@redhat.com>
6750
446514f9
AS
6751 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
6752 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
6753 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
6754 (SYSCALL_GETTIME): Set errno on error.
6755
09f93bd3
AS
6756 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
6757 count references to noai6ai_cached.
6758
312be3f9
UD
67592011-11-15 Ulrich Drepper <drepper@gmail.com>
6760
6761 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
6762
6763 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
6764 FD_CLOEXEC for /proc/self/maps.
6765
6766 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
6767 FD_CLOEXEC for /proc/meminfo.
6768
6769 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
6770 gai.conf.
6771
6772 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
6773 FD_CLOEXEC for given file.
6774
6775 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
6776
6777 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
6778 FD_CLOEXEC for /etc/hosts.
6779 (_gethtent): Likewise.
6780
6781 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
6782
6783 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
6784 cancellation and set FD_CLOEXEC for /etc/netgroup.
6785
6786 * nss/nss_files/files-key.c (search): Don't allow cancellation when
6787 reading /etc/publickey.
6788
6789 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
6790 allow cancellation when reading /etc/group.
6791
6792 * nss/nss_files/files-alias.c (internal_setent): Don't allow
6793 cancellation.
6794 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
6795
6796 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
6797 when using data file.
6798
6799 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
6800
6801 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
6802 (write_nis_obj): Use "c" and "e" in fopen.
6803
6804 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
6805
6806 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
6807
6808 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
6809
6810 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
6811
6812 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
6813 locale.alias.
6814
6815 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
6816
6817 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
6818
6819 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
6820
6821 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
6822 file parsing and set FD_CLOEXEC.
6823
82af0fa8
UD
68242011-11-14 Ulrich Drepper <drepper@gmail.com>
6825
6826 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
6827
a5fb313c
AS
68282011-11-14 Andreas Schwab <schwab@redhat.com>
6829
6830 * malloc/arena.c (arena_get2): Don't call reused_arena when
6831 _int_new_arena failed.
6832
6abf3465
UD
68332011-11-14 Ulrich Drepper <drepper@gmail.com>
6834
6835 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
6836 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
6837 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
6838 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6839 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6840 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
6841 to compile strcasecmp and strncasecmp.
6842 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
6843 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
6844
6845 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
6846
76e3966e
UD
68472011-11-13 Ulrich Drepper <drepper@gmail.com>
6848
6849 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
6850 locale-defines.sym to gen-as-const-headers.
6851 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
6852 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
6853 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
6854 to compile strcasecmp and strncasecmp.
6855 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
6856 strcasecmp_l and strncasecmp_l.
6857 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
6858 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
6859 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
6860 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
6861 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
6862 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
6863 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
6864 * sysdeps/i386/i686/multiarch/strncase.S: New file.
6865 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
6866 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
6867 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
6868
ab26144e
UD
68692011-11-12 Ulrich Drepper <drepper@gmail.com>
6870
7edb22ef
UD
6871 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
6872 result of SYSDEP_GETTIME_CPU to retval.
6873 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
6874 parameter list to macro. Remove trailing semicolon. Adjust users.
6875
9694fc44
UD
6876 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
6877 variable.
6878
8ad89ef8
UD
6879 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
6880 mantissa words.
6881 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6882
0c822ef9
UD
6883 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
6884 from unused variable.
6885
874e0564
UD
6886 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
6887 DWARF definitions.
6888 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
6889 for assembling.
6890
3a2edc79
UD
6891 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
6892 over namespaces.
6893
f3c2577f
UD
6894 * sunrpc/rpc_prot.c (rejected): Fix case value.
6895
294ce126
UD
6896 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
6897 unsigned long long int to avoid warnings in shift.
6898
5e2b63c6
UD
6899 * posix/regex_internal.c (re_string_reconstruct): Actually use result
6900 of use of trans.
6901 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
6902 variable tmp.
6903
e7f4b08e
UD
6904 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
6905 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6906 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6907
ab26144e
UD
6908 * nis/nis_table.c (nis_list): Use variable of correct type for
6909 result of __follow_path call.
6910
8a6d5255
AZ
69112011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6912
6913 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
6914 of math functions ceil, trunc, floor, round, and sqrt, when
6915 avaliable on the platform.
6916 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
6917 name clash.
6918 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6919 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6920 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6921
aaddc98c
MP
69222011-10-30 Marek Polacek <mpolacek@redhat.com>
6923
6924 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
6925 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6926
95b7042b
RM
69272011-11-11 Roland McGrath <roland@hack.frob.com>
6928
6929 * include/unistd.h: Fix __readlink return type.
6930 Reported by Chris Metcalf <cmetcalf@tilera.com>.
6931
57769839
UD
69322011-11-11 Ulrich Drepper <drepper@gmail.com>
6933
6934 * stdlib/ucontext.h: Undo last change for makecontext.
6935
edc5984d
AS
69362011-11-11 Andreas Schwab <schwab@redhat.com>
6937
98591e58
AS
6938 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
6939
edc5984d
AS
6940 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
6941 * setjmp/setjmp.h: Mark functions as non-leaf.
6942 * setjmp/bits/setjmp2.h: Likewise.
6943 * stdlib/ucontext.h: Likewise.
6944
77cdc054
AS
69452011-11-10 Andreas Schwab <schwab@redhat.com>
6946
6947 * malloc/arena.c (_int_new_arena): Don't increment narenas.
6948 (reused_arena): Don't check arena limit.
6949 (arena_get2): Atomically check arena limit.
6950
fe72eebd
UD
69512011-11-08 Ulrich Drepper <drepper@gmail.com>
6952
5f078c32
UD
6953 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
6954 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
6955
fe72eebd
UD
6956 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
6957 instructions.
6958
ae1bc2fa
AS
69592011-11-07 Andreas Schwab <schwab@redhat.com>
6960
7583a88d
AS
6961 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
6962 handler when locking.
6963
ae1bc2fa
AS
6964 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6965 Fix size of allocated buffer.
6966
10fb0bfa
AS
69672011-11-04 Andreas Schwab <schwab@redhat.com>
6968
998832a4
AS
6969 [BZ #10103]
6970 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
6971 declarations for long double functions.
6972 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
6973
10fb0bfa
AS
6974 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
6975
3d7ba52b
AS
69762011-11-03 Andreas Schwab <schwab@redhat.com>
6977
a9ae54a1
AS
6978 * nscd/nscd.c (main): Don't start AVC thread until credentials are
6979 installed.
6980
3d7ba52b
AS
6981 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
6982 is disabled.
6983
bc8db248
ST
69842011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
6985
6986 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
6987
45b96dd6
AS
69882011-11-01 Andreas Schwab <schwab@linux-m68k.org>
6989
647776f6
AS
6990 * include/alloca.h (stackinfo_alloca_round): Define.
6991 (extend_alloca): Use it.
6992 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
6993 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
6994 here.
6995
d91a8b93
AS
6996 * scripts/check-local-headers.sh: Ignore libaudit.h.
6997
45b96dd6
AS
6998 * nscd/Makefile (extra-objs): Make recursively expanded.
6999
432d41ce
UD
70002011-11-01 Ulrich Drepper <drepper@gmail.com>
7001
34372fc6
UD
7002 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7003 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7004
fadb59f8
UD
7005 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7006 * posix/tst-rfc3484-2.c: Likewise.
7007 * posix/tst-rfc3484-3.c: Likewise.
7008
78239589
UD
7009 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7010 process_vm_writev.
7011 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7012 process_vm_writev.
7013 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7014 process_vm_writev from libc using GLIBC_2.15 version.
7015
432d41ce
UD
7016 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7017
02f9c6cf
PP
70182011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7019
7020 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7021 stack usage.
7022
3a2c0242
UD
70232011-10-31 Ulrich Drepper <drepper@gmail.com>
7024
f4ec4833
UD
7025 [BZ #13367]
7026 * nss/getent.c (initgroups_keys): Show error message in case no group
7027 names are given.
7028
3a2c0242
UD
7029 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7030 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7031 __bump_nl_timestamp.
7032 * nscd/connections (nscd_init): When host database is served open
7033 netlink socket and request notification about configuration changes.
7034 (main_loop_poll): Track netlink file descriptor and bump timestamp
7035 in case data becomes available.
7036 (main_loop_epoll): Likewise.
7037 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7038 (database_pers_head): Add extra_data fileds.
7039 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7040 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7041 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7042 Adjust caller.
7043 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7044 in6ai data, call __free_in6ai.
7045 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7046 Add -DHAVE_NETLINK.
7047 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
7048 interface information. Reuse previous data if netlink timestamp
7049 is not changed.
7050 (__bump_nl_timestamp): New function.
7051 (__free_in6ai): New function.
7052
636064eb
UD
70532011-10-30 Ulrich Drepper <drepper@gmail.com>
7054
7055 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7056 close_not_cancel_no_status here.
7057 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7058
9beb2334
UD
70592011-10-29 Ulrich Drepper <drepper@gmail.com>
7060
6ef76f3b
UD
7061 [BZ #13276]
7062 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7063 return value.
7064
0ffc4f3e 7065 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
7066 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7067 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7068
cb95113e
UD
70692011-07-03 Andreas Jaeger <aj@suse.de>
7070
7071 [BZ #10709]
7072 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7073 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7074 * math/libm-test.inc (sin_test): Add test case.
7075
a1b560ff
UD
70762011-10-29 Ulrich Drepper <drepper@gmail.com>
7077
c9aaface
UD
7078 [BZ #13337]
7079 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7080 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7081
d272e7f1
UD
7082 * elf/chroot_canon.c (chroot_canon): Cleanups.
7083
1bc33071
UD
7084 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7085
1760874d
TJ
7086 [BZ #13335]
7087 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7088 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7089
51d91b18
UD
7090 * string/test-strchr.c: Make usable for strchrnul testing.
7091 * string/test-strchrnul.c: New file.
7092 * string/Makefile (strop-tests): Add strchrnul.
7093
a1b560ff 7094 * po/it.po: Update from translation team.
b611fb81 7095 * po/es.po: Likewise.
a1b560ff 7096
a5b81e1f
UD
70972011-10-28 Ulrich Drepper <drepper@gmail.com>
7098
fd52bc6d
UD
7099 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7100 the three constants needed as parameters. Drop the others.
7101 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7102 __m128i_strloadu_tolower.
52e4b9eb
UD
7103 Create and initialize variable zero and use it in all the places
7104 where _mm_setzero_si128 was used.
fd52bc6d 7105
a5b81e1f
UD
7106 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7107 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7108 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7109 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7110 anymore.
7111 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7112 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7113 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7114 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7115 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7116 __mpranred, __mptan.
7117 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7118 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7119 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7120 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7121 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7122 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7123 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7124 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7125 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7126
b4343346
AS
71272011-10-28 Andreas Schwab <schwab@redhat.com>
7128
0c92d8a8
AS
7129 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7130 redefine if SHARED.
7131 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7132
b4343346
AS
7133 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7134 wide char related routines to wcsmbs subdir.
7135
3871f58f
AS
71362011-10-27 Andreas Schwab <schwab@redhat.com>
7137
7138 [BZ #13344]
7139 * misc/sys/cdefs.h (__THROWNL): Define.
7140 * posix/unistd.h: Use __THREADNL instead of __THREAD
7141 for memory synchronization functions.
7142
94d44d9f
RM
71432011-10-26 Roland McGrath <roland@hack.frob.com>
7144
21b64b15 7145 [BZ #13349]
94d44d9f
RM
7146 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7147 doesn't exist.
7148 * manual/stdio.texi (Obstack Streams): Node removed.
7149
f6ce9294
AS
71502011-10-26 Andreas Schwab <schwab@redhat.com>
7151
80479147
AS
7152 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7153 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7154 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7155
f6ce9294
AS
7156 * math/math_private.h (math_force_eval): Allow non-addressable
7157 arguments.
7158 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7159
618280a1
UD
71602011-10-25 Ulrich Drepper <drepper@gmail.com>
7161
e0016b11
UD
7162 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7163 file is not needed.
7164
7165 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7166 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7167 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7168 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7169 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7170 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7171 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7172 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7173 Add AVX variants.
7174 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7175 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7176 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7177 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7178 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7179 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7180 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7181 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7182 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7183 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7184 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7185 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7186 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7187 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7188 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7189 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7190 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7191 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7192 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7193
7194 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7195 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
7196
618280a1
UD
7197 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7198 place. Use VEX encoding when compiling for AVX.
7199
37822576
AS
72002011-10-25 Andreas Schwab <schwab@redhat.com>
7201
1f1e1947
AS
7202 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7203 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7204
37822576
AS
7205 * string/test-strchr.c (do_test): Don't generate NUL bytes.
7206
31ea014d
UD
72072011-10-25 Ulrich Drepper <drepper@gmail.com>
7208
d7826aa1 7209 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 7210 useless if() expression.
d7826aa1
UD
7211 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7212 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7213 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7214 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7215 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7216 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7217 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7218 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7219 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7220 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7221 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7222 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7223 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7224 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7225 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7226 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7227 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7228 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7229 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7230
31ea014d
UD
7231 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7232
16437fec
AS
72332011-10-25 Andreas Schwab <schwab@redhat.com>
7234
7235 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7236 condition.
7237 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7238
31d3cc00
UD
72392011-10-25 Ulrich Drepper <drepper@gmail.com>
7240
7241 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7242 .text section. Avoid duplicate constants.
7243 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7244 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7245 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7246 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7247 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7248 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7249 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7250 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7251 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7252 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7253 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7254 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7255 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7256 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7257 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7258 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7259 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7260 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7261 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7262 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7263 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7264 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7265 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7266 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7267 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7268 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7269 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7270 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7271 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7272 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7273 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7274 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7275 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7276 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7277 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7278 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7279 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7280 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7281 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7282 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7283 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7284 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7285 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7286 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7287 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7288
58985aa9
UD
72892011-10-24 Ulrich Drepper <drepper@gmail.com>
7290
202c9deb
UD
7291 * sysdeps/x86_64/dla.h: Move to ...
7292 * sysdeps/x86_64/fpu/dla.h: ...here.
7293 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7294 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 7295
af968f62
UD
7296 * config.make.in: Add have-mfma4 entry.
7297 * configure.in: Substitute libc_cv_cc_fma4.
7298 * math/Makefile (dbl-only-routines): Add sincostab.
7299 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7300 Use __sincostab not sincos.
7301 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7302 name is a macro.
7303 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7304 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7305 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7306 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
7307 using __copysign.
7308 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
7309 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
7310 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7311 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
7312 and __inv.
7313 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
7314 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
7315 __copysign.
7316 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
7317 define aliases when function name is a macro.
7318 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
7319 sysdeps/ieee754/dbl-64/sincos.tbl.
7320 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
7321 fma4-enabled routines.
7322 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
7323 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
7324 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
7325 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
7326 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
7327 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
7328 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
7329 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
7330 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
7331 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
7332 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
7333 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
7334 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
7335 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
7336 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
7337 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
7338 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
7339 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
7340 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
7341 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
7342 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
7343 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
7344 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
7345 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
7346 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
7347 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
7348 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
7349 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
7350 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
7351 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
7352
58985aa9
UD
7353 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
7354 rename.
7355 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7356 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7357 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7358 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7359 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7360 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7361 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7362 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7363
a201fbcf
AS
73642011-10-24 Andreas Schwab <schwab@redhat.com>
7365
7366 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
7367
fc2ee42a
LD
73682011-10-23 Ulrich Drepper <drepper@gmail.com>
7369
bb3129bd
UD
7370 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
7371
0275fff8
UD
7372 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
7373 prediction.
7374 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
7375
2fa2ae85
UD
7376 * string/strnlen.c: Don't define STRNLEN, reverse logic.
7377 Remove unused variable magic_bits.
7378 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
7379
fc2ee42a
LD
7380 * string/strnlen.c: Define and use STRNLEN macro.
7381 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
7382 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
7383 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
7384 * wcsmbs/wcslen.c: Define and use WCSLEN.
7385 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
7386 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
7387 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
7388 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
7389 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
7390 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
7391 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7392
ce7dd29f
LD
73932011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7394
7395 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7396 strnlen-sse2-no-bsf.
7397 Rename strlen-no-bsf to strlen-sse2-no-bsf.
7398 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
7399 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
7400 Add strnlen support.
7401 (USE_AS_STRNLEN): New macro.
7402 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
7403 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
7404 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
7405 * sysdeps/x86_64/wcslen.S: New file.
7406
979c70a3
MZ
74072011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
7408
7409 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7410 XMM-moves are used for copying on small sizes.
7411
2d09f82f
LD
74122011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7413
7414 * wcsmbs/Makefile (strop-tests): Add wcschr.
7415 * wcsmbs/test-wcschr.c: New file.
7416 * string/test-strchr.c: Update.
7417 Add wcschr support.
7418 (WIDE): New macro.
7419
619fccca
LD
74202011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7421
2d09f82f 7422 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
7423 * wcsmbs/test-wcslen.c: New file.
7424 * string/test-strlen.c: Update.
7425 Add wcslen support.
7426 (WIDE): New macro.
7427
09f699ea
UD
74282011-10-23 Ulrich Drepper <drepper@gmail.com>
7429
7430 * po/it.po: Update from translation team.
7431
95584d3b
LD
74322011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7433
7434 * sysdeps/x86_64/wcscmp.S: Update.
7435 Fix wrong comparison semantics.
7436 wcscmp shall use signed comparison not unsigned.
7437 Don't use substraction to avoid overflow bug.
7438 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7439 * wcsmbc/wcscmp.c: Likewise.
7440 * string/test-strcmp.c: Likewise.
7441 Add new tests to check cases with negative values.
7442
c8b3296b
UD
74432011-10-23 Ulrich Drepper <drepper@gmail.com>
7444
7445 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
7446 * sysdeps/x86_64/dla.h: ...here. New file.
7447 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
7448 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7449 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7450 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7451 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7452 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7453 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7454 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7455 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7456
246ad57a
AS
74572011-10-23 Andreas Schwab <schwab@linux-m68k.org>
7458
7459 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
7460 __ynl_finite aliases.
7461
a1a87169
UD
74622011-10-22 Ulrich Drepper <drepper@gmail.com>
7463
0d355eb7
UD
7464 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7465
a1a87169
UD
7466 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
7467 define DLA_FMA.
7468 [DLA_FMA] (EMULV): Use DLA_FMA.
7469 [DLA_FMA] (MUL12): Use EMULV.
7470 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
7471 that are not needed.
7472 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7473 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7474 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7475 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7476 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7477 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7478 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7479
ee2aafe0
AS
74802011-10-22 Andreas Schwab <schwab@linux-m68k.org>
7481
7482 * math/s_nan.c: Undef __nan.
7483 * math/s_nanf.c: Undef __nanf.
7484 * math/s_nanl.c: Undef __nanl.
7485 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
7486 "math_private.h".
7487
bc62c2fb
UD
74882011-10-22 Ulrich Drepper <drepper@gmail.com>
7489
77425c63
UD
7490 * math/s_catan.c: Add branch predictions.
7491 * math/s_catanf.c: Likewise.
7492 * math/s_catanh.c: Likewise.
7493 * math/s_catanhf.c: Likewise.
7494 * math/s_catanhl.c: Likewise.
7495 * math/s_catanl.c: Likewise.
7496 * math/s_cexp.c: Likewise.
7497 * math/s_cexpf.c: Likewise.
7498 * math/s_cexpl.c: Likewise.
7499 * math/s_clog.c: Likewise.
7500 * math/s_clog10.c: Likewise.
7501 * math/s_clog10f.c: Likewise.
7502 * math/s_clog10l.c: Likewise.
7503 * math/s_clogf.c: Likewise.
7504 * math/s_clogl.c: Likewise.
7505 * math/s_csqrt.c: Likewise.
7506 * math/s_csqrtf.c: Likewise.
7507 * math/s_csqrtl.c: Likewise.
7508 * math/s_ctanf.c: Likewise.
7509 * math/s_ctanh.c: Likewise.
7510 * math/s_ctanhf.c: Likewise.
7511 * math/s_ctanhl.c: Likewise.
7512 * math/s_ctanl.c: Likewise.
7513
bc62c2fb
UD
7514 * math/math_private.h: Define __nan, __nanf, __nanl.
7515 * math/s_cacosh.c: Include <math_private.h>.
7516 * math/s_cacoshl.c: Likewise.
7517 * math/s_casinh.c: Likewise.
7518 * math/s_casinhf.c: Likewise.
7519 * math/s_casinhl.c: Likewise.
7520 * math/s_ccos.c: Rely entire on ccosh.
7521 * math/s_ccosf.c: Rely entire on ccoshf.
7522 * math/s_ccosl.c: Rely entirely on ccoshl.
7523 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
7524 Remove tests for FE_INVALID.
7525 * math/s_ccoshf.c: Likewise.
7526 * math/s_ccoshl.c: Likewise.
7527 * math/s_csin.c: Likewise.
7528 * math/s_csinf.c: Likewise.
7529 * math/s_csinh.c Likewise.
7530 * math/s_csinhf.c: Likewise.
7531 * math/s_csinhl.c: Likewise.
7532 * math/s_csinl.c: Likewise.
7533 * math/s_ctan.c: Likewise.
7534 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
7535 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
7536 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
7537
8ec250a4
UD
75382011-10-21 Ulrich Drepper <drepper@gmail.com>
7539
c196fed8
UD
7540 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
7541 compilation problems.
7542
8ec250a4
UD
7543 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
7544 __builtin_expect.
7545
8d4f46c6
UD
75462011-10-20 Ulrich Drepper <drepper@gmail.com>
7547
ed72b654
UD
7548 * sysdeps/i386/configure.in: Test for -mfma4 option.
7549 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
7550 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
7551 COMMON_CPUID_INDEX_80000001.
7552 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
7553 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
7554 use it if FMA3 is not supported.
7555 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7556
8d4f46c6
UD
7557 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
7558 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7559
d45c60c2
AS
75602011-10-20 Andreas Schwab <schwab@redhat.com>
7561
7562 [BZ #12892]
7563 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
7564 it would create a cycle with a link time dependency.
7565
d9a4d2ab
UD
75662011-10-19 Ulrich Drepper <drepper@gmail.com>
7567
855d1560
UD
7568 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
7569 instruction.
7570 * string/Makefile (strop-tests): Add rawmemchr.
7571 * string/test-rawmemchr.c: New file.
7572
d9a4d2ab
UD
7573 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
7574 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
7575 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
7576 when compiling str{,n}casecmp and when AVX is available. Hook up
7577 new optimized code in initializers.
7578
8f3b1ffe
AS
75792011-10-19 Andreas Schwab <schwab@redhat.com>
7580
7581 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
7582 __feraiseexcept instead of feraiseexcept.
7583
d38f1dba
UD
75842011-10-18 Ulrich Drepper <drepper@gmail.com>
7585
d9a8d0ab
UD
7586 * math/math_private.h: Define defaults for libc_fetestexcept and
7587 libc_feupdateenv.
7588 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
7589 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7590 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7591 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7592 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7593 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7594 libc_fetestexcept and libc_feupdateenv.
7595
4855e3dd
UD
7596 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
7597 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
7598 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
7599 * sysdeps/x86_64/fpu/math_private.h: Define special version of
7600 libc_feholdexcept_setround.
7601
581d30e3
UD
7602 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
7603 Add s_nearbyint-c and s_nearbyintf-c.
7604 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
7605 nearbyintf inlines.
7606 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
7607 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
7608 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
7609 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
7610
d38f1dba
UD
7611 * math/math_private.h: Define defaults for libc_fegetround,
7612 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
7613 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
7614 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
7615 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
7616 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
7617 standard functions.
7618 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7619 Remove comments and hacks for old compiler versions.
7620 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7621 libc_fegetround, libc_fesetround, libc_feholdexcept, and
7622 libc_feholdexceptl.
7623
caa6c9d8
AS
76242011-10-18 Andreas Schwab <schwab@redhat.com>
7625
7626 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
7627 (__feraiseexcept_renamed): Add __NTH.
7628 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
7629 namespace violations.
7630
97c066e6
UD
76312011-10-17 Ulrich Drepper <drepper@gmail.com>
7632
99ce7b04
UD
7633 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
7634
1004d182
UD
7635 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
7636
228a984d
UD
7637 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
7638 recently added interfaces.
7639 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
7640
c8553a6a
UD
7641 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
7642 about macro parameter expansion.
7643
ed22dcf6
UD
7644 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
7645 __NO_MATH_INLINES is defined. Cleanups.
7646
7647 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
7648 and __floorf is target has SSE4.1.
7649 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
7650 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
7651 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
7652 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
7653
b171c137
UD
7654 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
7655 name.
7656 (floorf): Likewise.
7657
97c066e6
UD
7658 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
7659
629f62ef
AS
76602011-10-17 Andreas Schwab <schwab@redhat.com>
7661
49a43d80
AS
7662 * misc/sys/cdefs.h: Fix last change.
7663
629f62ef
AS
7664 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
7665 database lookup.
7666
e453f6cd
UD
76672011-10-16 Ulrich Drepper <drepper@gmail.com>
7668
aa78043a
UD
7669 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
7670
ad0f5cad
UD
7671 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
7672 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7673 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7674 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7675 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7676 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7677 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7678 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7679 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7680 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
7681 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
7682 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
7683 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
7684 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
7685 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
7686 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
7687 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
7688 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
7689 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
7690 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
7691 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
7692 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
7693
7694 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
7695 ceil, ceilf, floor, floorf.
7696
7697 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
7698 Perform IRELATIVE relocations last.
7699
e453f6cd
UD
7700 * elf/do-rel.h: Add another parameter nrelative, replacing the
7701 local variable with the same name. Change name of the function
7702 to end in Rel or Rela (uppercase).
7703 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
7704 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
7705 elf_dynamic_do_##reloc function.
7706
fd5bdc09
UD
77072011-10-15 Ulrich Drepper <drepper@gmail.com>
7708
79b195b5
UD
7709 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
7710 is sufficient, at least on modern CPUs.
7711
d4a28569
UD
7712 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
7713
b61099b5
UD
7714 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
7715 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
7716
bcf01e6d
UD
7717 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
7718 __expl_finite.
7719 * math/bits/math-finite.h: Add entries for exp.
7720 * math/e_expl.c: Add __*_finite alias.
7721 * sysdeps/i386/fpu/e_exp.S: Likewise.
7722 * sysdeps/i386/fpu/e_expf.S: Likewise.
7723 * sysdeps/i386/fpu/e_expl.c: Likewise.
7724 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7725 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7726 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7727 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7728 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
7729 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7730 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7731
ba1a0d59
UD
7732 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
7733 is sufficient, at least on modern CPUs.
7734
fd5bdc09
UD
7735 * ctype/ctype-info.c (__ctype_init): Define.
7736 * include/ctype.h (__ctype_init): Declare.
7737 (__ctype_b_loc): The variable is always initialized.
7738 (__ctype_toupper_loc): Likewise.
7739 (__ctype_tolower_loc): Likewise.
7740 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
7741 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
7742
7872cfb0
AS
77432011-10-15 Andreas Schwab <schwab@linux-m68k.org>
7744
b468825a
AS
7745 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
7746
7872cfb0
AS
7747 * configure.in: Also look in $cxxmachine/include for C++ system
7748 headers.
7749
be13f7bf
LD
77502011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7751
7752 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
7753 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
7754 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
7755 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
7756 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
7757 (USE_AS_WMEMCMP): New macro.
7758 Fixing indents.
7759 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
7760 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
7761 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
7762 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
7763 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7764 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
7765 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
7766 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
7767 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
7768 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
7769 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
7770 (USE_AS_WMEMCMP): New macro.
7771 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
7772 * sysdeps/string/test-memcmp.c: Update.
7773 Fix simple_wmemcmp.
7774 Add new tests.
7775 * wcsmbs/wmemcmp.c: Update.
7776 (WMEMCMP): New macro.
7777 Fix overflow bug.
7778
556a2007
AJ
77792011-10-12 Andreas Jaeger <aj@suse.de>
7780
7781 [BZ #13268]
7782 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
7783
538faaa7
UD
77842011-10-15 Ulrich Drepper <drepper@gmail.com>
7785
ab6737ff
UD
7786 * libio/iofwide.c (do_length): Avoid warning.
7787
538faaa7
UD
7788 * ctype/ctype.h (__isctype_f): Add missing __THROW.
7789
396a21b1
UD
77902011-10-14 Ulrich Drepper <drepper@gmail.com>
7791
cdf2901f
UD
7792 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
7793
38ad40ce
UD
7794 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
7795 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
7796 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
7797 * sysdeps/i386/i686/fpu/e_log.S: New file.
7798 * sysdeps/i386/i686/fpu/e_logf.S: New file.
7799 * sysdeps/i386/i686/fpu/e_logl.S: New file.
7800
396a21b1
UD
7801 * ctype/ctype.h: Add support for inlined isXXX functions when
7802 compiling C++ code.
7803
6b1f68c9
AS
78042011-10-14 Andreas Schwab <schwab@redhat.com>
7805
349290c0
AS
7806 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7807
6b1f68c9
AS
7808 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
7809
f2282d42
RM
78102011-10-13 Roland McGrath <roland@hack.frob.com>
7811
7812 [BZ #13291]
7813 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
7814
5298ffa8
AS
78152011-10-13 Andreas Schwab <schwab@redhat.com>
7816
714fad23
AS
7817 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
7818 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
7819 feraiseexcept.
7820
81dcc7fb
AS
7821 * sysdeps/x86_64/memrchr.S: Check for zero size.
7822
5298ffa8
AS
7823 * string/stratcliff.c: Add memrchr tests.
7824
951fbcec
LD
78252011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7826
7827 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7828 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
7829 rawmemchr-sse2 rawmemchr-sse2-bsf.
7830 * sysdeps/i386/i686/multiarch/memchr.S: New file.
7831 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
7832 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
7833 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
7834 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
7835 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
7836 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
7837 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
7838 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
7839 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
7840 * string/memrchr.c (MEMRCHR): New macro.
7841
0ac5ae23
UD
78422011-10-12 Ulrich Drepper <drepper@gmail.com>
7843
7844 Add integration with gcc's -ffinite-math-only and optimize wrapper
7845 functions in libm.
7846 * Versions.def: Define GLIBC_2.15 version for libm.
7847 * math/Makefile (headers): Add bits/math-finite.h.
7848 * math/bits/math-finite.h: New file.
7849 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
7850 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
7851 * math/e_acoshl.c: Add __*_finite alias.
7852 * math/e_acosl.c: Likewise.
7853 * math/e_asinl.c: Likewise.
7854 * math/e_atan2l.c: Likewise.
7855 * math/e_atanhl.c: Likewise.
7856 * math/e_coshl.c: Likewise.
7857 * math/e_exp10.c: Likewise.
7858 * math/e_exp10f.c: Likewise.
7859 * math/e_exp10l.c: Likewise.
7860 * math/e_exp2l.c: Likewise.
7861 * math/e_fmodl.c: Likewise.
7862 * math/e_gammal_r.c: Likewise.
7863 * math/e_hypotl.c: Likewise.
7864 * math/e_j0l.c: Likewise.
7865 * math/e_j1l.c: Likewise.
7866 * math/e_jnl.c: Likewise.
7867 * math/e_lgammal_r.c: Likewise.
7868 * math/e_log10l.c: Likewise.
7869 * math/e_log2l.c: Likewise.
7870 * math/e_logl.c: Likewise.
7871 * math/e_powl.c: Likewise.
7872 * math/e_sinhl.c: Likewise.
7873 * math/e_sqrtl.c: Likewise.
7874 * math/e_scalb.c: Completely rewritten and optimized.
7875 * math/e_scalbf.c: Likewise.
7876 * math/e_scalbl.c: Likewise.
7877 * math/w_acos.c: Likewise.
7878 * math/w_acosf.c: Likewise.
7879 * math/w_acosl.c: Likewise.
7880 * math/w_acosh.c: Likewise.
7881 * math/w_acoshf.c: Likewise.
7882 * math/w_acoshl.c: Likewise.
7883 * math/w_asin.c: Likewise.
7884 * math/w_asinf.c: Likewise.
7885 * math/w_asinl.c: Likewise.
7886 * math/w_atan2.c: Likewise.
7887 * math/w_atan2f.c: Likewise.
7888 * math/w_atan2l.c: Likewise.
7889 * math/w_atanh.c: Likewise.
7890 * math/w_atanhf.c: Likewise.
7891 * math/w_atanhl.c: Likewise.
7892 * math/w_exp10.c: Likewise.
7893 * math/w_exp10f.c: Likewise.
7894 * math/w_exp10l.c: Likewise.
7895 * math/w_fmod.c: Likewise.
7896 * math/w_fmodf.c: Likewise.
7897 * math/w_fmodl.c: Likewise.
7898 * math/w_j0.c: Likewise.
7899 * math/w_j0f.c: Likewise.
7900 * math/w_j0l.c: Likewise.
7901 * math/w_j1.c: Likewise.
7902 * math/w_j1f.c: Likewise.
7903 * math/w_j1l.c: Likewise.
7904 * math/w_jn.c: Likewise.
7905 * math/w_jnf.c: Likewise.
7906 * math/w_log.c: Likewise.
7907 * math/w_logf.c: Likewise.
7908 * math/w_logl.c: Likewise.
7909 * math/w_log10.c: Likewise.
7910 * math/w_log10f.c: Likewise.
7911 * math/w_log10l.c: Likewise.
7912 * math/w_log2.c: Likewise.
7913 * math/w_log2f.c: Likewise.
7914 * math/w_log2l.c: Likewise.
7915 * math/w_pow.c: Likewise.
7916 * math/w_powf.c: Likewise.
7917 * math/w_powl.c: Likewise.
7918 * math/w_remainder.c: Likewise.
7919 * math/w_remainderf.c: Likewise.
7920 * math/w_remainderl.c: Likewise.
7921 * math/w_scalb.c: Likewise.
7922 * math/w_scalbf.c: Likewise.
7923 * math/w_scalbl.c: Likewise.
7924 * math/w_sqrt.c: Likewise.
7925 * math/w_sqrtf.c: Likewise.
7926 * math/w_sqrtl.c: Likewise.
7927 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
7928 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
7929 used.
7930 * math/math_private.h: Declare __kernel_standard_f.
7931 * math/w_cosh.c: Remove cruft and optimize a bit.
7932 * math/w_coshf.c: Likewise.
7933 * math/w_coshl.c: Likewise.
7934 * math/w_exp2.c: Likewise.
7935 * math/w_exp2f.c: Likewise.
7936 * math/w_exp2l.c: Likewise.
7937 * math/w_hypot.c: Likewise.
7938 * math/w_hypotf.c: Likewise.
7939 * math/w_hypotl.c: Likewise.
7940 * math/w_lgamma.c: Likewise.
7941 * math/w_lgamma_r.c: Likewise.
7942 * math/w_lgammaf.c: Likewise.
7943 * math/w_lgammaf_r.c: Likewise.
7944 * math/w_lgammal.c: Likewise.
7945 * math/w_lgammal_r.c: Likewise.
7946 * math/w_sinh.c: Likewise.
7947 * math/w_sinhf.c: Likewise.
7948 * math/w_sinhl.c: Likewise.
7949 * math/w_tgamma.c: Likewise.
7950 * math/w_tgammaf.c: Likewise.
7951 * math/w_tgammal.c: Likewise.
7952 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7953 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7954 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
7955 Minor optimizations. Pretty printing. Remove cruft.
7956 * sysdeps/i386/fpu/e_acosf.S: Likewise.
7957 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7958 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7959 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7960 * sysdeps/i386/fpu/e_acosl.c: Likewise.
7961 * sysdeps/i386/fpu/e_asin.S: Likewise.
7962 * sysdeps/i386/fpu/e_asinf.S: Likewise.
7963 * sysdeps/i386/fpu/e_atan2.S: Likewise.
7964 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
7965 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
7966 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7967 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7968 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7969 * sysdeps/i386/fpu/e_exp10.S: Likewise.
7970 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
7971 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
7972 * sysdeps/i386/fpu/e_exp2.S: Likewise.
7973 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
7974 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
7975 * sysdeps/i386/fpu/e_fmod.S: Likewise.
7976 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
7977 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
7978 * sysdeps/i386/fpu/e_hypot.S: Likewise.
7979 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
7980 * sysdeps/i386/fpu/e_log.S: Likewise.
7981 * sysdeps/i386/fpu/e_log10.S: Likewise.
7982 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7983 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7984 * sysdeps/i386/fpu/e_log2.S: Likewise.
7985 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7986 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7987 * sysdeps/i386/fpu/e_logf.S: Likewise.
7988 * sysdeps/i386/fpu/e_logl.S: Likewise.
7989 * sysdeps/i386/fpu/e_pow.S: Likewise.
7990 * sysdeps/i386/fpu/e_powf.S: Likewise.
7991 * sysdeps/i386/fpu/e_powl.S: Likewise.
7992 * sysdeps/i386/fpu/e_remainder.S: Likewise.
7993 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
7994 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
7995 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7996 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7997 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7998 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
7999 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8000 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8001 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8002 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8003 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8004 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8005 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8006 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8007 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8008 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8009 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8010 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8011 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8012 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8013 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8014 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8015 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8016 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8017 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8018 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8019 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8020 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8021 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8022 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8023 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8024 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8025 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8026 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8027 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8028 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8029 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8030 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8031 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8032 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8033 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8034 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8035 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8036 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8037 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8038 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8039 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8040 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8041 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8042 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8043 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8044 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8045 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8046 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8047 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8048 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8049 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8050 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8051 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8052 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8053 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8054 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8055 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8056 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8057 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8058 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8059 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8060 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8061 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8062 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8063 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8064 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8065 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8066 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8067 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8068 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8069 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8070 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8071 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8072 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8073 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8074 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8075 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8076 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8077 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8078 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8079 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8080 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8081 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8082 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8083 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8084 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8085 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8086 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8087 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8088 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8089 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8090 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8091 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8092 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8093 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8094 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8095 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8096 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8097 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8098 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8099 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8100 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8101 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8102 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8103 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8104 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8105 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8106 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8107 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8108 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8109 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8110 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8111 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8112 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8113 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8114 (__isnanf): Likewise.
8115 (__isinf_ns): Likewise.
8116 (__isinf_nsf): Likewise.
8117 (__finite): Likewise.
8118 (__finitef): Likewise.
8119 (__ieee754_sqrt): Define as macro.
8120 (__ieee754_sqrtf): Define as macro.
8121 (__ieee754_sqrtl): Define as macro.
8122 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8123 inlined copy.
8124 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8125 __FINITE_MATH_ONLY__ consistent.
8126 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8127
12cc2fcd
AS
81282011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8129
a843a204
AS
8130 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8131 of rawmemchr.
8132
12cc2fcd
AS
8133 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8134
c853acd5
UD
81352011-10-09 Ulrich Drepper <drepper@gmail.com>
8136
8137 * po/ja.po: Update from translation team.
8138
c658d255
RM
81392011-10-08 Roland McGrath <roland@hack.frob.com>
8140
110946e4
RM
8141 * locale/programs/locarchive.c (prepare_address_space): New function.
8142 (create_archive, enlarge_archive, open_archive): Use it.
8143
50604220
RM
8144 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8145 inside [SHARED], where it is used.
8146
c658d255
RM
8147 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8148
8149 * nss/getent.c (netgroup_keys): Remove unused variable.
8150 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8151
6a621eb7
UD
81522011-10-08 Ulrich Drepper <drepper@gmail.com>
8153
7edb55ce
UD
8154 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8155 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8156 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8157 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8158 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8159 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8160 * math/Makefile (libm-calls): Add s_isinf_ns.
8161 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8162 * math/multc3.c: Likewise.
8163 * math/s_casin.c: Likewise.
8164 * math/s_casinf.c: Likewise.
8165 * math/s_casinl.c: Likewise.
8166 * math/s_ccos.c: Likewise.
8167 * math/s_ccosf.c: Likewise.
8168 * math/s_ccosl.c: Likewise.
8169 * math/s_ctan.c: Likewise.
8170 * math/s_ctanf.c: Likewise.
8171 * math/s_ctanh.c: Likewise.
8172 * math/s_ctanhf.c: Likewise.
8173 * math/s_ctanhl.c: Likewise.
8174 * math/s_ctanl.c: Likewise.
8175 * math/w_fmod.c: Likewise.
8176 * math/w_fmodf.c: Likewise.
8177 * math/w_fmodl.c: Likewise.
8178 * math/w_remainder.c: Likewise.
8179 * math/w_remainderf.c: Likewise.
8180 * math/w_remainderl.c: Likewise.
8181 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8182 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8183 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8184 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8185 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8186 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8187 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8188 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8189
187da0ae
UD
8190 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8191 of the number.
8192 * stdio-common/printf_fphex.c: Likewise.
8193 * stdio-common/printf_size.c: Likewise.
8194
9277c064
UD
8195 * math/e_exp10.c: Include math_private.h using <...> not "...".
8196 * math/e_exp10f.c: Likewise.
8197 * math/e_exp10l.c: Likewise.
8198 * math/e_exp2l.c: Likewise.
8199 * math/e_j0l.c: Likewise.
8200 * math/e_j1l.c: Likewise.
8201 * math/e_jnl.c: Likewise.
8202 * math/e_lgammal_r.c: Likewise.
8203 * math/e_rem_pio2l.c: Likewise.
8204 * math/e_scalb.c: Likewise.
8205 * math/e_scalbf.c: Likewise.
8206 * math/e_scalbl.c: Likewise.
8207 * math/k_cosl.c: Likewise.
8208 * math/k_sinl.c: Likewise.
8209 * math/k_tanl.c: Likewise.
8210 * math/s_cacoshf.c: Likewise.
8211 * math/s_catan.c: Likewise.
8212 * math/s_catanf.c: Likewise.
8213 * math/s_catanh.c: Likewise.
8214 * math/s_catanhf.c: Likewise.
8215 * math/s_catanhl.c: Likewise.
8216 * math/s_catanl.c: Likewise.
8217 * math/s_ccosh.c: Likewise.
8218 * math/s_ccoshf.c: Likewise.
8219 * math/s_ccoshl.c: Likewise.
8220 * math/s_cexp.c: Likewise.
8221 * math/s_cexpf.c: Likewise.
8222 * math/s_cexpl.c: Likewise.
8223 * math/s_clog.c: Likewise.
8224 * math/s_clog10.c: Likewise.
8225 * math/s_clog10f.c: Likewise.
8226 * math/s_clog10l.c: Likewise.
8227 * math/s_clogf.c: Likewise.
8228 * math/s_clogl.c: Likewise.
8229 * math/s_csin.c: Likewise.
8230 * math/s_csinf.c: Likewise.
8231 * math/s_csinh.c: Likewise.
8232 * math/s_csinhf.c: Likewise.
8233 * math/s_csinhl.c: Likewise.
8234 * math/s_csinl.c: Likewise.
8235 * math/s_csqrt.c: Likewise.
8236 * math/s_csqrtf.c: Likewise.
8237 * math/s_csqrtl.c: Likewise.
8238 * math/s_ctan.c: Likewise.
8239 * math/s_ctanf.c: Likewise.
8240 * math/s_ctanh.c: Likewise.
8241 * math/s_ctanhf.c: Likewise.
8242 * math/s_ctanhl.c: Likewise.
8243 * math/s_ctanl.c: Likewise.
8244 * math/s_ldexp.c: Likewise.
8245 * math/s_ldexpf.c: Likewise.
8246 * math/s_ldexpl.c: Likewise.
8247 * math/s_significand.c: Likewise.
8248 * math/s_significandf.c: Likewise.
8249 * math/s_significandl.c: Likewise.
8250 * math/w_acos.c: Likewise.
8251 * math/w_acosf.c: Likewise.
8252 * math/w_acosh.c: Likewise.
8253 * math/w_acoshf.c: Likewise.
8254 * math/w_acoshl.c: Likewise.
8255 * math/w_acosl.c: Likewise.
8256 * math/w_asin.c: Likewise.
8257 * math/w_asinf.c: Likewise.
8258 * math/w_asinl.c: Likewise.
8259 * math/w_atan2.c: Likewise.
8260 * math/w_atan2f.c: Likewise.
8261 * math/w_atan2l.c: Likewise.
8262 * math/w_atanh.c: Likewise.
8263 * math/w_atanhf.c: Likewise.
8264 * math/w_atanhl.c: Likewise.
8265 * math/w_cosh.c: Likewise.
8266 * math/w_coshf.c: Likewise.
8267 * math/w_coshl.c: Likewise.
8268 * math/w_dremf.c: Likewise.
8269 * math/w_exp10.c: Likewise.
8270 * math/w_exp10f.c: Likewise.
8271 * math/w_exp10l.c: Likewise.
8272 * math/w_exp2.c: Likewise.
8273 * math/w_exp2f.c: Likewise.
8274 * math/w_fmod.c: Likewise.
8275 * math/w_fmodf.c: Likewise.
8276 * math/w_fmodl.c: Likewise.
8277 * math/w_hypot.c: Likewise.
8278 * math/w_hypotf.c: Likewise.
8279 * math/w_hypotl.c: Likewise.
8280 * math/w_j0.c: Likewise.
8281 * math/w_j0f.c: Likewise.
8282 * math/w_j0l.c: Likewise.
8283 * math/w_j1.c: Likewise.
8284 * math/w_j1f.c: Likewise.
8285 * math/w_j1l.c: Likewise.
8286 * math/w_jn.c: Likewise.
8287 * math/w_jnf.c: Likewise.
8288 * math/w_jnl.c: Likewise.
8289 * math/w_lgamma.c: Likewise.
8290 * math/w_lgamma_r.c: Likewise.
8291 * math/w_lgammaf.c: Likewise.
8292 * math/w_lgammaf_r.c: Likewise.
8293 * math/w_lgammal.c: Likewise.
8294 * math/w_lgammal_r.c: Likewise.
8295 * math/w_log.c: Likewise.
8296 * math/w_log10.c: Likewise.
8297 * math/w_log10f.c: Likewise.
8298 * math/w_log10l.c: Likewise.
8299 * math/w_log2.c: Likewise.
8300 * math/w_log2f.c: Likewise.
8301 * math/w_log2l.c: Likewise.
8302 * math/w_logf.c: Likewise.
8303 * math/w_logl.c: Likewise.
8304 * math/w_pow.c: Likewise.
8305 * math/w_powf.c: Likewise.
8306 * math/w_powl.c: Likewise.
8307 * math/w_remainder.c: Likewise.
8308 * math/w_remainderf.c: Likewise.
8309 * math/w_remainderl.c: Likewise.
8310 * math/w_scalb.c: Likewise.
8311 * math/w_scalbf.c: Likewise.
8312 * math/w_scalbl.c: Likewise.
8313 * math/w_sinh.c: Likewise.
8314 * math/w_sinhf.c: Likewise.
8315 * math/w_sinhl.c: Likewise.
8316 * math/w_sqrt.c: Likewise.
8317 * math/w_sqrtf.c: Likewise.
8318 * math/w_sqrtl.c: Likewise.
8319 * math/w_tgamma.c: Likewise.
8320 * math/w_tgammaf.c: Likewise.
8321 * math/w_tgammal.c: Likewise.
8322
6a621eb7
UD
8323 * po/ja.po: Update from translation team.
8324
bf582445
AJ
83252011-09-29 Andreas Jaeger <aj@suse.de>
8326
f9efbf3a
AJ
8327 [BZ #13179]
8328 * sunrpc/netname.c (netname2host): Fix logic.
8329
bf582445
AJ
8330 [BZ #6779]
8331 [BZ #6783]
8332 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
8333 correctly.
8334 * math/w_remainder.c (__remainder): Likewise.
8335 * math/w_remainderf.c (__remainderf): Likewise.
8336 * math/libm-test.inc (remainder_test): Add test cases.
8337
48693bea
AK
83382011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8339
8340 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
8341 sdiv_qrnnd.
8342
42622229
LD
83432011-10-07 Ulrich Drepper <drepper@gmail.com>
8344
8345 * string/test-memcmp.c: Avoid unncessary #defines.
8346 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8347
093ecf92
LD
83482011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8349
8350 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
8351 Use new sse2 version for core i3 - i7 as it's faster
8352 than sse42 version.
8353 (bit_Prefer_PMINUB_for_stringop): New.
8354 * sysdeps/x86_64/rawmemchr.S: Update.
8355 Replace with faster SSE2 version.
8356 * sysdeps/x86_64/memrchr.S: New file.
8357 * sysdeps/x86_64/memchr.S: Update.
8358 Replace with faster SSE2 version.
8359
fde56e5c
MP
83602011-09-12 Marek Polacek <mpolacek@redhat.com>
8361
8362 * elf/dl-load.c (lose): Add cast to avoid warning.
8363
21fd49a9
UD
83642011-10-07 Ulrich Drepper <drepper@gmail.com>
8365
5a06e643
UD
8366 * po/ca.po: Update from translation team.
8367
684ae515
UD
8368 * inet/getnetgrent_r.c: Hook up nscd.
8369 * nscd/Makefile (routines): Add nscd_netgroup.
8370 (nscd-modules): Add netgroupcache.
8371 (CFLAGS-netgroupcache.c): Define.
8372 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
8373 (cache_search): Add const to second parameter.
8374 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
8375 INNETGR.
8376 (dbs): Add netgrdb entry.
8377 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
8378 (verify_persistent_db): Handle netgrdb.
8379 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
8380 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
8381 GETFDNETGR.
8382 (netgroup_response_header): Define.
8383 (innetgroup_response_header): Define.
8384 (datahead): Add netgroup_response_header and innetgroup_response_header
8385 elements.
8386 * nscd/nscd.conf: Add entries for netgroup cache.
8387 * nscd/nscd.h (dbtype): Add netgrdb.
8388 (_PATH_NSCD_NETGROUP_DB): Define.
8389 (netgroup_iov_disabled): Declare.
8390 (xmalloc, xcalloc, xrealloc): Move declarations here.
8391 (cache_search): Adjust prototype.
8392 Add netgroup-related prototypes.
8393 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
8394 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
8395 (__nscd_innetgr): Declare.
8396 * nscd/selinux.c (perms): Use access_vector_t as element type and
8397 add netgroup-related initializers.
8398 * nscd/netgroupcache.c: New file.
8399 * nscd/nscd_netgroup.c: New file.
8400 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
8401 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
8402 For four parameters use innetgr.
8403 * nss/nss_files/files-init.c: Add definition and callback for netgr.
8404 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
8405 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
8406 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
8407
21fd49a9
UD
8408 * nscd/connections.c (register_traced_file): Don't register file
8409 for disabled databases.
8410
054c0457
UD
84112011-10-06 Ulrich Drepper <drepper@gmail.com>
8412
32b63198
UD
8413 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
8414
054c0457
UD
8415 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
8416 from tree and freeing node.
8417
64031225
JO
84182011-09-25 Jiri Olsa <jolsa@redhat.com>
8419
8420 * nss/nsswitch.c (__nss_database_lookup): Handle
8421 nss_parse_service_list out of memory case.
8422
0490345c
JO
84232011-09-15 Jiri Olsa <jolsa@redhat.com>
8424
8425 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
8426 out of memory case.
8427
3a62d00d
AS
84282011-10-04 Andreas Schwab <schwab@redhat.com>
8429
8430 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
8431 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
8432 pass it down.
8433 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
8434 elf_machine_rela, elf_machine_lazy_rel.
8435 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
8436 (ELF_DYNAMIC_DO_REL): Likewise.
8437 (ELF_DYNAMIC_DO_RELA): Likewise.
8438 (ELF_DYNAMIC_RELOCATE): Likewise.
8439 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
8440 to ELF_DYNAMIC_DO_REL.
8441 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
8442 (dl_main): In trace mode always set __RTLD_NOIFUNC.
8443 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
8444 elf_machine_rela.
8445 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
8446 skip_ifunc, don't call ifunc function if non-zero.
8447 (elf_machine_rela): Likewise.
8448 (elf_machine_lazy_rel): Likewise.
8449 (elf_machine_lazy_rela): Likewise.
8450 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
8451 (elf_machine_lazy_rel): Likewise.
8452 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
8453 Likewise.
8454 (elf_machine_lazy_rel): Likewise.
8455 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8456 Likewise.
8457 (elf_machine_lazy_rel): Likewise.
8458 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
8459 (elf_machine_lazy_rel): Likewise.
8460 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
8461 (elf_machine_lazy_rel): Likewise.
8462 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8463 (elf_machine_lazy_rel): Likewise.
8464 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8465 (elf_machine_lazy_rel): Likewise.
8466 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8467 (elf_machine_lazy_rel): Likewise.
8468 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8469 (elf_machine_lazy_rel): Likewise.
8470
68577918
UD
84712011-09-28 Ulrich Drepper <drepper@gmail.com>
8472
8473 * nss/nss_files/files-init.c (_nss_files_init): Use static
8474 initialization for all the *_traced_file variables.
8475
68822d74
AS
84762011-09-28 Andreas Schwab <schwab@redhat.com>
8477
8478 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8479
2056100b
RM
84802011-09-27 Roland McGrath <roland@hack.frob.com>
8481
8482 [BZ #13226]
8483 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
8484
32c76b63
AS
84852011-09-27 Andreas Schwab <schwab@redhat.com>
8486
8487 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8488 Reread the line before reparsing it.
8489
bf972c9d
AS
84902011-09-26 Andreas Schwab <schwab@redhat.com>
8491
8492 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
8493
e057a1b5
JM
84942011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
8495 Maxim Kuvyrkov <maxim@codesourcery.com>
8496 Joseph Myers <joseph@codesourcery.com>
8497
8498 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
8499 if needed for __stack_chk_guard.
8500
bc7e1c36
RM
85012011-09-19 Roland McGrath <roland@hack.frob.com>
8502
ecb1482f
RM
8503 * sysdeps/posix/spawni.c (script_execute): Always define it.
8504 It will be optimized away if unused.
8505 (maybe_script_execute): New function.
8506 (__spawni): Call it.
8507
bc7e1c36
RM
8508 * Makerules: Don't include tls.make.
8509 (config-tls): Always set to thread.
8510 * tls.make.c: File removed.
8511
1c3b002b
MF
85122011-09-19 Mike Frysinger <vapier@gentoo.org>
8513
8514 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
8515 * config.make.in (CPPFLAGS-config): New substituted variable.
8516
2840865d
UD
85172011-09-15 Ulrich Drepper <drepper@gmail.com>
8518
88738eb6
UD
8519 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
8520
cbf645a6 8521 [BZ #13192]
2840865d
UD
8522 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
8523 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
8524
b402e91a
RM
85252011-09-15 Roland McGrath <roland@hack.frob.com>
8526
8527 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
8528 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
8529 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8530 (CALL_FAIL): Likewise.
8531 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
8532 (CALL_FAIL): Macro removed.
8533 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
8534
4c1a1f71
UD
85352011-09-15 Ulrich Drepper <drepper@gmail.com>
8536
8537 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
8538 for __FINITE_MATH_ONLY__ == 1.
8539
edc121be
AS
85402011-09-15 Andreas Schwab <schwab@redhat.com>
8541
8542 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
8543 __ieee754_sqrt instead of sqrt.
8544 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
8545 __ieee754_sqrtf instead of sqrtf.
8546 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
8547 __floorf instead of floorf.
8548 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
8549 __floorf, __truncf instead of floorf, truncf.
8550
cd205654
UD
85512011-09-14 Ulrich Drepper <drepper@gmail.com>
8552
ee4d0315
UD
8553 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
8554
cd205654
UD
8555 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
8556 __extern_always_inline.
8557 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
8558 32-bit.
8559
48b67d71
AS
85602011-09-14 Andreas Schwab <schwab@redhat.com>
8561
8562 * elf/rtld.c (dl_main): Also relocate in dependency order when
8563 doing symbol dependency testing.
8564
1ae12c75
AS
85652011-09-13 Andreas Schwab <schwab@linux-m68k.org>
8566
8567 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8568 Always define `refsym'.
8569
995a80df
AS
85702011-09-13 Andreas Schwab <schwab@redhat.com>
8571
e529793b
AS
8572 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
8573 (__FD_ELT): Renamed from __FDELT.
8574 * misc/bits/select2.h (__FD_ELT): Likewise.
8575 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
8576 __FD_MASK instead of __FDELT, __FDMASK.
8577 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8578 Likewise.
8579 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8580 Likewise.
8581
52d4fef8
AS
8582 * elf/Makefile (gen-ldd): Fix pattern.
8583
995a80df
AS
8584 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
8585 (init_tls): Likewise.
8586
8682f8b0
UD
85872011-09-12 Ulrich Drepper <drepper@gmail.com>
8588
8589 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
8590
de82006d
AS
85912011-09-12 Andreas Schwab <schwab@redhat.com>
8592
a7c8e6a1
AS
8593 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
8594 `struct cmsghdr *' instead of `void *'.
8595 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
8596 Likewise.
8597
0f31fe77
AS
85982011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8599
8600 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
8601 if non-absolute.
8602 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
8603 ldd_rewrite_script.
0f31fe77 8604
32b4c839
UD
86052011-09-11 Ulrich Drepper <drepper@gmail.com>
8606
83cd1420
UD
8607 * configure.in: Remove --with-tls option.
8608 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
8609 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
8610 out in case it is missing.
8611 * sysdeps/ia64/elf/configure.in: Likewise.
8612 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
8613 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
8614 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
8615 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
8616 * sysdeps/sh/elf/configure.in: Likewise.
8617 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
8618 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8619 * sysdeps/x86_64/elf/configure.in: Likewise.
8620 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
8621 * sysdeps/mach/hurd/tls.h: Likewise.
8622
633f745d
UD
8623 [BZ #13067]
8624 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
8625
f318beb8
UD
8626 [BZ #13090]
8627 * configure.in: Fix use of AC_INIT.
8628
32b4c839
UD
8629 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
8630
3ce1f295
UD
86312011-09-10 Ulrich Drepper <drepper@gmail.com>
8632
bb016596
UD
8633 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
8634 __set_errno.
8e58439c
UD
8635 * malloc/hooks.c: Likewise.
8636
aebae053 8637 [BZ #11929]
02d46fc4
UD
8638 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
8639 variables statically.
8640 (narenas): Initialize.
8641 (list_lock): Initialize.
bb016596
UD
8642 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
8643 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
8644 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
8645 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
8646 Add initializers to main_arena and mp_.
8647 (malloc_state): Remove pagesize member. Change all users to use
8648 GLRO(dl_pagesize).
8649
8650 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
8651 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
8652 is always initialized.
8653
22a89187
UD
8654 * malloc/malloc.c: Removed unused configurations and dead code.
8655 * malloc/arena.c: Likewise.
8656 * malloc/hooks.c: Likewise.
02d46fc4 8657 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 8658
d063d164
UD
8659 * include/tls.h: Removed. USE___THREAD must always be defined.
8660 * bits/libc-tsd.h: Don't handle !USE___THREAD.
8661 * elf/dl-libc.c: Likewise.
8662 * elf/dl-tsd.c: Likewise.
8663 * include/errno.h: Likewise.
8664 * include/netdb.h: Likewise.
8665 * include/resolv.h: Likewise.
8666 * inet/herrno-loc.c: Likewise.
8667 * inet/herrno.c: Likewise.
8668 * malloc/arena.c: Likewise.
8669 * malloc/hooks.c: Likewise.
8670 * malloc/malloc.c: Likewise.
8671 * resolv/res-state.c: Likewise.
8672 * resolv/res_libc.c: Likewise.
8673 * sysdeps/i386/dl-machine.h: Likewise.
8674 * sysdeps/ia64/dl-machine.h: Likewise.
8675 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8676 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8677 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8678 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8679 * sysdeps/sh/dl-machine.h: Likewise.
8680 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8681 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8682 * sysdeps/unix/i386/sysdep.S: Likewise.
8683 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8684 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8685 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8686 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8687 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8688 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8689 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8690 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8691 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8692 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8693 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8694 * sysdeps/x86_64/dl-machine.h: Likewise.
8695 * tls.make.c: Likewise.
8696
3ce1f295
UD
8697 * configure.in: Remove --with-__thread option. Make tests for
8698 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
8699 tls_model attribute fail if no support is available. Remove
8700 USE_IN_LIBIO.
8701 * Makeconfig: Adjust for dropped configure option. All features are
8702 now mandatory.
8703 * Makerules: Likewise.
8704 * Versions.def: Likewise.
8705 * argp/argp-fmtstream.c: Likewise.
8706 * argp/argp-fmtstream.h: Likewise.
8707 * argp/argp-help.c: Likewise.
8708 * assert/assert.c: Likewise.
8709 * config.h.in: Likewise.
8710 * config.make.in: Likewise.
8711 * configure: Likewise.
8712 * configure.in: Likewise.
8713 * csu/Versions: Likewise.
8714 * csu/init.c: Likewise.
8715 * elf/tst-audit2.c: Likewise.
8716 * elf/tst-tls10.c: Likewise.
8717 * elf/tst-tls10.h: Likewise.
8718 * elf/tst-tls11.c: Likewise.
8719 * elf/tst-tls12.c: Likewise.
8720 * elf/tst-tls14.c: Likewise.
8721 * elf/tst-tlsmod11.c: Likewise.
8722 * elf/tst-tlsmod12.c: Likewise.
8723 * elf/tst-tlsmod13.c: Likewise.
8724 * elf/tst-tlsmod13a.c: Likewise.
8725 * elf/tst-tlsmod14a.c: Likewise.
8726 * elf/tst-tlsmod15b.c: Likewise.
8727 * elf/tst-tlsmod16a.c: Likewise.
8728 * elf/tst-tlsmod16b.c: Likewise.
8729 * elf/tst-tlsmod7.c: Likewise.
8730 * elf/tst-tlsmod8.c: Likewise.
8731 * elf/tst-tlsmod9.c: Likewise.
8732 * gmon/gmon.c: Likewise.
8733 * grp/fgetgrent_r.c: Likewise.
8734 * grp/putgrent.c: Likewise.
8735 * hurd/fopenport.c: Likewise.
8736 * include/libc-symbols.h: Likewise.
8737 * include/tls.h: Likewise.
8738 * intl/gettextP.h: Likewise.
8739 * intl/loadinfo.h: Likewise.
8740 * locale/global-locale.c: Likewise.
8741 * locale/localeinfo.h: Likewise.
8742 * mach/devstream.c: Likewise.
8743 * malloc/arena.c: Likewise.
8744 * malloc/set-freeres.c: Likewise.
8745 * misc/err.c: Likewise.
8746 * misc/getttyent.c: Likewise.
8747 * misc/mntent_r.c: Likewise.
8748 * posix/getopt.c: Likewise.
8749 * posix/wordexp.c: Likewise.
8750 * pwd/fgetpwent_r.c: Likewise.
8751 * resolv/Versions: Likewise.
8752 * resolv/res_hconf.c: Likewise.
8753 * shadow/fgetspent_r.c: Likewise.
8754 * shadow/putspent.c: Likewise.
8755 * stdio-common/printf_fphex.c: Likewise.
8756 * stdio-common/tmpfile.c: Likewise.
8757 * stdlib/abort.c: Likewise.
8758 * stdlib/fmtmsg.c: Likewise.
8759 * sunrpc/auth_unix.c: Likewise.
8760 * sunrpc/clnt_perr.c: Likewise.
8761 * sunrpc/clnt_tcp.c: Likewise.
8762 * sunrpc/clnt_udp.c: Likewise.
8763 * sunrpc/clnt_unix.c: Likewise.
8764 * sunrpc/openchild.c: Likewise.
8765 * sunrpc/svc_simple.c: Likewise.
8766 * sunrpc/svc_tcp.c: Likewise.
8767 * sunrpc/svc_udp.c: Likewise.
8768 * sunrpc/svc_unix.c: Likewise.
8769 * sunrpc/xdr.c: Likewise.
8770 * sunrpc/xdr_array.c: Likewise.
8771 * sunrpc/xdr_rec.c: Likewise.
8772 * sunrpc/xdr_ref.c: Likewise.
8773 * sunrpc/xdr_stdio.c: Likewise.
8774
1248c1c4
PB
87752011-09-09 Ulrich Drepper <drepper@gmail.com>
8776
8777 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8778
87792011-07-03 Andreas Jaeger <aj@suse.de>
8780
8781 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
8782 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
8783 regenerate with gen-libm-tests.pl.
8784
87852010-05-12 Petr Baudis <pasky@suse.cz>
8786
8787 [BZ #11589]
8788 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
8789 around j0() zero points by switching to j1().
8790 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8791 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8792 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8793 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8794
f22e1074
UD
87952011-09-09 Ulrich Drepper <drepper@gmail.com>
8796
f19009c1
UD
8797 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
8798 instead of 0.
8799 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
8800 instead of 0. .
8801 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8802 Patch in part by Pavel Roskin <proski@gnu.org>.
8803
3f8cc204
UD
8804 [BZ #13138]
8805 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
8806 realloc.
8807 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
8808 Free memory block if necessary.
8809
f22e1074
UD
8810 [BZ #12847]
8811 * libio/genops.c (INTDEF): For string streams the _lock pointer can
8812 be NULL. Don't lock in this case.
8813
0a2349f9
RM
88142011-09-09 Roland McGrath <roland@hack.frob.com>
8815
8816 * elf/elf.h (ELFOSABI_GNU): New macro.
8817 (ELFOSABI_LINUX): Define to that.
8818
f3cdd467
DZ
88192011-07-29 Denis Zaitceff <zaitceff@gmail.com>
8820
8821 * string/strncat.c (strncat): Undef the symbol in case it has been
8822 defined in bits/string.h.
8823
74718d13
UD
88242011-09-09 Ulrich Drepper <drepper@gmail.com>
8825
633e9e0f
UD
8826 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
8827
0a2349f9 8828 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
8829 link map.
8830
f9924780
AJ
88312011-08-17 Andreas Jaeger <aj@suse.de>
8832
8833 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
8834
7f5517aa
PP
88352011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8836 Ian Lance Taylor <iant@google.com>
8837
8838 * math/libm-test.inc (lround_test): New testcase.
8839 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
8840
762011fe
UD
88412011-09-08 Ulrich Drepper <drepper@gmail.com>
8842
92963737
UD
8843 * Makefile: Remove support for automatic cvs check-ins.
8844 * Makerules: Likewise.
8845 * config.make.in: Likewise.
8846 * configure.in: Likewise.
8847 * intl/Makefile: Likewise.
8848 * locale/Makefile: Likewise.
8849 * po/Makefile: Likewise.
8850 * posix/Makefile: Likewise.
8851 * sysdeps/gnu/Makefile: Likewise.
8852 * sysdeps/mach/hurd/Makefile: Likewise.
8853 * sysdeps/sparc/sparc32/Makefile: Likewise.
8854
b0727fd8
JS
8855 [BZ #13118]
8856 * posix/Makefile (bug-regex32-ENV): Define.
8857 Patch by John Stanley <jpsinthemix@verizon.net>.
8858
a0f33f99
UD
8859 * misc/Makefile (headers): Add bits/select2.h.
8860 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
8861 * misc/bits/select2.h: New file.
8862 * include/bits/select2.h: New file.
8863 * debug/Makefile (routines): Add fdelt_chk.
8864 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
8865 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
8866 FD_ISSET.
8867 * debug/fdelt_chk.c: New file.
8868
762011fe
UD
8869 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
8870 * wcsmbs/test-wmemcmp.c: Likewise.
8871 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 8872 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
8873
88742011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8875
8876 * string/Makefile (strop-tests): Add memcmp.
8877 * string/test-wmemcmp.c: New file.
8878 * string/test-memcmp.c: Add wmemcmp support.
8879
7f513ec8
RM
88802011-09-08 Roland McGrath <roland@hack.frob.com>
8881
0442afb4
RM
8882 [BZ #13153]
8883 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
8884 2011-07-19 change.
8885
7f513ec8
RM
8886 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
8887 garbage value in a __mach_port_mod_refs call in the cases of the
8888 task-self and thread-self ports.
8889
a12b2239
ST
88902011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8891
8892 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
8893
610f9ab4
AS
88942011-09-08 Andreas Schwab <schwab@redhat.com>
8895
7f513ec8 8896 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 8897
48882a1a
LD
88982011-09-07 Ulrich Drepper <drepper@gmail.com>
8899
b49865be
UD
8900 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
8901
fdc86bc9
UD
8902 * elf/dl-libc.c (dlerror_run): Pass back error code from
8903 dl_catch_error.
8904
c966526a
UD
8905 [BZ #13123]
8906 * elf/dl-load.c (lose): Free l_origin if it is valid.
8907
48882a1a
LD
8908 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
8909 names.
8910 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8911 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8912 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8913 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8914 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8915 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
8916
77a2a8b4
AZ
89172011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8918
8919 * sysdeps/powerpc/fpu/e_hypot.c: New file.
8920 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
8921 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
8922 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
8923 * sysdeps/powerpc/fpu/k_cosf.c: New file.
8924 * sysdeps/powerpc/fpu/k_sinf.c: New file.
8925 * sysdeps/powerpc/fpu/s_cosf.c: New file.
8926 * sysdeps/powerpc/fpu/s_sinf.c: New file.
8927 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
8928 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
8929
24f579d8
AM
89302011-08-15 Alan Modra <amodra@gmail.com>
8931
8932 [BZ #13092]
8933 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
8934 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
8935 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
8936 ppc_mcount to static-only-routines.
8937 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
8938 __mcount_internal.
8939 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
8940 __mcount_internal with usual JUMPTARGET. Remove useless nop.
8941
3d4837df
UD
89422011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
8943
8944 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
8945 for finite and infinity parameters.
8946
22700377
WS
89472011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8948
8949 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
8950 and add nop instructions for throughput optimization.
8951 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8952
5025581e
WS
89532011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
8954
8955 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
8956 aligned copy for power7 with vector-scalar instructions.
8957 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8958
08a300c9
L
89592011-07-24 H.J. Lu <hongjiu.lu@intel.com>
8960
8961 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
8962 AVX check.
8963
59178ef9
AS
89642011-09-07 Andreas Schwab <schwab@redhat.com>
8965
8966 [BZ #13144]
8967 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
8968 last change.
8969
e38ba7ab
UD
89702011-09-07 Ulrich Drepper <drepper@gmail.com>
8971
8972 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8973 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
8974 syscall wrapper around clock_gettime in __vdso_clock_gettime.
8975 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
8976 clock_gettime.
8977
d53a73ac
UD
89782011-09-06 Ulrich Drepper <drepper@gmail.com>
8979
fc8bffcc
UD
8980 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
8981 Forgot to demangle the pointer.
8982
ceaa0c5d
UD
8983 * sysdeps/i386/sysdep.h: Define atom_text_section.
8984 * sysdeps/x86_64/sysdep.h: Likewise.
8985 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
8986 section with atom_text_section.
8987 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8988 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8989 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8990 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8991 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
8992
a77d3c17
UD
8993 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
8994 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
8995 already be defined. Change to take two parameters and don't assign
8996 result to variable. Adjust all users.
8997 Define INTERNAL_GETTIME if not already defined.
8998 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
8999 call.
9000 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9001 HAVE_CLOCK_GETTIME_VSYSCALL.
9002 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9003
d53a73ac
UD
9004 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9005 gettimeofday vsyscall, just use time.
9006
a8f84144
AS
90072011-09-06 Andreas Schwab <schwab@redhat.com>
9008
9009 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9010 <errno.h>.
9011
ef606249
UD
90122011-09-06 Ulrich Drepper <drepper@gmail.com>
9013
9014 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9015 syscall on x86-64.
9016 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9017 syscall.
9018 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9019 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9020 syscall if possible.
9021
6585cb60
UD
90222011-09-05 Ulrich Drepper <drepper@gmail.com>
9023
9024 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9025 e_ident. Don't pass to find_mapsXX.
9026 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9027
a5f524e4
LD
90282011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9029
9030 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9031 strchr-sse2-no-bsf strrchr-sse2-no-bsf
9032 * sysdeps/x86_64/multiarch/strchr.S: Update.
9033 Check bit_slow_BSF bit.
9034 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9035 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9036 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9037
554881ef
UD
90382011-09-05 Ulrich Drepper <drepper@gmail.com>
9039
d96de963
UD
9040 [BZ #13134]
9041 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9042 before glibc 2.15.
9043 (tryshell): Define.
9044 (__spawni): Change last parameter to be flag. Test
9045 SPAWN_XFLAGS_USE_PATH flag to use path or not.
9046 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9047 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9048 * posix/spawni.c: Likewise.
9049 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9050 * posix/spawnp.c: Likewise. Change normal version to use
9051 SPAWN_XFLAGS_USE_PATH.
9052 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9053 SPAWN_XFLAGS_TRY_SHELL.
9054
d48e5868
UD
9055 [BZ #13150]
9056 * posix/glob.h: Remove gcc 1.x support.
9057
554881ef
UD
9058 [BZ #13068]
9059 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9060
693fb948
LD
90612011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9062
9063 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9064 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9065 strrchr-sse2-bsf
9066 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9067 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9068 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9069 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9070 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9071 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9072
1b48c537
UD
90732011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9074
49d42c37
UD
9075 * sysdeps/x86_64/wcscmp.S: New file.
9076
1b48c537
UD
9077 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9078 wcscmp-c wcscmp-sse2
9079 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9080 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9081 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9082 * wcsmbs/wcscmp.c: Allow renaming.
9083
15c95c5d
DM
90842011-09-05 David S. Miller <davem@davemloft.net>
9085
9086 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9087 stack slot, rather than the struct return pointer slot.
9088 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9089 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9091 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9092
2f0ad8f3
UD
90932011-09-05 Ulrich Drepper <drepper@gmail.com>
9094
d88ae418
UD
9095 * po/ja.po: Update from translation team.
9096
2f0ad8f3
UD
9097 [BZ #13144]
9098 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9099 kernel in 64-bit binaries.
9100
5f4318d1
DM
91012011-09-01 David S. Miller <davem@davemloft.net>
9102
9103 * elf/elf.h (HWCAP_SPARC_*): Move to..
9104 * sysdeps/sparc/sysdep.h: this new file and add new values.
9105 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9106 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9107 _DL_HWCAP_COUNT to 24.
9108 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9109 entries.
9110 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9111 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9112 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9113 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9114 instead of magic constants.
9115 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9116
3ba57516
DM
91172011-08-31 David S. Miller <davem@davemloft.net>
9118
9119 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9120 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9121 Reimplement to do errno handling inline.
9122 (SYSCALL_ERROR_HANDLER): New macro.
9123 (__SYSCALL_STRING): Do not do errno handling in asm.
9124 (__CLONE_SYSCALL_STRING): Delete.
9125 (__INTERNAL_SYSCALL_STRING): Delete.
9126 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9127 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9128 (PSEUDO): Reimplement to do errno handling inline.
9129 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9130 (SYSCALL_ERROR_HANDLER): New macro.
9131 (__SYSCALL_STRING): Do not do errno handling in asm.
9132 (__CLONE_SYSCALL_STRING): Delete.
9133 (__INTERNAL_SYSCALL_STRING): Delete.
9134 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9135 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9136 i386.
9137 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9138 (inline_syscall*): Add 'err' argument.
9139 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9140 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9141 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9142 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9143
9144 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9145 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9146
2bc17433
AS
91472011-08-30 Andreas Schwab <schwab@redhat.com>
9148
9149 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9150
fbeb5f4d
JO
91512011-08-29 Jiri Olsa <jolsa@redhat.com>
9152
9153 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9154 directive.
9155
ad69cc26
DM
91562011-08-24 David S. Miller <davem@davemloft.net>
9157
9158 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9159
39dd69df
AS
91602011-08-24 Andreas Schwab <schwab@redhat.com>
9161
9162 * elf/Makefile: Add rules to build and run unload8 test.
9163 * elf/unload8.c: New file.
9164 * elf/unload8mod1.c: New file.
9165 * elf/unload8mod1x.c: New file.
9166 * elf/unload8mod2.c: New file.
9167 * elf/unload8mod3.c: New file.
9168
9169 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9170 it wasn't used.
9171
2c0b250a
DM
91722011-08-23 David S. Miller <davem@davemloft.net>
9173
9174 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9175 subtract stack bias.
9176 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9177 %sp not %fp in calculations.
9178 (_JMPBUF_UNWINDS_ADJ): Likewise.
9179
22044b48
DM
9180 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9181 (aio_suspend): Call it to force an exception region around the
9182 AIO_MISC_WAIT() invocation.
9183
2cae4995
AS
91842011-08-23 Andreas Schwab <schwab@redhat.com>
9185
9186 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9187 backslash.
9188
873a772e
AJ
91892011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9190
9191 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9192 protection macro.
9193 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9194 and <dl-machine.h>.
9195 (Elf64_FuncDesc): Remove.
9196
25ad0df1
DM
91972011-08-22 David S. Miller <davem@davemloft.net>
9198
9199 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9200 sigaltstack check, add missing cfi directives.
9201 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9202 missing cfi directives, and sigaltstack handling.
9203
e888bcbe
AS
92042011-08-16 Andreas Schwab <schwab@redhat.com>
9205
9206 [BZ #11724]
9207 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9208 object is seen twice.
9209 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9210
9211 * elf/Makefile (distribute): Add tst-initorder2.c.
9212 (tests): Add tst-initorder2.
9213 (modules-names): Add tst-initorder2a tst-initorder2b
9214 tst-initorder2c tst-initorder2d. Add rules to build them.
9215 ($(objpfx)tst-initorder2.out): New rule.
9216 * elf/tst-initorder2.c: New file.
9217 * elf/tst-initorder2.exp: New file.
9218
87162f46
AS
92192011-08-22 Andreas Schwab <schwab@redhat.com>
9220
70538b7f
AS
9221 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9222
f55ffe58
AS
9223 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9224 dependencies back to end of function.
9225
87162f46
AS
9226 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9227 $(elfobjdir)/ld.so.
9228
91b392a4
UD
92292011-08-21 Ulrich Drepper <drepper@gmail.com>
9230
9231 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9232 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9233 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9234 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9235 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9236 of __vdso_gettimeofday.
9237 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9238 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
9239 attribute_hidden.
9240 (_libc_vdso_platform_setup): Remove initialization of
9241 __vdso_gettimeofday and __vdso_time.
9242
5c43483f
UD
92432011-08-20 Ulrich Drepper <drepper@gmail.com>
9244
775a77e7
UD
9245 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9246 and fgetc_unlocked.
9247 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9248 getc_unlocked.
89f447ed 9249
49c74ba9
UD
9250 * elf/dl-open.c (add_to_global): Report additions to the global scope
9251 for LD_DEBUG=scopes.
9252 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 9253 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 9254
5c43483f
UD
9255 [BZ #13114]
9256 * stdio-common/Makefile (tests): Add bug24.
9257 * stdio-common/bug24.c: New file.
9258
a101b025
AJ
92592011-08-19 Andreas Jaeger <aj@suse.de>
9260
9261 [BZ #13114]
9262 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9263 non-existant file when using close-on-exec mode.
9264
c88f1766
UD
92652011-08-20 Ulrich Drepper <drepper@gmail.com>
9266
0276a718
UD
9267 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9268 the very first instruction.
9269
c88f1766
UD
9270 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9271 the CFI state in the end.
9272 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9273 inclusion of dl-trampoline.h.
9274 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9275
51ccffa0
AS
92762011-08-19 Andreas Schwab <schwab@redhat.com>
9277
94d7165f
AS
9278 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9279 expectations for long double.
9280
51ccffa0
AS
9281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9282 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9283
fd708658 92842011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
9285
9286 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9287 artificual limit depends upon the system page size.
9288
44f0a71e
UD
92892011-08-17 Ulrich Drepper <drepper@gmail.com>
9290
9291 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9292 * resolv/Makefile: Define CFLAGS-libresolv.
9293
8de79a24
AS
92942011-08-17 Andreas Schwab <schwab@redhat.com>
9295
9296 * nss/makedb.c (compute_tables): Make variables used in nested
9297 function static.
9298
27724598
UD
92992011-08-17 Ulrich Drepper <drepper@gmail.com>
9300
c5305d88
UD
9301 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9302 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9303 if buffer was too small.
9304
27724598
UD
9305 * elf/pldd.c (main): Attach to all threads in the process.
9306 Rewrite /proc handling to use *at functions.
9307
076fe015
UD
93082011-08-16 Ulrich Drepper <drepper@gmail.com>
9309
174baab3
UD
9310 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9311 specifies first scope to show.
9312 (dl_open_worker): Update callers. Move printing scope of new
9313 object to before the relocation.
44f0a71e 9314 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
9315 * sysdeps/generic/ldsodefs.h: Update declaration.
9316
076fe015
UD
9317 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
9318 string for the scope number.
9319
a60df2c3
UD
93202011-08-14 Ulrich Drepper <drepper@gmail.com>
9321
9322 * nscd/servicescache.c (cache_addserv): Make sure written is always
9323 initialized.
9324
5e4287d1
RM
93252011-08-14 Roland McGrath <roland@hack.frob.com>
9326
85ae0589
RM
9327 * sysdeps/i386/i486/bits/atomic.h
9328 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
9329 statement expression, so as to suppress "set but not used" warning.
9330 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
9331
69f63097
RM
9332 * string/strncat.c (STRNCAT): Use prototype definition.
9333
675456ef
RM
9334 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
9335 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
9336 -Iprograms here.
9337 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
9338 (localedef-modules): Add localedef.
9339 (locale-modules): Add locale.
9340
5e4287d1
RM
9341 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
9342 * elf/rtld.c (dl_main): Invert order of assignment in last change,
9343 to avoid a warning.
9344
9c96ff23
DM
93452011-08-14 David S. Miller <davem@davemloft.net>
9346
9347 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
9348 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
9349
f9ddf089
UD
93502011-08-13 Ulrich Drepper <drepper@gmail.com>
9351
44f0a71e 9352 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
9353 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
9354 * elf/rtld.c (dl_main): Set l_name of vDSO.
9355 Call _dl_show_scope when DL_DEBUG_SCOPES.
9356 (process_dl_debug): Recognize scopes flag and also set it for all.
9357 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
9358 Declare _dl_show_scope.
9359
1dc27704
UD
9360 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
9361 (do_dlopen): Pass caller_dlopen to dl_open.
9362 (__libc_dlopen_mode): Initialize caller_dlopen.
9363
f9ddf089
UD
9364 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
9365 of libc. Make tolower call locale-independent. Optimize a bit by
9366 using isdigit instead of isalnum.
9367 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
9368
9ac533d3
UD
93692011-08-12 Ulrich Drepper <drepper@gmail.com>
9370
9371 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
9372 was a dependency or dynamically loaded.
9373
89edf2e9
UD
93742011-08-11 Ulrich Drepper <drepper@gmail.com>
9375
8e999d29
UD
9376 * intl/l10nflist.c: Allow architecture-specific pop function.
9377 * sysdeps/x86_64/l10nflist.c: New file.
9378
89edf2e9
UD
9379 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
9380 classification.
9381
14d96785
AS
93822011-08-10 Andreas Schwab <schwab@redhat.com>
9383
9384 * include/dirent.h: Add libc_hidden_proto for scandirat and
9385 scandirat64. Don't declare __scandirat64.
9386 * dirent/scandirat.c: Add libc_hidden_def.
9387 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
9388 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
9389
6761ac04
DM
93902011-08-10 David S. Miller <davem@davemloft.net>
9391
9392 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
9393 enum.
9394 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9395 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9396 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9397
c55fbd1e
UD
93982011-08-09 Ulrich Drepper <drepper@gmail.com>
9399
9400 * Versions.def [libc]: Add GLIBC_2.15.
9401 * dirent/Makefile (routines): Add scandirat and scandirat64.
9402 * dirent/Versions [libc]: Export scandirat and scandirat64 for
9403 GLIBC_2.15.
9404 * dirent/dirent.h: Declare scandirat and scandirat64.
9405 * dirent/scandirat.c: New file.
9406 * dirent/scandirat64.c: New file.
9407 * sysdeps/wordsize-64/scandirat.c: New file.
9408 * sysdeps/wordsize-64/scandirat64.c: New file.
9409 * dirent/opendir.c: Define opendirat.
9410 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
9411 using scandirat.
9412 * dirent/scandir64.c: Adjust for scandir.c change.
9413 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
9414 __scandirat64, and __scandir_cancel_handler.
9415 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
9416 additional parameter and use openat instead of open (outside of ld.so).
9417 Add new __opendir as wrapper around __opendirat.
9418 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
9419 here without requiring old scandirat implementation.
9420
879165f2
UD
94212011-08-08 Ulrich Drepper <drepper@gmail.com>
9422
9423 * dirent/scandir.c (cancel_handler): Renamed to
9424 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
9425 defined. Adjust users.
9426 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
9427 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
9428
cb7e923b
UD
94292011-08-04 Ulrich Drepper <drepper@gmail.com>
9430
16292edd
UD
9431 * string/test-string.h (IMPL): Use __STRING to expand name and then
9432 stringify it.
9433
cb7e923b
UD
9434 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
9435 of cleanups.
9436
cff82933
LD
94372011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9438
9439 * string/Makefile: Update.
9440 (strop-tests): Append strncat.
9441 * string/test-wcscmp.c: New file.
9442 New comprehensive test for wcscmp.
9443 * string/test-strcmp.c: Update.
9444 (WIDE): New define.
9445
9be9bfcc
AS
94462011-07-22 Andreas Schwab <schwab@redhat.com>
9447
9448 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
9449 line.
9450
2e96f1c7
AS
94512011-07-26 Andreas Schwab <schwab@redhat.com>
9452
9453 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9454 encoding to ACE if AI_IDN.
9455
85188888
JJ
94562011-08-01 Jakub Jelinek <jakub@redhat.com>
9457
9458 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
9459 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
9460
5fa16e9b
LD
94612011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9462
9463 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
9464 Fix overflow bug in strncat.
9465 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9466
9467 * string/test-strncat.c: Update.
9468 Add new tests for checking overflow bugs.
9469
94702011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9471
9472 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9473 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
9474 * sysdeps/i386/i686/multiarch/strcat.S: New file.
9475 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
9476 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
9477 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
9478 * sysdeps/i386/i686/multiarch/strncat.S: New file.
9479 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
9480 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
9481
9482 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
9483 (USE_AS_STRCAT): Define.
9484 Add strcat and strncat support.
9485 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9486
8c1a459f
AS
94872011-07-25 Andreas Schwab <schwab@redhat.com>
9488
9489 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
9490 __n bigger than INT_MAX+1.
9491 (__strncmp_g): Likewise.
9492
bba33c28
UD
94932011-07-23 Ulrich Drepper <drepper@gmail.com>
9494
798be72d
UD
9495 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
9496 * libio/stido.h: Likewise.
9497
8accd4dc
UD
9498 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
9499 (AF_NFC): Define.
9500 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
9501 (AF_NFC): Define.
9502
cbff0d96
UD
9503 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
9504 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9505 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9506 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9507 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9508
9191c04a
UD
9509 [BZ #13021]
9510 * scripts/test-installation.pl: Don't expect libnss_test1 to be
9511 installed.
9512
bba33c28
UD
9513 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
9514 typo.
9515 (_dl_x86_64_save_sse): Likewise.
9516
90f139dd
UD
95172011-07-22 Ulrich Drepper <drepper@gmail.com>
9518
1aae088a
UD
9519 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
9520 OSXSAVE.
9521 (_dl_x86_64_save_sse): Likewise.
9522
8e2045f5
UD
9523 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
9524
90f139dd
UD
9525 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
9526
1d002f25
AS
95272011-07-21 Andreas Schwab <schwab@redhat.com>
9528
9529 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
9530 change.
9531 (_dl_x86_64_save_sse): Use correct AVX check.
9532
21137f89
UD
95332011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9534
9535 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
9536 bug in strncpy/strncat.
9537 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9538
a65c0b7a
UD
95392011-07-21 Ulrich Drepper <drepper@gmail.com>
9540
9541 * string/tester.c (test_strcat): Add tests for different alignments
9542 of source and destination.
9543 (test_strncat): Likewise.
9544
6986b98a
UD
95452011-07-20 Ulrich Drepper <drepper@gmail.com>
9546
90bb2039
UD
9547 [BZ #12852]
9548 * posix/glob.c (glob): Check passed in values before using them in
9549 expressions to avoid some overflows.
9550 (glob_in_dir): Likewise.
9551
5644ef54
UD
9552 [BZ #13007]
9553 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
9554 check for AVX enablement so that we don't crash with old kernels and
9555 new hardware.
9556 * elf/tst-audit4.c: Add same checks here.
9557 * elf/tst-audit6.c: Likewise.
9558
9559 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 9560
bfc9dc9b
AS
95612011-07-09 Andreas Schwab <schwab@linux-m68k.org>
9562
9563 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
9564
702e64bb
UD
95652011-07-20 Ulrich Drepper <drepper@gmail.com>
9566
9567 * po/cs.po: Update from translation team.
9568 * po/bg.po: Likewise.
9569
295e904f
MP
95702011-07-12 Marek Polacek <mpolacek@redhat.com>
9571
9572 * misc/sys/cdefs.h: Add support for const attribute.
9573 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
9574 to gnu_dev_{major,minor,makedev} functions.
9575
3ff94596
MP
95762011-07-20 Marek Polacek <mpolacek@redhat.com>
9577
9578 * intl/dcigettext.c (get_output_charset): Add missing bracket.
9579
28b59fca
AS
95802011-07-20 Andreas Schwab <schwab@redhat.com>
9581
9582 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
9583 strlen results.
9584
19df733e
AK
95852011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9586
9587 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9588 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
9589 register in order to avoid conflicts with the soft frame pointer
9590 being held in r11 when necessary.
9591 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9592 (INTERNAL_VSYSCALL_NCS): Likewise.
9593
c8835729
MP
95942011-07-14 Marek Polacek <mpolacek@redhat.com>
9595
9596 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
9597 * elf/dl-fini.c (_dl_fini): Adjust caller.
9598 * elf/dl-close.c (_dl_close_worker): Likewise.
9599 * sysdeps/generic/ldsodefs.h: Adjust declaration.
9600
b902330c
MP
96012011-07-15 Marek Polacek <mpolacek@redhat.com>
9602
8991e135
MP
9603 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
9604 "aux_cache->nlibs < 0".
9605
b902330c
MP
9606 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
9607 in the reload-count case.
9608
99710781
LD
96092011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9610
9611 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9612 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
9613 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
9614 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
9615 * sysdeps/x86_64/multiarch/strcat.S: New file.
9616 * sysdeps/x86_64/multiarch/strncat.S: New file.
9617 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
9618 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
9619 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
9620 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
9621 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
9622 (USE_AS_STRCAT): Define.
9623 Add strcat and strncat support.
9624 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9625 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9626 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
9627 * string/strncat.c: Update.
9628 (USE_AS_STRNCAT): Define.
9629 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9630 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
9631 and i7.
9632 * sysdeps/x86_64/multiarch/init-arch.h
9633 (bit_Prefer_PMINUB_for_stringop): New.
9634 (index_Prefer_PMINUB_for_stringop): Likewise.
9635 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
9636 bit_Prefer_PMINUB_for_stringop.
9637
7dc6bd90
UD
96382011-07-19 Ulrich Drepper <drepper@gmail.com>
9639
9640 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
9641 buffer64.
9642 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
9643 of casting of buffer.
9644 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
9645 buffer32 and buffer64.
9646 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
9647 writes instead of casting of buffer.
9648 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
9649 buffer32.
9650 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
9651 casting of buffer.
9652
e0e72284
AS
96532011-07-19 Andreas Schwab <schwab@redhat.com>
9654
9655 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
9656
feb1eb0b
UD
96572011-07-19 Ulrich Drepper <drepper@gmail.com>
9658
9659 * nscd/nscd.c (termination_handler): Don't do anything for a database
9660 if it has not yet been initialized.
9661
298711ff
UD
96622011-07-18 Ulrich Drepper <drepper@gmail.com>
9663
9664 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9665
96662011-07-15 Marek Polacek <mpolacek@redhat.com>
9667
9668 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9669
f9d68389
UD
96702011-07-18 Ulrich Drepper <drepper@gmail.com>
9671
9672 * po/nl.po: Update from translation team.
9673 * po/sv.po: Likewise.
9674
db290cf5
RM
96752011-07-16 Roland McGrath <roland@hack.frob.com>
9676
9677 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
9678 now disallowed by GCC.
5c550700 9679
fd5e21c7
RM
9680 * configure.in (use-default-link): Default to yes if a test -shared
9681 link meets our qualifications.
9682 * configure: Regenerated.
9683
5c550700
RM
9684 * config.make.in (output-format): New variable.
9685 * configure.in: Check for ld --print-output-format support.
9686 * configure: Regenerated.
9687 * Makerules ($(common-objpfx)format.lds)
9688 [$(output-format) != unknown]: Just use $(output-format),
9689 instead of the linker-script munging.
9690
9fa2c032
RM
96912011-07-14 Roland McGrath <roland@hack.frob.com>
9692
a6928d51
RM
9693 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
9694 of $(common-objpfx)shlib.lds.
9695 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
9696
661607b3
RM
9697 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
9698 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
9699
9fa2c032
RM
9700 * configure.in (-z relro check): Adjust test code to add a large
9701 writable data section after it.
9702 * configure: Regenerated.
9703
defe9061
RM
97042011-07-11 Roland McGrath <roland@hack.frob.com>
9705
9706 * configure.in (-z relro check): Fix test code to make the variable
9707 truly const.
9708 * configure: Regenerated.
9709
319b9ad4
UD
97102011-07-11 Ulrich Drepper <drepper@gmail.com>
9711
9712 * nscd/nscd.h (struct traced_file): Define.
9713 (struct database_dyn): Remove inotify_descr, reset_res, and filename
9714 elements. Add traced_files.
9715 (inotify_fd): Declare.
9716 (register_traced_file): Declare.
9717 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
9718 (inotify_fd): Export.
9719 (resolv_conf_descr): Remove.
9720 (nscd_init): Move inotify descriptor creation to main.
9721 Don't register files for notification here.
9722 (register_traced_file): New function.
9723 (invalidate_cache): Don't use reset_res to determine whether to call
9724 res_init, go through the list of registered files.
9725 (main_loop_poll): The inotify descriptors are now stored in the
9726 structures for the traced files.
9727 (main_loop_epoll): Likewise
9728 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
9729 to __nss_disable_nscd.
9730 * nscd/cache.c (prune_cache): There is no single inotify descriptor
9731 for a database anymore. Check the records for all the registered
9732 files instead.
9733 * nss/Makefile (libnss_files-routines): Add files-init.
9734 (libnss_db-routines): Add db-init.
9735 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
9736 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
9737 * nss/nss_db/db-init.c: New file.
9738 * nss/nss_files/files-init.c: New file.
9739 * nss/nsswitch.c (nss_load_library): New function. Broken out of
9740 __nss_lookup_function.
9741 (__nss_lookup_function): Call nss_load_library.
9742 (nss_load_all_libraries): New function.
9743 (__nss_disable_nscd): Take parameter with callback function for files
9744 to register. Set is_nscd. Load all the DSOs for the NSS modules
9745 used for the cached services.
9746 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
9747 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
9748 options for features to all the files in nscd.
9749
9750 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
9751
23bee3e8
RM
97522011-07-10 Roland McGrath <roland@hack.frob.com>
9753
9754 * csu/elf-init.c (__libc_csu_init): Comment typo.
9755
46a5b7f0
UD
97562011-07-09 Ulrich Drepper <drepper@gmail.com>
9757
9758 * po/pl.po: Update from translation team.
9759 * po/ja.po: Likewise.
9760 * po/ru.po: Likewise.
9761 * po/ko.po: Likewise.
9762 * po/fr.po: Likewise.
9763
d30cf5bb
RM
97642011-07-09 Roland McGrath <roland@hack.frob.com>
9765
113ddea4
RM
9766 * configure.in (.ctors/.dtors header and trailer check):
9767 Use an empirical test on a built program.
9768 * configure: Regenerated.
9769
574920b4
RM
9770 * configure.in (-z relro check): Use an empirical test on a built DSO.
9771 Detect, but do not require, on ia64.
9772 * configure: Regenerated.
9773
d30cf5bb
RM
9774 * configure.in (READELF): Find it with AC_CHECK_TOOL.
9775 Update tests that use readelf to use $READELF instead.
9776 * configure: Regenerated.
9777
8538fdb3
UD
97782011-07-08 Ulrich Drepper <drepper@gmail.com>
9779
9780 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
9781 if the result is not used.
9782
04d08991
AJ
97832011-07-05 Andreas Jaeger <aj@suse.de>
9784
9785 [BZ#9696]
9786 * stdlib/tst-strtod.c: Add testcase.
9787
de283087
AD
97882011-07-07 Ulrich Drepper <drepper@gmail.com>
9789
4e5f31c8 9790 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 9791 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
9792 The latter has a higher limit. Take additional parameter to pass to
9793 the new function.
9794 (__pathconf): Pass file to __statfs_link_max.
9795 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
9796 __statfs_link_max.
9797 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
9798 __statfs_link_max.
9799
de283087
AD
9800 [BZ #12868]
9801 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
9802 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9803 Handle Lustre.
9804 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
9805 (__statfs_filesize_max): Likewise.
9806 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
9807
c75fa153
AJ
98082011-07-05 Andreas Jaeger <aj@suse.de>
9809
9810 * resolv/res_comp.c (dn_skipname): Remove unused variable.
9811
1a544854
UD
98122011-07-06 Marek Polacek <mpolacek@redhat.com>
9813
9814 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
9815 `status' variable.
9816 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
9817 Likewise.
9818
6f0eec67
UD
98192011-07-04 H.J. Lu <hongjiu.lu@intel.com>
9820
9821 * Makefile (strop-tests): Add strncat.
9822 * string/test-strncat.c: New file.
9823
aae30307
UD
98242011-06-30 Marek Polacek <mpolacek@redhat.com>
9825
9826 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
9827
c0cfb5eb
UD
98282011-06-21 Andreas Jaeger <aj@suse.de>
9829
9830 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
9831 Copy rule from iconvdata/Makefile.
9832
01636b21
UD
98332011-07-06 Ulrich Drepper <drepper@gmail.com>
9834
9835 [BZ #12922]
9836 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
9837 but no long options are defined, just return 'W'.
9838
9895c8bc
UD
98392011-06-22 Marek Polacek <mpolacek@redhat.com>
9840
9841 [BZ #9696]
9842 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
9843
5d4cf042
UD
98442011-07-06 Ulrich Drepper <drepper@gmail.com>
9845
9846 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
9847 netgroups to read.
960e5535 9848 (innetgr): Likewise.
5d4cf042 9849
751eb97e
RM
98502011-07-05 Roland McGrath <roland@hack.frob.com>
9851
9852 * config.make.in (install_root): Default to $(DESTDIR).
9853
f15f1e45
UD
98542011-07-05 Ulrich Drepper <drepper@gmail.com>
9855
9856 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
9857
4e34ac6a
RM
98582011-07-02 Roland McGrath <roland@hack.frob.com>
9859
5e9b6af4
RM
9860 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
9861
84f9ea0f
RM
9862 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
9863 containing directory rather than embedding absolute directory names.
9864
ea5ee9f7
RM
9865 * scripts/check-local-headers.sh: Rewritten using awk.
9866 Match by word, not by line. Print error messages for matches.
9867 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
9868
1b74661a
RM
9869 * Makerules [shlib-lds-flags empty]:
9870 ($(common-objpfx)libc_pic.opts): New target.
9871 ($(common-objpfx)libc_pic.os.clean): New target.
9872 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
9873
9874 * config.make.in (OBJCOPY): New variable.
9875 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
9876 * configure: Regenerated.
9877
f781ef40
RM
9878 * config.make.in (use-default-link): New variable.
9879 * configure.in (use_default_link): Grok --with-default-link to set it.
9880 * configure: Regenerated.
9881 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
9882 (shlib-lds, shlib-lds-flags): Define to empty.
9883
2d4fa81e
RM
9884 * Makerules (shlib-lds): New variable.
9885 (shlib-lds-flags): New variable.
9886 (build-shlib, build-moduile, build-module-asneeded): Use it.
9887 ($(common-objpfx)libc.so): Use $(shlib-lds).
9888 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
9889 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
9890
31fffa6b
RM
9891 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
9892 DT_FLAGS/DT_FLAGS_1 with zero flags.
9893
4e34ac6a
RM
9894 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
9895 linker script munging.
9896
fcfc776b
UD
98972011-07-02 Ulrich Drepper <drepper@gmail.com>
9898
9899 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
9900 as 128-bit value.
9901 * crypt/sha512.c (sha512_process_block): Perform total addition using
9902 128-bit if possible.
9903 (__sha512_finish_ctx): Likewise.
9904 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
9905 as 64-bit value.
9906 * crypt/sha256.c (SWAP64): Define.
9907 (sha256_process_block): Perform total addition using 64-bit if
9908 possible.
9909 (__sha256_finish_ctx): Likewise.
9910
99231d9a
UD
99112011-07-01 Ulrich Drepper <drepper@gmail.com>
9912
9913 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
9914 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9915 * nscd/hstcache.c (cache_addhst): Likewise.
9916 * nscd/grpcache.c (cache_addgr): Likewise.
9917 * nscd/aicache.c (addhstaiX): Likewise
9918 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
9919
445b4a53
TK
99202011-07-01 Thorsten Kukuk <kukuk@suse.de>
9921
9922 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
9923 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9924 * nscd/hstcache.c (cache_addhst): Likewise.
9925 * nscd/grpcache.c (cache_addgr): Likewise.
9926 * nscd/aicache.c (addhstaiX): Likewise
9927
6d4d8e8e
AS
99282011-07-01 Andreas Schwab <schwab@redhat.com>
9929
9930 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
9931 domain only when needed.
9932
89f654c5
AS
99332011-06-30 Andreas Schwab <schwab@redhat.com>
9934
9935 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
9936 is always restored.
9937
cf3b23ff
UD
99382011-06-29 Ulrich Drepper <drepper@gmail.com>
9939
9940 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
9941 are re-adding the entry.
9942 * nscd/servicescache.c (cache_addserv): Likewise.
9943
751626f9
AJ
99442011-06-30 Aurelien Jarno <aurelien@aurel32.net>
9945
9946 * sysdeps/generic/dl-irel.h: fix protection against multiple
9947 inclusions.
9948 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
9949
9113ea1f
UD
99502011-06-28 Ulrich Drepper <drepper@gmail.com>
9951
5c0b8d90
UD
9952 [BZ #12935]
9953 * malloc/memusage.sh: Fix quoting in message.
9954 * debug/xtrace.sh: Likewise.
9955
9113ea1f
UD
9956 * configure.in: Remove support for --experimental-malloc option, make
9957 it the default.
9958 * config.make.in: Likewise.
9959 * malloc/Makefile: Likewise.
9960
a4172181
AS
99612011-06-27 Andreas Schwab <schwab@redhat.com>
9962
9963 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
9964 two-byte characters.
9965
78a7eee7
RM
99662011-06-27 Roland McGrath <roland@hack.frob.com>
9967
62bede13
RM
9968 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
9969 AC_CACHE_CHECK invocation.
9970 * configure: Regenerated.
9971
78a7eee7
RM
9972 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
9973
5ce33a62
UD
99742011-06-27 Ulrich Drepper <drepper@gmail.com>
9975
034807a9
UD
9976 [BZ #12350]
9977 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
9978 bit from old_res_options.
9979
4902da17
UD
9980 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
9981
5ce33a62
UD
9982 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
9983 value type for setfct.
9984
c2344f56
L
99852011-06-23 H.J. Lu <hongjiu.lu@intel.com>
9986
9987 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9988 __gettimeofday instead of gettimeofday.
9989
68468076
UD
99902011-06-26 Ulrich Drepper <drepper@gmail.com>
9991
9992 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
9993
acb0d739
L
99942011-06-24 H.J. Lu <hongjiu.lu@intel.com>
9995
9996 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
9997
9998 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
9999 info.
10000
8912479f
L
100012011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10002
10003 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10004 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10005 strcpy-sse2-unaligned strncpy-sse2-unaligned
10006 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10007 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10008 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10009 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10010 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10011 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10012 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10013 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10014 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10015 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10016 (STRCPY): Support SSE2 and SSSE3 versions.
10017
d5495a11
UD
100182011-06-24 Ulrich Drepper <drepper@gmail.com>
10019
10020 [BZ #12874]
10021 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10022 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10023 kernels which artificially limit size of requests.
10024
0b1cbaae
L
100252011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10026
10027 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10028 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10029 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10030 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10031 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10032 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10033 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10034 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10035 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10036 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10037 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10038 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10039 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10040 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10041 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10042 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10043 Enable unaligned load optimization for Intel Core i3, i5 and i7
10044 processors.
10045 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10046 Define.
10047 (index_Fast_Unaligned_Load): Define.
10048 (HAS_FAST_UNALIGNED_LOAD): Define.
10049
07f494a0
MP
100502011-06-23 Marek Polacek <mpolacek@redhat.com>
10051
10052 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10053
fa3fc0fe
UD
100542011-06-22 Ulrich Drepper <drepper@gmail.com>
10055
10056 [BZ #12907]
10057 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10058 until it is clear that the information is realy needed.
10059 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10060
e12df166
AS
100612011-06-22 Andreas Schwab <schwab@redhat.com>
10062
10063 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10064
852eb34d
UD
100652011-06-22 Ulrich Drepper <drepper@gmail.com>
10066
84e2a551
UD
10067 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10068 /sys/devices/system/cpu/online if it is usable.
10069
852eb34d
UD
10070 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10071 reading the information from the /proc filesystem to once a second.
10072
6e502e19
UD
100732011-06-21 Andreas Jaeger <aj@suse.de>
10074
10075 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10076 NULL after inclusion of kernel headers.
10077
75d39ff2
UD
100782011-06-21 Ulrich Drepper <drepper@gmail.com>
10079
51f9aa6a
UD
10080 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10081 calls to internal_setent.
10082
c0244a9d
UD
10083 [BZ #12885]
10084 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10085 addresses using gethostbyname4_r ignore IPv4 addresses.
10086
c5e3c2ae
UD
10087 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10088 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10089
75d39ff2
UD
10090 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10091
42675c6f
DM
100922011-06-20 David S. Miller <davem@davemloft.net>
10093
10094 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10095 inclusions.
10096 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10097
10098 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10099 (elf_irel): Use it.
10100 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10101 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10102 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10103 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10104 * sysdeps/x86_64/dl-irel.h: Likewise.
10105
10106 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10107 * elf/dl-sym.c: Likewise.
10108
57912a71
UD
101092011-06-15 Ulrich Drepper <drepper@gmail.com>
10110
10111 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10112 need to dereference resplen2.
10113
ee22793d
AS
101142011-06-14 Andreas Schwab <schwab@redhat.com>
10115
10116 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10117
a9e836b0
UD
101182011-06-15 Ulrich Drepper <drepper@gmail.com>
10119
77fb9117
UD
10120 * Makeconfig: Define vardbdir and inst_vardbdir.
10121 * nss/Makefile: Add rules to install db-Makefile.
10122
40c1b22c
UD
10123 * nss/nss_db/db-XXX.c: Cleanup.
10124
9f2da732
UD
10125 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10126 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10127 GLIBC_PRIVATE.
10128 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10129 * nss/makedb.c: Implement -g option to specify that value strings
10130 are generated and should not be added to table iterated over for
10131 get*ent calls.
10132 * nss/nss_db/db-initgroups.c: New file.
10133
82e9a1f7
UD
10134 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10135 interface.
10136
c41af17e
UD
10137 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10138 (internal_getgrouplist): Adjust to name change.
10139 Update use_initgroups_entry if this is not the first call.
10140 * nss/databases.def: Add initgroups entry.
10141
a9e836b0
UD
10142 * nss/makedb.c (compute_tables): Check result of multiple hash table
10143 sizes to minimize maximum chain length.
10144
2666d441
UD
101452011-06-14 Ulrich Drepper <drepper@gmail.com>
10146
10147 * Versions.def: Add entry for libnss_db.
10148 * shlib-versions: Likewise.
10149 * nss/Makefile: Add rules to build libnss_db.
10150 * nss/Versions: Add libnss_db information. Organize libnss_files
10151 entries better.
10152 * nss/db-Makefile: Add gshadow support. Change rules for the new
10153 makedb progra. Some minor improvements to generate smaller files.
10154 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10155 here from...
10156 * nss/makedb.c: ...here.
10157 Improve database format to be smaller and require less memory at
10158 runtime.
10159 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10160 db anymore.
10161 * nss/nss_db/db-netgrp.c: Likewise.
10162 * nss/nss_db/db-open.c: Likewise.
10163 * nss/nss_files/flies-XXX.x: Adjust comments.
10164 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10165 * nss/nss_files/files-grp.c: Likewise.
10166 * nss/nss_files/files-hosts.c: Likewise.
10167 * nss/nss_files/files-network.c: Likewise.
10168 * nss/nss_files/files-proto.c: Likewise.
10169 * nss/nss_files/files-pwd.c: Likewise.
10170 * nss/nss_files/files-rpc.c: Likewise.
10171 * nss/nss_files/files-service.c: Likewise.
10172 * nss/nss_files/files-sgrp.c: Likewise.
10173 * nss/nss_files/files-spwd.c: Likewise.
10174 * nss/nss_db/db-alias.c: Removed.
10175 * nss/nss_db/dummy-db.h: Removed.
10176
9ee76b5a
UD
101772011-06-02 Ulrich Drepper <drepper@gmail.com>
10178
10179 * nss/makedb.c: Rewritten to not use database library.
10180 * nss/Makefile: Update to build new makedb program.
10181
c71ca1f8
AJ
101822011-06-14 Andreas Jaeger <aj@suse.de>
10183
10184 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10185 memset declaration.
10186
3154bfb8
UD
101872011-06-10 Andreas Schwab <schwab@redhat.com>
10188
10189 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10190 tmpbuf.
10191
b350afab
RM
101922011-06-10 Roland McGrath <roland@hack.frob.com>
10193
decd4e50
RM
10194 * Makerules (shlib.lds): Fail if the linker script comes out empty.
10195 * elf/Makefile ($(objpfx)ld.so): Likewise.
10196
5615eaf2
RM
10197 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10198 Don't list ld.so twice in dependencies.
10199
10200 * posix/bug-regex31.c: Include <stdlib.h>.
10201
10202 * nscd/hstcache.c (cache_addhst): Remove unused variable.
10203
10204 * nis/nss_compat/compat-spwd.c
10205 (getspent_next_nss_netgr): Remove unused variable.
10206 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10207
10208 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10209 nonmembers" output to use the right array.
10210
10211 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10212
10213 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10214
10215 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10216 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10217 * catgets/gencat.c (read_input_file): Likewise.
10218 * locale/programs/locarchive.c (enlarge_archive): Likewise.
10219
10220 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10221 variable definition inside #if's controlling its use.
10222
10223 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10224
10225 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10226
10227 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10228
10229 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10230 unreachable code.
10231
10232 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10233
b68e08db
RM
10234 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10235 * configure: Regenerated.
10236
b350afab
RM
10237 * Makerules: Revert last change.
10238 * elf/Makefile: Likewise.
10239
28368601
RM
102402011-06-09 Roland McGrath <roland@hack.frob.com>
10241
10242 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10243 * elf/Makefile ($(objpfx)librtld.os): Likewise.
10244 (reloc-link): Likewise.
10245
11988f8f
UD
102462011-06-09 Ulrich Drepper <drepper@gmail.com>
10247
10248 * elf/Makefile: Add rules to build pldd.
10249 * elf/pldd.c: New file.
10250 * elf/pldd-xx.c: New file.
10251
e80fab37
UD
102522011-06-07 Ulrich Drepper <drepper@gmail.com>
10253
10254 * version.h: Update for 2.15 development version.
10255
9b849836
DM
102562011-06-07 David S. Miller <davem@davemloft.net>
10257
10258 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10259 ifuncs.
10260 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10261 elf_machine_lazy_rel): Likewise.
10262 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10263 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10264 elf_machine_lazy_rel): Likewise.
10265 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10266 dl_hwcap via passed in argument.
10267 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10268 Likewise.
10269
5a31b283
AK
102702011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10271
10272 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
10273
069e52f8
RM
102742011-06-06 Roland McGrath <roland@hack.frob.com>
10275
10276 [BZ #12849]
10277 * manual/fdl-1.1.texi: New file, verbatim from:
10278 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10279 * manual/lgpl-2.1.texi: New file, verbatim from:
10280 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10281 * manual/Makefile (licenses): New variable, list those new file names.
10282 (texis): Use it.
10283 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10284
10285 * manual/fdl.texi: File removed.
10286 * manual/lesser.texi: File removed.
10287 * manual/libc.texinfo (Copying, Documentation License):
10288 Use new @include file names, put @appendix directive before @include.
10289
f16846a5
JJ
102902011-06-04 Jakub Jelinek <jakub@redhat.com>
10291
10292 [BZ #12841]
10293 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10294 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10295 (mq_open): Add __NTH.
10296
3d29045b
L
102972011-06-02 H.J. Lu <hongjiu.lu@intel.com>
10298
10299 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10300 Assume Intel Core i3/i5/i7 processor if AVX is available.
10301
8c297311
UD
103022011-05-31 Ulrich Drepper <drepper@gmail.com>
10303
10304 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10305 typo.
10306
c8fc0c91
UD
103072011-05-31 Andreas Schwab <schwab@redhat.com>
10308
10309 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10310 memory. Use alloca_account. Fix memory leak when retrying.
10311
5b27a807
UD
103122011-05-31 Ulrich Drepper <drepper@gmail.com>
10313
356f8bc6
UD
10314 * version.h (RELEASE): Bump for 2.14 release.
10315 * include/features.h (__GLIBC_MINOR__): Bump to 14.
10316
5b27a807
UD
10317 * config.make.in (RANLIB): Remove entry.
10318
01f16ab0
UD
103192011-05-30 Ulrich Drepper <drepper@gmail.com>
10320
41fce8bd
UD
10321 * po/Makefile (po-sed-cmd): Add ksh to extensions.
10322 (libc.pot): Work around missing support for .ksh extension in xgettext.
10323
4769ae77
UD
10324 [BZ #12684]
10325 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
10326 if both request failed.
10327 (send_dg): In case of server errors clear resplen or *resplen2.
10328
6b1e7d19
UD
10329 [BZ #12454]
10330 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
10331 when there are multiple maps.
10332 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
10333 (_dl_fini): Remove test here.
10334
01f16ab0
UD
10335 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
10336
b1ebd700
UD
103372011-05-29 Ulrich Drepper <drepper@gmail.com>
10338
7ae22829
UD
10339 [BZ #12350]
10340 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
10341 bit from old_res_options.
10342 (gaih_inet): Likewise.
10343
553149f6 10344 [BZ #11099]
18a84741 10345 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
10346 as signed.
10347
652ffab1
UD
10348 * resolv/res_init.c (res_setoptions): Make the code more compact.
10349
16985fd0
UD
10350 [BZ #11558]
10351 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
10352 set RES_USEVC.
10353
0464f746
UD
10354 [BZ #11634]
10355 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
10356
7d17596c
UD
10357 * malloc/malloc.h: Mark malloc hook variables as deprecated.
10358
cf6bbbd7
UD
10359 [BZ #11781]
10360 * malloc/malloc.h: Declare malloc hook variables as volatile.
10361
13f1ab36
UD
10362 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
10363 in last patch.
10364
b1ebd700
UD
10365 [BZ #11799]
10366 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 10367 raise in the comment.
80e2212d
UD
10368 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10369 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10370 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 10371
ce67228d
UD
103722011-05-28 Ulrich Drepper <drepper@gmail.com>
10373
8887a920
UD
10374 [BZ #12811]
10375 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
10376 grow the buffers more if it already has to be sufficient.
10377 (build_wcs_upper_buffer): Likewise.
10378 * posix/regexec.c (check_matching): Likewise.
10379 (clean_state_log_if_needed): Likewise.
10380 (extend_buffers): Don't enlarge buffers beyond size of the input
10381 buffer.
10382 Patches mostly by Emil Wojak <emil@wojak.eu>.
10383 * posix/bug-regex32.c: New file.
10384 * posix/Makefile (tests): Add bug-regex32.
10385
4f031072
UD
10386 * locale/findlocale.c (_nl_find_locale): Return right away if
10387 _nl_explode_name failed.
10388 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10389
d0478f0c
UD
10390 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
10391
de81b246
UD
10392 * debug/xtrace.sh: Unify messages.
10393 * malloc/memusage.sh: Likewise.
10394
c738465a
UD
10395 [BZ #12813]
10396 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
10397 time symbol from vDSO. Substitute with vsyscall if not available.
10398 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
10399 __vdso_time.
10400
f1f929d7
UD
10401 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
10402 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
10403 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
10404 Add sendmmsg and internal_sendmmsg.
10405 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
10406 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
10407 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
10408
ce67228d
UD
10409 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
10410 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
10411 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
10412
e57420c6
UD
104132011-05-27 Ulrich Drepper <drepper@gmail.com>
10414
a8509ca5
UD
10415 [BZ #12813]
10416 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
10417 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
10418 available.
10419 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
10420 __vdso_getcpu.
10421
e57420c6
UD
10422 [BZ #12814]
10423 * iconvdata/Makefile (tests): Add bug-iconv9.
10424 * iconvdata/bug-iconv9.c: New file.
10425
4d07db15
AS
104262011-05-27 Andreas Schwab <schwab@redhat.com>
10427
10428 [BZ #12814]
10429 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
10430
ea486f69
JJ
104312011-05-25 Jakub Jelinek <jakub@redhat.com>
10432
10433 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10434 (struct user_regs_struct): Change intcs field back to cs.
10435
6f038433
UD
104362011-05-25 Ulrich Drepper <drepper@gmail.com>
10437
10438 * po/ja.po: Update from translation team.
10439
67f86a25
UD
104402011-05-23 Ulrich Drepper <drepper@gmail.com>
10441
10442 [BZ #12795]
10443 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
10444 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
10445
def7fbd6
AS
104462011-05-20 Andreas Schwab <schwab@redhat.com>
10447
10448 * stdlib/longlong.h: Update from GCC.
10449
f50ef8f1
AS
104502011-05-23 Andreas Schwab <schwab@redhat.com>
10451
10452 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
10453 parameter name.
10454 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
10455 Add parameter name.
10456 (__sysconf): Pass it down.
10457
de7ce8f1
UD
104582011-05-22 Ulrich Drepper <drepper@gmail.com>
10459
f2962a71
UD
10460 [BZ #12671]
10461 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
10462 some situations.
10463 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10464 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
10465 add in in __libc_use_alloca calls. Adjust callers.
10466 (glob): Use malloc in some situations.
10467
de7ce8f1
UD
10468 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
10469 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
10470 pltexit.
10471
aec84f53
UD
104722011-05-21 Ulrich Drepper <drepper@gmail.com>
10473
05bb4a68
UD
10474 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
10475 and CLOCK_BOOTTIME_ALARM.
10476
7ea72f99
UD
10477 [BZ #12782]
10478 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
10479 is returned.
10480
7e4afad5
UD
10481 * string/_strerror.c (__strerror_r): Print negative errors as signed
10482 numbers.
10483
8e211fec
UD
10484 [BZ #12777]
10485 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
10486 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
10487 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
10488
f7d82dc9
UD
10489 * configure.in: Fix typo in redirection and correct removal of test
10490 files in two cases.
10491
cc9e536d
UD
10492 [BZ #12788]
10493 * locale/setlocale.c (new_composite_name): Fix test to check for
10494 identical name of all categories.
10495
aec84f53
UD
10496 [BZ #12792]
10497 * libio/filedoalloc.c (local_isatty): New function.
10498 (_IO_file_doallocate): Use local_isatty.
10499 * stdio-common/perror.c (perror): In case a new stream is used
10500 forward the stream error.
10501 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
10502 error flag.
10503
78e64fdc
RT
105042011-05-20 Ulrich Drepper <drepper@gmail.com>
10505
34a9094f
UD
10506 [BZ #11869]
10507 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
10508 alloca.
10509 * include/alloca.h (extend_alloca_account): Define.
10510
78e64fdc
RT
10511 [BZ #11857]
10512 * posix/regex.h: Fix comments with documentation of user-accessible
10513 fields after compilation and describe correct free'ing of pattern
10514 after re_compile_pattern.
10515 Patch by Reuben Thomas <rrt@sc3d.org>.
10516
457bddfc
RA
105172011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
10518
10519 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
10520 and -mno-altivec to prevent the compiler from using Altivec and/or
10521 VSX instructions when the corresponding registers are not available.
10522
a4527b51
AS
105232011-05-19 Andreas Schwab <schwab@redhat.com>
10524
10525 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
10526
ed690b2f
UD
105272011-05-19 Ulrich Drepper <drepper@gmail.com>
10528
10529 * libio/freopen.c (freopen): Use __dup2, not dup2.
10530 * libio/freopen64.c (freopen64): Likewise.
10531
8db73634
L
105322011-05-17 H.J. Lu <hongjiu.lu@intel.com>
10533
10534 [BZ #12775]
10535 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
10536 * math/Makefile (tests): Add test-powl.
10537 (CFLAGS-test-powl.c): Define.
10538 * math/test-powl.c: New file.
10539
0a197a9d
L
105402011-05-16 H.J. Lu <hongjiu.lu@intel.com>
10541
10542 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
10543
ee30c380
UD
105442011-05-17 Ulrich Drepper <drepper@gmail.com>
10545
10546 [BZ #11837]
10547 * iconvdata/gb18030.c: Update to GB18020-2005.
10548
6ce75379
UD
105492011-05-16 Ulrich Drepper <drepper@gmail.com>
10550
a4b89fd8
AR
10551 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
10552 RE_SYNTAX_POSIX_AWK): Update to match recent development.
10553 Patch by Aharon Robbins <arnold@skeeve.com>.
10554
ea389b12
UD
10555 [BZ #11892]
10556 * stdlib/putenv.c (putenv): Don't always create copy of the variable
10557 on the stack.
10558
68a3f91f
UD
10559 [BZ #11895]
10560 * misc/pselect.c (__pselect): Handle timeout value errors hidden
10561 through underflows.
10562
15cc7dd1
UD
10563 [BZ #12766]
10564 * misc/error.c (error_at_line): Ensure file_name and old_file_name
10565 point to strings before performing equality test for error_one_per_line
10566 mode.
10567
f3799213
UD
10568 [BZ #11697]
10569 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
10570
d79a9c94
UD
10571 [BZ #11820]
10572 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10573 (struct user_fpregs_struct): Avoid __uint*_t types.
10574
56e5eb46
UD
10575 [BZ #6420]
10576 * malloc/mtrace.c (tr_where): Add additional parameter to point to
10577 symbol info. Use it instead of calling _dl_addr locally.
10578 (lock_and_info): New function.
10579 (tr_freehook): Call lock_and_info and pass symbol info as additional
10580 parameter to tr_where.
10581 (tr_mallochook): Likewise.
10582 (tr_reallochook): Likewise.
10583 (tr_memalignhook): Likewise.
10584
6ce75379
UD
10585 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
10586 used and couldn't be at all thread-safe.
10587
f8a3b5bf
UD
105882011-05-15 Ulrich Drepper <drepper@gmail.com>
10589
94b7cc37
UD
10590 * libio/freopen.c (freopen): Don't close old file descriptor
10591 before the new one is opened. Instead dup the new file descriptor
10592 to the old one after the new stream is created.
10593 * libio/freopen64.c (freopen64): Likewise.
10594 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
10595 * libio/fileops.c (_IO_new_file_close_it): Handle new
10596 _IO_FLAGS2_NOCLOSE flag.
10597 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
10598 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
10599 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
10600 _IO_FLAGS2_NOCLOSE flag.
10601 * include/unistd.h: Add hidden_proto for dup3.
10602 Define __have_dup3.
10603 * io/dup3.c: Define hidden symbol.
10604 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
10605
bd25564e
UD
10606 [BZ #7101]
10607 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
10608 when an incomplete long option is used.
10609 * posix/tst-getopt_long1.c: New file.
10610 * posix/Makefile (tests): Add tst-getopt_long1.
10611
c84cfef4
UD
10612 [BZ #10138]
10613 * scripts/config.guess: Update from autoconf-2.68.
10614 * scripts/config.sub: Likewise.
10615
3b85df27
UD
10616 [BZ #10157]
10617 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
10618 tests into ...
10619 (has_cpuclock): ...this. New function.
10620 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
10621 macro here based on has_cpuclock code.
10622
15a856b1
UD
10623 [BZ #10149]
10624 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10625 First byte (not low byte) is now always NUL.
10626 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
10627
05f399e6
UD
10628 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10629 Use non-cancelable interfaces.
10630
10a52685 10631 [BZ #9809]
94ecc67d
UD
10632 * locale/iso-639.def: Add entry for Sorani.
10633
f8a3b5bf
UD
10634 [BZ #11901]
10635 * include/stdlib.h: Move include protection to the right place.
10636 Define abort_msg_s. Declare __abort_msg with it.
10637 * stdlib/abort.c (__abort_msg): Adjust type.
10638 * assert/assert.c (__assert_fail_base): New function. Majority
10639 of code from __assert_fail. Allocate memory for __abort_msg with
10640 mmap.
10641 (__assert_fail): Now call __assert_fail_base.
10642 * assert/assert-perr.c: Remove bulk of implementation. Use
10643 __assert_fail_base.
10644 * include/assert.hL Declare __assert_fail_base.
10645 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
10646 mmap.
10647 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
10648
1af4e298
UD
106492011-05-14 Ulrich Drepper <drepper@gmail.com>
10650
f8a3b5bf 10651 [BZ #11952]
d26dfc60
MG
10652 [BZ #12453]
10653 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
10654 until all modules are registered in the DTV.
10655 * elf/Makefile: Add rules to build and run tst-tls19.
10656 * elf/tst-tls19.c: New file.
10657 * elf/tst-tls19mod1.c: New file.
10658 * elf/tst-tls19mod2.c: New file.
10659 * elf/tst-tls19mod3.c: New file.
10660 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
10661
2fc54d6f
UD
10662 [BZ #12083]
10663 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
10664 correctly.
10665
98d76b46
UD
10666 [BZ #12601]
10667 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
10668 two-byte sequence errors.
10669 * iconvdata/Makefile (tests): Add bug-iconv8.
10670 * iconvdata/bug-iconv8.c: New file.
10671
da3c19ef
UD
10672 [BZ #12626]
10673 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
10674 buf2 definition.
10675
ca408c15
UD
10676 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
10677
d6f67f7d
UD
10678 [BZ #12432]
10679 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
10680 (dummy_getcfa): New function.
10681 (init): Get _Unwind_GetCFA address, use dummy if not found.
10682 (backtrace_helper): In recursion check, also check whether CFA changes.
10683 (__backtrace): Completely initialize arg.
10684
1af4e298 10685 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
10686 storing incomplete byte sequence in state object. Avoid testing for
10687 guaranteed too small input if we know there is enough data available.
1af4e298 10688
da62f81b
AS
106892011-05-11 Andreas Schwab <schwab@redhat.com>
10690
10691 * Makeconfig (+link-pie): Indent.
10692 * Rules (binaries-pie): Define if $(have-fpie) and
10693 $(build-shared).
10694 (binaries-shared): Also filter out $(binaries-pie).
10695 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
10696 * nscd/Makefile (others-pie): Add nscd.
10697 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
10698 ($(objpfx)nscd): Remove command override.
10699 * login/Makefile (others-pie): Add pt_chown.
10700 ($(objpfx)pt_chown): Remove command override.
10701 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
10702 remove command overrides.
10703
fcabc0f8
UD
107042011-05-13 Ulrich Drepper <drepper@gmail.com>
10705
20030ae6
UD
10706 * libio/tst_putwc.c: Fix error messages.
10707
fcabc0f8
UD
10708 [BZ #12724]
10709 * libio/fileops.c (_IO_new_file_close_it): Always flush when
10710 currently writing and seek to current position when not.
10711 * libio/Makefile (tests): Add bug-fclose1.
10712 * libio/bug-fclose1.c: New file.
10713
320a5dc0
PB
107142011-05-12 Ulrich Drepper <drepper@gmail.com>
10715
10716 [BZ #12511]
10717 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
10718 don't set DF_1_NODELETE here.
10719 (do_lookup_x): When entering new entry test for copy relocation
10720 and if necessary set DF_1_NODELETE flag.
10721 * elf/tst-unique4.cc: New file.
10722 * elf/tst-unique4.h: New file.
10723 * elf/tst-unique4lib.cc: New file.
10724 * elf/Makefile: Add rules to build and run tst-unique4.
10725 Patch by Piotr Bury <pbury@goahead.com>.
10726
22836f52
UD
107272011-05-11 Ulrich Drepper <drepper@gmail.com>
10728
f574184a
UD
10729 [BZ #12052]
10730 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
10731
e1fb097f
UD
10732 [BZ #12625]
10733 * misc/mntent_r.c (addmntent): Flush the stream after the output
10734
22836f52
UD
10735 [BZ #12393]
10736 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
10737 (is_trusted_path_normalize): Skip initial colon. Append slash
10738 to empty buffer. Duplicate is_trusted_path code but allow
10739 constructed patch to be prefix.
10740 (is_dst): Allow $ORIGIN followed by /.
10741 (_dl_dst_substitute): Correct clearing of check_for_trusted.
10742 Correct testing of result of is_trusted_path_normalize
10743 (decompose_rpath): Fix warning.
10744
7b3b0b2a
UD
107452011-05-10 Ulrich Drepper <drepper@gmail.com>
10746
10747 [BZ #11257]
10748 * grp/initgroups.c (internal_getgrouplist): When we found the service
10749 list through the initgroups entry in nsswitch.conf do not always
10750 continue on a successful lookup. Don't always use the
eac80ce2 10751 __nss_group_database value if it is set.
7b3b0b2a
UD
10752 * nss/nsswitch.conf (initgroups): Change action for successful db
10753 lookup to continue for compatibility.
10754
2a81eaa5
UD
107552011-05-09 Ulrich Drepper <drepper@gmail.com>
10756
be97a69e
UD
10757 [BZ #11532]
10758 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
10759 and CP774 modules.
10760 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
10761 and CP774 modules.
10762 * iconvdata/tst-tables.sh: Likewise.
10763 * iconvdata/cp770.c: New file.
10764 * iconvdata/cp771.c: New file.
10765 * iconvdata/cp772.c: New file.
10766 * iconvdata/cp773.c: New file.
10767 * iconvdata/cp774.c: New file.
10768 * iconvdata/testdata/CP770: New file.
10769 * iconvdata/testdata/CP770..UTF8: New file.
10770 * iconvdata/testdata/CP771: New file.
10771 * iconvdata/testdata/CP771..UTF8: New file.
10772 * iconvdata/testdata/CP772: New file.
10773 * iconvdata/testdata/CP772..UTF8: New file.
10774 * iconvdata/testdata/CP773: New file.
10775 * iconvdata/testdata/CP773..UTF8: New file.
10776 * iconvdata/testdata/CP774: New file.
10777 * iconvdata/testdata/CP774..UTF8: New file.
10778
10779 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
10780 END CHARMAP line.
10781 * iconvdata/gen-8bit-gap.sh: Likewise.
10782 * iconvdata/gen-8bit.sh: Likewise.
10783
c1e9e399
UD
10784 * locale/iso-639.def: Add ary entry.
10785
24c55fb3 10786 [BZ #11258]
96b4b1b0
UD
10787 * locale/C-translit.h.in: Add U20A1 transliteration.
10788
bdc2f971
KB
10789 [BZ #12178]
10790 * locale/iso-639.def: Add wae entry.
10791 Patch by Kevin Bortis <bortis@translate-wae.ch>.
10792
2952b117
UD
10793 [BZ #12545]
10794 * locale/programs/localedef.c (construct_output_path): Use ssize_t
10795 for n.
10796
2a81eaa5
UD
10797 [BZ #12711]
10798 * locale/C-translit.h.in: Add entry for U20B9.
10799 Patch by pravin.d.s@gmail.com.
10800
28377d1b
UD
108012011-05-08 Ulrich Drepper <drepper@gmail.com>
10802
7fb90fb8
UD
10803 [BZ #12713]
10804 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
10805 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
10806 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
10807 in rtld. Use *stat64.
7fb90fb8 10808 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 10809 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 10810 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
10811 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
10812 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
10813 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
10814 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
10815 __fstatat64 macros.
7fb90fb8
UD
10816 * include/dirent.h: Add libc_hidden_proto for rewinddir.
10817 * dirent/rewinddir.c: Add libc_hidden_def.
10818 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 10819 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 10820
28377d1b
UD
10821 * include/dirent.h (__alloc_dir): Add flags parameter.
10822 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
10823 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
10824 __alloc_dir.
10825 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
10826 from fdopendir if O_CLOEXEC is already set.
10827
66bdbaa4
AM
108282011-03-15 Alan Modra <amodra@gmail.com>
10829
10830 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
10831 l_tls_firstbyte_offset non-zero. Save padding offset in
10832 l_tls_firstbyte_offset for later use.
10833 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
10834 freeing static tls block.
10835
95721191
JN
108362011-03-05 Jonathan Nieder <jrnieder@gmail.com>
10837
10838 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
10839 where #ifdef was intended. The intent is to prevent ARG_MAX from
10840 being defined by the kernel headers.
10841
f87dfb1f
UD
108422011-05-07 Ulrich Drepper <drepper@gmail.com>
10843
10844 [BZ #12734]
10845 * resolv/resolv.h: Define RES_NOTLDQUERY.
10846 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
10847 no-tld-query and set RES_NOTLDQUERY.
10848 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
10849 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
10850 modern BIND to search name as TLD unless forbidden.
10851
47c3cd7a
UD
108522011-05-07 Petr Baudis <pasky@suse.cz>
10853 Ulrich Drepper <drepper@gmail.com>
10854
10855 [BZ #12393]
10856 * elf/dl-load.c (fillin_rpath): Move trusted path check...
10857 (is_trusted_path): ...to here.
c1e9ea35 10858 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 10859 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 10860 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 10861
8a35c912
PP
108622011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10863
10864 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
10865 __BEGIN/__END_DECLS.
10866
acd41f47
UD
108672011-05-06 Ulrich Drepper <drepper@gmail.com>
10868
10869 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
10870 NSS_STATUS_NOTFOUND if no record was found.
10871
597df647
AS
108722011-05-05 Andreas Schwab <schwab@redhat.com>
10873
10874 * sunrpc/Makefile (headers): Add rpc/netdb.h.
10875 (headers-not-in-tirpc): Remove rpc/netdb.h
10876 * resolv/netdb.h: Revert last change.
10877
b9af1301
PP
108782011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10879
10880 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
10881 circular dependency between libgcc.a and libc.a.
10882
4e34d5f5
AS
108832011-05-05 Andreas Schwab <schwab@redhat.com>
10884
10885 * resolv/netdb.h: Don't include <rpc/netdb.h>.
10886 * nis/Makefile: Don't install rpcsvc/*.
10887 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
10888 instead of <rpc/types.h>.
10889 (MAXHOSTNAMELEN): Define.
10890
00ee369c
AS
108912011-05-03 Andreas Schwab <schwab@redhat.com>
10892
10893 * elf/ldconfig.c (add_dir): Don't crash on empty path.
10894
0b592a30
MB
108952011-04-28 Maciej Babinski <mbabinski@google.com>
10896
10897 [BZ #12714]
10898 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
10899 gethostbyname4_r when IPv6 results are possible.
10900
6e04cbbe
UD
109012011-05-02 Ulrich Drepper <drepper@gmail.com>
10902
10903 [BZ #12723]
10904 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
10905 _PC_PIPE_BUF handling.
10906
e4ecafe0
BH
109072011-04-30 Bruno Haible <bruno@clisp.org>
10908
10909 [BZ #12717]
10910 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
10911 * resolv/netdb.h (getnameinfo): Change type of flags parameter
10912 to 'int'.
10913 * inet/getnameinfo.c (getnameinfo): Likewise.
10914
125ee683
UD
109152011-04-29 Ulrich Drepper <drepper@gmail.com>
10916
10917 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
10918 to groups setting in database lookup.
10919 * nss/nsswitch.conf: Add initgroups entry.
10920
b722481a
EB
109212011-04-22 Ulrich Drepper <drepper@gmail.com>
10922
10923 [BZ #12685]
10924 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
10925 mode string.
10926 Patch by Eric Blake <eblake@redhat.com>.
10927
4df46dbd
L
109282011-04-20 H.J. Lu <hongjiu.lu@intel.com>
10929
10930 * sunrpc/Makefile (need-export-routines): Add svc_run.
10931 (routines): Remove svc_run.
10932 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
10933 * sunrpc/clnt_perr.c (clnt_perrno): Export.
10934 * sunrpc/svc_run.c (svc_run): Likewise.
10935 * sunrpc/svc_udp.c (svcudp_create): Likewise.
10936
e84142d2
UD
109372011-04-21 Ulrich Drepper <drepper@gmail.com>
10938
10939 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
10940 problem in reallocation in last patch.
10941
877175d8
UD
109422011-04-20 Ulrich Drepper <drepper@gmail.com>
10943
10944 * sunrpc/Makefile: Move inclusion of Rules.
10945
ab8eed78
UD
109462011-04-19 Ulrich Drepper <drepper@gmail.com>
10947
10948 * nss/nss_files/files-initgroups.c: New file.
10949 * nss/Makefile (libnss_files-routines): Add files-initgroups.
10950 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
10951 _nss_files_initgroups_dyn.
10952
e3d8f584
RS
109532011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
10954
10955 * elf/elf.h (R_ARM_IRELATIVE): Define.
10956
af190f45
UD
109572011-04-19 Ulrich Drepper <drepper@gmail.com>
10958
10959 * po/ru.po: Update from translation team.
10960
53cf59ef
UD
109612011-04-17 Ulrich Drepper <drepper@gmail.com>
10962
10963 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
10964 dependencies.
10965
4c559bcd
MF
109662011-02-06 Mike Frysinger <vapier@gentoo.org>
10967
10968 [BZ #12653]
10969 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
10970 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
10971 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10972 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10973 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10974
4420675c
AS
109752011-03-28 Andreas Schwab <schwab@linux-m68k.org>
10976
10977 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
10978 differing bytes.
10979 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10980 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10981 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10982
75ea32ab
UD
109832011-04-17 Ulrich Drepper <drepper@gmail.com>
10984
10985 [BZ #12420]
10986 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
10987 storing it.
10988 * stdlib/bug-getcontext.c: New file.
10989 * stdlib/Makefile: Add rules to build and run bug-getcontext.
10990
27390476
AK
109912011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10992
10993 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
10994 instructions into .machine "z9-109".
10995 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10996 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10997
10442705
AK
109982011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10999
11000 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11001 between environment variables and auxiliary vector.
11002
7b57bfe5
UD
110032011-04-16 Ulrich Drepper <drepper@gmail.com>
11004
11005 * Makefile: Add rules to build linkobj/libc.so.
11006 * include/libc-symbols.h: Define libc_hidden_nolink.
11007 * include/rpc/auth.h: Mark functions which are to be hidden.
11008 * include/rpc/auth_des.h: Likewise.
11009 * include/rpc/auth_unix.h: Likewise.
11010 * include/rpc/clnt.h: Likewise.
11011 * include/rpc/des_crypt.h: Likewise.
11012 * include/rpc/key_prot.h: Likewise.
11013 * include/rpc/pmap_clnt.h: Likewise.
11014 * include/rpc/pmap_prot.h: Likewise.
11015 * include/rpc/pmap_rmt.h: Likewise.
11016 * include/rpc/rpc_msg.h: Likewise.
11017 * include/rpc/svc.h: Likewise.
11018 * include/rpc/svc_auth.h: Likewise.
11019 * include/rpc/xdr.h: Likewise.
11020 * nis/Makefile: Link all DSOs against linkobj/libc.so.
11021 * nss/Makefile: Likewise.
11022 * sunrpc/Makefile: Don't install headers. Build library with normal
11023 entry points. Don't build rpcinfo. Link RPC tests appropriately.
11024 * sunrpc/auth_des.c: Hide exported symbols by default, export some
11025 for the compat linking library. Remove use of INTDEF/INTUSE.
11026 * sunrpc/auth_none.c: Likewise.
11027 * sunrpc/auth_unix.c: Likewise.
11028 * sunrpc/authdes_prot.c: Likewise.
11029 * sunrpc/authuxprot.c: Likewise.
11030 * sunrpc/clnt_gen.c: Likewise.
11031 * sunrpc/clnt_perr.c: Likewise.
11032 * sunrpc/clnt_raw.c: Likewise.
11033 * sunrpc/clnt_simp.c: Likewise.
11034 * sunrpc/clnt_tcp.c: Likewise.
11035 * sunrpc/clnt_udp.c: Likewise.
11036 * sunrpc/clnt_unix.c: Likewise.
11037 * sunrpc/des_crypt.c: Likewise.
11038 * sunrpc/des_soft.c: Likewise.
11039 * sunrpc/get_myaddr.c: Likewise.
11040 * sunrpc/key_call.c: Likewise.
11041 * sunrpc/key_prot.c: Likewise.
11042 * sunrpc/netname.c: Likewise.
11043 * sunrpc/pm_getmaps.c: Likewise.
11044 * sunrpc/pm_getport.c: Likewise.
11045 * sunrpc/pmap_clnt.c: Likewise.
11046 * sunrpc/pmap_prot.c: Likewise.
11047 * sunrpc/pmap_prot2.c: Likewise.
11048 * sunrpc/pmap_rmt.c: Likewise.
11049 * sunrpc/publickey.c: Likewise.
11050 * sunrpc/rpc_cmsg.c: Likewise.
11051 * sunrpc/rpc_common.c: Likewise.
11052 * sunrpc/rpc_dtable.c: Likewise.
11053 * sunrpc/rpc_prot.c: Likewise.
11054 * sunrpc/rpc_thread.c: Likewise.
11055 * sunrpc/rtime.c: Likewise.
11056 * sunrpc/svc.c: Likewise.
11057 * sunrpc/svc_auth.c: Likewise.
11058 * sunrpc/svc_authux.c: Likewise.
11059 * sunrpc/svc_raw.c: Likewise.
11060 * sunrpc/svc_run.c: Likewise.
11061 * sunrpc/svc_simple.c: Likewise.
11062 * sunrpc/svc_tcp.c: Likewise.
11063 * sunrpc/svc_udp.c: Likewise.
11064 * sunrpc/svc_unix.c: Likewise.
11065 * sunrpc/svcauth_des.c: Likewise.
11066 * sunrpc/xcrypt.c: Likewise.
11067 * sunrpc/xdr.c: Likewise.
11068 * sunrpc/xdr_array.c: Likewise.
11069 * sunrpc/xdr_float.c: Likewise.
11070 * sunrpc/xdr_intXX_t.c: Likewise.
11071 * sunrpc/xdr_mem.c: Likewise.
11072 * sunrpc/xdr_rec.c: Likewise.
11073 * sunrpc/xdr_ref.c: Likewise.
11074 * sunrpc/xdr_sizeof.c: Likewise.
11075 * sunrpc/xdr_stdio.c: Likewise.
11076
e6c61494
UD
110772011-04-10 Ulrich Drepper <drepper@gmail.com>
11078
11079 [BZ #12650]
11080 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11081 * sysdeps/ia64/dl-tls.h: Likewise.
11082 * sysdeps/powerpc/dl-tls.h: Likewise.
11083 * sysdeps/s390/dl-tls.h: Likewise.
11084 * sysdeps/sh/dl-tls.h: Likewise.
11085 * sysdeps/sparc/dl-tls.h: Likewise.
11086 * sysdeps/x86_64/dl-tls.h: Likewise.
11087 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11088
34fe483e
AS
110892011-03-14 Andreas Schwab <schwab@redhat.com>
11090
11091 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11092 rpath element also skip the following colon.
11093 (expand_dynamic_string_token): Add is_path parameter and pass
11094 down to DL_DST_REQUIRED and _dl_dst_substitute.
11095 (decompose_rpath): Call expand_dynamic_string_token with
11096 non-zero is_path. Ignore empty rpaths.
11097 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11098 with zero is_path.
11099
f12a32e6
AS
111002011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11101
11102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11103 Make cancelable.
11104
38a7d692
UD
111052011-04-09 Ulrich Drepper <drepper@gmail.com>
11106
11107 [BZ #12655]
11108 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11109 Patch by Filipe David Manana <fdmanana@apache.org>.
11110
e451d22b
AS
111112011-04-07 Andreas Schwab <schwab@redhat.com>
11112
11113 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11114 Maintain aligned stack.
11115 (CHECK_RSP): Remove unused macro.
11116
dedc7c7b
UD
111172011-04-03 Ulrich Drepper <drepper@gmail.com>
11118
11119 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11120 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11121
94521213
UD
111222011-04-02 Ulrich Drepper <drepper@gmail.com>
11123
11124 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11125
8cb700c0 11126 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 11127
0354e355
L
111282011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11129
11130 [BZ #12518]
11131 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11132 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11133 * sysdeps/x86_64/memmove.c: New file.
11134 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11135 (memcpy): Renamed to ...
11136 (__new_memcpy): This.
11137 (memcpy): Provide GLIBC_2_14 memcpy.
11138 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11139 (memcpy): Provide GLIBC_2_2_5 memcpy.
11140
8593482f
UD
111412011-04-01 Ulrich Drepper <drepper@gmail.com>
11142
11143 [BZ #12631]
11144 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11145
81a5726b
AS
111462011-03-30 Andreas Schwab <schwab@redhat.com>
11147
11148 * misc/syncfs.c: New file.
11149 * misc/Makefile (routines): Add syncfs.
11150 * posix/unistd.h: Declare syncfs.
11151 * sysdeps/unix/syscalls.list: Add syncfs.
11152
00e5419f
AS
111532011-04-01 Andreas Schwab <schwab@redhat.com>
11154
11155 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11156 open_by_handle_at.
11157 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11158 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11159 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11160 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11161 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11162 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11163 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11164
748876bf
UD
111652011-04-01 Ulrich Drepper <drepper@gmail.com>
11166
658e451d
UD
11167 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11168 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11169 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11170 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11171 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11172 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11173 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11174
748876bf
UD
11175 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11176 sync_file_range.c with -fexceptions.
11177 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11178 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11179 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11180 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11181 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11182 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11183 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
11184 sync_file_range as cancellation point
11185 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11186 now a wrapper around __call_sync_file_range with cancellation handling.
11187 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11188 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11189 function name to __call_sync_file_range.
11190 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11191 Add call_sync_file_range.
748876bf 11192
6e63d5e1
AS
111932011-04-01 Andreas Schwab <schwab@redhat.com>
11194
11195 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 11196 bits/timex.h.
6e63d5e1 11197
46998f74
UD
111982011-04-01 Ulrich Drepper <drepper@gmail.com>
11199
4c1423ed
UD
11200 * iconv/iconv.h: Fix typo in comment.
11201 * io/fcntl.h: Likewise.
11202 * libio/stdio.h: Likewise.
11203 * posix/spawn.h: Likewise.
11204 * posix/unistd.h: Likewise.
11205 * stdlib/stdlib.h: Likewise.
11206 * time/time.h: Likewise.
11207 * wcsmbs/wchar.h: Likewise.
11208
158648c0
UD
11209 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11210 open_by_handle): Add.
11211 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11212 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
11213 Augment a few comments.
11214 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11215 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11216 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11217 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11218 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11219 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11220 open_by_handle.
11221
46998f74
UD
11222 * io/fcntl.h (AT_EMPTY_PATH): Define.
11223
83fe108b
UD
112242011-03-30 Ulrich Drepper <drepper@gmail.com>
11225
11226 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11227 * sysdeps/unix/sysv/linux/bits/time.h: New file.
11228 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11229 to...
11230 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
11231 * Versions.def: Add GLIBC_2.14.
11232 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11233 Export.
83fe108b 11234
bb242059
UD
112352011-03-22 Ulrich Drepper <drepper@gmail.com>
11236
11237 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11238 round counter.
11239 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11240
c97a1282
L
112412011-03-20 H.J. Lu <hongjiu.lu@intel.com>
11242
11243 [BZ #12597]
11244 * string/test-strncmp.c (do_page_test): New function.
11245 (check2): Likewise.
11246 (test_main): Call check2.
11247 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11248
2a115601
UD
112492011-03-20 Ulrich Drepper <drepper@gmail.com>
11250
11251 [BZ #12587]
11252 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11253 Handle cache information in CPU leaf 4.
11254 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11255
8126d904
UD
112562011-03-18 Ulrich Drepper <drepper@gmail.com>
11257
042c49c6 11258 [BZ #12583]
8126d904
UD
11259 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11260 character representation.
11261 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11262
ccfe366e
RA
112632011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
11264
11265 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11266 END(__isnan) to END(__isnanf) to match function entry point/label
11267 EALIGN(__isnanf,...).
11268
c6e13027
JJ
112692011-03-10 Jakub Jelinek <jakub@redhat.com>
11270
11271 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11272
33f85a3f
UD
112732011-03-10 Ulrich Drepper <drepper@gmail.com>
11274
028478fa
UD
11275 [BZ #12510]
11276 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11277 copy from the symbol referenced in the relocation to initialize the
11278 used variable.
11279 Patch by Piotr Bury <pbury@goahead.com>.
11280 * elf/Makefile: Add rules to build and tst-unique3.
11281 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11282 * elf/tst-unique3.cc: New file.
11283 * elf/tst-unique3.h: New file.
11284 * elf/tst-unique3lib.cc: New file.
11285 * elf/tst-unique3lib2.cc: New file.
11286
33f85a3f
UD
11287 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11288
03592fc7
MF
112892011-03-10 Mike Frysinger <vapier@gentoo.org>
11290
11291 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11292 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
11293 to _start.
03592fc7 11294
6a5ee102
UD
112952011-03-06 Ulrich Drepper <drepper@gmail.com>
11296
11297 * elf/dl-load.c (_dl_map_object): If we are looking for the first
11298 to-be-loaded object along a path to loader is ld.so.
11299
7e4ba49c
HJ
113002011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11301 Ulrich Drepper <drepper@gmail.com>
11302
11303 * sysdeps/x86_64/memset.S: After aligning destination, code
11304 branches to different locations depending on the value of
11305 misalignment, when multiarch is enabled. Fix this.
11306
113072011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11308
11309 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11310 Set _x86_64_preferred_memory_instruction for AMD processsors.
11311 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11312 Set bit_Prefer_SSE_for_memop for AMD processors.
11313
13a804de
UD
113142011-03-04 Ulrich Drepper <drepper@gmail.com>
11315
11316 * libio/fmemopen.c (fmemopen): Optimize a bit.
11317
9d25c392
AS
113182011-03-03 Andreas Schwab <schwab@redhat.com>
11319
11320 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
11321
a5543c6a
RM
113222011-03-03 Roland McGrath <roland@redhat.com>
11323
11324 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
11325
012d35f7
DM
113262011-02-28 Aurelien Jarno <aurelien@aurel32.net>
11327
7e4ba49c 11328 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
11329 __bzero_ultra1 instead of __memset_ultra1.
11330
4bff6e01
AS
113312011-02-23 Andreas Schwab <schwab@redhat.com>
11332 Ulrich Drepper <drepper@gmail.com>
11333
11334 [BZ #12509]
11335 * include/link.h (struct link_map): Add l_orig_initfini.
11336 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
11337 returning unsuccessfully.
11338 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
11339 close of a file loaded at startup, restore the original l_initfini
11340 list.
11341 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
11342 list, store the pointer.
11343 * elf/Makefile ($(objpfx)noload-mem): New rule.
11344 (noload-ENV): Define.
11345 (tests): Add $(objpfx)noload-mem.
11346 * elf/noload.c: Include <memcheck.h>.
11347 (main): Call mtrace. Close all opened handles.
11348
f2092faf
AS
113492011-02-17 Andreas Schwab <schwab@redhat.com>
11350
11351 [BZ #12454]
11352 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
11353 dependencies are missing.
11354
6c8a2e88
ST
113552011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
11356
f2092faf 11357 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
11358 Hurd needs munmap.
11359 * sysdeps/mach/hurd/ifreq.h: New file.
11360
84a42118
PB
113612011-01-27 Petr Baudis <pasky@suse.cz>
11362 Ulrich Drepper <drepper@gmail.com>
11363
071f805e 11364 [BZ 12445]#
84a42118
PB
11365 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
11366 to extend_alloca().
11367 * stdio-common/bug23.c: New file.
11368 * stdio-common/Makefile (tests): Add bug23.
11369
e23fe25b
AS
113702010-09-28 Andreas Schwab <schwab@redhat.com>
11371 Ulrich Drepper <drepper@gmail.com>
11372
11373 [BZ #12489]
11374 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
11375 before performing relro protection. At old place add assertion
11376 to make sure nothing changed.
11377
d3f02e10
NS
113782011-02-17 Nathan Sidwell <nathan@codesourcery.com>
11379 Glauber de Oliveira Costa <glommer@gmail.com>
11380
11381 * elf/elf.h: Add new ARM TLS relocs.
11382
d55fd7a5
RA
113832011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
11384
11385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11386 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
11387 cast from r3.
11388 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
11389 'tests' variable.
11390 * sysdeps/wordsize-64/tst-writev.c: New file.
11391
2206397e
RA
113922011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
11393
11394 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
11395 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
11396 insns in _dl_start to prevent a TOC reference before relocs are
11397 resolved.
11398
e9433893
UD
113992011-02-15 Ulrich Drepper <drepper@gmail.com>
11400
11401 [BZ #12469]
11402 * Makeconfig: Remove RANLIB definition.
11403 * Makerules: Don't use RANLIB.
11404 * aclocal.m4: Remove ranlib test.
11405 * configure.in: No need to check for ranlib.
11406 * elf/rtld-Rules: Don't use RANLIB.
11407
f75286c6
ST
114082011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11409
8e31c82d
ST
11410 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
11411 protection macro.
11412 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
11413 inclusion protection macro.
11414
f75286c6
ST
11415 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
11416 SIGRTMIN and SIGRTMAX and print information in that case only when
11417 SIGRTMIN is defined.
11418
c1d0e639
JJ
114192011-02-11 Jakub Jelinek <jakub@redhat.com>
11420
11421 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
11422 arginfo fn returning -1.
11423
11424 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
11425 and thousands string is zero terminated.
11426
edf9294e
AS
114272011-02-03 Andreas Schwab <schwab@redhat.com>
11428
11429 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
11430 sysdeps/unix/sysv/linux/bits/socket.h.
11431
2b7e92df
ST
114322011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
11433
edf9294e
AS
11434 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
11435 (__CPU_COUNT): Remove old macros.
11436 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
11437 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
11438 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
11439 (__sched_cpualloc, __sched_cpufree): Add declarations.
11440
a4c7ea7b
UD
114412011-02-05 Ulrich Drepper <drepper@gmail.com>
11442
11443 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
11444 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
11445 * nscd/aicache.c (addhstaiX): Return timeout of added value.
11446 (readdhstai): Return value of addhstaiX call.
11447 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
11448 (addgrbyX): Return value returned by cache_addgr.
11449 (readdgrbyname): Return value returned by addgrbyX.
11450 (readdgrbygid): Likewise.
11451 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
11452 (addpwbyX): Return value returned by cache_addpw.
11453 (readdpwbyname): Return value returned by addhstbyX.
11454 (readdpwbyuid): Likewise.
11455 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
11456 (addservbyX): Return value returned by cache_addserv.
11457 (readdservbyname): Return value returned by addservbyX:
11458 (readdservbyport): Likewise.
11459 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
11460 (addhstbyX): Return value returned by cache_addhst.
11461 (readdhstbyname): Return value returned by addhstbyX.
11462 (readdhstbyaddr): Likewise.
11463 (readdhstbynamev6): Likewise.
11464 (readdhstbyaddrv6): Likewise.
11465 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
11466 (readdinitgroups): Return value returned by addinitgroupsX.
11467 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
11468 (prune_cache): Keep track of timeout value of re-added entries.
11469 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
11470 * nscd/nscd.h: Adjust prototypes of readd* functions.
11471
a0bf67cc
RM
114722011-02-04 Roland McGrath <roland@redhat.com>
11473
11474 * nis/nis_server.c (nis_servstate): Use the right name for 0.
11475 (nis_stats): Likewise.
11476 * nis/nis_modify.c (nis_modify): Likewise.
11477 * nis/nis_remove.c (nis_remove): Likewise.
11478 * nis/nis_add.c (nis_add): Likewise.
11479
11480 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
11481
11482 * posix/fnmatch_loop.c: Add some consts.
11483
11484 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
11485
435b95eb
L
114862011-02-02 H.J. Lu <hongjiu.lu@intel.com>
11487
11488 [BZ #12460]
11489 * config.make.in (config-cflags-novzeroupper): Define.
11490 * configure.in: Substitute libc_cv_cc_novzeroupper.
11491 * elf/Makefile (AVX-CFLAGS): Define.
11492 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
11493 (CFLAGS-tst-auditmod4a.c): Likewise.
11494 (CFLAGS-tst-auditmod4b.c): Likewise.
11495 (CFLAGS-tst-auditmod6b.c): Likewise.
11496 (CFLAGS-tst-auditmod6c.c): Likewise.
11497 (CFLAGS-tst-auditmod7b.c): Likewise.
11498 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
11499
8517b15e
UD
115002011-02-02 Ulrich Drepper <drepper@gmail.com>
11501
11502 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
11503 function to the callback.
11504 Patch partly by Jiri Olsa <jolsa@redhat.com>.
11505
10a656fe
AS
115062011-02-02 Andreas Schwab <schwab@redhat.com>
11507
11508 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
11509 of errno.
11510
968dad0a
UD
115112011-01-19 Ulrich Drepper <drepper@gmail.com>
11512
9f94d2ea 11513 [BZ #11724]
968dad0a
UD
11514 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
11515 of constructors.
11516 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
11517 of destructors.
11518 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
11519
11520 [BZ #11724]
11521 * elf/Makefile: Add rules to build and run new test.
11522 * elf/tst-initorder.c: New file.
11523 * elf/tst-initorder.exp: New file.
11524 * elf/tst-initordera1.c: New file.
11525 * elf/tst-initordera2.c: New file.
11526 * elf/tst-initordera3.c: New file.
11527 * elf/tst-initordera4.c: New file.
11528 * elf/tst-initorderb1.c: New file.
11529 * elf/tst-initorderb2.c: New file.
11530 * elf/tst-order-a1.c: New file.
11531 * elf/tst-order-a2.c: New file.
11532 * elf/tst-order-a3.c: New file.
11533 * elf/tst-order-a4.c: New file.
11534 * elf/tst-order-b1.c: New file.
11535 * elf/tst-order-b2.c: New file.
11536 * elf/tst-order-main.c: New file.
11537 New test case by George Gensure <werkt0@gmail.com>.
11538
86e92359
UD
115392010-10-01 Andreas Schwab <schwab@redhat.com>
11540
11541 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11542 decoding ACE if AI_CANONIDN.
11543
5d5732b0
UD
115442011-01-18 Ulrich Drepper <drepper@gmail.com>
11545
11546 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
11547
a77e8cbc
UD
115482011-01-17 Ulrich Drepper <drepper@gmail.com>
11549
6392473f
UD
11550 * version.h (RELEASE): Bump for 2.13 release.
11551 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
11552
620a0529
UD
11553 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
11554
18ba70a5
UD
11555 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
11556 MADV_NOHUGEPAGE.
32465c3e
UD
11557 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
11558 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11559 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11560 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11561 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11562 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11563
c0dafcf1
UD
11564 * posix/getconf.c: Update copyright year.
11565 * catgets/gencat.c: Likewise.
11566 * csu/version.c: Likewise.
11567 * debug/catchsegv.sh: Likewise.
11568 * debug/xtrace.sh: Likewise.
11569 * elf/ldconfig.c: Likewise.
11570 * elf/ldd.bash.in: Likewise.
11571 * elf/sprof.c (print_version): Likewise.
11572 * iconv/iconv_prog.c: Likewise.
11573 * iconv/iconvconfig.c: Likewise.
11574 * locale/programs/locale.c: Likewise.
11575 * locale/programs/localedef.c: Likewise.
11576 * malloc/memusage.sh: Likewise.
11577 * malloc/mtrace.pl: Likewise.
11578 * nscd/nscd.c (print_version): Likewise.
11579 * nss/getent.c: Likewise.
11580
a77e8cbc
UD
11581 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
11582 PF_CAIF, and PF_ALG.
11583 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11584
77e8bddf
AS
115852011-01-16 Andreas Schwab <schwab@linux-m68k.org>
11586
1f20b93a
AS
11587 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
11588 (modules-names): Use them.
11589 (ifunc-test-modules, ifunc-pie-tests): Define.
11590 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
11591 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
11592 (test-extras): Likewise.
11593 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
11594 $(compile-command.c).
11595 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
11596 (all-built-dso): Define.
11597 (check-textrel.out, check-execstack.out): Depend on it.
11598
77e8bddf
AS
11599 * configure.in: Don't override --enable-multi-arch.
11600
bc425b33
UD
116012011-01-15 Ulrich Drepper <drepper@gmail.com>
11602
11603 [BZ #6812]
11604 * nscd/hstcache.c (tryagain): Define.
11605 (cache_addhst): Return tryagain not notfound for temporary errors.
11606 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
11607 failed.
11608
794c3ad3
UD
116092011-01-14 Ulrich Drepper <drepper@gmail.com>
11610
70181fdd
UD
11611 [BZ #10563]
11612 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
11613 to make the syscall.
11614 * sysdeps/unix/sysv/linux/setgroups.c: New file.
11615
794c3ad3
UD
11616 [BZ #12378]
11617 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
11618 and fall back to matching as normal character if the string ends before
11619 the matching ']' is found. This is what POSIX requires.
11620 * posix/testfnm.c: Adjust test result.
11621 * posix/globtest.sh: Adjust test result. Add new test.
11622 * posix/tst-fnmatch.input: Likewise.
11623 * posix/tst-fnmatch2.c: Add new test.
11624
68dc9497
AS
116252010-12-28 Andreas Schwab <schwab@linux-m68k.org>
11626
11627 * elf/Makefile (check-execstack): Revert last change. Depend on
11628 check-execstack.h.
11629 (check-execstack.h): New target.
11630 (generated): Add check-execstack.h.
11631 * elf/check-execstack.c: Include "check-execstack.h".
11632 (main): Revert last change.
11633 (handle_file): Return zero if GNU_STACK is absent and
11634 DEFAULT_STACK_PERMS doesn't include PF_X.
11635
451f001b
UD
116362011-01-13 Ulrich Drepper <drepper@gmail.com>
11637
cfa28e56
UD
11638 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
11639 in child fails because the descriptor is already closed.
8cf8ce17
UD
11640 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
11641 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
11642 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 11643
1086d70d
UD
11644 [BZ #12397]
11645 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
11646 syscall.
11647
451f001b
UD
11648 [BZ #10484]
11649 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
11650 temporary buffer used to handle multi lookups locally.
a85b5cb4 11651 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 11652
08769175
UD
116532011-01-12 Ulrich Drepper <drepper@gmail.com>
11654
11655 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
11656 loader is ld.so.
11657
5e49c52e
UD
116582011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
11659
11660 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
11661 alignment for SSE2.
11662
60522a5f
UD
116632011-01-12 Ulrich Drepper <drepper@gmail.com>
11664
11665 [BZ #12394]
11666 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
11667 characters. When rounding increased number of integer digits recompute
11668 number of groups.
11669 * stdio-common/tst-grouping.c: New file.
11670 * stdio-common/Makefile: Add rules to build and run tst-grouping.
11671
f257bbd7
UD
116722011-01-09 Ulrich Drepper <drepper@gmail.com>
11673
11674 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
11675 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
11676
11677 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
11678 void.
11679 * bits/select.h: Likewise.
11680
fa9c15cb
UD
116812011-01-08 Ulrich Drepper <drepper@gmail.com>
11682
11683 * po/ja.po: Update from translation team.
11684
16c2895f
DM
116852011-01-04 David S. Miller <davem@sunset.davemloft.net>
11686
11687 [BZ #11155]
11688 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
11689 implementation just like for lxstat, fxstatat, et al.
11690
2543fef2
JM
116912010-12-27 Jim Meyering <meyering@redhat.com>
11692
11693 [BZ #12348]
11694 * posix/regexec.c (build_trtable): Return failure indication upon
11695 calloc failure. Otherwise, re_search_internal could infloop on OOM.
11696
98727dbe
UD
116972010-12-25 Ulrich Drepper <drepper@gmail.com>
11698
5bd6dc5c
UD
11699 [BZ #12201]
11700 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
11701 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
11702 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
11703 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
11704
97983464
UD
11705 [BZ #12207]
11706 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
11707
98727dbe
UD
11708 [BZ #12204]
11709 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
11710 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
11711
4a531bb0
L
117122010-12-15 H.J. Lu <hongjiu.lu@intel.com>
11713
11714 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
11715 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
11716 script has SORT_BY_INIT_PRIORITY.
11717 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
11718 NO_CTORS_DTORS_SECTIONS is defined.
11719 * elf/soinit.c: Likewise.
11720 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
11721 NO_CTORS_DTORS_SECTIONS is defined.
11722 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
11723 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
11724 * sysdeps/sh/init-first.c: Likewise.
11725 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
11726
07eb4b71
UD
117272010-12-24 Ulrich Drepper <drepper@gmail.com>
11728
11729 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
11730 always use the slow path.
11731
30950a5f
RA
117322010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
11733
11734 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
11735 similar rule which adds the sysdep directories to the header search in
11736 order to pick up the correct platform stackinfo.h.
11737 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
11738 perform test if it is, otherwise return successfully without testing.
11739 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
11740 DEFAULT_STACK_PERMS define in stackinfo.h.
11741 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
11742 defined in stackinfo.h.
11743 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
11744 DEFAULT_STACK_PERMS defined in stackinfo.h.
11745 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
11746 * sysdeps/ia64/stackinfo.h: Likewise.
11747 * sysdeps/s390/stackinfo.h: Likewise.
11748 * sysdeps/sh/stackinfo.h: Likewise.
11749 * sysdeps/sparc/stackinfo.h: Likewise.
11750 * sysdeps/x86_64/stackinfo.h: Likewise.
11751 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
11752 PF_X for powerpc64. Retain PF_X for powerpc32.
11753
db753e2c
UD
117542010-12-19 Ulrich Drepper <drepper@gmail.com>
11755
14b697f7
UD
11756 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
11757 accurately.
db753e2c
UD
11758 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
11759 GETDENTS_64BIT_ALIGNED.
11760
28300719
UD
117612010-12-14 Ulrich Drepper <dreper@gmail.com>
11762
14b697f7 11763 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 11764
4f197237
AS
117652010-12-10 Andreas Schwab <schwab@redhat.com>
11766
dbb0472f
AS
11767 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
11768 _GNU_SOURCE.
11769
4f197237
AS
11770 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
11771 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
11772 Remove __restrict.
11773 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
11774 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
11775
fb88ac72
UD
117762010-12-09 Ulrich Drepper <drepper@gmail.com>
11777
11778 [BZ #11655]
11779 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
11780 are initialized.
11781
42acbb92
JJ
117822010-12-09 Jakub Jelinek <jakub@redhat.com>
11783
11784 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
11785
c038d98d
UD
117862010-12-03 Ulrich Drepper <drepper@gmail.com>
11787
11788 * po/it.po: Update from translation team.
11789
3a4a2499
L
117902010-12-01 H.J. Lu <hongjiu.lu@intel.com>
11791
11792 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
11793 unused codes.
11794
1e24cf6e
UD
117952010-11-30 Ulrich Drepper <drepper@gmail.com>
11796
11797 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
11798
a7690819
AS
117992010-11-24 Andreas Schwab <schwab@redhat.com>
11800
11801 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
11802 specially.
11803 (gaih_getanswer_slice): Likewise.
11804
3bf8d1b1
JJ
118052010-10-20 Jakub Jelinek <jakub@redhat.com>
11806
11807 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
11808
6db52fbb
PB
118092010-05-31 Petr Baudis <pasky@suse.cz>
11810
11811 [BZ #11149]
11812 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
11813 silently even in the chroot mode.
11814
eaca7569
UD
118152010-11-22 Ulrich Drepper <drepper@gmail.com>
11816
11817 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
11818 last patch a bit. Pretty printing
11819
3056dcdb
UD
118202010-05-31 Petr Baudis <pasky@suse.cz>
11821
11822 [BZ #10085]
11823 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
11824 initialization of skip_initgroups_dyn.
11825
cf7c9078
UD
118262010-11-19 Ulrich Drepper <drepper@gmail.com>
11827
11828 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
11829 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11830
a1fb5e3e
UD
118312010-11-16 Ulrich Drepper <drepper@gmail.com>
11832
11833 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
11834
3540d66b
AS
118352010-11-11 Andreas Schwab <schwab@redhat.com>
11836
11837 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
11838 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
11839 (tst-fnmatch-ENV): Set MALLOC_TRACE.
11840 ($(objpfx)tst-fnmatch-mem): New rule.
11841 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
11842 * posix/tst-fnmatch.c (main): Call mtrace.
11843
13b69574
L
118442010-11-11 H.J. Lu <hongjiu.lu@intel.com>
11845
11846 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11847 Support Intel processor model 6 and model 0x2c.
11848
da93d214
LM
118492010-11-10 Luis Machado <luisgpm@br.ibm.com>
11850
11851 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
11852 signed comparison.
11853
8ca52c6e
L
118542010-11-09 H.J. Lu <hongjiu.lu@intel.com>
11855
11856 [BZ #12205]
11857 * string/test-strncasecmp.c (check_result): New function.
11858 (do_one_test): Use it.
11859 (check1): New function.
11860 (test_main): Use it.
11861 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
11862 Support strcasecmp and strncasecmp.
11863
69da074d
UD
118642010-11-08 Ulrich Drepper <drepper@gmail.com>
11865
11866 [BZ #12194]
11867 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
11868 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11869
ff02d528
L
118702010-11-07 H.J. Lu <hongjiu.lu@intel.com>
11871
11872 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
11873 IFUNC support.
11874 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11875 memset-x86-64.
11876 * sysdeps/x86_64/multiarch/bzero.S: New file.
11877 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
11878 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
11879 * sysdeps/x86_64/multiarch/memset.S: New file.
11880 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
11881 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11882 Set bit_Prefer_SSE_for_memop for Intel processors.
11883 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
11884 Define.
11885 (index_Prefer_SSE_for_memop): Define.
11886 (HAS_PREFER_SSE_FOR_MEMOP): Define.
11887
344d0b54
LM
118882010-11-04 Luis Machado <luisgpm@br.ibm.com>
11889
11890 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
11891 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
11892
c0dde15b
UD
118932010-11-03 H.J. Lu <hongjiu.lu@intel.com>
11894
11895 [BZ #12191]
11896 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11897 (__x86_64_raw_data_cache_size_half): Likewise.
11898 (__x86_64_raw_shared_cache_size): Likewise.
11899 (__x86_64_raw_shared_cache_size_half): Likewise.
11900
11901 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11902 (__x86_64_raw_data_cache_size_half): Likewise.
11903 (__x86_64_raw_shared_cache_size): Likewise.
11904 (__x86_64_raw_shared_cache_size_half): Likewise.
11905 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
11906 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
11907 and __x86_64_raw_shared_cache_size_half. Round
11908 __x86_64_data_cache_size_half, __x86_64_data_cache_size
11909 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
11910 to multiple of 256 bytes.
11911
0e516e0e
MS
119122010-11-03 Ulrich Drepper <drepper@gmail.com>
11913
11914 [BZ #12167]
11915 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
11916 of inacessible symlinks. Verify result of symlink before returning it.
11917 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11918 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
11919
0e012e87
ER
119202010-10-28 Erich Ritz <erichritz@gmail.com>
11921
11922 * math/math.h (isinf): Fix typo in comment.
11923
de0ff7bc
UD
119242010-11-01 Ulrich Drepper <drepper@gmail.com>
11925
11926 * po/da.po: Update from translation team.
11927
fa41c84d
UD
119282010-10-26 Ulrich Drepper <drepper@gmail.com>
11929
11930 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
11931 is added to the list.
11932
f0967738
AK
119332010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11934 Ulrich Drepper <drepper@gmail.com>
11935
11936 * elf/dl-object.c (_dl_new_object): Don't append the new object to
11937 the global list here. Move code to...
11938 (_dl_add_to_namespace_list): ...here. New function.
11939 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
11940 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
11941 * elf/dl-load.c (lose): Don't remove the element from the list.
11942 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
11943 (_dl_map_object): Likewise.
11944
119452010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
11946
11947 [BZ #12159]
11948 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
11949 into all bytes of SSE register.
11950 Patch by Richard Li <richardpku@gmail.com>.
11951
f0967738 119522010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
11953
11954 [BZ #12140]
11955 * malloc/malloc.c (_int_free): Fill correct number of bytes when
11956 perturbing.
11957
d0b9e94f
MB
119582010-10-20 Michael B. Brutman <brutman@us.ibm.com>
11959
11960 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
11961 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
11962 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
11963 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
11965 submachine.
11966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11967
8e9f92e9
AS
119682010-10-22 Andreas Schwab <schwab@redhat.com>
11969
11970 * include/dlfcn.h (__RTLD_SECURE): Define.
11971 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
11972 mode & __RTLD_SECURE instead.
11973 (open_path): Rename preloaded parameter to secure.
11974 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
11975 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
11976 * elf/dl-deps.c (openaux): Likewise.
11977 * elf/rtld.c (struct map_args): Remove is_preloaded.
11978 (map_doit): Don't use it.
11979 (dl_main): Likewise.
11980 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
11981 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
11982
bc96fbda
AS
119832010-09-09 Andreas Schwab <schwab@redhat.com>
11984
11985 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
11986 (sysd-rules-targets): Remove duplicates.
11987 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
11988 rtld-%.$o dependency.
11989
22cd1c9b
AS
119902010-10-18 Andreas Schwab <schwab@redhat.com>
11991
11992 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
11993 _dl_map_object do it.
11994
18edac48
UD
119952010-10-19 Ulrich Drepper <drepper@gmail.com>
11996
11997 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
11998 fast fma builtins, define the macros in the C99 standard.
11999 (FP_FAST_FMAF): Likewise.
12000 (FP_FAST_FMAL): Likewise.
12001 * sysdeps/x86_64/bits/mathdef.h: Likewise.
12002
12003 * bits/mathdef.h: Update copyright year.
12004 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12005
d2050124
MM
120062010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
12007
12008 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12009 builtins, define the macros in the C99 standard.
12010 (FP_FAST_FMAF): Likewise.
12011 (FP_FAST_FMAL): Likewise.
12012 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12013 multiply/add.
12014 (FP_FAST_FMAF): Likewise.
12015
475facd1
JJ
120162010-10-15 Jakub Jelinek <jakub@redhat.com>
12017
12018 [BZ #3268]
12019 * math/libm-test.inc (fma_test): Some new testcases.
12020 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12021 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12022 y and infinite z. Do multiplication by C already in long double.
12023 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12024 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12025 y and infinite z. Do bitwise or of inexact bit into u.d.
12026 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12027 * sysdeps/i386/fpu/s_fmaf.S: Removed.
12028 * sysdeps/i386/fpu/s_fma.S: Removed.
12029 * sysdeps/i386/fpu/s_fmal.S: Removed.
12030
7c08a05c
JJ
120312010-10-16 Jakub Jelinek <jakub@redhat.com>
12032
12033 [BZ #3268]
12034 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12035 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12036 computation is not scheduled after fetestexcept. Fix value
12037 of minimum denormal long double.
12038
f3f7372d
JJ
120392010-10-14 Jakub Jelinek <jakub@redhat.com>
12040
12041 [BZ #3268]
12042 * math/libm-test.inc (fma_test): Add some more tests.
12043 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12044 correctly.
12045
14d43591
AS
120462010-10-15 Andreas Schwab <schwab@redhat.com>
12047
12048 * scripts/data/localplt-s390-linux-gnu.data: New file.
12049 * scripts/data/localplt-s390x-linux-gnu.data: New file.
12050
5e908464
JJ
120512010-10-13 Jakub Jelinek <jakub@redhat.com>
12052
12053 [BZ #3268]
12054 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12055 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12056 instead of dbl-64.
12057 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12058 inlines.
12059 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12060 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12061 if one of x and y is very large and the other is subnormal.
12062 * sysdeps/s390/fpu/s_fmaf.c: New file.
12063 * sysdeps/s390/fpu/s_fma.c: New file.
12064 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12065 * sysdeps/powerpc/fpu/s_fma.S: New file.
12066 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12067 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12068 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12069
120702010-10-12 Jakub Jelinek <jakub@redhat.com>
12071
12072 [BZ #3268]
12073 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12074 fma tests.
12075 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12076 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12077 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12078 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12079 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12080 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12081 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12082
b833d51f
UD
120832010-10-12 Ulrich Drepper <drepper@redhat.com>
12084
12085 [BZ #12078]
12086 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12087 * posix/bug-regex31.input: Add test case.
12088
1751705d
UD
120892010-10-11 Ulrich Drepper <drepper@gmail.com>
12090
e9b9cbf5
UD
12091 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12092 * posix/bug-regex31.input: New file.
12093
12094 [BZ #12078]
12095 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12096 (parse_sub_exp): Fix last change, use postorder.
12097
ef06edbe
UD
12098 * posix/bug-regex31.c: New file.
12099 * posix/Makefile: Add rules to build and run bug-regex31.
12100
a129c80d
UD
12101 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12102
12103 [BZ #12078]
12104 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12105
b76b818e
UD
12106 [BZ #12108]
12107 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12108 to have entries in sys_siglist.
12109
1751705d
UD
12110 [BZ #12093]
12111 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12112 be NULL.
12113
9ff8d36f
JJ
121142010-10-07 Jakub Jelinek <jakub@redhat.com>
12115
12116 [BZ #3268]
12117 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12118 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12119 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12120 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12121 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12122 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12123 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12124 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12125 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12126 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12127 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12128 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12129 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12130 * math/ftestexcept.c (fetestexcept): Likewise.
12131 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12132 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12133 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12134 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12135 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12136 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12137 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12138
af325969
UD
121392010-10-11 Ulrich Drepper <drepper@gmail.com>
12140
c579b202 12141 [BZ #12107]
af325969
UD
12142 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12143 newline.
12144
67a67b95
UD
121452010-10-06 Ulrich Drepper <drepper@gmail.com>
12146
12147 * string/bug-strstr1.c: New file.
12148 * string/Makefile: Add rules to build and run bug-strstr1.
12149
5fb308bc
EB
121502010-10-05 Eric Blake <eblake@redhat.com>
12151
12152 [BZ #12092]
12153 * string/str-two-way.h (two_way_long_needle): Always clear memory
12154 when skipping input due to the shift table.
12155
45db99c7
UD
121562010-10-03 Ulrich Drepper <drepper@gmail.com>
12157
3b111893
UD
12158 [BZ #12005]
12159 * malloc/mcheck.c: Handle large requests.
12160
45db99c7
UD
12161 [BZ #12077]
12162 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12163 for strncmp and strncasecmp.
12164 * string/stratcliff.c: Add tests for strcmp and strncmp.
12165 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12166
cf7a1eb8
NI
121672010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12168
12169 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12170 __set_fpscr.
12171
6484ba5e
AJ
121722010-09-30 Andreas Jaeger <aj@suse.de>
12173
12174 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12175 (CGROUP_SUPER_MAGIC): Define.
12176 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12177 Handle btrfs and cgroup file systems.
12178 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12179 Likewise.
12180
91c42559
LM
121812010-09-27 Luis Machado <luisgpm@br.ibm.com>
12182
12183 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12184 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12185
87a97932
AK
121862010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12187
12188 [BZ #12067]
12189 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12190 trying to locate the ELF header.
12191
c21cc9bc
AS
121922010-09-27 Andreas Schwab <schwab@redhat.com>
12193
12194 [BZ #11611]
12195 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12196 Mask out sign-bit copies when constructing f_fsid.
12197
315970f6
PB
121982010-09-24 Petr Baudis <pasky@suse.cz>
12199
12200 * debug/stack_chk_fail_local.c: Add missing licence exception.
12201 * debug/warning-nop.c: Likewise.
12202
1ac7a2c7
JM
122032010-09-15 Joseph Myers <joseph@codesourcery.com>
12204
12205 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12206 implementing getdents64 using getdents syscall, set d_type if
12207 __ASSUME_GETDENTS32_D_TYPE.
12208
56801c50
AS
122092010-09-16 Andreas Schwab <schwab@redhat.com>
12210
12211 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12212 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12213
dda51327
UD
122142010-09-21 Ulrich Drepper <drepper@redhat.com>
12215
12216 [BZ #12037]
12217 * posix/unistd.h: Undo change of feature selection for ftruncate from
12218 2010-01-11.
12219
8ffcee4a
UD
122202010-09-20 Ulrich Drepper <drepper@redhat.com>
12221
a545ecd9 12222 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
12223 detection.
12224
e24f0a8b
AS
122252010-09-20 Andreas Schwab <schwab@redhat.com>
12226
12227 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12228 fanotify_mark.
12229 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12230
7291c56f
AS
122312010-09-14 Andreas Schwab <schwab@redhat.com>
12232
12233 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12234 variables after CHECK_SP call.
12235 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12236
bc5fb037
AS
122372010-09-13 Andreas Schwab <schwab@redhat.com>
12238 Ulrich Drepper <drepper@redhat.com>
12239
12240 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12241 re-relocationg ld.so.
12242 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12243 _dl_init_paths call.
12244 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
12245 here anymore.
12246
e66e7419
UD
122472010-09-14 Ulrich Drepper <drepper@redhat.com>
12248
12249 * resolv/res_init.c (__res_vinit): Count the default server we added.
12250
c044aa75
CLT
122512010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
12252 Ulrich Drepper <drepper@redhat.com>
12253
12254 [BZ #11968]
12255 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12256 (____longjmp_chk): Use %ebx for saving value across system call.
12257 Add unwind info.
12258
32cf4069
AS
122592010-09-06 Andreas Schwab <schwab@redhat.com>
12260
12261 * manual/Makefile: Don't mix pattern rules with normal rules.
12262
817328ee
AS
122632010-09-05 Andreas Schwab <schwab@linux-m68k.org>
12264
12265 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12266 operation.
12267 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12268 * libio/iofopncook.c (_IO_cookie_init): Likewise.
12269 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12270 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12271 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12272 Likewise.
12273
29fddf61
UD
122742010-09-04 Ulrich Drepper <drepper@redhat.com>
12275
12276 [BZ #11979]
12277 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12278 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12279
0959ffc9
UD
122802010-09-02 Ulrich Drepper <drepper@redhat.com>
12281
12282 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12283 * sysdeps/x86_64/addmul_1.S: Likewise.
12284 * sysdeps/x86_64/lshift.S: Likewise.
12285 * sysdeps/x86_64/mul_1.S: Likewise.
12286 * sysdeps/x86_64/rshift.S: Likewise.
12287 * sysdeps/x86_64/sub_n.S: Likewise.
12288 * sysdeps/x86_64/submul_1.S: Likewise.
12289
ece29840
ST
122902010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
12291
0959ffc9
UD
12292 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12293 Define __sched_param instead of SCHED_* and sched_param when
ece29840 12294 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 12295 * bits/sched.h [__need_schedparam]
ece29840 12296 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
12297 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12298 (__defined_schedparam): Define to 1.
ece29840
ST
12299 (__sched_param): New structure, identical to sched_param.
12300 (__need_schedparam): Undefine.
12301
e53a31fe
MF
123022010-08-31 Mike Frysinger <vapier@gentoo.org>
12303
fdc0c10d
MF
12304 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12305 (epoll_create1): Declare.
12306
e53a31fe
MF
12307 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12308
a726d796
AS
123092010-08-31 Andreas Schwab <schwab@redhat.com>
12310
12311 [BZ #7066]
12312 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
12313 shifting retval into place.
12314
2f3e3dc7
UD
123152010-09-01 Ulrich Drepper <drepper@redhat.com>
12316
f2933da9
UD
12317 * nis/rpcsvc/nis.h: Update copyright notice.
12318 * nis/rpcsvc/nis.x: Likewise.
12319 * nis/rpcsvc/nis_callback.h: Likewise.
12320 * nis/rpcsvc/nis_callback.x: Likewise.
12321 * nis/rpcsvc/nis_object.x: Likewise.
12322 * nis/rpcsvc/nis_tags.h: Likewise.
12323 * nis/rpcsvc/yp.h: Likewise.
12324 * nis/rpcsvc/yp.x: Likewise.
12325 * nis/rpcsvc/ypupd.h: Likewise.
12326 * nis/yp_xdr.c: Likewise.
12327 * nis/ypupdate_xdr.c: Likewise.
12328
2f3e3dc7
UD
12329 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
12330 mainly the body of pmap_getport. Add parameters to specify timeouts.
12331 (pmap_getport): Use __libc_rpc_getport.
12332 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
12333 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
12334 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
12335
f3dcc2f9
AS
123362010-08-31 Andreas Schwab <schwab@linux-m68k.org>
12337
12338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
12339 fanotify_mark.
12340
6d34eb5b
RM
123412010-08-27 Roland McGrath <roland@redhat.com>
12342
12343 * sysdeps/i386/i686/multiarch/Makefile
12344 (CFLAGS-varshift.c): New variable.
12345
9ea3de11
UD
123462010-08-27 Ulrich Drepper <drepper@redhat.com>
12347
c96d23fc
UD
12348 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
12349 * sysdeps/i386/i686/multiarch/varshift.c: New file.
12350
9ea3de11
UD
12351 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
12352
12353 * sysdeps/x86_64/strlen.S: Minimal code improvement.
12354
623aac7f
L
123552010-08-26 H.J. Lu <hongjiu.lu@intel.com>
12356
12357 * sysdeps/x86_64/strlen.S: Unroll the loop.
12358 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12359 strlen-sse2 strlen-sse2-bsf.
12360 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
12361 __strlen_no_bsf if bit_Slow_BSF is set.
12362 (__strlen_sse42): Removed.
12363 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
12364 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
12365
8b2b7715
RM
123662010-08-25 Roland McGrath <roland@redhat.com>
12367
12368 * sysdeps/x86_64/multiarch/varshift.S: File removed.
12369 * sysdeps/x86_64/multiarch/varshift.c: New file.
12370 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
12371 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
12372 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
12373 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12374
e73015f2
L
123752010-08-25 H.J. Lu <hongjiu.lu@intel.com>
12376
12377 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12378 strlen-sse2 strlen-sse2-bsf.
12379 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
12380 __strlen_sse2_bsf if bit_Slow_BSF is unset.
12381 (__strlen_sse2): Removed.
12382 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
12383 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
12384 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12385 bit_Slow_BSF for Atom.
12386 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
12387 (index_Slow_BSF): Define.
12388 (HAS_SLOW_BSF): Define.
12389
df24a73e
UD
123902010-08-25 Ulrich Drepper <drepper@redhat.com>
12391
12392 [BZ #10851]
12393 * resolv/res_init.c (__res_vinit): When no server address at all
12394 is given default to loopback.
12395
f2ac4868
RM
123962010-08-24 Roland McGrath <roland@redhat.com>
12397
09055553
RM
12398 * configure.in: Remove config-name.h generation.
12399 * configure: Regenerated.
12400 * config-name.in: File removed.
12401 * scripts/config-uname.sh: New file.
12402 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
12403 ($(objdir)config-name.h): New target.
12404
f2ac4868
RM
12405 * sunrpc/rpc_parse.h: Avoid nested comment.
12406
73f27d5e
RH
124072010-08-24 Richard Henderson <rth@redhat.com>
12408 Ulrich Drepper <drepper@redhat.com>
12409 H.J. Lu <hongjiu.lu@intel.com>
12410
12411 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
12412 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
12413 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
12414 Replace _mm_srli_si128 with __m128i_shift_right. Replace
12415 _mm_alignr_epi8 with _mm_loadu_si128.
12416 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
12417 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
12418 (__m128i_shift_right): Removed.
12419 * sysdeps/i386/i686/multiarch/varshift.h: New file.
12420 * sysdeps/i386/i686/multiarch/varshift.S: New file.
12421 * sysdeps/x86_64/multiarch/varshift.h: New file.
12422 * sysdeps/x86_64/multiarch/varshift.S: New file.
12423
84b9230c
MF
124242010-08-21 Mike Frysinger <vapier@gentoo.org>
12425
12426 * configure.in: Move assembler checks to before sysdep dir checking.
12427
9bbd0ddc
PB
124282010-08-20 Petr Baudis <pasky@suse.cz>
12429
12430 * LICENSES: Sync the sunrpc license.
12431
9da4bb31
UD
124322010-08-19 Ulrich Drepper <drepper@redhat.com>
12433
a7ab6ec8
UD
12434 * sunrpc/auth_des.c: Update copyright notice once again.
12435 * sunrpc/auth_none.c: Likewise.
12436 * sunrpc/auth_unix.c: Likewise.
12437 * sunrpc/authdes_prot.c: Likewise.
12438 * sunrpc/authuxprot.c: Likewise.
12439 * sunrpc/bindrsvprt.c: Likewise.
12440 * sunrpc/clnt_gen.c: Likewise.
12441 * sunrpc/clnt_perr.c: Likewise.
12442 * sunrpc/clnt_raw.c: Likewise.
12443 * sunrpc/clnt_simp.c: Likewise.
12444 * sunrpc/clnt_tcp.c: Likewise.
12445 * sunrpc/clnt_udp.c: Likewise.
12446 * sunrpc/clnt_unix.c: Likewise.
12447 * sunrpc/des_crypt.c: Likewise.
12448 * sunrpc/des_soft.c: Likewise.
12449 * sunrpc/get_myaddr.c: Likewise.
12450 * sunrpc/getrpcport.c: Likewise.
12451 * sunrpc/key_call.c: Likewise.
12452 * sunrpc/key_prot.c: Likewise.
12453 * sunrpc/openchild.c: Likewise.
12454 * sunrpc/pm_getmaps.c: Likewise.
12455 * sunrpc/pm_getport.c: Likewise.
12456 * sunrpc/pmap_clnt.c: Likewise.
12457 * sunrpc/pmap_prot.c: Likewise.
12458 * sunrpc/pmap_prot2.c: Likewise.
12459 * sunrpc/pmap_rmt.c: Likewise.
12460 * sunrpc/rpc/auth.h: Likewise.
12461 * sunrpc/rpc/auth_unix.h: Likewise.
12462 * sunrpc/rpc/clnt.h: Likewise.
12463 * sunrpc/rpc/des_crypt.h: Likewise.
12464 * sunrpc/rpc/key_prot.h: Likewise.
12465 * sunrpc/rpc/netdb.h: Likewise.
12466 * sunrpc/rpc/pmap_clnt.h: Likewise.
12467 * sunrpc/rpc/pmap_prot.h: Likewise.
12468 * sunrpc/rpc/pmap_rmt.h: Likewise.
12469 * sunrpc/rpc/rpc.h: Likewise.
12470 * sunrpc/rpc/rpc_des.h: Likewise.
12471 * sunrpc/rpc/rpc_msg.h: Likewise.
12472 * sunrpc/rpc/svc.h: Likewise.
12473 * sunrpc/rpc/svc_auth.h: Likewise.
12474 * sunrpc/rpc/types.h: Likewise.
12475 * sunrpc/rpc/xdr.h: Likewise.
12476 * sunrpc/rpc_clntout.c: Likewise.
12477 * sunrpc/rpc_cmsg.c: Likewise.
12478 * sunrpc/rpc_common.c: Likewise.
12479 * sunrpc/rpc_cout.c: Likewise.
12480 * sunrpc/rpc_dtable.c: Likewise.
12481 * sunrpc/rpc_hout.c: Likewise.
12482 * sunrpc/rpc_main.c: Likewise.
12483 * sunrpc/rpc_parse.c: Likewise.
12484 * sunrpc/rpc_parse.h: Likewise.
12485 * sunrpc/rpc_prot.c: Likewise.
12486 * sunrpc/rpc_sample.c: Likewise.
12487 * sunrpc/rpc_scan.c: Likewise.
12488 * sunrpc/rpc_scan.h: Likewise.
12489 * sunrpc/rpc_svcout.c: Likewise.
12490 * sunrpc/rpc_tblout.c: Likewise.
12491 * sunrpc/rpc_util.c: Likewise.
12492 * sunrpc/rpc_util.h: Likewise.
12493 * sunrpc/rpcinfo.c: Likewise.
12494 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
12495 * sunrpc/rpcsvc/key_prot.x: Likewise.
12496 * sunrpc/rpcsvc/klm_prot.x: Likewise.
12497 * sunrpc/rpcsvc/mount.x: Likewise.
12498 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
12499 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
12500 * sunrpc/rpcsvc/rex.x: Likewise.
12501 * sunrpc/rpcsvc/rstat.x: Likewise.
12502 * sunrpc/rpcsvc/rusers.x: Likewise.
12503 * sunrpc/rpcsvc/sm_inter.x: Likewise.
12504 * sunrpc/rpcsvc/spray.x: Likewise.
12505 * sunrpc/rpcsvc/yppasswd.x: Likewise.
12506 * sunrpc/rtime.c: Likewise.
12507 * sunrpc/svc.c: Likewise.
12508 * sunrpc/svc_auth.c: Likewise.
12509 * sunrpc/svc_authux.c: Likewise.
12510 * sunrpc/svc_raw.c: Likewise.
12511 * sunrpc/svc_run.c: Likewise.
12512 * sunrpc/svc_simple.c: Likewise.
12513 * sunrpc/svc_tcp.c: Likewise.
12514 * sunrpc/svc_udp.c: Likewise.
12515 * sunrpc/svc_unix.c: Likewise.
12516 * sunrpc/svcauth_des.c: Likewise.
12517 * sunrpc/xcrypt.c: Likewise.
12518 * sunrpc/xdr.c: Likewise.
12519 * sunrpc/xdr_array.c: Likewise.
12520 * sunrpc/xdr_float.c: Likewise.
12521 * sunrpc/xdr_mem.c: Likewise.
12522 * sunrpc/xdr_rec.c: Likewise.
12523 * sunrpc/xdr_ref.c: Likewise.
12524 * sunrpc/xdr_sizeof.c: Likewise.
12525 * sunrpc/xdr_stdio.c: Likewise.
12526
9da4bb31
UD
12527 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
12528 handling.
12529
bdaa77bc
AS
125302010-08-19 Andreas Schwab <schwab@redhat.com>
12531
12532 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
12533
fe2f79db
LM
125342010-08-19 Luis Machado <luisgpm@br.ibm.com>
12535
12536 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
12537 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
12538 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
12539 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
12540 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
12541 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
12542 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
12543 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
12544 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
12545 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
12546 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
12547 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
12548 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
12549 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
12550
b9b42ee0
AB
125512010-07-26 Anton Blanchard <anton@samba.org>
12552
12553 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
12554 * malloc/arena.c (heap_trim): Likewise.
12555
1c06ba31
UD
125562010-08-16 Ulrich Drepper <drepper@redhat.com>
12557
12558 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
12559 here. Not...
12560 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
12561 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
12562
f8392f40
L
125632010-08-12 H.J. Lu <hongjiu.lu@intel.com>
12564
12565 * sysdeps/i386/elf/Makefile: New file.
12566
3162f12e
AS
125672010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12568
12569 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
12570 from fanotify_init.
12571 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12572 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12573
28c90b2c
UD
125742010-08-15 Ulrich Drepper <drepper@redhat.com>
12575
12576 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
12577 of strncasecmp_l.
1feccb6c 12578 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 12579
ca6bb004
UD
125802010-08-14 Ulrich Drepper <drepper@redhat.com>
12581
e9f82e0d
UD
12582 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12583 strncase_l-nonascii.
12584 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12585 Add strncase_l-ssse3.
12586 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
12587 * sysdeps/x86_64/strcmp.S: Likewise.
12588 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
12589 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
12590 * sysdeps/x86_64/strncase.S: New file.
12591 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
12592 * sysdeps/x86_64/strncase_l.S: New file.
12593 * string/Makefile (strop-tests): Add strncasecmp.
12594 * string/test-strncasecmp.c: New file.
12595
12596 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
12597 warning.
12598
ca6bb004
UD
12599 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
12600 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
12601
052fa7b3
AS
126022010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12603
12604 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
12605
962dba78
UD
126062010-08-12 Ulrich Drepper <drepper@redhat.com>
12607
12608 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
12609 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
12610 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
12611
bebff237
AM
126122010-05-01 Alan Modra <amodra@gmail.com>
12613
12614 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
12615 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
12616 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
12617 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
12618 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
12619 tidying. Don't tail-call __sigjmp_save for static lib.
12620 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
12621 save location.
12622 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
12623 (CALL_MCOUNT): Add eh info, and nop after bl.
12624 (TAIL_CALL_SYSCALL_ERROR): New macro.
12625 (PSEUDO_RET): Use it.
12626 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12627 Correct save location of integer regs and cr.
12628 (_dl_profile_resolve): Correct cr save location. Delete nops
12629 after bl when SHARED. Reduce cfi size a little by better
12630 placement of cfi directives.
12631 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
12632 make a stack frame. Instead use parm save area as a temp.
12633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
12634 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
12635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12636 Don't make a stack frame for parent, use parm save area.
12637 Increase child stack frame to 112 bytes. Don't save unused reg,
12638 and adjust reg usage. Set up cfi on error recovery and
12639 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
12640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12641 (__makecontext): Add dummy nop after jump to exit.
12642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
12643 Use correct parm save area and cr save, reduce stack frame.
12644 Correct cfi for possible PSEUDO_RET frame setup.
12645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
12646 Branch to local label emitted by PSEUDO_RET rather than
12647 __syscall_error.
12648
02637374
AS
126492010-08-12 Andreas Schwab <schwab@redhat.com>
12650
12651 [BZ #11904]
12652 * locale/programs/locale.c (print_assignment): New function.
12653 (show_locale_vars): Use it.
12654
c3e2f19b
UD
126552010-08-11 Ulrich Drepper <drepper@redhat.com>
12656
3cdaa6ad
UD
12657 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
12658 field.
12659 (struct statfs64): Likewise.
12660 (_STATFS_F_FLAGS): Define.
12661 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
12662 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12663 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
12664 (ST_VALID): Define locally.
12665 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
12666 __statvfs_getflags, use the provided value.
12667 * sysdeps/unix/sysv/linux/kernel-features.h: Define
12668 __ASSUME_STATFS_F_FLAGS.
12669
754f7da3
UD
12670 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
12671
10b3bedc
UD
12672 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
12673 Add sys/fanotify.h.
12674 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
12675 fanotify_mask for GLIBC_2.13.
12676 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
12677 fanotify_init and fanotify_mark.
12678 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12679 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
12680
c08fb0d7
UD
12681 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
12682 Add prlimit.
12683 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
12684 prlimit64 for GLIBC_2.13.
12685 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
12686 prlimit64.
12687 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
12688 syscall.
12689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12690 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12691 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
12692 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
12693 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
12694 add prlimit alias.
12695 * sysdeps/unix/sysv/linux/prlimit.c: New file.
12696
15bac72b
UD
12697 [BZ #11903]
12698 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
12699 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
12700
c3e2f19b
UD
12701 * nss/Makefile: Add rules to build and run tst-nss-test1.
12702 * shlib-versions: Add entry for libnss_test1.
12703 * nss/nss_test1.c: New file.
12704 * nss/tst-nss-test1.c: New file.
12705
12706 * nss/nsswitch.c (__nss_database_custom): Define new variable.
12707 (__nss_configure_lookup): Set appropriate entry in
12708 __nss_configure_lookup to true.
12709 * nss/nsswitch.h: Define enum with indeces of databases in
12710 databases and __nss_database_custom arrays. Declare
12711 __nss_database_custom.
12712 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
12713 to avoid using nscd when custom rules are installed.
12714 * nss/getXXbyYY_r.c: Likewise.
12715 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12716
12717 * nss/nss_files/files-parse.c: Whitespace fixes.
12718
f15ce4d8
UD
127192010-08-09 Ulrich Drepper <drepper@redhat.com>
12720
12721 [BZ #11883]
12722 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
12723 * posix/fnmatch_loop.c: Likewise.
12724
d22e4cc9
AK
127252010-07-17 Andi Kleen <ak@linux.intel.com>
12726
12727 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
12728 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
12729 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
12730 * Versions.def [GLIBC_2.13]: Add.
12731
805bc17d
UD
127322010-08-06 Ulrich Drepper <drepper@redhat.com>
12733
12734 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12735 Also fail if tpwd after pwuid call is NULL.
12736
5a42321d
ST
127372010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
12738
12739 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
12740 when converting to ms.
12741
fd3ebeda
ST
127422010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12743
12744 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
12745 EOPNOTSUPP errors with ENOTTY.
12746 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
12747 EOPNOTSUPP errors with ENOTTY.
12748
73507d3a
UD
127492010-07-31 Ulrich Drepper <drepper@redhat.com>
12750
12751 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12752 Add strcasecmp_l-ssse3.
12753 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
12754 strcasecmp.
12755 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
12756 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
12757 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
12758
fe36dd02
UD
127592010-07-30 Ulrich Drepper <drepper@redhat.com>
12760
66f6765a
UD
12761 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
12762
42e08a54
UD
12763 * string/Makefile (strop-tests): Add strcasecmp.
12764 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12765 strcasecmp_l-nonascii.
12766 (gen-as-const-headers): Add locale-defines.sym.
12767 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
12768 * sysdeps/x86_64/strcasecmp.S: New file.
12769 * sysdeps/x86_64/strcasecmp_l.S: New file.
12770 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
12771 * sysdeps/x86_64/locale-defines.sym: New file.
12772 * string/test-strcasecmp.c: New file.
12773
fe36dd02
UD
12774 * string/test-strcasestr.c: Test both ends of the range of characters.
12775 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
12776
48cbc0d6
RM
127772010-07-29 Roland McGrath <roland@redhat.com>
12778
76e6d6bc 12779 [BZ #11856]
48cbc0d6
RM
12780 * manual/locale.texi (Yes-or-No Questions): Fix example code.
12781
880113d9
UD
127822010-07-27 Ulrich Drepper <drepper@redhat.com>
12783
12784 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
12785 for ld.so.
12786
deb9cabb
AS
127872010-07-27 Andreas Schwab <schwab@redhat.com>
12788
12789 * manual/memory.texi (Malloc Tunable Parameters): Document
12790 M_PERTURB.
12791
1c7570ff
RM
127922010-07-26 Roland McGrath <roland@redhat.com>
12793
12794 [BZ #11840]
12795 * configure.in (-fgnu89-inline check): Set and substitute
12796 gnu89_inline, not libc_cv_gnu89_inline.
12797 * configure: Regenerated.
12798 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
12799
24fb0f88
UD
128002010-07-26 Ulrich Drepper <drepper@redhat.com>
12801
12802 * string/test-strnlen.c: New file.
12803 * string/Makefile (strop-tests): Add strnlen.
12804 * string/tester.c (test_strnlen): Add a few more test cases.
12805 * string/tst-strlen.c: Better error reporting.
12806
12807 * sysdeps/x86_64/strnlen.S: New file.
12808
8e96b93a
UD
128092010-07-24 Ulrich Drepper <drepper@redhat.com>
12810
12811 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
12812 lower-latency instructions.
12813
dbc676d4
UD
128142010-07-23 Ulrich Drepper <drepper@redhat.com>
12815
12816 * string/test-strcasestr.c: New file.
12817 * string/test-strstr.c: New file.
12818 * string/Makefile (strop-tests): Add strstr and strcasestr.
12819 * string/str-two-way.h: Don't undefine MAX.
12820 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
12821
f6a31e0e
AS
128222010-07-21 Andreas Schwab <schwab@redhat.com>
12823
12824 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12825 strcasestr-nonascii.
12826 (CFLAGS-strcasestr-nonascii.c): Define.
12827 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
12828 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
12829 Remove unused attribute.
12830
5dbc3b6c
RM
128312010-07-20 Roland McGrath <roland@redhat.com>
12832
12833 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
12834 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
12835 ld.so.cache was broken. With it, there is no way to disable dsocaps
12836 like LD_HWCAP_MASK can disable hwcaps.
12837
23d101d8
EPM
128382010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12839
12840 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
12841
cc9f2e47
UD
128422010-07-16 Ulrich Drepper <drepper@redhat.com>
12843
12844 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
12845 call in strcasestr.
12846 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
12847 __strcasestr_sse42_nonascii.
12848 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
12849 strcasestr-nonascii.c.
12850 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
12851
77c1b069
LM
128522010-06-15 Luis Machado <luisgpm@br.ibm.com>
12853
12854 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
12855 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
12856 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
12857 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
12858
440566c3
UD
128592010-07-09 Ulrich Drepper <drepper@redhat.com>
12860
12861 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
12862 fcntl.
12863
5be9d05d
AS
128642010-07-06 Andreas Schwab <schwab@redhat.com>
12865
c30b7ee2 12866 [BZ #11577]
5be9d05d
AS
12867 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
12868 dl_signal_cerror.
12869
8a492a67
UD
128702010-07-06 Ulrich Drepper <drepper@redhat.com>
12871
12872 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
12873 _PC_PIPE_BUF using F_GETPIPE_SZ.
12874
713df3d5
RM
128752010-07-05 Roland McGrath <roland@redhat.com>
12876
12877 * manual/arith.texi (Rounding Functions): Fix rint description
12878 implicit in round description.
12879
702e8f14
UD
128802010-07-02 Ulrich Drepper <drepper@redhat.com>
12881
12882 * elf/Makefile: Fix linking for a few tests to make recent linker
12883 happy.
12884
52ed8be9
AS
128852010-06-30 Andreas Schwab <schwab@redhat.com>
12886
12887 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12888 $(common-objpfx)libc_nonshared.a.
12889
f47c9a11
LM
128902010-06-21 Luis Machado <luisgpm@br.ibm.com>
12891
12892 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
12893 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
12894 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12895 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12896 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
12897 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
12898 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12899 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
12901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
12902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
12903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
12905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
12907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
12908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
12909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
12910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
12912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
12914 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
12915 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
12916 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
12917 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
12918 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
12919 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
12920 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
12921 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
12922 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
12923 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
12924 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
12925 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
12926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
12927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
12928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
12929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
12930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
12931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
12932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
12933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
12934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
12935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
12936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
12937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
12938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
12939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
12940
6fb8cbcb
L
129412010-06-25 H.J. Lu <hongjiu.lu@intel.com>
12942
12943 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
12944 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
12945 * string/memmove.c (memmove): Renamed to ...
12946 (MEMMOVE): ...this. Default to memmove.
12947 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
12948 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
12949 (END_CHK): Define.
12950 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12951 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
12952 mempcpy-ssse3-back memmove-ssse3-back.
12953 * sysdeps/x86_64/multiarch/bcopy.S: New file .
12954 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
12955 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
12956 * sysdeps/x86_64/multiarch/memcpy.S: New file.
12957 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
12958 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
12959 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
12960 * sysdeps/x86_64/multiarch/memmove.c: New file.
12961 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
12962 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
12963 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
12964 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
12965 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
12966 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
12967 Define.
12968 (index_Fast_Copy_Backward): Define.
12969 (HAS_ARCH_FEATURE): Define.
12970 (HAS_FAST_REP_STRING): Define.
12971 (HAS_FAST_COPY_BACKWARD): Define.
12972
4e733bac 129732010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
12974
12975 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12976 Restore proper fallback handling.
12977
63c4ed22
UD
129782010-06-19 Ulrich Drepper <drepper@redhat.com>
12979
ac2b484c
UD
12980 [BZ #11701]
12981 * posix/group_member.c (__group_member): Correct checking loop.
12982
63c4ed22
UD
12983 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
12984 OOM in getpwuid_r correctly. Return error number when the caller
12985 should return, otherwise -1.
12986 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
12987 call returning > 0 value.
12988 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
12989
765ade4b
AS
129902010-06-07 Andreas Schwab <schwab@redhat.com>
12991
12992 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
12993 libc_nonshared.a from targets in modules-names.
12994
80da2e09
KS
129952010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
12996
12997 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
12998 requires it.
12999
158db122
LM
130002010-06-10 Luis Machado <luisgpm@br.ibm.com>
13001
13002 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13003 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13004 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13005 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13006
caa78cf8
AS
130072010-06-02 Andreas Schwab <schwab@redhat.com>
13008
13009 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13010
b2ef2c01
UD
130112010-06-14 Ulrich Drepper <drepper@redhat.com>
13012
13013 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13014 and F_GETPIPE_SZ.
13015 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13016 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13017 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13018 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13019 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13020 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13021
fbd643b6
RM
130222010-06-14 Roland McGrath <roland@redhat.com>
13023
13024 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13025
f32f2869
JJ
130262010-06-07 Jakub Jelinek <jakub@redhat.com>
13027
13028 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13029 __REDIRECT followed by __THROW.
13030 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13031 * posix/getopt.h (getopt): Likewise.
13032
2a50c078
EPM
130332010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13034
13035 * hurd/lookup-at.c (__file_name_lookup_at): Accept
13036 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
13037 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13038 in AT_FLAGS.
13039 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13040 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13041
eb5ad2eb
LM
130422010-05-28 Luis Machado <luisgpm@br.ibm.com>
13043
13044 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13045
3c88fe1e
L
130462010-05-26 H.J. Lu <hongjiu.lu@intel.com>
13047
13048 [BZ #11640]
13049 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13050 Properly check family and model.
13051
d2f73151
TY
130522010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
13053
13054 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13055
ebd2e13d
LM
130562010-05-24 Luis Machado <luisgpm@br.ibm.com>
13057
13058 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13059
b32b8b45
UD
130602010-05-21 Ulrich Drepper <drepper@redhat.com>
13061
13062 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13063 symbol reference.
13064
9acbe24d
AS
130652010-05-19 Andreas Schwab <schwab@redhat.com>
13066
13067 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13068 symbol reference.
13069
f0ccf6ea
AS
130702010-05-21 Andreas Schwab <schwab@redhat.com>
13071
3d04ff3a
AS
13072 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13073 and internal_recvmmsg.
13074 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13075 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13076 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13077 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13078
f0ccf6ea
AS
13079 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13080 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13081 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13082
5b08ac57
AS
130832010-05-20 Andreas Schwab <schwab@redhat.com>
13084
13085 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13086
4828935d
LM
130872010-05-17 Luis Machado <luisgpm@br.ibm.com>
13088
13089 POWER7 optimizations.
13090 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13091 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13092
373d545e
UD
130932010-05-19 Ulrich Drepper <drepper@redhat.com>
13094
13095 * version.h: Update for 2.13 development version.
13096
21a2b1ae
AS
130972010-05-12 Andrew Stubbs <ams@codesourcery.com>
13098
13099 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13100 exceptions. Return 0.
13101
3f7dcb2b
RM
131022010-05-07 Roland McGrath <roland@redhat.com>
13103
13104 * elf/ldconfig.c (main): Add a const.
13105
5f24d53a 131062010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 13107
a160f8d8
UD
13108 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13109 (args_options): Add no-idn option.
13110 (ahosts_keys_int): Add idn_flags to ai_flags.
13111 (parse_option): Handle 'i' option to clear idn_flags.
13112
5f24d53a
UD
13113 * malloc/malloc.c (_int_free): Possible race in the most recently
13114 added check. Only act on the data if no current modification
13115 happened.
265bb1ce
UD
13116
13117See ChangeLog.17 for earlier changes.
This page took 1.628364 seconds and 5 git commands to generate.