]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Update sparc ULPs for recently added exp tests.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
7f18b530
DM
12012-05-07 David S. Miller <davem@davemloft.net>
2
05760585
DM
3 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4
7f18b530
DM
5 [BZ #14074]
6 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
7 (SETUP_PIC_REG): Use it.
8 (SETUP_PIC_REG_LEAF): Use it.
9
495fd99f
JM
102012-05-07 Joseph Myers <joseph@codesourcery.com>
11
12 [BZ #13885]
13 [BZ #13923]
14 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15 USE_AS_EXPM1L.
16 (EXPL_FINITE): Likewise.
17 (FLDLOG): Likewise.
18 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20 e_expl.S.
21 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22 USE_AS_EXPM1L.
23 (EXPL_FINITE): Likewise.
24 (FLDLOG): Likewise.
25 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
27 e_expl.S.
28 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
29 test of -max_value argument for long double.
30 * sysdeps/i386/fpu/libm-test-ulps: Update.
31 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32
6693d694
DM
332012-05-06 David S. Miller <davem@davemloft.net>
34
35 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36 quad soft-float symbols whose references which are compiler
37 generated.
38 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39
6c23e11c
JM
402012-05-06 Joseph Myers <joseph@codesourcery.com>
41
d8b82cad
JM
42 [BZ #13884]
43 [BZ #13914]
44 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45 USE_AS_EXP10L.
46 (EXPL_FINITE): Likewise.
47 (FLDLOG): Likewise.
48 (c0): Likewise.
49 (c1): Likewise.
50 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
51 Adjust comments for base varying.
52 (__expl_finite): Change alias to EXPL_FINITE.
53 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
54 e_expl.S.
55 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
56 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
57 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
58 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
59 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60 USE_AS_EXP10L.
61 (EXPL_FINITE): Likewise.
62 (FLDLOG): Likewise.
63 (c0): Likewise.
64 (c1): Likewise.
65 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
66 Adjust comments for base varying.
67 (__expl_finite): Change alias to EXPL_FINITE.
68 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
69 tests for bugs.
70 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71
6c23e11c
JM
72 [BZ #14064]
73 * math/libm-test.inc (check_float_internal): Correct ulp
74 calculation for subnormal expected results.
75
7b17aeda
JM
762012-05-05 Joseph Myers <joseph@codesourcery.com>
77
5779f134
JM
78 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
79 Disable one test.
80
41498f4d
JM
81 [BZ #13787]
82 [BZ #13922]
83 [BZ #14036]
84 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
85 (__ieee754_expl): Allow for and saturate large arguments.
86 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
87 (u_threshold): Likewise.
88 (__exp): Call __ieee754_exp before checking for overflow and
89 underflow.
90 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
91 (u_threshold): Likewise.
92 (__expf): Call __ieee754_expf before checking for overflow and
93 underflow.
94 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
95 (u_threshold): Likewise.
96 (__expl): Call __ieee754_expl before checking for overflow and
97 underflow.
98 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
99 (__ieee754_expl): Allow for and saturate large arguments.
100 * math/libm-test.inc (exp_test): Add another test. Do not allow
101 missing overflow exception on overflow.
102 (expm1_test): Do not allow missing overflow exception on overflow.
103
6698b8bf
JM
104 * sysdeps/i386/fpu/e_expl.c: Move to ...
105 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
106 rather than using inline asm.
107 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
108 * sysdeps/x86_64/fpu/e_expl.S: Copy from
109 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
110
7b17aeda
JM
111 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
112 (nice): Likewise.
113 (poll): Likewise.
114 (signal): Likewise.
115 (time): Likewise.
116 (times): Likewise.
117
f7c85819
JM
1182012-05-04 Joseph Myers <joseph@codesourcery.com>
119
120 * sysdeps/unix/syscalls.list (adjtime): Add entry from
121 sysdeps/unix/common/syscalls.list.
122 (fchmod): Likewise.
123 (fchown): Likewise.
124 (ftruncate): Likewise.
125 (getrusage): Likewise.
126 (gettimeofday): Likewise.
127 (setpgid): Likewise.
128 (setregid): Likewise.
129 (setreuid): Likewise.
130 (sigaction): Likewise.
131 (truncate): Likewise.
132 (vhangup): Likewise.
133 * sysdeps/unix/common/syscalls.list: Remove file.
134 * sysdeps/unix/bsd/Implies: Don't include unix/common.
135 * sysdeps/unix/sysv/linux/Implies: Likewise.
136
336270d0
L
1372012-05-04 H.J. Lu <hongjiu.lu@intel.com>
138
139 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
140 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
141 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
142 Moved to ...
143 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
144 Here.
145 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
146 to ...
147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
148 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
149 to ...
150 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
151 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
152 to ...
153 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
154 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
155 to ...
156 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
157 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
158 to ...
159 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
160 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
161 to ...
162 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
163 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
164 to ...
165 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
166 Here.
167 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
168 to ...
169 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
170 Here.
171 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
172 to ...
173 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
174 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
175 Moved to ...
176 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
177 Here.
178 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
179 to ...
180 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
181
d128e450
JM
1822012-05-04 Joseph Myers <joseph@codesourcery.com>
183
fa8ee516
JM
184 * sysdeps/unix/common/bits/dirent.h: Remove file.
185 * sysdeps/unix/common/bits/fcntl.h: Likewise.
186
d128e450
JM
187 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
188 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
189 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
190 * sysdeps/unix/bsd/isatty.c: Likewise.
191 * sysdeps/unix/bsd/tcdrain.c: Likewise.
192 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
193 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
194
ff8faaf0 1952012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 196
62881be4 197 [BZ #13563]
31dc8730
AZ
198 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
199 long double comparison inaccuracies.
200 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
201 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
202
6fef930c
AS
2032012-05-04 Andreas Schwab <schwab@linux-m68k.org>
204
205 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
206 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
207
8f203e6c
JM
2082012-05-04 Joseph Myers <joseph@codesourcery.com>
209
210 [BZ #14049]
211 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
212 nonzero digits before rounding a hex value.
213 * stdlib/tst-strtod.c (tests): Add another test.
214
5197d9c2
AK
2152012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
216
217 * sysdeps/s390/fpu/libm-test-ulps: Update.
218
f0c1dedf
AJ
2192012-05-03 Andreas Jaeger <aj@suse.de>
220
221 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
222 does not get optimized out.
223 (malloc_opt_barrier): New.
224
a65ef2ae 2252012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 226 Roland McGrath <roland@hack.frob.com>
a65ef2ae 227
2b942cb7 228 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 229 intermediate file deletion.
2b942cb7 230 (generated): Add .symlist files.
a65ef2ae 231
54b71e02
JM
2322012-05-03 Joseph Myers <joseph@codesourcery.com>
233
234 [BZ #13775]
235 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
236 Redirect under this condition.
237 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
238 [__USE_GNU] (__dprintf_chk): Not under this condition.
239 [__USE_GNU] (__vdprintf_chk): Likewise.
240 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
241 under this condition.
242 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
243 [__USE_XOPEN2K8] (dprintf): Define under this condition.
244 [__USE_XOPEN2K8] (vdprintf): Likewise.
245 [__USE_GNU] (__dprintf_chk): Not under this condition.
246 [__USE_GNU] (__vdprintf_chk): Likewise.
247 [__USE_GNU] (dprintf): Likewise.
248 [__USE_GNU] (vdprintf): Likewise.
249
d3dfcc41
RM
2502012-05-03 Roland McGrath <roland@hack.frob.com>
251
252 * elf/Makefile (common-generated): Set this instead of generated for
253 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
254 $(all-built-dso)-derived lists.
255
7ac30cc5
AJ
2562012-05-03 Andreas Jaeger <aj@suse.de>
257
0c51e550
AJ
258 * sysdeps/i386/fpu/libm-test-ulps: Update.
259
7ac30cc5
AJ
260 * FAQ: Removed.
261 * FAQ.in: Likewise.
262 * scripts/gen-FAQ.pl: Likewise.
263 * manual/install.texi (Installation): Point to online location of
264 FAQ.
265 * Makefile (files-for-dist): Remove FAQ.
266 (FAQ): Remove.
267
d4c2917f
AM
2682012-05-02 Allan McRae <allan@archlinux.org>
269
270 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
271 (LDFLAGS-reldepmod5.so): Likewise.
272 (LDFLAGS-reldep6mod1.so): Likewise.
273 (LDFLAGS-reldep6mod4.so): Likewise.
274 (LDFLAGS-reldep8mod3.so): Likewise.
275 (LDFLAGS-unload4mod1.so): Likewise.
276 (LDFLAGS-unload4mod2.so): Likewise.
277 (LDFLAGS-tst-initorder): Likewise.
278 (LDFLAGS-tst-initordera2.so): Likewise.
279 (LDFLAGS-tst-initordera3.so): Likewise.
280 (LDFLAGS-tst-initordera4.so): Likewise.
281 (LDFLAGS-tst-initorderb2.so): Likewise.
282 (LDFLAGS-noload): Likewise.
283 (LDFLAGS-next): Likewise.
284 (LDFLAGS-order2mod1.so): Likewise.
285 (LDFLAGS-order2mod2.so): Likewise.
286 (LDFLAGS-tst-initorder2): Likewise.
287 (LDFLAGS-tst-initorder2a.so): Likewise.
288 (LDFLAGS-tst-initorder2b.so): Likewise.
289 (LDFLAGS-tst-initorder2c.so): Likewise.
290 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
291
d77f993f
DM
2922012-05-02 David S. Miller <davem@davemloft.net>
293
294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
295
171a70b4
PP
2962012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
297
298 [BZ #14055]
299 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
300
0be196ad
AJ
3012012-05-02 Andreas Jaeger <aj@suse.de>
302
303 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
304 since we manipulate rounding mode.
305 (CPPFLAGS-test-idouble.c): Likewise.
306 (CPPFLAGS-test-ifloat.c): Likewise.
307 (CFLAGS-test-ldouble.c): Likewise.
308 (CFLAGS-test-double.c): Likewise.
309 (CFLAGS-test-float.c): Likewise.
310 (CFLAGS-test-misc.c): Likewise.
311 (CFLAGS-test-test-fenv.c): Likewise.
312
4f9d04aa
AZ
3132012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
314
2b942cb7
RM
315 [BZ #2550]
316 [BZ #2570]
317 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
318 comparisons to determine direction to adjust input.
4f9d04aa 319
82a79e7d
RM
3202012-05-01 Roland McGrath <roland@hack.frob.com>
321
f5a01ca9
RM
322 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
323 output to the target.
324
90fe4186
RM
325 * scripts/localplt.awk: New file.
326 * elf/Makefile ($(objpfx)check-localplt): Target removed.
327 (check-localplt-CFLAGS): Variable removed.
328 ($(all-built-dso:=.jmprel)): New static pattern rule.
329 (generated): Add those targets.
330 (localplt-built-dso): New variable.
331 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
332
333 * elf/check-localplt.c: File removed.
334
82397ed6
RM
335 * scripts/check-execstack.awk: New file.
336 * elf/Makefile ($(objpfx)check-execstack): Target removed.
337 (check-execstack-CFLAGS): Variable removed.
338 ($(objpfx)check-execstack.h): Target removed.
339 ($(objpfx)execstack-default): New target.
340 (generated): Add that instead of check-execstack.h.
341 ($(all-built-dso:=.phdr)): New static pattern rule.
342 (generated): Add those targets.
343 * elf/check-execstack.c: File removed.
344
82a79e7d
RM
345 * scripts/check-textrel.awk: New file.
346 * elf/Makefile ($(objpfx)check-textrel): Target removed.
347 (check-textrel-CFLAGS): Variable removed.
348 (all-built-dso): Use := to define.o
349 ($(all-built-dso:=.dyn)): New static pattern rule.
350 (generated): Add those targets.
351 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
352 * config.make.in (READELF): New substituted variable.
353 * elf/check-textrel.c: File removed.
354
62fde54f 3552012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 356
615605c9
JM
357 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
358 allow.
359 * conform/data/ctype.h-data [C99-based standards] (isblank):
360 Expect function.
361 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
362 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
363 [ISO || ISO99 || ISO11] (*_t): Do not allow.
364 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
365 Specify type. Require positive value.
366 (EILSEQ): Likewise.
367 (ERANGE): Likewise.
368 [ISO || POSIX] (EILSEQ): Do not expect.
369 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
370 Specify type. Require positive value.
371 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
372 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
373 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
374 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
375 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
376 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
377 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
378 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
379 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
380 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
381 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
382 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
383 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
384 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
385 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
386 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
387 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
388 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
389 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
390 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
391 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
392 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
393 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
394 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
395 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
396 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
397 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
398 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
399 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
400 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
401 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
402 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
403 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
404 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
405 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
406 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
407 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
408 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
409 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
410 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
411 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
412 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
413 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
414 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
415 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
416 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
417 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
418 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
419 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
420 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
421 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
422 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
423 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
424 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
425 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
426 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
427 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
428 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
429 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
430 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
431 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
432 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
433 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
434 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
435 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
436 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
437 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
438 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
439 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
440 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
441 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
442 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
443 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
444 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
445 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
446 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
447 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
448 Require >= 2.
449 (FLT_ROUNDS): Expect as macro, not constant.
450 (FLT_MANT_DIG): Use macro-int-constant.
451 (DBL_MANT_DIG): Likewise.
452 (LDBL_MANT_DIG): Likewise.
453 (FLT_DIG): Likewise.
454 (DBL_DIG): Likewise.
455 (LDBL_DIG): Likewise.
456 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
457 (DBL_MIN_EXP): Likewise.
458 (LDBL_MIN_EXP): Likewise.
459 (FLT_MAX_EXP): Use macro-int-constant.
460 (DBL_MAX_EXP): Likewise.
461 (LDBL_MAX_EXP): Likewise.
462 (FLT_MAX_10_EXP): Likewise.
463 (DBL_MAX_10_EXP): Likewise.
464 (LDBL_MAX_10_EXP): Likewise.
465 (FLT_MAX): Use macro-constant.
466 (DBL_MAX): Likewise.
467 (LDBL_MAX): Likewise.
468 (FLT_EPSILON): Use macro-constant. Give upper bound.
469 (DBL_EPSILON): Likewise.
470 (LDBL_EPSILON): Likewise.
471 (FLT_MIN): Likewise.
472 (DBL_MIN): Likewise.
473 (LDBL_MIN): Likewise.
474 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
475 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
476 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
477 [ISO11] (FLT_HAS_SUBNORM): Likewise.
478 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
479 [ISO11] (DBL_DECIMAL_DIG): Likewise.
480 [ISO11] (FLT_DECIMAL_DIG): Likewise.
481 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
482 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
483 [ISO11] (FLT_TRUE_MIN): Likewise.
484 [ISO11] (LDBL_TRUE_MIN): Likewise.
485 [ISO || ISO99 || ISO11] (*_t): Do not allow.
486 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
487 (SCHAR_MIN): Use macro-int-constant. Specify type.
488 (SCHAR_MAX): Likewise.
489 (UCHAR_MAX): Likewise.
490 (CHAR_MIN): Likewise.
491 (CHAR_MAX): Likewise.
492 (MB_LEN_MAX): Use macro-int-constant.
493 (SHRT_MIN): Use macro-int-constant. Specify type.
494 (SHRT_MAX): Likewise.
495 (USHRT_MAX): Likewise.
496 (INT_MAX): Likewise.
497 (INT_MIN): Use macro-int-constant. Specify type. Make upper
498 bound negative.
499 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
500 bound with "U".
501 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
502 bound with "L".
503 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
504 bound negative. Suffix upper bound with "L".
505 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
506 bound with "UL".
507 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
508 Specify type.
509 [C99-based standards] (LLONG_MAX): Likewise.
510 [C99-based standards] (ULLONG_MAX): Likewise.
511 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
512 == 0.
513 [ISO11] (max_align_t): Require type.
514 [ISO || ISO99 || ISO11] (*_t): Do not allow.
515
c9140a62
JM
516 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
517 from $CFLAGS, without defining away __attribute__ calls.
518 (checknamespace): Use $CFLAGS_namespace.
519
9af0bf29
JM
520 * conform/conformtest.pl (@keywords): Only include C99 keywords
521 for standards based on C99 or C11.
522
343222a2
JM
523 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
524 Disable tests.
525 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
526 UNIX98]: Likewise.
527
661f8cf0
JM
528 * conform/conformtest.pl: Handle "macro-int-constant" and test for
529 usability of symbols in #if.
530
ee74b9cb
JM
531 * conform/conformtest.pl: If macro or constant types start
532 "promoted:", expect the symbol to be of the following type
533 promoted by the integer promotions.
62fde54f 534
aafc49b3
JM
535 * conform/conformtest.pl: Parse all "constant" and "macro" lines
536 in one place. Also handle "macro-constant".
537
fefdf574
JM
538 * conform/conformtest.pl: Only accept expected macro values with
539 "==". Parse all "macro" lines in one place.
540 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
541
f2d922fe
JM
542 * conform/conformtest.pl: Handle braced types on "constant" lines
543 instead of handling "typed-constant".
544 * conform/data/signal.h-data: Use "constant" instead of
545 "typed-constant".
546
d22956c9
JM
547 * conform/conformtest.pl: Handle "optional-" at start of lines in
548 one place rather than duplicating several cases. Handle each
549 format of "macro" line with initial "optional-".
550
028e2e38
JM
551 * conform/conformtest.pl: Only accept expected constant or
552 optional-constant values with "==". Parse all "constant" lines in
553 one place. Parse all "optional-constant" lines in one place.
554 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
555 * conform/data/fmtmsg.h-data: Likewise.
556 * conform/data/netinet/in.h-data: Likewise.
557 * conform/data/tar.h-data: Likewise.
558 * conform/data/limits.h-data: Use "==" form on "constant" and
559 "optional-constant" lines.
560
1b8f2850
JM
561 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
562 Use -std=c99 for XOPEN2K.
563 (@knownproblems): Remove.
564 (newtoken): Don't check %isknown.
565
a05a144b
JM
566 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
567 Do not expect macro.
568 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
569 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
570 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
571 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
572 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
573 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
574 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
575 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
576 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
577 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
578 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
579 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
580 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
581 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
582 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
583 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
584 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
585 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
586 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
587 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
588 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
589 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
590 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
591 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
592 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
593 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
594 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
595 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
596 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
597 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
598 [XPG3] (acosh): Likewise.
599 [XPG3] (asinh): Likewise.
600 [XPG3] (atanh): Likewise.
601 [XPG3] (cbrt): Likewise.
602 [XPG3] (expm1): Likewise.
603 [XPG3] (ilogb): Likewise.
604 [XPG3] (log1p): Likewise.
605 [XPG3] (logb): Likewise.
606 [XPG3] (nextafter): Likewise.
607 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
608 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
609 [XPG3] (remainder): Likewise.
610 [XPG3] (rint): Likewise.
611 [XPG3 || XPG4 || UNIX98] (round): Likewise.
612 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
613 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
614 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
615 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
616 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
617 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
618 [UNIX98 || XOPEN2K] (scalb): Expect.
619 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
620 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
621 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
622 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
623 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
624 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
625 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
626 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
627 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
628 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
629 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
630 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
631 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
632 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
633 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
634 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
635 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
636 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
637 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
638 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
639 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
640 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
641 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
642 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
643 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
644 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
645 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
646 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
647 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
648 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
649 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
650 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
651 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
652 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
653 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
654 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
655 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
656 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
657 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
658 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
659 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
660 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
661 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
662 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
663 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
664 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
665 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
666 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
667 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
668 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
669 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
670 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
671 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
672 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
673 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
674 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
675 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
676 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
677 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
678 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
679 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
680 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
681 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
682 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
683 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
684 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
685 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
686 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
687 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
688 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
689 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
690 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
691 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
692 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
693 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
694 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
695 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
696 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
697 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
698 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
699 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
700 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
701 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
702 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
703 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
704 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
705 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
706 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
707 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
708 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
709 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
710 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
711 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
712 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
713 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
714 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
715 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
716 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
717 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
718 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
719 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
720 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
721 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
722 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
723 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
724 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
725 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
726 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
727 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
728 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
729 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
730 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
731 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
732 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
733 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
734 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
735 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
736 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
737 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
738 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
739 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
740 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
741 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
742 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
743 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
744 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
745 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
746 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
747 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
748 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
749 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
750 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
751 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
752 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
753 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
754 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
755 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
756
73c5ebe3
JM
757 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
758 _XOPEN_SOURCE_EXTENDED for XPG4.
759
39c33b6c
JM
760 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
761
62fde54f
JM
762 * Makeconfig (localtime): Remove variable.
763 (inst_localtime-file): Likewise.
764
0741d64c
AS
7652012-05-01 Andreas Schwab <schwab@linux-m68k.org>
766
767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
768 Update.
769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
770 Update.
771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
772 Update.
773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
774 Update.
775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
776 Update.
777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
778 Update.
779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
780 Update.
781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
782 Update.
783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
784 Update.
785
7cb029ee
JM
7862012-05-01 Joseph Myers <joseph@codesourcery.com>
787
788 [BZ #2550]
789 [BZ #2570]
790 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
791 comparisons to determine direction to adjust input.
792 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
793 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
794 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
795 Likewise.
796 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
797 Likewise.
798 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
799 Likewise.
800 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
801 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
802 Likewise.
803 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
804 Likewise.
805 * math/libm-test.inc (nexttoward_test): Add more tests.
806
412bd966
AS
8072012-05-01 Andreas Schwab <schwab@linux-m68k.org>
808
809 [BZ #14040]
810 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
811 in version GLIBC_2.1, not GLIBC_2.0.
812 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
813 Likewise.
814
9568c0c2
JM
8152012-04-30 Joseph Myers <joseph@codesourcery.com>
816
adfbc8ac
JM
817 [BZ #13942]
818 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
819 (1 - x) * (1 + x).
820 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
821 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
822 * math/libm-test.inc (acos_test): Add more tests.
823 (asin_test): Likewise.
824 * sysdeps/i386/fpu/libm-test-ulps: Update.
825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
826
5ba3cc69
JM
827 [BZ #14034]
828 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
829 of square root.
830 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
831 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
832 * math/libm-test.inc (acos_test_tonearest): New function.
833 (acos_test_towardzero): Likewise.
834 (acos_test_downward): Likewise.
835 (acos_test_upward): Likewise.
836 (asin_test_tonearest): Likewise.
837 (asin_test_towardzero): Likewise.
838 (asin_test_downward): Likewise.
839 (asin_test_upward): Likewise.
840 (main): Call the new functions.
841 * sysdeps/i386/fpu/libm-test-ulps: Update.
842 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
843
9568c0c2
JM
844 [BZ #13884]
845 [BZ #13924]
846 * math/e_exp10.c: Include <float.h>.
847 (__ieee754_exp10): Handle underflow here rather than multiplying
848 large negative argument by M_LN10.
849 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
850 of __ieee754_expf.
851 * math/e_exp10l.c: Include <float.h>.
852 (__ieee754_exp10l): Handle underflow here rather than multiplying
853 large negative argument by M_LN10l.
854 * math/libm-test.inc (exp10_test): Add another test. Do not allow
855 spurious overflow exception on underflow.
856
5ac3ea17
MP
8572012-04-29 Marek Polacek <polacek@redhat.com>
858
859 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
860 (__fortify_function): New macro.
861 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
862 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
863 __extern_always_inline.
864 * libio/bits/stdio2.h: Likewise.
865 * libio/bits/stdio.h: Likewise.
866 * string/string.h: Likewise.
867 * string/bits/string3.h: Likewise.
868 * include/stdio.h: Likewise.
869 * stdlib/bits/stdlib.h: Likewise.
870 * stdlib/stdlib.h: Likewise.
871 * rt/bits/mqueue2.h: Likewise.
872 * rt/mqueue.h: Likewise.
873 * posix/bits/unistd.h: Likewise.
874 * posix/unistd.h: Likewise.
875 * io/bits/poll2.h: Likewise.
876 * io/bits/fcntl2.h: Likewise.
877 * io/fcntl.h: Likewise.
878 * io/sys/poll.h: Likewise.
879 * misc/bits/syslog.h: Likewise.
880 * misc/bits/syslog-ldbl.h: Likewise.
881 * misc/sys/syslog.h: Likewise.
882 * socket/bits/socket2.h: Likewise.
883 * socket/sys/socket.h: Likewise.
884 * debug/tst-chk1.c: Likewise.
885 * wcsmbs/bits/wchar2.h: Likewise.
886 * wcsmbs/bits/wchar-ldbl.h: Likewise.
887 * wcsmbs/wchar.h: Likewise.
888
ecf0ebfb
AJ
8892012-04-29 Andreas Jaeger <aj@suse.de>
890
891 * Makerules (tests): Remove enable-check-abi protection.
892 (check-abi-warn): Remove.
893 (check-abi-%): Remove check-abi-warn usage.
894
895 * configure.in: Remove check-abi configure option.
896 * configure: Regenerated.
897 * config.make.in (enable-check-abi): Remove.
898
6d5c57fa
AS
8992012-04-28 Andreas Schwab <schwab@linux-m68k.org>
900
24c5d07e 901 [BZ #14033]
ded5180a
AS
902 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
903 double functions to double *_finite functions.
904
7e0d315d
AS
905 [BZ #13941]
906 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
907 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
908 LDBL_MIN_EXP.
909 * stdio-common/Makefile (tests): Add tst-sprintf3.
910 * stdio-common/tst-sprintf3.c: New file.
911
6d5c57fa
AS
912 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
913 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
914
0749ff8b
JM
9152012-04-28 Joseph Myers <joseph@codesourcery.com>
916
917 * conform/conformtest.pl: Remove duplicate typed-constant
918 handling.
919
8dbd5d7b
DM
9202012-04-28 David S. Miller <davem@davemloft.net>
921
922 * Makerules (%.abilist): Add vpath on sysdep_dirs.
923 (check-abi-%): Remove AWK script prerequisite and explicit
924 abilist directory.
925 (check-abi): Rewrite to just diff the symlist with the abilist.
926 (config-tls, config-abi-config): Delete, no longer used.
927 (update-abi-%): Remove AWK script and explicit abilist directory.
928 (update-abi): Rewrite to simply compare and conditionally copy the
929 symlist and the sysdep abilist file. Remove update-abi-config
930 checks.
931 * abilist/ld.abilist: Remove.
932 * abilist/libBrokenLocale.abilist: Remove.
933 * abilist/libanl.abilist: Remove.
934 * abilist/libcrypt.abilist: Remove.
935 * abilist/libdl.abilist: Remove.
936 * abilist/librt.abilist: Remove.
937 * abilist/libthread_db.abilist: Remove.
938 * abilist/libutil.abilist: Remove.
939 * scripts/extract-abilist.awk: Remove.
940 * scripts/merge-abilist.awk: Remove.
941 * sysdeps/generic/libcidn.abilist: New file.
942 * sysdeps/generic/libnss_compat.abilist: New file.
943 * sysdeps/generic/libnss_db.abilist: New file.
944 * sysdeps/generic/libnss_dns.abilist: New file.
945 * sysdeps/generic/libnss_files.abilist: New file.
946 * sysdeps/generic/libnss_hesiod.abilist: New file.
947 * sysdeps/generic/libnss_nis.abilist: New file.
948 * sysdeps/generic/libnss_nisplus.abilist: New file.
949 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
950 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
951 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
952 file.
953 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
954 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
955 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
956 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
957 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
958 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
959 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
960 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
961 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
962 file.
963 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
964 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
965 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
966 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
967 file.
968 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
969 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
970 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
971 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
972 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
973 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
974 file.
975 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
976 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
977 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
978 file.
979 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
980 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
981 New file.
982 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
983 New file.
984 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
985 New file.
986 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
987 New file.
988 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
989 New file.
990 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
991 New file.
992 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
993 New file.
994 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
995 New file.
996 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
997 New file.
998 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
999 New file.
1000 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1001 New file.
1002 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1003 New file.
1004 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1005 New file.
1006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1007 file.
1008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1009 New file.
1010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1011 New file.
1012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1013 file.
1014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1015 New file.
1016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1017 New file.
1018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1019 file.
1020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1021 New file.
1022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1023 New file.
1024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1025 New file.
1026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1027 New file.
1028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1029 New file.
1030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1031 New file.
1032 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1034 file.
1035 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1036 New file.
1037 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1038 file.
1039 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1040 file.
1041 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1042 file.
1043 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1044 file.
1045 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1046 file.
1047 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1048 New file.
1049 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1050 file.
1051 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1052 file.
1053 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1054 New file.
1055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1056 file.
1057 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1058 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1059 file.
1060 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1061 New file.
1062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1063 file.
1064 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1065 file.
1066 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1067 file.
1068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1069 file.
1070 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1071 file.
1072 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1073 New file.
1074 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1075 file.
1076 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1077 file.
1078 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1079 New file.
1080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1081 file.
1082 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1083 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1084 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1085 file.
1086 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1087 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1088 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1089 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1090 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1091 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1092 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1093 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1094 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1095 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1096 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1097 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1098 file.
1099 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1100 New file.
1101 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1102 file.
1103 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1104 file.
1105 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1106 file.
1107 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1108 file.
1109 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1110 file.
1111 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1112 New file.
1113 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1114 New file.
1115 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1116 file.
1117 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1118 New file.
1119 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1120 file.
1121 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1122 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1123 file.
1124 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1125 New file.
1126 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1127 file.
1128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1129 file.
1130 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1131 file.
1132 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1133 file.
1134 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1135 file.
1136 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1137 New file.
1138 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1139 New file.
1140 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1141 file.
1142 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1143 New file.
1144 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1145 file.
1146
41d73a1b
JM
11472012-04-28 Joseph Myers <joseph@codesourcery.com>
1148
1149 * conform/conformtest.pl: Fix typo in handling typed-constant from
1150 allow-header.
1151
28aeeda4
JM
11522012-04-27 Joseph Myers <joseph@codesourcery.com>
1153
adae8f5e
JM
1154 * README: Cut down references to pre-2.6 Linux kernels and
1155 Linuxthreads. Update lists of configurations in libc and ports
1156 and sort alphabetically. Say "or newer" with Linux kernel version
1157 requirements.
1158
28aeeda4
JM
1159 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1160
a462cb63
RA
11612012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1162
1163 [BZ #887]
1164 * math/libm-test.inc (logb_test_downward): New test to expose
1165 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1166 rounding mode.
1167
6ad3493e
JM
11682012-04-27 Joseph Myers <joseph@codesourcery.com>
1169
1170 [BZ #14027]
1171 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1172 to be done.
1173 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1174 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1175
2ce4f015
JM
11762012-04-26 Joseph Myers <joseph@codesourcery.com>
1177
5aeb141a
JM
1178 * sysdeps/unix/i386/brk.S: Remove file.
1179 * sysdeps/unix/i386/dl-brk.S: Likewise.
1180 * sysdeps/unix/i386/pipe.S: Likewise.
1181 * sysdeps/unix/i386/sigreturn.S: Likewise.
1182 * sysdeps/unix/i386/syscall.S: Likewise.
1183 * sysdeps/unix/i386/vfork.S: Likewise.
1184 * sysdeps/unix/i386/wait.S: Likewise.
1185
7143acae
JM
1186 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1187 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1188
2ce4f015
JM
1189 * configure.in (arm*-none*): Do not allow without
1190 --enable-hacker-mode.
1191 (netbsd*): Remove case setting base_os.
1192 (386bsd*): Likewise.
1193 (freebsd*): Likewise.
1194 (bsdi*): Likewise.
1195 (osf*): Likewise.
1196 (sunos*): Likewise.
1197 (ultrix*): Likewise.
1198 (newsos*): Likewise.
1199 (dynix*): Likewise.
1200 (*bsd*): Likewise.
1201 (sysv*): Likewise.
1202 (isc*): Likewise.
1203 (esix*): Likewise.
1204 (sco*): Likewise.
1205 (minix*): Likewise.
1206 (irix4*): Likewise.
1207 (irix6*): Likewise.
1208 (solaris[2-9]*): Likewise.
1209 (none): Likewise.
1210 * configure: Regenerated.
1211
0ac229c8
AZ
12122012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1213
1214 [BZ #11521]
1215 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1216 overflow or cancellation in calculating denominator.
1217 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1218 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1219 down expression to avoid unexpected rounding in newer GCCs.
1220 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1221
33f244f4
DM
12222012-04-26 David S. Miller <davem@davemloft.net>
1223
1224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1225 long-double compat symbols.
1226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1239
cfa1f3e8
DM
12402012-04-25 David S. Miller <davem@davemloft.net>
1241
1242 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1243 HWCAP_* values only after the memory barriers have been defined.
1244 (atomic_full_barrier): Define.
1245 (atomic_read_barrier): Define.
1246 (atomic_write_barrier): Define.
1247
6e236b92
SP
12482012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1249
1250 * shlib-versions: Add libgcc_s version information.
1251 * sysdeps/generic/libgcc_s.h: Remove.
1252 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1253 libgcc_s.h.
1254 * sysdeps/gnu/unwind-resume.c: Likewise.
1255 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1256
aab39a09
DM
12572012-04-25 David S. Miller <davem@davemloft.net>
1258
1259 * sysdeps/unix/sparc/brk.S: Delete.
1260 * sysdeps/unix/sparc/dl-brk.S: Delete.
1261 * sysdeps/unix/sparc/pipe.S: Delete.
1262 * sysdeps/unix/sparc/sysdep.S: Delete.
1263 * sysdeps/unix/sparc/sysdep.h: Delete.
1264 * sysdeps/unix/sparc/vfork.S: Delete.
1265 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1266 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1267 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1268 ret_ERRVAL, r0, r1, MOVE): Define.
1269 (JUMPTARGET): Remove.
1270 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1271 sysdeps/unix/sparc/sysdep.h
1272 (ENTRY, END): Remove.
1273 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1274
a3cc4f48
JM
12752012-04-25 Joseph Myers <joseph@codesourcery.com>
1276
2ed8cda2
JM
1277 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1278 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1279 -DIS_IN_build.
1280
35d76d59
JM
1281 * timezone/README: Update upstream location and email address for
1282 tzcode and tzdata.
1283 * timezone/zdump.c: Update from tzcode 2012b.
1284 * timezone/zic.c: Likewise.
1285
a3cc4f48
JM
1286 * configure.in (libc_cv_as_needed): Remove test.
1287 * configure: Regenerated.
1288 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1289 conditional definition.
1290 [$(have-as-needed) != yes] (no-as-needed): Likewise.
1291 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1292 * config.make.in (have-as-needed): Remove variable.
1293
ceab42c3
SP
12942012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1295 Paul Pluzhnikov <ppluzhnikov@google.com>
1296
1297 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1298 strings correctly.
1299
3ce2865f
CLT
13002012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
1301
1302 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1303 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1304 * sysdeps/sh/strlen.S: Likewise.
1305
f37e0d68
JM
13062012-04-24 Joseph Myers <joseph@codesourcery.com>
1307
ae186e9a
JM
1308 * sysdeps/unix/fork.S: Remove file.
1309 * sysdeps/unix/i386/fork.S: Likewise.
1310 * sysdeps/unix/sparc/fork.S: Likewise.
1311
b96914af
JM
1312 * sysdeps/unix/system.c: Remove file.
1313 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1314
f37e0d68
JM
1315 * sysdeps/unix/getegid.S: Remove file.
1316 * sysdeps/unix/geteuid.S: Likewise.
1317
87ef29ca
RM
13182012-04-24 Roland McGrath <roland@hack.frob.com>
1319
83bcd236
RM
1320 * scripts/check-localplt.awk: New file.
1321 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1322 of diff.
1323 * scripts/data/localplt-generic.data: Add a comment.
1324
87ef29ca
RM
1325 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1326 NODE when __dir_mkfile failed.
1327 * sysdeps/mach/hurd/symlinkat.c: Likewise.
1328 Reported by Ludovic Courtès <ludo@gnu.org>.
1329
e5a6e567
AJ
13302012-04-24 Andreas Jaeger <aj@suse.de>
1331
1332 * Makerules (common-clean): Also remove gen-as-const-headers
1333 files.
1334
c1820385
JM
13352012-04-24 Joseph Myers <joseph@codesourcery.com>
1336
1337 * Makerules (native-compile): Do not change working directory for
1338 build. Use $(OUTPUT_OPTION) in command.
1339 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1340
94e02fc4
AZ
13412012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1342
1343 [BZ #13886]
1344 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1345 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1346 * math/libm-test.inc (floor_test): Add more tests.
1347 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1348
3a533ca3
JM
13492012-04-24 Joseph Myers <joseph@codesourcery.com>
1350
940ab4b3
JM
1351 * sysdeps/unix/getdents.c: Remove file.
1352 * sysdeps/unix/sysv/getdents.c: Likewise.
1353 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1354
90e037bd
JM
1355 * sysdeps/unix/syscalls.list (madvise): Add syscall from
1356 sysdeps/unix/mman/syscalls.list.
1357 (mmap): Likewise.
1358 (mprotect): Likewise.
1359 (msync): Likewise.
1360 (munmap): Likewise.
1361 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1362 * sysdeps/unix/mman/syscalls.list: Remove.
1363 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1364
3a533ca3
JM
1365 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1366 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1367 * configure: Regenerated.
1368 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1369 $(libgcc_s_suffix).
1370 * config.make.in (libgcc_s_suffix): Remove variable.
1371
1ad743de
JM
13722012-04-23 Joseph Myers <joseph@codesourcery.com>
1373
4ad451e2
JM
1374 * sysdeps/unix/sysv/gethostname.c: Move to ...
1375 * sysdeps/posix/gethostname.c: ... here.
1376
5e37ce39
JM
1377 * sysdeps/unix/execve.S: Remove file.
1378
1ad743de
JM
1379 * sysdeps/unix/_exit.S: Remove file.
1380
4e681b5b
AJ
13812012-04-23 Andreas Jaeger <aj@suse.de>
1382
1383 [BZ #13739]
1384 * manual/Makefile: Remove make dist support, there's no
1385 need for a stand-alone documentation tar ball.
1386 (TEXI2DVI): Define always, it's not in Makeconfig.
1387 (dist): Removed.
1388 (tar-it): Removed.
1389 (edition): Removed.
1390 (glibc-doc-$(edition).tar): Removed
1391 (%.Z): Removed.
1392 (%.gz): Removed.
1393 (%.uu): Removed.
1394 (ETAGS): Remove, it's in Makeconfig.
1395 (move-if-change): Remove, it's in Makeconfig.
1396
c0baea34
PE
13972013-04-23 Paul Eggert <eggert@cs.ucla.edu>
1398
1399 [BZ #13970]
1400 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
1401 (strtod, strtof, strtold, strtol, strtoul, strtoq)
1402 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
1403 (strtod_l, strtof_l, strtold_l): Remove __wur.
1404 It is not necessarily an error to ignore strtol's return value.
1405 One can reliably look at the stored endptr to decide whether
1406 the number had valid syntax.
1407
7c0616fa
AJ
14082012-04-21 Andreas Jaeger <aj@suse.de>
1409
803cb6b7 1410 [BZ #13739]
7c0616fa
AJ
1411 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
1412
b0fe253f
JM
14132012-04-21 Joseph Myers <joseph@codesourcery.com>
1414
1415 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
1416 * sysdeps/unix/sysv/Versions: Remove file.
1417
8280f22d
MT
14182012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
1419
1420 [BZ #13927]
1421 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1422
75ce411f 14232012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
1424
1425 [BZ #7064]
1426 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
1427 version from __vm86.
1428
097d59fa
JM
14292012-04-20 Joseph Myers <joseph@codesourcery.com>
1430
a90f3bcb
JM
1431 * sysdeps/unix/common/lxstat.c: Remove file.
1432 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
1433
edc7ea78
JM
1434 * sysdeps/unix/sysv/Makefile: Remove file.
1435
cb78c221
JM
1436 * sysdeps/unix/sysv/direct.h: Remove file.
1437
efa6a45f
JM
1438 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
1439 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
1440 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
1441 * sysdeps/unix/sysv/bits/signum.h: Likewise.
1442 * sysdeps/unix/sysv/bits/stat.h: Likewise.
1443 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
1444 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
1445
9c9f2d0c
JM
1446 * sysdeps/unix/sysv/setrlimit.c: Remove file.
1447
4541c83b
JM
1448 * sysdeps/unix/xmknod.c: Remove file.
1449 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
1450
f5d153a0
JM
1451 * sysdeps/unix/sysv/settimeofday.c: Remove file.
1452
aa746595
JM
1453 * sysdeps/unix/sysv/i386/time.S: Remove file.
1454
cce5905e
JM
1455 * sysdeps/unix/fxstat.c: Remove file.
1456 * sysdeps/unix/xstat.c: Likewise.
1457 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
1458
37fa3841
JM
1459 * sysdeps/unix/sysv/sigaction.c: Remove file.
1460
ff1962a3
JM
1461 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
1462 (sysdep_headers): Remove variable.
1463 [termio.h not in sysdep_headers] (generated): Likewise.
1464 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
1465 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
1466 * sysdeps/unix/sysv/tcdrain.c: Likewise.
1467 * sysdeps/unix/sysv/tcflow.c: Likewise.
1468 * sysdeps/unix/sysv/tcflush.c: Likewise.
1469 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
1470 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
1471 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
1472 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
1473 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
1474
e7740d31
JM
1475 * sysdeps/unix/siglist.c: Remove file.
1476
ee06f18b
JM
1477 * sysdeps/unix/getppid.S: Remove file.
1478
097d59fa
JM
1479 * sysdeps/unix/mkdir.c: Remove file.
1480 * sysdeps/unix/rmdir.c: Likewise.
1481
ff3d51ec
AS
14822012-04-19 Andreas Schwab <schwab@linux-m68k.org>
1483
1484 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
1485 ERR_MAX value.
1486 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
1487 errlist-compat value.
1488
50f81fd7
DM
14892012-04-18 David S. Miller <davem@davemloft.net>
1490
1491 * sysdeps/generic/memcopy.h (reg_char): Delete.
1492 * debug/strcat_chk.c: Use char, not reg_char.
1493 * debug/strcpy_chk.c: Likewise.
1494 * debug/strncat_chk.c: Likewise.
1495 * debug/strncpy_chk.c: Likewise.
1496 * string/memchr.c: Likewise.
1497 * string/memrchr.c: Likewise.
1498 * string/rawmemchr.c: Likewise.
1499 * string/strcat.c: Likewise.
1500 * string/strchr.c: Likewise.
1501 * string/strchrnul.c: Likewise.
1502 * string/strcmp.c: Likewise.
1503 * string/strcpy.c: Likewise.
1504 * string/strncat.c: Likewise.
1505 * string/strncmp.c: Likewise.
1506 * string/strncpy.c: Likewise.
1507
8ff41c46
WS
15082012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1509
1510 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
1511 __builtin_memcopy is called when src and dest ranges are known to not
1512 overlap.
1513
6b652f46
WS
15142012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1515
1516 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
1517 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
1518 fwd_align_merge macro call.
1519 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
1520 bwd_align_merge macro call.
1521 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1522
b282631e
WS
15232012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1524
1525 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
1526 bwd_align_merge macros.
1527 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
1528 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
1529 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1530
95aa737c
DM
15312012-04-18 David S. Miller <davem@davemloft.net>
1532
1533 * sysdeps/sparc/sparc64/memcopy.h: Delete.
1534
7a99a614
AJ
15352012-04-18 Andreas Jaeger <aj@suse.de>
1536
1537 [BZ# 6794]
1538 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
1539 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
1540 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1541
1542 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
1543 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
1544 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1545
1546 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
1547 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
1548 Adjust for changed ldbl-128 files.
1549
1550 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
1551 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
1552 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1553
e5270c23
DM
15542012-04-17 David S. Miller <davem@davemloft.net>
1555
1556 * sysdeps/sparc/sparc32/memcopy.h: Delete.
1557
fb5e92c9
AS
15582012-04-17 Andreas Schwab <schwab@linux-m68k.org>
1559
1560 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
1561 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
1562 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
1563 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
1564 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1565 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
1566
76da7265
AZ
15672012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1568
1569 [BZ #6794]
1570 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
1571 * math/libm-test.inc: Add ilogb errno and exception tests.
1572 * math/w_ilogb.c: New file: ilogb wrapper.
1573 * math/w_ilogbf.c: New file: ilogbf wrapper.
1574 * math/w_ilogbl.c: New file: ilogbl wrapper.
1575 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
1576 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
1577 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
1578 exception being thrown with 0.0 as argument.
1579 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
1580 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
1581 exception being thrown with 0.0 as argument.
1582 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
1583 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1584 exception being thrown with 0.0 as argument.
1585 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
1586 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1587 exception being thrown with 0.0 as argument.
1588 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
1589 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 1590 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
1591 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
1592 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
1593 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
1594 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
1595 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
1596 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
1597
0396e69d
PB
15982012-04-17 Petr Baudis <pasky@ucw.cz>
1599
1600 * include/sys/uio.h: Change __vector to __iovec to avoid clash
1601 with altivec.
1602
750b5926
MP
16032012-04-16 Marek Polacek <polacek@redhat.com>
1604
1605 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
1606
751728a1
MP
16072012-04-16 Marek Polacek <polacek@redhat.com>
1608
1609 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
1610 operands of fdivp instruction.
1611
34a27407
L
16122012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1613
1614 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
1615 * elf/tst-auditmod3b.c: Likewise.
1616 * elf/tst-auditmod4b.c: Likewise.
1617 * elf/tst-auditmod5b.c: Likewise.
1618 * elf/tst-auditmod6b.c: Likewise.
1619 * elf/tst-auditmod6c.c: Likewise.
1620 * elf/tst-auditmod7b.c: Likewise.
1621 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
1622 * sysdeps/x86_64/preconfigure.in: Likewise.
1623 * sysdeps/x86_64/preconfigure: Regenerated.
1624
7e73e17d
L
16252012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1626
1627 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
1628 __ILP32__.
1629
c7a6ab72
AB
16302012-04-13 Antoine Balestrat <merkil33@gmail.com>
1631
1632 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1633 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
1634
a9e8e0e0
CL
16352012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
1636
1637 [BZ #13973]
1638 * locale/iso-639.def: Fix gl language name. Spotted by
1639 Yaron Shahrabani.
1640
ec98af7d
RM
16412012-04-12 Roland McGrath <roland@hack.frob.com>
1642
1643 [BZ #2074]
1644 * libio/libio.h (__io_write_fn): Update comment.
1645
247c3ede
PB
16462012-04-12 Petr Baudis <pasky@ucw.cz>
1647
1648 [BZ #2074]
1649 * stdio.texi (Hook Functions): The user provided writer function
1650 is not allowed to return -1.
1651
55939d6d
DM
16522012-04-11 David S. Miller <davem@davemloft.net>
1653
1654 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1655
90020f5a
MF
16562012-04-11 Mike Frysinger <vapier@gentoo.org>
1657
1658 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
1659 Add a leading slash to rtkaio.
1660
288f9098
JM
16612012-04-11 Jim Meyering <meyering@redhat.com>
1662
90020f5a
MF
1663 [BZ #11959]
1664 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
1665 It is not necessarily an error to ignore fwrite's return
1666 value. One can reliably use ferror to test for errors after
1667 the fact.
288f9098 1668
4be2b570
L
16692012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1670
1671 * bits/types.h (__snseconds_t): New type.
1672 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
1673
1674 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
1675 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1676 (__SNSECONDS_T_TYPE): Likewise.
1677 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1678 (__SNSECONDS_T_TYPE): Likewise.
1679 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1680 (__SNSECONDS_T_TYPE): Likewise.
1681
288f9098 16822012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
1683
1684 [BZ #2636]
1685 * manual/time.texi (Processor Time): Return type of times is
1686 elapsed real time since an arbitrary point in the past.
1687 (CPU Time): Move CLK_TCK from here...
1688 (Processor Time): ...to here. Correct description.
1689 * manual/conf.texi (Constants for Sysconf): Correct description of
1690 _SC_CLK_TCK.
1691
d7dd4413
DM
16922012-04-10 David S. Miller <davem@davemloft.net>
1693
1694 [BZ #13967]
1695 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
1696 where the is a gap between DT_REL(A) and DT_JMPREL.
1697
b46068fc
L
16982012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1699
1700 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
1701 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1702 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1703
73d65cc3
SP
17042012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1705
1706 * elf/dl-support.c (_dl_inhibit_cache): New variable.
1707 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
1708 (dl_main): Handle --inhibit-cache.
1709 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
1710 _dl_inhibit_cache.
1711 * elf/dl-load.c (_dl_map_object): Use it.
1712 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
1713
bcc8d661
JM
17142012-04-09 Joseph Myers <joseph@codesourcery.com>
1715
8f9a2fae
JM
1716 [BZ #13872]
1717 * sysdeps/i386/fpu/e_powl.S (p78): New object.
1718 (__ieee754_powl): Saturate large exponents rather than testing for
1719 overflow of y*log2(x).
1720 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1721 * math/libm-test.inc (pow_test): Do not permit spurious overflow
1722 exceptions.
1723
bcc8d661
JM
1724 [BZ #11521]
1725 * math/s_ctan.c: Include <float.h>.
1726 (__ctan): Avoid internal overflow or cancellation in calculating
1727 denominator.
1728 * math/s_ctanf.c: Likewise.
1729 * math/s_ctanl.c: Likewise.
1730 * math/s_ctanh.c: Likewise.
1731 * math/s_ctanhf.c: Likewise.
1732 * math/s_ctanhl.c: Likewise.
1733 * math/libm-test.inc (ctan_test): Add more tests.
1734 (ctanh_test): Likewise.
1735 * sysdeps/i386/fpu/libm-test-ulps: Update.
1736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1737
823fbbb4
AJ
17382012-04-09 Andreas Jaeger <aj@suse.de>
1739
03879793
AJ
1740 [BZ #6894]
1741 * manual/filesys.texi (Directory Entries): Mention that d_namlen
1742 is an optional BSD extension.
1743
823fbbb4
AJ
1744 [BZ #10254]
1745 * manual/stdio.texi (Opening Streams): Document additional fopen
1746 parameters.
1747
8de131cb
RM
17482012-04-09 Roland McGrath <roland@hack.frob.com>
1749
1750 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
1751 %eax without telling the compiler.
1752
c0ed9d7d
CD
17532012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
1754
1755 [BZ # 13963]
1756 * manual/install.texi: Use sourceware.org.
1757
c483f6b4
JM
17582012-04-09 Joseph Myers <joseph@codesourcery.com>
1759
d7dd9453
JM
1760 [BZ #13873]
1761 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
1762 (__ieee754_pow): Generate overflow and underflow using huge*huge
1763 and tiny*tiny rather than just returning constant infinity or zero
1764 for large exponents.
1765 * math/libm-test.inc (pow_test): Require overflow exceptions for
1766 applicable cases of large exponents.
1767
c483f6b4
JM
1768 [BZ #706]
1769 * sysdeps/i386/fpu/e_pow.S (p10): New object.
1770 (__ieee754_pow): Use iterative multiplication algorithm only for
1771 integer exponents with absolute value below 1024. Check for odd
1772 integer exponents when using algorithm for real exponents.
1773 * math/libm-test.inc (pow_test): Add more tests.
1774 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1775
d2de7579
JM
17762012-04-08 Joseph Myers <joseph@codesourcery.com>
1777
1778 [BZ #13705]
1779 * math/libm-test.inc (exp_test): Do not allow overflow exception
1780 on underflow test.
1781
f77f1232
AJ
17822012-04-08 Aurelien Jarno <aurelien@aurel32.net>
1783
1784 [BZ #13705]
1785 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
1786 instead of __kernel_standard_f.
1787
3884932b
MF
17882012-04-08 Mike Frysinger <vapier@gentoo.org>
1789
1790 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
1791 * sysdeps/x86_64/memset_chk.S: Likewise.
1792
54472e9c
AJ
17932012-04-08 Andreas Jaeger <aj@suse.de>
1794
6ab0fbfc
AJ
1795 [BZ #10153]
1796 * manual/startup.texi (Environment Access): Describe return value
1797 for putenv and setenv.
1798
61efba8c
AJ
1799 [BZ #6895]
1800 * manual/filesys.texi (Directory Entries): Add description for
1801 DT_LNK.
1802
95c3f29a
AJ
1803 [BZ #6890]
1804 * manual/filesys.texi (Directory Entries): Clarify that it's file
1805 system not operating system in the description of DT_UNKNOWN.
1806
54472e9c
AJ
1807 [BZ #6578]
1808 * manual/syslog.texi (closelog): Fix reference, it's openlog.
1809
624254b1
SC
18102012-04-08 Stephen Compall <s11@member.fsf.org>
1811
1812 [BZ #6649]
1813 * manual/llio.texi (Opening and Closing Files): Add cross
1814 reference to explain mode argument.
1815
1e4920e0
MF
18162012-04-07 Mike Frysinger <vapier@gentoo.org>
1817
1818 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
1819 * sysdeps/x86_64/memset_chk.S: Likewise.
1820
5ed848f3
DM
18212012-04-07 David S. Miller <davem@davemloft.net>
1822
1823 * elf/elf.h (R_SPARC_WDISP10): Define.
1824 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
1825 R_SPARC_SIZE32.
1826 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
1827 R_SPARC_SIZE64 and R_SPARC_H34.
1828
96154cd8
CD
18292012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
1830
1831 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
1832 conditions and remove no longer applicable assertion.
1833
9904dc47
L
18342012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1835
1836 * bits/byteswap.h: Include <features.h>.
1837 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1838 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1839
f8887d0a
L
18402012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1841
1842 * bits/byteswap.h (__bswap_16): Removed.
1843 Include <bits/byteswap-16.h> to get __bswap_16.
1844 * sysdeps/i386/bits/byteswap.h: Likewise.
1845 * sysdeps/s390/bits/byteswap.h: Likewise.
1846 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1847 * bits/byteswap-16.h: New file.
1848 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1849 * sysdeps/s390/bits/byteswap-16.h: Likewise.
1850 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
1851 * string/Makefile (headers): Add bits/byteswap-16.h.
1852
62470f60
PP
18532012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1854
1855 [BZ #13895]
1856 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
1857 extra indirection.
1858 * nss/Makefile (tests-static, tests): Add tst-nss-static.
1859 * nss/tst-nss-static.c: New.
1860
4dad7bab
RM
18612012-04-06 Robert Millan <rmh@gnu.org>
1862
1863 [BZ #6486]
1864 * manual/llio.texi (File Position Primitive): lseek
1865 refers to WHENCE when it really means OFFSET.
1866
e9142a17
AJ
18672012-04-06 Andreas Jaeger <aj@suse.de>
1868
2c040eff
AJ
1869 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
1870 strncmp declarations.
1871
e9142a17
AJ
1872 * abilist/libc.abilist: Add __poll and __ppoll.
1873
ff9f1c5f
DM
18742012-04-05 David S. Miller <davem@davemloft.net>
1875
dcd2ae90
DM
1876 * scripts/check-local-headers.sh: Accept a host triplet in the
1877 path matched by the exclude regexp.
1878
993eb054
DM
1879 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
1880 definition.
1881 * sysdeps/powerpc/powerpc32/dl-machine.h
1882 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
1883 * sysdeps/s390/s390-32/dl-machine.h
1884 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1885 * sysdeps/sparc/sparc32/dl-machine.h
1886 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1887 * sysdeps/sparc/sparc64/dl-machine.h
1888 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1889
ff9f1c5f
DM
1890 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
1891 lazy binding.
48e2e132 1892 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
1893 undefined symbol errors.
1894
48e2e132 1895 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
1896 DT_NEEDED entries.
1897
e80d6f94
MM
18982012-04-05 Michael Matz <matz@suse.de>
1899
1900 [BZ #13592]
1901 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
1902
349fa79f
AJ
19032012-04-05 Andreas Jaeger <aj@suse.de>
1904
1905 [BZ #13908]
1906 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
1907 comment.
1908
f402708f
KK
19092012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1910
1911 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
1912 which ROUND is no valid rounding mode.
1913
2ecccfc9
KK
19142012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1915
1916 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
1917 read again.
1918 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
1919
8a53f50f
KK
19202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1921
1922 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
1923 an exception using FPU order intentionally.
1924
19252012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1926
1927 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
1928 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
1929 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
1930 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
1931
d653abb7
SJ
19322012-04-05 Simon Josefsson <simon@josefsson.org>
1933
1934 [BZ #12340]
1935 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
1936 EINVAL when BUFLEN is too smal.
1937
c3b1bf7d
TS
19382012-04-05 Thomas Schwinge <thomas@codesourcery.com>
1939
1940 [BZ #13553]
1941 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
1942 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
1943
b1aa60f3
AJ
19442012-04-03 Andreas Jaeger <aj@suse.de>
1945
c3b1bf7d 1946 [BZ #13938]
67f60a26
AJ
1947 * manual/setjmp.texi (System V contexts): Fix sentence.
1948
b1aa60f3
AJ
1949 [BZ #13926]
1950 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
1951 New macro for this case.
1952 [!__GNUC__] (__bswap_64): New inline function for this case.
1953 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1954 * bits/byteswap.h: Likewise.
1955 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
1956 ull, guard with __GLIBC_HAVE_LONG_LONG.
1957
1958 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
1959 __GLIBC_HAVE_LONG_LONG.
1960
1961 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
1962 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
1963
39c59c35
TMQMF
19642012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1965
1966 [BZ #13691]
1967 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
1968 inptr and inend, rather than using last_ch.
1969
135ffda8
DM
19702012-04-02 David S. Miller <davem@davemloft.net>
1971
1972 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
1973 * stdio-common/printf-parse.h (read_int): Change return type to
1974 'int', return -1 on INT_MAX overflow.
1975 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
1976 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
1977 overflows INT_MAX. Check for overflow of in-format-string precision
1978 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
1979 SIZE_MAX not INT_MAX for integer overflow test.
1980 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
1981 skip the construct in the format string but do not record anything.
1982 * stdio-common/bug22.c: Adjust to test both width/prevision
1983 INT_MAX overflow as well as total length INT_MAX overflow. Check
1984 explicitly for proper errno values.
1985
228c019e
TS
19862012-04-02 Thomas Schwinge <thomas@codesourcery.com>
1987
302cadd3
TS
1988 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
1989 CHAR_MAX.
1990 * string/test-strcmp.c [! WIDE]: Likewise.
1991 * time/tst-mktime2.c: Likewise for INT_MAX.
1992 * string/test-string.h: #include <sys/param.h> for MIN.
1993
228c019e
TS
1994 * csu/init-first.c (__libc_init_first): Call __ctype_init.
1995 * sysdeps/i386/init-first.c (init): Likewise.
1996 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
1997 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
1998 * sysdeps/sh/init-first.c (init): Likewise.
1999
cfa633f5
UD
20002012-04-01 Ulrich Drepper <drepper@gmail.com>
2001
2002 * po/ru.po: Update from translation team.
d1635ef8 2003 * po/vi.po: Likewise.
cfa633f5 2004
6cd0a5ea
SP
20052012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2006
2007 * resolv/nss_dns/dns-host.c: Merge copyright years.
2008
4b43400f
LD
20092012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2010
2011 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2012 Optimize memcpy with prefetch if
2013 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2014 src, dst pointers have unequal 16 byte alignments.
2015
48c41d04
SP
20162012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2017
2018 [BZ #13928]
2019 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2020 from a CNAME entry and return the minimum ttl for the query.
2021 (gaih_getanswer_slice): Likewise.
2022
b8dc394d
JL
20232012-03-30 Jeff Law <law@redhat.com>
2024
2025 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2026 due to long keys.
2027 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2028 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2029
2f5a5ed0
JL
2030 * resolv/nss_dns/dns-host.c: Update copyright year.
2031
1d39e359
UD
20322012-03-30 Ulrich Drepper <drepper@gmail.com>
2033
c030f70c 2034 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 2035 requests to save a system call. Fix check that all bytes are sent.
c030f70c 2036
1d39e359
UD
2037 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2038 comments for sendmmsg.
2039
20402012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
2041
2042 [BZ #13691]
2043 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2044 with only 1 character between 0x0041 and 0x01b0.
2045 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2046 * wcsmbs/tst-mbsnrtowcs.c: New file.
2047
20fde227
DM
20482012-03-29 David S. Miller <davem@davemloft.net>
2049
2050 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2051 small copies by hand.
2052
984a4237
JL
20532012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2054
2055 [BZ #13761]
2056 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2057 _nss_compat_initgroups_dyn): Fall back to malloc/free
2058 for large group memberships.
2059
18c9d62b
DM
20602012-03-28 David S. Miller <davem@davemloft.net>
2061
88d85d4f
DM
2062 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2063 that branches into memcpy.
2064 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2065 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2066 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2067 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2068 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2069 bits.
2070 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2071 implementation too.
2072 * sysdeps/sparc/mempcpy.S: New file.
2073
e5aa83e1
DM
2074 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2075 the IFUNC routine in the libc case.
2076 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2077
88570753
DM
2078 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2079 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2080 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2081 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2082 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2083 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2084 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2085 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2086
249d7567
DM
2087 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2088 loop to 256 bytes instead of 64 bytes and fix test signedness.
2089
18c9d62b
DM
2090 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2091 * sysdeps/sparc/sparc32/Makefile: rather than here...
2092 * sysdeps/sparc/sparc64/Makefile: and here.
2093
05f3d1f6
UD
20942012-03-28 Ulrich Drepper <drepper@gmail.com>
2095
2096 * malloc/mallocbug.c: Avoid warnings about unused variables.
2097
86ae07a8
JL
20982012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2099
2100 [BZ #13760]
2101 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2102 in the right place. Discard and retry query if response is
2103 larger than input buffer size.
2104
41bf21a1
JM
21052012-03-28 Joseph Myers <joseph@codesourcery.com>
2106
d6270972
JM
2107 [BZ #369]
2108 [BZ #2678]
2109 [BZ #3866]
2110 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2111 x for large integer exponent.
2112 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2113 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
2114 sign of result as needed afterwards.
2115 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2116 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2117 result for underflowing pow the same as for overflow.
2118 (__kernel_standard_l): Handle powl overflow and underflow here
2119 rather than calling __kernel_standard.
2120 * math/libm-test.inc (pow_test): Add more tests.
2121
414fca03 2122 [BZ #3868]
41bf21a1
JM
2123 [BZ #13879]
2124 [BZ #13910]
2125 [BZ #13911]
2126 [BZ #13912]
2127 [BZ #13913]
2128 [BZ #13915]
2129 [BZ #13916]
2130 [BZ #13917]
2131 [BZ #13918]
2132 [BZ #13919]
2133 [BZ #13920]
2134 [BZ #13921]
2135 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2136 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2137 (__kernel_standard_l): New function.
2138 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2139 __kernel_standard.
2140 * math/w_acosl.c (__acosl): Likewise.
2141 * math/w_asinl.c (__asinl): Likewise.
2142 * math/w_atan2l.c (__atan2l): Likewise.
2143 * math/w_atanhl.c (__atanhl): Likewise.
2144 * math/w_coshl.c (__coshl): Likewise.
2145 * math/w_exp10l.c (__exp10l): Likewise.
2146 * math/w_exp2l.c (__exp2l): Likewise.
2147 * math/w_fmodl.c (__fmodl): Likewise.
2148 * math/w_hypotl.c (__hypotl): Likewise.
2149 * math/w_j0l.c (__j0l, __y0l): Likewise.
2150 * math/w_j1l.c (__j1l, __y1l): Likewise.
2151 * math/w_jnl.c (__jnl, __ynl): Likewise.
2152 * math/w_lgammal.c (__lgammal): Likewise.
2153 * math/w_log10l.c (__log10l): Likewise.
2154 * math/w_log2l.c (__log2l): Likewise.
2155 * math/w_logl.c (__logl): Likewise.
2156 * math/w_powl.c (__powl): Likewise.
2157 * math/w_remainderl.c (__remainderl): Likewise.
2158 * math/w_scalbl.c (sysv_scalbl): Likewise.
2159 * math/w_sinhl.c (__sinhl): Likewise.
2160 * math/w_sqrtl.c (__sqrtl): Likewise.
2161 * math/w_tgammal.c (__tgammal): Likewise.
2162 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2163 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2164 * math/libm-test.inc (acos_test): Add more tests.
2165 (acosh_test): Likewise.
2166 (asin_test): Likewise.
2167 (atanh_test): Likewise.
2168 (exp_test): Likewise.
2169 (exp10_test): Likewise.
2170 (exp2_test): Likewise.
2171 (expm1_test): Likewise.
2172 (lgamma_test): Likewise.
2173 (log_test): Likewise.
2174 (log10_test): Likewise.
2175 (log1p_test): Likewise.
2176 (log2_test): Likewise.
2177 (pow_test): Do not allow some spurious overflow exceptions.
2178 (sqrt_test): Add more tests.
2179 (tgamma_test): Likewise.
2180 (y0_test): Likewise.
2181 (y1_test): Likewise.
2182 (yn_test): Likewise.
2183
dd62fda6
AB
21842012-03-27 Anton Blanchard <anton@samba.org>
2185
2186 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2187 MAP_HUGETLB.
2188 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2189 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2190 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2191
1e3cdfda
AJ
21922012-03-27 David S. Miller <davem@davemloft.net>
2193
b855ab85
DM
2194 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2195
1e3cdfda
AJ
2196 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2197 have-as-vis3 check.
2198
21992012-03-27 Andreas Jaeger <aj@suse.de>
2200
2201 * sysdeps/x86_64/elf/configure.in: Moved to ...
2202 * sysdeps/x86_64/configure.in: ... here.
2203 * sysdeps/x86_64/elf/start.S: Moved to ...
2204 * sysdeps/x86_64/start.S: ... here.
2205 * sysdeps/x86_64/elf/configure: Delete.
2206
2207 * sysdeps/x86_64/configure.in: Merge contents from
2208 sysdeps/i386/configure.in (without i686 check).
2209
2210 * sysdeps/i386/elf/Versions: Merge into ...
2211 * sysdeps/i386/Versions: ... this.
2212 * sysdeps/i386/elf/Versions: Delete file.
2213 * sysdeps/i386/elf/start.S: Moved to ...
2214 * sysdeps/i386/start.S: ...here.
2215 * sysdeps/i386/elf/configure.in: Merge into...
2216 * sysdeps/i386/configure.in: ...here.
2217 * sysdeps/i386/elf/configure.in: Delete file.
2218 * sysdeps/i386/elf/configure: Delete file.
2219
2220 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2221 * debug/backtracesyms.c: ... here.
2222 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2223 * debug/backtracesymsfd.c: ... here.
2224 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2225 * sysdeps/generic/ifunc-sel.h: ... here.
2226
2227 * sysdeps/unix/i386/start.c: Delete file.
2228 * sysdeps/unix/sparc/start.c: Delete file.
2229 * sysdeps/unix/start.c: Delete file.
2230
2231 * sysdeps/sh/elf/configure.in: Moved to ...
2232 * sysdeps/sh/configure.in: ... here.
2233 * sysdeps/sh/elf/start.S: Moved to ...
2234 * sysdeps/sh/start.S: ... here.
2235 * sysdeps/sh/elf/configure: Delete file.
2236
2237 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2238 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2239 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2240 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2241 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2242 * sysdeps/powerpc/powerpc64/start.S: here.
2243 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2244 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2245 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2246 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2247 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2248
2249 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2250 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2251 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2252 * sysdeps/powerpc/powerpc32/start.S: ... here.
2253 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2254 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2255 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2256
2257 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2258 * sysdeps/powerpc/ifunc-sel.h: ... here.
2259 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2260 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2261
2262 * sysdeps/sparc/elf/configure.in: Moved to ...
2263 * sysdeps/sparc/configure.in: ... here.
2264 * sysdeps/sparc/elf/configure: Delete file.
2265 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2266 * sysdeps/sparc/sparc32/start.S: ... here.
2267 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2268 * sysdeps/sparc/sparc64/start.S: ... here.
2269 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2270 * sysdeps/sparc/sparc32/Makefile: ... this.
2271 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2272 * sysdeps/sparc/sparc64/Makefile: ... this.
2273
2274 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2275 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2276 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2277 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2278 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2279 * sysdeps/s390/s390-32/setjmp.S: ... here.
2280 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2281 * sysdeps/s390/s390-32/configure.in: ... here.
2282 * sysdeps/s390/s390-32/elf/configure: Delete file.
2283 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2284 * sysdeps/s390/s390-32/start.S: ... here.
2285
2286 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2287 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2288 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2289 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2290 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2291 * sysdeps/s390/s390-64/setjmp.S: ... here.
2292 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2293 * sysdeps/s390/s390-64/configure.in: ... here
2294 * sysdeps/s390/s390-64/elf/configure: Delete file.
2295 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2296 * sysdeps/s390/s390-64/start.S: ... here.
2297 * sysdeps/s390/s390-64/elf/configure: Delete.
2298
2299 * configure.in: Remove support for elf directories in sysdeps.
2300
2301 * configure: Regenerated.
2302 * sysdeps/i386/configure: Regenerated.
2303 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2304 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2305 * sysdeps/s390/s390-32/configure: Regenerated.
2306 * sysdeps/s390/s390-64/configure: Regenerated.
2307 * sysdeps/sh/configure: Regenerated.
2308 * sysdeps/sparc/configure: Regenerated.
2309 * sysdeps/x86_64/configure: Regenerated.
2310
a3f61311
AS
23112012-03-26 Andreas Schwab <schwab@linux-m68k.org>
2312
c876e002
AS
2313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2314
a3f61311
AS
2315 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2316 denormal result into account.
2317
ac4c54f0
RM
23182012-03-25 Roland McGrath <roland@hack.frob.com>
2319
2320 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2321 Reported by Allan McRae <allan@archlinux.org>.
2322
6a9b9c02
JL
23232012-03-23 Jeff Law <law@redhat.com>
2324
2325 * nss/getnssent.c (__nss_getent): Fix typo.
2326
4c42a0c1
DM
23272012-03-23 David S. Miller <davem@davemloft.net>
2328
2329 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2330
1532c7ac
L
23312012-03-23 H.J. Lu <hongjiu.lu@intel.com>
2332
2333 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2334 to pad to uint64_t for each field.
2335 (dl_tls_index): Replace unsigned long with uint64_t.
2336
3ff42526
PP
23372012-03-23 Daniel Jacobowitz <dmj@google.com>
2338 Paul Pluzhnikov <ppluzhnikov@google.com>
2339
2340 [BZ #6528]
2341 * grp/Makefile (otherlibs): Don't set it.
2342 * inet/Makefile (otherlibs): Likewise.
2343 * login/Makefile (otherlibs): Likewise.
2344 * nscd/Makefile (otherlibs): Likewise.
2345 * posix/Makefile (otherlibs): Likewise.
2346 * pwd/Makefile (otherlibs): Likewise.
2347 * rt/Makefile (otherlibs): Likewise.
2348 * sunrpc/Makefile (otherlibs): Likewise.
2349 * nss/Makefile (otherlibs): Likewise.
2350 Add libnss_files to routines and static-only-routines.
2351 ($(objpfx)getent): Remove rule.
2352 * resolv/Makefile: Add libnss_dns and libresolv to routines and
2353 static-only-routines.
2354
7c69cd14
JM
23552012-03-22 Joseph Myers <joseph@codesourcery.com>
2356
2357 [BZ #13892]
2358 * math/s_cexp.c: Include <float.h>.
2359 (__cexp): Handle exp result overflowing not necessarily
2360 overflowing both real and imaginary parts of result.
2361 * math/s_cexpf.c: Likewise.
2362 * math/s_cexpl.c: Likewise.
2363 * math/libm-test.inc (cexp_test): Add more tests.
2364 * sysdeps/i386/fpu/libm-test-ulps: Update.
2365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2366
81b035fe
L
23672012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2368
2369 * include/link.h (ELFW): New macro.
2370 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2371 Replace ELF64_R_TYPE with ELFW(R_TYPE).
2372
1da7940c
L
23732012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2374
2375 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2376 with uint64_t.
2377
b749dbb9
L
23782012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2379
2380 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2381 declaration.
2382 (struct La_x32_retval): Likewise.
2383
2ff87f3f
L
23842012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2385
2386 * sysdeps/x86_64/preconfigure.in: New file.
2387 * sysdeps/x86_64/preconfigure: New generated file.
2388
c0df8e69
JM
23892012-03-22 Joseph Myers <joseph@codesourcery.com>
2390
48e44791
JM
2391 [BZ #13824]
2392 * math/e_exp2l.c: Include <float.h>.
2393 (__ieee754_exp2l): Handle overflow and underflow cases
2394 separately. Only pass fractional part of argument to
2395 __ieee754_expl.
2396 * math/libm-test.inc (exp2_test): Add more tests.
2397
c0df8e69
JM
2398 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
2399 negating x to take absolute value.
2400 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2401 Likewise.
2402 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2403 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2404 Likewise.
2405 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
2406 computing low part if x was negated.
2407 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2408
c8e43ba7
L
24092012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2410
2411 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
2412 la_x32_gnu_pltexit.
2413 (pltexit): Cast int_retval to ptrdiff_t.
2414 * elf/tst-auditmod3b.c: Likewise.
2415 * elf/tst-auditmod4b.c: Likewise.
2416 * elf/tst-auditmod5b.c: Likewise.
2417 * elf/tst-auditmod6b.c: Likewise.
2418 * elf/tst-auditmod6c.c: Likewise.
2419 * elf/tst-auditmod7b.c: Likewise.
2420
2421 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
2422 and x32_gnu_pltexit.
2423
2424 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
2425 __ELF_NATIVE_CLASS.
2426 (La_x32_regs): New macro.
2427 (La_x32_retval): Likewise.
2428 (la_x32_gnu_pltenter): New function prototype.
2429 (la_x32_gnu_pltexit): Likewise.
2430
7998fa78
AS
24312012-03-21 Andreas Schwab <schwab@linux-m68k.org>
2432
dcb33988
AS
2433 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
2434 exponent.
2435
233fc563
AS
2436 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2437
7998fa78
AS
2438 * configure.in (libc_cv_cc_nofma): Check for option to disable
2439 generation of FMA instructions.
2440 * configure: Regenerate.
2441 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
2442 * sysdeps/ieee754/dbl-64/Makefile: New file.
2443 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2444 Remove brandred-fma4.
2445 (CFLAGS-brandred-fma4.c): Remove.
2446 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
2447 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
2448 define.
2449 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
2450 define.
2451
8e95c99a
L
24522012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2453
2454 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2455 LLONG_MAX != LONG_MAX.
2456 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2457 (_fitoa_word): Likewise.
2458 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
2459 LLONG_MAX != LONG_MAX.
2460 * stdio-common/_itowa.h: Include <_itoa.h>.
2461 (_itowa_word): Use _ITOA_WORD_TYPE on value.
2462 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
2463 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
2464 only if not defined.
2465 (_ITOA_WORD_TYPE): Likewise.
2466 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2467 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
2468
6f4db457
DM
24692012-03-21 David S. Miller <davem@davemloft.net>
2470
2471 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2472
7785fe5a
L
24732012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2474
2475 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
2476 of x86_64 when setting libc_cv_slibdir, libdir and
2477 libc_cv_localedir.
2478 * sysdeps/unix/sysv/linux/configure: Regenerated.
2479
4535cd55
JM
24802012-03-21 Joseph Myers <joseph@codesourcery.com>
2481
2482 * manual/lang.texi (Old Varargs): Remove section.
2483 (How Variadic): Update menu.
2484 (va_start): Do not mention varargs.h.
2485
17228132
TS
24862012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2487 Joseph Myers <joseph@codesourcery.com>
2488
2489 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
2490 link test.
2491 * configure: Regenerated.
2492
8149f976
TS
24932012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2494
05f3d1f6
UD
2495 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
2496 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
2497 conformtest.pl
8149f976 2498
1a4ac776
JM
24992012-03-21 Joseph Myers <joseph@codesourcery.com>
2500
be22ce65
JM
2501 * NOTES: Remove.
2502 * Makefile (files-for-dist): Remove NOTES.
2503 (NOTES): Remove rule.
2504 * README: Don't refer to NOTES.
2505 * manual/creature.texi: Don't include macros.texi.
2506 * manual/intro.texi (creature.texi): Remove comment referring to
2507 NOTES.
2508
40b601fb
JM
2509 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
2510 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
2511 * configure: Regenerated.
2512 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
2513 LIBC_TRY_CC_OPTION.
2514 (libc_cv_as_i686): Likewise.
2515 (libc_cv_cc_avx): Likewise.
2516 (libc_cv_cc_sse2avx): Likewise.
2517 (libc_cv_cc_fma4): Likewise.
2518 (libc_cv_cc_novzeroupper): Likewise.
2519 * sysdeps/i386/configure: Regenerated.
2520
1a4ac776
JM
2521 [BZ #13883]
2522 * sysdeps/i386/fpu/s_cexp.S: Remove.
2523 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2524 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2525 * math/libm-test.inc (cexp_test): Add more tests.
2526 * sysdeps/i386/fpu/libm-test-ulps: Update.
2527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2528
a458e7fe
AM
25292012-03-21 Allan McRae <allan@archlinux.org>
2530
2531 * timezone/Makefile: Do not install iso3166.tab and zone.tab
2532
0cb7efc5
JM
25332012-03-21 Joseph Myers <joseph@codesourcery.com>
2534
2535 [BZ #13871]
2536 * math/w_exp2.c: Do not include <float.h>.
2537 (o_threshold, u_threshold): Remove.
2538 (__exp2): Calculate result before checking finiteness and calling
2539 __kernel_standard.
2540 * math/w_exp2f.c: Likewise.
2541 * math/w_exp2l.c: Likewise.
2542 * math/libm-test.inc (exp2_test): Require overflow exception for
2543 1e6 input.
2460d3aa
JM
2544
2545 [BZ #3866]
2546 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
2547 range of signed 64-bit integers before using fistpll. Remove
2548 checks for whether integers fit in mantissa bits.
2549 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
2550 the range of signed 32-bit integers before using fistpl. Remove
2551 checks for whether integers fit in mantissa bits.
2552 * sysdeps/i386/fpu/e_powl.S (p64): New object.
2553 (__ieee754_powl): Test for y outside the range of signed 64-bit
2554 integers before using fistpll. Reduce 64-bit values to 63-bit
2555 ones as needed.
2556 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
2557 divide-by-zero is raised for zero to large negative powers.
2558 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
2559 (__ieee754_powl): Test for y outside the range of signed 64-bit
2560 integers before using fistpll. Reduce 64-bit values to 63-bit
2561 ones as needed.
2562 * math/libm-test.inc (pow_test): Add more tests.
2563
eb96ffb0
L
25642012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2565
2566 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
2567 <stdio-common/_itoa.h>.
2568 * debug/segfault.c: Likewise.
2569 * elf/dl-cache.c: Likewise.
2570 * elf/dl-minimal.c: Likewise.
2571 * elf/dl-misc.c: Likewise.
2572 * elf/dl-sysdep.c: Likewise.
2573 * elf/dl-version.c: Likewise.
2574 * elf/rtld.c: Likewise.
2575 * hurd/hurdsock.c: Likewise.
2576 * hurd/lookup-retry.c: Likewise.
2577 * malloc/malloc.c: Likewise.
2578 * malloc/mtrace.c: Likewise.
2579 * nscd/nscd_getgr_r.c: Likewise.
2580 * nscd/nscd_getpw_r.c: Likewise.
2581 * nscd/nscd_getserv_r.c: Likewise.
2582 * posix/getopt_init.c: Likewise.
2583 * posix/wordexp.c: Likewise.
2584 * stdio-common/_itoa.c: Likewise.
2585 * stdio-common/printf_fphex.c: Likewise.
2586 * stdio-common/vfprintf.c: Likewise.
2587 * string/_strerror.c: Likewise.
2588 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
2589 * sysdeps/i386/i686/hp-timing.h: Likewise.
2590 * sysdeps/mach/_strerror.c: Likewise.
2591 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
2592 * sysdeps/mach/hurd/sethostid.c: Likewise.
2593 * sysdeps/mach/hurd/xmknodat.c: Likewise.
2594 * sysdeps/mach/xpg-strerror.c: Likewise.
2595 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2596 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2597 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
2598 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
2599 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2600 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
2601 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2602 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2603 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
2604 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
2605 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
2606 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2607 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
2608 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2609 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2610 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
2611 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
2612 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2613 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2614 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2615 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
2616
2617 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
2618
2619 * stdio-common/_itoa.h: Moved to ...
2620 * sysdeps/generic/_itoa.h: Here.
2621
2622 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
2623
2624 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
2625 instead of "_itoa.h" and "_itowa.h".
2626 * stdio-common/vfprintf.: Likewise.
2627
d1af992d
L
26282012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2629
2630 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
2631 <bits/wordsize.h>.
2632 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
2633 (__signbit): Likwise.
2634 (llrintf): Likwise.
2635 (llrint): Likwise.
2636
114883e0
L
26372012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2638
2639 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
2640 __WORDSIZE != 64.
2641
c135cc1b
JM
26422012-03-20 Joseph Myers <joseph@codesourcery.com>
2643
2644 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
2645 OVERFLOW_EXCEPTION_OK.
2646 * math/libm-test.inc ("Philosophy"): Update comment about
2647 exception testing.
2648 (OVERFLOW_EXCEPTION): Define.
2649 (OVERFLOW_EXCEPTION_OK): Likewise.
2650 (INVALID_EXCEPTION_OK): Renumber.
2651 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2652 (IGNORE_ZERO_INF_SIGN): Likewise.
2653 (test_exceptions): Handle FE_OVERFLOW.
2654 (exp10_test): Expect overflow exceptions.
2655 (exp2_test): Likewise.
2656 (expm1_test): Likewise.
2657 (nextafter_test): Likewise.
2658 (pow_test): Likewise.
2659 (scalbn_test): Likewise.
2660 (scalbln_test): Likewise.
2661
95443d88
L
26622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2663
2664 * sysdeps/x86_64/bits/atomic.h
2665 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
2666 64bit integer.
2667 (atomic_exchange_acq): Likewise.
2668 (__arch_exchange_and_add_body): Likewise.
2669 (__arch_add_body): Likewise.
2670 (atomic_add_negative): Likewise.
2671 (atomic_add_zero): Likewise.
2672
490df6c4
L
26732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2674
c2722551 2675 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
2676 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
2677
5e52b189
L
26782012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2679
2680 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
2681 Check __x86_64__ instead of __WORDSIZE.
2682
a9879d4c
L
26832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2684
2685 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
2686
5df98260
DM
26872012-03-19 David S. Miller <davem@davemloft.net>
2688
e1497744
DM
2689 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2690
5df98260
DM
2691 * sysdeps/sparc/fpu/fenv_private.h: New file.
2692 * sysdeps/sparc/fpu/math_private.h: Use it.
2693 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
2694 Remove.
2695 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
2696 (libc_feholdexcept_setroundl): Remove.
2697 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
2698 Remove.
2699 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
2700 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
2701
b4c35121
L
27022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2703
2704 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
2705 int64_t instead of long int.
2706 (INSERT_WORDS64): Likwise.
2707
56965fd7
L
27082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2709
2710 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
2711 _Unwind_GetCFA return to _Unwind_Ptr first.
2712
83d1aec8
JM
27132012-03-19 Joseph Myers <joseph@codesourcery.com>
2714
1897ad44
JM
2715 [BZ #13629]
2716 * math/s_clog.c: Include <float.h>.
2717 (__clog): Scale large or subnormal inputs.
2718 * math/s_clogf.c: Likewise.
2719 * math/s_clogl.c: Likewise.
2720 * math/s_clog10.c: Include <float.h>.
2721 (M_LOG10_2): Define.
2722 (__clog10): Scale large or subnormal inputs.
2723 * math/s_clog10f.c: Likewise.
2724 * math/s_clog10l.c: Likewise.
2725 * math/libm-test.inc (clog_test): Add more tests.
2726 (clog10_test): Likewise.
2727 * sysdeps/i386/fpu/libm-test-ulps: Update.
2728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2729
7726d6a9
JM
2730 [BZ #11451]
2731 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
2732 x and y.
2733 * math/libm-test.inc (atan2_test): Add another test.
2734
83d1aec8
JM
2735 * Makerules (common-objdir-compile): Remove.
2736 * sysdeps/unix/Makefile (config-generated): Do not add
2737 $(unix-generated) to variable.
2738 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
2739 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
2740 Remove rule.
2741 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
2742 Likewise.
2743 [generic bits/local_lim.h] (before-compile): Do not append to
2744 variable.
2745 [generic bits/local_lim.h] (common-generated): Likewise.
2746 [generic sys/param.h] (before-compile): Do not append to variable.
2747 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
2748 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
2749 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
2750 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
2751 include.
2752 [generic sys/param.h] (sys/param.h-includes): Remove variable.
2753 [generic sys/param.h] (sys/param.h-includes): Remove rule.
2754 [generic sys/param.h] ($(addprefix
2755 $(common-objpfx),$(sys/param.h-includes))): Likewise.
2756 [generic sys/param.h] (common-generated): Do not append to
2757 variable.
2758 [generic sys/param.h] (sysdep_headers): Likewise.
2759 [generic bits/errno.h] (before-compile): Do not append to
2760 variable.
2761 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
2762 rule.
2763 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
2764 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
2765 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
2766 [generic bits/errno.h] (common-generated): Do not append to
2767 variable.
2768 [generic bits/ioctls.h] (before-compile): Do not append to
2769 variable.
2770 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
2771 rule.
2772 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
2773 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
2774 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
2775 rule.
2776 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
2777 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
2778 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
2779 [generic bits/ioctls.h] (common-generated): Do not append to
2780 variable.
2781 [generic sys/syscall.h] (syscall.h): Remove variable.
2782 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
2783 rule.
2784 [generic sys/syscall.h] (before-compile): Do not append to
2785 variable.
2786 [generic sys/syscall.h] (common-generated): Likewise.
2787 * sysdeps/unix/errnos-tmpl.c: Remove file.
2788 * sysdeps/unix/errnos.awk: Likewise.
2789 * sysdeps/unix/ioctls-tmpl.c: Likewise.
2790 * sysdeps/unix/ioctls.awk: Likewise.
2791 * sysdeps/unix/mk-local_lim.c: Likewise.
2792 * sysdeps/unix/snarf-ioctls: Likewise.
2793
4851a949
RH
27942012-03-19 Richard Henderson <rth@twiddle.net>
2795
bd37f2ee
RH
2796 * sysdeps/i386/fpu/fenv_private.h: New file.
2797 * sysdeps/i386/fpu/math_private.h: Use it.
2798 (math_opt_barrier, math_force_eval): Remove.
2799 (libc_feholdexcept_setround_53bit): Remove.
2800 (libc_feupdateenv_53bit): Remove.
2801 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2802 (math_opt_barrier, math_force_eval): Remove.
2803 (libc_feholdexcept): Remove.
2804 (libc_feholdexcept_setround): Remove.
2805 (libc_fetestexcept, libc_fesetenv): Remove.
2806 (libc_feupdateenv_test): Remove.
2807 (libc_feupdateenv, libc_feholdsetround): Remove.
2808 (libc_feresetround): Remove.
2809
d0adc922
RH
2810 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
2811 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2812
0fe0f1f8
RH
2813 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
2814 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
2815 (libc_feupdateenv_testl): New.
2816 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
2817 (libc_feupdateenv_testf): New.
2818 (libc_feupdateenv): Use libc_feupdateenv_test.
2819 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
2820 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
2821
eb92c487
RH
2822 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
2823 (libc_feholdsetroundf, libc_feholdsetroundl): New.
2824 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
2825 (libc_feresetround_noex): New.
2826 (libc_feresetround_noexf): New.
2827 (libc_feresetround_noexl): New.
2828 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
2829 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
2830 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
2831 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
2832 SET_RESTORE_ROUND.
2833 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
2834 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
2835 (__cos): Likewise.
2836 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
2837 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
2838 SET_RESTORE_ROUND_NOEX.
2839 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
2840 SET_RESTORE_ROUND_NOEXF.
2841 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
2842 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
2843 (libc_feholdsetroundf): New.
2844 (libc_feresetround, libc_feresetroundf): New.
2845
7d2e8012
RH
2846 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
2847 (libc_feholdexcept_setround_53bit): Convert from macro to function.
2848 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
2849
b4dabbb4
RH
2850 * sysdeps/generic/math_private.h: Include <fenv.h>.
2851 (default_libc_feholdexcept): New.
2852 (default_libc_feholdexcept_setround): New.
2853 (default_libc_fesetenv, default_libc_feupdateenv): New.
2854 (libc_feholdexcept): Only define if undefined.
2855 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
2856 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
2857 (libc_feholdexcept_setroundl): Likewise.
2858 (libc_feholdexcept_setround_53bit): Likewise.
2859 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
2860 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
2861 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
2862 (libc_feupdateenv_53bit): Likewise.
2863 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
2864 (libc_feholdexcept): Convert from macro to inline function.
2865 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
2866 (libc_fesetenv, libc_feupdateenv): Likewise.
2867
4851a949
RH
2868 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
2869 not previously defined.
2870 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
2871 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
2872 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
2873 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
2874 * sysdeps/ieee754/flt-32/math_private.h: New file.
2875 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
2876 math_private.h below SET_FLOAT_WORD.
2877 (__isnan, __isinf_ns, __finite): Remove.
2878 (__isnanf, __isinf_nsf, __finitef): Remove.
2879
e79d442e
AS
28802012-03-18 Andreas Schwab <schwab@linux-m68k.org>
2881
2882 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2883
90b80344
DM
28842012-03-17 David S. Miller <davem@davemloft.net>
2885
2886 [BZ #6471]
2887 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
2888 for 2.16.
2889
edc21804
DM
28902012-03-16 David S. Miller <davem@davemloft.net>
2891
77e927af
DM
2892 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
2893 warnings.
2894
374976dd
DM
2895 [BZ #6471]
2896 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
2897 properly.
2898 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
2899 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
2900 sysdep_routines when subdir is sysvipc.
2901 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
2902 __getshmlba helper.
2903
edc21804
DM
2904 * sysdeps/sparc/fpu/libm-test/ulps: Update.
2905
473c3ef3
L
29062012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2907
2908 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
2909 [__LP64__].
2910
eb0f39b6
L
29112012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2912
2913 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
2914 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
2915 (__lround): Renamed to ...
2916 (__llround): This. Replace long int with long long int.
2917 Define lround functions as aliases of llround functions.
2918 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
2919
6b6cd74b
L
29202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2921
2922 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
2923 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
2924 adresses to uintptr_t. Replace "long int" and "unsigned long
2925 int" with "greg_t" on va_arg.
2926
f1a77b01
L
29272012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2928
2929 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
2930 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
2931
2932 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2933 Move e_machine check before EI_CLASS check. Handle x32
2934 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
2935 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
2936 SKIP_EM_IA_64 and include
2937 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
2938
2939 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
2940 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
2941 (add_system_dir): New macro.
2942
2943 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
2944 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
2945
11b90b9f
JM
29462012-03-16 Joseph Myers <joseph@codesourcery.com>
2947
c36e1d23
JM
2948 [BZ #2551]
2949 [BZ #2552]
2950 [BZ #2553]
2951 [BZ #2554]
2952 [BZ #2562]
2953 [BZ #2563]
2954 [BZ #2565]
2955 [BZ #2566]
2956 [BZ #2576]
2957 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
2958 (y0): Likewise.
2959 * math/w_j0f.c (j0f): Likewise.
2960 (y0f): Likewise.
2961 * math/w_j0l.c (__j0l): Likewise.
2962 (__y0l): Likewise.
2963 * math/w_j1.c (j1): Likewise.
2964 (y1): Likewise.
2965 * math/w_j1f.c (j1f): Likewise.
2966 (y1f): Likewise.
2967 * math/w_j1l.c (__j1l): Likewise.
2968 (__y1l): Likewise.
2969 * math/w_jn.c (jn): Likewise.
2970 (yn): Likewise.
2971 * math/w_jnf.c (jnf): Likewise.
2972 (ynf): Likewise.
2973 * math/w_jnl.c (__jnl): Likewise.
2974 (__ynl): Likewise.
2975 * math/libm-test.inc (j0_test): Add more tests.
2976 (j1_test): Likewise.
2977 (jn_test): Likewise. Add trailing semicolon to existing test.
2978 (y0_test): Likewise.
2979 (y1_test): Likewise.
2980 * sysdeps/i386/fpu/libm-test-ulps: Update.
2981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2982
11b90b9f
JM
2983 [BZ #13851]
2984 [BZ #13854]
2985 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
2986 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
2987 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
2988 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
2989 (__tanl): Set errno for infinite argument.
2990 * sysdeps/i386/fpu/mptan.c: Remove.
2991 * sysdeps/i386/fpu/s_tan.S: Likewise.
2992 * sysdeps/i386/fpu/s_tanl.S: Likewise.
2993 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
2994 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
2995 * math/libm-test.inc (tan_test): Add more tests and enable more
2996 tests for double and long double.
2997 * sysdeps/i386/fpu/libm-test-ulps: Update.
2998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2999
6a1bd2a1
JK
30002012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3001
3002 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3003 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3004
10a803e0
RM
30052012-03-16 Roland McGrath <roland@hack.frob.com>
3006
3007 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3008 * configure.in: Use it for both main tree and add-ons.
3009 * configure: Regenerated.
3010
f196c7f7
L
30112012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3012
3013 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3014
8848d99d
JM
30152012-03-16 Joseph Myers <joseph@codesourcery.com>
3016
96cbe7f4
JM
3017 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3018 in comment.
3019
8848d99d
JM
3020 [BZ #13851]
3021 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3022 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3023 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3024 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3025 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3026 infinite argument.
3027 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3028 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3029 != 0 for prec == 2.
3030 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3031 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3032 * sysdeps/i386/fpu/s_cosl.S: Likewise.
3033 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3034 * sysdeps/i386/fpu/s_sinl.S: Likewise.
3035 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3036 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3037 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3038 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3039 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3040 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3041 * math/libm-test.inc (cos_test): Add more tests and enable more
3042 tests for long double.
3043 (sin_test): Likewise.
3044 (sincos_test): Likewise.
3045 * sysdeps/i386/fpu/libm-test-ulps: Update.
3046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3047
dd7f4703
DM
30482012-03-16 David S. Miller <davem@davemloft.net>
3049
3050 * sysdeps/sparc/fpu/math_private.h: New file.
3051
006f1daa
DM
30522012-03-15 David S. Miller <davem@davemloft.net>
3053
c0c83bc8
DM
3054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3055 file.
e6a62e18 3056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
3057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3058 file.
e6a62e18
DM
3059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3060 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3061 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3062 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3063 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3064 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3065 sysdep routines.
3066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3067
88cb87d9
DM
3068 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3069 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3070
006f1daa 3071 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
3072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3073 sparc-ifunc.h
006f1daa 3074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
3075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3076 Likewise.
3077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3078 Likewise.
006f1daa
DM
3079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
3082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3083 Likewise.
006f1daa
DM
3084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
3088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3089 Likewise.
3090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3091 Likewise.
006f1daa
DM
3092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3096 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3097 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3098 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3099 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3100 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3101 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3102 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3103 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3104 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3105 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3106 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3107 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3108 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3109 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3110 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3111 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3112 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3113 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3114 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3115 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3116
11e0098e
AS
31172012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3118
3119 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3120 scaling.
3121 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3122
e85b09d0
AJ
31232012-03-15 Andreas Jaeger <aj@suse.de>
3124
3125 [BZ #13852]
3126 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3127 ieee754/flt-32 implementation for sin, cos and sincos.
3128 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3129 * sysdeps/i386/fpu/s_cosf.S: Likewise.
3130 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3131 * sysdeps/i386/fpu/s_sinf.S: Likewise.
3132 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3133 ieee754/flt-32 implementation for tan.
3134
3135 * math/libm-test.inc (cos_test): Enable some large input tests for
3136 float as well
3137 (sin_test): Likewise.
3138 (sincos_test): Likewise.
3139 (tan_test): Add tests for large input.
3140
3141 * sysdeps/i386/fpu/libm-test-ulps: Update.
3142
81c64153
AJ
31432012-03-15 Andreas Jaeger <aj@suse.de>
3144
3145 [BZ #13658]
3146 * math/libm-test.inc (cos_test): Add more test cases.
3147 (sin_test): Likewise.
3148 (sincos_test): Likewise.
3149
7bbfa5c6
AJ
31502012-03-15 Andreas Jaeger <aj@suse.de>
3151
3152 [BZ #13837]
3153 * math/libm-test.inc (cos_test): Add a test case for large input
3154 value.
3155 (sin_test): Likewise.
3156 (sincos_test): Likewise.
3157
31582012-03-15 Andreas Jaeger <aj@suse.de>,
3159 Joseph Myers <joseph@codesourcery.com>
3160
3161 [BZ #13658]
0671f479 3162 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
3163 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3164 * sysdeps/i386/fpu/branred.c: Likewise.
3165 * sysdeps/i386/fpu/dosincos.c: Likewise.
3166 * sysdeps/i386/fpu/mpa.c: Likewise.
3167 * sysdeps/i386/fpu/s_cos.S: Likewise.
3168 * sysdeps/i386/fpu/s_sin.S: Likewise.
3169 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3170 * sysdeps/i386/fpu/sincos32.c: Likewise.
3171
3172 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3173 Define.
3174 (libc_feupdateenv_53bit): Define.
3175 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3176 Define.
3177 (libc_feupdateenv_53bit): Define.
3178
3179 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3180 53 bit (without extend i386 double precision).
3181
3182 * math/libm-test.inc (sincos_test): Add tests for large input.
3183 (sin): Likewise.
3184 (cos): Likewise.
3185
3186 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3187
9cad04ea
AS
31882012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3189
3190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3191
f7062b9a
DM
31922012-03-15 David S. Miller <davem@davemloft.net>
3193
3194 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3195 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3196 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3197 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3202 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3203 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3204 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3205 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3206 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3207 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3208 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
3209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3210 file.
f7062b9a 3211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
3212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3213 file.
f7062b9a 3214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
3215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3216 file.
f7062b9a 3217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
3218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3219 file.
f7062b9a
DM
3220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3221 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3222 fmin/fmax sysdep routines.
3223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3224
7bd951ff
DM
32252012-03-14 David S. Miller <davem@davemloft.net>
3226
559398ab
DM
3227 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3228 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3229 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3230 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3231 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3232 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3233 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3234 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3235 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3236 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3237 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3238 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3239 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3240 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3241 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3242 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3243 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3244 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3245 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3246 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3247 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3248 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3249 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3250 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3251 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3252 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3253 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3254 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3255 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3256 routines.
3257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3258 file.
559398ab 3259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
3260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3261 file.
559398ab 3262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
3263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3264 file.
559398ab 3265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
3266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3267 file.
559398ab 3268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
3269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3270 file.
559398ab 3271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
3272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3273 file.
3274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3275 file.
3276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3277 file.
3278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3279 file.
3280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3281 New file.
3282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3283 file.
3284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3285 file.
559398ab 3286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
3287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3288 file.
559398ab 3289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3291 file.
559398ab 3292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
3293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3294 file.
559398ab 3295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
3296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3297 VIS3 routines.
559398ab
DM
3298
3299 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3300 New file.
3301
5a1c1e32
DM
3302 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3303
eae47a36
DM
3304 * sysdeps/sparc/configure.in: New file.
3305 * sysdeps/sparc/configure: Generate.
3306 * configure.in (libc_cv_sparc_as_vis3): Substitute.
3307 * configure: Regenerate.
3308 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3309 * config.make.in (have-as-vis3): New.
3310 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3311 available use -Av9d instead of -Av9a.
3312 * sysdeps/sparc/sparc64/Makefile: Likewise.
3313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
3314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3315 New file.
3316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3317 file.
3318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3319 New file.
3320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3321 file.
eae47a36
DM
3322 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3323 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3324 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3325 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3326 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3327
c0c83bc8
DM
3328 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3329 fzeros/fnegs to load 0x80000000 into a float register instead of
3330 using the stack.
7bd951ff
DM
3331 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3332
bd951ccb
JM
33332012-03-14 Joseph Myers <joseph@codesourcery.com>
3334
3335 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3336 bits/syscall.h.
3337 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3338 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3339 ($(inst_includedir)/bits/syscall.h): Remove rule.
3340 ($(objpfx)bits/syscall.d): Include instead of
3341 $(objpfx)syscall-list.d.
3342 (generated): Change syscall-list.h and syscall-list.d to
3343 bits/syscall.h and bits/syscall.d.
3344
bb4e6db2
RM
33452012-03-14 Roland McGrath <roland@hack.frob.com>
3346
3347 [BZ #13846]
3348 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3349
aa4a2ae1
JM
33502012-03-14 Joseph Myers <joseph@codesourcery.com>
3351
e456826d
JM
3352 [BZ #13841]
3353 * math/s_csqrt.c: Include <float.h>.
3354 (__csqrt): Scale large or subnormal inputs.
3355 * math/s_csqrtf.c: Likewise.
3356 * math/s_csqrtl.c: Likewise.
3357 * math/libm-test.inc (csqrt_test): Add more tests.
3358 * sysdeps/i386/fpu/libm-test-ulps: Update.
3359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3360
aa4a2ae1
JM
3361 [BZ #13840]
3362 * math/libm-test.inc (hypot_test): Add more tests.
3363
7c10fd35
DM
33642012-03-13 David S. Miller <davem@davemloft.net>
3365
3366 [BZ #13840]
3367 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3368 double-precision for the calculation instead of scaling.
3369
f453b98b
JM
33702012-03-13 Joseph Myers <joseph@codesourcery.com>
3371
3372 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3373 manipulate bits before adding and subtracting TWO52[sx].
3374 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3375 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3376 Likewise.
3377 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3378
09a3453f
DM
33792012-03-13 David S. Miller <davem@davemloft.net>
3380
8e59da90
DM
3381 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3382 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3383 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3384 rtld-global-offsets.h
3385 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3386
2a8ab7f2
DM
3387 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3388 large parameters.
3389
10f62770
DM
3390 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
3391
5f0bdb18
DM
3392 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
3393 'err' in the ifdef scope in which it is actually used.
3394
09a3453f
DM
3395 * nss/nss_db/db-init.c: Include string.h
3396
b4b2eb5e
DM
33972012-03-12 David S. Miller <davem@davemloft.net>
3398
98bb2f1c
DM
3399 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3400 masking out of the most significant byte of random value used.
3401 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3402 Fix coding style in previous change.
3403
b4b2eb5e
DM
3404 * sysdeps/unix/sysv/linux/kernel-features.h
3405 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
3406 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
3407 expression.
3408 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
3409 later.
3410
6e226b09
DM
34112012-03-11 David S. Miller <davem@davemloft.net>
3412
a1bcbd40
DM
3413 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3414 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
3415 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
3416 for 'resultvar' otherwise things get truncated on 64-bit.
3417
cb9d6174
DM
3418 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3419 Fix masking out of the most significant byte of random value used.
3420
6e226b09
DM
3421 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3422
058c132d
AS
34232012-03-10 Andreas Schwab <schwab@linux-m68k.org>
3424
3425 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3426
2d2cd515
DM
34272012-03-09 David S. Miller <davem@davemloft.net>
3428
3429 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
3430 variables with appropriate CPP guards.
3431 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
3432 frame pointer, not the stack pointer. Correct layout comments. Fix test
3433 on resulting framesize and the management of the outregs buffer for pltexit.
3434 Preserve floating point return values across _dl_call_pltexit call.
3435 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
3436 framesize and the management of the outregs buffer for pltexit.
3437 Preserve floating point return values across _dl_call_pltexit
3438 call.
3439 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
3440 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
3441 (print_exit): Fix format string for return register value.
3442
9a07f9d0
JM
34432012-03-10 Joseph Myers <joseph@codesourcery.com>
3444
3445 * sunrpc/Makefile (others): Add rpcgen.
3446 ($(objpfx)rpcgen): Remove special build rule and dependency on
3447 libc.
3448 * sunrpc/rpcgen.c: New file.
3449
547b5e30
PE
34502012-03-09 Paul Eggert <eggert@cs.ucla.edu>
3451
c524201a
PE
3452 [BZ #13673]
3453 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
3454 * stdio-common/bug-vfprintf-nargs.c: Likewise.
3455 * sysdeps/i386/crti.S: Likewise.
3456 * sysdeps/i386/crtn.S: Likewise.
3457 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
3458 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
3459 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
3460 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
3461 * sysdeps/sh/crti.S: Likewise.
3462 * sysdeps/sh/crtn.S: Likewise.
3463 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3464
7b6235f2
PE
3465 [BZ #13673]
3466 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
3467 with URL.
3468 * locale/programs/locfile-kw.gperf: Likewise.
3469 * locale/programs/charmap-kw.h: Regenerated.
3470 * locale/programs/locfile-kw.h: Likewise.
3471
547b5e30
PE
3472 [BZ #13673]
3473 * intl/plural.y: Replace FSF snail mail address with URL.
3474 * intl/plural.c: Regenerated.
3475
5f0a5dae
RH
34762012-03-09 Richard Henderson <rth@twiddle.net>
3477
3478 * include/math_private.h: Remove file.
3479 * math/math_private.h: Move file ...
3480 * sysdeps/generic/math_private.h: ... here.
3481
b8c03620
RH
3482 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
3483 * sysdeps/powerpc/fpu/math_private.h: Likewise.
3484 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3485
4e234f5d 3486 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
3487 and <math_private.h>.
3488 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3489 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3490 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3491 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3492 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3493 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
3494 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3495 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3496 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3497 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3498 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3499 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3500 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3501 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3502 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3503 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3504 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3505 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3506 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3507 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3508 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3509 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3510 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3511 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3512 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3513 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3514 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3515 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3516 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3517 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3518 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3519 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3520 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3521 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3522 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3523 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3524 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3525 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3526 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3527 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3528 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
3529 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3530 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3531 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3532 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3533 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3534 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3535 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3536 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3537 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3538 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3539 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3540 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3541 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3542 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3543 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3544 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3545 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3546 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3547 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
3548 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3549 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3550 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3551 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3552 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3553 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3554 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3555 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3556 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
3557 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
3558 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3559 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3560 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3561 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3562 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
3563 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3564 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
3565 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3566 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
3567 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3568 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3569 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3570 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3571 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3572 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3573 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3574 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
3575 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3576 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3577 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3578 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3579 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3580 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3581 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3582 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3583 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3584 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3585 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3586 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3587 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3588 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3589 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3590 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3591 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3592 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3593 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3594 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3595 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3596 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3597 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3598 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3599 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3600 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3601 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3602 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
3603 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3604 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3605 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3606 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3607 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3608 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3609 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3610 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3611 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
3612 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3613 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3614 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3615 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
3616 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3617 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3618 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3619 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3620 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3621 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
3622 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
3623 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3624 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3625 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3626 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
3627 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3628 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3629 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3630 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3631 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
3632 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
3633 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3634 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3635 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3636 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3637 * sysdeps/ieee754/k_standard.c: Likewise.
3638 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3639 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3640 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3641 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3642 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3643 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3644 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3645 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3646 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3647 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3648 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3649 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3650 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3651 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3652 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3653 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3654 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3655 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3656 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3657 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3658 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3659 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3660 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3661 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3662 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3663 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3664 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3665 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3666 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3667 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3668 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3669 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3670 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3671 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3672 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3673 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3674 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3675 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
3676 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3677 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3678 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3679 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3680 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3681 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3682 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3683 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3684 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3685 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3686 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3687 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3688 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3689 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3690 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3691 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3692 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3693 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3694 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
3695 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3696 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3697 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3698 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3699 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3700 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3701 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
3702 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3703 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3704 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
3705 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
3706 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
3707 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
3708 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
3709 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3710 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
3711 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
3712 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
3713 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
3714 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
3715 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
3716 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3717 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3718 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3719 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3720 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3721 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3722 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
3723 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3724 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3725 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3726 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3727 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3728 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
3729 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3730 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3731 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3732 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3733 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3734 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
3735 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3736 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3737 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
3738 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3739 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3740 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3741 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3742 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
3743 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3744 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3745 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3746 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
3747 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3748 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3749 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3750 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
3751 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3752 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
3753 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3754 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
3755 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3756 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3757 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3758 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3759 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
3760 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3761 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
3762 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3763 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
3764 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3765 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3766 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3767 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3768 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3769 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3770 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3771 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3772 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3773 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3774 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
3775 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3776 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3777 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
3778 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
3779 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3780 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
3781 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
3782 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3783 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3784 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3785 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3786 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3787 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
3788 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3789 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3790 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3791 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3792 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
3793 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
3794 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3795 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3796 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3797 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3798 * sysdeps/ieee754/s_lib_version.c: Likewise.
3799 * sysdeps/ieee754/s_matherr.c: Likewise.
3800 * sysdeps/ieee754/s_signgam.c: Likewise.
3801 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3802 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3803 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
3804 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
3805 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
3806 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3807 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
3808 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
3809 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
3810 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
3811 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3812 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
3813 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3814 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3815 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
3816 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3817 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3818 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3819 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3820 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3821 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 3822
1991fa03
JM
38232012-03-09 Joseph Myers <joseph@codesourcery.com>
3824
3825 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
3826 * sunrpc/rpc_main.c: Likewise.
3827 * sunrpc/rpc_svcout.c: Likewise.
3828
60d6f5a6
DM
38292012-03-09 David S. Miller <davem@davemloft.net>
3830
3831 * include/math_private.h: New file.
3832
4962050e
JM
38332012-03-09 Joseph Myers <joseph@codesourcery.com>
3834
02a6f887
JM
3835 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
3836 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
3837 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
3838 from <bits/socket_type.h>.
3839 (enum __socket_type): Don't define here.
3840 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
3841 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3842 bits/socket_type.h.
3843
c6e013c1
JM
3844 [BZ #13566]
3845 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
3846 checking __USE_GNU.
3847
4962050e
JM
3848 * Makerules ($(inst_includedir)/%.h): New rule.
3849 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
3850 (install-others): Remove variable setting.
3851 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
3852
38842f45
RH
38532012-03-08 Richard Henderson <rth@twiddle.net>
3854
67bb6da6
RH
3855 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
3856 from macro to inline function; merge with the
3857 !__LIBC_INTERNAL_MATH_INLINES version.
3858 (__ieee754_sqrtf): Likewise.
3859
15194b4b
RH
3860 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
3861 to inline function.
3862 (__rintf, __floor, __floorf): Likewise.
3863
64e21ede
RH
3864 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
3865 macro to inline function.
3866 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
3867
38842f45
RH
3868 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
3869 not <math/math_private.h>.
3870
c64bf5fe
DM
38712012-03-08 David S. Miller <davem@davemloft.net>
3872
3873 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
3874 copyright year.
3875 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
3876
82d86f28
TS
38772012-03-08 Thomas Schwinge <thomas@codesourcery.com>
3878
3879 * resolv/gai_misc.c (handle_requests): Fix struct timespec
3880 normalization.
3881 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
3882 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3883
aea5d727
UD
38842012-03-08 Ulrich Drepper <drepper@gmail.com>
3885
3886 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
3887 be defined individually, they must be defined as a block. Define
3888 S for printing a string instead of hidint the different by using a
3889 macro for adding the 'l'.
3890 * stdio-common/tst-fphex-wide.c: Adjust.
3891
70bca0a3
MP
38922012-03-07 Marek Polacek <polacek@redhat.com>
3893
3894 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
3895
65b81130
MP
38962012-03-08 Marek Polacek <polacek@redhat.com>
3897
3898 [BZ #13806]
3899 * stdio-common/Makefile (tests): Add tst-fphex-wide.
3900 * stdio-common/tst-fphex.c: Define a few macros to make the
3901 test reusable. Use them.
3902 * stdio-common/tst-fphex-wide.c: New file.
3903
07037eeb
JM
39042012-03-08 Joseph Myers <joseph@codesourcery.com>
3905
a7a93d50
JM
3906 [BZ #6911]
3907 * manual/macros.texi (gnusystems): New macro.
3908 (nongnusystems): Likewise.
3909 (gnulinuxhurdsystems): Likewise.
3910 (gnuhurdsystems): Likewise..
3911 (gnulinuxsystems): Likewise.
3912 * manual/charset.texi: Use new macros or @theglibc{} to refer to
3913 variants of the GNU system, not "GNU system".
3914 * manual/conf.texi: Likewise.
3915 * manual/errno.texi: Likewise. Update example of errno macro
3916 expansion.
3917 * manual/filesys.texi: Likewise.
3918 (getumask): Document as specific to GNU/Hurd.
3919 * manual/install.texi: Likewise. Reword some references to
3920 GNU/Linux.
3921 * manual/intro.texi: Likewise.
3922 * manual/io.texi: Likewise.
3923 (File Name Portability): Detail which constraints are inapplicable
3924 to all GNU systems and which are only inapplicable to GNU/Hurd.
3925 * manual/job.texi: Likewise.
3926 * manual/llio.texi: Likewise.
3927 (O_NOCTTY): Document as present on GNU/Linux.
3928 * manual/maint.texi: Likewise.
3929 * manual/memory.texi: Likewise.
3930 * manual/pattern.texi: Likewise.
3931 * manual/pipe.texi: Likewise.
3932 * manual/process.texi: Likewise.
3933 * manual/resource.texi: Likewise.
3934 (RUSAGE_CHILDREN): Remove statement about specifying a particular
3935 child on GNU/Hurd.
3936 * manual/setjmp.texi: Likewise.
3937 * manual/signal.texi: Likewise.
3938 * manual/startup.texi: Likewise.
3939 * manual/stdio.texi: Likewise.
3940 * manual/terminal.texi: Likewise.
3941 (ONLCR): Document as POSIX.
3942 (OXTABS): Document availability on GNU/Linux as XTABS.
3943 (ONOEOT): Document availability separately from other bits.
3944 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
3945 * manual/time.texi: Likewise.
3946 * manual/users.texi: Likewise.
3947 * INSTALL: Regenerated.
3948 * sysdeps/gnu/errlist.c: Regenerated.
3949
07037eeb
JM
3950 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
3951 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
3952 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
3953 puts.
3954 * configure: Regenerated.
3955
d1d3431a
JM
39562012-03-07 Joseph Myers <joseph@codesourcery.com>
3957
af6a1e37
JM
3958 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
3959 default includes instead of AC_HEADER_CHECK.
3960 * sysdeps/i386/configure: Regenerated.
3961
d1d3431a
JM
3962 [BZ #10716]
3963 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
3964 * math/s_cacoshf.c (__cacoshf): Likewise.
3965 * math/s_cacoshl.c (__cacoshl): Likewise.
3966 * math/s_casinh.c (__casinh): Set signs of result from argument.
3967 * math/s_casinhf.c (__casinhf): Likewise.
3968 * math/s_casinhl.c (__casinhl): Likewise.
3969 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
3970 (casinh_test): Add more tests.
3971 * sysdeps/i386/fpu/libm-test-ulps: Update.
3972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3973
482ff4da
UD
39742012-03-07 Ulrich Drepper <drepper@gmail.com>
3975
872fda05
UD
3976 * po/zh_TW.po: Update from translation team.
3977
a4300c7a
UD
3978 * login/Makefile (distribute): Remove variable.
3979 * catgets/Makefile: Likewise.
3980 * mach/Makefile: Likewise.
3981 * malloc/Makefile: Likewise.
3982 * misc/Makefile: Likewise.
3983 * iconv/Makefile: Likewise.
3984 * nscd/Makefile: Likewise.
3985 * hurd/Makefile: Likewise.
3986 * manual/Makefile: Likewise.
3987 * locale/Makefile: Likewise.
3988 * intl/Makefile: Likewise.
3989 * conform/Makefile: Likewise.
3990 * nss/Makefile: Likewise.
3991 * time/Makefile: Likewise.
3992 * soft-fp/Makefile: Likewise.
3993 * dirent/Makefile: Likewise.
3994 * gmon/Makefile: Likewise.
3995 * po/Makefile: Likewise.
3996 * rt/Makefile: Likewise.
3997 * socket/Makefile: Likewise.
3998 * math/Makefile: Likewise.
3999 * signal/Makefile: Likewise.
4000 * debug/Makefile: Likewise.
4001 * elf/Makefile: Likewise.
4002 * timezone/Makefile: Likewise.
4003 * stdlib/Makefile: Likewise.
4004 * iconvdata/Makefile: Likewise.
4005 * sunrpc/Makefile: Likewise.
4006 * io/Makefile: Likewise.
4007 * argp/Makefile: Likewise.
4008 * inet/Makefile: Likewise.
4009 * hesiod/Makefile: Likewise.
4010 * grp/Makefile: Likewise.
4011 * csu/Makefile: Likewise.
4012 * wctype/Makefile: Likewise.
4013 * crypt/Makefile: Likewise.
4014 * libio/Makefile: Likewise.
4015 * string/Makefile: Likewise.
4016 * nis/Makefile: Likewise.
4017 * resolv/Makefile: Likewise.
4018 * stdio-common/Makefile: Likewise.
4019 * wcsmbs/Makefile: Likewise.
4020 * dlfcn/Makefile: Likewise.
4021 * posix/Makefile: Likewise.
4022
3b7c4e74 4023 [BZ #6959]
482ff4da
UD
4024 * timezone/Makefile: Don't install timezone files, just the programs
4025 and scripts.
4026
f72ed77d
UD
40272012-03-06 Ulrich Drepper <drepper@gmail.com>
4028
a000466f
UD
4029 * nss/databases.def: Add missing gshadow entry.
4030
f72ed77d
UD
4031 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
4032
a53b7a4e
MP
40332012-03-06 Marek Polacek <polacek@redhat.com>
4034
4035 [BZ #13726]
4036 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4037 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4038 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4039 * stdio-common/tst-long-dbl-fphex.c: New file.
4040
e9258400
DM
40412012-03-06 David S. Miller <davem@davemloft.net>
4042
4043 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4044 (set_obp_int): New function.
4045 (get_obp_int): New function.
4046 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
4047 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4048 Avoid unused variable warnings on 'val' and use builtin_expect.
4049 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4050 __builtin_expect.
e9258400
DM
4051 (INLINE_CLONE_SYSCALL): Likewise.
4052
3bd2c723
DM
40532012-03-05 David S. Miller <davem@davemloft.net>
4054
4055 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4056
bbb78d03
AS
40572012-03-05 Andreas Schwab <schwab@linux-m68k.org>
4058
884c5db4
AS
4059 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4060
bbb78d03
AS
4061 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4062 only for |x| >= 40.
4063 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4064
1c9f702a 40652012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
4066
4067 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4068 Replace gettimeofday with __vdso_gettimeofday.
4069
7be16f82
RM
4070 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4071 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4072 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
4073
4074 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4075 time with __vdso_time.
4076
ed58a00f
JM
40772012-03-05 Joseph Myers <joseph@codesourcery.com>
4078
4079 * manual/lang.texi (size_t): Note types to which size_t may be
4080 equivalent with the GNU C Library, but do not describe when
4081 differences between them are significant.
4082
30ee4ced
AJ
40832012-03-05 Andreas Jaeger <aj@suse.de>
4084
4085 * sysdeps/i386/fpu/libm-test-ulps: Update.
4086
b7cd39e8
JM
40872012-03-05 Joseph Myers <joseph@codesourcery.com>
4088
4089 [BZ #3976]
4090 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4091 (__ieee754_pow): Save and restore rounding mode and use
4092 round-to-nearest for main computations.
4093 * math/libm-test.inc (pow_test_tonearest): New function.
4094 (pow_test_towardzero): Likewise.
4095 (pow_test_downward): Likewise.
4096 (pow_test_upward): Likewise.
4097 (main): Call the new functions.
4098 * sysdeps/i386/fpu/libm-test-ulps: Update.
4099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
4100
4101 [BZ #3976]
4102 * math/libm-test.inc (cosh_test_tonearest): New function.
4103 (cosh_test_towardzero): Likewise.
4104 (cosh_test_downward): Likewise.
4105 (cosh_test_upward): Likewise.
4106 (sinh_test_tonearest): Likewise.
4107 (sinh_test_towardzero): Likewise.
4108 (sinh_test_downward): Likewise.
4109 (sinh_test_upward): Likewise.
4110 (main): Call the new functions.
4111 * sysdeps/i386/fpu/libm-test-ulps: Update.
4112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4113
6c6a98c9
TV
41142012-03-05 Tom de Vries <tom@codesourcery.com>
4115
4116 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4117 default stack guard is set in last bytes.
4118 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4119
21bb2d2e 41202012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 4121
21bb2d2e 4122 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 4123
21bb2d2e
AJ
4124 [BZ #13656]
4125 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4126 possibly allocate from heap instead of stack.
4127 * stdio-common/bug-vfprintf-nargs.c: New file.
4128 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 4129
c6922934
AS
41302012-03-03 Andreas Schwab <schwab@linux-m68k.org>
4131
4132 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4133
bc957d53
MP
41342012-03-03 Marek Polacek <polacek@redhat.com>
4135
4136 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4137 * math/math_private.h: Likewise.
4138 * stdlib/tst-strtod.c: Likewise.
4139 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4140 * sysdeps/x86_64/bits/atomic.h: Likewise.
4141
6358490d
DM
41422012-03-02 David S. Miller <davem@davemloft.net>
4143
4144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4148 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4149 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4150 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4151 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4152
01ae168d
RM
41532012-03-02 Roland McGrath <roland@hack.frob.com>
4154
d9a17c07
RM
4155 [BZ #13792]
4156 * manual/examples/README: New file, says the example source files
4157 can be used under GPL>=2.
4158 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4159 line containing just "*/".
4160 * manual/examples/add.c: Add copyright header (GPL>=2).
4161 * manual/examples/argp-ex1.c: Likewise.
4162 * manual/examples/argp-ex2.c: Likewise.
4163 * manual/examples/argp-ex3.c: Likewise.
4164 * manual/examples/argp-ex4.c: Likewise.
4165 * manual/examples/atexit.c: Likewise.
4166 * manual/examples/db.c: Likewise.
4167 * manual/examples/dir.c: Likewise.
4168 * manual/examples/dir2.c: Likewise.
4169 * manual/examples/execinfo.c: Likewise.
4170 * manual/examples/filecli.c: Likewise.
4171 * manual/examples/filesrv.c: Likewise.
4172 * manual/examples/fmtmsgexpl.c: Likewise.
4173 * manual/examples/genpass.c: Likewise.
4174 * manual/examples/inetcli.c: Likewise.
4175 * manual/examples/inetsrv.c: Likewise.
4176 * manual/examples/isockad.c: Likewise.
4177 * manual/examples/longopt.c: Likewise.
4178 * manual/examples/memopen.c: Likewise.
4179 * manual/examples/memstrm.c: Likewise.
4180 * manual/examples/mkfsock.c: Likewise.
4181 * manual/examples/mkisock.c: Likewise.
4182 * manual/examples/mygetpass.c: Likewise.
4183 * manual/examples/pipe.c: Likewise.
4184 * manual/examples/popen.c: Likewise.
4185 * manual/examples/rprintf.c: Likewise.
4186 * manual/examples/search.c: Likewise.
4187 * manual/examples/select.c: Likewise.
4188 * manual/examples/setjmp.c: Likewise.
4189 * manual/examples/sigh1.c: Likewise.
4190 * manual/examples/sigusr.c: Likewise.
4191 * manual/examples/stpcpy.c: Likewise.
4192 * manual/examples/strdupa.c: Likewise.
4193 * manual/examples/strftim.c: Likewise.
4194 * manual/examples/strncat.c: Likewise.
4195 * manual/examples/subopt.c: Likewise.
4196 * manual/examples/swapcontext.c: Likewise.
4197 * manual/examples/termios.c: Likewise.
4198 * manual/examples/testopt.c: Likewise.
4199 * manual/examples/testpass.c: Likewise.
4200 * manual/examples/timeval_subtract.c: Likewise.
4201
01ae168d
RM
4202 [BZ #13792]
4203 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4204 function to ...
4205 * manual/timeval_subtract.c.texi: ... here, new file.
4206
49efa33d
DM
42072012-03-02 David S. Miller <davem@davemloft.net>
4208
4209 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4210
28afd92d
JM
42112012-03-02 Joseph Myers <joseph@codesourcery.com>
4212
804360ed
JM
4213 [BZ #3976]
4214 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4215 (__sin): Save and restore rounding mode and use round-to-nearest
4216 for all computations.
4217 (__cos): Save and restore rounding mode and use round-to-nearest
4218 for all computations.
4219 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4220 <fenv.h>.
4221 (tan): Save and restore rounding mode and use round-to-nearest for
4222 all computations.
4223 * math/libm-test.inc (cos_test_tonearest): New function.
4224 (cos_test_towardzero): Likewise.
4225 (cos_test_downward): Likewise.
4226 (cos_test_upward): Likewise.
4227 (sin_test_tonearest): Likewise.
4228 (sin_test_towardzero): Likewise.
4229 (sin_test_downward): Likewise.
4230 (sin_test_upward): Likewise.
4231 (tan_test_tonearest): Likewise.
4232 (tan_test_towardzero): Likewise.
4233 (tan_test_downward): Likewise.
4234 (tan_test_upward): Likewise.
4235 (main): Call the new functions.
4236 * sysdeps/i386/fpu/libm-test-ulps: Update.
4237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4238
a6d06d7b
JM
4239 [BZ #10135]
4240 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4241 small n, then large n, before computing and testing k+n.
4242 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4243 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4244 Likewise.
4245 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4246 Likewise.
4247 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4248 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4249 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4250 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4251 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4252 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4253 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4254 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4255 * math/libm-test.inc (scalbn_test): Add more tests.
4256 (scalbln_test): Likewise.
4257
07e12bb3
JM
4258 * manual/filesys.texi (mode_t): Describe constraints on size and
4259 signedness, not exact equivalence to a particular type.
4260 (ino_t): Likewise.
4261 (ino64_t): Likewise.
4262 (dev_t): Likewise.
4263 (nlink_t): Likewise.
4264 (blkcnt_t): Likewise.
4265 (blkcnt64_t): Likewise.
4266 * manual/llio.texi (off_t): Likewise.
4267
28afd92d
JM
4268 [BZ #3976]
4269 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4270 (__ieee754_exp): Save and restore rounding mode and use
4271 round-to-nearest for all computations.
4272 * math/libm-test.inc (exp_test_tonearest): New function.
4273 (exp_test_towardzero): Likewise.
4274 (exp_test_downward): Likewise.
4275 (exp_test_upward): Likewise.
4276 (main): Call the new functions.
4277 * sysdeps/i386/fpu/libm-test-ulps: Update.
4278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4279
b1eeb65d
CD
42802012-03-01 Chris Demetriou <cgd@google.com>
4281
4282 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4283 have predictable order.
4284
53362a4b
DM
42852012-03-01 David S. Miller <davem@davemloft.net>
4286
3c969083
DM
4287 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4288
759707de
DM
4289 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4290 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4291 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4292 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4293
dfdb8ff2
DM
4294 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4295 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4296 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4298 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4299 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4300 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4301 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4302 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4303
ead89f96
DM
4304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4305
7f66bd07
DM
4306 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4307 * sysdeps/sparc/fpu/libm-test-ulps: to here.
4308 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4309
53362a4b
DM
4310 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4311 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4312 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4313 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4314 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4315 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4316 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4317 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4318 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4319 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4320 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4321 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4322 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4323 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4324 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4325 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4326 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4327 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4328 * sysdeps/sparc/elf/configure: Regenerated.
4329
7b1902cb
JM
43302012-03-01 Joseph Myers <joseph@codesourcery.com>
4331
bec039bc
JM
4332 * configure.in (AS, LD): Require binutils 2.20 or later.
4333 * configure: Regenerated.
4334 * manual/install.texi (Tools for Compilation): Give binutils 2.20
4335 as required minimum version.
4336 * INSTALL: Regenerated.
4337
7b1902cb
JM
4338 [BZ #2541]
4339 [BZ #4108]
4340 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4341 before squaring exponent.
4342 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4343 bottom long double and 27 bits of top long double before squaring
4344 exponent.
4345 * math/libm-test.inc (erfc_test): Add more tests.
4346 * sysdeps/i386/fpu/libm-test-ulps: Update.
4347 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4349
f775c276
KT
43502012-03-01 Kai Tietz <ktietz@redhat.com>
4351
4352 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4353 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4354 containing bit-fields.
4355 * soft-fp/extended.h (_FP_UNION_E): Likewise.
4356 * soft-fp/single.h (_FP_UNION_S): Likewise.
4357 * soft-fp/double.h (_FP_UNION_D): Likewise.
4358
5b8a4d4a
JM
43592012-02-29 Joseph Myers <joseph@codesourcery.com>
4360
0bab47b6
JM
4361 [BZ #13786]
4362 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4363 not include ../strcmp.S.
4364 [USE_AS_STRNCASECMP_L]: Likewise.
4365 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4366 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4367 * sysdeps/i386/i686/multiarch/strncase_l-c.c
4368 (__strncasecmp_l_ia32): Define as alias to
4369 __strncasecmp_l_nonascii.
4370
0fcad3e2
JM
4371 [BZ #5794]
4372 * math/libm-test.inc (expm1_test): Add test for bug 5794.
4373 * sysdeps/i386/fpu/libm-test-ulps: Update.
4374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4375
5b8a4d4a
JM
4376 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4378
8fdceb2e
JL
43792012-02-29 Jeff Law <law@redhat.com>
4380
4381 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4382 out of bounds read.
4383
1f393a11
MP
43842012-02-29 Marek Polacek <polacek@redhat.com>
4385
4386 [BZ #13706]
4387 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4388 * elf/Makefile: Add rules to run tst-unused-dep.out.
4389
8847f037
DM
43902012-02-28 David S. Miller <davem@davemloft.net>
4391
4392 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
4393 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
4394 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
4395 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
4396 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
4397 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
4398
169d7f11
JM
43992012-02-29 Joseph Myers <joseph@codesourcery.com>
4400
4401 * math/libm-test.inc (llround_test): Move one test from
4402 lround_test. Use TEST_f_L in moved test.
4403 (lround_test): Move misplaced test to llround_test. Add testcase
4404 from bug 2561.
4405
39adf059
UD
44062012-02-28 Ulrich Drepper <drepper@gmail.com>
4407
4408 * sysdeps/x86_64/fpu/e_expf.S: New file.
4409 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
4410
71b5d1c5
SB
44112012-02-28 Stanislav Brabec <sbrabec@suse.cz>
4412
4413 [BZ #13637]
4414 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
4415 of remain_len that may cause incomplete multi-byte character and
4416 false match.
4417 * posix/bug-regex33.c: New file.
4418 * posix/Makefile (tests): Add bug-regex33.
4419
1f77f049
JM
44202012-02-28 Joseph Myers <joseph@codesourcery.com>
4421
4422 * manual/macros.texi: New file.
4423 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
4424 * manual/libc.texinfo: Include macros.texi.
4425 * manual/creatute.texi: Likewise.
4426 * manual/install.texi: Likewise.
4427 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
4428 @glibcadj{} in references to the GNU C Library.
4429 * manual/charset.texi: Likewise.
4430 * manual/conf.texi: Likewise.
4431 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
4432 when not using those macros.
4433 * manual/creature.texi: Likewise.
4434 * manual/crypt.texi: Likewise.
4435 * manual/errno.texi: Likewise.
4436 * manual/filesys.texi: Likewise.
4437 * manual/header.texi: Likewise.
4438 * manual/install.texi: Likewise.
4439 * manual/intro.texi: Likewise.
4440 * manual/io.texi: Likewise.
4441 * manual/job.texi: Likewise.
4442 * manual/lang.texi: Likewise.
4443 * manual/libc.texiinfo: Likewise.
4444 * manual/llio.texi: Likewise.
4445 * manual/locale.texi: Likewise.
4446 * manual/maint.texi: Likewise.
4447 * manual/math.texi: Likewise.
4448 * manual/memory.texi: Likewise.
4449 * manual/message.texi: Likewise.
4450 * manual/nss.texi: Likewise.
4451 * manual/pattern.texi: Likewise.
4452 * manual/process.texi: Likewise.
4453 * manual/resource.texi: Likewise.
4454 * manual/search.texi: Likewise.
4455 * manual/setjmp.texi: Likewise.
4456 * manual/signal.texi: Likewise.
4457 * manual/socket.texi: Likewise.
4458 * manual/startup.texi: Likewise.
4459 * manual/stdio.texi: Likewise.
4460 * manual/string.texi: Likewise.
4461 * manual/sysinfo.texi: Likewise.
4462 * manual/syslog.texi: Likewise.
4463 * manual/terminal.texi: Likewise.
4464 * manual/time.texi: Likewise.
4465 * manual/users.texi: Likewise.
4466 * INSTALL: Regenerated.
4467 * NOTES: Regenerated.
d40c5d54 4468 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 4469
450bf206
AS
44702012-02-28 Andreas Schwab <schwab@linux-m68k.org>
4471
4472 * include/dirent.h: Include <dirstream.h> before
4473 <dirent/dirent.h>.
4474
741a235b
DM
44752012-02-28 David S. Miller <davem@davemloft.net>
4476
4477 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
4478 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
4479 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
4480 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
4481
d6b5aa58
DM
44822012-02-27 David S. Miller <davem@davemloft.net>
4483
1aff59a3
DM
4484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
4485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
4486 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
4487 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
4488
d6b5aa58
DM
4489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
4490 frame pointer instead of stack pointer relative arg slot.
4491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4492 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4493 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4494
433f48bf
CD
44952012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
4496
4497 [BZ #3992]
4498 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
4499
d674b76d
DM
45002012-02-27 David S. Miller <davem@davemloft.net>
4501
4502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
4503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
4506 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4507 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4508 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
4509 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
4510
0e7727f7
JM
45112012-02-27 Joseph Myers <joseph@codesourcery.com>
4512
4513 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
4514 later. Allow versions 5-9.
43be4ca2 4515 * configure: Regenerated.
0e7727f7
JM
4516 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
4517 required minimum version and 4.6 as recommended version. Do not
4518 mention bugs in GCC 2.7 and 2.8.
43be4ca2 4519 * INSTALL: Regenerated.
0e7727f7 4520
a78bc654
DM
45212012-02-27 David S. Miller <davem@davemloft.net>
4522
428d5830
DM
4523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
4524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
4525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
4526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
4527 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
4528 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
4529 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
4530 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
4531
a78bc654
DM
4532 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
4533 manipulate bits before adding and subtracting TWO112[sx].
4534 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4535
4579f81c
RM
45362012-02-27 Roland McGrath <roland@hack.frob.com>
4537
36c8acb4
RM
4538 [BZ #13775]
4539 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
4540 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
4541 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
4542 being in POSIX, because they are in 1003.1-2008.
4543
84ad622b
RM
4544 * rt/tst-aio.c: Include <fcntl.h>.
4545 * rt/tst-aio7.c: Likewise.
4546 * rt/tst-aio64.c: Likewise.
4547
4579f81c
RM
4548 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
4549
abd923db
JM
45502012-02-27 Joseph Myers <joseph@codesourcery.com>
4551
4552 * manual/install.texi (--with-headers): Describe headers as
4553 interface headers, not private headers.
4554 (Specific advice for GNU/Linux systems): Describe use of headers
4555 from "make headers_install", not private headers from older
4556 kernels.
43be4ca2 4557 * INSTALL: Regenerated.
abd923db
JM
4558 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
4559 Change to 2.6.19.
4560 * sysdeps/unix/sysv/linux/configure: Regenerated.
4561
6664049b
JM
4562 * manual/llio.texi (fclean): Remove documentation.
4563
bb8b6697
JM
4564 * manual/Makefile (libc-texi-generated): New variable. Include
4565 version.texi.
4566 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
4567 $(libc-texi-generated), not duplicated list of files.
4568 (version.texi, stamp-version): New rules.
4569 (realclean): Remove $(libc-texi-generated), not individual files
4570 from that list. Do not remove dir-add.texinfo.
4571 * manual/libc.texinfo: Comment out uses of edition numbers and
4572 references to printed manual. Remove last-updated dates.
4573 (EDITION): Comment out.
4574 (ISBN): Likewise.
4575 (VERSION, UPDATED): Remove.
4576 (version.texi): Include.
4577
12e5c3b9
AS
45782012-02-27 Andreas Schwab <schwab@linux-m68k.org>
4579
4580 * sysdeps/posix/spawni.c: Include <signal.h>.
4581 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
4582 * sysdeps/pthread/aio_fsync.c: Likewise.
4583
4efeffc1 45842012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 4585
ba63ba08
UD
4586 * conform/Makefile (tests): Run only when not cross-compiling and
4587 when fast-check is not defined.
4588
d94a4670
UD
4589 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
4590 * conform/data/limits.h-data: Fixes for POSIX2008.
4591 * conform/run-conformtest.sh: Run all tests.
4592 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
4593 headers.
4594 * include/bits/dlfcn.h: Likewise.
4595 * include/langinfo.h: Likewise.
4596 * include/monetary.h: Likewise.
4597 * include/sys/poll.h: Likewise.
4598
4599 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
4600 for __USE_GNU.
4601 * posix/spawn.h: Define __need_sigset_t.
4602 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
4603 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
4604 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
4605 to get sigevent_t only.
4606 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
4607 only for __USE_GNU.
4608 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4609 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4610 process_vm_writev only for __USE_GNU.
4611 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
4612
4613 * conform/Makefile: For now ignore errors from run-conformtest.
4614 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
4615 POSIX to avoid namespace pollution. Don't prepend headers.
4616 * conform/data/aio.h-data: Fixes for POSIX testing.
4617 * conform/data/fcntl.h-data: Likewise.
4618 * conform/data/glob.h-data: Likewise.
4619 * conform/data/grp.h-data: Likewise.
4620 * conform/data/pthread.h-data: Likewise.
4621 * conform/data/pwd.h-data: Likewise.
4622 * conform/data/signal.h-data: Likewise.
4623 * conform/data/spawn.h-data: Likewise.
4624 * conform/data/stdio.h-data: Likewise.
4625 * conform/data/stdlib.h-data: Likewise.
4626 * conform/data/stropts.h-data: Likewise.
4627 * conform/data/sys/mman.h-data: Likewise.
4628 * conform/data/sys/stat.h-data: Likewise.
4629 * conform/data/sys/types.h-data: Likewise.
4630 * conform/data/sys/wait.h-data: Likewise.
4631 * conform/data/time.h-data: Likewise.
4632 * conform/data/unistd.h-data: Likewise.
4633 * conform/data/utime.h-data: Likewise.
4634
4635 * io/sys/stat.h: fchmod was always in POSIX.
4636 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
4637 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
4638 * rt/aio.h: Define __need_timespec before including <time.h>.
4639 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
4640 struct. Add forward declaration of pthread_attr_t and use it in
4641 sigevent.
4642 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4643 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4644 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
4645 always remove CLK_TCK definition.
4646
c20105c3
AS
46472012-02-26 Andreas Schwab <schwab@linux-m68k.org>
4648
4649 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
4650
7a270350
UD
46512012-02-25 Ulrich Drepper <drepper@gmail.com>
4652
31341567
UD
4653 * conform/run-conformtest.sh: New file.
4654 * conform/Makefile: Run run-conformtest for tests.
4655 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
4656 support.
4657
4658 * conform/data/uchar.h-data: New file.
4659 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
4660 * conform/data/arpa/inet.h-data: Likewise.
4661 * conform/data/assert.h-data: Likewise.
4662 * conform/data/complex.h-data: Likewise.
4663 * conform/data/cpio.h-data: Likewise.
4664 * conform/data/ctype.h-data: Likewise.
4665 * conform/data/dirent.h-data: Likewise.
4666 * conform/data/dlfcn.h-data: Likewise.
4667 * conform/data/errno.h-data: Likewise.
4668 * conform/data/fcntl.h-data: Likewise.
4669 * conform/data/float.h-data: Likewise.
4670 * conform/data/fmtmsg.h-data: Likewise.
4671 * conform/data/fnmatch.h-data: Likewise.
4672 * conform/data/ftw.h-data: Likewise.
4673 * conform/data/glob.h-data: Likewise.
4674 * conform/data/grp.h-data: Likewise.
4675 * conform/data/iconv.h-data: Likewise.
4676 * conform/data/inttypes.h-data: Likewise.
4677 * conform/data/langinfo.h-data: Likewise.
4678 * conform/data/libgen.h-data: Likewise.
4679 * conform/data/limits.h-data: Likewise.
4680 * conform/data/locale.h-data: Likewise.
4681 * conform/data/math.h-data: Likewise.
4682 * conform/data/monetary.h-data: Likewise.
4683 * conform/data/mqueue.h-data: Likewise.
4684 * conform/data/ndbm.h-data: Likewise.
4685 * conform/data/net/if.h-data: Likewise.
4686 * conform/data/netdb.h-data: Likewise.
4687 * conform/data/netinet/in.h-data: Likewise.
4688 * conform/data/nl_types.h-data: Likewise.
4689 * conform/data/poll.h-data: Likewise.
4690 * conform/data/pthread.h-data: Likewise.
4691 * conform/data/pwd.h-data: Likewise.
4692 * conform/data/regex.h-data: Likewise.
4693 * conform/data/sched.h-data: Likewise.
4694 * conform/data/search.h-data: Likewise.
4695 * conform/data/semaphore.h-data: Likewise.
4696 * conform/data/setjmp.h-data: Likewise.
4697 * conform/data/signal.h-data: Likewise.
4698 * conform/data/spawn.h-data: Likewise.
4699 * conform/data/stdarg.h-data: Likewise.
4700 * conform/data/stdio.h-data: Likewise.
4701 * conform/data/stdlib.h-data: Likewise.
4702 * conform/data/string.h-data: Likewise.
4703 * conform/data/strings.h-data: Likewise.
4704 * conform/data/stropts.h-data: Likewise.
4705 * conform/data/sys/ipc.h-data: Likewise.
4706 * conform/data/sys/mman.h-data: Likewise.
4707 * conform/data/sys/msg.h-data: Likewise.
4708 * conform/data/sys/resource.h-data: Likewise.
4709 * conform/data/sys/select.h-data: Likewise.
4710 * conform/data/sys/sem.h-data: Likewise.
4711 * conform/data/sys/shm.h-data: Likewise.
4712 * conform/data/sys/socket.h-data: Likewise.
4713 * conform/data/sys/stat.h-data: Likewise.
4714 * conform/data/sys/statvfs.h-data: Likewise.
4715 * conform/data/sys/time.h-data: Likewise.
4716 * conform/data/sys/timeb.h-data: Likewise.
4717 * conform/data/sys/times.h-data: Likewise.
4718 * conform/data/sys/types.h-data: Likewise.
4719 * conform/data/sys/uio.h-data: Likewise.
4720 * conform/data/sys/un.h-data: Likewise.
4721 * conform/data/sys/utsname.h-data: Likewise.
4722 * conform/data/sys/wait.h-data: Likewise.
4723 * conform/data/syslog.h-data: Likewise.
4724 * conform/data/tar.h-data: Likewise.
4725 * conform/data/termios.h-data: Likewise.
4726 * conform/data/utime.h-data: Likewise.
4727 * conform/data/utmpx.h-data: Likewise.
4728 * conform/data/varargs.h-data: Likewise.
4729 * conform/data/wchar.h-data: Likewise.
4730 * conform/data/wctype.h-data: Likewise.
4731 * conform/data/wordexp.h-data: Likewise.
4732
4733 * include/stropts.h: New file.
4734 * include/uchar.h: New file.
4735 * include/aio.h: Changes to allow conformtest.pl to use the headers.
4736 * include/assert.h: Likewise.
4737 * include/ctype.h: Likewise.
4738 * include/dirent.h: Likewise.
4739 * include/dlfcn.h: Likewise.
4740 * include/fcntl.h: Likewise.
4741 * include/fnmatch.h: Likewise.
4742 * include/glob.h: Likewise.
4743 * include/grp.h: Likewise.
4744 * include/libio.h: Likewise.
4745 * include/locale.h: Likewise.
4746 * include/math.h: Likewise.
4747 * include/net/if.h: Likewise.
4748 * include/netdb.h: Likewise.
4749 * include/netinet/in.h: Likewise.
4750 * include/pthread.h: Likewise.
4751 * include/pwd.h: Likewise.
4752 * include/regex.h: Likewise.
4753 * include/sched.h: Likewise.
4754 * include/search.h: Likewise.
4755 * include/setjmp.h: Likewise.
4756 * include/signal.h: Likewise.
4757 * include/stdio.h: Likewise.
4758 * include/stdlib.h: Likewise.
4759 * include/string.h: Likewise.
4760 * include/sys/cdefs.h: Likewise.
4761 * include/sys/mman.h: Likewise.
4762 * include/sys/msg.h: Likewise.
4763 * include/sys/resource.h: Likewise.
4764 * include/sys/select.h: Likewise.
4765 * include/sys/socket.h: Likewise.
4766 * include/sys/stat.h: Likewise.
4767 * include/sys/statvfs.h: Likewise.
4768 * include/sys/time.h: Likewise.
4769 * include/sys/times.h: Likewise.
4770 * include/sys/uio.h: Likewise.
4771 * include/sys/utsname.h: Likewise.
4772 * include/sys/wait.h: Likewise.
4773 * include/termios.h: Likewise.
4774 * include/time.h: Likewise.
4775 * include/ulimit.h: Likewise.
4776 * include/unistd.h: Likewise.
4777 * include/utime.h: Likewise.
4778 * include/wchar.h: Likewise.
4779 * include/wctype.h: Likewise.
4780 * include/wordexp.h: Likewise.
4781
4782 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
4783
7a270350
UD
4784 * time/time.h: TIME_UTC must be a macro.
4785 Make timespec_get available for ISO C11 only as well.
4786
7724defc
UD
47872012-02-24 Ulrich Drepper <drepper@gmail.com>
4788
4789 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
4790 Reported by Peng Haitao <penght@cn.fujitsu.com>.
4791
6b1d1d46
JM
47922012-02-24 Joseph Myers <joseph@codesourcery.com>
4793
4794 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 4795
0f8bbd69
JM
47962012-02-24 Joseph Myers <joseph@codesourcery.com>
4797
4798 * manual/texinfo.tex: Update to version 2012-01-19.16.
4799
66ab80bc
JM
48002012-02-24 Joseph Myers <joseph@codesourcery.com>
4801
4802 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
4803
74981cc5
RM
48042012-02-24 Roland McGrath <roland@hack.frob.com>
4805
ee968201
RM
4806 [BZ #13738]
4807 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
4808 * manual/fdl-1.3.texi: New file.
4809 * manual/fdl-1.1.texi: File removed.
4810
74981cc5
RM
4811 [BZ #13738]
4812 * manual/libc.texinfo (FDL_VERSION): New @set.
4813 Use it for mention of FDL in cover text.
4814 (Documentation License): Use it in @include file name.
4815
7bb764bc
JM
48162012-02-22 Joseph Myers <joseph@codesourcery.com>
4817 Roland McGrath <roland@hack.frob.com>
4818
4819 [BZ #5461]
4820 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
4821 not LONG_LONG_MAX and LONG_LONG_MIN.
4822 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
4823 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
4824 name.
4825 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
4826
6cbeae47
JM
48272012-02-22 Joseph Myers <joseph@codesourcery.com>
4828
4829 [BZ #2547]
4830 [BZ #11365]
4831 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
4832 manipulate bits before adding and subtracting TWO23[sx].
4833 * math/libm-test.inc (nearbyint_test): Add more tests.
4834
fe45ce09
JM
48352012-02-22 Joseph Myers <joseph@codesourcery.com>
4836
4837 [BZ #2548]
4838 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
4839 bits before adding and subtracting TWO23[sx].
4840 * math/libm-test.inc (rint_test): Add more tests.
4841 (rint_test_tonearest): Likewise.
4842 (rint_test_towardzero): Likewise.
4843 (rint_test_downward): Likewise.
4844 (rint_test_upward: Likewise.
4845
ff3b3d82
JM
48462012-02-22 Joseph Myers <joseph@codesourcery.com>
4847
4848 [BZ #10110]
4849 * include/stdc-predef.h: New file. Extracted from features.h.
4850 * include/features.h: Include stdc-predef.h.
4851 * Makefile (headers): Add stdc-predef.h.
4852 * CONFORMANCE (Compiler limitations): Update.
4853
ef0aab35
JM
48542012-02-22 Joseph Myers <joseph@codesourcery.com>
4855
4856 * manual/libc.texinfo (VERSION, UPDATED): Revert.
4857
58639409
DM
48582012-02-21 David S. Miller <davem@davemloft.net>
4859
4860 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
4861 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4862
c0e70b25
DM
48632012-02-20 David S. Miller <davem@davemloft.net>
4864
4865 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
4866 using a normal save/restore sequence, rather than allocating a
4867 dummy stack frame just to store a frame pointer and restore.
4868 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4869
fb06851d
JM
48702012-02-21 Joseph Myers <joseph@codesourcery.com>
4871
4872 * manual/install.texi: Fix stray word in line-wrapped comment.
4873
7a8b71c3
DM
48742012-02-20 David S. Miller <davem@davemloft.net>
4875
d510c123
DM
4876 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
4877 both binutils and gcc support GOTDATA.
4878
0722d7c2
DM
4879 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
4880 "rd %pc" in the PIC register setup sequences.
4881
3d2b3019
DM
4882 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
4883 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4884 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4885 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4886 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4887 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4888 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4889 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4890 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
4891 (SYSCALL_ERROR_HANDLER): Likewise.
4892 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4893 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4894 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
4895 (SYSCALL_ERROR_HANDLER): Likewise.
4896
c80098a9
DM
4897 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
4898 (HAVE_GCC_GOTDATA): New.
4899 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
4900 relocation support in both binutils and gcc.
4901 * sysdeps/sparc/elf/configure: Regenerate.
4902
3a2545a0
DM
4903 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
4904 * sysdeps/sparc/sparc32/elf/configure: Delete.
4905 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
4906 * sysdeps/sparc/sparc64/elf/configure: Delete.
4907 * sysdeps/sparc/elf/configure.in: New file.
4908 * sysdeps/sparc/elf/configure: Generate.
4909
7a8b71c3
DM
4910 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
4911 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
4912 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4913 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
4914 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
4915
f1e86fca
JM
49162012-02-21 Joseph Myers <joseph@codesourcery.com>
4917
4918 * manual/install.texi: Do not mention specific glibc version
4919 numbers.
4920 * manual/libc.texinfo (VERSION, UPDATED): Update.
4921 (@copying): Use @copyright{} and range of years.
4922
0e7dfaef
JM
49232012-02-21 Joseph Myers <joseph@codesourcery.com>
4924
4925 [BZ #13695]
4926 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
4927 [crti.S not in sysdirs] (generated): Do not append.
4928 [crti.S not in sysdirs] (omit-deps): Likewise.
4929 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
4930 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
4931 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
4932 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
4933 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
4934 Likewise.
4935 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
4936 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
4937 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
4938 * csu/defs.awk: Remove file.
4939 * sysdeps/generic/initfini.c: Likewise.
4940 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
4941 variable.
4942 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
4943 Likewise.
4944
599af3ca
JM
49452012-02-20 Joseph Myers <joseph@codesourcery.com>
4946
4947 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
4948 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
4949 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
4950 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
4951 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4952 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
4953 <bits/epoll.h>.
4954 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
4955 (__EPOLL_PACKED): Define to empty if not defined by
4956 <bits/epoll.h>.
4957 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
4958 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4959 bits/epoll.h.
4960
0e499750
JM
49612012-02-20 Joseph Myers <joseph@codesourcery.com>
4962
4963 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
4964 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
4965 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
4966 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
4967 <bits/timerfd.h>.
4968 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
4969 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4970 bits/timerfd.h.
4971
5ad91f6e
JM
49722012-02-20 Joseph Myers <joseph@codesourcery.com>
4973
4974 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
4975 in C locale.
4976 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4977 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4978 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
4979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4980
06b99b02
AJ
49812012-02-20 Aurelien Jarno <aurelien@aurel32.net>
4982
4983 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4984 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4985
7638c0fd
AS
49862012-02-19 Andreas Schwab <schwab@linux-m68k.org>
4987
4988 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
4989 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
4990 defined.
4991 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
4992 Likewise.
4993 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
4994 entry for 2.16.
4995
92221550
AJ
49962012-02-19 Aurelien Jarno <aurelien@aurel32.net>
4997
4998 * math/w_acos.c: Use non-signaling floating-point comparisons.
4999 * math/w_acosf.c: Likewise.
5000 * math/w_acosh.c: Likewise.
5001 * math/w_acoshf.c: Likewise.
5002 * math/w_acoshl.c: Likewise.
5003 * math/w_acosl.c: Likewise.
5004 * math/w_asin.c: Likewise.
5005 * math/w_asinf.c: Likewise.
5006 * math/w_asinl.c: Likewise.
5007 * math/w_atanh.c: Likewise.
5008 * math/w_atanhf.c: Likewise.
5009 * math/w_atanhl.c: Likewise.
5010 * math/w_exp2.c: Likewise.
5011 * math/w_exp2f.c: Likewise.
5012 * math/w_exp2l.c: Likewise.
5013 * math/w_j0.c: Likewise.
5014 * math/w_j0f.c: Likewise.
5015 * math/w_j0l.c: Likewise.
5016 * math/w_j1.c: Likewise.
5017 * math/w_j1f.c: Likewise.
5018 * math/w_j1l.c: Likewise.
5019 * math/w_jn.c: Likewise.
5020 * math/w_jnf.c: Likewise.
5021 * math/w_log.c: Likewise.
5022 * math/w_log10.c: Likewise.
5023 * math/w_log10f.c: Likewise.
5024 * math/w_log10l.c: Likewise.
5025 * math/w_log2.c: Likewise.
5026 * math/w_log2f.c: Likewise.
5027 * math/w_log2l.c: Likewise.
5028 * math/w_logf.c: Likewise.
5029 * math/w_logl.c: Likewise.
5030 * math/w_sqrt.c: Likewise.
5031 * math/w_sqrtf.c: Likewise.
5032 * math/w_sqrtl.c: Likewise.
5033 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5034 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5035 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5036 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5037 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5038
ebaf36eb
JM
50392012-02-19 Joseph Myers <joseph@codesourcery.com>
5040
5041 [BZ #9739]
5042 * manual/string.texi (strnlen): Use correct parameter name in
5043 equivalent expression.
5044
71c254a6
JM
50452012-02-19 Joseph Myers <joseph@codesourcery.com>
5046
5047 [BZ #11174]
5048 * manual/users.texi (seteuid): Consistently use neweuid for
5049 argument name.
5050
16d2c631
JM
50512012-02-19 Joseph Myers <joseph@codesourcery.com>
5052
5053 [BZ #13704]
5054 * manual/nss.texi (Services in the NSS configuration): Correct
5055 list of services in example configuration file.
5056
cd837b09
NB
50572012-02-19 Nick Bowler <nbowler@draconx.ca>
5058
5059 [BZ #11322]
5060 * manual/arith.texi: Remove statements about negative zero
5061 behaving identically to zero.
5062
02c4bbad
JM
50632012-02-18 Joseph Myers <joseph@codesourcery.com>
5064
5065 [BZ #5993]
5066 * manual/install.texi: Do not document upgrading from libc5.
5067
366842e7
JM
50682012-02-18 Joseph Myers <joseph@codesourcery.com>
5069
5070 [BZ #4596]
5071 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5072
dd54084d
DM
50732012-02-18 David S. Miller <davem@davemloft.net>
5074
5075 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5076 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5077 %o7 across the call.
5078 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5079 instead.
5080 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5081 SETUP_PIC_REG_LEAF.
5082 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5083 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5084 * sysdeps/sparc/crtn.S: Likewise.
5085
2bcc53a3
UD
50862012-02-17 Ulrich Drepper <drepper@gmail.com>
5087
5088 * aout/Makefile: Remove.
5089
09c093b5
RK
50902012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
5091
5092 [BZ #13058]
5093 * manual/examples/argp-ex1.c (main): Format definition in GNU
5094 style.
5095 * manual/examples/argp-ex2.c (main): Likewise.
5096 * manual/examples/argp-ex3.c (main): Likewise.
5097 * manual/examples/argp-ex4.c (main): Likewise.
5098 * manual/examples/longopt.c (main): Use new-style prototype
5099 definition.
5100 * manual/examples/strncat.c (main): Specify return type and use
5101 (void) for arguments.
5102 * manual/examples/subopt.c (main): Use char **argv argument.
5103
2ee633a2
JM
51042012-02-17 Joseph Myers <joseph@codesourcery.com>
5105
5106 [BZ #5077]
5107 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5108 rounding modes.
5109
0520adde
FB
51102012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
5111
5112 [BZ #6907]
5113 * manual/string.texi (strchr): Change when strchrnul is
5114 recommended.
5115
3f4081cd
DGM
51162012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
5117
5118 [BZ #174]
5119 * manual/locale.texi (setlocale): Document LOCPATH.
5120
d1b10e78
JM
51212012-02-17 Joseph Myers <joseph@codesourcery.com>
5122
5123 [BZ #10210]
5124 * manual/process.texi (execle): Move @dots{} before last argument.
5125
79c6869c
PB
51262012-02-17 Paul Bolle <pebolle@tiscali.nl>
5127
5128 [BZ #12047]
5129 * manual/charset.texi (Generic Charset Conversion): Fix typo
5130 (LC_TYPE -> LC_CTYPE).
5131
cc6e48bc
NB
51322012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
5133
5134 [BZ #5805]
5135 * manual/arith.texi (scalbn): Use @var{} on parameter names.
5136 (scalbnf): Likewise.
5137 (scalbnl): Likewise.
5138 (scalbln): Likewise.
5139 (scalblnf): Likewise.
5140 (scalblnl): Likewise.
5141 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5142 (vwarnx): Likewise.
5143 (verr): Likewise.
5144 (verrx): Likewise.
5145 * manual/filesys.texi (telldir): Use braces around return type.
5146 * manual/llio.texi (mmap): Add space after comma.
5147 (mmap64): Likewise.
5148 * manual/math.texi (jn): Use @var{} on parameter names.
5149 (jnf): Likewise.
5150 (jnl): Likewise.
5151 (yn): Likewise.
5152 (ynf): Likewise.
5153 (ynl): Likewise.
5154 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5155 line.
5156 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5157 "...".
5158 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5159 (sched_get_priority_max): Likewise.
5160 * manual/signal.texi (sigvec): Add space after comma.
5161 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5162 names.
5163 (if_indextoname): Likewise.
5164 (if_freenameindex): Likewise.
5165 (sendto): Use ',' instead of '.' in prototype.
5166 * manual/startup.texi (syscall): Use @dots{} instead of literal
5167 "...".
5168 * manual/stdio.texi (__fpending): Separate initial words of
5169 paragraph from @deftypefun line.
5170 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5171 "...".
5172 (vsyslog): Use @var{} on parameter names.
5173 * manual/terminal.texi (stty): Use @var{} on parameter names.
5174 * manual/users.texi (getutmp): Use @var{} on parameter names.
5175 (getutmpx): Likewise.
5176
5b23062f
JM
51772012-02-17 Joseph Myers <joseph@codesourcery.com>
5178
5179 [BZ #6884]
5180 * manual/stdio.texi (fopen): Fix typos in description of
5181 ",ccs=STRING".
5182
8dee4833
AJ
51832012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5184
5185 [BZ #4026]
5186 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5187 get clock_id definition.
5188
9078ce93
TS
51892012-02-17 Thomas Schwinge <thomas@schwinge.name>
5190
5191 [BZ #4822]
5192 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5193 (madvise): Cast every argument to void on its own.
5194
3835c55f
JM
51952012-02-17 Joseph Myers <joseph@codesourcery.com>
5196
5197 [BZ #9902]
5198 * manual/startup.texi (Exit Status): Fix typo.
5199
35c47e37
JM
52002012-02-17 Joseph Myers <joseph@codesourcery.com>
5201
5202 [BZ #10140]
5203 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5204 * manual/examples/argp-ex2.c: Likewise.
5205 * manual/examples/argp-ex3.c: Likewise.
5206
e3b69ca7
RH
52072012-02-16 Richard Henderson <rth@redhat.com>
5208
5209 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5210 * sysdeps/s390/s390-32/initfini.c: Remove.
5211 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5212 * sysdeps/s390/s390-64/initfini.c: Remove.
5213
df83af67
KK
52142012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5215
5216 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5217 compiler output for sysdeps/generic/initfini.c.
5218 * sysdeps/sh/elf/initfini.c: Remove file.
5219
f63f3380
DM
52202012-02-16 David S. Miller <davem@davemloft.net>
5221
fb59b3a4
DM
5222 [BZ #11494]
5223 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5224
f63f3380
DM
5225 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5226 * sysdeps/sparc/crti.S: New file.
5227 * sysdeps/sparc/crtn.S: New file.
5228 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5229 * sysdeps/sparc/sparc64/Makefile: Likewise.
5230
df6a4a4a
MF
52312012-02-15 Mike Frysinger <vapier@gentoo.org>
5232
6dd8f3dc 5233 [BZ #3335]
df6a4a4a
MF
5234 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5235
1cac7236
RM
52362012-02-15 Roland McGrath <roland@hack.frob.com>
5237
d2c736f8
RM
5238 [BZ #4822]
5239 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5240
1cac7236
RM
5241 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5242 (write, read, close): Likewise.
5243 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5244
8e475601
JM
52452012-02-15 Joseph Myers <joseph@codesourcery.com>
5246
5247 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5248 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5249 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5250 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5251 <bits/signalfd.h>.
5252 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5253 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5254 bits/signalfd.h.
5255
ed656b40
MP
52562012-02-14 Marek Polacek <polacek@redhat.com>
5257
5258 * sysdeps/x86_64/crti.S: New file.
5259 * sysdeps/x86_64/crtn.S: New file.
5260 * sysdeps/x86_64/elf/initfini.c: Remove file.
5261
2a979d3a
JM
52622012-02-13 Joseph Myers <joseph@codesourcery.com>
5263
5264 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5265 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5266 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5267 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5268 <bits/inotify.h>.
5269 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5270 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5271 bits/inotify.h.
5272
2a418ac3
JM
52732012-02-13 Joseph Myers <joseph@codesourcery.com>
5274
5275 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5276 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5277 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5278 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5279 <bits/eventfd.h>.
5280 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5281 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5282 bits/eventfd.h.
5283
fb779be7
TS
52842012-02-10 Thomas Schwinge <thomas@codesourcery.com>
5285
e19e83c5
RM
5286 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5287 __feraiseexcept instead of feraiseexcept.
7c35ffed 5288
fb779be7
TS
5289 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5290 nanosleep invocations.
5291 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5292 strings, and add error checking for a nanosleep invocations.
5293
59ba27a6
PE
52942012-02-09 Paul Eggert <eggert@cs.ucla.edu>
5295
5296 Replace FSF snail mail address with URLs, as per GNU coding standards.
5297 Most of the snail mail addresses were wrong anyway, and omitting
5298 them makes the source code easier to maintain. Almost all of the
5299 changes are to license notices and to locale LC_IDENTIFICATION
5300 addresses, except for this one:
5301 * manual/libc.texinfo: In "Published by", give the FSF's URL,
5302 not its snail mail address.
5303
57b957eb
RH
53042012-02-09 Richard Henderson <rth@twiddle.net>
5305
af850b1c
RH
5306 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5307 of kernel-features.h.
5308
57b957eb
RH
5309 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5310
6b73181a
MP
53112012-02-08 Marek Polacek <polacek@redhat.com>
5312
5313 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5314 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5315 * sysdeps/gnu/_G_config.h: Likewise.
5316 * sysdeps/generic/_G_config.h: Likewise.
5317
26ecc33a
AS
53182012-02-08 Andreas Schwab <schwab@linux-m68k.org>
5319
6c6dbc63
AS
5320 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5321 tests.
5322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5323
e216c012
AS
5324 * sysdeps/powerpc/powerpc32/crti.S: New file.
5325 * sysdeps/powerpc/powerpc32/crtn.S: New file.
5326 * sysdeps/powerpc/powerpc64/crti.S: New file.
5327 * sysdeps/powerpc/powerpc64/crtn.S: New file.
5328
26ecc33a
AS
5329 * Makeconfig (have-initfini): Don't set.
5330 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5331 * configure.in (nopic_initfini): Don't substitute.
5332 * config.h.in (HAVE_INITFINI): Don't #undef.
5333 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5334 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5335
3add8e13
JM
53362012-02-08 Joseph Myers <joseph@codesourcery.com>
5337
5338 Support crti.S and crtn.S provided directly by architectures.
5339 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5340 [crti.S in sysdirs] (omit-deps): Likewise.
5341 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5342 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5343 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5344 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5345 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5346 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5347 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5348 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5349 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5350 compiler output for sysdeps/generic/initfini.c.
5351 * sysdeps/i386/elf/Makefile: Remove file.
5352 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5353
a22f12b4
MP
53542012-02-07 Marek Polacek <polacek@redhat.com>
5355
5356 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5357 * sysdeps/gnu/_G_config.h: Likewise.
5358 * sysdeps/mach/hurd/_G_config.h: Likewise.
5359
148cf100
MP
53602012-02-07 Marek Polacek <polacek@redhat.com>
5361
5362 * math/Makefile (tests): Add tst-CMPLX2.
5363 * math/tst-CMPLX2.c: New file.
5364
cfdc0dd7
AS
53652012-02-07 Andreas Schwab <schwab@linux-m68k.org>
5366
84ba42c4
AS
5367 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5368
cfdc0dd7
AS
5369 * math/libm-test.inc (jn_test): Add missing L suffix.
5370
622c86f4
MP
53712012-02-06 Marek Polacek <polacek@redhat.com>
5372
5373 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5374 * sysdeps/i386/fpu/e_powf.S: Likewise.
5375 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5376 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5377 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5378 * sysdeps/i386/fpu/e_pow.S: Likewise.
5379 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5380 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5381 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5382 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5383 * sysdeps/i386/fpu/e_log2.S: Likewise.
5384 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5385 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5386 * sysdeps/i386/fpu/e_powl.S: Likewise.
5387 * sysdeps/i386/fpu/s_log1p.S: Likewise.
5388 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5389 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5390 * sysdeps/i386/fpu/e_logl.S: Likewise.
5391 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5392 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
5393 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5394 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5395 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5396 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5397 * sysdeps/i386/fpu/e_log.S: Likewise.
5398 * sysdeps/i386/fpu/s_cexp.S: Likewise.
5399 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5400 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
5401 * sysdeps/i386/fpu/e_logf.S: Likewise.
5402 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5403 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5404 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
5405 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5406 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5407 * sysdeps/i386/fpu/e_log10.S: Likewise.
5408 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5409 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5410 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5411 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5412 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5413 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5414 * sysdeps/i386/asm-syntax.h: Likewise.
5415 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5416 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5417 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5418 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
5419 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
5420 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5421 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5422 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5423 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5424 * sysdeps/powerpc/sysdep.h: Likewise.
5425 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
5426 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5427
d4a54ac6
JM
54282012-02-06 Joseph Myers <joseph@codesourcery.com>
5429
5430 [BZ #411]
5431 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
5432
314054ea
JM
54332012-02-06 Joseph Myers <joseph@codesourcery.com>
5434
5435 * sysdeps/i386/sysdep.h: Include <features.h>.
5436 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
5437 version.
5438
d8e0ca50
JM
54392012-02-05 Joseph Myers <joseph@codesourcery.com>
5440
5441 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
5442 Define.
5443 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
5444 LOAD_PIC_REG_STR.
5445
b1da7dd9
JM
54462012-02-03 Joseph Myers <joseph@codesourcery.com>
5447
5448 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
5449 (SETUP_PIC_REG): Use GET_PC_THUNK.
5450 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
5451 macro.
5452
9a1d9254
JM
54532012-02-03 Joseph Myers <joseph@codesourcery.com>
5454
5455 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
5456 for non-PIC compilation.
5457 (SETUP_PIC_REG): Add .p2align directive.
5458 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
5459 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5460 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5461 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5462 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5463 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5464 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5465 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5466 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5467 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5468 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5469 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5470 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5471 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5472 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5473 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5474 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5475 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5476 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5477 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5478 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5479 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5480 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5481 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5482 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5483 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5484 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5485 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5486 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5487 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5488 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5489 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5490 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5491 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5492 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5493 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5494 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5495 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5496 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5497 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5498 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5499
65dc3b75
JM
55002012-02-03 Joseph Myers <joseph@codesourcery.com>
5501
5502 * math/tst-CMPLX.c: Include <stdio.h>.
5503
d55bf177
JM
55042012-01-31 Joseph Myers <joseph@codesourcery.com>
5505
5506 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
5507 float.
5508 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5509 * sysdeps/sparc/bits/mathdef.h: Likewise.
5510
69db4f8f
MP
55112012-01-31 Marek Polacek <polacek@redhat.com>
5512
5513 * libio/libio.h: Don't define _PARAMS.
5514 * locale/programs/config.h: Don't define PARAMS.
5515 * stdlib/strtol_l.c: Likewise.
5516 (__strtol_l): Remove PARAMS from the prototype.
5517
41b81892
UD
55182012-01-31 Ulrich Drepper <drepper@gmail.com>
5519
3b49edc0
UD
5520 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
5521 names. Just use the correct names. Remove unnecessary wrapper
5522 functions.
5523 * malloc/arena.c: Likewise.
5524 * malloc/hooks.c: Likewise.
5525
41b81892
UD
5526 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
5527 ARENA_TEST says not to. Simplify test for creation of a new arena.
5528 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
5529
27a25b6e
UD
55302012-01-30 Ulrich Drepper <drepper@gmail.com>
5531
5532 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
5533 into tail calls.
5534 (update_get_addr): New function.
5535 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
5536 GET_ADDR_MODULE parameter.
5537
c8a89e7d
JM
55382012-01-30 Joseph Myers <joseph@codesourcery.com>
5539
5540 * crypt/cert.c: Remove __STDC__ conditionals.
5541 * crypt/crypt-entry.c: Likewise.
5542 * crypt/crypt_util.c: Likewise.
5543 * libio/filedoalloc.c: Likewise.
5544 * libio/fileops.c: Likewise.
5545 * libio/genops.c: Likewise.
5546 * libio/iofclose.c: Likewise.
5547 * libio/iofdopen.c: Likewise.
5548 * libio/iofopen.c: Likewise.
5549 * libio/iofopen64.c: Likewise.
5550 * libio/iogetdelim.c: Likewise.
5551 * libio/iopopen.c: Likewise.
5552 * libio/obprintf.c: Likewise.
5553 * libio/oldfileops.c: Likewise.
5554 * libio/oldiofclose.c: Likewise.
5555 * libio/oldiofdopen.c: Likewise.
5556 * libio/oldiofopen.c: Likewise.
5557 * libio/oldiopopen.c: Likewise.
5558 * libio/wfiledoalloc.c: Likewise.
5559 * libio/wgenops.c: Likewise.
5560 * locale/programs/xmalloc.c: Likewise.
5561 * misc/syslog.c: Likewise.
5562 * stdio-common/xbug.c: Likewise.
5563 * string/memchr.c: Likewise.
5564 * string/memcmp.c: Likewise.
5565 * string/memrchr.c: Likewise.
5566 * string/rawmemchr.c: Likewise.
5567 * sysdeps/posix/getcwd.c: Likewise.
5568 * time/strftime_l.c: Likewise.
5569
3b100462
JM
55702012-01-30 Joseph Myers <joseph@codesourcery.com>
5571
5572 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
5573 * config.make.in (config-cflags-sse2avx): Define.
5574 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
5575 Fix typo.
5576
607998af
CM
55772012-01-29 Chris Metcalf <cmetcalf@tilera.com>
5578
5579 * scripts/config.guess: Update from upstream config git repository.
5580 * scripts/config.sub: Likewise.
5581
3601428f
CM
55822012-01-28 Chris Metcalf <cmetcalf@tilera.com>
5583
3ac8b282
CM
5584 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
5585 (EM_NUM): Update.
5586 (R_TILEPRO_*, R_TILEGX_*): New macros.
5587
e034841e
CM
5588 * scripts/firstversions.awk: Fix bug in version range handling.
5589
540d7568
CM
5590 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
5591
3601428f
CM
5592 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
5593
463de862
CM
5594 * include/sys/epoll.h: New file.
5595 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
5596 libc_hidden_def.
5597
73139a76
UD
55982012-01-28 Ulrich Drepper <drepper@gmail.com>
5599
96bc5b45
UD
5600 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
5601 Avoid unnecessary __WORDSIZE == 64 test.
5602 (fmaxf): Use VEX format if possible.
5603 (fmax): Likewise.
5604 (fminf): Likewise.
5605 (fmin): Likewise.
5606
56f6f6a2
UD
5607 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
5608 * math/math_private.h: Remove libc_fegetround* and
5609 libc_fesetround*.
5610 * sysdeps/i386/configure.in: Check for -msse2avx.
5611 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
5612 also if SSE2AVX is defined.
5613 Remove libc_fegetround* and libc_fesetround*.
5614 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
5615 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
5616 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
5617 of HAS_YMM_USABLE.
5618 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5619 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5620 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5621 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5622 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5623
73139a76
UD
5624 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
5625
d73f93a4
AZ
56262012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5627
5628 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
5629 size is not set.
5630 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
5631
6ee65ed6
UD
56322012-01-27 Ulrich Drepper <drepper@gmail.com>
5633
5634 [BZ #13618]
5635 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
5636 relocation.
5637 * Makeconfig (libm): Define.
5638 * elf/Makefile: Add rules to build and run tst-relsort1.
5639 * elf/tst-relsort1.c: New file.
5640 * elf/tst-relsort1mod1.c: New file.
5641 * elf/tst-relsort1mod2.c: New file.
5642
8db21882
JM
56432012-01-27 Joseph Myers <joseph@codesourcery.com>
5644
5645 * math/s_ldexp.c: Remove __STDC__ conditionals.
5646 * math/s_ldexpf.c: Likewise.
5647 * math/s_ldexpl.c: Likewise.
5648 * math/s_nextafter.c: Likewise.
5649 * math/s_nexttowardf.c: Likewise.
5650 * math/s_significand.c: Likewise.
5651 * math/s_significandf.c: Likewise.
5652 * math/s_significandl.c: Likewise.
5653 * math/w_jnl.c: Likewise.
5654 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5655 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5656 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5657 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5658 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5659 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5660 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
5661 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5662 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5663 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5664 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5665 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5666 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5667 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5668 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5669 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5670 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5671 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5672 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5673 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5674 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5675 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5676 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5677 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5678 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5679 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5680 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5681 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5682 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5683 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5684 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5685 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5686 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5687 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5688 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5689 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5690 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5691 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5692 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5693 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5694 * sysdeps/ieee754/k_standard.c: Likewise.
5695 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5696 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5697 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5698 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5699 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5700 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5701 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5702 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5703 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5704 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5705 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5706 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5707 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5708 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5709 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5710 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5711 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5712 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5713 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5714 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5715 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5716 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5717 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5718 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5719 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5720 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5721 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5722 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5723 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5724 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5725 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5726 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5727 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5728 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5729 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5730 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5731 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
5732 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5733 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5734 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5735 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5736 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5737 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5738 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5739 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5740 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5741 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5742 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5743 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5744 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5745 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5746 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5747 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5748 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5749 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5750 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5751 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5752 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5753 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5754 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5755 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5756 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5757 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5758 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5759 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5760 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5761 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5762 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5763 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5764 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5765 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5766 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5767 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5768 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5769 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5770 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5771 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5772 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5773 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5774 * sysdeps/ieee754/s_matherr.c: Likewise.
5775 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5776 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5777 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5778 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5779
965a54a4
JM
57802012-01-26 Joseph Myers <joseph@codesourcery.com>
5781
5782 * crypt/md5.h: Remove __STDC__ conditionals.
5783 * libio/libioP.h: Likewise.
5784 * locale/programs/config.h: Likewise.
5785 * sysdeps/generic/sysdep.h: Likewise.
5786 * sysdeps/i386/asm-syntax.h: Likewise.
5787 * sysdeps/s390/asm-syntax.h: Likewise.
5788 * sysdeps/unix/sysdep.h: Likewise.
5789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5791
7071ad79
JM
57922012-01-26 Joseph Myers <joseph@codesourcery.com>
5793
5794 * libio/libio.h: Remove __STDC__ conditionals.
5795 * malloc/obstack.h: Likewise.
5796 * math/complex.h: Likewise.
5797 * math/math.h: Likewise.
5798 * sysdeps/generic/_G_config.h: Likewise.
5799 * sysdeps/gnu/_G_config.h: Likewise.
5800 * sysdeps/mach/hurd/_G_config.h: Likewise.
5801 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5802 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5803 * sysdeps/sparc/bits/mathdef.h: Likewise.
5804
afc5ed09
UD
58052012-01-26 Ulrich Drepper <drepper@gmail.com>
5806
5807 [BZ #13583]
5808 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 5809 Clean up HAS_* macros.
afc5ed09 5810 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
5811 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
5812 possible.
5813 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
5814 HAS_AVX.
5815 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5816 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5817 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5818 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5819 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 5820
bdb6de1d
JM
58212012-01-25 Joseph Myers <joseph@codesourcery.com>
5822
5823 * elf/tst-unique3.cc (gets): Remove declaration.
5824 * elf/tst-unique3lib.cc (gets): Likewise.
5825 * elf/tst-unique3lib2.cc (gets): Likewise.
5826 * elf/tst-unique4.cc (gets): Likewise.
5827
b15549e6
UD
58282012-01-24 Ulrich Drepper <drepper@gmail.com>
5829
5830 * include/stdio.h: Add C++ protection. Add gets declarations and
5831 definitions.
5832 * debug/tst-chk1.c: Don't declare gets here.
5833 * stdio-common/tst-gets.c: Likewise.
5834
a037381f
JM
58352012-01-24 Joseph Myers <joseph@codesourcery.com>
5836
5837 * posix/glob: Remove directory.
5838
f1d4aa75
JM
58392012-01-24 Joseph Myers <joseph@codesourcery.com>
5840
5841 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
5842
81c0c964
PT
58432012-01-22 Pino Toscano <toscano.pino@tiscali.it>
5844
5845 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
5846 of the non-standard EPFNOSUPPORT.
5847
0ea698ae
ST
58482011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
5849
5850 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
5851 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
5852 ANYWHERE set to 1 only on KERN_NO_SPACE error.
5853
d220b117
UD
58542012-01-21 Ulrich Drepper <drepper@gmail.com>
5855
5856 * wcsmbs/uchar.h: Test __STDC_VERSION__.
5857
3e1aa84e
UD
58582012-01-20 Ulrich Drepper <drepper@gmail.com>
5859
5860 * nscd/aicache.c (addhstaiX): Do not cache negative results of
5861 transient errors.
5862 * nscd/grpcache.c (cache_addgr): Likewise.
5863 * nscd/hstcache.c (cache_addhst): Likewise.
5864 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5865 * nscd/pwdcache.c (cache_addpw): Likewise.
5866 * nscd/servicescache.c (cache_addserv): Likewise.
5867
400aa020
UD
58682012-01-16 Ulrich Drepper <drepper@gmail.com>
5869
d77e7869
UD
5870 * malloc/malloc.c: Various cleanups.
5871 * malloc/hooks.c: Likewise.
5872
400aa020
UD
5873 * stdlib/Makefile (tests): Add bug-fmtmsg1.
5874 * stdlib/bug-fmtmsg1.c: New file.
5875
5876 * stdlib/fmtmsg.c (init): Add missing unlock.
5877 Patch by Peng Haitao <penght@cn.fujitsu.com>.
5878
e0a309cf
MP
58792012-01-12 Marek Polacek <polacek@redhat.com>
5880
5881 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
5882 and _GNU_SOURCE.
5883
929d11c7
WS
58842012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
5885
5886 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
5887 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
5888 macro to ensure uniqueness of label name.
5889 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5890 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5891
41d0e869
UD
58922012-01-11 Ulrich Drepper <drepper@gmail.com>
5893
0cc5ed3b
UD
5894 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
5895
41d0e869
UD
5896 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
5897 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5898 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5899 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
5900
a47a831a
UD
59012012-01-10 Ulrich Drepper <drepper@gmail.com>
5902
daa891c0
UD
5903 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
5904
5905 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
5906 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5907 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5908
e58ef0f2
UD
5909 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
5910
a47a831a 5911 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
5912 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5913 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 5914 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
5915
5916 * math/bits/math-finite.h: Add ldexp support.
5917
a0bfc9c7
MP
59182012-01-10 Marek Polacek <polacek@redhat.com>
5919
5920 * locale/programs/localedef.h (show_archive_content): Add noreturn
5921 attribute.
5922
d6e97a1d
UD
59232012-01-09 Ulrich Drepper <drepper@gmail.com>
5924
5925 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
5926
d5835c26
UD
59272012-01-08 Ulrich Drepper <drepper@gmail.com>
5928
e5f484c6
UD
5929 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
5930
d5835c26
UD
5931 * io/Makefile (headers): Add bits/poll2.h.
5932
d1f741e9
WS
59332011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
5934
5935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
5936 typo #include statement.
5937
ec09c1c4
UD
59382012-01-08 Ulrich Drepper <drepper@gmail.com>
5939
5940 * include/sys/cdefs.h: Define __attribute_alloc_size.
5941 * catgets/gencat.c: Add alloc_size attribute and apply consistently
5942 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
5943 * elf/pldd.c: Likewise.
5944 * iconv/iconv_charmap.c: Likewise.
5945 * iconv/iconvconfig.c: Likewise.
5946 * iconv/strtab.c: Likewise.
5947 * locale/programs/locale.c: Likewise.
5948 * locale/programs/localedef.h: Likewise.
5949 * locale/programs/simple-hash.c: Likewise.
5950 * nscd/nscd.h: Likewise.
5951 * nss/makedb.c: Likewise.
5952 * sysdeps/generic/ldconfig.h: Likewise.
5953 * locale/programs/localedef.c: Remove xmalloc prototype.
5954 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
5955
20b38e03
PP
59562012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5957
5958 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
5959 appropriate.
5960
a0da5fe1
UD
59612012-01-08 Ulrich Drepper <drepper@gmail.com>
5962
1d5a644a 5963 * math/Makefile (tests): Add tst-CMPLX.
669704fd 5964 * math/tst-CMPLX.c: New file.
1d5a644a 5965
8784a6db
UD
5966 * math/complex.h (CMPLXL): Fix typo.
5967
d9a216c0
UD
5968 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
5969 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
5970 GLIBC_2.16.
5971 * debug/tst-chk1.c: Add poll and ppoll tests.
5972 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
5973 * include/sys/poll.h: Add hidden proto for ppoll.
5974 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
5975 * sysdeps/mach/hurd/ppoll.c: Likewise.
5976 * io/ppoll.c: Likewise.
5977 * debug/poll_chk.c: New file.
5978 * debug/ppoll_chk.c: New file.
5979 * include/bits/poll2.h: New file.
5980 * io/bits/poll2.h: New file.
5981
ac097f5c
UD
5982 [BZ #1350]
5983 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
5984
2119dcfa
UD
5985 * configure.in: static is always set to yes. Remove.
5986 * config.make.in: Don't set build-static.
5987 * Makeconfig: Remove use of build-static.
5988 * dlfcn/Makefile: Likewise.
5989 * elf/Makefile: Likewise.
5990 * math/Makefile: Likewise.
5991 * misc/Makefile: Likewise.
5992 * nptl/Makefile: Likewise.
5993 * sysdeps/mach/hurd/Makefile: Likewise.
5994
121766a9
UD
5995 * configure.in: PWD_P is not used anymore.
5996 * config.make.in: Remove PWD_P entry.
5997
51a1d39c 5998 * configure.in: Remove last remnants of RANLIB.
8720d066 5999 No need to check for signed size_t anymore.
215f4bdc
UD
6000 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6001 and IA-64.
3857022a 6002 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
6003 * aclocal.m4: Likewise.
6004
d3ed7225
UD
6005 * wcsmbs/mbrtoc16.c: Implement using towc function.
6006 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6007 * wcsmbs/wcsmbsload.c: Likewise.
6008 * iconv/gconv_simple.c: Likewise.
6009 * iconv/gconv_int.h: Likewise.
6010 * iconv/gconv_builtin.h: Likewise.
6011 * iconv/iconv_prog.c: Remove CHAR16 handling.
6012
6013 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6014
6015 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6016
a0da5fe1
UD
6017 * configure.in: Remove --with-elf and --enable-bounded options.
6018 Dont set base_machine for ia64. More non-ELF conditions removed.
6019 Remove testing and setting of leading underscore information.
6020 * config.make.in (build-bounded): Set to no.
6021 * config.h.in: Remove NO_UNDERSCORES entry.
6022 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6023 them.
6024 * csu/start.c: Remove !NO_UNDERSCORE code.
6025 * locale/localeinfo.h: Likewise.
6026 * sysdeps/generic/machine-gmon.h: Likewise.
6027 * sysdeps/generic/sysdep.h: Likewise.
6028 * sysdeps/i386/sysdep.h: Likewise.
6029 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6030 * sysdeps/mach/sysdep.h: Likewise.
6031 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6032 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6033 * sysdeps/sh/sysdep.h: Likewise.
6034 * sysdeps/sparc/sparc32/alloca.S: Likewise.
6035 * sysdeps/unix/i386/sysdep.S: Likewise.
6036 * sysdeps/unix/sparc/start.c: Likewise.
6037 * sysdeps/unix/sparc/sysdep.S: Likewise.
6038 * sysdeps/unix/sparc/sysdep.h: Likewise.
6039 * sysdeps/unix/start.c: Likewise.
6040 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6041 * sysdeps/x86_64/sysdep.h: Likewise.
6042
df78418a
UD
60432012-01-07 Ulrich Drepper <drepper@gmail.com>
6044
a784e502
UD
6045 [BZ #13553]
6046 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6047 for non-gcc.
6048 * argp/argp-fmtstream.h: Use const instead __const.
6049 * argp/argp.h: Likewise.
6050 * assert/assert.h: Likewise.
6051 * bits/fenv.h: Likewise.
6052 * bits/sched.h: Likewise.
6053 * bits/sigset.h: Likewise.
6054 * bits/sigthread.h: Likewise.
6055 * catgets/nl_types.h: Likewise.
6056 * conform/data/pthread.h-data: Likewise.
6057 * crypt/crypt-private.h: Likewise.
6058 * crypt/crypt.h: Likewise.
6059 * crypt/crypt_util.c: Likewise.
6060 * ctype/ctype.h: Likewise.
6061 * debug/execinfo.h: Likewise.
6062 * debug/mbsnrtowcs_chk.c: Likewise.
6063 * debug/mbsrtowcs_chk.c: Likewise.
6064 * debug/wcsnrtombs_chk.c: Likewise.
6065 * debug/wcsrtombs_chk.c: Likewise.
6066 * debug/wcstombs_chk.c: Likewise.
6067 * dirent/dirent.h: Likewise.
6068 * dlfcn/dlfcn.h: Likewise.
6069 * elf/neededtest4.c: Likewise.
6070 * grp/grp.h: Likewise.
6071 * gshadow/gshadow.h: Likewise.
6072 * iconv/gconv.h: Likewise.
6073 * iconv/gconv_int.h: Likewise.
6074 * iconv/gconv_simple.c: Likewise.
6075 * iconv/iconv.h: Likewise.
6076 * iconv/loop.c: Likewise.
6077 * iconv/skeleton.c: Likewise.
6078 * include/aio.h: Likewise.
6079 * include/aliases.h: Likewise.
6080 * include/argz.h: Likewise.
6081 * include/arpa/inet.h: Likewise.
6082 * include/assert.h: Likewise.
6083 * include/dirent.h: Likewise.
6084 * include/dlfcn.h: Likewise.
6085 * include/execinfo.h: Likewise.
6086 * include/fcntl.h: Likewise.
6087 * include/fenv.h: Likewise.
6088 * include/glob.h: Likewise.
6089 * include/grp.h: Likewise.
6090 * include/libintl.h: Likewise.
6091 * include/mntent.h: Likewise.
6092 * include/netdb.h: Likewise.
6093 * include/pwd.h: Likewise.
6094 * include/rpc/netdb.h: Likewise.
6095 * include/sched.h: Likewise.
6096 * include/search.h: Likewise.
6097 * include/shadow.h: Likewise.
6098 * include/signal.h: Likewise.
6099 * include/stdio.h: Likewise.
6100 * include/stdlib.h: Likewise.
6101 * include/string.h: Likewise.
6102 * include/sys/socket.h: Likewise.
6103 * include/sys/stat.h: Likewise.
6104 * include/sys/statfs.h: Likewise.
6105 * include/sys/statvfs.h: Likewise.
6106 * include/sys/syslog.h: Likewise.
6107 * include/sys/time.h: Likewise.
6108 * include/sys/uio.h: Likewise.
6109 * include/time.h: Likewise.
6110 * include/unistd.h: Likewise.
6111 * include/utmp.h: Likewise.
6112 * include/wchar.h: Likewise.
6113 * include/wctype.h: Likewise.
6114 * inet/aliases.h: Likewise.
6115 * inet/arpa/inet.h: Likewise.
6116 * inet/netinet/ether.h: Likewise.
6117 * inet/netinet/in.h: Likewise.
6118 * intl/libintl.h: Likewise.
6119 * io/bits/fcntl2.h: Likewise.
6120 * io/fcntl.h: Likewise.
6121 * io/ftw.h: Likewise.
6122 * io/sys/poll.h: Likewise.
6123 * io/sys/stat.h: Likewise.
6124 * io/sys/statfs.h: Likewise.
6125 * io/sys/statvfs.h: Likewise.
6126 * io/utime.h: Likewise.
6127 * libio/bits/stdio.h: Likewise.
6128 * libio/bits/stdio2.h: Likewise.
6129 * libio/libio.h: Likewise.
6130 * libio/libioP.h: Likewise.
6131 * libio/stdio.h: Likewise.
6132 * locale/lc-ctype.c: Likewise.
6133 * locale/locale.h: Likewise.
6134 * login/utmp.h: Likewise.
6135 * malloc/arena.c: Likewise.
6136 * malloc/malloc.c: Likewise.
6137 * malloc/malloc.h: Likewise.
6138 * malloc/mcheck.c: Likewise.
6139 * malloc/mtrace.c: Likewise.
6140 * math/bits/mathcalls.h: Likewise.
6141 * math/fenv.h: Likewise.
6142 * math/math_private.h: Likewise.
6143 * misc/bits/error.h: Likewise.
6144 * misc/bits/syslog.h: Likewise.
6145 * misc/err.h: Likewise.
6146 * misc/error.h: Likewise.
6147 * misc/fstab.h: Likewise.
6148 * misc/mntent.h: Likewise.
6149 * misc/regexp.h: Likewise.
6150 * misc/search.h: Likewise.
6151 * misc/sgtty.h: Likewise.
6152 * misc/sys/mman.h: Likewise.
6153 * misc/sys/syslog.h: Likewise.
6154 * misc/sys/uio.h: Likewise.
6155 * misc/sys/xattr.h: Likewise.
6156 * misc/ttyent.h: Likewise.
6157 * nis/rpcsvc/ypclnt.h: Likewise.
6158 * nss/nss.h: Likewise.
6159 * posix/bits/unistd.h: Likewise.
6160 * posix/fnmatch.h: Likewise.
6161 * posix/glob.h: Likewise.
6162 * posix/sched.h: Likewise.
6163 * posix/spawn.h: Likewise.
6164 * posix/sys/wait.h: Likewise.
6165 * posix/unistd.h: Likewise.
6166 * posix/wordexp.h: Likewise.
6167 * pwd/pwd.h: Likewise.
6168 * resolv/netdb.h: Likewise.
6169 * resource/sys/resource.h: Likewise.
6170 * rt/aio.h: Likewise.
6171 * rt/bits/mqueue2.h: Likewise.
6172 * rt/mqueue.h: Likewise.
6173 * shadow/shadow.h: Likewise.
6174 * signal/signal.h: Likewise.
6175 * socket/send.c: Likewise.
6176 * socket/sendto.c: Likewise.
6177 * socket/sys/socket.h: Likewise.
6178 * stdio-common/printf.h: Likewise.
6179 * stdlib/bits/stdlib.h: Likewise.
6180 * stdlib/fmtmsg.h: Likewise.
6181 * stdlib/monetary.h: Likewise.
6182 * stdlib/stdlib.h: Likewise.
6183 * stdlib/ucontext.h: Likewise.
6184 * streams/stropts.h: Likewise.
6185 * string/argz.h: Likewise.
6186 * string/bits/string2.h: Likewise.
6187 * string/string.h: Likewise.
6188 * string/strings.h: Likewise.
6189 * sunrpc/rpc/auth.h: Likewise.
6190 * sunrpc/rpc/auth_des.h: Likewise.
6191 * sunrpc/rpc/clnt.h: Likewise.
6192 * sunrpc/rpc/netdb.h: Likewise.
6193 * sunrpc/rpc/pmap_clnt.h: Likewise.
6194 * sunrpc/rpc/xdr.h: Likewise.
6195 * sysdeps/generic/inttypes.h: Likewise.
6196 * sysdeps/generic/net/if.h: Likewise.
6197 * sysdeps/generic/sys/swap.h: Likewise.
6198 * sysdeps/gnu/net/if.h: Likewise.
6199 * sysdeps/gnu/utmpx.h: Likewise.
6200 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6201 * sysdeps/i386/i486/bits/string.h: Likewise.
6202 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6203 * sysdeps/s390/bits/string.h: Likewise.
6204 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6205 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6206 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6207 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6208 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6209 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6210 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6211 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6212 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6213 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6214 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6215 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6216 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6217 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6218 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6219 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6220 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6221 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6222 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6223 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6224 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6225 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6226 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6227 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6228 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6229 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6230 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6231 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6232 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6233 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6234 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6235 * sysvipc/sys/ipc.h: Likewise.
6236 * sysvipc/sys/msg.h: Likewise.
6237 * sysvipc/sys/sem.h: Likewise.
6238 * sysvipc/sys/shm.h: Likewise.
6239 * termios/termios.h: Likewise.
6240 * time/sys/time.h: Likewise.
6241 * time/time.h: Likewise.
6242 * wcsmbs/bits/wchar2.h: Likewise.
6243 * wcsmbs/uchar.h: Likewise.
6244 * wcsmbs/wchar.h: Likewise.
6245 * wctype/wctype.h: Likewise.
6246
0269750c
UD
6247 [BZ #13551]
6248 * Makeconfig: Remove all but ELF support including AIX support.
6249 * Makerules: Likewise.
6250 * config.h.in: Likewise.
6251 * config.make.in: Likewise.
6252 * configure: Likewise.
6253 * configure.in: Likewise.
6254 * csu/Makefile: Likewise.
6255 * csu/version.c: Likewise.
6256 * debug/Makefile: Likewise.
6257 * dlfcn/Makefile: Likewise.
6258 * elf/Makefile: Likewise.
6259 * extra-lib.mk: Likewise.
6260 * iconv/Makefile: Likewise.
6261 * include/libc-symbols.h: Likewise.
6262 * include/shlib-compat.h: Likewise.
6263 * resolv/Makefile: Likewise.
6264 * resolv/res_libc.c: Likewise.
6265 * rt/Makefile: Likewise.
6266 * sysdeps/i386/asm-syntax.h: Likewise.
6267 * sysdeps/i386/sysdep.h: Likewise.
6268 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6269 * sysdeps/mach/sysdep.h: Likewise.
6270 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6271 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6272 * sysdeps/s390/asm-syntax.h: Likewise.
6273 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6274 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6275 * sysdeps/sh/sysdep.h: Likewise.
6276 * sysdeps/unix/sparc/sysdep.h: Likewise.
6277 * sysdeps/wordsize-32/divdi3.c: Likewise.
6278 * sysdeps/x86_64/sysdep.h: Likewise.
6279
00bbd29b
UD
6280 * argp/Versions: Remove _argp_unlock_xxx.
6281
6282 [BZ #13559]
6283 * abilist/ld.abilist: Update. Adjust for removal of tls option.
6284 * abilist/libBrokenLocale.abilist: Likewise.
6285 * abilist/libanl.abilist: Likewise.
6286 * abilist/libc.abilist: Likewise.
6287 * abilist/libcrypt.abilist: Likewise.
6288 * abilist/libdl.abilist: Likewise.
6289 * abilist/libm.abilist: Likewise.
6290 * abilist/libnsl.abilist: Likewise.
6291 * abilist/libpthread.abilist: Likewise.
6292 * abilist/libresolv.abilist: Likewise.
6293 * abilist/librt.abilist: Likewise.
6294 * abilist/libthread_db.abilist: Likewise.
6295 * abilist/libutil.abilist: Likewise.
6296 * abilist/libnss_db.abilist: New file.
6297
6298 * scripts/abilist.awk: Add support for indirect functions.
6299
a2693a0e
UD
6300 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6301
3f05895f
UD
6302 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6303
ecb6fb48
UD
6304 * shlib-versions: Remove entries for ports architectures.
6305
664f8cb9
UD
6306 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
6307 files in ports.
6308 * elf/stackguard-macros.h: Remove support for IA-64.
6309 * elf/tst-auditmod1.c: Likewise.
6310 * sysdeps/generic/ldsodefs.h: Likewise.
6311
7ae81d88
UD
6312 * sysdeps/unix/sysv/linux/configure.in: Ports should define
6313 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6314 configure files.
6315
bdeba135
UD
6316 [BZ #13552]
6317 * configure.in: Remove --enable-omitfp support.
6318 * FAQ.in: Adjust.
6319 * config.make.in: Likewise.
6320 * Makeconfig: Likewise.
6321 * manual/install.texi: Likewise.
6322
d75a0a62
UD
6323 In case anyone cares, the IA-64 architecture could move to ports.
6324 * sysdeps/ia64/*: Removed.
6325 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 6326 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 6327
dcc9756b
UD
6328 [BZ #13555]
6329 * configure.in: Remove entries for unsupported architectures.
6330
d3761ebc 6331 [BZ #13533]
9954432e
UD
6332 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6333 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
6334 routines.
6335 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6336 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6337 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
6338 fall back to using wcrtomb.
6339 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6340 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
6341 renaming.
6342 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6343 * wcsmbs/tst-c16c32-1.c: New file.
6344
6345 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6346 local variable.
6347
c3a87236
UD
6348 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6349
28926a1b
UD
6350 * elf/tst-unique3.cc: Add explicit declaration of gets.
6351 * elf/tst-unique3lib.cc: Likewise.
6352 * elf/tst-unique3lib2.cc: Likewise.
6353 * elf/tst-unique4.cc: Likewise.
6354
df78418a
UD
6355 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6356
8ecd6b2a
JM
63572012-01-06 Joseph Myers <joseph@codesourcery.com>
6358
6359 [BZ #13566]
6360 * assert/assert.h (static_assert): Don't define for C++.
6361 * libio/stdio.h (gets): Do declare for C++ <= C++11.
6362 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6363
9f115170
UD
63642012-01-03 Ulrich Drepper <drepper@gmail.com>
6365
5e0d0300
UD
6366 * iconv/loop.c (single loop): Fix assertion in storing of
6367 remaining bytes.
6368
9f115170
UD
6369 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6370
81fb02b0
UD
63712012-01-01 Ulrich Drepper <drepper@gmail.com>
6372
6373 * posix/getconf.c: Update copyright year.
6374 * nss/getent.c: Likewise.
a316c1f6 6375 * nss/makedb.c: Likewise.
81fb02b0
UD
6376 * iconv/iconvconfig.c: Likewise.
6377 * iconv/iconv_prog.c: Likewise.
6378 * elf/ldconfig.c: Likewise.
a316c1f6
UD
6379 * elf/pldd.c: Likewise.
6380 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
6381 * catgets/gencat.c: Likewise.
6382 * csu/version.c: Likewise.
6383 * elf/ldd.bash.in: Likewise.
6384 * elf/sprof.c (print_version): Likewise.
6385 * locale/programs/locale.c: Likewise.
6386 * locale/programs/localedef.c: Likewise.
a316c1f6 6387 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
6388 * nscd/nscd.c (print_version): Likewise.
6389 * debug/xtrace.sh: Likewise.
6390 * malloc/memusage.sh: Likewise.
6391 * malloc/mtrace.pl: Likewise.
6392 * debug/catchsegv.sh: Likewise.
6393
2ba92745
JJ
63942011-12-30 Jakub Jelinek <jakub@redhat.com>
6395
6396 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
6397 pure attribute.
6398
dadebdae
UD
63992011-12-24 Ulrich Drepper <drepper@gmail.com>
6400
d3761ebc 6401 [BZ #13533]
db6af3eb
UD
6402 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
6403 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
6404 transformations.
6405 * iconv/gconv_int.h: Likewise.
6406 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
6407 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
6408 from libc for GLIBC_2.16.
6409 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
6410 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
6411 * wcsmbs/uchar.h: Really define mbstate_t.
6412 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
6413 * wcsmbs/c16rtomb.c: New file.
6414 * wcsmbs/mbrtoc16.c: New file.
6415 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
6416 for C/POSIX locale.
6417 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
6418 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
6419
dadebdae
UD
6420 * wcsmbs/wchar.h: Add missing __restrict.
6421
67371b56
UD
64222011-12-23 Ulrich Drepper <drepper@gmail.com>
6423
74033a25
UD
6424 [BZ #13532]
6425 * time/Makefile (routines): Add timespec_get.
6426 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
6427 * time/time.h: Define TIME_UTC and declare timespec_get. Define
6428 timespec for ISO C11.
6429 * time/timespec_get.c: New file.
6430 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
6431 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
6432
380d7e87
UD
6433 [BZ #13531]
6434 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
6435 * stdlib/stdlib.h: Declare aligned_alloc.
6436 * Versions.def: Add GLIBC_2.16 for libc.
6437 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
6438
4e9e7a35
UD
6439 [BZ 13527]
6440 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
6441 ISO C11.
6442
380d7e87 6443 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
6444 code.
6445
03a71829
UD
6446 [BZ #13528]
6447 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
6448
839e283e
UD
6449 [BZ #13529]
6450 * assert/assert.h (static_assert): Define.
6451
ce5294e2 6452 * version.h: Update for 2.16 development version.
90fa7312 6453
8d44e150 6454 [BZ #13526]
d7809905
UD
6455 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
6456 _ISOC11_SOURCE.
6457
c0da14cd
UD
6458 * version.h (RELEASE): Bump for 2.15 release.
6459 * include/features.h (__GLIBC_MINOR__): Bump to 15.
6460
530a3249
MP
6461 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
6462 Patch by Marek Polacek <mpolacek@redhat.com>.
6463
67371b56
UD
6464 * bits/byteswap.h: Protect long long constants with __extension__.
6465 * sysdeps/i386/bits/byteswap.h: Likewise.
6466 * sysdeps/ia64/bits/byteswap.h: Likewise.
6467 * sysdeps/s390/bits/byteswap.h: Likewise.
6468 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6469
15db4de1
LD
64702011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6471
6472 [BZ #13540]
bbe315ea
LD
6473 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
6474 destination buffer.
15db4de1
LD
6475 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6476
2b2596b1
MP
64772011-12-23 Marek Polacek <polacek@redhat.com>
6478
6479 * elf/dl-addr.c (determine_info): Add inline keyword.
6480 * elf/tst-auditmod4b.c (check_avx): Likewise.
6481 * elf/tst-auditmod6b.c (check_avx): Likewise.
6482 * elf/tst-auditmod6c.c (check_avx): Likewise.
6483 * elf/tst-auditmod7b.c (check_avx): Likewise.
6484
70c6c246
UD
64852011-12-23 Ulrich Drepper <drepper@gmail.com>
6486
6487 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
6488 !__SSE_MATH__.
6489
c044cf14
LD
64902011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6491
15db4de1 6492 [BZ #13540]
c044cf14
LD
6493 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
6494 processing for last bytes.
6495
6b13d9d9
BH
64962011-08-06 Bruno Haible <bruno@clisp.org>
6497
d455f537
BH
6498 [BZ #13061]
6499 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
6500 U+0385, not to U+1FEE.
6501
6b13d9d9
BH
6502 [BZ #13062]
6503 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
6504 entry for U+00A5 U+0301.
6505
db910efd
UD
65062011-12-22 Ulrich Drepper <drepper@gmail.com>
6507
27deeafc
UD
6508 [BZ #13166]
6509 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
6510 buffer for the output is too small.
6511
aed9d171
UD
6512 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
6513 optimization.
6514
db910efd
UD
6515 [BZ #13185]
6516 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
6517 SSE flags if possible.
6518
2bd779ae
LD
65192011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6520
e7f9dac3 6521 [BZ #13540]
2bd779ae
LD
6522 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
6523 processing for last bytes.
6524
154bfc16
JM
65252011-12-22 Joseph Myers <joseph@codesourcery.com>
6526
6527 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
6528 (syscall-list-default-options, syscall-list-default-condition)
6529 (syscall-list-includes): Define.
6530 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
6531 list of ABIs and options and #if conditions for each ABI. Do not
6532 handle common syscalls between ABIs specially.
6533 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
6534 Remove.
6535 (syscall-list-variants, syscall-list-32bit-options)
6536 (syscall-list-32bit-condition, syscall-list-64bit-options)
6537 (syscall-list-64bit-condition): Define.
6538 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
6539 (syscall-list-variants, syscall-list-32bit-options)
6540 (syscall-list-32bit-condition, syscall-list-64bit-options)
6541 (syscall-list-64bit-condition): Define.
6542 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
6543 Remove.
6544 (syscall-list-variants, syscall-list-32bit-options)
6545 (syscall-list-32bit-condition, syscall-list-64bit-options)
6546 (syscall-list-64bit-condition): Define.
6547 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
6548 Remove.
6549 (syscall-list-variants, syscall-list-32bit-options)
6550 (syscall-list-32bit-condition, syscall-list-64bit-options)
6551 (syscall-list-64bit-condition): Define.
6552
21eaf3a5
UD
65532011-12-22 Ulrich Drepper <drepper@gmail.com>
6554
16c6f992
UD
6555 * locale/iso-639.def: Add brx entry.
6556
41043168
UD
6557 [BZ #13328]
6558 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
6559 Proposed by Mariusz_Cukr <marcukr@op.pl>.
6560
21eaf3a5
UD
6561 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
6562 __feraiseexcept_renamed.
6563
e3a851a2
UD
65642011-12-21 Ulrich Drepper <drepper@gmail.com>
6565
4920765e
UD
6566 [BZ #13538]
6567 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
6568 EPOLLET with unsigned values.
6569 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6570 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6571
e3a851a2
UD
6572 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
6573 to large cancellation.
6574 * math/s_cacoshf.c: Likewise.
6575 * math/s_cacoshl.c: Likewise.
6576
b27e24b8
RK
65772011-11-18 Richard B. Kreckel <kreckel@ginac.de>
6578
6579 [BZ #13305]
aebefeee 6580 [BZ #12786]
b27e24b8
RK
6581 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
6582 * math/s_cacoshf.c: Likewise.
6583 * math/s_cacoshl.c: Likewise.
6584
ee190f67
UD
65852011-12-21 Ulrich Drepper <drepper@gmail.com>
6586
6587 [BZ #13439]
6588 * iconv/gconv.h: Define __GCONV_SWAP.
6589 * iconvdata/unicode.c: The swap bit must be stored in __flags.
6590 * iconvdata/utf-16.c: Likewise.
6591 * iconvdata/utf-32.c: Likewise.
6592
707f25df
AS
65932011-12-21 Andreas Schwab <schwab@linux-m68k.org>
6594
6595 [BZ #13524]
6596 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
6597 numerator after shifting it by one limb.
6598
d2daaa1e
RÁE
65992011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
6600
6601 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
6602 under [__USE_EXTERN_INLINES].
6603
a4647e72
UD
66042011-12-17 Ulrich Drepper <drepper@gmail.com>
6605
6606 [BZ #13446]
6607 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
6608
f0b264f1
AZ
66092011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6610
6611 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
6612 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
6613 optimized code.
6614 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
6615 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
6616 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
6617 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
6618 for strncasecmp/strncasecmp_l compilation.
6619 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
6620 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
6621
8ef4f244
MP
66222011-12-08 Marek Polacek <mpolacek@redhat.com>
6623
6624 [BZ #13484]
6625 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
6626 of __asm__.
6627
97ac2654
UD
66282011-12-17 Ulrich Drepper <drepper@gmail.com>
6629
6630 [BZ #13506]
6631 * time/tzfile.c (__tzfile_read): Check values from file header.
6632
91d2a845
WS
66332011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6634
6635 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
6636 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
6637 * powerpc/powerpc32/dl-start.S: Likewise.
6638 * powerpc/powerpc32/elf/start.S: Likewise.
6639 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6640 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
6641 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
6642 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
6643 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6644 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
6645 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
6646 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6647 * powerpc/powerpc32/fpu/s_round.S: Likewise.
6648 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6649 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6650 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6651 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6652 * powerpc/powerpc32/memset.S: Likewise.
6653 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6654 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6655 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6656 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6657 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6658 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6659 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6660 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6661 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
6662 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
6663 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
6664 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6665 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6666
a1267ba1
AZ
66672011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6668
6669 * math/libm-test.inc: Added more nearbyint tests.
6670 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
6671 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
6672 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
6673 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
6674
ad8ac1bd
RL
66752011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
6676
6677 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
6678 FD_CLOEXEC.
6679
1d3e4b61
UD
66802011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6681
6682 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
6683 Add wcscpy-ssse3 wcscpy-c.
6684 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
6685 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
6686 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
6687 * sysdeps/x86_64/wcschr.S: New file.
6688 * sysdeps/x86_64/wcsrchr.S: New file.
6689 * string/test-strcmp.c: Remove checking of wcscmp function for
6690 wrong alignments.
6691 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
6692 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
6693 wcsrchr-sse2 wcsrchr-c.
6694 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
6695 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
6696 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
6697 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
6698 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
6699 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
6700 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
6701 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
6702 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
6703 * wcsmbc/wcschr.c (WCSCHR): New macro.
6704
5b330a2d
UD
67052011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6706
6707 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
6708 * wcsmbs/test-wcsrchr.c: New file.
6709 * string/test-strrchr.c: Add wcsrchr support.
6710 (WIDE): New macro.
6711 * wcsmbs/test-wcscpy.c: New file.
6712 * string/test-strcpy.c: Add wcscpy support.
6713 (WIDE): New macro.
26428b7c 6714
f039c043
UD
67152011-12-10 Ulrich Drepper <drepper@gmail.com>
6716
6717 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
6718 the inner loop.
6719
850fb039
AS
67202011-12-06 Andreas Schwab <schwab@linux-m68k.org>
6721
6722 [BZ #13472]
6723 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
6724
4efbd5cb
UD
67252011-12-04 Ulrich Drepper <drepper@gmail.com>
6726
52ff5dd0 6727 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 6728 Minor optimizations.
52ff5dd0 6729
4efbd5cb
UD
6730 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
6731 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
6732 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6733
8a426e12
UD
67342011-12-03 Ulrich Drepper <drepper@gmail.com>
6735
aff2453d
UD
6736 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
6737 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
6738 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
6739 for gcc to avoid warnings.
6740 * inet/Makefile (tests): Add tst-checks.
6741 * inet/tst-checks.c: New file.
6742
6743 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
6744 warning.
6745
6746 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
6747 __wmemcmp_sse2.
6748
6749 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
6750 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
6751
8a426e12
UD
6752 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
6753
9bea3473
UD
67542011-12-02 Ulrich Drepper <drepper@gmail.com>
6755
3a965496
UD
6756 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
6757 problem.
6758
9bea3473
UD
6759 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
6760
f101631b
UD
67612011-11-29 Joseph Myers <joseph@codesourcery.com>
6762
6763 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
6764 conditional on GCC version.
6765 (__arch_compare_and_exchange_val_8_acq)
6766 (__arch_compare_and_exchange_val_16_acq)
6767 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
6768 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
6769 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
6770
a98275aa
UD
67712011-12-02 Joseph Myers <joseph@codesourcery.com>
6772
6773 * sysdeps/sh/backtrace.c: New file.
6774
d4cc29a2
AS
67752011-12-02 Andreas Schwab <schwab@redhat.com>
6776
6777 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
6778 parenthesis.
6779
6257af2d
AS
67802011-12-01 Andreas Schwab <schwab@redhat.com>
6781
6782 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
6783 falling back to utime.
6784
b5f44c1a
AS
67852011-11-30 Andreas Schwab <schwab@redhat.com>
6786
6787 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
6788 expectations for float.
6789
f3a6cc0a
AS
67902011-11-29 Andreas Schwab <schwab@redhat.com>
6791
6792 * locale/weight.h (findidx): Add parameter len.
6793 * locale/weightwc.h (findidx): Likewise.
6794 * posix/fnmatch_loop.c (FCT): Adjust caller.
6795 * posix/regcomp.c (build_equiv_class): Likewise.
6796 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
6797 * posix/regexec.c (check_node_accept_bytes): Likewise.
6798 * string/strcoll_l.c (STRCOLL): Likewise.
6799 * string/strxfrm_l.c (STRXFRM): Likewise.
6800
9d65ea3a
UD
68012011-11-17 Ulrich Drepper <drepper@gmail.com>
6802
6803 * Makefile.in: Remove CVSOPT handling.
6804 * configure.in: Remove use of AC_REVISION.
6805 * iconvdata/Makefile (distribute): No need to filter out CVS.
6806 * scripts/list-sources.sh: Remove CVS, subversion and monotone
6807 handling.
6808
5583a086
AS
68092011-11-16 Andreas Schwab <schwab@redhat.com>
6810
6811 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
6812 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
6813 [USE_AS_STRNCASECMP_L]: Likewise.
6814 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
6815 NO_TLS_DIRECT_SEG_REFS.
6816 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
6817 Fix argument offsets for non-PIC.
6818 [USE_AS_STRNCASECMP_L]: Likewise.
6819 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
6820 NO_TLS_DIRECT_SEG_REFS.
6821
d62a8200
UD
68222011-11-15 Ulrich Drepper <drepper@gmail.com>
6823
9d65ea3a 6824 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
6825 O_CLOEXEC.
6826 * locale/loadlocale.c (_nl_load_locale): Likewise.
6827
09f93bd3
AS
68282011-11-15 Andreas Schwab <schwab@redhat.com>
6829
446514f9
AS
6830 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
6831 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
6832 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
6833 (SYSCALL_GETTIME): Set errno on error.
6834
09f93bd3
AS
6835 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
6836 count references to noai6ai_cached.
6837
312be3f9
UD
68382011-11-15 Ulrich Drepper <drepper@gmail.com>
6839
6840 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
6841
6842 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
6843 FD_CLOEXEC for /proc/self/maps.
6844
6845 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
6846 FD_CLOEXEC for /proc/meminfo.
6847
6848 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
6849 gai.conf.
6850
6851 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
6852 FD_CLOEXEC for given file.
6853
6854 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
6855
6856 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
6857 FD_CLOEXEC for /etc/hosts.
6858 (_gethtent): Likewise.
6859
6860 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
6861
6862 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
6863 cancellation and set FD_CLOEXEC for /etc/netgroup.
6864
6865 * nss/nss_files/files-key.c (search): Don't allow cancellation when
6866 reading /etc/publickey.
6867
6868 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
6869 allow cancellation when reading /etc/group.
6870
6871 * nss/nss_files/files-alias.c (internal_setent): Don't allow
6872 cancellation.
6873 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
6874
6875 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
6876 when using data file.
6877
6878 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
6879
6880 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
6881 (write_nis_obj): Use "c" and "e" in fopen.
6882
6883 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
6884
6885 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
6886
6887 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
6888
6889 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
6890
6891 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
6892 locale.alias.
6893
6894 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
6895
6896 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
6897
6898 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
6899
6900 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
6901 file parsing and set FD_CLOEXEC.
6902
82af0fa8
UD
69032011-11-14 Ulrich Drepper <drepper@gmail.com>
6904
6905 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
6906
a5fb313c
AS
69072011-11-14 Andreas Schwab <schwab@redhat.com>
6908
6909 * malloc/arena.c (arena_get2): Don't call reused_arena when
6910 _int_new_arena failed.
6911
6abf3465
UD
69122011-11-14 Ulrich Drepper <drepper@gmail.com>
6913
6914 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
6915 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
6916 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
6917 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6918 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6919 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
6920 to compile strcasecmp and strncasecmp.
6921 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
6922 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
6923
6924 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
6925
76e3966e
UD
69262011-11-13 Ulrich Drepper <drepper@gmail.com>
6927
6928 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
6929 locale-defines.sym to gen-as-const-headers.
6930 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
6931 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
6932 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
6933 to compile strcasecmp and strncasecmp.
6934 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
6935 strcasecmp_l and strncasecmp_l.
6936 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
6937 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
6938 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
6939 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
6940 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
6941 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
6942 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
6943 * sysdeps/i386/i686/multiarch/strncase.S: New file.
6944 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
6945 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
6946 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
6947
ab26144e
UD
69482011-11-12 Ulrich Drepper <drepper@gmail.com>
6949
7edb22ef
UD
6950 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
6951 result of SYSDEP_GETTIME_CPU to retval.
6952 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
6953 parameter list to macro. Remove trailing semicolon. Adjust users.
6954
9694fc44
UD
6955 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
6956 variable.
6957
8ad89ef8
UD
6958 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
6959 mantissa words.
6960 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6961
0c822ef9
UD
6962 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
6963 from unused variable.
6964
874e0564
UD
6965 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
6966 DWARF definitions.
6967 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
6968 for assembling.
6969
3a2edc79
UD
6970 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
6971 over namespaces.
6972
f3c2577f
UD
6973 * sunrpc/rpc_prot.c (rejected): Fix case value.
6974
294ce126
UD
6975 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
6976 unsigned long long int to avoid warnings in shift.
6977
5e2b63c6
UD
6978 * posix/regex_internal.c (re_string_reconstruct): Actually use result
6979 of use of trans.
6980 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
6981 variable tmp.
6982
e7f4b08e
UD
6983 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
6984 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6985 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6986
ab26144e
UD
6987 * nis/nis_table.c (nis_list): Use variable of correct type for
6988 result of __follow_path call.
6989
8a6d5255
AZ
69902011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6991
6992 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
6993 of math functions ceil, trunc, floor, round, and sqrt, when
6994 avaliable on the platform.
6995 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
6996 name clash.
6997 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6998 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6999 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7000
aaddc98c
MP
70012011-10-30 Marek Polacek <mpolacek@redhat.com>
7002
7003 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7004 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7005
95b7042b
RM
70062011-11-11 Roland McGrath <roland@hack.frob.com>
7007
7008 * include/unistd.h: Fix __readlink return type.
7009 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7010
57769839
UD
70112011-11-11 Ulrich Drepper <drepper@gmail.com>
7012
7013 * stdlib/ucontext.h: Undo last change for makecontext.
7014
edc5984d
AS
70152011-11-11 Andreas Schwab <schwab@redhat.com>
7016
98591e58
AS
7017 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7018
edc5984d
AS
7019 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7020 * setjmp/setjmp.h: Mark functions as non-leaf.
7021 * setjmp/bits/setjmp2.h: Likewise.
7022 * stdlib/ucontext.h: Likewise.
7023
77cdc054
AS
70242011-11-10 Andreas Schwab <schwab@redhat.com>
7025
7026 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7027 (reused_arena): Don't check arena limit.
7028 (arena_get2): Atomically check arena limit.
7029
fe72eebd
UD
70302011-11-08 Ulrich Drepper <drepper@gmail.com>
7031
5f078c32
UD
7032 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7033 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7034
fe72eebd
UD
7035 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7036 instructions.
7037
ae1bc2fa
AS
70382011-11-07 Andreas Schwab <schwab@redhat.com>
7039
7583a88d
AS
7040 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7041 handler when locking.
7042
ae1bc2fa
AS
7043 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7044 Fix size of allocated buffer.
7045
10fb0bfa
AS
70462011-11-04 Andreas Schwab <schwab@redhat.com>
7047
998832a4
AS
7048 [BZ #10103]
7049 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7050 declarations for long double functions.
7051 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7052
10fb0bfa
AS
7053 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7054
3d7ba52b
AS
70552011-11-03 Andreas Schwab <schwab@redhat.com>
7056
a9ae54a1
AS
7057 * nscd/nscd.c (main): Don't start AVC thread until credentials are
7058 installed.
7059
3d7ba52b
AS
7060 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7061 is disabled.
7062
bc8db248
ST
70632011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7064
7065 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7066
45b96dd6
AS
70672011-11-01 Andreas Schwab <schwab@linux-m68k.org>
7068
647776f6
AS
7069 * include/alloca.h (stackinfo_alloca_round): Define.
7070 (extend_alloca): Use it.
7071 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7072 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7073 here.
7074
d91a8b93
AS
7075 * scripts/check-local-headers.sh: Ignore libaudit.h.
7076
45b96dd6
AS
7077 * nscd/Makefile (extra-objs): Make recursively expanded.
7078
432d41ce
UD
70792011-11-01 Ulrich Drepper <drepper@gmail.com>
7080
34372fc6
UD
7081 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7082 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7083
fadb59f8
UD
7084 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7085 * posix/tst-rfc3484-2.c: Likewise.
7086 * posix/tst-rfc3484-3.c: Likewise.
7087
78239589
UD
7088 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7089 process_vm_writev.
7090 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7091 process_vm_writev.
7092 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7093 process_vm_writev from libc using GLIBC_2.15 version.
7094
432d41ce
UD
7095 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7096
02f9c6cf
PP
70972011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7098
7099 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7100 stack usage.
7101
3a2c0242
UD
71022011-10-31 Ulrich Drepper <drepper@gmail.com>
7103
f4ec4833
UD
7104 [BZ #13367]
7105 * nss/getent.c (initgroups_keys): Show error message in case no group
7106 names are given.
7107
3a2c0242
UD
7108 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7109 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7110 __bump_nl_timestamp.
7111 * nscd/connections (nscd_init): When host database is served open
7112 netlink socket and request notification about configuration changes.
7113 (main_loop_poll): Track netlink file descriptor and bump timestamp
7114 in case data becomes available.
7115 (main_loop_epoll): Likewise.
7116 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7117 (database_pers_head): Add extra_data fileds.
7118 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7119 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7120 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7121 Adjust caller.
7122 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7123 in6ai data, call __free_in6ai.
7124 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7125 Add -DHAVE_NETLINK.
7126 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
7127 interface information. Reuse previous data if netlink timestamp
7128 is not changed.
7129 (__bump_nl_timestamp): New function.
7130 (__free_in6ai): New function.
7131
636064eb
UD
71322011-10-30 Ulrich Drepper <drepper@gmail.com>
7133
7134 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7135 close_not_cancel_no_status here.
7136 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7137
9beb2334
UD
71382011-10-29 Ulrich Drepper <drepper@gmail.com>
7139
6ef76f3b
UD
7140 [BZ #13276]
7141 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7142 return value.
7143
0ffc4f3e 7144 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
7145 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7146 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7147
cb95113e
UD
71482011-07-03 Andreas Jaeger <aj@suse.de>
7149
7150 [BZ #10709]
7151 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7152 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7153 * math/libm-test.inc (sin_test): Add test case.
7154
a1b560ff
UD
71552011-10-29 Ulrich Drepper <drepper@gmail.com>
7156
c9aaface
UD
7157 [BZ #13337]
7158 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7159 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7160
d272e7f1
UD
7161 * elf/chroot_canon.c (chroot_canon): Cleanups.
7162
1bc33071
UD
7163 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7164
1760874d
TJ
7165 [BZ #13335]
7166 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7167 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7168
51d91b18
UD
7169 * string/test-strchr.c: Make usable for strchrnul testing.
7170 * string/test-strchrnul.c: New file.
7171 * string/Makefile (strop-tests): Add strchrnul.
7172
a1b560ff 7173 * po/it.po: Update from translation team.
b611fb81 7174 * po/es.po: Likewise.
a1b560ff 7175
a5b81e1f
UD
71762011-10-28 Ulrich Drepper <drepper@gmail.com>
7177
fd52bc6d
UD
7178 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7179 the three constants needed as parameters. Drop the others.
7180 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7181 __m128i_strloadu_tolower.
52e4b9eb
UD
7182 Create and initialize variable zero and use it in all the places
7183 where _mm_setzero_si128 was used.
fd52bc6d 7184
a5b81e1f
UD
7185 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7186 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7187 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7188 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7189 anymore.
7190 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7191 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7192 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7193 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7194 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7195 __mpranred, __mptan.
7196 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7197 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7198 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7199 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7200 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7201 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7202 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7203 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7204 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7205
b4343346
AS
72062011-10-28 Andreas Schwab <schwab@redhat.com>
7207
0c92d8a8
AS
7208 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7209 redefine if SHARED.
7210 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7211
b4343346
AS
7212 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7213 wide char related routines to wcsmbs subdir.
7214
3871f58f
AS
72152011-10-27 Andreas Schwab <schwab@redhat.com>
7216
7217 [BZ #13344]
7218 * misc/sys/cdefs.h (__THROWNL): Define.
7219 * posix/unistd.h: Use __THREADNL instead of __THREAD
7220 for memory synchronization functions.
7221
94d44d9f
RM
72222011-10-26 Roland McGrath <roland@hack.frob.com>
7223
21b64b15 7224 [BZ #13349]
94d44d9f
RM
7225 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7226 doesn't exist.
7227 * manual/stdio.texi (Obstack Streams): Node removed.
7228
f6ce9294
AS
72292011-10-26 Andreas Schwab <schwab@redhat.com>
7230
80479147
AS
7231 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7232 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7233 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7234
f6ce9294
AS
7235 * math/math_private.h (math_force_eval): Allow non-addressable
7236 arguments.
7237 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7238
618280a1
UD
72392011-10-25 Ulrich Drepper <drepper@gmail.com>
7240
e0016b11
UD
7241 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7242 file is not needed.
7243
7244 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7245 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7246 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7247 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7248 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7249 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7250 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7251 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7252 Add AVX variants.
7253 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7254 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7255 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7256 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7257 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7258 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7259 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7260 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7261 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7262 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7263 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7264 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7265 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7266 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7267 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7268 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7269 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7270 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7271 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7272
7273 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7274 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
7275
618280a1
UD
7276 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7277 place. Use VEX encoding when compiling for AVX.
7278
37822576
AS
72792011-10-25 Andreas Schwab <schwab@redhat.com>
7280
1f1e1947
AS
7281 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7282 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7283
37822576
AS
7284 * string/test-strchr.c (do_test): Don't generate NUL bytes.
7285
31ea014d
UD
72862011-10-25 Ulrich Drepper <drepper@gmail.com>
7287
d7826aa1 7288 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 7289 useless if() expression.
d7826aa1
UD
7290 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7291 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7292 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7293 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7294 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7295 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7296 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7297 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7298 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7299 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7300 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7301 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7302 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7303 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7304 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7305 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7306 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7307 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7308 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7309
31ea014d
UD
7310 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7311
16437fec
AS
73122011-10-25 Andreas Schwab <schwab@redhat.com>
7313
7314 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7315 condition.
7316 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7317
31d3cc00
UD
73182011-10-25 Ulrich Drepper <drepper@gmail.com>
7319
7320 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7321 .text section. Avoid duplicate constants.
7322 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7323 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7324 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7325 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7326 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7327 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7328 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7329 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7330 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7331 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7332 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7333 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7334 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7335 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7336 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7337 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7338 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7339 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7340 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7341 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7342 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7343 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7344 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7345 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7346 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7347 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7348 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7349 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7350 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7351 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7352 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7353 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7354 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7355 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7356 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7357 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7358 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7359 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7360 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7361 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7362 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7363 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7364 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7365 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7366 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7367
58985aa9
UD
73682011-10-24 Ulrich Drepper <drepper@gmail.com>
7369
202c9deb
UD
7370 * sysdeps/x86_64/dla.h: Move to ...
7371 * sysdeps/x86_64/fpu/dla.h: ...here.
7372 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7373 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 7374
af968f62
UD
7375 * config.make.in: Add have-mfma4 entry.
7376 * configure.in: Substitute libc_cv_cc_fma4.
7377 * math/Makefile (dbl-only-routines): Add sincostab.
7378 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7379 Use __sincostab not sincos.
7380 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7381 name is a macro.
7382 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7383 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7384 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7385 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
7386 using __copysign.
7387 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
7388 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
7389 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7390 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
7391 and __inv.
7392 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
7393 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
7394 __copysign.
7395 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
7396 define aliases when function name is a macro.
7397 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
7398 sysdeps/ieee754/dbl-64/sincos.tbl.
7399 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
7400 fma4-enabled routines.
7401 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
7402 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
7403 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
7404 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
7405 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
7406 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
7407 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
7408 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
7409 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
7410 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
7411 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
7412 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
7413 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
7414 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
7415 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
7416 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
7417 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
7418 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
7419 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
7420 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
7421 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
7422 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
7423 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
7424 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
7425 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
7426 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
7427 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
7428 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
7429 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
7430 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
7431
58985aa9
UD
7432 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
7433 rename.
7434 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7435 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7436 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7437 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7438 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7439 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7440 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7441 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7442
a201fbcf
AS
74432011-10-24 Andreas Schwab <schwab@redhat.com>
7444
7445 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
7446
fc2ee42a
LD
74472011-10-23 Ulrich Drepper <drepper@gmail.com>
7448
bb3129bd
UD
7449 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
7450
0275fff8
UD
7451 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
7452 prediction.
7453 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
7454
2fa2ae85
UD
7455 * string/strnlen.c: Don't define STRNLEN, reverse logic.
7456 Remove unused variable magic_bits.
7457 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
7458
fc2ee42a
LD
7459 * string/strnlen.c: Define and use STRNLEN macro.
7460 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
7461 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
7462 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
7463 * wcsmbs/wcslen.c: Define and use WCSLEN.
7464 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
7465 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
7466 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
7467 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
7468 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
7469 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
7470 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7471
ce7dd29f
LD
74722011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7473
7474 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7475 strnlen-sse2-no-bsf.
7476 Rename strlen-no-bsf to strlen-sse2-no-bsf.
7477 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
7478 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
7479 Add strnlen support.
7480 (USE_AS_STRNLEN): New macro.
7481 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
7482 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
7483 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
7484 * sysdeps/x86_64/wcslen.S: New file.
7485
979c70a3
MZ
74862011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
7487
7488 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7489 XMM-moves are used for copying on small sizes.
7490
2d09f82f
LD
74912011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7492
7493 * wcsmbs/Makefile (strop-tests): Add wcschr.
7494 * wcsmbs/test-wcschr.c: New file.
7495 * string/test-strchr.c: Update.
7496 Add wcschr support.
7497 (WIDE): New macro.
7498
619fccca
LD
74992011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7500
2d09f82f 7501 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
7502 * wcsmbs/test-wcslen.c: New file.
7503 * string/test-strlen.c: Update.
7504 Add wcslen support.
7505 (WIDE): New macro.
7506
09f699ea
UD
75072011-10-23 Ulrich Drepper <drepper@gmail.com>
7508
7509 * po/it.po: Update from translation team.
7510
95584d3b
LD
75112011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7512
7513 * sysdeps/x86_64/wcscmp.S: Update.
7514 Fix wrong comparison semantics.
7515 wcscmp shall use signed comparison not unsigned.
7516 Don't use substraction to avoid overflow bug.
7517 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7518 * wcsmbc/wcscmp.c: Likewise.
7519 * string/test-strcmp.c: Likewise.
7520 Add new tests to check cases with negative values.
7521
c8b3296b
UD
75222011-10-23 Ulrich Drepper <drepper@gmail.com>
7523
7524 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
7525 * sysdeps/x86_64/dla.h: ...here. New file.
7526 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
7527 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7528 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7529 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7530 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7531 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7532 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7533 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7534 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7535
246ad57a
AS
75362011-10-23 Andreas Schwab <schwab@linux-m68k.org>
7537
7538 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
7539 __ynl_finite aliases.
7540
a1a87169
UD
75412011-10-22 Ulrich Drepper <drepper@gmail.com>
7542
0d355eb7
UD
7543 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7544
a1a87169
UD
7545 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
7546 define DLA_FMA.
7547 [DLA_FMA] (EMULV): Use DLA_FMA.
7548 [DLA_FMA] (MUL12): Use EMULV.
7549 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
7550 that are not needed.
7551 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7552 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7553 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7554 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7555 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7556 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7557 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7558
ee2aafe0
AS
75592011-10-22 Andreas Schwab <schwab@linux-m68k.org>
7560
7561 * math/s_nan.c: Undef __nan.
7562 * math/s_nanf.c: Undef __nanf.
7563 * math/s_nanl.c: Undef __nanl.
7564 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
7565 "math_private.h".
7566
bc62c2fb
UD
75672011-10-22 Ulrich Drepper <drepper@gmail.com>
7568
77425c63
UD
7569 * math/s_catan.c: Add branch predictions.
7570 * math/s_catanf.c: Likewise.
7571 * math/s_catanh.c: Likewise.
7572 * math/s_catanhf.c: Likewise.
7573 * math/s_catanhl.c: Likewise.
7574 * math/s_catanl.c: Likewise.
7575 * math/s_cexp.c: Likewise.
7576 * math/s_cexpf.c: Likewise.
7577 * math/s_cexpl.c: Likewise.
7578 * math/s_clog.c: Likewise.
7579 * math/s_clog10.c: Likewise.
7580 * math/s_clog10f.c: Likewise.
7581 * math/s_clog10l.c: Likewise.
7582 * math/s_clogf.c: Likewise.
7583 * math/s_clogl.c: Likewise.
7584 * math/s_csqrt.c: Likewise.
7585 * math/s_csqrtf.c: Likewise.
7586 * math/s_csqrtl.c: Likewise.
7587 * math/s_ctanf.c: Likewise.
7588 * math/s_ctanh.c: Likewise.
7589 * math/s_ctanhf.c: Likewise.
7590 * math/s_ctanhl.c: Likewise.
7591 * math/s_ctanl.c: Likewise.
7592
bc62c2fb
UD
7593 * math/math_private.h: Define __nan, __nanf, __nanl.
7594 * math/s_cacosh.c: Include <math_private.h>.
7595 * math/s_cacoshl.c: Likewise.
7596 * math/s_casinh.c: Likewise.
7597 * math/s_casinhf.c: Likewise.
7598 * math/s_casinhl.c: Likewise.
7599 * math/s_ccos.c: Rely entire on ccosh.
7600 * math/s_ccosf.c: Rely entire on ccoshf.
7601 * math/s_ccosl.c: Rely entirely on ccoshl.
7602 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
7603 Remove tests for FE_INVALID.
7604 * math/s_ccoshf.c: Likewise.
7605 * math/s_ccoshl.c: Likewise.
7606 * math/s_csin.c: Likewise.
7607 * math/s_csinf.c: Likewise.
7608 * math/s_csinh.c Likewise.
7609 * math/s_csinhf.c: Likewise.
7610 * math/s_csinhl.c: Likewise.
7611 * math/s_csinl.c: Likewise.
7612 * math/s_ctan.c: Likewise.
7613 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
7614 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
7615 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
7616
8ec250a4
UD
76172011-10-21 Ulrich Drepper <drepper@gmail.com>
7618
c196fed8
UD
7619 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
7620 compilation problems.
7621
8ec250a4
UD
7622 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
7623 __builtin_expect.
7624
8d4f46c6
UD
76252011-10-20 Ulrich Drepper <drepper@gmail.com>
7626
ed72b654
UD
7627 * sysdeps/i386/configure.in: Test for -mfma4 option.
7628 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
7629 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
7630 COMMON_CPUID_INDEX_80000001.
7631 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
7632 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
7633 use it if FMA3 is not supported.
7634 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7635
8d4f46c6
UD
7636 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
7637 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7638
d45c60c2
AS
76392011-10-20 Andreas Schwab <schwab@redhat.com>
7640
7641 [BZ #12892]
7642 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
7643 it would create a cycle with a link time dependency.
7644
d9a4d2ab
UD
76452011-10-19 Ulrich Drepper <drepper@gmail.com>
7646
855d1560
UD
7647 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
7648 instruction.
7649 * string/Makefile (strop-tests): Add rawmemchr.
7650 * string/test-rawmemchr.c: New file.
7651
d9a4d2ab
UD
7652 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
7653 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
7654 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
7655 when compiling str{,n}casecmp and when AVX is available. Hook up
7656 new optimized code in initializers.
7657
8f3b1ffe
AS
76582011-10-19 Andreas Schwab <schwab@redhat.com>
7659
7660 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
7661 __feraiseexcept instead of feraiseexcept.
7662
d38f1dba
UD
76632011-10-18 Ulrich Drepper <drepper@gmail.com>
7664
d9a8d0ab
UD
7665 * math/math_private.h: Define defaults for libc_fetestexcept and
7666 libc_feupdateenv.
7667 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
7668 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7669 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7670 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7671 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7672 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7673 libc_fetestexcept and libc_feupdateenv.
7674
4855e3dd
UD
7675 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
7676 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
7677 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
7678 * sysdeps/x86_64/fpu/math_private.h: Define special version of
7679 libc_feholdexcept_setround.
7680
581d30e3
UD
7681 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
7682 Add s_nearbyint-c and s_nearbyintf-c.
7683 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
7684 nearbyintf inlines.
7685 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
7686 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
7687 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
7688 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
7689
d38f1dba
UD
7690 * math/math_private.h: Define defaults for libc_fegetround,
7691 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
7692 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
7693 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
7694 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
7695 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
7696 standard functions.
7697 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7698 Remove comments and hacks for old compiler versions.
7699 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7700 libc_fegetround, libc_fesetround, libc_feholdexcept, and
7701 libc_feholdexceptl.
7702
caa6c9d8
AS
77032011-10-18 Andreas Schwab <schwab@redhat.com>
7704
7705 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
7706 (__feraiseexcept_renamed): Add __NTH.
7707 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
7708 namespace violations.
7709
97c066e6
UD
77102011-10-17 Ulrich Drepper <drepper@gmail.com>
7711
99ce7b04
UD
7712 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
7713
1004d182
UD
7714 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
7715
228a984d
UD
7716 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
7717 recently added interfaces.
7718 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
7719
c8553a6a
UD
7720 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
7721 about macro parameter expansion.
7722
ed22dcf6
UD
7723 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
7724 __NO_MATH_INLINES is defined. Cleanups.
7725
7726 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
7727 and __floorf is target has SSE4.1.
7728 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
7729 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
7730 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
7731 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
7732
b171c137
UD
7733 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
7734 name.
7735 (floorf): Likewise.
7736
97c066e6
UD
7737 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
7738
629f62ef
AS
77392011-10-17 Andreas Schwab <schwab@redhat.com>
7740
49a43d80
AS
7741 * misc/sys/cdefs.h: Fix last change.
7742
629f62ef
AS
7743 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
7744 database lookup.
7745
e453f6cd
UD
77462011-10-16 Ulrich Drepper <drepper@gmail.com>
7747
aa78043a
UD
7748 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
7749
ad0f5cad
UD
7750 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
7751 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7752 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7753 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7754 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7755 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7756 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7757 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7758 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7759 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
7760 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
7761 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
7762 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
7763 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
7764 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
7765 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
7766 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
7767 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
7768 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
7769 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
7770 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
7771 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
7772
7773 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
7774 ceil, ceilf, floor, floorf.
7775
7776 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
7777 Perform IRELATIVE relocations last.
7778
e453f6cd
UD
7779 * elf/do-rel.h: Add another parameter nrelative, replacing the
7780 local variable with the same name. Change name of the function
7781 to end in Rel or Rela (uppercase).
7782 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
7783 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
7784 elf_dynamic_do_##reloc function.
7785
fd5bdc09
UD
77862011-10-15 Ulrich Drepper <drepper@gmail.com>
7787
79b195b5
UD
7788 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
7789 is sufficient, at least on modern CPUs.
7790
d4a28569
UD
7791 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
7792
b61099b5
UD
7793 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
7794 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
7795
bcf01e6d
UD
7796 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
7797 __expl_finite.
7798 * math/bits/math-finite.h: Add entries for exp.
7799 * math/e_expl.c: Add __*_finite alias.
7800 * sysdeps/i386/fpu/e_exp.S: Likewise.
7801 * sysdeps/i386/fpu/e_expf.S: Likewise.
7802 * sysdeps/i386/fpu/e_expl.c: Likewise.
7803 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7804 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7805 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7806 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7807 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
7808 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7809 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7810
ba1a0d59
UD
7811 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
7812 is sufficient, at least on modern CPUs.
7813
fd5bdc09
UD
7814 * ctype/ctype-info.c (__ctype_init): Define.
7815 * include/ctype.h (__ctype_init): Declare.
7816 (__ctype_b_loc): The variable is always initialized.
7817 (__ctype_toupper_loc): Likewise.
7818 (__ctype_tolower_loc): Likewise.
7819 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
7820 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
7821
7872cfb0
AS
78222011-10-15 Andreas Schwab <schwab@linux-m68k.org>
7823
b468825a
AS
7824 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
7825
7872cfb0
AS
7826 * configure.in: Also look in $cxxmachine/include for C++ system
7827 headers.
7828
be13f7bf
LD
78292011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7830
7831 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
7832 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
7833 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
7834 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
7835 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
7836 (USE_AS_WMEMCMP): New macro.
7837 Fixing indents.
7838 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
7839 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
7840 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
7841 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
7842 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7843 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
7844 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
7845 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
7846 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
7847 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
7848 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
7849 (USE_AS_WMEMCMP): New macro.
7850 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
7851 * sysdeps/string/test-memcmp.c: Update.
7852 Fix simple_wmemcmp.
7853 Add new tests.
7854 * wcsmbs/wmemcmp.c: Update.
7855 (WMEMCMP): New macro.
7856 Fix overflow bug.
7857
556a2007
AJ
78582011-10-12 Andreas Jaeger <aj@suse.de>
7859
7860 [BZ #13268]
7861 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
7862
538faaa7
UD
78632011-10-15 Ulrich Drepper <drepper@gmail.com>
7864
ab6737ff
UD
7865 * libio/iofwide.c (do_length): Avoid warning.
7866
538faaa7
UD
7867 * ctype/ctype.h (__isctype_f): Add missing __THROW.
7868
396a21b1
UD
78692011-10-14 Ulrich Drepper <drepper@gmail.com>
7870
cdf2901f
UD
7871 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
7872
38ad40ce
UD
7873 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
7874 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
7875 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
7876 * sysdeps/i386/i686/fpu/e_log.S: New file.
7877 * sysdeps/i386/i686/fpu/e_logf.S: New file.
7878 * sysdeps/i386/i686/fpu/e_logl.S: New file.
7879
396a21b1
UD
7880 * ctype/ctype.h: Add support for inlined isXXX functions when
7881 compiling C++ code.
7882
6b1f68c9
AS
78832011-10-14 Andreas Schwab <schwab@redhat.com>
7884
349290c0
AS
7885 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7886
6b1f68c9
AS
7887 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
7888
f2282d42
RM
78892011-10-13 Roland McGrath <roland@hack.frob.com>
7890
7891 [BZ #13291]
7892 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
7893
5298ffa8
AS
78942011-10-13 Andreas Schwab <schwab@redhat.com>
7895
714fad23
AS
7896 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
7897 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
7898 feraiseexcept.
7899
81dcc7fb
AS
7900 * sysdeps/x86_64/memrchr.S: Check for zero size.
7901
5298ffa8
AS
7902 * string/stratcliff.c: Add memrchr tests.
7903
951fbcec
LD
79042011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7905
7906 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7907 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
7908 rawmemchr-sse2 rawmemchr-sse2-bsf.
7909 * sysdeps/i386/i686/multiarch/memchr.S: New file.
7910 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
7911 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
7912 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
7913 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
7914 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
7915 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
7916 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
7917 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
7918 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
7919 * string/memrchr.c (MEMRCHR): New macro.
7920
0ac5ae23
UD
79212011-10-12 Ulrich Drepper <drepper@gmail.com>
7922
7923 Add integration with gcc's -ffinite-math-only and optimize wrapper
7924 functions in libm.
7925 * Versions.def: Define GLIBC_2.15 version for libm.
7926 * math/Makefile (headers): Add bits/math-finite.h.
7927 * math/bits/math-finite.h: New file.
7928 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
7929 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
7930 * math/e_acoshl.c: Add __*_finite alias.
7931 * math/e_acosl.c: Likewise.
7932 * math/e_asinl.c: Likewise.
7933 * math/e_atan2l.c: Likewise.
7934 * math/e_atanhl.c: Likewise.
7935 * math/e_coshl.c: Likewise.
7936 * math/e_exp10.c: Likewise.
7937 * math/e_exp10f.c: Likewise.
7938 * math/e_exp10l.c: Likewise.
7939 * math/e_exp2l.c: Likewise.
7940 * math/e_fmodl.c: Likewise.
7941 * math/e_gammal_r.c: Likewise.
7942 * math/e_hypotl.c: Likewise.
7943 * math/e_j0l.c: Likewise.
7944 * math/e_j1l.c: Likewise.
7945 * math/e_jnl.c: Likewise.
7946 * math/e_lgammal_r.c: Likewise.
7947 * math/e_log10l.c: Likewise.
7948 * math/e_log2l.c: Likewise.
7949 * math/e_logl.c: Likewise.
7950 * math/e_powl.c: Likewise.
7951 * math/e_sinhl.c: Likewise.
7952 * math/e_sqrtl.c: Likewise.
7953 * math/e_scalb.c: Completely rewritten and optimized.
7954 * math/e_scalbf.c: Likewise.
7955 * math/e_scalbl.c: Likewise.
7956 * math/w_acos.c: Likewise.
7957 * math/w_acosf.c: Likewise.
7958 * math/w_acosl.c: Likewise.
7959 * math/w_acosh.c: Likewise.
7960 * math/w_acoshf.c: Likewise.
7961 * math/w_acoshl.c: Likewise.
7962 * math/w_asin.c: Likewise.
7963 * math/w_asinf.c: Likewise.
7964 * math/w_asinl.c: Likewise.
7965 * math/w_atan2.c: Likewise.
7966 * math/w_atan2f.c: Likewise.
7967 * math/w_atan2l.c: Likewise.
7968 * math/w_atanh.c: Likewise.
7969 * math/w_atanhf.c: Likewise.
7970 * math/w_atanhl.c: Likewise.
7971 * math/w_exp10.c: Likewise.
7972 * math/w_exp10f.c: Likewise.
7973 * math/w_exp10l.c: Likewise.
7974 * math/w_fmod.c: Likewise.
7975 * math/w_fmodf.c: Likewise.
7976 * math/w_fmodl.c: Likewise.
7977 * math/w_j0.c: Likewise.
7978 * math/w_j0f.c: Likewise.
7979 * math/w_j0l.c: Likewise.
7980 * math/w_j1.c: Likewise.
7981 * math/w_j1f.c: Likewise.
7982 * math/w_j1l.c: Likewise.
7983 * math/w_jn.c: Likewise.
7984 * math/w_jnf.c: Likewise.
7985 * math/w_log.c: Likewise.
7986 * math/w_logf.c: Likewise.
7987 * math/w_logl.c: Likewise.
7988 * math/w_log10.c: Likewise.
7989 * math/w_log10f.c: Likewise.
7990 * math/w_log10l.c: Likewise.
7991 * math/w_log2.c: Likewise.
7992 * math/w_log2f.c: Likewise.
7993 * math/w_log2l.c: Likewise.
7994 * math/w_pow.c: Likewise.
7995 * math/w_powf.c: Likewise.
7996 * math/w_powl.c: Likewise.
7997 * math/w_remainder.c: Likewise.
7998 * math/w_remainderf.c: Likewise.
7999 * math/w_remainderl.c: Likewise.
8000 * math/w_scalb.c: Likewise.
8001 * math/w_scalbf.c: Likewise.
8002 * math/w_scalbl.c: Likewise.
8003 * math/w_sqrt.c: Likewise.
8004 * math/w_sqrtf.c: Likewise.
8005 * math/w_sqrtl.c: Likewise.
8006 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8007 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8008 used.
8009 * math/math_private.h: Declare __kernel_standard_f.
8010 * math/w_cosh.c: Remove cruft and optimize a bit.
8011 * math/w_coshf.c: Likewise.
8012 * math/w_coshl.c: Likewise.
8013 * math/w_exp2.c: Likewise.
8014 * math/w_exp2f.c: Likewise.
8015 * math/w_exp2l.c: Likewise.
8016 * math/w_hypot.c: Likewise.
8017 * math/w_hypotf.c: Likewise.
8018 * math/w_hypotl.c: Likewise.
8019 * math/w_lgamma.c: Likewise.
8020 * math/w_lgamma_r.c: Likewise.
8021 * math/w_lgammaf.c: Likewise.
8022 * math/w_lgammaf_r.c: Likewise.
8023 * math/w_lgammal.c: Likewise.
8024 * math/w_lgammal_r.c: Likewise.
8025 * math/w_sinh.c: Likewise.
8026 * math/w_sinhf.c: Likewise.
8027 * math/w_sinhl.c: Likewise.
8028 * math/w_tgamma.c: Likewise.
8029 * math/w_tgammaf.c: Likewise.
8030 * math/w_tgammal.c: Likewise.
8031 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8032 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8033 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8034 Minor optimizations. Pretty printing. Remove cruft.
8035 * sysdeps/i386/fpu/e_acosf.S: Likewise.
8036 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8037 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8038 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8039 * sysdeps/i386/fpu/e_acosl.c: Likewise.
8040 * sysdeps/i386/fpu/e_asin.S: Likewise.
8041 * sysdeps/i386/fpu/e_asinf.S: Likewise.
8042 * sysdeps/i386/fpu/e_atan2.S: Likewise.
8043 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8044 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8045 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8046 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8047 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8048 * sysdeps/i386/fpu/e_exp10.S: Likewise.
8049 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8050 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8051 * sysdeps/i386/fpu/e_exp2.S: Likewise.
8052 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8053 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8054 * sysdeps/i386/fpu/e_fmod.S: Likewise.
8055 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8056 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8057 * sysdeps/i386/fpu/e_hypot.S: Likewise.
8058 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8059 * sysdeps/i386/fpu/e_log.S: Likewise.
8060 * sysdeps/i386/fpu/e_log10.S: Likewise.
8061 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8062 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8063 * sysdeps/i386/fpu/e_log2.S: Likewise.
8064 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8065 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8066 * sysdeps/i386/fpu/e_logf.S: Likewise.
8067 * sysdeps/i386/fpu/e_logl.S: Likewise.
8068 * sysdeps/i386/fpu/e_pow.S: Likewise.
8069 * sysdeps/i386/fpu/e_powf.S: Likewise.
8070 * sysdeps/i386/fpu/e_powl.S: Likewise.
8071 * sysdeps/i386/fpu/e_remainder.S: Likewise.
8072 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8073 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8074 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8075 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8076 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8077 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8078 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8079 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8080 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8081 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8082 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8083 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8084 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8085 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8086 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8087 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8088 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8089 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8090 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8091 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8092 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8093 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8094 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8095 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8096 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8097 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8098 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8099 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8100 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8101 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8102 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8103 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8104 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8105 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8106 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8107 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8108 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8109 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8110 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8111 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8112 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8113 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8114 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8115 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8116 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8117 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8118 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8119 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8120 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8121 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8122 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8123 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8124 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8125 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8126 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8127 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8128 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8129 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8130 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8131 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8132 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8133 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8134 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8135 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8136 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8137 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8138 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8139 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8140 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8141 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8142 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8143 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8144 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8145 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8146 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8147 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8148 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8149 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8150 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8151 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8152 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8153 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8154 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8155 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8156 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8157 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8158 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8159 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8160 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8161 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8162 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8163 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8164 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8165 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8166 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8167 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8168 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8169 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8170 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8171 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8172 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8173 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8174 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8175 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8176 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8177 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8178 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8179 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8180 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8181 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8182 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8183 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8184 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8185 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8186 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8187 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8188 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8189 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8190 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8191 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8192 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8193 (__isnanf): Likewise.
8194 (__isinf_ns): Likewise.
8195 (__isinf_nsf): Likewise.
8196 (__finite): Likewise.
8197 (__finitef): Likewise.
8198 (__ieee754_sqrt): Define as macro.
8199 (__ieee754_sqrtf): Define as macro.
8200 (__ieee754_sqrtl): Define as macro.
8201 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8202 inlined copy.
8203 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8204 __FINITE_MATH_ONLY__ consistent.
8205 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8206
12cc2fcd
AS
82072011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8208
a843a204
AS
8209 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8210 of rawmemchr.
8211
12cc2fcd
AS
8212 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8213
c853acd5
UD
82142011-10-09 Ulrich Drepper <drepper@gmail.com>
8215
8216 * po/ja.po: Update from translation team.
8217
c658d255
RM
82182011-10-08 Roland McGrath <roland@hack.frob.com>
8219
110946e4
RM
8220 * locale/programs/locarchive.c (prepare_address_space): New function.
8221 (create_archive, enlarge_archive, open_archive): Use it.
8222
50604220
RM
8223 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8224 inside [SHARED], where it is used.
8225
c658d255
RM
8226 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8227
8228 * nss/getent.c (netgroup_keys): Remove unused variable.
8229 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8230
6a621eb7
UD
82312011-10-08 Ulrich Drepper <drepper@gmail.com>
8232
7edb55ce
UD
8233 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8234 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8235 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8236 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8237 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8238 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8239 * math/Makefile (libm-calls): Add s_isinf_ns.
8240 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8241 * math/multc3.c: Likewise.
8242 * math/s_casin.c: Likewise.
8243 * math/s_casinf.c: Likewise.
8244 * math/s_casinl.c: Likewise.
8245 * math/s_ccos.c: Likewise.
8246 * math/s_ccosf.c: Likewise.
8247 * math/s_ccosl.c: Likewise.
8248 * math/s_ctan.c: Likewise.
8249 * math/s_ctanf.c: Likewise.
8250 * math/s_ctanh.c: Likewise.
8251 * math/s_ctanhf.c: Likewise.
8252 * math/s_ctanhl.c: Likewise.
8253 * math/s_ctanl.c: Likewise.
8254 * math/w_fmod.c: Likewise.
8255 * math/w_fmodf.c: Likewise.
8256 * math/w_fmodl.c: Likewise.
8257 * math/w_remainder.c: Likewise.
8258 * math/w_remainderf.c: Likewise.
8259 * math/w_remainderl.c: Likewise.
8260 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8261 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8262 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8263 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8264 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8265 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8266 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8267 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8268
187da0ae
UD
8269 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8270 of the number.
8271 * stdio-common/printf_fphex.c: Likewise.
8272 * stdio-common/printf_size.c: Likewise.
8273
9277c064
UD
8274 * math/e_exp10.c: Include math_private.h using <...> not "...".
8275 * math/e_exp10f.c: Likewise.
8276 * math/e_exp10l.c: Likewise.
8277 * math/e_exp2l.c: Likewise.
8278 * math/e_j0l.c: Likewise.
8279 * math/e_j1l.c: Likewise.
8280 * math/e_jnl.c: Likewise.
8281 * math/e_lgammal_r.c: Likewise.
8282 * math/e_rem_pio2l.c: Likewise.
8283 * math/e_scalb.c: Likewise.
8284 * math/e_scalbf.c: Likewise.
8285 * math/e_scalbl.c: Likewise.
8286 * math/k_cosl.c: Likewise.
8287 * math/k_sinl.c: Likewise.
8288 * math/k_tanl.c: Likewise.
8289 * math/s_cacoshf.c: Likewise.
8290 * math/s_catan.c: Likewise.
8291 * math/s_catanf.c: Likewise.
8292 * math/s_catanh.c: Likewise.
8293 * math/s_catanhf.c: Likewise.
8294 * math/s_catanhl.c: Likewise.
8295 * math/s_catanl.c: Likewise.
8296 * math/s_ccosh.c: Likewise.
8297 * math/s_ccoshf.c: Likewise.
8298 * math/s_ccoshl.c: Likewise.
8299 * math/s_cexp.c: Likewise.
8300 * math/s_cexpf.c: Likewise.
8301 * math/s_cexpl.c: Likewise.
8302 * math/s_clog.c: Likewise.
8303 * math/s_clog10.c: Likewise.
8304 * math/s_clog10f.c: Likewise.
8305 * math/s_clog10l.c: Likewise.
8306 * math/s_clogf.c: Likewise.
8307 * math/s_clogl.c: Likewise.
8308 * math/s_csin.c: Likewise.
8309 * math/s_csinf.c: Likewise.
8310 * math/s_csinh.c: Likewise.
8311 * math/s_csinhf.c: Likewise.
8312 * math/s_csinhl.c: Likewise.
8313 * math/s_csinl.c: Likewise.
8314 * math/s_csqrt.c: Likewise.
8315 * math/s_csqrtf.c: Likewise.
8316 * math/s_csqrtl.c: Likewise.
8317 * math/s_ctan.c: Likewise.
8318 * math/s_ctanf.c: Likewise.
8319 * math/s_ctanh.c: Likewise.
8320 * math/s_ctanhf.c: Likewise.
8321 * math/s_ctanhl.c: Likewise.
8322 * math/s_ctanl.c: Likewise.
8323 * math/s_ldexp.c: Likewise.
8324 * math/s_ldexpf.c: Likewise.
8325 * math/s_ldexpl.c: Likewise.
8326 * math/s_significand.c: Likewise.
8327 * math/s_significandf.c: Likewise.
8328 * math/s_significandl.c: Likewise.
8329 * math/w_acos.c: Likewise.
8330 * math/w_acosf.c: Likewise.
8331 * math/w_acosh.c: Likewise.
8332 * math/w_acoshf.c: Likewise.
8333 * math/w_acoshl.c: Likewise.
8334 * math/w_acosl.c: Likewise.
8335 * math/w_asin.c: Likewise.
8336 * math/w_asinf.c: Likewise.
8337 * math/w_asinl.c: Likewise.
8338 * math/w_atan2.c: Likewise.
8339 * math/w_atan2f.c: Likewise.
8340 * math/w_atan2l.c: Likewise.
8341 * math/w_atanh.c: Likewise.
8342 * math/w_atanhf.c: Likewise.
8343 * math/w_atanhl.c: Likewise.
8344 * math/w_cosh.c: Likewise.
8345 * math/w_coshf.c: Likewise.
8346 * math/w_coshl.c: Likewise.
8347 * math/w_dremf.c: Likewise.
8348 * math/w_exp10.c: Likewise.
8349 * math/w_exp10f.c: Likewise.
8350 * math/w_exp10l.c: Likewise.
8351 * math/w_exp2.c: Likewise.
8352 * math/w_exp2f.c: Likewise.
8353 * math/w_fmod.c: Likewise.
8354 * math/w_fmodf.c: Likewise.
8355 * math/w_fmodl.c: Likewise.
8356 * math/w_hypot.c: Likewise.
8357 * math/w_hypotf.c: Likewise.
8358 * math/w_hypotl.c: Likewise.
8359 * math/w_j0.c: Likewise.
8360 * math/w_j0f.c: Likewise.
8361 * math/w_j0l.c: Likewise.
8362 * math/w_j1.c: Likewise.
8363 * math/w_j1f.c: Likewise.
8364 * math/w_j1l.c: Likewise.
8365 * math/w_jn.c: Likewise.
8366 * math/w_jnf.c: Likewise.
8367 * math/w_jnl.c: Likewise.
8368 * math/w_lgamma.c: Likewise.
8369 * math/w_lgamma_r.c: Likewise.
8370 * math/w_lgammaf.c: Likewise.
8371 * math/w_lgammaf_r.c: Likewise.
8372 * math/w_lgammal.c: Likewise.
8373 * math/w_lgammal_r.c: Likewise.
8374 * math/w_log.c: Likewise.
8375 * math/w_log10.c: Likewise.
8376 * math/w_log10f.c: Likewise.
8377 * math/w_log10l.c: Likewise.
8378 * math/w_log2.c: Likewise.
8379 * math/w_log2f.c: Likewise.
8380 * math/w_log2l.c: Likewise.
8381 * math/w_logf.c: Likewise.
8382 * math/w_logl.c: Likewise.
8383 * math/w_pow.c: Likewise.
8384 * math/w_powf.c: Likewise.
8385 * math/w_powl.c: Likewise.
8386 * math/w_remainder.c: Likewise.
8387 * math/w_remainderf.c: Likewise.
8388 * math/w_remainderl.c: Likewise.
8389 * math/w_scalb.c: Likewise.
8390 * math/w_scalbf.c: Likewise.
8391 * math/w_scalbl.c: Likewise.
8392 * math/w_sinh.c: Likewise.
8393 * math/w_sinhf.c: Likewise.
8394 * math/w_sinhl.c: Likewise.
8395 * math/w_sqrt.c: Likewise.
8396 * math/w_sqrtf.c: Likewise.
8397 * math/w_sqrtl.c: Likewise.
8398 * math/w_tgamma.c: Likewise.
8399 * math/w_tgammaf.c: Likewise.
8400 * math/w_tgammal.c: Likewise.
8401
6a621eb7
UD
8402 * po/ja.po: Update from translation team.
8403
bf582445
AJ
84042011-09-29 Andreas Jaeger <aj@suse.de>
8405
f9efbf3a
AJ
8406 [BZ #13179]
8407 * sunrpc/netname.c (netname2host): Fix logic.
8408
bf582445
AJ
8409 [BZ #6779]
8410 [BZ #6783]
8411 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
8412 correctly.
8413 * math/w_remainder.c (__remainder): Likewise.
8414 * math/w_remainderf.c (__remainderf): Likewise.
8415 * math/libm-test.inc (remainder_test): Add test cases.
8416
48693bea
AK
84172011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8418
8419 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
8420 sdiv_qrnnd.
8421
42622229
LD
84222011-10-07 Ulrich Drepper <drepper@gmail.com>
8423
8424 * string/test-memcmp.c: Avoid unncessary #defines.
8425 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8426
093ecf92
LD
84272011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8428
8429 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
8430 Use new sse2 version for core i3 - i7 as it's faster
8431 than sse42 version.
8432 (bit_Prefer_PMINUB_for_stringop): New.
8433 * sysdeps/x86_64/rawmemchr.S: Update.
8434 Replace with faster SSE2 version.
8435 * sysdeps/x86_64/memrchr.S: New file.
8436 * sysdeps/x86_64/memchr.S: Update.
8437 Replace with faster SSE2 version.
8438
fde56e5c
MP
84392011-09-12 Marek Polacek <mpolacek@redhat.com>
8440
8441 * elf/dl-load.c (lose): Add cast to avoid warning.
8442
21fd49a9
UD
84432011-10-07 Ulrich Drepper <drepper@gmail.com>
8444
5a06e643
UD
8445 * po/ca.po: Update from translation team.
8446
684ae515
UD
8447 * inet/getnetgrent_r.c: Hook up nscd.
8448 * nscd/Makefile (routines): Add nscd_netgroup.
8449 (nscd-modules): Add netgroupcache.
8450 (CFLAGS-netgroupcache.c): Define.
8451 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
8452 (cache_search): Add const to second parameter.
8453 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
8454 INNETGR.
8455 (dbs): Add netgrdb entry.
8456 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
8457 (verify_persistent_db): Handle netgrdb.
8458 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
8459 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
8460 GETFDNETGR.
8461 (netgroup_response_header): Define.
8462 (innetgroup_response_header): Define.
8463 (datahead): Add netgroup_response_header and innetgroup_response_header
8464 elements.
8465 * nscd/nscd.conf: Add entries for netgroup cache.
8466 * nscd/nscd.h (dbtype): Add netgrdb.
8467 (_PATH_NSCD_NETGROUP_DB): Define.
8468 (netgroup_iov_disabled): Declare.
8469 (xmalloc, xcalloc, xrealloc): Move declarations here.
8470 (cache_search): Adjust prototype.
8471 Add netgroup-related prototypes.
8472 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
8473 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
8474 (__nscd_innetgr): Declare.
8475 * nscd/selinux.c (perms): Use access_vector_t as element type and
8476 add netgroup-related initializers.
8477 * nscd/netgroupcache.c: New file.
8478 * nscd/nscd_netgroup.c: New file.
8479 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
8480 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
8481 For four parameters use innetgr.
8482 * nss/nss_files/files-init.c: Add definition and callback for netgr.
8483 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
8484 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
8485 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
8486
21fd49a9
UD
8487 * nscd/connections.c (register_traced_file): Don't register file
8488 for disabled databases.
8489
054c0457
UD
84902011-10-06 Ulrich Drepper <drepper@gmail.com>
8491
32b63198
UD
8492 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
8493
054c0457
UD
8494 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
8495 from tree and freeing node.
8496
64031225
JO
84972011-09-25 Jiri Olsa <jolsa@redhat.com>
8498
8499 * nss/nsswitch.c (__nss_database_lookup): Handle
8500 nss_parse_service_list out of memory case.
8501
0490345c
JO
85022011-09-15 Jiri Olsa <jolsa@redhat.com>
8503
8504 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
8505 out of memory case.
8506
3a62d00d
AS
85072011-10-04 Andreas Schwab <schwab@redhat.com>
8508
8509 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
8510 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
8511 pass it down.
8512 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
8513 elf_machine_rela, elf_machine_lazy_rel.
8514 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
8515 (ELF_DYNAMIC_DO_REL): Likewise.
8516 (ELF_DYNAMIC_DO_RELA): Likewise.
8517 (ELF_DYNAMIC_RELOCATE): Likewise.
8518 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
8519 to ELF_DYNAMIC_DO_REL.
8520 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
8521 (dl_main): In trace mode always set __RTLD_NOIFUNC.
8522 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
8523 elf_machine_rela.
8524 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
8525 skip_ifunc, don't call ifunc function if non-zero.
8526 (elf_machine_rela): Likewise.
8527 (elf_machine_lazy_rel): Likewise.
8528 (elf_machine_lazy_rela): Likewise.
8529 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
8530 (elf_machine_lazy_rel): Likewise.
8531 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
8532 Likewise.
8533 (elf_machine_lazy_rel): Likewise.
8534 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8535 Likewise.
8536 (elf_machine_lazy_rel): Likewise.
8537 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
8538 (elf_machine_lazy_rel): Likewise.
8539 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
8540 (elf_machine_lazy_rel): Likewise.
8541 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8542 (elf_machine_lazy_rel): Likewise.
8543 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8544 (elf_machine_lazy_rel): Likewise.
8545 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8546 (elf_machine_lazy_rel): Likewise.
8547 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8548 (elf_machine_lazy_rel): Likewise.
8549
68577918
UD
85502011-09-28 Ulrich Drepper <drepper@gmail.com>
8551
8552 * nss/nss_files/files-init.c (_nss_files_init): Use static
8553 initialization for all the *_traced_file variables.
8554
68822d74
AS
85552011-09-28 Andreas Schwab <schwab@redhat.com>
8556
8557 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8558
2056100b
RM
85592011-09-27 Roland McGrath <roland@hack.frob.com>
8560
8561 [BZ #13226]
8562 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
8563
32c76b63
AS
85642011-09-27 Andreas Schwab <schwab@redhat.com>
8565
8566 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8567 Reread the line before reparsing it.
8568
bf972c9d
AS
85692011-09-26 Andreas Schwab <schwab@redhat.com>
8570
8571 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
8572
e057a1b5
JM
85732011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
8574 Maxim Kuvyrkov <maxim@codesourcery.com>
8575 Joseph Myers <joseph@codesourcery.com>
8576
8577 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
8578 if needed for __stack_chk_guard.
8579
bc7e1c36
RM
85802011-09-19 Roland McGrath <roland@hack.frob.com>
8581
ecb1482f
RM
8582 * sysdeps/posix/spawni.c (script_execute): Always define it.
8583 It will be optimized away if unused.
8584 (maybe_script_execute): New function.
8585 (__spawni): Call it.
8586
bc7e1c36
RM
8587 * Makerules: Don't include tls.make.
8588 (config-tls): Always set to thread.
8589 * tls.make.c: File removed.
8590
1c3b002b
MF
85912011-09-19 Mike Frysinger <vapier@gentoo.org>
8592
8593 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
8594 * config.make.in (CPPFLAGS-config): New substituted variable.
8595
2840865d
UD
85962011-09-15 Ulrich Drepper <drepper@gmail.com>
8597
88738eb6
UD
8598 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
8599
cbf645a6 8600 [BZ #13192]
2840865d
UD
8601 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
8602 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
8603
b402e91a
RM
86042011-09-15 Roland McGrath <roland@hack.frob.com>
8605
8606 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
8607 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
8608 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8609 (CALL_FAIL): Likewise.
8610 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
8611 (CALL_FAIL): Macro removed.
8612 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
8613
4c1a1f71
UD
86142011-09-15 Ulrich Drepper <drepper@gmail.com>
8615
8616 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
8617 for __FINITE_MATH_ONLY__ == 1.
8618
edc121be
AS
86192011-09-15 Andreas Schwab <schwab@redhat.com>
8620
8621 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
8622 __ieee754_sqrt instead of sqrt.
8623 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
8624 __ieee754_sqrtf instead of sqrtf.
8625 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
8626 __floorf instead of floorf.
8627 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
8628 __floorf, __truncf instead of floorf, truncf.
8629
cd205654
UD
86302011-09-14 Ulrich Drepper <drepper@gmail.com>
8631
ee4d0315
UD
8632 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
8633
cd205654
UD
8634 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
8635 __extern_always_inline.
8636 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
8637 32-bit.
8638
48b67d71
AS
86392011-09-14 Andreas Schwab <schwab@redhat.com>
8640
8641 * elf/rtld.c (dl_main): Also relocate in dependency order when
8642 doing symbol dependency testing.
8643
1ae12c75
AS
86442011-09-13 Andreas Schwab <schwab@linux-m68k.org>
8645
8646 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8647 Always define `refsym'.
8648
995a80df
AS
86492011-09-13 Andreas Schwab <schwab@redhat.com>
8650
e529793b
AS
8651 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
8652 (__FD_ELT): Renamed from __FDELT.
8653 * misc/bits/select2.h (__FD_ELT): Likewise.
8654 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
8655 __FD_MASK instead of __FDELT, __FDMASK.
8656 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8657 Likewise.
8658 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8659 Likewise.
8660
52d4fef8
AS
8661 * elf/Makefile (gen-ldd): Fix pattern.
8662
995a80df
AS
8663 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
8664 (init_tls): Likewise.
8665
8682f8b0
UD
86662011-09-12 Ulrich Drepper <drepper@gmail.com>
8667
8668 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
8669
de82006d
AS
86702011-09-12 Andreas Schwab <schwab@redhat.com>
8671
a7c8e6a1
AS
8672 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
8673 `struct cmsghdr *' instead of `void *'.
8674 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
8675 Likewise.
8676
0f31fe77
AS
86772011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8678
8679 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
8680 if non-absolute.
8681 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
8682 ldd_rewrite_script.
0f31fe77 8683
32b4c839
UD
86842011-09-11 Ulrich Drepper <drepper@gmail.com>
8685
83cd1420
UD
8686 * configure.in: Remove --with-tls option.
8687 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
8688 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
8689 out in case it is missing.
8690 * sysdeps/ia64/elf/configure.in: Likewise.
8691 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
8692 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
8693 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
8694 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
8695 * sysdeps/sh/elf/configure.in: Likewise.
8696 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
8697 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8698 * sysdeps/x86_64/elf/configure.in: Likewise.
8699 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
8700 * sysdeps/mach/hurd/tls.h: Likewise.
8701
633f745d
UD
8702 [BZ #13067]
8703 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
8704
f318beb8
UD
8705 [BZ #13090]
8706 * configure.in: Fix use of AC_INIT.
8707
32b4c839
UD
8708 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
8709
3ce1f295
UD
87102011-09-10 Ulrich Drepper <drepper@gmail.com>
8711
bb016596
UD
8712 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
8713 __set_errno.
8e58439c
UD
8714 * malloc/hooks.c: Likewise.
8715
aebae053 8716 [BZ #11929]
02d46fc4
UD
8717 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
8718 variables statically.
8719 (narenas): Initialize.
8720 (list_lock): Initialize.
bb016596
UD
8721 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
8722 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
8723 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
8724 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
8725 Add initializers to main_arena and mp_.
8726 (malloc_state): Remove pagesize member. Change all users to use
8727 GLRO(dl_pagesize).
8728
8729 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
8730 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
8731 is always initialized.
8732
22a89187
UD
8733 * malloc/malloc.c: Removed unused configurations and dead code.
8734 * malloc/arena.c: Likewise.
8735 * malloc/hooks.c: Likewise.
02d46fc4 8736 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 8737
d063d164
UD
8738 * include/tls.h: Removed. USE___THREAD must always be defined.
8739 * bits/libc-tsd.h: Don't handle !USE___THREAD.
8740 * elf/dl-libc.c: Likewise.
8741 * elf/dl-tsd.c: Likewise.
8742 * include/errno.h: Likewise.
8743 * include/netdb.h: Likewise.
8744 * include/resolv.h: Likewise.
8745 * inet/herrno-loc.c: Likewise.
8746 * inet/herrno.c: Likewise.
8747 * malloc/arena.c: Likewise.
8748 * malloc/hooks.c: Likewise.
8749 * malloc/malloc.c: Likewise.
8750 * resolv/res-state.c: Likewise.
8751 * resolv/res_libc.c: Likewise.
8752 * sysdeps/i386/dl-machine.h: Likewise.
8753 * sysdeps/ia64/dl-machine.h: Likewise.
8754 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8755 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8756 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8757 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8758 * sysdeps/sh/dl-machine.h: Likewise.
8759 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8760 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8761 * sysdeps/unix/i386/sysdep.S: Likewise.
8762 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8763 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8764 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8765 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8766 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8767 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8768 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8769 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8770 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8771 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8772 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8773 * sysdeps/x86_64/dl-machine.h: Likewise.
8774 * tls.make.c: Likewise.
8775
3ce1f295
UD
8776 * configure.in: Remove --with-__thread option. Make tests for
8777 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
8778 tls_model attribute fail if no support is available. Remove
8779 USE_IN_LIBIO.
8780 * Makeconfig: Adjust for dropped configure option. All features are
8781 now mandatory.
8782 * Makerules: Likewise.
8783 * Versions.def: Likewise.
8784 * argp/argp-fmtstream.c: Likewise.
8785 * argp/argp-fmtstream.h: Likewise.
8786 * argp/argp-help.c: Likewise.
8787 * assert/assert.c: Likewise.
8788 * config.h.in: Likewise.
8789 * config.make.in: Likewise.
8790 * configure: Likewise.
8791 * configure.in: Likewise.
8792 * csu/Versions: Likewise.
8793 * csu/init.c: Likewise.
8794 * elf/tst-audit2.c: Likewise.
8795 * elf/tst-tls10.c: Likewise.
8796 * elf/tst-tls10.h: Likewise.
8797 * elf/tst-tls11.c: Likewise.
8798 * elf/tst-tls12.c: Likewise.
8799 * elf/tst-tls14.c: Likewise.
8800 * elf/tst-tlsmod11.c: Likewise.
8801 * elf/tst-tlsmod12.c: Likewise.
8802 * elf/tst-tlsmod13.c: Likewise.
8803 * elf/tst-tlsmod13a.c: Likewise.
8804 * elf/tst-tlsmod14a.c: Likewise.
8805 * elf/tst-tlsmod15b.c: Likewise.
8806 * elf/tst-tlsmod16a.c: Likewise.
8807 * elf/tst-tlsmod16b.c: Likewise.
8808 * elf/tst-tlsmod7.c: Likewise.
8809 * elf/tst-tlsmod8.c: Likewise.
8810 * elf/tst-tlsmod9.c: Likewise.
8811 * gmon/gmon.c: Likewise.
8812 * grp/fgetgrent_r.c: Likewise.
8813 * grp/putgrent.c: Likewise.
8814 * hurd/fopenport.c: Likewise.
8815 * include/libc-symbols.h: Likewise.
8816 * include/tls.h: Likewise.
8817 * intl/gettextP.h: Likewise.
8818 * intl/loadinfo.h: Likewise.
8819 * locale/global-locale.c: Likewise.
8820 * locale/localeinfo.h: Likewise.
8821 * mach/devstream.c: Likewise.
8822 * malloc/arena.c: Likewise.
8823 * malloc/set-freeres.c: Likewise.
8824 * misc/err.c: Likewise.
8825 * misc/getttyent.c: Likewise.
8826 * misc/mntent_r.c: Likewise.
8827 * posix/getopt.c: Likewise.
8828 * posix/wordexp.c: Likewise.
8829 * pwd/fgetpwent_r.c: Likewise.
8830 * resolv/Versions: Likewise.
8831 * resolv/res_hconf.c: Likewise.
8832 * shadow/fgetspent_r.c: Likewise.
8833 * shadow/putspent.c: Likewise.
8834 * stdio-common/printf_fphex.c: Likewise.
8835 * stdio-common/tmpfile.c: Likewise.
8836 * stdlib/abort.c: Likewise.
8837 * stdlib/fmtmsg.c: Likewise.
8838 * sunrpc/auth_unix.c: Likewise.
8839 * sunrpc/clnt_perr.c: Likewise.
8840 * sunrpc/clnt_tcp.c: Likewise.
8841 * sunrpc/clnt_udp.c: Likewise.
8842 * sunrpc/clnt_unix.c: Likewise.
8843 * sunrpc/openchild.c: Likewise.
8844 * sunrpc/svc_simple.c: Likewise.
8845 * sunrpc/svc_tcp.c: Likewise.
8846 * sunrpc/svc_udp.c: Likewise.
8847 * sunrpc/svc_unix.c: Likewise.
8848 * sunrpc/xdr.c: Likewise.
8849 * sunrpc/xdr_array.c: Likewise.
8850 * sunrpc/xdr_rec.c: Likewise.
8851 * sunrpc/xdr_ref.c: Likewise.
8852 * sunrpc/xdr_stdio.c: Likewise.
8853
1248c1c4
PB
88542011-09-09 Ulrich Drepper <drepper@gmail.com>
8855
8856 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8857
88582011-07-03 Andreas Jaeger <aj@suse.de>
8859
8860 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
8861 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
8862 regenerate with gen-libm-tests.pl.
8863
88642010-05-12 Petr Baudis <pasky@suse.cz>
8865
8866 [BZ #11589]
8867 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
8868 around j0() zero points by switching to j1().
8869 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8870 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8871 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8872 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8873
f22e1074
UD
88742011-09-09 Ulrich Drepper <drepper@gmail.com>
8875
f19009c1
UD
8876 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
8877 instead of 0.
8878 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
8879 instead of 0. .
8880 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8881 Patch in part by Pavel Roskin <proski@gnu.org>.
8882
3f8cc204
UD
8883 [BZ #13138]
8884 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
8885 realloc.
8886 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
8887 Free memory block if necessary.
8888
f22e1074
UD
8889 [BZ #12847]
8890 * libio/genops.c (INTDEF): For string streams the _lock pointer can
8891 be NULL. Don't lock in this case.
8892
0a2349f9
RM
88932011-09-09 Roland McGrath <roland@hack.frob.com>
8894
8895 * elf/elf.h (ELFOSABI_GNU): New macro.
8896 (ELFOSABI_LINUX): Define to that.
8897
f3cdd467
DZ
88982011-07-29 Denis Zaitceff <zaitceff@gmail.com>
8899
8900 * string/strncat.c (strncat): Undef the symbol in case it has been
8901 defined in bits/string.h.
8902
74718d13
UD
89032011-09-09 Ulrich Drepper <drepper@gmail.com>
8904
633e9e0f
UD
8905 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
8906
0a2349f9 8907 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
8908 link map.
8909
f9924780
AJ
89102011-08-17 Andreas Jaeger <aj@suse.de>
8911
8912 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
8913
7f5517aa
PP
89142011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8915 Ian Lance Taylor <iant@google.com>
8916
8917 * math/libm-test.inc (lround_test): New testcase.
8918 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
8919
762011fe
UD
89202011-09-08 Ulrich Drepper <drepper@gmail.com>
8921
92963737
UD
8922 * Makefile: Remove support for automatic cvs check-ins.
8923 * Makerules: Likewise.
8924 * config.make.in: Likewise.
8925 * configure.in: Likewise.
8926 * intl/Makefile: Likewise.
8927 * locale/Makefile: Likewise.
8928 * po/Makefile: Likewise.
8929 * posix/Makefile: Likewise.
8930 * sysdeps/gnu/Makefile: Likewise.
8931 * sysdeps/mach/hurd/Makefile: Likewise.
8932 * sysdeps/sparc/sparc32/Makefile: Likewise.
8933
b0727fd8
JS
8934 [BZ #13118]
8935 * posix/Makefile (bug-regex32-ENV): Define.
8936 Patch by John Stanley <jpsinthemix@verizon.net>.
8937
a0f33f99
UD
8938 * misc/Makefile (headers): Add bits/select2.h.
8939 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
8940 * misc/bits/select2.h: New file.
8941 * include/bits/select2.h: New file.
8942 * debug/Makefile (routines): Add fdelt_chk.
8943 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
8944 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
8945 FD_ISSET.
8946 * debug/fdelt_chk.c: New file.
8947
762011fe
UD
8948 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
8949 * wcsmbs/test-wmemcmp.c: Likewise.
8950 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 8951 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
8952
89532011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8954
8955 * string/Makefile (strop-tests): Add memcmp.
8956 * string/test-wmemcmp.c: New file.
8957 * string/test-memcmp.c: Add wmemcmp support.
8958
7f513ec8
RM
89592011-09-08 Roland McGrath <roland@hack.frob.com>
8960
0442afb4
RM
8961 [BZ #13153]
8962 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
8963 2011-07-19 change.
8964
7f513ec8
RM
8965 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
8966 garbage value in a __mach_port_mod_refs call in the cases of the
8967 task-self and thread-self ports.
8968
a12b2239
ST
89692011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8970
8971 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
8972
610f9ab4
AS
89732011-09-08 Andreas Schwab <schwab@redhat.com>
8974
7f513ec8 8975 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 8976
48882a1a
LD
89772011-09-07 Ulrich Drepper <drepper@gmail.com>
8978
b49865be
UD
8979 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
8980
fdc86bc9
UD
8981 * elf/dl-libc.c (dlerror_run): Pass back error code from
8982 dl_catch_error.
8983
c966526a
UD
8984 [BZ #13123]
8985 * elf/dl-load.c (lose): Free l_origin if it is valid.
8986
48882a1a
LD
8987 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
8988 names.
8989 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8990 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8991 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8992 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8993 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8994 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
8995
77a2a8b4
AZ
89962011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8997
8998 * sysdeps/powerpc/fpu/e_hypot.c: New file.
8999 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9000 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9001 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9002 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9003 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9004 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9005 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9006 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9007 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9008
24f579d8
AM
90092011-08-15 Alan Modra <amodra@gmail.com>
9010
9011 [BZ #13092]
9012 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9013 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9014 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9015 ppc_mcount to static-only-routines.
9016 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9017 __mcount_internal.
9018 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9019 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9020
3d4837df
UD
90212011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9022
9023 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9024 for finite and infinity parameters.
9025
22700377
WS
90262011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9027
9028 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9029 and add nop instructions for throughput optimization.
9030 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9031
5025581e
WS
90322011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
9033
9034 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9035 aligned copy for power7 with vector-scalar instructions.
9036 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9037
08a300c9
L
90382011-07-24 H.J. Lu <hongjiu.lu@intel.com>
9039
9040 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9041 AVX check.
9042
59178ef9
AS
90432011-09-07 Andreas Schwab <schwab@redhat.com>
9044
9045 [BZ #13144]
9046 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9047 last change.
9048
e38ba7ab
UD
90492011-09-07 Ulrich Drepper <drepper@gmail.com>
9050
9051 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9052 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9053 syscall wrapper around clock_gettime in __vdso_clock_gettime.
9054 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9055 clock_gettime.
9056
d53a73ac
UD
90572011-09-06 Ulrich Drepper <drepper@gmail.com>
9058
fc8bffcc
UD
9059 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9060 Forgot to demangle the pointer.
9061
ceaa0c5d
UD
9062 * sysdeps/i386/sysdep.h: Define atom_text_section.
9063 * sysdeps/x86_64/sysdep.h: Likewise.
9064 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9065 section with atom_text_section.
9066 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9067 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9068 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9069 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9070 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9071
a77d3c17
UD
9072 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9073 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9074 already be defined. Change to take two parameters and don't assign
9075 result to variable. Adjust all users.
9076 Define INTERNAL_GETTIME if not already defined.
9077 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9078 call.
9079 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9080 HAVE_CLOCK_GETTIME_VSYSCALL.
9081 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9082
d53a73ac
UD
9083 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9084 gettimeofday vsyscall, just use time.
9085
a8f84144
AS
90862011-09-06 Andreas Schwab <schwab@redhat.com>
9087
9088 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9089 <errno.h>.
9090
ef606249
UD
90912011-09-06 Ulrich Drepper <drepper@gmail.com>
9092
9093 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9094 syscall on x86-64.
9095 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9096 syscall.
9097 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9098 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9099 syscall if possible.
9100
6585cb60
UD
91012011-09-05 Ulrich Drepper <drepper@gmail.com>
9102
9103 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9104 e_ident. Don't pass to find_mapsXX.
9105 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9106
a5f524e4
LD
91072011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9108
9109 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9110 strchr-sse2-no-bsf strrchr-sse2-no-bsf
9111 * sysdeps/x86_64/multiarch/strchr.S: Update.
9112 Check bit_slow_BSF bit.
9113 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9114 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9115 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9116
554881ef
UD
91172011-09-05 Ulrich Drepper <drepper@gmail.com>
9118
d96de963
UD
9119 [BZ #13134]
9120 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9121 before glibc 2.15.
9122 (tryshell): Define.
9123 (__spawni): Change last parameter to be flag. Test
9124 SPAWN_XFLAGS_USE_PATH flag to use path or not.
9125 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9126 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9127 * posix/spawni.c: Likewise.
9128 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9129 * posix/spawnp.c: Likewise. Change normal version to use
9130 SPAWN_XFLAGS_USE_PATH.
9131 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9132 SPAWN_XFLAGS_TRY_SHELL.
9133
d48e5868
UD
9134 [BZ #13150]
9135 * posix/glob.h: Remove gcc 1.x support.
9136
554881ef
UD
9137 [BZ #13068]
9138 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9139
693fb948
LD
91402011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9141
9142 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9143 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9144 strrchr-sse2-bsf
9145 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9146 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9147 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9148 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9149 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9150 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9151
1b48c537
UD
91522011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9153
49d42c37
UD
9154 * sysdeps/x86_64/wcscmp.S: New file.
9155
1b48c537
UD
9156 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9157 wcscmp-c wcscmp-sse2
9158 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9159 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9160 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9161 * wcsmbs/wcscmp.c: Allow renaming.
9162
15c95c5d
DM
91632011-09-05 David S. Miller <davem@davemloft.net>
9164
9165 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9166 stack slot, rather than the struct return pointer slot.
9167 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9168 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9170 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9171
2f0ad8f3
UD
91722011-09-05 Ulrich Drepper <drepper@gmail.com>
9173
d88ae418
UD
9174 * po/ja.po: Update from translation team.
9175
2f0ad8f3
UD
9176 [BZ #13144]
9177 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9178 kernel in 64-bit binaries.
9179
5f4318d1
DM
91802011-09-01 David S. Miller <davem@davemloft.net>
9181
9182 * elf/elf.h (HWCAP_SPARC_*): Move to..
9183 * sysdeps/sparc/sysdep.h: this new file and add new values.
9184 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9185 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9186 _DL_HWCAP_COUNT to 24.
9187 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9188 entries.
9189 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9190 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9191 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9192 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9193 instead of magic constants.
9194 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9195
3ba57516
DM
91962011-08-31 David S. Miller <davem@davemloft.net>
9197
9198 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9199 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9200 Reimplement to do errno handling inline.
9201 (SYSCALL_ERROR_HANDLER): New macro.
9202 (__SYSCALL_STRING): Do not do errno handling in asm.
9203 (__CLONE_SYSCALL_STRING): Delete.
9204 (__INTERNAL_SYSCALL_STRING): Delete.
9205 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9206 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9207 (PSEUDO): Reimplement to do errno handling inline.
9208 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9209 (SYSCALL_ERROR_HANDLER): New macro.
9210 (__SYSCALL_STRING): Do not do errno handling in asm.
9211 (__CLONE_SYSCALL_STRING): Delete.
9212 (__INTERNAL_SYSCALL_STRING): Delete.
9213 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9214 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9215 i386.
9216 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9217 (inline_syscall*): Add 'err' argument.
9218 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9219 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9220 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9221 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9222
9223 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9224 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9225
2bc17433
AS
92262011-08-30 Andreas Schwab <schwab@redhat.com>
9227
9228 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9229
fbeb5f4d
JO
92302011-08-29 Jiri Olsa <jolsa@redhat.com>
9231
9232 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9233 directive.
9234
ad69cc26
DM
92352011-08-24 David S. Miller <davem@davemloft.net>
9236
9237 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9238
39dd69df
AS
92392011-08-24 Andreas Schwab <schwab@redhat.com>
9240
9241 * elf/Makefile: Add rules to build and run unload8 test.
9242 * elf/unload8.c: New file.
9243 * elf/unload8mod1.c: New file.
9244 * elf/unload8mod1x.c: New file.
9245 * elf/unload8mod2.c: New file.
9246 * elf/unload8mod3.c: New file.
9247
9248 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9249 it wasn't used.
9250
2c0b250a
DM
92512011-08-23 David S. Miller <davem@davemloft.net>
9252
9253 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9254 subtract stack bias.
9255 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9256 %sp not %fp in calculations.
9257 (_JMPBUF_UNWINDS_ADJ): Likewise.
9258
22044b48
DM
9259 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9260 (aio_suspend): Call it to force an exception region around the
9261 AIO_MISC_WAIT() invocation.
9262
2cae4995
AS
92632011-08-23 Andreas Schwab <schwab@redhat.com>
9264
9265 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9266 backslash.
9267
873a772e
AJ
92682011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9269
9270 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9271 protection macro.
9272 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9273 and <dl-machine.h>.
9274 (Elf64_FuncDesc): Remove.
9275
25ad0df1
DM
92762011-08-22 David S. Miller <davem@davemloft.net>
9277
9278 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9279 sigaltstack check, add missing cfi directives.
9280 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9281 missing cfi directives, and sigaltstack handling.
9282
e888bcbe
AS
92832011-08-16 Andreas Schwab <schwab@redhat.com>
9284
9285 [BZ #11724]
9286 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9287 object is seen twice.
9288 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9289
9290 * elf/Makefile (distribute): Add tst-initorder2.c.
9291 (tests): Add tst-initorder2.
9292 (modules-names): Add tst-initorder2a tst-initorder2b
9293 tst-initorder2c tst-initorder2d. Add rules to build them.
9294 ($(objpfx)tst-initorder2.out): New rule.
9295 * elf/tst-initorder2.c: New file.
9296 * elf/tst-initorder2.exp: New file.
9297
87162f46
AS
92982011-08-22 Andreas Schwab <schwab@redhat.com>
9299
70538b7f
AS
9300 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9301
f55ffe58
AS
9302 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9303 dependencies back to end of function.
9304
87162f46
AS
9305 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9306 $(elfobjdir)/ld.so.
9307
91b392a4
UD
93082011-08-21 Ulrich Drepper <drepper@gmail.com>
9309
9310 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9311 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9312 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9313 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9314 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9315 of __vdso_gettimeofday.
9316 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9317 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
9318 attribute_hidden.
9319 (_libc_vdso_platform_setup): Remove initialization of
9320 __vdso_gettimeofday and __vdso_time.
9321
5c43483f
UD
93222011-08-20 Ulrich Drepper <drepper@gmail.com>
9323
775a77e7
UD
9324 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9325 and fgetc_unlocked.
9326 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9327 getc_unlocked.
89f447ed 9328
49c74ba9
UD
9329 * elf/dl-open.c (add_to_global): Report additions to the global scope
9330 for LD_DEBUG=scopes.
9331 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 9332 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 9333
5c43483f
UD
9334 [BZ #13114]
9335 * stdio-common/Makefile (tests): Add bug24.
9336 * stdio-common/bug24.c: New file.
9337
a101b025
AJ
93382011-08-19 Andreas Jaeger <aj@suse.de>
9339
9340 [BZ #13114]
9341 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9342 non-existant file when using close-on-exec mode.
9343
c88f1766
UD
93442011-08-20 Ulrich Drepper <drepper@gmail.com>
9345
0276a718
UD
9346 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9347 the very first instruction.
9348
c88f1766
UD
9349 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9350 the CFI state in the end.
9351 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9352 inclusion of dl-trampoline.h.
9353 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9354
51ccffa0
AS
93552011-08-19 Andreas Schwab <schwab@redhat.com>
9356
94d7165f
AS
9357 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9358 expectations for long double.
9359
51ccffa0
AS
9360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9361 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9362
fd708658 93632011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
9364
9365 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9366 artificual limit depends upon the system page size.
9367
44f0a71e
UD
93682011-08-17 Ulrich Drepper <drepper@gmail.com>
9369
9370 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9371 * resolv/Makefile: Define CFLAGS-libresolv.
9372
8de79a24
AS
93732011-08-17 Andreas Schwab <schwab@redhat.com>
9374
9375 * nss/makedb.c (compute_tables): Make variables used in nested
9376 function static.
9377
27724598
UD
93782011-08-17 Ulrich Drepper <drepper@gmail.com>
9379
c5305d88
UD
9380 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9381 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9382 if buffer was too small.
9383
27724598
UD
9384 * elf/pldd.c (main): Attach to all threads in the process.
9385 Rewrite /proc handling to use *at functions.
9386
076fe015
UD
93872011-08-16 Ulrich Drepper <drepper@gmail.com>
9388
174baab3
UD
9389 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9390 specifies first scope to show.
9391 (dl_open_worker): Update callers. Move printing scope of new
9392 object to before the relocation.
44f0a71e 9393 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
9394 * sysdeps/generic/ldsodefs.h: Update declaration.
9395
076fe015
UD
9396 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
9397 string for the scope number.
9398
a60df2c3
UD
93992011-08-14 Ulrich Drepper <drepper@gmail.com>
9400
9401 * nscd/servicescache.c (cache_addserv): Make sure written is always
9402 initialized.
9403
5e4287d1
RM
94042011-08-14 Roland McGrath <roland@hack.frob.com>
9405
85ae0589
RM
9406 * sysdeps/i386/i486/bits/atomic.h
9407 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
9408 statement expression, so as to suppress "set but not used" warning.
9409 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
9410
69f63097
RM
9411 * string/strncat.c (STRNCAT): Use prototype definition.
9412
675456ef
RM
9413 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
9414 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
9415 -Iprograms here.
9416 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
9417 (localedef-modules): Add localedef.
9418 (locale-modules): Add locale.
9419
5e4287d1
RM
9420 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
9421 * elf/rtld.c (dl_main): Invert order of assignment in last change,
9422 to avoid a warning.
9423
9c96ff23
DM
94242011-08-14 David S. Miller <davem@davemloft.net>
9425
9426 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
9427 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
9428
f9ddf089
UD
94292011-08-13 Ulrich Drepper <drepper@gmail.com>
9430
44f0a71e 9431 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
9432 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
9433 * elf/rtld.c (dl_main): Set l_name of vDSO.
9434 Call _dl_show_scope when DL_DEBUG_SCOPES.
9435 (process_dl_debug): Recognize scopes flag and also set it for all.
9436 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
9437 Declare _dl_show_scope.
9438
1dc27704
UD
9439 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
9440 (do_dlopen): Pass caller_dlopen to dl_open.
9441 (__libc_dlopen_mode): Initialize caller_dlopen.
9442
f9ddf089
UD
9443 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
9444 of libc. Make tolower call locale-independent. Optimize a bit by
9445 using isdigit instead of isalnum.
9446 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
9447
9ac533d3
UD
94482011-08-12 Ulrich Drepper <drepper@gmail.com>
9449
9450 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
9451 was a dependency or dynamically loaded.
9452
89edf2e9
UD
94532011-08-11 Ulrich Drepper <drepper@gmail.com>
9454
8e999d29
UD
9455 * intl/l10nflist.c: Allow architecture-specific pop function.
9456 * sysdeps/x86_64/l10nflist.c: New file.
9457
89edf2e9
UD
9458 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
9459 classification.
9460
14d96785
AS
94612011-08-10 Andreas Schwab <schwab@redhat.com>
9462
9463 * include/dirent.h: Add libc_hidden_proto for scandirat and
9464 scandirat64. Don't declare __scandirat64.
9465 * dirent/scandirat.c: Add libc_hidden_def.
9466 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
9467 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
9468
6761ac04
DM
94692011-08-10 David S. Miller <davem@davemloft.net>
9470
9471 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
9472 enum.
9473 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9474 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9475 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9476
c55fbd1e
UD
94772011-08-09 Ulrich Drepper <drepper@gmail.com>
9478
9479 * Versions.def [libc]: Add GLIBC_2.15.
9480 * dirent/Makefile (routines): Add scandirat and scandirat64.
9481 * dirent/Versions [libc]: Export scandirat and scandirat64 for
9482 GLIBC_2.15.
9483 * dirent/dirent.h: Declare scandirat and scandirat64.
9484 * dirent/scandirat.c: New file.
9485 * dirent/scandirat64.c: New file.
9486 * sysdeps/wordsize-64/scandirat.c: New file.
9487 * sysdeps/wordsize-64/scandirat64.c: New file.
9488 * dirent/opendir.c: Define opendirat.
9489 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
9490 using scandirat.
9491 * dirent/scandir64.c: Adjust for scandir.c change.
9492 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
9493 __scandirat64, and __scandir_cancel_handler.
9494 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
9495 additional parameter and use openat instead of open (outside of ld.so).
9496 Add new __opendir as wrapper around __opendirat.
9497 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
9498 here without requiring old scandirat implementation.
9499
879165f2
UD
95002011-08-08 Ulrich Drepper <drepper@gmail.com>
9501
9502 * dirent/scandir.c (cancel_handler): Renamed to
9503 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
9504 defined. Adjust users.
9505 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
9506 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
9507
cb7e923b
UD
95082011-08-04 Ulrich Drepper <drepper@gmail.com>
9509
16292edd
UD
9510 * string/test-string.h (IMPL): Use __STRING to expand name and then
9511 stringify it.
9512
cb7e923b
UD
9513 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
9514 of cleanups.
9515
cff82933
LD
95162011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9517
9518 * string/Makefile: Update.
9519 (strop-tests): Append strncat.
9520 * string/test-wcscmp.c: New file.
9521 New comprehensive test for wcscmp.
9522 * string/test-strcmp.c: Update.
9523 (WIDE): New define.
9524
9be9bfcc
AS
95252011-07-22 Andreas Schwab <schwab@redhat.com>
9526
9527 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
9528 line.
9529
2e96f1c7
AS
95302011-07-26 Andreas Schwab <schwab@redhat.com>
9531
9532 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9533 encoding to ACE if AI_IDN.
9534
85188888
JJ
95352011-08-01 Jakub Jelinek <jakub@redhat.com>
9536
9537 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
9538 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
9539
5fa16e9b
LD
95402011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9541
9542 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
9543 Fix overflow bug in strncat.
9544 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9545
9546 * string/test-strncat.c: Update.
9547 Add new tests for checking overflow bugs.
9548
95492011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9550
9551 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9552 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
9553 * sysdeps/i386/i686/multiarch/strcat.S: New file.
9554 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
9555 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
9556 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
9557 * sysdeps/i386/i686/multiarch/strncat.S: New file.
9558 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
9559 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
9560
9561 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
9562 (USE_AS_STRCAT): Define.
9563 Add strcat and strncat support.
9564 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9565
8c1a459f
AS
95662011-07-25 Andreas Schwab <schwab@redhat.com>
9567
9568 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
9569 __n bigger than INT_MAX+1.
9570 (__strncmp_g): Likewise.
9571
bba33c28
UD
95722011-07-23 Ulrich Drepper <drepper@gmail.com>
9573
798be72d
UD
9574 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
9575 * libio/stido.h: Likewise.
9576
8accd4dc
UD
9577 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
9578 (AF_NFC): Define.
9579 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
9580 (AF_NFC): Define.
9581
cbff0d96
UD
9582 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
9583 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9584 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9585 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9586 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9587
9191c04a
UD
9588 [BZ #13021]
9589 * scripts/test-installation.pl: Don't expect libnss_test1 to be
9590 installed.
9591
bba33c28
UD
9592 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
9593 typo.
9594 (_dl_x86_64_save_sse): Likewise.
9595
90f139dd
UD
95962011-07-22 Ulrich Drepper <drepper@gmail.com>
9597
1aae088a
UD
9598 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
9599 OSXSAVE.
9600 (_dl_x86_64_save_sse): Likewise.
9601
8e2045f5
UD
9602 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
9603
90f139dd
UD
9604 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
9605
1d002f25
AS
96062011-07-21 Andreas Schwab <schwab@redhat.com>
9607
9608 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
9609 change.
9610 (_dl_x86_64_save_sse): Use correct AVX check.
9611
21137f89
UD
96122011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9613
9614 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
9615 bug in strncpy/strncat.
9616 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9617
a65c0b7a
UD
96182011-07-21 Ulrich Drepper <drepper@gmail.com>
9619
9620 * string/tester.c (test_strcat): Add tests for different alignments
9621 of source and destination.
9622 (test_strncat): Likewise.
9623
6986b98a
UD
96242011-07-20 Ulrich Drepper <drepper@gmail.com>
9625
90bb2039
UD
9626 [BZ #12852]
9627 * posix/glob.c (glob): Check passed in values before using them in
9628 expressions to avoid some overflows.
9629 (glob_in_dir): Likewise.
9630
5644ef54
UD
9631 [BZ #13007]
9632 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
9633 check for AVX enablement so that we don't crash with old kernels and
9634 new hardware.
9635 * elf/tst-audit4.c: Add same checks here.
9636 * elf/tst-audit6.c: Likewise.
9637
9638 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 9639
bfc9dc9b
AS
96402011-07-09 Andreas Schwab <schwab@linux-m68k.org>
9641
9642 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
9643
702e64bb
UD
96442011-07-20 Ulrich Drepper <drepper@gmail.com>
9645
9646 * po/cs.po: Update from translation team.
9647 * po/bg.po: Likewise.
9648
295e904f
MP
96492011-07-12 Marek Polacek <mpolacek@redhat.com>
9650
9651 * misc/sys/cdefs.h: Add support for const attribute.
9652 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
9653 to gnu_dev_{major,minor,makedev} functions.
9654
3ff94596
MP
96552011-07-20 Marek Polacek <mpolacek@redhat.com>
9656
9657 * intl/dcigettext.c (get_output_charset): Add missing bracket.
9658
28b59fca
AS
96592011-07-20 Andreas Schwab <schwab@redhat.com>
9660
9661 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
9662 strlen results.
9663
19df733e
AK
96642011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9665
9666 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9667 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
9668 register in order to avoid conflicts with the soft frame pointer
9669 being held in r11 when necessary.
9670 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9671 (INTERNAL_VSYSCALL_NCS): Likewise.
9672
c8835729
MP
96732011-07-14 Marek Polacek <mpolacek@redhat.com>
9674
9675 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
9676 * elf/dl-fini.c (_dl_fini): Adjust caller.
9677 * elf/dl-close.c (_dl_close_worker): Likewise.
9678 * sysdeps/generic/ldsodefs.h: Adjust declaration.
9679
b902330c
MP
96802011-07-15 Marek Polacek <mpolacek@redhat.com>
9681
8991e135
MP
9682 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
9683 "aux_cache->nlibs < 0".
9684
b902330c
MP
9685 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
9686 in the reload-count case.
9687
99710781
LD
96882011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9689
9690 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9691 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
9692 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
9693 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
9694 * sysdeps/x86_64/multiarch/strcat.S: New file.
9695 * sysdeps/x86_64/multiarch/strncat.S: New file.
9696 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
9697 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
9698 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
9699 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
9700 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
9701 (USE_AS_STRCAT): Define.
9702 Add strcat and strncat support.
9703 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9704 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9705 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
9706 * string/strncat.c: Update.
9707 (USE_AS_STRNCAT): Define.
9708 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9709 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
9710 and i7.
9711 * sysdeps/x86_64/multiarch/init-arch.h
9712 (bit_Prefer_PMINUB_for_stringop): New.
9713 (index_Prefer_PMINUB_for_stringop): Likewise.
9714 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
9715 bit_Prefer_PMINUB_for_stringop.
9716
7dc6bd90
UD
97172011-07-19 Ulrich Drepper <drepper@gmail.com>
9718
9719 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
9720 buffer64.
9721 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
9722 of casting of buffer.
9723 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
9724 buffer32 and buffer64.
9725 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
9726 writes instead of casting of buffer.
9727 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
9728 buffer32.
9729 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
9730 casting of buffer.
9731
e0e72284
AS
97322011-07-19 Andreas Schwab <schwab@redhat.com>
9733
9734 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
9735
feb1eb0b
UD
97362011-07-19 Ulrich Drepper <drepper@gmail.com>
9737
9738 * nscd/nscd.c (termination_handler): Don't do anything for a database
9739 if it has not yet been initialized.
9740
298711ff
UD
97412011-07-18 Ulrich Drepper <drepper@gmail.com>
9742
9743 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9744
97452011-07-15 Marek Polacek <mpolacek@redhat.com>
9746
9747 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9748
f9d68389
UD
97492011-07-18 Ulrich Drepper <drepper@gmail.com>
9750
9751 * po/nl.po: Update from translation team.
9752 * po/sv.po: Likewise.
9753
db290cf5
RM
97542011-07-16 Roland McGrath <roland@hack.frob.com>
9755
9756 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
9757 now disallowed by GCC.
5c550700 9758
fd5e21c7
RM
9759 * configure.in (use-default-link): Default to yes if a test -shared
9760 link meets our qualifications.
9761 * configure: Regenerated.
9762
5c550700
RM
9763 * config.make.in (output-format): New variable.
9764 * configure.in: Check for ld --print-output-format support.
9765 * configure: Regenerated.
9766 * Makerules ($(common-objpfx)format.lds)
9767 [$(output-format) != unknown]: Just use $(output-format),
9768 instead of the linker-script munging.
9769
9fa2c032
RM
97702011-07-14 Roland McGrath <roland@hack.frob.com>
9771
a6928d51
RM
9772 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
9773 of $(common-objpfx)shlib.lds.
9774 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
9775
661607b3
RM
9776 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
9777 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
9778
9fa2c032
RM
9779 * configure.in (-z relro check): Adjust test code to add a large
9780 writable data section after it.
9781 * configure: Regenerated.
9782
defe9061
RM
97832011-07-11 Roland McGrath <roland@hack.frob.com>
9784
9785 * configure.in (-z relro check): Fix test code to make the variable
9786 truly const.
9787 * configure: Regenerated.
9788
319b9ad4
UD
97892011-07-11 Ulrich Drepper <drepper@gmail.com>
9790
9791 * nscd/nscd.h (struct traced_file): Define.
9792 (struct database_dyn): Remove inotify_descr, reset_res, and filename
9793 elements. Add traced_files.
9794 (inotify_fd): Declare.
9795 (register_traced_file): Declare.
9796 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
9797 (inotify_fd): Export.
9798 (resolv_conf_descr): Remove.
9799 (nscd_init): Move inotify descriptor creation to main.
9800 Don't register files for notification here.
9801 (register_traced_file): New function.
9802 (invalidate_cache): Don't use reset_res to determine whether to call
9803 res_init, go through the list of registered files.
9804 (main_loop_poll): The inotify descriptors are now stored in the
9805 structures for the traced files.
9806 (main_loop_epoll): Likewise
9807 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
9808 to __nss_disable_nscd.
9809 * nscd/cache.c (prune_cache): There is no single inotify descriptor
9810 for a database anymore. Check the records for all the registered
9811 files instead.
9812 * nss/Makefile (libnss_files-routines): Add files-init.
9813 (libnss_db-routines): Add db-init.
9814 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
9815 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
9816 * nss/nss_db/db-init.c: New file.
9817 * nss/nss_files/files-init.c: New file.
9818 * nss/nsswitch.c (nss_load_library): New function. Broken out of
9819 __nss_lookup_function.
9820 (__nss_lookup_function): Call nss_load_library.
9821 (nss_load_all_libraries): New function.
9822 (__nss_disable_nscd): Take parameter with callback function for files
9823 to register. Set is_nscd. Load all the DSOs for the NSS modules
9824 used for the cached services.
9825 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
9826 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
9827 options for features to all the files in nscd.
9828
9829 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
9830
23bee3e8
RM
98312011-07-10 Roland McGrath <roland@hack.frob.com>
9832
9833 * csu/elf-init.c (__libc_csu_init): Comment typo.
9834
46a5b7f0
UD
98352011-07-09 Ulrich Drepper <drepper@gmail.com>
9836
9837 * po/pl.po: Update from translation team.
9838 * po/ja.po: Likewise.
9839 * po/ru.po: Likewise.
9840 * po/ko.po: Likewise.
9841 * po/fr.po: Likewise.
9842
d30cf5bb
RM
98432011-07-09 Roland McGrath <roland@hack.frob.com>
9844
113ddea4
RM
9845 * configure.in (.ctors/.dtors header and trailer check):
9846 Use an empirical test on a built program.
9847 * configure: Regenerated.
9848
574920b4
RM
9849 * configure.in (-z relro check): Use an empirical test on a built DSO.
9850 Detect, but do not require, on ia64.
9851 * configure: Regenerated.
9852
d30cf5bb
RM
9853 * configure.in (READELF): Find it with AC_CHECK_TOOL.
9854 Update tests that use readelf to use $READELF instead.
9855 * configure: Regenerated.
9856
8538fdb3
UD
98572011-07-08 Ulrich Drepper <drepper@gmail.com>
9858
9859 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
9860 if the result is not used.
9861
04d08991
AJ
98622011-07-05 Andreas Jaeger <aj@suse.de>
9863
9864 [BZ#9696]
9865 * stdlib/tst-strtod.c: Add testcase.
9866
de283087
AD
98672011-07-07 Ulrich Drepper <drepper@gmail.com>
9868
4e5f31c8 9869 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 9870 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
9871 The latter has a higher limit. Take additional parameter to pass to
9872 the new function.
9873 (__pathconf): Pass file to __statfs_link_max.
9874 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
9875 __statfs_link_max.
9876 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
9877 __statfs_link_max.
9878
de283087
AD
9879 [BZ #12868]
9880 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
9881 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9882 Handle Lustre.
9883 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
9884 (__statfs_filesize_max): Likewise.
9885 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
9886
c75fa153
AJ
98872011-07-05 Andreas Jaeger <aj@suse.de>
9888
9889 * resolv/res_comp.c (dn_skipname): Remove unused variable.
9890
1a544854
UD
98912011-07-06 Marek Polacek <mpolacek@redhat.com>
9892
9893 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
9894 `status' variable.
9895 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
9896 Likewise.
9897
6f0eec67
UD
98982011-07-04 H.J. Lu <hongjiu.lu@intel.com>
9899
9900 * Makefile (strop-tests): Add strncat.
9901 * string/test-strncat.c: New file.
9902
aae30307
UD
99032011-06-30 Marek Polacek <mpolacek@redhat.com>
9904
9905 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
9906
c0cfb5eb
UD
99072011-06-21 Andreas Jaeger <aj@suse.de>
9908
9909 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
9910 Copy rule from iconvdata/Makefile.
9911
01636b21
UD
99122011-07-06 Ulrich Drepper <drepper@gmail.com>
9913
9914 [BZ #12922]
9915 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
9916 but no long options are defined, just return 'W'.
9917
9895c8bc
UD
99182011-06-22 Marek Polacek <mpolacek@redhat.com>
9919
9920 [BZ #9696]
9921 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
9922
5d4cf042
UD
99232011-07-06 Ulrich Drepper <drepper@gmail.com>
9924
9925 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
9926 netgroups to read.
960e5535 9927 (innetgr): Likewise.
5d4cf042 9928
751eb97e
RM
99292011-07-05 Roland McGrath <roland@hack.frob.com>
9930
9931 * config.make.in (install_root): Default to $(DESTDIR).
9932
f15f1e45
UD
99332011-07-05 Ulrich Drepper <drepper@gmail.com>
9934
9935 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
9936
4e34ac6a
RM
99372011-07-02 Roland McGrath <roland@hack.frob.com>
9938
5e9b6af4
RM
9939 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
9940
84f9ea0f
RM
9941 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
9942 containing directory rather than embedding absolute directory names.
9943
ea5ee9f7
RM
9944 * scripts/check-local-headers.sh: Rewritten using awk.
9945 Match by word, not by line. Print error messages for matches.
9946 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
9947
1b74661a
RM
9948 * Makerules [shlib-lds-flags empty]:
9949 ($(common-objpfx)libc_pic.opts): New target.
9950 ($(common-objpfx)libc_pic.os.clean): New target.
9951 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
9952
9953 * config.make.in (OBJCOPY): New variable.
9954 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
9955 * configure: Regenerated.
9956
f781ef40
RM
9957 * config.make.in (use-default-link): New variable.
9958 * configure.in (use_default_link): Grok --with-default-link to set it.
9959 * configure: Regenerated.
9960 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
9961 (shlib-lds, shlib-lds-flags): Define to empty.
9962
2d4fa81e
RM
9963 * Makerules (shlib-lds): New variable.
9964 (shlib-lds-flags): New variable.
9965 (build-shlib, build-moduile, build-module-asneeded): Use it.
9966 ($(common-objpfx)libc.so): Use $(shlib-lds).
9967 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
9968 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
9969
31fffa6b
RM
9970 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
9971 DT_FLAGS/DT_FLAGS_1 with zero flags.
9972
4e34ac6a
RM
9973 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
9974 linker script munging.
9975
fcfc776b
UD
99762011-07-02 Ulrich Drepper <drepper@gmail.com>
9977
9978 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
9979 as 128-bit value.
9980 * crypt/sha512.c (sha512_process_block): Perform total addition using
9981 128-bit if possible.
9982 (__sha512_finish_ctx): Likewise.
9983 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
9984 as 64-bit value.
9985 * crypt/sha256.c (SWAP64): Define.
9986 (sha256_process_block): Perform total addition using 64-bit if
9987 possible.
9988 (__sha256_finish_ctx): Likewise.
9989
99231d9a
UD
99902011-07-01 Ulrich Drepper <drepper@gmail.com>
9991
9992 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
9993 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9994 * nscd/hstcache.c (cache_addhst): Likewise.
9995 * nscd/grpcache.c (cache_addgr): Likewise.
9996 * nscd/aicache.c (addhstaiX): Likewise
9997 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
9998
445b4a53
TK
99992011-07-01 Thorsten Kukuk <kukuk@suse.de>
10000
10001 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10002 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10003 * nscd/hstcache.c (cache_addhst): Likewise.
10004 * nscd/grpcache.c (cache_addgr): Likewise.
10005 * nscd/aicache.c (addhstaiX): Likewise
10006
6d4d8e8e
AS
100072011-07-01 Andreas Schwab <schwab@redhat.com>
10008
10009 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10010 domain only when needed.
10011
89f654c5
AS
100122011-06-30 Andreas Schwab <schwab@redhat.com>
10013
10014 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10015 is always restored.
10016
cf3b23ff
UD
100172011-06-29 Ulrich Drepper <drepper@gmail.com>
10018
10019 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10020 are re-adding the entry.
10021 * nscd/servicescache.c (cache_addserv): Likewise.
10022
751626f9
AJ
100232011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10024
10025 * sysdeps/generic/dl-irel.h: fix protection against multiple
10026 inclusions.
10027 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10028
9113ea1f
UD
100292011-06-28 Ulrich Drepper <drepper@gmail.com>
10030
5c0b8d90
UD
10031 [BZ #12935]
10032 * malloc/memusage.sh: Fix quoting in message.
10033 * debug/xtrace.sh: Likewise.
10034
9113ea1f
UD
10035 * configure.in: Remove support for --experimental-malloc option, make
10036 it the default.
10037 * config.make.in: Likewise.
10038 * malloc/Makefile: Likewise.
10039
a4172181
AS
100402011-06-27 Andreas Schwab <schwab@redhat.com>
10041
10042 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10043 two-byte characters.
10044
78a7eee7
RM
100452011-06-27 Roland McGrath <roland@hack.frob.com>
10046
62bede13
RM
10047 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10048 AC_CACHE_CHECK invocation.
10049 * configure: Regenerated.
10050
78a7eee7
RM
10051 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10052
5ce33a62
UD
100532011-06-27 Ulrich Drepper <drepper@gmail.com>
10054
034807a9
UD
10055 [BZ #12350]
10056 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
10057 bit from old_res_options.
10058
4902da17
UD
10059 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10060
5ce33a62
UD
10061 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10062 value type for setfct.
10063
c2344f56
L
100642011-06-23 H.J. Lu <hongjiu.lu@intel.com>
10065
10066 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10067 __gettimeofday instead of gettimeofday.
10068
68468076
UD
100692011-06-26 Ulrich Drepper <drepper@gmail.com>
10070
10071 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10072
acb0d739
L
100732011-06-24 H.J. Lu <hongjiu.lu@intel.com>
10074
10075 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10076
10077 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10078 info.
10079
8912479f
L
100802011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10081
10082 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10083 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10084 strcpy-sse2-unaligned strncpy-sse2-unaligned
10085 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10086 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10087 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10088 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10089 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10090 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10091 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10092 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10093 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10094 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10095 (STRCPY): Support SSE2 and SSSE3 versions.
10096
d5495a11
UD
100972011-06-24 Ulrich Drepper <drepper@gmail.com>
10098
10099 [BZ #12874]
10100 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10101 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10102 kernels which artificially limit size of requests.
10103
0b1cbaae
L
101042011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10105
10106 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10107 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10108 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10109 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10110 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10111 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10112 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10113 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10114 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10115 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10116 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10117 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10118 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10119 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10120 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10121 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10122 Enable unaligned load optimization for Intel Core i3, i5 and i7
10123 processors.
10124 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10125 Define.
10126 (index_Fast_Unaligned_Load): Define.
10127 (HAS_FAST_UNALIGNED_LOAD): Define.
10128
07f494a0
MP
101292011-06-23 Marek Polacek <mpolacek@redhat.com>
10130
10131 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10132
fa3fc0fe
UD
101332011-06-22 Ulrich Drepper <drepper@gmail.com>
10134
10135 [BZ #12907]
10136 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10137 until it is clear that the information is realy needed.
10138 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10139
e12df166
AS
101402011-06-22 Andreas Schwab <schwab@redhat.com>
10141
10142 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10143
852eb34d
UD
101442011-06-22 Ulrich Drepper <drepper@gmail.com>
10145
84e2a551
UD
10146 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10147 /sys/devices/system/cpu/online if it is usable.
10148
852eb34d
UD
10149 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10150 reading the information from the /proc filesystem to once a second.
10151
6e502e19
UD
101522011-06-21 Andreas Jaeger <aj@suse.de>
10153
10154 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10155 NULL after inclusion of kernel headers.
10156
75d39ff2
UD
101572011-06-21 Ulrich Drepper <drepper@gmail.com>
10158
51f9aa6a
UD
10159 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10160 calls to internal_setent.
10161
c0244a9d
UD
10162 [BZ #12885]
10163 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10164 addresses using gethostbyname4_r ignore IPv4 addresses.
10165
c5e3c2ae
UD
10166 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10167 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10168
75d39ff2
UD
10169 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10170
42675c6f
DM
101712011-06-20 David S. Miller <davem@davemloft.net>
10172
10173 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10174 inclusions.
10175 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10176
10177 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10178 (elf_irel): Use it.
10179 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10180 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10181 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10182 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10183 * sysdeps/x86_64/dl-irel.h: Likewise.
10184
10185 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10186 * elf/dl-sym.c: Likewise.
10187
57912a71
UD
101882011-06-15 Ulrich Drepper <drepper@gmail.com>
10189
10190 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10191 need to dereference resplen2.
10192
ee22793d
AS
101932011-06-14 Andreas Schwab <schwab@redhat.com>
10194
10195 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10196
a9e836b0
UD
101972011-06-15 Ulrich Drepper <drepper@gmail.com>
10198
77fb9117
UD
10199 * Makeconfig: Define vardbdir and inst_vardbdir.
10200 * nss/Makefile: Add rules to install db-Makefile.
10201
40c1b22c
UD
10202 * nss/nss_db/db-XXX.c: Cleanup.
10203
9f2da732
UD
10204 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10205 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10206 GLIBC_PRIVATE.
10207 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10208 * nss/makedb.c: Implement -g option to specify that value strings
10209 are generated and should not be added to table iterated over for
10210 get*ent calls.
10211 * nss/nss_db/db-initgroups.c: New file.
10212
82e9a1f7
UD
10213 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10214 interface.
10215
c41af17e
UD
10216 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10217 (internal_getgrouplist): Adjust to name change.
10218 Update use_initgroups_entry if this is not the first call.
10219 * nss/databases.def: Add initgroups entry.
10220
a9e836b0
UD
10221 * nss/makedb.c (compute_tables): Check result of multiple hash table
10222 sizes to minimize maximum chain length.
10223
2666d441
UD
102242011-06-14 Ulrich Drepper <drepper@gmail.com>
10225
10226 * Versions.def: Add entry for libnss_db.
10227 * shlib-versions: Likewise.
10228 * nss/Makefile: Add rules to build libnss_db.
10229 * nss/Versions: Add libnss_db information. Organize libnss_files
10230 entries better.
10231 * nss/db-Makefile: Add gshadow support. Change rules for the new
10232 makedb progra. Some minor improvements to generate smaller files.
10233 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10234 here from...
10235 * nss/makedb.c: ...here.
10236 Improve database format to be smaller and require less memory at
10237 runtime.
10238 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10239 db anymore.
10240 * nss/nss_db/db-netgrp.c: Likewise.
10241 * nss/nss_db/db-open.c: Likewise.
10242 * nss/nss_files/flies-XXX.x: Adjust comments.
10243 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10244 * nss/nss_files/files-grp.c: Likewise.
10245 * nss/nss_files/files-hosts.c: Likewise.
10246 * nss/nss_files/files-network.c: Likewise.
10247 * nss/nss_files/files-proto.c: Likewise.
10248 * nss/nss_files/files-pwd.c: Likewise.
10249 * nss/nss_files/files-rpc.c: Likewise.
10250 * nss/nss_files/files-service.c: Likewise.
10251 * nss/nss_files/files-sgrp.c: Likewise.
10252 * nss/nss_files/files-spwd.c: Likewise.
10253 * nss/nss_db/db-alias.c: Removed.
10254 * nss/nss_db/dummy-db.h: Removed.
10255
9ee76b5a
UD
102562011-06-02 Ulrich Drepper <drepper@gmail.com>
10257
10258 * nss/makedb.c: Rewritten to not use database library.
10259 * nss/Makefile: Update to build new makedb program.
10260
c71ca1f8
AJ
102612011-06-14 Andreas Jaeger <aj@suse.de>
10262
10263 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10264 memset declaration.
10265
3154bfb8
UD
102662011-06-10 Andreas Schwab <schwab@redhat.com>
10267
10268 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10269 tmpbuf.
10270
b350afab
RM
102712011-06-10 Roland McGrath <roland@hack.frob.com>
10272
decd4e50
RM
10273 * Makerules (shlib.lds): Fail if the linker script comes out empty.
10274 * elf/Makefile ($(objpfx)ld.so): Likewise.
10275
5615eaf2
RM
10276 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10277 Don't list ld.so twice in dependencies.
10278
10279 * posix/bug-regex31.c: Include <stdlib.h>.
10280
10281 * nscd/hstcache.c (cache_addhst): Remove unused variable.
10282
10283 * nis/nss_compat/compat-spwd.c
10284 (getspent_next_nss_netgr): Remove unused variable.
10285 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10286
10287 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10288 nonmembers" output to use the right array.
10289
10290 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10291
10292 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10293
10294 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10295 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10296 * catgets/gencat.c (read_input_file): Likewise.
10297 * locale/programs/locarchive.c (enlarge_archive): Likewise.
10298
10299 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10300 variable definition inside #if's controlling its use.
10301
10302 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10303
10304 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10305
10306 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10307
10308 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10309 unreachable code.
10310
10311 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10312
b68e08db
RM
10313 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10314 * configure: Regenerated.
10315
b350afab
RM
10316 * Makerules: Revert last change.
10317 * elf/Makefile: Likewise.
10318
28368601
RM
103192011-06-09 Roland McGrath <roland@hack.frob.com>
10320
10321 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10322 * elf/Makefile ($(objpfx)librtld.os): Likewise.
10323 (reloc-link): Likewise.
10324
11988f8f
UD
103252011-06-09 Ulrich Drepper <drepper@gmail.com>
10326
10327 * elf/Makefile: Add rules to build pldd.
10328 * elf/pldd.c: New file.
10329 * elf/pldd-xx.c: New file.
10330
e80fab37
UD
103312011-06-07 Ulrich Drepper <drepper@gmail.com>
10332
10333 * version.h: Update for 2.15 development version.
10334
9b849836
DM
103352011-06-07 David S. Miller <davem@davemloft.net>
10336
10337 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10338 ifuncs.
10339 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10340 elf_machine_lazy_rel): Likewise.
10341 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10342 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10343 elf_machine_lazy_rel): Likewise.
10344 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10345 dl_hwcap via passed in argument.
10346 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10347 Likewise.
10348
5a31b283
AK
103492011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10350
10351 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
10352
069e52f8
RM
103532011-06-06 Roland McGrath <roland@hack.frob.com>
10354
10355 [BZ #12849]
10356 * manual/fdl-1.1.texi: New file, verbatim from:
10357 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10358 * manual/lgpl-2.1.texi: New file, verbatim from:
10359 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10360 * manual/Makefile (licenses): New variable, list those new file names.
10361 (texis): Use it.
10362 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10363
10364 * manual/fdl.texi: File removed.
10365 * manual/lesser.texi: File removed.
10366 * manual/libc.texinfo (Copying, Documentation License):
10367 Use new @include file names, put @appendix directive before @include.
10368
f16846a5
JJ
103692011-06-04 Jakub Jelinek <jakub@redhat.com>
10370
10371 [BZ #12841]
10372 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10373 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10374 (mq_open): Add __NTH.
10375
3d29045b
L
103762011-06-02 H.J. Lu <hongjiu.lu@intel.com>
10377
10378 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10379 Assume Intel Core i3/i5/i7 processor if AVX is available.
10380
8c297311
UD
103812011-05-31 Ulrich Drepper <drepper@gmail.com>
10382
10383 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10384 typo.
10385
c8fc0c91
UD
103862011-05-31 Andreas Schwab <schwab@redhat.com>
10387
10388 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10389 memory. Use alloca_account. Fix memory leak when retrying.
10390
5b27a807
UD
103912011-05-31 Ulrich Drepper <drepper@gmail.com>
10392
356f8bc6
UD
10393 * version.h (RELEASE): Bump for 2.14 release.
10394 * include/features.h (__GLIBC_MINOR__): Bump to 14.
10395
5b27a807
UD
10396 * config.make.in (RANLIB): Remove entry.
10397
01f16ab0
UD
103982011-05-30 Ulrich Drepper <drepper@gmail.com>
10399
41fce8bd
UD
10400 * po/Makefile (po-sed-cmd): Add ksh to extensions.
10401 (libc.pot): Work around missing support for .ksh extension in xgettext.
10402
4769ae77
UD
10403 [BZ #12684]
10404 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
10405 if both request failed.
10406 (send_dg): In case of server errors clear resplen or *resplen2.
10407
6b1e7d19
UD
10408 [BZ #12454]
10409 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
10410 when there are multiple maps.
10411 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
10412 (_dl_fini): Remove test here.
10413
01f16ab0
UD
10414 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
10415
b1ebd700
UD
104162011-05-29 Ulrich Drepper <drepper@gmail.com>
10417
7ae22829
UD
10418 [BZ #12350]
10419 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
10420 bit from old_res_options.
10421 (gaih_inet): Likewise.
10422
553149f6 10423 [BZ #11099]
18a84741 10424 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
10425 as signed.
10426
652ffab1
UD
10427 * resolv/res_init.c (res_setoptions): Make the code more compact.
10428
16985fd0
UD
10429 [BZ #11558]
10430 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
10431 set RES_USEVC.
10432
0464f746
UD
10433 [BZ #11634]
10434 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
10435
7d17596c
UD
10436 * malloc/malloc.h: Mark malloc hook variables as deprecated.
10437
cf6bbbd7
UD
10438 [BZ #11781]
10439 * malloc/malloc.h: Declare malloc hook variables as volatile.
10440
13f1ab36
UD
10441 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
10442 in last patch.
10443
b1ebd700
UD
10444 [BZ #11799]
10445 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 10446 raise in the comment.
80e2212d
UD
10447 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10448 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10449 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 10450
ce67228d
UD
104512011-05-28 Ulrich Drepper <drepper@gmail.com>
10452
8887a920
UD
10453 [BZ #12811]
10454 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
10455 grow the buffers more if it already has to be sufficient.
10456 (build_wcs_upper_buffer): Likewise.
10457 * posix/regexec.c (check_matching): Likewise.
10458 (clean_state_log_if_needed): Likewise.
10459 (extend_buffers): Don't enlarge buffers beyond size of the input
10460 buffer.
10461 Patches mostly by Emil Wojak <emil@wojak.eu>.
10462 * posix/bug-regex32.c: New file.
10463 * posix/Makefile (tests): Add bug-regex32.
10464
4f031072
UD
10465 * locale/findlocale.c (_nl_find_locale): Return right away if
10466 _nl_explode_name failed.
10467 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10468
d0478f0c
UD
10469 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
10470
de81b246
UD
10471 * debug/xtrace.sh: Unify messages.
10472 * malloc/memusage.sh: Likewise.
10473
c738465a
UD
10474 [BZ #12813]
10475 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
10476 time symbol from vDSO. Substitute with vsyscall if not available.
10477 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
10478 __vdso_time.
10479
f1f929d7
UD
10480 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
10481 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
10482 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
10483 Add sendmmsg and internal_sendmmsg.
10484 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
10485 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
10486 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
10487
ce67228d
UD
10488 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
10489 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
10490 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
10491
e57420c6
UD
104922011-05-27 Ulrich Drepper <drepper@gmail.com>
10493
a8509ca5
UD
10494 [BZ #12813]
10495 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
10496 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
10497 available.
10498 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
10499 __vdso_getcpu.
10500
e57420c6
UD
10501 [BZ #12814]
10502 * iconvdata/Makefile (tests): Add bug-iconv9.
10503 * iconvdata/bug-iconv9.c: New file.
10504
4d07db15
AS
105052011-05-27 Andreas Schwab <schwab@redhat.com>
10506
10507 [BZ #12814]
10508 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
10509
ea486f69
JJ
105102011-05-25 Jakub Jelinek <jakub@redhat.com>
10511
10512 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10513 (struct user_regs_struct): Change intcs field back to cs.
10514
6f038433
UD
105152011-05-25 Ulrich Drepper <drepper@gmail.com>
10516
10517 * po/ja.po: Update from translation team.
10518
67f86a25
UD
105192011-05-23 Ulrich Drepper <drepper@gmail.com>
10520
10521 [BZ #12795]
10522 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
10523 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
10524
def7fbd6
AS
105252011-05-20 Andreas Schwab <schwab@redhat.com>
10526
10527 * stdlib/longlong.h: Update from GCC.
10528
f50ef8f1
AS
105292011-05-23 Andreas Schwab <schwab@redhat.com>
10530
10531 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
10532 parameter name.
10533 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
10534 Add parameter name.
10535 (__sysconf): Pass it down.
10536
de7ce8f1
UD
105372011-05-22 Ulrich Drepper <drepper@gmail.com>
10538
f2962a71
UD
10539 [BZ #12671]
10540 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
10541 some situations.
10542 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10543 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
10544 add in in __libc_use_alloca calls. Adjust callers.
10545 (glob): Use malloc in some situations.
10546
de7ce8f1
UD
10547 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
10548 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
10549 pltexit.
10550
aec84f53
UD
105512011-05-21 Ulrich Drepper <drepper@gmail.com>
10552
05bb4a68
UD
10553 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
10554 and CLOCK_BOOTTIME_ALARM.
10555
7ea72f99
UD
10556 [BZ #12782]
10557 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
10558 is returned.
10559
7e4afad5
UD
10560 * string/_strerror.c (__strerror_r): Print negative errors as signed
10561 numbers.
10562
8e211fec
UD
10563 [BZ #12777]
10564 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
10565 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
10566 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
10567
f7d82dc9
UD
10568 * configure.in: Fix typo in redirection and correct removal of test
10569 files in two cases.
10570
cc9e536d
UD
10571 [BZ #12788]
10572 * locale/setlocale.c (new_composite_name): Fix test to check for
10573 identical name of all categories.
10574
aec84f53
UD
10575 [BZ #12792]
10576 * libio/filedoalloc.c (local_isatty): New function.
10577 (_IO_file_doallocate): Use local_isatty.
10578 * stdio-common/perror.c (perror): In case a new stream is used
10579 forward the stream error.
10580 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
10581 error flag.
10582
78e64fdc
RT
105832011-05-20 Ulrich Drepper <drepper@gmail.com>
10584
34a9094f
UD
10585 [BZ #11869]
10586 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
10587 alloca.
10588 * include/alloca.h (extend_alloca_account): Define.
10589
78e64fdc
RT
10590 [BZ #11857]
10591 * posix/regex.h: Fix comments with documentation of user-accessible
10592 fields after compilation and describe correct free'ing of pattern
10593 after re_compile_pattern.
10594 Patch by Reuben Thomas <rrt@sc3d.org>.
10595
457bddfc
RA
105962011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
10597
10598 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
10599 and -mno-altivec to prevent the compiler from using Altivec and/or
10600 VSX instructions when the corresponding registers are not available.
10601
a4527b51
AS
106022011-05-19 Andreas Schwab <schwab@redhat.com>
10603
10604 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
10605
ed690b2f
UD
106062011-05-19 Ulrich Drepper <drepper@gmail.com>
10607
10608 * libio/freopen.c (freopen): Use __dup2, not dup2.
10609 * libio/freopen64.c (freopen64): Likewise.
10610
8db73634
L
106112011-05-17 H.J. Lu <hongjiu.lu@intel.com>
10612
10613 [BZ #12775]
10614 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
10615 * math/Makefile (tests): Add test-powl.
10616 (CFLAGS-test-powl.c): Define.
10617 * math/test-powl.c: New file.
10618
0a197a9d
L
106192011-05-16 H.J. Lu <hongjiu.lu@intel.com>
10620
10621 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
10622
ee30c380
UD
106232011-05-17 Ulrich Drepper <drepper@gmail.com>
10624
10625 [BZ #11837]
10626 * iconvdata/gb18030.c: Update to GB18020-2005.
10627
6ce75379
UD
106282011-05-16 Ulrich Drepper <drepper@gmail.com>
10629
a4b89fd8
AR
10630 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
10631 RE_SYNTAX_POSIX_AWK): Update to match recent development.
10632 Patch by Aharon Robbins <arnold@skeeve.com>.
10633
ea389b12
UD
10634 [BZ #11892]
10635 * stdlib/putenv.c (putenv): Don't always create copy of the variable
10636 on the stack.
10637
68a3f91f
UD
10638 [BZ #11895]
10639 * misc/pselect.c (__pselect): Handle timeout value errors hidden
10640 through underflows.
10641
15cc7dd1
UD
10642 [BZ #12766]
10643 * misc/error.c (error_at_line): Ensure file_name and old_file_name
10644 point to strings before performing equality test for error_one_per_line
10645 mode.
10646
f3799213
UD
10647 [BZ #11697]
10648 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
10649
d79a9c94
UD
10650 [BZ #11820]
10651 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10652 (struct user_fpregs_struct): Avoid __uint*_t types.
10653
56e5eb46
UD
10654 [BZ #6420]
10655 * malloc/mtrace.c (tr_where): Add additional parameter to point to
10656 symbol info. Use it instead of calling _dl_addr locally.
10657 (lock_and_info): New function.
10658 (tr_freehook): Call lock_and_info and pass symbol info as additional
10659 parameter to tr_where.
10660 (tr_mallochook): Likewise.
10661 (tr_reallochook): Likewise.
10662 (tr_memalignhook): Likewise.
10663
6ce75379
UD
10664 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
10665 used and couldn't be at all thread-safe.
10666
f8a3b5bf
UD
106672011-05-15 Ulrich Drepper <drepper@gmail.com>
10668
94b7cc37
UD
10669 * libio/freopen.c (freopen): Don't close old file descriptor
10670 before the new one is opened. Instead dup the new file descriptor
10671 to the old one after the new stream is created.
10672 * libio/freopen64.c (freopen64): Likewise.
10673 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
10674 * libio/fileops.c (_IO_new_file_close_it): Handle new
10675 _IO_FLAGS2_NOCLOSE flag.
10676 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
10677 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
10678 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
10679 _IO_FLAGS2_NOCLOSE flag.
10680 * include/unistd.h: Add hidden_proto for dup3.
10681 Define __have_dup3.
10682 * io/dup3.c: Define hidden symbol.
10683 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
10684
bd25564e
UD
10685 [BZ #7101]
10686 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
10687 when an incomplete long option is used.
10688 * posix/tst-getopt_long1.c: New file.
10689 * posix/Makefile (tests): Add tst-getopt_long1.
10690
c84cfef4
UD
10691 [BZ #10138]
10692 * scripts/config.guess: Update from autoconf-2.68.
10693 * scripts/config.sub: Likewise.
10694
3b85df27
UD
10695 [BZ #10157]
10696 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
10697 tests into ...
10698 (has_cpuclock): ...this. New function.
10699 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
10700 macro here based on has_cpuclock code.
10701
15a856b1
UD
10702 [BZ #10149]
10703 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10704 First byte (not low byte) is now always NUL.
10705 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
10706
05f399e6
UD
10707 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10708 Use non-cancelable interfaces.
10709
10a52685 10710 [BZ #9809]
94ecc67d
UD
10711 * locale/iso-639.def: Add entry for Sorani.
10712
f8a3b5bf
UD
10713 [BZ #11901]
10714 * include/stdlib.h: Move include protection to the right place.
10715 Define abort_msg_s. Declare __abort_msg with it.
10716 * stdlib/abort.c (__abort_msg): Adjust type.
10717 * assert/assert.c (__assert_fail_base): New function. Majority
10718 of code from __assert_fail. Allocate memory for __abort_msg with
10719 mmap.
10720 (__assert_fail): Now call __assert_fail_base.
10721 * assert/assert-perr.c: Remove bulk of implementation. Use
10722 __assert_fail_base.
10723 * include/assert.hL Declare __assert_fail_base.
10724 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
10725 mmap.
10726 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
10727
1af4e298
UD
107282011-05-14 Ulrich Drepper <drepper@gmail.com>
10729
f8a3b5bf 10730 [BZ #11952]
d26dfc60
MG
10731 [BZ #12453]
10732 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
10733 until all modules are registered in the DTV.
10734 * elf/Makefile: Add rules to build and run tst-tls19.
10735 * elf/tst-tls19.c: New file.
10736 * elf/tst-tls19mod1.c: New file.
10737 * elf/tst-tls19mod2.c: New file.
10738 * elf/tst-tls19mod3.c: New file.
10739 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
10740
2fc54d6f
UD
10741 [BZ #12083]
10742 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
10743 correctly.
10744
98d76b46
UD
10745 [BZ #12601]
10746 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
10747 two-byte sequence errors.
10748 * iconvdata/Makefile (tests): Add bug-iconv8.
10749 * iconvdata/bug-iconv8.c: New file.
10750
da3c19ef
UD
10751 [BZ #12626]
10752 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
10753 buf2 definition.
10754
ca408c15
UD
10755 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
10756
d6f67f7d
UD
10757 [BZ #12432]
10758 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
10759 (dummy_getcfa): New function.
10760 (init): Get _Unwind_GetCFA address, use dummy if not found.
10761 (backtrace_helper): In recursion check, also check whether CFA changes.
10762 (__backtrace): Completely initialize arg.
10763
1af4e298 10764 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
10765 storing incomplete byte sequence in state object. Avoid testing for
10766 guaranteed too small input if we know there is enough data available.
1af4e298 10767
da62f81b
AS
107682011-05-11 Andreas Schwab <schwab@redhat.com>
10769
10770 * Makeconfig (+link-pie): Indent.
10771 * Rules (binaries-pie): Define if $(have-fpie) and
10772 $(build-shared).
10773 (binaries-shared): Also filter out $(binaries-pie).
10774 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
10775 * nscd/Makefile (others-pie): Add nscd.
10776 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
10777 ($(objpfx)nscd): Remove command override.
10778 * login/Makefile (others-pie): Add pt_chown.
10779 ($(objpfx)pt_chown): Remove command override.
10780 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
10781 remove command overrides.
10782
fcabc0f8
UD
107832011-05-13 Ulrich Drepper <drepper@gmail.com>
10784
20030ae6
UD
10785 * libio/tst_putwc.c: Fix error messages.
10786
fcabc0f8
UD
10787 [BZ #12724]
10788 * libio/fileops.c (_IO_new_file_close_it): Always flush when
10789 currently writing and seek to current position when not.
10790 * libio/Makefile (tests): Add bug-fclose1.
10791 * libio/bug-fclose1.c: New file.
10792
320a5dc0
PB
107932011-05-12 Ulrich Drepper <drepper@gmail.com>
10794
10795 [BZ #12511]
10796 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
10797 don't set DF_1_NODELETE here.
10798 (do_lookup_x): When entering new entry test for copy relocation
10799 and if necessary set DF_1_NODELETE flag.
10800 * elf/tst-unique4.cc: New file.
10801 * elf/tst-unique4.h: New file.
10802 * elf/tst-unique4lib.cc: New file.
10803 * elf/Makefile: Add rules to build and run tst-unique4.
10804 Patch by Piotr Bury <pbury@goahead.com>.
10805
22836f52
UD
108062011-05-11 Ulrich Drepper <drepper@gmail.com>
10807
f574184a
UD
10808 [BZ #12052]
10809 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
10810
e1fb097f
UD
10811 [BZ #12625]
10812 * misc/mntent_r.c (addmntent): Flush the stream after the output
10813
22836f52
UD
10814 [BZ #12393]
10815 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
10816 (is_trusted_path_normalize): Skip initial colon. Append slash
10817 to empty buffer. Duplicate is_trusted_path code but allow
10818 constructed patch to be prefix.
10819 (is_dst): Allow $ORIGIN followed by /.
10820 (_dl_dst_substitute): Correct clearing of check_for_trusted.
10821 Correct testing of result of is_trusted_path_normalize
10822 (decompose_rpath): Fix warning.
10823
7b3b0b2a
UD
108242011-05-10 Ulrich Drepper <drepper@gmail.com>
10825
10826 [BZ #11257]
10827 * grp/initgroups.c (internal_getgrouplist): When we found the service
10828 list through the initgroups entry in nsswitch.conf do not always
10829 continue on a successful lookup. Don't always use the
eac80ce2 10830 __nss_group_database value if it is set.
7b3b0b2a
UD
10831 * nss/nsswitch.conf (initgroups): Change action for successful db
10832 lookup to continue for compatibility.
10833
2a81eaa5
UD
108342011-05-09 Ulrich Drepper <drepper@gmail.com>
10835
be97a69e
UD
10836 [BZ #11532]
10837 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
10838 and CP774 modules.
10839 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
10840 and CP774 modules.
10841 * iconvdata/tst-tables.sh: Likewise.
10842 * iconvdata/cp770.c: New file.
10843 * iconvdata/cp771.c: New file.
10844 * iconvdata/cp772.c: New file.
10845 * iconvdata/cp773.c: New file.
10846 * iconvdata/cp774.c: New file.
10847 * iconvdata/testdata/CP770: New file.
10848 * iconvdata/testdata/CP770..UTF8: New file.
10849 * iconvdata/testdata/CP771: New file.
10850 * iconvdata/testdata/CP771..UTF8: New file.
10851 * iconvdata/testdata/CP772: New file.
10852 * iconvdata/testdata/CP772..UTF8: New file.
10853 * iconvdata/testdata/CP773: New file.
10854 * iconvdata/testdata/CP773..UTF8: New file.
10855 * iconvdata/testdata/CP774: New file.
10856 * iconvdata/testdata/CP774..UTF8: New file.
10857
10858 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
10859 END CHARMAP line.
10860 * iconvdata/gen-8bit-gap.sh: Likewise.
10861 * iconvdata/gen-8bit.sh: Likewise.
10862
c1e9e399
UD
10863 * locale/iso-639.def: Add ary entry.
10864
24c55fb3 10865 [BZ #11258]
96b4b1b0
UD
10866 * locale/C-translit.h.in: Add U20A1 transliteration.
10867
bdc2f971
KB
10868 [BZ #12178]
10869 * locale/iso-639.def: Add wae entry.
10870 Patch by Kevin Bortis <bortis@translate-wae.ch>.
10871
2952b117
UD
10872 [BZ #12545]
10873 * locale/programs/localedef.c (construct_output_path): Use ssize_t
10874 for n.
10875
2a81eaa5
UD
10876 [BZ #12711]
10877 * locale/C-translit.h.in: Add entry for U20B9.
10878 Patch by pravin.d.s@gmail.com.
10879
28377d1b
UD
108802011-05-08 Ulrich Drepper <drepper@gmail.com>
10881
7fb90fb8
UD
10882 [BZ #12713]
10883 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
10884 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
10885 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
10886 in rtld. Use *stat64.
7fb90fb8 10887 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 10888 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 10889 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
10890 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
10891 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
10892 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
10893 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
10894 __fstatat64 macros.
7fb90fb8
UD
10895 * include/dirent.h: Add libc_hidden_proto for rewinddir.
10896 * dirent/rewinddir.c: Add libc_hidden_def.
10897 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 10898 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 10899
28377d1b
UD
10900 * include/dirent.h (__alloc_dir): Add flags parameter.
10901 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
10902 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
10903 __alloc_dir.
10904 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
10905 from fdopendir if O_CLOEXEC is already set.
10906
66bdbaa4
AM
109072011-03-15 Alan Modra <amodra@gmail.com>
10908
10909 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
10910 l_tls_firstbyte_offset non-zero. Save padding offset in
10911 l_tls_firstbyte_offset for later use.
10912 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
10913 freeing static tls block.
10914
95721191
JN
109152011-03-05 Jonathan Nieder <jrnieder@gmail.com>
10916
10917 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
10918 where #ifdef was intended. The intent is to prevent ARG_MAX from
10919 being defined by the kernel headers.
10920
f87dfb1f
UD
109212011-05-07 Ulrich Drepper <drepper@gmail.com>
10922
10923 [BZ #12734]
10924 * resolv/resolv.h: Define RES_NOTLDQUERY.
10925 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
10926 no-tld-query and set RES_NOTLDQUERY.
10927 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
10928 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
10929 modern BIND to search name as TLD unless forbidden.
10930
47c3cd7a
UD
109312011-05-07 Petr Baudis <pasky@suse.cz>
10932 Ulrich Drepper <drepper@gmail.com>
10933
10934 [BZ #12393]
10935 * elf/dl-load.c (fillin_rpath): Move trusted path check...
10936 (is_trusted_path): ...to here.
c1e9ea35 10937 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 10938 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 10939 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 10940
8a35c912
PP
109412011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10942
10943 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
10944 __BEGIN/__END_DECLS.
10945
acd41f47
UD
109462011-05-06 Ulrich Drepper <drepper@gmail.com>
10947
10948 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
10949 NSS_STATUS_NOTFOUND if no record was found.
10950
597df647
AS
109512011-05-05 Andreas Schwab <schwab@redhat.com>
10952
10953 * sunrpc/Makefile (headers): Add rpc/netdb.h.
10954 (headers-not-in-tirpc): Remove rpc/netdb.h
10955 * resolv/netdb.h: Revert last change.
10956
b9af1301
PP
109572011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10958
10959 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
10960 circular dependency between libgcc.a and libc.a.
10961
4e34d5f5
AS
109622011-05-05 Andreas Schwab <schwab@redhat.com>
10963
10964 * resolv/netdb.h: Don't include <rpc/netdb.h>.
10965 * nis/Makefile: Don't install rpcsvc/*.
10966 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
10967 instead of <rpc/types.h>.
10968 (MAXHOSTNAMELEN): Define.
10969
00ee369c
AS
109702011-05-03 Andreas Schwab <schwab@redhat.com>
10971
10972 * elf/ldconfig.c (add_dir): Don't crash on empty path.
10973
0b592a30
MB
109742011-04-28 Maciej Babinski <mbabinski@google.com>
10975
10976 [BZ #12714]
10977 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
10978 gethostbyname4_r when IPv6 results are possible.
10979
6e04cbbe
UD
109802011-05-02 Ulrich Drepper <drepper@gmail.com>
10981
10982 [BZ #12723]
10983 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
10984 _PC_PIPE_BUF handling.
10985
e4ecafe0
BH
109862011-04-30 Bruno Haible <bruno@clisp.org>
10987
10988 [BZ #12717]
10989 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
10990 * resolv/netdb.h (getnameinfo): Change type of flags parameter
10991 to 'int'.
10992 * inet/getnameinfo.c (getnameinfo): Likewise.
10993
125ee683
UD
109942011-04-29 Ulrich Drepper <drepper@gmail.com>
10995
10996 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
10997 to groups setting in database lookup.
10998 * nss/nsswitch.conf: Add initgroups entry.
10999
b722481a
EB
110002011-04-22 Ulrich Drepper <drepper@gmail.com>
11001
11002 [BZ #12685]
11003 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11004 mode string.
11005 Patch by Eric Blake <eblake@redhat.com>.
11006
4df46dbd
L
110072011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11008
11009 * sunrpc/Makefile (need-export-routines): Add svc_run.
11010 (routines): Remove svc_run.
11011 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11012 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11013 * sunrpc/svc_run.c (svc_run): Likewise.
11014 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11015
e84142d2
UD
110162011-04-21 Ulrich Drepper <drepper@gmail.com>
11017
11018 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11019 problem in reallocation in last patch.
11020
877175d8
UD
110212011-04-20 Ulrich Drepper <drepper@gmail.com>
11022
11023 * sunrpc/Makefile: Move inclusion of Rules.
11024
ab8eed78
UD
110252011-04-19 Ulrich Drepper <drepper@gmail.com>
11026
11027 * nss/nss_files/files-initgroups.c: New file.
11028 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11029 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11030 _nss_files_initgroups_dyn.
11031
e3d8f584
RS
110322011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
11033
11034 * elf/elf.h (R_ARM_IRELATIVE): Define.
11035
af190f45
UD
110362011-04-19 Ulrich Drepper <drepper@gmail.com>
11037
11038 * po/ru.po: Update from translation team.
11039
53cf59ef
UD
110402011-04-17 Ulrich Drepper <drepper@gmail.com>
11041
11042 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11043 dependencies.
11044
4c559bcd
MF
110452011-02-06 Mike Frysinger <vapier@gentoo.org>
11046
11047 [BZ #12653]
11048 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11049 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11050 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11051 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11052 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11053
4420675c
AS
110542011-03-28 Andreas Schwab <schwab@linux-m68k.org>
11055
11056 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11057 differing bytes.
11058 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11059 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11060 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11061
75ea32ab
UD
110622011-04-17 Ulrich Drepper <drepper@gmail.com>
11063
11064 [BZ #12420]
11065 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11066 storing it.
11067 * stdlib/bug-getcontext.c: New file.
11068 * stdlib/Makefile: Add rules to build and run bug-getcontext.
11069
27390476
AK
110702011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11071
11072 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11073 instructions into .machine "z9-109".
11074 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11075 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11076
10442705
AK
110772011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11078
11079 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11080 between environment variables and auxiliary vector.
11081
7b57bfe5
UD
110822011-04-16 Ulrich Drepper <drepper@gmail.com>
11083
11084 * Makefile: Add rules to build linkobj/libc.so.
11085 * include/libc-symbols.h: Define libc_hidden_nolink.
11086 * include/rpc/auth.h: Mark functions which are to be hidden.
11087 * include/rpc/auth_des.h: Likewise.
11088 * include/rpc/auth_unix.h: Likewise.
11089 * include/rpc/clnt.h: Likewise.
11090 * include/rpc/des_crypt.h: Likewise.
11091 * include/rpc/key_prot.h: Likewise.
11092 * include/rpc/pmap_clnt.h: Likewise.
11093 * include/rpc/pmap_prot.h: Likewise.
11094 * include/rpc/pmap_rmt.h: Likewise.
11095 * include/rpc/rpc_msg.h: Likewise.
11096 * include/rpc/svc.h: Likewise.
11097 * include/rpc/svc_auth.h: Likewise.
11098 * include/rpc/xdr.h: Likewise.
11099 * nis/Makefile: Link all DSOs against linkobj/libc.so.
11100 * nss/Makefile: Likewise.
11101 * sunrpc/Makefile: Don't install headers. Build library with normal
11102 entry points. Don't build rpcinfo. Link RPC tests appropriately.
11103 * sunrpc/auth_des.c: Hide exported symbols by default, export some
11104 for the compat linking library. Remove use of INTDEF/INTUSE.
11105 * sunrpc/auth_none.c: Likewise.
11106 * sunrpc/auth_unix.c: Likewise.
11107 * sunrpc/authdes_prot.c: Likewise.
11108 * sunrpc/authuxprot.c: Likewise.
11109 * sunrpc/clnt_gen.c: Likewise.
11110 * sunrpc/clnt_perr.c: Likewise.
11111 * sunrpc/clnt_raw.c: Likewise.
11112 * sunrpc/clnt_simp.c: Likewise.
11113 * sunrpc/clnt_tcp.c: Likewise.
11114 * sunrpc/clnt_udp.c: Likewise.
11115 * sunrpc/clnt_unix.c: Likewise.
11116 * sunrpc/des_crypt.c: Likewise.
11117 * sunrpc/des_soft.c: Likewise.
11118 * sunrpc/get_myaddr.c: Likewise.
11119 * sunrpc/key_call.c: Likewise.
11120 * sunrpc/key_prot.c: Likewise.
11121 * sunrpc/netname.c: Likewise.
11122 * sunrpc/pm_getmaps.c: Likewise.
11123 * sunrpc/pm_getport.c: Likewise.
11124 * sunrpc/pmap_clnt.c: Likewise.
11125 * sunrpc/pmap_prot.c: Likewise.
11126 * sunrpc/pmap_prot2.c: Likewise.
11127 * sunrpc/pmap_rmt.c: Likewise.
11128 * sunrpc/publickey.c: Likewise.
11129 * sunrpc/rpc_cmsg.c: Likewise.
11130 * sunrpc/rpc_common.c: Likewise.
11131 * sunrpc/rpc_dtable.c: Likewise.
11132 * sunrpc/rpc_prot.c: Likewise.
11133 * sunrpc/rpc_thread.c: Likewise.
11134 * sunrpc/rtime.c: Likewise.
11135 * sunrpc/svc.c: Likewise.
11136 * sunrpc/svc_auth.c: Likewise.
11137 * sunrpc/svc_authux.c: Likewise.
11138 * sunrpc/svc_raw.c: Likewise.
11139 * sunrpc/svc_run.c: Likewise.
11140 * sunrpc/svc_simple.c: Likewise.
11141 * sunrpc/svc_tcp.c: Likewise.
11142 * sunrpc/svc_udp.c: Likewise.
11143 * sunrpc/svc_unix.c: Likewise.
11144 * sunrpc/svcauth_des.c: Likewise.
11145 * sunrpc/xcrypt.c: Likewise.
11146 * sunrpc/xdr.c: Likewise.
11147 * sunrpc/xdr_array.c: Likewise.
11148 * sunrpc/xdr_float.c: Likewise.
11149 * sunrpc/xdr_intXX_t.c: Likewise.
11150 * sunrpc/xdr_mem.c: Likewise.
11151 * sunrpc/xdr_rec.c: Likewise.
11152 * sunrpc/xdr_ref.c: Likewise.
11153 * sunrpc/xdr_sizeof.c: Likewise.
11154 * sunrpc/xdr_stdio.c: Likewise.
11155
e6c61494
UD
111562011-04-10 Ulrich Drepper <drepper@gmail.com>
11157
11158 [BZ #12650]
11159 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11160 * sysdeps/ia64/dl-tls.h: Likewise.
11161 * sysdeps/powerpc/dl-tls.h: Likewise.
11162 * sysdeps/s390/dl-tls.h: Likewise.
11163 * sysdeps/sh/dl-tls.h: Likewise.
11164 * sysdeps/sparc/dl-tls.h: Likewise.
11165 * sysdeps/x86_64/dl-tls.h: Likewise.
11166 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11167
34fe483e
AS
111682011-03-14 Andreas Schwab <schwab@redhat.com>
11169
11170 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11171 rpath element also skip the following colon.
11172 (expand_dynamic_string_token): Add is_path parameter and pass
11173 down to DL_DST_REQUIRED and _dl_dst_substitute.
11174 (decompose_rpath): Call expand_dynamic_string_token with
11175 non-zero is_path. Ignore empty rpaths.
11176 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11177 with zero is_path.
11178
f12a32e6
AS
111792011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11180
11181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11182 Make cancelable.
11183
38a7d692
UD
111842011-04-09 Ulrich Drepper <drepper@gmail.com>
11185
11186 [BZ #12655]
11187 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11188 Patch by Filipe David Manana <fdmanana@apache.org>.
11189
e451d22b
AS
111902011-04-07 Andreas Schwab <schwab@redhat.com>
11191
11192 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11193 Maintain aligned stack.
11194 (CHECK_RSP): Remove unused macro.
11195
dedc7c7b
UD
111962011-04-03 Ulrich Drepper <drepper@gmail.com>
11197
11198 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11199 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11200
94521213
UD
112012011-04-02 Ulrich Drepper <drepper@gmail.com>
11202
11203 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11204
8cb700c0 11205 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 11206
0354e355
L
112072011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11208
11209 [BZ #12518]
11210 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11211 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11212 * sysdeps/x86_64/memmove.c: New file.
11213 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11214 (memcpy): Renamed to ...
11215 (__new_memcpy): This.
11216 (memcpy): Provide GLIBC_2_14 memcpy.
11217 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11218 (memcpy): Provide GLIBC_2_2_5 memcpy.
11219
8593482f
UD
112202011-04-01 Ulrich Drepper <drepper@gmail.com>
11221
11222 [BZ #12631]
11223 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11224
81a5726b
AS
112252011-03-30 Andreas Schwab <schwab@redhat.com>
11226
11227 * misc/syncfs.c: New file.
11228 * misc/Makefile (routines): Add syncfs.
11229 * posix/unistd.h: Declare syncfs.
11230 * sysdeps/unix/syscalls.list: Add syncfs.
11231
00e5419f
AS
112322011-04-01 Andreas Schwab <schwab@redhat.com>
11233
11234 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11235 open_by_handle_at.
11236 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11237 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11238 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11239 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11240 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11241 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11242 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11243
748876bf
UD
112442011-04-01 Ulrich Drepper <drepper@gmail.com>
11245
658e451d
UD
11246 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11247 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11248 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11249 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11250 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11251 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11252 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11253
748876bf
UD
11254 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11255 sync_file_range.c with -fexceptions.
11256 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11257 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11258 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11259 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11260 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11261 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11262 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
11263 sync_file_range as cancellation point
11264 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11265 now a wrapper around __call_sync_file_range with cancellation handling.
11266 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11267 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11268 function name to __call_sync_file_range.
11269 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11270 Add call_sync_file_range.
748876bf 11271
6e63d5e1
AS
112722011-04-01 Andreas Schwab <schwab@redhat.com>
11273
11274 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 11275 bits/timex.h.
6e63d5e1 11276
46998f74
UD
112772011-04-01 Ulrich Drepper <drepper@gmail.com>
11278
4c1423ed
UD
11279 * iconv/iconv.h: Fix typo in comment.
11280 * io/fcntl.h: Likewise.
11281 * libio/stdio.h: Likewise.
11282 * posix/spawn.h: Likewise.
11283 * posix/unistd.h: Likewise.
11284 * stdlib/stdlib.h: Likewise.
11285 * time/time.h: Likewise.
11286 * wcsmbs/wchar.h: Likewise.
11287
158648c0
UD
11288 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11289 open_by_handle): Add.
11290 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11291 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
11292 Augment a few comments.
11293 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11294 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11295 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11296 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11297 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11298 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11299 open_by_handle.
11300
46998f74
UD
11301 * io/fcntl.h (AT_EMPTY_PATH): Define.
11302
83fe108b
UD
113032011-03-30 Ulrich Drepper <drepper@gmail.com>
11304
11305 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11306 * sysdeps/unix/sysv/linux/bits/time.h: New file.
11307 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11308 to...
11309 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
11310 * Versions.def: Add GLIBC_2.14.
11311 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11312 Export.
83fe108b 11313
bb242059
UD
113142011-03-22 Ulrich Drepper <drepper@gmail.com>
11315
11316 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11317 round counter.
11318 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11319
c97a1282
L
113202011-03-20 H.J. Lu <hongjiu.lu@intel.com>
11321
11322 [BZ #12597]
11323 * string/test-strncmp.c (do_page_test): New function.
11324 (check2): Likewise.
11325 (test_main): Call check2.
11326 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11327
2a115601
UD
113282011-03-20 Ulrich Drepper <drepper@gmail.com>
11329
11330 [BZ #12587]
11331 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11332 Handle cache information in CPU leaf 4.
11333 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11334
8126d904
UD
113352011-03-18 Ulrich Drepper <drepper@gmail.com>
11336
042c49c6 11337 [BZ #12583]
8126d904
UD
11338 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11339 character representation.
11340 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11341
ccfe366e
RA
113422011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
11343
11344 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11345 END(__isnan) to END(__isnanf) to match function entry point/label
11346 EALIGN(__isnanf,...).
11347
c6e13027
JJ
113482011-03-10 Jakub Jelinek <jakub@redhat.com>
11349
11350 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11351
33f85a3f
UD
113522011-03-10 Ulrich Drepper <drepper@gmail.com>
11353
028478fa
UD
11354 [BZ #12510]
11355 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11356 copy from the symbol referenced in the relocation to initialize the
11357 used variable.
11358 Patch by Piotr Bury <pbury@goahead.com>.
11359 * elf/Makefile: Add rules to build and tst-unique3.
11360 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11361 * elf/tst-unique3.cc: New file.
11362 * elf/tst-unique3.h: New file.
11363 * elf/tst-unique3lib.cc: New file.
11364 * elf/tst-unique3lib2.cc: New file.
11365
33f85a3f
UD
11366 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11367
03592fc7
MF
113682011-03-10 Mike Frysinger <vapier@gentoo.org>
11369
11370 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11371 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
11372 to _start.
03592fc7 11373
6a5ee102
UD
113742011-03-06 Ulrich Drepper <drepper@gmail.com>
11375
11376 * elf/dl-load.c (_dl_map_object): If we are looking for the first
11377 to-be-loaded object along a path to loader is ld.so.
11378
7e4ba49c
HJ
113792011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11380 Ulrich Drepper <drepper@gmail.com>
11381
11382 * sysdeps/x86_64/memset.S: After aligning destination, code
11383 branches to different locations depending on the value of
11384 misalignment, when multiarch is enabled. Fix this.
11385
113862011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11387
11388 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11389 Set _x86_64_preferred_memory_instruction for AMD processsors.
11390 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11391 Set bit_Prefer_SSE_for_memop for AMD processors.
11392
13a804de
UD
113932011-03-04 Ulrich Drepper <drepper@gmail.com>
11394
11395 * libio/fmemopen.c (fmemopen): Optimize a bit.
11396
9d25c392
AS
113972011-03-03 Andreas Schwab <schwab@redhat.com>
11398
11399 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
11400
a5543c6a
RM
114012011-03-03 Roland McGrath <roland@redhat.com>
11402
11403 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
11404
012d35f7
DM
114052011-02-28 Aurelien Jarno <aurelien@aurel32.net>
11406
7e4ba49c 11407 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
11408 __bzero_ultra1 instead of __memset_ultra1.
11409
4bff6e01
AS
114102011-02-23 Andreas Schwab <schwab@redhat.com>
11411 Ulrich Drepper <drepper@gmail.com>
11412
11413 [BZ #12509]
11414 * include/link.h (struct link_map): Add l_orig_initfini.
11415 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
11416 returning unsuccessfully.
11417 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
11418 close of a file loaded at startup, restore the original l_initfini
11419 list.
11420 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
11421 list, store the pointer.
11422 * elf/Makefile ($(objpfx)noload-mem): New rule.
11423 (noload-ENV): Define.
11424 (tests): Add $(objpfx)noload-mem.
11425 * elf/noload.c: Include <memcheck.h>.
11426 (main): Call mtrace. Close all opened handles.
11427
f2092faf
AS
114282011-02-17 Andreas Schwab <schwab@redhat.com>
11429
11430 [BZ #12454]
11431 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
11432 dependencies are missing.
11433
6c8a2e88
ST
114342011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
11435
f2092faf 11436 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
11437 Hurd needs munmap.
11438 * sysdeps/mach/hurd/ifreq.h: New file.
11439
84a42118
PB
114402011-01-27 Petr Baudis <pasky@suse.cz>
11441 Ulrich Drepper <drepper@gmail.com>
11442
071f805e 11443 [BZ 12445]#
84a42118
PB
11444 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
11445 to extend_alloca().
11446 * stdio-common/bug23.c: New file.
11447 * stdio-common/Makefile (tests): Add bug23.
11448
e23fe25b
AS
114492010-09-28 Andreas Schwab <schwab@redhat.com>
11450 Ulrich Drepper <drepper@gmail.com>
11451
11452 [BZ #12489]
11453 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
11454 before performing relro protection. At old place add assertion
11455 to make sure nothing changed.
11456
d3f02e10
NS
114572011-02-17 Nathan Sidwell <nathan@codesourcery.com>
11458 Glauber de Oliveira Costa <glommer@gmail.com>
11459
11460 * elf/elf.h: Add new ARM TLS relocs.
11461
d55fd7a5
RA
114622011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
11463
11464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11465 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
11466 cast from r3.
11467 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
11468 'tests' variable.
11469 * sysdeps/wordsize-64/tst-writev.c: New file.
11470
2206397e
RA
114712011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
11472
11473 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
11474 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
11475 insns in _dl_start to prevent a TOC reference before relocs are
11476 resolved.
11477
e9433893
UD
114782011-02-15 Ulrich Drepper <drepper@gmail.com>
11479
11480 [BZ #12469]
11481 * Makeconfig: Remove RANLIB definition.
11482 * Makerules: Don't use RANLIB.
11483 * aclocal.m4: Remove ranlib test.
11484 * configure.in: No need to check for ranlib.
11485 * elf/rtld-Rules: Don't use RANLIB.
11486
f75286c6
ST
114872011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11488
8e31c82d
ST
11489 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
11490 protection macro.
11491 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
11492 inclusion protection macro.
11493
f75286c6
ST
11494 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
11495 SIGRTMIN and SIGRTMAX and print information in that case only when
11496 SIGRTMIN is defined.
11497
c1d0e639
JJ
114982011-02-11 Jakub Jelinek <jakub@redhat.com>
11499
11500 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
11501 arginfo fn returning -1.
11502
11503 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
11504 and thousands string is zero terminated.
11505
edf9294e
AS
115062011-02-03 Andreas Schwab <schwab@redhat.com>
11507
11508 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
11509 sysdeps/unix/sysv/linux/bits/socket.h.
11510
2b7e92df
ST
115112011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
11512
edf9294e
AS
11513 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
11514 (__CPU_COUNT): Remove old macros.
11515 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
11516 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
11517 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
11518 (__sched_cpualloc, __sched_cpufree): Add declarations.
11519
a4c7ea7b
UD
115202011-02-05 Ulrich Drepper <drepper@gmail.com>
11521
11522 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
11523 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
11524 * nscd/aicache.c (addhstaiX): Return timeout of added value.
11525 (readdhstai): Return value of addhstaiX call.
11526 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
11527 (addgrbyX): Return value returned by cache_addgr.
11528 (readdgrbyname): Return value returned by addgrbyX.
11529 (readdgrbygid): Likewise.
11530 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
11531 (addpwbyX): Return value returned by cache_addpw.
11532 (readdpwbyname): Return value returned by addhstbyX.
11533 (readdpwbyuid): Likewise.
11534 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
11535 (addservbyX): Return value returned by cache_addserv.
11536 (readdservbyname): Return value returned by addservbyX:
11537 (readdservbyport): Likewise.
11538 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
11539 (addhstbyX): Return value returned by cache_addhst.
11540 (readdhstbyname): Return value returned by addhstbyX.
11541 (readdhstbyaddr): Likewise.
11542 (readdhstbynamev6): Likewise.
11543 (readdhstbyaddrv6): Likewise.
11544 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
11545 (readdinitgroups): Return value returned by addinitgroupsX.
11546 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
11547 (prune_cache): Keep track of timeout value of re-added entries.
11548 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
11549 * nscd/nscd.h: Adjust prototypes of readd* functions.
11550
a0bf67cc
RM
115512011-02-04 Roland McGrath <roland@redhat.com>
11552
11553 * nis/nis_server.c (nis_servstate): Use the right name for 0.
11554 (nis_stats): Likewise.
11555 * nis/nis_modify.c (nis_modify): Likewise.
11556 * nis/nis_remove.c (nis_remove): Likewise.
11557 * nis/nis_add.c (nis_add): Likewise.
11558
11559 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
11560
11561 * posix/fnmatch_loop.c: Add some consts.
11562
11563 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
11564
435b95eb
L
115652011-02-02 H.J. Lu <hongjiu.lu@intel.com>
11566
11567 [BZ #12460]
11568 * config.make.in (config-cflags-novzeroupper): Define.
11569 * configure.in: Substitute libc_cv_cc_novzeroupper.
11570 * elf/Makefile (AVX-CFLAGS): Define.
11571 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
11572 (CFLAGS-tst-auditmod4a.c): Likewise.
11573 (CFLAGS-tst-auditmod4b.c): Likewise.
11574 (CFLAGS-tst-auditmod6b.c): Likewise.
11575 (CFLAGS-tst-auditmod6c.c): Likewise.
11576 (CFLAGS-tst-auditmod7b.c): Likewise.
11577 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
11578
8517b15e
UD
115792011-02-02 Ulrich Drepper <drepper@gmail.com>
11580
11581 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
11582 function to the callback.
11583 Patch partly by Jiri Olsa <jolsa@redhat.com>.
11584
10a656fe
AS
115852011-02-02 Andreas Schwab <schwab@redhat.com>
11586
11587 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
11588 of errno.
11589
968dad0a
UD
115902011-01-19 Ulrich Drepper <drepper@gmail.com>
11591
9f94d2ea 11592 [BZ #11724]
968dad0a
UD
11593 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
11594 of constructors.
11595 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
11596 of destructors.
11597 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
11598
11599 [BZ #11724]
11600 * elf/Makefile: Add rules to build and run new test.
11601 * elf/tst-initorder.c: New file.
11602 * elf/tst-initorder.exp: New file.
11603 * elf/tst-initordera1.c: New file.
11604 * elf/tst-initordera2.c: New file.
11605 * elf/tst-initordera3.c: New file.
11606 * elf/tst-initordera4.c: New file.
11607 * elf/tst-initorderb1.c: New file.
11608 * elf/tst-initorderb2.c: New file.
11609 * elf/tst-order-a1.c: New file.
11610 * elf/tst-order-a2.c: New file.
11611 * elf/tst-order-a3.c: New file.
11612 * elf/tst-order-a4.c: New file.
11613 * elf/tst-order-b1.c: New file.
11614 * elf/tst-order-b2.c: New file.
11615 * elf/tst-order-main.c: New file.
11616 New test case by George Gensure <werkt0@gmail.com>.
11617
86e92359
UD
116182010-10-01 Andreas Schwab <schwab@redhat.com>
11619
11620 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11621 decoding ACE if AI_CANONIDN.
11622
5d5732b0
UD
116232011-01-18 Ulrich Drepper <drepper@gmail.com>
11624
11625 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
11626
a77e8cbc
UD
116272011-01-17 Ulrich Drepper <drepper@gmail.com>
11628
6392473f
UD
11629 * version.h (RELEASE): Bump for 2.13 release.
11630 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
11631
620a0529
UD
11632 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
11633
18ba70a5
UD
11634 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
11635 MADV_NOHUGEPAGE.
32465c3e
UD
11636 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
11637 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11638 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11639 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11640 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11641 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11642
c0dafcf1
UD
11643 * posix/getconf.c: Update copyright year.
11644 * catgets/gencat.c: Likewise.
11645 * csu/version.c: Likewise.
11646 * debug/catchsegv.sh: Likewise.
11647 * debug/xtrace.sh: Likewise.
11648 * elf/ldconfig.c: Likewise.
11649 * elf/ldd.bash.in: Likewise.
11650 * elf/sprof.c (print_version): Likewise.
11651 * iconv/iconv_prog.c: Likewise.
11652 * iconv/iconvconfig.c: Likewise.
11653 * locale/programs/locale.c: Likewise.
11654 * locale/programs/localedef.c: Likewise.
11655 * malloc/memusage.sh: Likewise.
11656 * malloc/mtrace.pl: Likewise.
11657 * nscd/nscd.c (print_version): Likewise.
11658 * nss/getent.c: Likewise.
11659
a77e8cbc
UD
11660 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
11661 PF_CAIF, and PF_ALG.
11662 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11663
77e8bddf
AS
116642011-01-16 Andreas Schwab <schwab@linux-m68k.org>
11665
1f20b93a
AS
11666 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
11667 (modules-names): Use them.
11668 (ifunc-test-modules, ifunc-pie-tests): Define.
11669 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
11670 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
11671 (test-extras): Likewise.
11672 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
11673 $(compile-command.c).
11674 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
11675 (all-built-dso): Define.
11676 (check-textrel.out, check-execstack.out): Depend on it.
11677
77e8bddf
AS
11678 * configure.in: Don't override --enable-multi-arch.
11679
bc425b33
UD
116802011-01-15 Ulrich Drepper <drepper@gmail.com>
11681
11682 [BZ #6812]
11683 * nscd/hstcache.c (tryagain): Define.
11684 (cache_addhst): Return tryagain not notfound for temporary errors.
11685 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
11686 failed.
11687
794c3ad3
UD
116882011-01-14 Ulrich Drepper <drepper@gmail.com>
11689
70181fdd
UD
11690 [BZ #10563]
11691 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
11692 to make the syscall.
11693 * sysdeps/unix/sysv/linux/setgroups.c: New file.
11694
794c3ad3
UD
11695 [BZ #12378]
11696 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
11697 and fall back to matching as normal character if the string ends before
11698 the matching ']' is found. This is what POSIX requires.
11699 * posix/testfnm.c: Adjust test result.
11700 * posix/globtest.sh: Adjust test result. Add new test.
11701 * posix/tst-fnmatch.input: Likewise.
11702 * posix/tst-fnmatch2.c: Add new test.
11703
68dc9497
AS
117042010-12-28 Andreas Schwab <schwab@linux-m68k.org>
11705
11706 * elf/Makefile (check-execstack): Revert last change. Depend on
11707 check-execstack.h.
11708 (check-execstack.h): New target.
11709 (generated): Add check-execstack.h.
11710 * elf/check-execstack.c: Include "check-execstack.h".
11711 (main): Revert last change.
11712 (handle_file): Return zero if GNU_STACK is absent and
11713 DEFAULT_STACK_PERMS doesn't include PF_X.
11714
451f001b
UD
117152011-01-13 Ulrich Drepper <drepper@gmail.com>
11716
cfa28e56
UD
11717 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
11718 in child fails because the descriptor is already closed.
8cf8ce17
UD
11719 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
11720 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
11721 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 11722
1086d70d
UD
11723 [BZ #12397]
11724 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
11725 syscall.
11726
451f001b
UD
11727 [BZ #10484]
11728 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
11729 temporary buffer used to handle multi lookups locally.
a85b5cb4 11730 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 11731
08769175
UD
117322011-01-12 Ulrich Drepper <drepper@gmail.com>
11733
11734 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
11735 loader is ld.so.
11736
5e49c52e
UD
117372011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
11738
11739 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
11740 alignment for SSE2.
11741
60522a5f
UD
117422011-01-12 Ulrich Drepper <drepper@gmail.com>
11743
11744 [BZ #12394]
11745 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
11746 characters. When rounding increased number of integer digits recompute
11747 number of groups.
11748 * stdio-common/tst-grouping.c: New file.
11749 * stdio-common/Makefile: Add rules to build and run tst-grouping.
11750
f257bbd7
UD
117512011-01-09 Ulrich Drepper <drepper@gmail.com>
11752
11753 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
11754 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
11755
11756 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
11757 void.
11758 * bits/select.h: Likewise.
11759
fa9c15cb
UD
117602011-01-08 Ulrich Drepper <drepper@gmail.com>
11761
11762 * po/ja.po: Update from translation team.
11763
16c2895f
DM
117642011-01-04 David S. Miller <davem@sunset.davemloft.net>
11765
11766 [BZ #11155]
11767 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
11768 implementation just like for lxstat, fxstatat, et al.
11769
2543fef2
JM
117702010-12-27 Jim Meyering <meyering@redhat.com>
11771
11772 [BZ #12348]
11773 * posix/regexec.c (build_trtable): Return failure indication upon
11774 calloc failure. Otherwise, re_search_internal could infloop on OOM.
11775
98727dbe
UD
117762010-12-25 Ulrich Drepper <drepper@gmail.com>
11777
5bd6dc5c
UD
11778 [BZ #12201]
11779 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
11780 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
11781 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
11782 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
11783
97983464
UD
11784 [BZ #12207]
11785 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
11786
98727dbe
UD
11787 [BZ #12204]
11788 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
11789 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
11790
4a531bb0
L
117912010-12-15 H.J. Lu <hongjiu.lu@intel.com>
11792
11793 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
11794 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
11795 script has SORT_BY_INIT_PRIORITY.
11796 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
11797 NO_CTORS_DTORS_SECTIONS is defined.
11798 * elf/soinit.c: Likewise.
11799 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
11800 NO_CTORS_DTORS_SECTIONS is defined.
11801 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
11802 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
11803 * sysdeps/sh/init-first.c: Likewise.
11804 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
11805
07eb4b71
UD
118062010-12-24 Ulrich Drepper <drepper@gmail.com>
11807
11808 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
11809 always use the slow path.
11810
30950a5f
RA
118112010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
11812
11813 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
11814 similar rule which adds the sysdep directories to the header search in
11815 order to pick up the correct platform stackinfo.h.
11816 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
11817 perform test if it is, otherwise return successfully without testing.
11818 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
11819 DEFAULT_STACK_PERMS define in stackinfo.h.
11820 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
11821 defined in stackinfo.h.
11822 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
11823 DEFAULT_STACK_PERMS defined in stackinfo.h.
11824 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
11825 * sysdeps/ia64/stackinfo.h: Likewise.
11826 * sysdeps/s390/stackinfo.h: Likewise.
11827 * sysdeps/sh/stackinfo.h: Likewise.
11828 * sysdeps/sparc/stackinfo.h: Likewise.
11829 * sysdeps/x86_64/stackinfo.h: Likewise.
11830 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
11831 PF_X for powerpc64. Retain PF_X for powerpc32.
11832
db753e2c
UD
118332010-12-19 Ulrich Drepper <drepper@gmail.com>
11834
14b697f7
UD
11835 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
11836 accurately.
db753e2c
UD
11837 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
11838 GETDENTS_64BIT_ALIGNED.
11839
28300719
UD
118402010-12-14 Ulrich Drepper <dreper@gmail.com>
11841
14b697f7 11842 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 11843
4f197237
AS
118442010-12-10 Andreas Schwab <schwab@redhat.com>
11845
dbb0472f
AS
11846 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
11847 _GNU_SOURCE.
11848
4f197237
AS
11849 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
11850 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
11851 Remove __restrict.
11852 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
11853 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
11854
fb88ac72
UD
118552010-12-09 Ulrich Drepper <drepper@gmail.com>
11856
11857 [BZ #11655]
11858 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
11859 are initialized.
11860
42acbb92
JJ
118612010-12-09 Jakub Jelinek <jakub@redhat.com>
11862
11863 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
11864
c038d98d
UD
118652010-12-03 Ulrich Drepper <drepper@gmail.com>
11866
11867 * po/it.po: Update from translation team.
11868
3a4a2499
L
118692010-12-01 H.J. Lu <hongjiu.lu@intel.com>
11870
11871 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
11872 unused codes.
11873
1e24cf6e
UD
118742010-11-30 Ulrich Drepper <drepper@gmail.com>
11875
11876 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
11877
a7690819
AS
118782010-11-24 Andreas Schwab <schwab@redhat.com>
11879
11880 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
11881 specially.
11882 (gaih_getanswer_slice): Likewise.
11883
3bf8d1b1
JJ
118842010-10-20 Jakub Jelinek <jakub@redhat.com>
11885
11886 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
11887
6db52fbb
PB
118882010-05-31 Petr Baudis <pasky@suse.cz>
11889
11890 [BZ #11149]
11891 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
11892 silently even in the chroot mode.
11893
eaca7569
UD
118942010-11-22 Ulrich Drepper <drepper@gmail.com>
11895
11896 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
11897 last patch a bit. Pretty printing
11898
3056dcdb
UD
118992010-05-31 Petr Baudis <pasky@suse.cz>
11900
11901 [BZ #10085]
11902 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
11903 initialization of skip_initgroups_dyn.
11904
cf7c9078
UD
119052010-11-19 Ulrich Drepper <drepper@gmail.com>
11906
11907 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
11908 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11909
a1fb5e3e
UD
119102010-11-16 Ulrich Drepper <drepper@gmail.com>
11911
11912 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
11913
3540d66b
AS
119142010-11-11 Andreas Schwab <schwab@redhat.com>
11915
11916 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
11917 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
11918 (tst-fnmatch-ENV): Set MALLOC_TRACE.
11919 ($(objpfx)tst-fnmatch-mem): New rule.
11920 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
11921 * posix/tst-fnmatch.c (main): Call mtrace.
11922
13b69574
L
119232010-11-11 H.J. Lu <hongjiu.lu@intel.com>
11924
11925 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11926 Support Intel processor model 6 and model 0x2c.
11927
da93d214
LM
119282010-11-10 Luis Machado <luisgpm@br.ibm.com>
11929
11930 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
11931 signed comparison.
11932
8ca52c6e
L
119332010-11-09 H.J. Lu <hongjiu.lu@intel.com>
11934
11935 [BZ #12205]
11936 * string/test-strncasecmp.c (check_result): New function.
11937 (do_one_test): Use it.
11938 (check1): New function.
11939 (test_main): Use it.
11940 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
11941 Support strcasecmp and strncasecmp.
11942
69da074d
UD
119432010-11-08 Ulrich Drepper <drepper@gmail.com>
11944
11945 [BZ #12194]
11946 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
11947 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11948
ff02d528
L
119492010-11-07 H.J. Lu <hongjiu.lu@intel.com>
11950
11951 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
11952 IFUNC support.
11953 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11954 memset-x86-64.
11955 * sysdeps/x86_64/multiarch/bzero.S: New file.
11956 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
11957 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
11958 * sysdeps/x86_64/multiarch/memset.S: New file.
11959 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
11960 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11961 Set bit_Prefer_SSE_for_memop for Intel processors.
11962 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
11963 Define.
11964 (index_Prefer_SSE_for_memop): Define.
11965 (HAS_PREFER_SSE_FOR_MEMOP): Define.
11966
344d0b54
LM
119672010-11-04 Luis Machado <luisgpm@br.ibm.com>
11968
11969 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
11970 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
11971
c0dde15b
UD
119722010-11-03 H.J. Lu <hongjiu.lu@intel.com>
11973
11974 [BZ #12191]
11975 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11976 (__x86_64_raw_data_cache_size_half): Likewise.
11977 (__x86_64_raw_shared_cache_size): Likewise.
11978 (__x86_64_raw_shared_cache_size_half): Likewise.
11979
11980 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11981 (__x86_64_raw_data_cache_size_half): Likewise.
11982 (__x86_64_raw_shared_cache_size): Likewise.
11983 (__x86_64_raw_shared_cache_size_half): Likewise.
11984 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
11985 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
11986 and __x86_64_raw_shared_cache_size_half. Round
11987 __x86_64_data_cache_size_half, __x86_64_data_cache_size
11988 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
11989 to multiple of 256 bytes.
11990
0e516e0e
MS
119912010-11-03 Ulrich Drepper <drepper@gmail.com>
11992
11993 [BZ #12167]
11994 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
11995 of inacessible symlinks. Verify result of symlink before returning it.
11996 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11997 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
11998
0e012e87
ER
119992010-10-28 Erich Ritz <erichritz@gmail.com>
12000
12001 * math/math.h (isinf): Fix typo in comment.
12002
de0ff7bc
UD
120032010-11-01 Ulrich Drepper <drepper@gmail.com>
12004
12005 * po/da.po: Update from translation team.
12006
fa41c84d
UD
120072010-10-26 Ulrich Drepper <drepper@gmail.com>
12008
12009 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12010 is added to the list.
12011
f0967738
AK
120122010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12013 Ulrich Drepper <drepper@gmail.com>
12014
12015 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12016 the global list here. Move code to...
12017 (_dl_add_to_namespace_list): ...here. New function.
12018 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12019 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12020 * elf/dl-load.c (lose): Don't remove the element from the list.
12021 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12022 (_dl_map_object): Likewise.
12023
120242010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
12025
12026 [BZ #12159]
12027 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12028 into all bytes of SSE register.
12029 Patch by Richard Li <richardpku@gmail.com>.
12030
f0967738 120312010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
12032
12033 [BZ #12140]
12034 * malloc/malloc.c (_int_free): Fill correct number of bytes when
12035 perturbing.
12036
d0b9e94f
MB
120372010-10-20 Michael B. Brutman <brutman@us.ibm.com>
12038
12039 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12040 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12041 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12042 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12044 submachine.
12045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12046
8e9f92e9
AS
120472010-10-22 Andreas Schwab <schwab@redhat.com>
12048
12049 * include/dlfcn.h (__RTLD_SECURE): Define.
12050 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
12051 mode & __RTLD_SECURE instead.
12052 (open_path): Rename preloaded parameter to secure.
12053 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12054 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12055 * elf/dl-deps.c (openaux): Likewise.
12056 * elf/rtld.c (struct map_args): Remove is_preloaded.
12057 (map_doit): Don't use it.
12058 (dl_main): Likewise.
12059 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12060 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12061
bc96fbda
AS
120622010-09-09 Andreas Schwab <schwab@redhat.com>
12063
12064 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12065 (sysd-rules-targets): Remove duplicates.
12066 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12067 rtld-%.$o dependency.
12068
22cd1c9b
AS
120692010-10-18 Andreas Schwab <schwab@redhat.com>
12070
12071 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12072 _dl_map_object do it.
12073
18edac48
UD
120742010-10-19 Ulrich Drepper <drepper@gmail.com>
12075
12076 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12077 fast fma builtins, define the macros in the C99 standard.
12078 (FP_FAST_FMAF): Likewise.
12079 (FP_FAST_FMAL): Likewise.
12080 * sysdeps/x86_64/bits/mathdef.h: Likewise.
12081
12082 * bits/mathdef.h: Update copyright year.
12083 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12084
d2050124
MM
120852010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
12086
12087 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12088 builtins, define the macros in the C99 standard.
12089 (FP_FAST_FMAF): Likewise.
12090 (FP_FAST_FMAL): Likewise.
12091 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12092 multiply/add.
12093 (FP_FAST_FMAF): Likewise.
12094
475facd1
JJ
120952010-10-15 Jakub Jelinek <jakub@redhat.com>
12096
12097 [BZ #3268]
12098 * math/libm-test.inc (fma_test): Some new testcases.
12099 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12100 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12101 y and infinite z. Do multiplication by C already in long double.
12102 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12103 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12104 y and infinite z. Do bitwise or of inexact bit into u.d.
12105 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12106 * sysdeps/i386/fpu/s_fmaf.S: Removed.
12107 * sysdeps/i386/fpu/s_fma.S: Removed.
12108 * sysdeps/i386/fpu/s_fmal.S: Removed.
12109
7c08a05c
JJ
121102010-10-16 Jakub Jelinek <jakub@redhat.com>
12111
12112 [BZ #3268]
12113 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12114 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12115 computation is not scheduled after fetestexcept. Fix value
12116 of minimum denormal long double.
12117
f3f7372d
JJ
121182010-10-14 Jakub Jelinek <jakub@redhat.com>
12119
12120 [BZ #3268]
12121 * math/libm-test.inc (fma_test): Add some more tests.
12122 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12123 correctly.
12124
14d43591
AS
121252010-10-15 Andreas Schwab <schwab@redhat.com>
12126
12127 * scripts/data/localplt-s390-linux-gnu.data: New file.
12128 * scripts/data/localplt-s390x-linux-gnu.data: New file.
12129
5e908464
JJ
121302010-10-13 Jakub Jelinek <jakub@redhat.com>
12131
12132 [BZ #3268]
12133 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12134 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12135 instead of dbl-64.
12136 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12137 inlines.
12138 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12139 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12140 if one of x and y is very large and the other is subnormal.
12141 * sysdeps/s390/fpu/s_fmaf.c: New file.
12142 * sysdeps/s390/fpu/s_fma.c: New file.
12143 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12144 * sysdeps/powerpc/fpu/s_fma.S: New file.
12145 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12146 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12147 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12148
121492010-10-12 Jakub Jelinek <jakub@redhat.com>
12150
12151 [BZ #3268]
12152 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12153 fma tests.
12154 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12155 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12156 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12157 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12158 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12159 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12160 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12161
b833d51f
UD
121622010-10-12 Ulrich Drepper <drepper@redhat.com>
12163
12164 [BZ #12078]
12165 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12166 * posix/bug-regex31.input: Add test case.
12167
1751705d
UD
121682010-10-11 Ulrich Drepper <drepper@gmail.com>
12169
e9b9cbf5
UD
12170 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12171 * posix/bug-regex31.input: New file.
12172
12173 [BZ #12078]
12174 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12175 (parse_sub_exp): Fix last change, use postorder.
12176
ef06edbe
UD
12177 * posix/bug-regex31.c: New file.
12178 * posix/Makefile: Add rules to build and run bug-regex31.
12179
a129c80d
UD
12180 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12181
12182 [BZ #12078]
12183 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12184
b76b818e
UD
12185 [BZ #12108]
12186 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12187 to have entries in sys_siglist.
12188
1751705d
UD
12189 [BZ #12093]
12190 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12191 be NULL.
12192
9ff8d36f
JJ
121932010-10-07 Jakub Jelinek <jakub@redhat.com>
12194
12195 [BZ #3268]
12196 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12197 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12198 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12199 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12200 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12201 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12202 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12203 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12204 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12205 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12206 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12207 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12208 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12209 * math/ftestexcept.c (fetestexcept): Likewise.
12210 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12211 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12212 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12213 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12214 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12215 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12216 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12217
af325969
UD
122182010-10-11 Ulrich Drepper <drepper@gmail.com>
12219
c579b202 12220 [BZ #12107]
af325969
UD
12221 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12222 newline.
12223
67a67b95
UD
122242010-10-06 Ulrich Drepper <drepper@gmail.com>
12225
12226 * string/bug-strstr1.c: New file.
12227 * string/Makefile: Add rules to build and run bug-strstr1.
12228
5fb308bc
EB
122292010-10-05 Eric Blake <eblake@redhat.com>
12230
12231 [BZ #12092]
12232 * string/str-two-way.h (two_way_long_needle): Always clear memory
12233 when skipping input due to the shift table.
12234
45db99c7
UD
122352010-10-03 Ulrich Drepper <drepper@gmail.com>
12236
3b111893
UD
12237 [BZ #12005]
12238 * malloc/mcheck.c: Handle large requests.
12239
45db99c7
UD
12240 [BZ #12077]
12241 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12242 for strncmp and strncasecmp.
12243 * string/stratcliff.c: Add tests for strcmp and strncmp.
12244 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12245
cf7a1eb8
NI
122462010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12247
12248 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12249 __set_fpscr.
12250
6484ba5e
AJ
122512010-09-30 Andreas Jaeger <aj@suse.de>
12252
12253 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12254 (CGROUP_SUPER_MAGIC): Define.
12255 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12256 Handle btrfs and cgroup file systems.
12257 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12258 Likewise.
12259
91c42559
LM
122602010-09-27 Luis Machado <luisgpm@br.ibm.com>
12261
12262 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12263 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12264
87a97932
AK
122652010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12266
12267 [BZ #12067]
12268 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12269 trying to locate the ELF header.
12270
c21cc9bc
AS
122712010-09-27 Andreas Schwab <schwab@redhat.com>
12272
12273 [BZ #11611]
12274 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12275 Mask out sign-bit copies when constructing f_fsid.
12276
315970f6
PB
122772010-09-24 Petr Baudis <pasky@suse.cz>
12278
12279 * debug/stack_chk_fail_local.c: Add missing licence exception.
12280 * debug/warning-nop.c: Likewise.
12281
1ac7a2c7
JM
122822010-09-15 Joseph Myers <joseph@codesourcery.com>
12283
12284 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12285 implementing getdents64 using getdents syscall, set d_type if
12286 __ASSUME_GETDENTS32_D_TYPE.
12287
56801c50
AS
122882010-09-16 Andreas Schwab <schwab@redhat.com>
12289
12290 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12291 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12292
dda51327
UD
122932010-09-21 Ulrich Drepper <drepper@redhat.com>
12294
12295 [BZ #12037]
12296 * posix/unistd.h: Undo change of feature selection for ftruncate from
12297 2010-01-11.
12298
8ffcee4a
UD
122992010-09-20 Ulrich Drepper <drepper@redhat.com>
12300
a545ecd9 12301 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
12302 detection.
12303
e24f0a8b
AS
123042010-09-20 Andreas Schwab <schwab@redhat.com>
12305
12306 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12307 fanotify_mark.
12308 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12309
7291c56f
AS
123102010-09-14 Andreas Schwab <schwab@redhat.com>
12311
12312 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12313 variables after CHECK_SP call.
12314 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12315
bc5fb037
AS
123162010-09-13 Andreas Schwab <schwab@redhat.com>
12317 Ulrich Drepper <drepper@redhat.com>
12318
12319 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12320 re-relocationg ld.so.
12321 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12322 _dl_init_paths call.
12323 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
12324 here anymore.
12325
e66e7419
UD
123262010-09-14 Ulrich Drepper <drepper@redhat.com>
12327
12328 * resolv/res_init.c (__res_vinit): Count the default server we added.
12329
c044aa75
CLT
123302010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
12331 Ulrich Drepper <drepper@redhat.com>
12332
12333 [BZ #11968]
12334 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12335 (____longjmp_chk): Use %ebx for saving value across system call.
12336 Add unwind info.
12337
32cf4069
AS
123382010-09-06 Andreas Schwab <schwab@redhat.com>
12339
12340 * manual/Makefile: Don't mix pattern rules with normal rules.
12341
817328ee
AS
123422010-09-05 Andreas Schwab <schwab@linux-m68k.org>
12343
12344 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12345 operation.
12346 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12347 * libio/iofopncook.c (_IO_cookie_init): Likewise.
12348 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12349 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12350 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12351 Likewise.
12352
29fddf61
UD
123532010-09-04 Ulrich Drepper <drepper@redhat.com>
12354
12355 [BZ #11979]
12356 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12357 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12358
0959ffc9
UD
123592010-09-02 Ulrich Drepper <drepper@redhat.com>
12360
12361 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12362 * sysdeps/x86_64/addmul_1.S: Likewise.
12363 * sysdeps/x86_64/lshift.S: Likewise.
12364 * sysdeps/x86_64/mul_1.S: Likewise.
12365 * sysdeps/x86_64/rshift.S: Likewise.
12366 * sysdeps/x86_64/sub_n.S: Likewise.
12367 * sysdeps/x86_64/submul_1.S: Likewise.
12368
ece29840
ST
123692010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
12370
0959ffc9
UD
12371 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12372 Define __sched_param instead of SCHED_* and sched_param when
ece29840 12373 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 12374 * bits/sched.h [__need_schedparam]
ece29840 12375 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
12376 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12377 (__defined_schedparam): Define to 1.
ece29840
ST
12378 (__sched_param): New structure, identical to sched_param.
12379 (__need_schedparam): Undefine.
12380
e53a31fe
MF
123812010-08-31 Mike Frysinger <vapier@gentoo.org>
12382
fdc0c10d
MF
12383 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12384 (epoll_create1): Declare.
12385
e53a31fe
MF
12386 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12387
a726d796
AS
123882010-08-31 Andreas Schwab <schwab@redhat.com>
12389
12390 [BZ #7066]
12391 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
12392 shifting retval into place.
12393
2f3e3dc7
UD
123942010-09-01 Ulrich Drepper <drepper@redhat.com>
12395
f2933da9
UD
12396 * nis/rpcsvc/nis.h: Update copyright notice.
12397 * nis/rpcsvc/nis.x: Likewise.
12398 * nis/rpcsvc/nis_callback.h: Likewise.
12399 * nis/rpcsvc/nis_callback.x: Likewise.
12400 * nis/rpcsvc/nis_object.x: Likewise.
12401 * nis/rpcsvc/nis_tags.h: Likewise.
12402 * nis/rpcsvc/yp.h: Likewise.
12403 * nis/rpcsvc/yp.x: Likewise.
12404 * nis/rpcsvc/ypupd.h: Likewise.
12405 * nis/yp_xdr.c: Likewise.
12406 * nis/ypupdate_xdr.c: Likewise.
12407
2f3e3dc7
UD
12408 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
12409 mainly the body of pmap_getport. Add parameters to specify timeouts.
12410 (pmap_getport): Use __libc_rpc_getport.
12411 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
12412 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
12413 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
12414
f3dcc2f9
AS
124152010-08-31 Andreas Schwab <schwab@linux-m68k.org>
12416
12417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
12418 fanotify_mark.
12419
6d34eb5b
RM
124202010-08-27 Roland McGrath <roland@redhat.com>
12421
12422 * sysdeps/i386/i686/multiarch/Makefile
12423 (CFLAGS-varshift.c): New variable.
12424
9ea3de11
UD
124252010-08-27 Ulrich Drepper <drepper@redhat.com>
12426
c96d23fc
UD
12427 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
12428 * sysdeps/i386/i686/multiarch/varshift.c: New file.
12429
9ea3de11
UD
12430 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
12431
12432 * sysdeps/x86_64/strlen.S: Minimal code improvement.
12433
623aac7f
L
124342010-08-26 H.J. Lu <hongjiu.lu@intel.com>
12435
12436 * sysdeps/x86_64/strlen.S: Unroll the loop.
12437 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12438 strlen-sse2 strlen-sse2-bsf.
12439 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
12440 __strlen_no_bsf if bit_Slow_BSF is set.
12441 (__strlen_sse42): Removed.
12442 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
12443 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
12444
8b2b7715
RM
124452010-08-25 Roland McGrath <roland@redhat.com>
12446
12447 * sysdeps/x86_64/multiarch/varshift.S: File removed.
12448 * sysdeps/x86_64/multiarch/varshift.c: New file.
12449 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
12450 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
12451 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
12452 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12453
e73015f2
L
124542010-08-25 H.J. Lu <hongjiu.lu@intel.com>
12455
12456 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12457 strlen-sse2 strlen-sse2-bsf.
12458 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
12459 __strlen_sse2_bsf if bit_Slow_BSF is unset.
12460 (__strlen_sse2): Removed.
12461 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
12462 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
12463 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12464 bit_Slow_BSF for Atom.
12465 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
12466 (index_Slow_BSF): Define.
12467 (HAS_SLOW_BSF): Define.
12468
df24a73e
UD
124692010-08-25 Ulrich Drepper <drepper@redhat.com>
12470
12471 [BZ #10851]
12472 * resolv/res_init.c (__res_vinit): When no server address at all
12473 is given default to loopback.
12474
f2ac4868
RM
124752010-08-24 Roland McGrath <roland@redhat.com>
12476
09055553
RM
12477 * configure.in: Remove config-name.h generation.
12478 * configure: Regenerated.
12479 * config-name.in: File removed.
12480 * scripts/config-uname.sh: New file.
12481 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
12482 ($(objdir)config-name.h): New target.
12483
f2ac4868
RM
12484 * sunrpc/rpc_parse.h: Avoid nested comment.
12485
73f27d5e
RH
124862010-08-24 Richard Henderson <rth@redhat.com>
12487 Ulrich Drepper <drepper@redhat.com>
12488 H.J. Lu <hongjiu.lu@intel.com>
12489
12490 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
12491 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
12492 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
12493 Replace _mm_srli_si128 with __m128i_shift_right. Replace
12494 _mm_alignr_epi8 with _mm_loadu_si128.
12495 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
12496 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
12497 (__m128i_shift_right): Removed.
12498 * sysdeps/i386/i686/multiarch/varshift.h: New file.
12499 * sysdeps/i386/i686/multiarch/varshift.S: New file.
12500 * sysdeps/x86_64/multiarch/varshift.h: New file.
12501 * sysdeps/x86_64/multiarch/varshift.S: New file.
12502
84b9230c
MF
125032010-08-21 Mike Frysinger <vapier@gentoo.org>
12504
12505 * configure.in: Move assembler checks to before sysdep dir checking.
12506
9bbd0ddc
PB
125072010-08-20 Petr Baudis <pasky@suse.cz>
12508
12509 * LICENSES: Sync the sunrpc license.
12510
9da4bb31
UD
125112010-08-19 Ulrich Drepper <drepper@redhat.com>
12512
a7ab6ec8
UD
12513 * sunrpc/auth_des.c: Update copyright notice once again.
12514 * sunrpc/auth_none.c: Likewise.
12515 * sunrpc/auth_unix.c: Likewise.
12516 * sunrpc/authdes_prot.c: Likewise.
12517 * sunrpc/authuxprot.c: Likewise.
12518 * sunrpc/bindrsvprt.c: Likewise.
12519 * sunrpc/clnt_gen.c: Likewise.
12520 * sunrpc/clnt_perr.c: Likewise.
12521 * sunrpc/clnt_raw.c: Likewise.
12522 * sunrpc/clnt_simp.c: Likewise.
12523 * sunrpc/clnt_tcp.c: Likewise.
12524 * sunrpc/clnt_udp.c: Likewise.
12525 * sunrpc/clnt_unix.c: Likewise.
12526 * sunrpc/des_crypt.c: Likewise.
12527 * sunrpc/des_soft.c: Likewise.
12528 * sunrpc/get_myaddr.c: Likewise.
12529 * sunrpc/getrpcport.c: Likewise.
12530 * sunrpc/key_call.c: Likewise.
12531 * sunrpc/key_prot.c: Likewise.
12532 * sunrpc/openchild.c: Likewise.
12533 * sunrpc/pm_getmaps.c: Likewise.
12534 * sunrpc/pm_getport.c: Likewise.
12535 * sunrpc/pmap_clnt.c: Likewise.
12536 * sunrpc/pmap_prot.c: Likewise.
12537 * sunrpc/pmap_prot2.c: Likewise.
12538 * sunrpc/pmap_rmt.c: Likewise.
12539 * sunrpc/rpc/auth.h: Likewise.
12540 * sunrpc/rpc/auth_unix.h: Likewise.
12541 * sunrpc/rpc/clnt.h: Likewise.
12542 * sunrpc/rpc/des_crypt.h: Likewise.
12543 * sunrpc/rpc/key_prot.h: Likewise.
12544 * sunrpc/rpc/netdb.h: Likewise.
12545 * sunrpc/rpc/pmap_clnt.h: Likewise.
12546 * sunrpc/rpc/pmap_prot.h: Likewise.
12547 * sunrpc/rpc/pmap_rmt.h: Likewise.
12548 * sunrpc/rpc/rpc.h: Likewise.
12549 * sunrpc/rpc/rpc_des.h: Likewise.
12550 * sunrpc/rpc/rpc_msg.h: Likewise.
12551 * sunrpc/rpc/svc.h: Likewise.
12552 * sunrpc/rpc/svc_auth.h: Likewise.
12553 * sunrpc/rpc/types.h: Likewise.
12554 * sunrpc/rpc/xdr.h: Likewise.
12555 * sunrpc/rpc_clntout.c: Likewise.
12556 * sunrpc/rpc_cmsg.c: Likewise.
12557 * sunrpc/rpc_common.c: Likewise.
12558 * sunrpc/rpc_cout.c: Likewise.
12559 * sunrpc/rpc_dtable.c: Likewise.
12560 * sunrpc/rpc_hout.c: Likewise.
12561 * sunrpc/rpc_main.c: Likewise.
12562 * sunrpc/rpc_parse.c: Likewise.
12563 * sunrpc/rpc_parse.h: Likewise.
12564 * sunrpc/rpc_prot.c: Likewise.
12565 * sunrpc/rpc_sample.c: Likewise.
12566 * sunrpc/rpc_scan.c: Likewise.
12567 * sunrpc/rpc_scan.h: Likewise.
12568 * sunrpc/rpc_svcout.c: Likewise.
12569 * sunrpc/rpc_tblout.c: Likewise.
12570 * sunrpc/rpc_util.c: Likewise.
12571 * sunrpc/rpc_util.h: Likewise.
12572 * sunrpc/rpcinfo.c: Likewise.
12573 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
12574 * sunrpc/rpcsvc/key_prot.x: Likewise.
12575 * sunrpc/rpcsvc/klm_prot.x: Likewise.
12576 * sunrpc/rpcsvc/mount.x: Likewise.
12577 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
12578 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
12579 * sunrpc/rpcsvc/rex.x: Likewise.
12580 * sunrpc/rpcsvc/rstat.x: Likewise.
12581 * sunrpc/rpcsvc/rusers.x: Likewise.
12582 * sunrpc/rpcsvc/sm_inter.x: Likewise.
12583 * sunrpc/rpcsvc/spray.x: Likewise.
12584 * sunrpc/rpcsvc/yppasswd.x: Likewise.
12585 * sunrpc/rtime.c: Likewise.
12586 * sunrpc/svc.c: Likewise.
12587 * sunrpc/svc_auth.c: Likewise.
12588 * sunrpc/svc_authux.c: Likewise.
12589 * sunrpc/svc_raw.c: Likewise.
12590 * sunrpc/svc_run.c: Likewise.
12591 * sunrpc/svc_simple.c: Likewise.
12592 * sunrpc/svc_tcp.c: Likewise.
12593 * sunrpc/svc_udp.c: Likewise.
12594 * sunrpc/svc_unix.c: Likewise.
12595 * sunrpc/svcauth_des.c: Likewise.
12596 * sunrpc/xcrypt.c: Likewise.
12597 * sunrpc/xdr.c: Likewise.
12598 * sunrpc/xdr_array.c: Likewise.
12599 * sunrpc/xdr_float.c: Likewise.
12600 * sunrpc/xdr_mem.c: Likewise.
12601 * sunrpc/xdr_rec.c: Likewise.
12602 * sunrpc/xdr_ref.c: Likewise.
12603 * sunrpc/xdr_sizeof.c: Likewise.
12604 * sunrpc/xdr_stdio.c: Likewise.
12605
9da4bb31
UD
12606 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
12607 handling.
12608
bdaa77bc
AS
126092010-08-19 Andreas Schwab <schwab@redhat.com>
12610
12611 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
12612
fe2f79db
LM
126132010-08-19 Luis Machado <luisgpm@br.ibm.com>
12614
12615 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
12616 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
12617 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
12618 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
12619 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
12620 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
12621 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
12622 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
12623 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
12624 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
12625 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
12626 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
12627 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
12628 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
12629
b9b42ee0
AB
126302010-07-26 Anton Blanchard <anton@samba.org>
12631
12632 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
12633 * malloc/arena.c (heap_trim): Likewise.
12634
1c06ba31
UD
126352010-08-16 Ulrich Drepper <drepper@redhat.com>
12636
12637 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
12638 here. Not...
12639 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
12640 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
12641
f8392f40
L
126422010-08-12 H.J. Lu <hongjiu.lu@intel.com>
12643
12644 * sysdeps/i386/elf/Makefile: New file.
12645
3162f12e
AS
126462010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12647
12648 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
12649 from fanotify_init.
12650 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12651 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12652
28c90b2c
UD
126532010-08-15 Ulrich Drepper <drepper@redhat.com>
12654
12655 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
12656 of strncasecmp_l.
1feccb6c 12657 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 12658
ca6bb004
UD
126592010-08-14 Ulrich Drepper <drepper@redhat.com>
12660
e9f82e0d
UD
12661 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12662 strncase_l-nonascii.
12663 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12664 Add strncase_l-ssse3.
12665 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
12666 * sysdeps/x86_64/strcmp.S: Likewise.
12667 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
12668 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
12669 * sysdeps/x86_64/strncase.S: New file.
12670 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
12671 * sysdeps/x86_64/strncase_l.S: New file.
12672 * string/Makefile (strop-tests): Add strncasecmp.
12673 * string/test-strncasecmp.c: New file.
12674
12675 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
12676 warning.
12677
ca6bb004
UD
12678 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
12679 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
12680
052fa7b3
AS
126812010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12682
12683 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
12684
962dba78
UD
126852010-08-12 Ulrich Drepper <drepper@redhat.com>
12686
12687 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
12688 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
12689 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
12690
bebff237
AM
126912010-05-01 Alan Modra <amodra@gmail.com>
12692
12693 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
12694 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
12695 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
12696 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
12697 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
12698 tidying. Don't tail-call __sigjmp_save for static lib.
12699 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
12700 save location.
12701 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
12702 (CALL_MCOUNT): Add eh info, and nop after bl.
12703 (TAIL_CALL_SYSCALL_ERROR): New macro.
12704 (PSEUDO_RET): Use it.
12705 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12706 Correct save location of integer regs and cr.
12707 (_dl_profile_resolve): Correct cr save location. Delete nops
12708 after bl when SHARED. Reduce cfi size a little by better
12709 placement of cfi directives.
12710 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
12711 make a stack frame. Instead use parm save area as a temp.
12712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
12713 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
12714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12715 Don't make a stack frame for parent, use parm save area.
12716 Increase child stack frame to 112 bytes. Don't save unused reg,
12717 and adjust reg usage. Set up cfi on error recovery and
12718 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
12719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12720 (__makecontext): Add dummy nop after jump to exit.
12721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
12722 Use correct parm save area and cr save, reduce stack frame.
12723 Correct cfi for possible PSEUDO_RET frame setup.
12724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
12725 Branch to local label emitted by PSEUDO_RET rather than
12726 __syscall_error.
12727
02637374
AS
127282010-08-12 Andreas Schwab <schwab@redhat.com>
12729
12730 [BZ #11904]
12731 * locale/programs/locale.c (print_assignment): New function.
12732 (show_locale_vars): Use it.
12733
c3e2f19b
UD
127342010-08-11 Ulrich Drepper <drepper@redhat.com>
12735
3cdaa6ad
UD
12736 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
12737 field.
12738 (struct statfs64): Likewise.
12739 (_STATFS_F_FLAGS): Define.
12740 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
12741 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12742 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
12743 (ST_VALID): Define locally.
12744 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
12745 __statvfs_getflags, use the provided value.
12746 * sysdeps/unix/sysv/linux/kernel-features.h: Define
12747 __ASSUME_STATFS_F_FLAGS.
12748
754f7da3
UD
12749 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
12750
10b3bedc
UD
12751 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
12752 Add sys/fanotify.h.
12753 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
12754 fanotify_mask for GLIBC_2.13.
12755 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
12756 fanotify_init and fanotify_mark.
12757 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12758 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
12759
c08fb0d7
UD
12760 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
12761 Add prlimit.
12762 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
12763 prlimit64 for GLIBC_2.13.
12764 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
12765 prlimit64.
12766 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
12767 syscall.
12768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12769 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12770 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
12771 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
12772 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
12773 add prlimit alias.
12774 * sysdeps/unix/sysv/linux/prlimit.c: New file.
12775
15bac72b
UD
12776 [BZ #11903]
12777 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
12778 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
12779
c3e2f19b
UD
12780 * nss/Makefile: Add rules to build and run tst-nss-test1.
12781 * shlib-versions: Add entry for libnss_test1.
12782 * nss/nss_test1.c: New file.
12783 * nss/tst-nss-test1.c: New file.
12784
12785 * nss/nsswitch.c (__nss_database_custom): Define new variable.
12786 (__nss_configure_lookup): Set appropriate entry in
12787 __nss_configure_lookup to true.
12788 * nss/nsswitch.h: Define enum with indeces of databases in
12789 databases and __nss_database_custom arrays. Declare
12790 __nss_database_custom.
12791 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
12792 to avoid using nscd when custom rules are installed.
12793 * nss/getXXbyYY_r.c: Likewise.
12794 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12795
12796 * nss/nss_files/files-parse.c: Whitespace fixes.
12797
f15ce4d8
UD
127982010-08-09 Ulrich Drepper <drepper@redhat.com>
12799
12800 [BZ #11883]
12801 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
12802 * posix/fnmatch_loop.c: Likewise.
12803
d22e4cc9
AK
128042010-07-17 Andi Kleen <ak@linux.intel.com>
12805
12806 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
12807 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
12808 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
12809 * Versions.def [GLIBC_2.13]: Add.
12810
805bc17d
UD
128112010-08-06 Ulrich Drepper <drepper@redhat.com>
12812
12813 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12814 Also fail if tpwd after pwuid call is NULL.
12815
5a42321d
ST
128162010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
12817
12818 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
12819 when converting to ms.
12820
fd3ebeda
ST
128212010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12822
12823 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
12824 EOPNOTSUPP errors with ENOTTY.
12825 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
12826 EOPNOTSUPP errors with ENOTTY.
12827
73507d3a
UD
128282010-07-31 Ulrich Drepper <drepper@redhat.com>
12829
12830 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12831 Add strcasecmp_l-ssse3.
12832 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
12833 strcasecmp.
12834 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
12835 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
12836 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
12837
fe36dd02
UD
128382010-07-30 Ulrich Drepper <drepper@redhat.com>
12839
66f6765a
UD
12840 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
12841
42e08a54
UD
12842 * string/Makefile (strop-tests): Add strcasecmp.
12843 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12844 strcasecmp_l-nonascii.
12845 (gen-as-const-headers): Add locale-defines.sym.
12846 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
12847 * sysdeps/x86_64/strcasecmp.S: New file.
12848 * sysdeps/x86_64/strcasecmp_l.S: New file.
12849 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
12850 * sysdeps/x86_64/locale-defines.sym: New file.
12851 * string/test-strcasecmp.c: New file.
12852
fe36dd02
UD
12853 * string/test-strcasestr.c: Test both ends of the range of characters.
12854 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
12855
48cbc0d6
RM
128562010-07-29 Roland McGrath <roland@redhat.com>
12857
76e6d6bc 12858 [BZ #11856]
48cbc0d6
RM
12859 * manual/locale.texi (Yes-or-No Questions): Fix example code.
12860
880113d9
UD
128612010-07-27 Ulrich Drepper <drepper@redhat.com>
12862
12863 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
12864 for ld.so.
12865
deb9cabb
AS
128662010-07-27 Andreas Schwab <schwab@redhat.com>
12867
12868 * manual/memory.texi (Malloc Tunable Parameters): Document
12869 M_PERTURB.
12870
1c7570ff
RM
128712010-07-26 Roland McGrath <roland@redhat.com>
12872
12873 [BZ #11840]
12874 * configure.in (-fgnu89-inline check): Set and substitute
12875 gnu89_inline, not libc_cv_gnu89_inline.
12876 * configure: Regenerated.
12877 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
12878
24fb0f88
UD
128792010-07-26 Ulrich Drepper <drepper@redhat.com>
12880
12881 * string/test-strnlen.c: New file.
12882 * string/Makefile (strop-tests): Add strnlen.
12883 * string/tester.c (test_strnlen): Add a few more test cases.
12884 * string/tst-strlen.c: Better error reporting.
12885
12886 * sysdeps/x86_64/strnlen.S: New file.
12887
8e96b93a
UD
128882010-07-24 Ulrich Drepper <drepper@redhat.com>
12889
12890 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
12891 lower-latency instructions.
12892
dbc676d4
UD
128932010-07-23 Ulrich Drepper <drepper@redhat.com>
12894
12895 * string/test-strcasestr.c: New file.
12896 * string/test-strstr.c: New file.
12897 * string/Makefile (strop-tests): Add strstr and strcasestr.
12898 * string/str-two-way.h: Don't undefine MAX.
12899 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
12900
f6a31e0e
AS
129012010-07-21 Andreas Schwab <schwab@redhat.com>
12902
12903 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12904 strcasestr-nonascii.
12905 (CFLAGS-strcasestr-nonascii.c): Define.
12906 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
12907 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
12908 Remove unused attribute.
12909
5dbc3b6c
RM
129102010-07-20 Roland McGrath <roland@redhat.com>
12911
12912 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
12913 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
12914 ld.so.cache was broken. With it, there is no way to disable dsocaps
12915 like LD_HWCAP_MASK can disable hwcaps.
12916
23d101d8
EPM
129172010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12918
12919 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
12920
cc9f2e47
UD
129212010-07-16 Ulrich Drepper <drepper@redhat.com>
12922
12923 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
12924 call in strcasestr.
12925 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
12926 __strcasestr_sse42_nonascii.
12927 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
12928 strcasestr-nonascii.c.
12929 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
12930
77c1b069
LM
129312010-06-15 Luis Machado <luisgpm@br.ibm.com>
12932
12933 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
12934 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
12935 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
12936 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
12937
440566c3
UD
129382010-07-09 Ulrich Drepper <drepper@redhat.com>
12939
12940 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
12941 fcntl.
12942
5be9d05d
AS
129432010-07-06 Andreas Schwab <schwab@redhat.com>
12944
c30b7ee2 12945 [BZ #11577]
5be9d05d
AS
12946 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
12947 dl_signal_cerror.
12948
8a492a67
UD
129492010-07-06 Ulrich Drepper <drepper@redhat.com>
12950
12951 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
12952 _PC_PIPE_BUF using F_GETPIPE_SZ.
12953
713df3d5
RM
129542010-07-05 Roland McGrath <roland@redhat.com>
12955
12956 * manual/arith.texi (Rounding Functions): Fix rint description
12957 implicit in round description.
12958
702e8f14
UD
129592010-07-02 Ulrich Drepper <drepper@redhat.com>
12960
12961 * elf/Makefile: Fix linking for a few tests to make recent linker
12962 happy.
12963
52ed8be9
AS
129642010-06-30 Andreas Schwab <schwab@redhat.com>
12965
12966 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12967 $(common-objpfx)libc_nonshared.a.
12968
f47c9a11
LM
129692010-06-21 Luis Machado <luisgpm@br.ibm.com>
12970
12971 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
12972 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
12973 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12974 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12975 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
12976 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
12977 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12978 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
12980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
12981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
12982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
12984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
12986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
12987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
12988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
12989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
12991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
12993 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
12994 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
12995 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
12996 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
12997 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
12998 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
12999 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13000 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13001 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13002 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13003 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13004 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13019
6fb8cbcb
L
130202010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13021
13022 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13023 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13024 * string/memmove.c (memmove): Renamed to ...
13025 (MEMMOVE): ...this. Default to memmove.
13026 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13027 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13028 (END_CHK): Define.
13029 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13030 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13031 mempcpy-ssse3-back memmove-ssse3-back.
13032 * sysdeps/x86_64/multiarch/bcopy.S: New file .
13033 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13034 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13035 * sysdeps/x86_64/multiarch/memcpy.S: New file.
13036 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13037 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13038 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13039 * sysdeps/x86_64/multiarch/memmove.c: New file.
13040 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13041 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13042 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13043 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13044 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13045 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13046 Define.
13047 (index_Fast_Copy_Backward): Define.
13048 (HAS_ARCH_FEATURE): Define.
13049 (HAS_FAST_REP_STRING): Define.
13050 (HAS_FAST_COPY_BACKWARD): Define.
13051
4e733bac 130522010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
13053
13054 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13055 Restore proper fallback handling.
13056
63c4ed22
UD
130572010-06-19 Ulrich Drepper <drepper@redhat.com>
13058
ac2b484c
UD
13059 [BZ #11701]
13060 * posix/group_member.c (__group_member): Correct checking loop.
13061
63c4ed22
UD
13062 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13063 OOM in getpwuid_r correctly. Return error number when the caller
13064 should return, otherwise -1.
13065 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13066 call returning > 0 value.
13067 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13068
765ade4b
AS
130692010-06-07 Andreas Schwab <schwab@redhat.com>
13070
13071 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13072 libc_nonshared.a from targets in modules-names.
13073
80da2e09
KS
130742010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
13075
13076 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13077 requires it.
13078
158db122
LM
130792010-06-10 Luis Machado <luisgpm@br.ibm.com>
13080
13081 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13082 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13083 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13084 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13085
caa78cf8
AS
130862010-06-02 Andreas Schwab <schwab@redhat.com>
13087
13088 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13089
b2ef2c01
UD
130902010-06-14 Ulrich Drepper <drepper@redhat.com>
13091
13092 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13093 and F_GETPIPE_SZ.
13094 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13095 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13096 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13097 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13098 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13099 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13100
fbd643b6
RM
131012010-06-14 Roland McGrath <roland@redhat.com>
13102
13103 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13104
f32f2869
JJ
131052010-06-07 Jakub Jelinek <jakub@redhat.com>
13106
13107 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13108 __REDIRECT followed by __THROW.
13109 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13110 * posix/getopt.h (getopt): Likewise.
13111
2a50c078
EPM
131122010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13113
13114 * hurd/lookup-at.c (__file_name_lookup_at): Accept
13115 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
13116 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13117 in AT_FLAGS.
13118 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13119 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13120
eb5ad2eb
LM
131212010-05-28 Luis Machado <luisgpm@br.ibm.com>
13122
13123 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13124
3c88fe1e
L
131252010-05-26 H.J. Lu <hongjiu.lu@intel.com>
13126
13127 [BZ #11640]
13128 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13129 Properly check family and model.
13130
d2f73151
TY
131312010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
13132
13133 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13134
ebd2e13d
LM
131352010-05-24 Luis Machado <luisgpm@br.ibm.com>
13136
13137 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13138
b32b8b45
UD
131392010-05-21 Ulrich Drepper <drepper@redhat.com>
13140
13141 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13142 symbol reference.
13143
9acbe24d
AS
131442010-05-19 Andreas Schwab <schwab@redhat.com>
13145
13146 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13147 symbol reference.
13148
f0ccf6ea
AS
131492010-05-21 Andreas Schwab <schwab@redhat.com>
13150
3d04ff3a
AS
13151 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13152 and internal_recvmmsg.
13153 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13154 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13155 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13156 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13157
f0ccf6ea
AS
13158 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13159 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13160 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13161
5b08ac57
AS
131622010-05-20 Andreas Schwab <schwab@redhat.com>
13163
13164 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13165
4828935d
LM
131662010-05-17 Luis Machado <luisgpm@br.ibm.com>
13167
13168 POWER7 optimizations.
13169 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13170 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13171
373d545e
UD
131722010-05-19 Ulrich Drepper <drepper@redhat.com>
13173
13174 * version.h: Update for 2.13 development version.
13175
21a2b1ae
AS
131762010-05-12 Andrew Stubbs <ams@codesourcery.com>
13177
13178 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13179 exceptions. Return 0.
13180
3f7dcb2b
RM
131812010-05-07 Roland McGrath <roland@redhat.com>
13182
13183 * elf/ldconfig.c (main): Add a const.
13184
5f24d53a 131852010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 13186
a160f8d8
UD
13187 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13188 (args_options): Add no-idn option.
13189 (ahosts_keys_int): Add idn_flags to ai_flags.
13190 (parse_option): Handle 'i' option to clear idn_flags.
13191
5f24d53a
UD
13192 * malloc/malloc.c (_int_free): Possible race in the most recently
13193 added check. Only act on the data if no current modification
13194 happened.
265bb1ce
UD
13195
13196See ChangeLog.17 for earlier changes.