]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
soft-fp: fix _FP_DIV_MEAT_* returning results with wrong exponent (bug 16032).
[thirdparty/glibc.git] / ChangeLog
CommitLineData
99fd9f47
JM
12013-10-12 Joseph Myers <joseph@codesourcery.com>
2
8399acaf
JM
3 [BZ #16032]
4 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
5 without decrementing exponent if mantissa >= that for the
6 denominator, not >.
7 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
8 denominator, not >. Decrement exponent in < case instead of
9 incrementing in >= case.
10 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
11 without decrementing exponent if mantissa >= that for the
12 denominator, not >.
13
99fd9f47
JM
14 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15 computing saturated result for unsigned overflow.
16
10e1cf6b
SP
172013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18 Jeff Law <law@redhat.com>
19
20 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
21 (atan2Mp): Add systemtap probe marker.
22 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
23 (__ieee754_log): Add systemtap probe marker.
24 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
25 (atanMp): Add systemtap probe marker.
26 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
27 (tanMp): Add systemtap probe marker.
28 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
29 (__slowexp): Add systemtap probe marker.
30 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
31 (__slowpow): Add systemtap probe marker.
32 * manual/probes.texi: Document probes.
33
3d110c7c
EB
342013-10-11 Eric Biggers <ebiggers3@gmail.com>
35
36 [BZ #15362]
37 * libio/fileops.c (_IO_new_file_write): Return count of bytes
38 written.
39 (_IO_new_file_xsputn): Don't return EOF if nothing has been
40 written.
41 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
42 written to buffer but not flushed.
43 * libio/iofwrite_u.c: Likewise.
44 * libio/iopadn.c: Return bytes returned even if EOF was
45 encountered.
46 * libio/iowpadn.c: Likewise.
47 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
48 if _IO_padn does not write the whole buffer.
49 [!COMPILE_WPRINTF] (PAD): Likewise.
50
75b4202a
DM
512013-10-10 David S. Miller <davem@davemloft.net>
52
53 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
54 directory block.
55
6c6352e6
JM
562013-10-10 Joseph Myers <joseph@codesourcery.com>
57
33b853c3
JM
58 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
59 instead of FSF address.
60 * soft-fp/fixdfti.c: Likewise.
61 * soft-fp/fixsfti.c: Likewise.
62 * soft-fp/fixtfti.c: Likewise.
63 * soft-fp/fixunsdfti.c: Likewise.
64 * soft-fp/fixunssfti.c: Likewise.
65 * soft-fp/fixunstfti.c: Likewise.
66 * soft-fp/floattidf.c: Likewise.
67 * soft-fp/floattisf.c: Likewise.
68 * soft-fp/floattitf.c: Likewise.
69 * soft-fp/floatuntidf.c: Likewise.
70 * soft-fp/floatuntisf.c: Likewise.
71 * soft-fp/floatuntitf.c: Likewise.
72 * soft-fp/trunctfxf2.c: Likewise.
73
6c6352e6
JM
74 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
75 * soft-fp/fixdfti.c: Likewise.
76 * soft-fp/fixsfti.c: Likewise.
77 * soft-fp/fixtfti.c: Likewise.
78 * soft-fp/fixunsdfti.c: Likewise.
79 * soft-fp/fixunssfti.c: Likewise.
80 * soft-fp/fixunstfti.c: Likewise.
81 * soft-fp/floattidf.c: Likewise.
82 * soft-fp/floattisf.c: Likewise.
83 * soft-fp/floattitf.c: Likewise.
84 * soft-fp/floatuntidf.c: Likewise.
85 * soft-fp/floatuntisf.c: Likewise.
86 * soft-fp/floatuntitf.c: Likewise.
87 * soft-fp/trunctfxf2.c: Likewise.
88
3bf78b71
DM
892013-10-10 David S. Miller <davem@davemloft.net>
90
91 * sysdeps/sparc/fpu/libm-test-ulps: Update.
92
6f10289e
JM
932013-10-10 Joseph Myers <joseph@codsourcery.com>
94
bd878fc0
JM
95 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
96 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
97 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
98 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
99 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
100 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
101 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
102
6f10289e
JM
103 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
104 for NaNs before doing comparisons on argument.
105 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
106 Likewise.
107
321e2684
WN
1082013-10-10 Will Newton <will.newton@linaro.org>
109
110 * malloc/hooks.c (memalign_check): Ensure the value of bytes
111 passed to _int_memalign does not overflow.
112
40fefba1
TR
1132013-10-10 Torvald Riegel <triegel@redhat.com>
114
115 * scripts/bench.pl: Add include-sources directive.
116 * benchtests/README: Update documentation.
117
2ae21ed2
JM
1182013-10-10 Joseph Myers <joseph@codesourcery.com>
119
dcc2dd3f
JM
120 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
121 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
122 instead of FP_INIT_ROUNDMODE.
123 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
124 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
125
2ae21ed2
JM
126 [BZ #16034]
127 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
128 copy class of input value.
129 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
130 not handle exceptions.
131 * soft-fp/negsf2.c (__negsf2): Likewise.
132 * soft-fp/negtf2.c (__negtf2): Likewise.
133 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
134
cb8f9562
JM
1352013-10-09 Joseph Myers <joseph@codesourcery.com>
136
137 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
138 semicolon. From Linux kernel.
139
5b60c59d
AB
1402013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
141
142 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
143
b86835ca
YC
1442013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
145
146 [BZ #156]
147 * manual/socket.texi: Added statement about buffer
148 for gethostbyname2_r.
149
e7044ea7
OB
1502013-10-08 Ondřej Bílka <neleai@seznam.cz>
151
152 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
153 Use .p2align directive instead, throughout.
154 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
155 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
156 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
157 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
158 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
159 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
160 * sysdeps/x86_64/strchr.S: Likewise.
161 * sysdeps/x86_64/strrchr.S: Likewise.
162
09544cbc
SP
1632013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
164
88576635
SP
165 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
166
e7b2d1dd
SP
167 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
168
09544cbc
SP
169 * sysdeps/generic/math_private.h (__mpsin1): Remove
170 declaration.
171 (__mpcos1): Likewise.
172 (__mpsin): New argument __range_reduce.
173 (__mpcos): Likewise.
174 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
175 (slow): Use __mpsin and __mpcos.
176 (slow1): Likewise.
177 (slow2): Likewise.
178 (sloww): Likewise.
179 (sloww1): Likewise.
180 (sloww2): Likewise.
181 (bsloww): Likewise.
182 (bsloww1): Likewise.
183 (bsloww2): Likewise.
184 (cslow2): Likewise.
185 (csloww): Likewise.
186 (csloww1): Likewise.
187 (csloww2): Likewise.
188 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
189 range_reduce. Merge in __mpsin1.
190 (__mpcos): Likewise.
191 (__mpsin1): Remove.
192 (__mpcos1): Likewise.
193
7602d070
JM
1942013-10-07 Joseph Myers <joseph@codesourcery.com>
195
196 * locale/loadlocale.c (_nl_intern_locale_data): Use
197 LOCFILE_ALIGNED_P.
198 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
199 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
200 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
201 obstack data is appropriately aligned.
202 (obstack_int32_grow_fast): Likewise.
203 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
204 * locale/programs/locfile.c (add_locale_uint32): Likewise.
205 (add_locale_uint32_array): Likewise.
206
a357259b
SP
2072013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
208
209 * benchtests/Makefile: Remove ARGLIST and RET variables.
210 ($(objpfx)bench-%.c): Pass only function name to the script.
211 * benchtests/README: Update documentation.
212 * benchtests/acos-inputs: Add new directives.
213 * benchtests/acosh-inputs: Likewise.
214 * benchtests/asin-inputs: Likewise.
215 * benchtests/asinh-inputs: Likewise.
216 * benchtests/atan-inputs: Likewise.
217 * benchtests/atanh-inputs: Likewise.
218 * benchtests/cos-inputs: Likewise.
219 * benchtests/cosh-inputs: Likewise.
220 * benchtests/exp-inputs: Likewise.
221 * benchtests/log-inputs: Likewise.
222 * benchtests/pow-inputs: Likewise.
223 * benchtests/rint-inputs: Likewise.
224 * benchtests/sin-inputs: Likewise.
225 * benchtests/sinh-inputs: Likewise.
226 * benchtests/tan-inputs: Likewise.
227 * benchtests/tanh-inputs: Likewise.
228 * scripts/bench.pl: Add support for new directives.
229
9ec1b13d
AM
2302013-10-07 Alan Modra <amodra@gmail.com>
231
232 * README: Fix careless merge.
233
8b7d57cd
AM
2342013-10-05 Alan Modra <amodra@gmail.com>
235
236 * NEWS: Mention powerpc64le support and bugs fixed.
237 * README: Both big-endian and little-endian powerpc64 supported.
238
7b7bab13
ST
2392013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
240
241 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
242 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
243 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
244 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
245
d39baad1
RA
2462013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
247
248 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
249 match prototype.
250
cd78f7e7
JM
2512013-10-04 Joseph Myers <joseph@codesourcery.com>
252
29d73d86
JM
253 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
254 Move -mhard-float appending from
255 ports/sysdeps/powerpc/powerpc32/Makefile.
256 [$(with-fp) = yes] (ASFLAGS): Likewise.
257 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
258 * sysdeps/powerpc/nofpu: Move directory from
259 ports/sysdeps/powerpc/nofpu.
260 * sysdeps/powerpc/soft-fp: Move directory from
261 ports/sysdeps/powerpc/soft-fp.
262 * sysdeps/powerpc/powerpc32/405: Move directory from
263 ports/sysdeps/powerpc/powerpc32/405.
264 * sysdeps/powerpc/powerpc32/440: Move directory from
265 ports/sysdeps/powerpc/powerpc32/440.
266 * sysdeps/powerpc/powerpc32/464: Move directory from
267 ports/sysdeps/powerpc/powerpc32/464.
268 * sysdeps/powerpc/powerpc32/476: Move directory from
269 ports/sysdeps/powerpc/powerpc32/476.
270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
271 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
273 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
275 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
277 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
279 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
280 * README: Update for powerpc-*-linux-gnu software floating point
281 support in libc.
282
e246b347
JM
283 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
284 case to powerpc/powerpc32*.
285 * sysdeps/unix/sysv/linux/configure: Regenerated.
286
89c2003e
JM
287 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
288 (_FPU_MASK_OM): Define as 0x04.
289 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
290 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
291 0x00c10080.
292 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
293 0x0000003c.
294 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
295
cd78f7e7
JM
296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
297 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
298 getcontext_e500.
299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
300 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
301 setcontext_e500.
302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
303 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
304 and setcontext_e500.
305
c755294d
CL
3062013-10-04 Chris Leonard <cjl@sugarlabs,.org>
307
308 * locale/iso-3166.def: Update iso-1366.def and related occurrences
309
e16d221c
SP
3102013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
311
312 * manual/threads.texi (Default Thread Attributes): Fix typo.
313
215c7d43
WN
3142013-10-04 Will Newton <will.newton@linaro.org>
315
316 * malloc/Makefile: Add tst-memalign.
317 * malloc/tst-memalign.c: New file.
318
27d0461b
WN
319 * malloc/tst-posix_memalign.c: Add comments.
320 (do_test): Add comments and call free on all potentially
321 allocated pointers. Add space after cast.
322
1bc92709
WN
323 * malloc/tst-pvalloc.c: Add comments.
324 (do_test): Add comments and call free on all potentially
325 allocated pointers. Remove duplicate check for NULL pointer.
326 Add space after cast.
327
66a9be9d
WN
328 * malloc/tst-valloc.c: Add comments.
329 (do_test): Add comments and call free on all potentially
330 allocated pointers. Remove duplicate check for NULL pointer.
331 Add space after cast.
332
4cb81307
AM
3332013-10-04 Alan Modra <amodra@gmail.com>
334
335 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
336 Use stdint types in rather than __attribute__((mode())).
337 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
338
f8e3e9f3
AM
3392013-10-04 Alan Modra <amodra@gmail.com>
340
341 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
342 Correct handling of unaligned relocs for little-endian.
343 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
344
8f9ebb08
AM
3452013-10-04 Alan Modra <amodra@gmail.com>
346
347 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
348 * configure: Regenerate.
349 * nptl/shlib-versions: Powerpc*le starts at 2.18.
350 * shlib-versions: Likewise.
351
0edf96c2
AM
3522013-10-04 Alan Modra <amodra@gmail.com>
353
354 * string/tester.c (test_memrchr): Increment reported test cycle.
355
e0f7a380
AM
3562013-10-04 Alan Modra <amodra@gmail.com>
357
358 * string/test-memcpy.c (do_one_test): When reporting errors, print
359 string address and don't overrun end of string.
360
466b0393
AM
3612013-10-04 Alan Modra <amodra@gmail.com>
362
363 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
364 insrdi. Make better use of reg selection to speed exit slightly.
365 Schedule entry path a little better. Remove useless "are we done"
366 checks on entry to main loop. Handle wrapping around zero address.
367 Correct main loop count. Handle single left-over word from main
368 loop inline rather than by using loop_small. Remove extra word
369 case in loop_small caused by wrong loop count. Add little-endian
370 support.
371 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
372 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
373 cache hint.
374 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
375 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
376 support. Avoid rlwimi.
377 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
378
3be87c77
AM
3792013-10-04 Alan Modra <amodra@gmail.com>
380
381 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 382 insrdi. Formatting.
3be87c77
AM
383 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
384 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
385 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
386 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
387 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
388 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
389
759cfef3
AM
3902013-10-04 Alan Modra <amodra@gmail.com>
391
392 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
393 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
394 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
395 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
396 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
397 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
398 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
399 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
400 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
401 use of regs. Use power7 mtocrf. Tidy function tails.
402
fe6e95d7
AM
4032013-10-04 Alan Modra <amodra@gmail.com>
404
405 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
406 Formatting. Consistently use rXXX register defines or rN defines.
407 Use early exit labels that avoid restoring unused non-volatile regs.
408 Make cr field use more consistent with rWORDn compares. Rename
409 regs used as shift registers for unaligned loop, using rN defines
410 for short lifetime/multiple use regs.
411 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
412 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
413 addi 1,1,64 to pop stack frame. Simplify return value code.
414 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
415
664318c3
AM
4162013-10-04 Alan Modra <amodra@gmail.com>
417
418 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
419 support. Correct typos, formatting. Optimize tail. Use insrdi
420 rather than rlwimi.
421 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
422 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
423 little-endian support. Correct typos.
424 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
425 rather than rlwimi.
426 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
427 in loop and entry code to keep "and." results.
428 (strchr): Add little-endian support. Comment. Move cntlzd
429 earlier in tail.
430 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
431
43b84013
AM
4322013-10-04 Alan Modra <amodra@gmail.com>
433
434 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
435 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
436 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
437 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
438
8a7413f9
AM
4392013-10-04 Alan Modra <amodra@gmail.com>
440
441 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
442 (rTMP): Define as r11.
443 (strcmp): Add little-endian support. Optimise tail.
444 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
445 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
446 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
447 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
448 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
449 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
450 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
451
33ee81de
AM
4522013-10-04 Alan Modra <amodra@gmail.com>
453
454 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
455 little-endian support. Remove unnecessary "are we done" tests.
456 Handle "s" wrapping around zero and extremely large "size".
457 Correct main loop count. Handle single left-over word from main
458 loop inline rather than by using small_loop. Correct comments.
459 Delete "zero" tail, use "end_max" instead.
460 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
461
db9b4570
AM
4622013-10-04 Alan Modra <amodra@gmail.com>
463
464 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
465 support. Don't branch over align.
466 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
467 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
468 support. Rearrange tmp reg use to suit. Comment.
469 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
470
f7c399cf
AM
4712013-10-04 Alan Modra <amodra@gmail.com>
472
473 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
474
0b2c2ace
AM
4752013-10-04 Alan Modra <amodra@gmail.com>
476
477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
478 conditional form of branch and link when obtaining pc.
479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
480
02f04a6c
AM
4812013-10-04 Alan Modra <amodra@gmail.com>
482
483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
484 HIWORD/LOWORD.
485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
487
9b874b2f
AM
4882013-10-04 Alan Modra <amodra@gmail.com>
489
490 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
491 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
492 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
493 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
494 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
495 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
496 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
497 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
498 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
499 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
500
be1e5d31
AB
5012013-10-04 Anton Blanchard <anton@au1.ibm.com>
502 Alistair Popple <alistair@ozlabs.au.ibm.com>
503 Alan Modra <amodra@gmail.com>
504
505 [BZ #15723]
506 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
507 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
508 _dl_hwcap access for little-endian.
509 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
510 destroy vmx regs when saving unaligned.
511 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
512 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
513 destroy vmx regs when saving unaligned.
514
fef13a78
AM
5152013-10-04 Alan Modra <amodra@gmail.com>
516
517 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
518 Don't use a union to pack hi/low value.
519
76a66d51
AB
5202013-10-04 Anton Blanchard <anton@au1.ibm.com>
521
522 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
523 for little-endian.
524 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
525 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
526 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
527 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
528 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
529
6a31fe7f
AM
5302013-10-04 Alan Modra <amodra@gmail.com>
531
532 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
533 constants to usual value for .cst8 section, and remove redundant
534 high address load.
535 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
536 constant for 0x1p52. Load little-endian words of double from
537 correct stack offsets.
538
7b88401f
AM
5392013-10-04 Alan Modra <amodra@gmail.com>
540
541 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
542 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
543 words of double from correct stack offsets.
544 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
545 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
546 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
547 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
548 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
549 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
550 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
551 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
552 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
553 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
554 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
555 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
556 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
557 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
558 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
559 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
560 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
561
9c008155
AM
5622013-10-04 Alan Modra <amodra@gmail.com>
563
564 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
565 64-bit int/double union.
566 (_FPU_SETCW): Likewise.
567 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
568 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
569
da13146d
AM
5702013-10-04 Alan Modra <amodra@gmail.com>
571
572 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
573 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
574
603e8410
AM
5752013-10-04 Alan Modra <amodra@gmail.com>
576
577 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
578 use vector int constants.
579 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
580
4a28b3ca
AB
5812013-10-04 Anton Blanchard <anton@au1.ibm.com>
582
583 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
584 array with long long.
585 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
586 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
587 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
588 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
589 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
590 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
591 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
592 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
593 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
594 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
595 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
596 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
597 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
598
2ca85d2b
AB
5992013-10-04 Anton Blanchard <anton@au1.ibm.com>
600
601 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
602 (__signbit): Likewise. Correct for little-endian.
603 (__signbitl): Call __signbit.
604 (lrint): Correct for little-endian.
605 (lrintf): Call lrint.
606
62a728ae
AM
6072013-10-04 Alan Modra <amodra@gmail.com>
608
609 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
610 union 32-bit int array member with 64-bit int array.
611 (t515, tm256): Double rather than long double.
612 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
613
32c301df
AM
6142013-10-04 Alan Modra <amodra@gmail.com>
615
616 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
617 Delete.
618 (IEEE854_LONG_DOUBLE_BIAS): Delete.
619 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
620 version of math_ldbl.h.
621
650ef4bd
AM
6222013-10-04 Alan Modra <amodra@gmail.com>
623
624 [BZ #15734], [BZ #15735]
625 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
626 all uses of ieee875 long double macros and unions. Simplify test
627 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
628 ldbl_extract_mantissa value for ix,iy exponents. Properly
629 normalize after ldbl_extract_mantissa, and don't add hidden bit
630 already handled. Don't treat low word of ieee854 mantissa like
631 low word of IBM long double and mask off bit when testing for
632 zero.
633 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
634 all uses of ieee875 long double macros and unions. Simplify tests
635 for 0.0L and inf. Correct double adjustment of k. Delete dead code
636 adjusting ha,hb. Simplify code setting kld. Delete two600 and
637 two1022, instead use their values. Recognise that tests for large
638 "a" and small "b" are mutually exclusive. Rename vars. Comment.
639 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
640 Rewrite all uses of ieee875 long double macros and unions. Simplify
641 test for 0.0L and nan. Correct negation.
642 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
643 ieee875 long double macros and unions. Correct output for large
644 magnitude x. Correct absolute value calculation.
645 (__erfcl): Likewise.
646 * math/libm-test.inc: Add tests for errors discovered in IBM long
647 double versions of fmodl, remainderl, erfl and erfcl.
648
765714ca
AM
6492013-10-04 Alan Modra <amodra@gmail.com>
650
651 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
652 all uses of ieee854 long double macros and unions. Simplify tests
653 for long doubles that are fully specified by the high double.
654 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
655 Likewise.
656 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
657 Remove dead code too.
658 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
659 (__ieee754_ynl): Likewise.
660 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
661 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
662 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
663 Remove dead code too.
664 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
665 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
666 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
667 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
668 Simplify.
669 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
670 Simplify.
671 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
672 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
673 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
674 Comment on variable precision.
675 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
676 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
677 Likewise.
678 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
679 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
680 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
681 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
682 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
683
4ebd120c
AM
6842013-10-04 Alan Modra <amodra@gmail.com>
685
686 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
687 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
688 all uses of ieee854 long double macros and unions.
689 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
690 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
691 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
692 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
693 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
694 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
695 Likewise.
696 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
697 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
698 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
699 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
700 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
701 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
702 Simplify sign and nan test too.
703 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
704 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
705 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
706 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
707 Likewise.
708 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
709 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
710 Likewise.
711 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
712 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
713 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
714 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
715 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
716 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
717
1b6adf88
AM
7182013-10-04 Alan Modra <amodra@gmail.com>
719
720 * stdio-common/printf_size.c (__printf_size): Don't use
721 union ieee854_long_double in fpnum union.
722 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
723 signbit macro to retrieve sign from long double.
724 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
725 retrieve sign from long double.
726 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
727 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
728 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
729 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
730 * math/test-misc.c (main): Don't use union ieee854_long_double.
731
4cf69995
AM
7322013-10-04 Alan Modra <amodra@gmail.com>
733
734 [BZ #15680]
735 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
736 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
737 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
738 calculation. Remove unnecessary test for denormal exponent.
739 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
740 Correct handling of denormals. Avoid undefined shift behaviour.
741 Correct normalisation of low mantissa when low double is denormal.
742 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
743 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
744 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
745 Correct normalisation of low mantissa. Test for overflow of high
746 mantissa and normalise.
747 (ldbl_nearbyint): Use more readable constant for two52.
748 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
749 (__mpn_construct_long_double): Fix test for overflow of high
750 mantissa and correct normalisation. Avoid undefined shift.
751
9605ca6c
AM
7522013-10-04 Alan Modra <amodra@gmail.com>
753
754 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
755 (union ibm_extended_long_double): Define as an array of ieee754_double.
756 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
757 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
758 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
759 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
760 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
761 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
762 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
763 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
764 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
765 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
766 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
767
975569d0
JM
7682013-10-03 Joseph Myers <joseph@codesourcery.com>
769
d3d23756
JM
770 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
771 page size instead of calling getpagesize.
772
975569d0
JM
773 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
774 (LOCFILE_ALIGN_MASK): Likewise.
775 (LOCFILE_ALIGN_UP): Likewise.
776 (LOCFILE_ALIGNED_P): Likewise.
777 * locale/programs/ld-collate.c (collate_output): Use the new
778 macros instead of __alignof__ (int32_t).
779 * locale/weight.h (findidx): Likewise.
780
b1fe1f2b
OB
7812013-10-03 Ondřej Bílka <neleai@seznam.cz>
782
783 [BZ #431]
784 * manual/string.texi: Fix strncat and wcsncat.
785
5f855e35
BM
7862013-10-03 Brooks Moses <bmoses@google.com>
787
788 [BZ #15915]
789 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
790 * Makerules: ...here, and adjust associated comments.
791
3cef6009
WN
7922013-10-02 Will Newton <will.newton@linaro.org>
793
794 * malloc/Makefile: Add tst-pvalloc.
795 * malloc/tst-pvalloc.c: New file.
796
7815420b
WN
7972013-10-02 Will Newton <will.newton@linaro.org>
798
799 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
800 improve test coverage.
801
4868b204
WN
8022013-10-02 Will Newton <will.newton@linaro.org>
803
804 * malloc/Makefile: Add tst-posix_memalign.
805 * malloc/tst-posix_memalign.c: New file.
806
29c793b3
EB
8072013-10-01 Eric Blake <eblake@redhat.com>
808
809 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
810 Use __THROWNL rather than __THROW on static functions.
811
fd967522
PM
8122013-09-30 Petr Machata <pmachata@redhat.com>
813
814 * elf/elf.h (R_AARCH64_ABS16): New macro.
815 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
816 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
817 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
818 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
819 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
820 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
821 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
822 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
823 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
824 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
825 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
826 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
827 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
828 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
829 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
830 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
831 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
832 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
833 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
834 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
835 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
836 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
837 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
838 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
839 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
840 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
841 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
842 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
843 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
844 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
845 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
846 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
847 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
848 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
849 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
850 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
851 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
852 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
853 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
854 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
855 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
856 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
857 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
858 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
859 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
860 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
861 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
862 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
863 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
864 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
865 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
866 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
867 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
868 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
869 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
870 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
871 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
872 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
873 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
874 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
875 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
876 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
877 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
878 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
879 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
880 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
881 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
882 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
883 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
884 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
885 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
886 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
887 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
888 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
889 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
890 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
891 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
892 (R_AARCH64_TLSDESC_LDR): Likewise.
893 (R_AARCH64_TLSDESC_ADD): Likewise.
894 (R_AARCH64_TLSDESC_CALL): Likewise.
895
b2179107
AS
8962013-09-30 Andreas Schwab <schwab@suse.de>
897
898 [BZ #15048]
899 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
900 the nss database lookup.
901 * nscd/initgrcache.c (addinitgroupsX): Likewise.
902 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
903
47f28d0a
MF
9042013-09-28 Mike Frysinger <vapier@gentoo.org>
905
906 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
907
9082013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
909
910 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
911 ${Bash-specific parameter/pattern/string} parameter expansion.
912 * sysdeps/unix/make-syscalls.sh: Likewise.
913
f4518a17
KK
9142013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
915
916 * sysdeps/sh/stackguard-macros.h: New file.
917
dc1a95c7
OB
9182013-09-26 Ondřej Bílka <neleai@seznam.cz>
919
920 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
921 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
922 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
923 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
924 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
925 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
926
5ebbff8f
AZ
9272013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
928
929 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
930 Fix thread ID register.
931
4fd2cf9f
JM
9322013-09-25 Joseph Myers <joseph@codesourcery.com>
933
934 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
935 [POSIX || UNIX98]: Require rather than permitting all symbols from
936 <time.h>.
937 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
938 element of struct sched_param.
939 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
940 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
941 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
942 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
943 constant.
944
12c22bc4
OL
9452013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
946
947 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
948 argument calculation.
949
a03d8ea7
JM
9502013-09-24 Joseph Myers <joseph@codesourcery.com>
951
952 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
953 Expect macro.
954 [POSIX] (pthread_attr_t): Do not require type.
955 [POSIX] (pthread_cond_t): Likewise.
956 [POSIX] (pthread_condattr_t): Likewise.
957 [POSIX] (pthread_key_t): Likewise.
958 [POSIX] (pthread_mutex_t): Likewise.
959 [POSIX] (pthread_mutexattr_t): Likewise.
960 [POSIX] (pthread_once_t): Likewise.
961 [POSIX] (pthread_t): Likewise.
962 [POSIX-based standards] (pthread_atfork): Expect function.
963
6055173a
JM
9642013-09-24 Joseph Myers <joseph@codesourcery.com>
965 Richard Sandiford <richard@codesourcery.com>
966
967 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
968 (swap_endianness_p): New extern variable.
969 (set_big_endian): New inline function.
970 (maybe_swap_uint32): Likewise.
971 (maybe_swap_uint32_array): Likewise.
972 (maybe_swap_uint32_obstack): Likewise.
973 * locale/programs/locfile.c: Include <stdbool.h>.
974 (swap_endianness_p): New variable.
975 (add_locale_uint32): Call maybe_swap_uint32.
976 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
977 (write_locale_data): Call maybe_swap_uint32_array.
978 * locale/programs/ld-collate.c (obstack_int32_grow): Call
979 maybe_swap_uint32.
980 (obstack_int32_grow_fast): Likewise.
981 (output_weightwc): Call maybe_swap_uint32_obstack.
982 (collate_output): Likewise.
983 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
984 (OPT_LITTLE_ENDIAN): Likewise.
985 (options): Add --little-endian and --big-endian options.
986 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
987 * locale/programs/locarchive.c: Include "locfile.h".
988 (GET): New macro.
989 (SET): Likewise.
990 (INC): Likewise.
991 (create_archive): Use the new macros to access fields of
992 structures directly mapped from or written to locale archives.
993 (oldlocrecentcmp): Likewise.
994 (enlarge_archive): Likewise.
995 (insert_name): Likewise.
996 (add_alias): Likewise.
997 (add_locale): Likewise.
998 (delete_locales_from_archive): Likewise.
999 (show_archive_content): Likewise.
1000 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
1001 locale data.
1002
39bf0bb4
RM
10032013-09-24 Roland McGrath <roland@hack.frob.com>
1004
1005 * manual/freemanuals.texi: Updated from (newly) canonical copy at
1006 http://www.gnu.org/doc/freemanuals.texi.
1007 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
1008
f02eed10
WN
10092013-09-24 Will Newton <will.newton@linaro.org>
1010
1011 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
1012 macro.
1013
a3a6c312
JM
10142013-09-23 Joseph Myers <joseph@codesourcery.com>
1015
1016 * locale/hashval.h (compute_hashval): Interpret bytes of key as
1017 unsigned char.
1018
107375ac
MR
10192013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
1020
1021 * manual/threads.texi (POSIX Threads): Fix a typo.
1022
141f3a77
SP
10232013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1024
303e567a
SP
1025 [BZ #14547]
1026 * string/tst-strcoll-overflow.c: New test case.
1027 * string/Makefile (xtests): Add tst-strcoll-overflow.
1028 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
1029 cache if string sizes may cause integer overflow.
1030
141f3a77
SP
1031 [BZ #14547]
1032 * string/strcoll_l.c (coll_seq): New members rule, idx,
1033 save_idx and back_us.
1034 (get_next_seq_nocache): New function.
1035 (do_compare_nocache): New function.
1036 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
1037 when malloc fails.
1038
c61b4d41
CD
10392013-09-23 Carlos O'Donell <carlos@redhat.com>
1040
0b1f8e35
CD
1041 [BZ #15754]
1042 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
1043 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
1044 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
1045
c61b4d41
CD
1046 [BZ #15754]
1047 * elf/Makefile (tests): Add tst-ptrguard1.
1048 (tests-static): Add tst-ptrguard1-static.
1049 (tst-ptrguard1-ARGS): Define.
1050 (tst-ptrguard1-static-ARGS): Define.
1051 * elf/tst-ptrguard1.c: New file.
1052 * elf/tst-ptrguard1-static.c: New file.
1053 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
1054 * sysdeps/i386/stackguard-macros.h: Likewise.
1055 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1056 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1057 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1058 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1059 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1060 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1061
10622013-09-23 Hector Marco <hecmargi@upv.es>
1063 Ismael Ripoll <iripoll@disca.upv.es>
1064 Carlos O'Donell <carlos@redhat.com>
1065
1066 [BZ #15754]
1067 * sysdeps/generic/stackguard-macros.h: Define
1068 __pointer_chk_guard_local and POINTER_CHK_GUARD.
1069 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
1070 Define __pointer_chk_guard_local.
1071 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
1072 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
1073
f5f4e7b4
VV
10742013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
1075
1076 [BZ #15859]
1077 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
1078
5bb43a43
AS
10792013-09-20 Andreas Schwab <schwab@linux-m68k.org>
1080
1081 * include/string.h (__ffs): Declare as hidden.
1082 * string/ffs.c (__ffs): Define as hidden.
1083 * sysdeps/i386/ffs.c (__ffs): Likewise.
1084 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
1085 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
1086 * sysdeps/s390/ffs.c (__ffs): Likewise.
1087 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
1088
3ea5be54
AO
10892013-09-20 Alexandre Oliva <aoliva@redhat.com>
1090
ffb89e53
AO
1091 * NEWS: Mention malloc probes.
1092
322dea08
AO
1093 * malloc/arena.c (new_heap): New memory_heap_new probe.
1094 (grow_heap): New memory_heap_more probe.
1095 (shrink_heap): New memory_heap_less probe.
1096 (heap_trim): New memory_heap_free probe.
1097 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
1098 (systrim): New memory_sbrk_less probe.
1099 * manual/probes.texi: Document them.
1100
655673f3
AO
1101 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
1102 * manual/probes.texi: Document it.
1103
35fed6f1
AO
1104 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
1105 (__libc_realloc): Add memory_realloc_retry probe.
1106 (__libc_memalign): Add memory_memalign_retry probe.
1107 (__libc_valloc): Add memory_valloc_retry probe.
1108 (__libc_pvalloc): Add memory_pvalloc_retry probe.
1109 (__libc_calloc): Add memory_calloc_retry probe.
1110 * manual/probes.texi: Document them.
1111
6999d38c
AO
1112 * malloc/arena.c (get_free_list): Add probe
1113 memory_arena_reuse_free_list.
1114 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
1115 and memory_arena_reuse.
1116 (arena_get2) [!PER_THREAD]: Likewise.
1117 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
1118 memory_arena_reuse_realloc.
1119 * manual/probes.texi: Document them.
1120
0653427f
AO
1121 * malloc/malloc.c (__libc_free): Add
1122 memory_mallopt_free_dyn_thresholds probe.
1123 (__libc_mallopt): Add multiple memory_mallopt probes.
1124 * manual/probes.texi: Document them.
1125
3ea5be54
AO
1126 * malloc/malloc.c: Include stap-probe.h.
1127 (__libc_mallopt): Add memory_mallopt probe.
1128 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
1129 * manual/probes.texi: New.
1130 * manual/Makefile (chapters): Add probes.
1131 * manual/threads.texi: Set next node.
1132
e35696c3 11332013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 1134
e35696c3
CL
1135 [BZ #15963, #13985]
1136 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
1137 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
1138 Add `Chinese' to `nan' entry name.
1139
4aafb73c
SP
11402013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1141
1142 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
1143 (POLYNOMIAL): Likewise.
1144 (TAYLOR_SINCOS): Likewise.
1145 (TAYLOR_SLOW): Likewise.
1146 (__sin): Use TAYLOR_SINCOS.
1147 (__cos): Likewise.
1148 (slow): Use TAYLOR_SLOW.
1149 (sloww): Likewise.
1150 (bsloww): Likewise.
1151 (csloww): Likewise.
1152
d84f25c7
LD
11532013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1154
1155 * stdlib/strtod_l.c: Fix buffer overrun.
1156
5eea0404
SP
11572013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1158
7849ff93
SP
1159 * benchtests/Makefile (bench): Add sincos.
1160 * benchtests/bench-sincos.c: New file.
1161
cfa3c886
SP
1162 * math/libm-test.inc (cos_test_data): New test inputs.
1163 (sin_test_data): Likewise.
1164
b348e1e3
SP
1165 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
1166 macro.
1167 (__sin): Use it.
1168 (__cos): Likewise.
1169 (slow1): Likewise.
1170 (slow2): Likewise.
1171 (sloww1): Likewise.
1172 (sloww2): Likewise.
1173 (bsloww1): Likewise.
1174 (bsloww2): Likewise.
1175 (cslow2): Likewise.
1176 (csloww1): Likewise.
1177 (csloww2): Likewise.
1178
6cce25f8
SP
1179 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
1180 function.
1181 (__sin): Use it.
1182 (__cos): Likewise.
1183
5eea0404
SP
1184 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
1185 gotos.
1186 (__cos): Likewise.
1187
9c21573c
MR
11882013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
1189
1190 * config.h.in (HAVE_MIPS_NAN2008): New macro.
1191 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
1192 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
1193 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
1194 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
1195 * elf/cache.c (print_entry): Handle the new cache flags.
1196
24d22e65
JM
11972013-09-18 Joseph Myers <joseph@codesourcery.com>
1198 Aldy Hernandez <aldyh@redhat.com>
1199
1200 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
1201 Change condition to [_SOFT_FLOAT].
1202 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
1203 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
1204 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
1205 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
1206 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
1207 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
1208 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
1209 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
1210 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
1211 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
1212 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
1213 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
1214 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
1215 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
1216 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
1217 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
1218 declaration.
1219
d13ef066
JM
12202013-09-18 Joseph Myers <joseph@codesourcery.com>
1221
2e071de0
JM
1222 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
1223 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1224 (__longjmp): Use LOAD_GP to load saved GPRs.
1225 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
1226 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1227 (__sigsetjmp): Use SAVE_GP to save GPRs.
1228
d13ef066
JM
1229 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
1230 Do not append -msoft-float.
1231 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
1232
97a0650b
SP
12332013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1234
1235 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
1236
11ca09e9
JM
12372013-09-17 Joseph Myers <joseph@codesourcery.com>
1238
1239 [BZ #15966]
1240 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
1241 (_FPU_GETCW): Use initial "__" on variable and field names but not
1242 on macro parameter name.
1243 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
1244 parentheses around reference to macro parameter.
1245
08ffcf34
RS
12462013-09-13 Richard Sandiford <richard@codesourcery.com>
1247
1248 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
1249 prototype.
1250 (ctype_startup): Use uint32_t in cast and sizeof for
1251 ctype->charnames.
1252
ae7080d3
JL
12532013-09-11 Jia Liu <proljc@gmail.com>
1254
1255 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
1256 __daddr_t_defined.
1257 [__FreeBSD__]: Likewise.
1258
5905e7b3
OB
12592013-09-11 Ondřej Bílka <neleai@seznam.cz>
1260
1261 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1262 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
1263 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
1264 (strchr): Remove __strchr_sse42 ifunc selection.
1265 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
1266 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
1267
b987c776
WN
12682013-09-11 Will Newton <will.newton@linaro.org>
1269
1270 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
1271 parameter to RES. Remove hardcoded 1000 value.
1272 * benchtests/bench-skeleton.c (main): Pass RES parameter
1273 to TIMING_INIT and multiply result by 1000.
1274
ddf985af
AZ
12752013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1276
1277 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1278
ffdd3181
AS
12792013-09-11 Andreas Schwab <schwab@suse.de>
1280
1281 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1282 if not defined.
1283 (O_TMPFILE) [__USE_GNU]: Define.
1284 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
1285 Define.
1286
b73ed247
WN
12872013-09-11 Will Newton <will.newton@linaro.org>
1288
1289 [BZ #15857]
1290 * malloc/malloc.c (__libc_memalign): Check the value of bytes
1291 does not overflow.
1292
55e17aad
WN
12932013-09-11 Will Newton <will.newton@linaro.org>
1294
1295 [BZ #15856]
1296 * malloc/malloc.c (__libc_valloc): Check the value of bytes
1297 does not overflow.
1298
1159a193
WN
12992013-09-11 Will Newton <will.newton@linaro.org>
1300
1301 [BZ #15855]
1302 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
1303 does not overflow.
1304
5905e7b3 13052013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
1306
1307 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
1308 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1309 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1310 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1311 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1312
cdfc721b
AM
13132013-09-10 Allan McRae <allan@archlinux.org>
1314
aa04af00
AM
1315 [BZ #15748]
1316 * manual/arith.texi (Parsing of Floats): Clarify
1317 cross-reference.
1318
cdfc721b
AM
1319 [BZ #15849]
1320 * manual/install.texi (Running make install): Mention
1321 --enable-pt-chown.
1322 * INSTALL: Regenerated.
1323
95e7cf29
MR
13242013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1325
1326 * csu/init-first.c (_init): Remove the !SHARED condition around
1327 FPU control word initialization.
1328 * elf/dl-support.c (_dl_fpu_control): New variable.
1329 (_dl_aux_init) <AT_FPUCW>: Initialize it.
1330 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
1331 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
1332 * math/test-fpucw-static.c: New file.
1333 * math/test-fpucw-ieee.c: New file.
1334 * math/test-fpucw-ieee-static.c: New file.
1335 * math/Makefile (tests): Add `test-fpucw-ieee' and
1336 `$(tests-static)'.
1337 (tests-static): New variable.
1338 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
1339 dependency to...
1340 [($(build-shared),yes)]
1341 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1342 ... this.
1343 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
1344 New dependency.
1345
83e43bf0
AM
13462013-09-09 Allan McRae <allan@archlinux.org>
1347
a9f5ce09
AM
1348 [BZ #15939]
1349 * manual/string.texi (Collation Functions): Fix typo in
1350 strcoll example.
1351 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
1352
34829bc2
AM
1353 [BZ #15893]
1354 * stdlib/isomac.c (get_null_defines): Fix memory leak.
1355
3932737d
AM
1356 [BZ #15892]
1357 * libio/memstream.c (open_memstream): Fix memory leak.
1358 * libio/wmemstream.c (open_wmemstream): Likewise.
1359
83e43bf0
AM
1360 [BZ #15895]
1361 * nscd/netgroupcache.c: Fix nesting of ifdefs.
1362
0c66b8e9
WN
13632013-09-09 Will Newton <will.newton@linaro.org>
1364
1365 * malloc/Makefile: Add tst-realloc to tests.
1366 * malloc/tst-realloc.c: New file.
1367
f6b00fd1
AM
13682013-09-09 Allan McRae <allan@archlinux.org>
1369
1370 [BZ #15844]
1371 * COPYING: Update from GNU website to fix FSF address.
1372 * COPYING.LIB: Likewise.
1373
eec55e16
DM
13742013-09-06 David S. Miller <davem@davemloft.net>
1375
1376 * po/zh_TW.po: Update Chinese (traditional) translation from
1377 translation project.
1378
1ecbb381
RS
13792013-09-06 Richard Sandiford <richard@codesourcery.com>
1380 Joseph Myers <joseph@codesourcery.com>
1381
1382 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
1383 "localeinfo.h".
1384 (obstack_chunk_alloc): New macro.
1385 (obstack_chunk_free): Likewise.
1386 (record_offset): New function.
1387 (init_locale_data): Likewise.
1388 (align_locale_data): Likewise.
1389 (add_locale_empty): Likewise.
1390 (add_locale_raw_data): Likewise.
1391 (add_locale_raw_obstack): Likewise.
1392 (add_locale_string): Likewise.
1393 (add_locale_wstring): Likewise.
1394 (add_locale_uint32): Likewise.
1395 (add_locale_uint32_array): Likewise.
1396 (add_locale_char): Likewise.
1397 (start_locale_structure): Likewise.
1398 (end_locale_structure): Likewise.
1399 (start_locale_prelude): Likewise.
1400 (end_locale_prelude): Likewise.
1401 (write_locale_data): Take locale_file structure rather than an
1402 iovec.
1403 * locale/programs/locfile.h: Include "obstack.h".
1404 (struct locale_file): Change to store locale file contents instead
1405 of header.
1406 (init_locale_data): New prototype.
1407 (align_locale_data): Likewise.
1408 (add_locale_empty): Likewise.
1409 (add_locale_raw_data): Likewise.
1410 (add_locale_raw_obstack): Likewise.
1411 (add_locale_string): Likewise.
1412 (add_locale_wstring): Likewise.
1413 (add_locale_uint32): Likewise.
1414 (add_locale_uint32_array): Likewise.
1415 (add_locale_char): Likewise.
1416 (start_locale_structure): Likewise.
1417 (end_locale_structure): Likewise.
1418 (start_locale_prelude): Likewise.
1419 (end_locale_prelude): Likewise.
1420 (write_locale_data): Update prototype.
1421 * locale/programs/3level.h (struct TABLE): Remove result field.
1422 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
1423 Use new locale_file interface.
1424 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
1425 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
1426 * locale/programs/ld-address.c (address_output): Use new
1427 locale_file interface.
1428 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
1429 NO_ADD_LOCALE.
1430 (collate_finish): Don't call collseq_table_finalize.
1431 (collate_output): Use new locale_file interface.
1432 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
1433 in file.
1434 (NO_FINALIZE): Change to NO_ADD_LOCALE.
1435 (TABLE): Move defines earlier in file.
1436 (ELEMENT): Likewise.
1437 (DEFAULT): Likewise.
1438 (wctrans_table_add): Move macro and inline function earlier in
1439 file.
1440 (struct wctype_table): Move type earlier in file.
1441 (add_locale_wctype_table): New static prototype.
1442 (struct locale_ctype_t): Use logical types instead of struct iovec
1443 pointers for members.
1444 (ctype_output): Use new locale_file interface.
1445 (wctype_table_finalize): Change to add_locale_wctype_table. Use
1446 new locale_file interface.
1447 (allocate_arrays): Update for use of new locale_file interface.
1448 * locale/programs/ld-identification.c (identification_output): Use
1449 new locale_file interface.
1450 * locale/programs/ld-measurement.c (measurement_output): Likewise.
1451 * locale/programs/ld-messages.c (messages_output): Likewise.
1452 * locale/programs/ld-monetary.c (monetary_output): Likewise.
1453 * locale/programs/ld-name.c (name_output): Likewise.
1454 * locale/programs/ld-numeric.c (numeric_output): Likewise.
1455 * locale/programs/ld-paper.c (paper_output): Likewise.
1456 * locale/programs/ld-telephone.c (telephone_output): Likewise.
1457 * locale/programs/ld-time.c (time_output): Likewise.
1458
e029e2e5
AZ
14592013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1460
1461 * benchtests/Makefile: Add memrchr benchmark.
1462 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
1463 benchmark as memrchr.
1464 * benchtests/bench-memrchr-ifunc.c: New file.
1465 * benchtests/bench-memrchr.c: New file.
1466
bbf6e8e4
WN
14672013-09-06 Will Newton <will.newton@linaro.org>
1468
1469 * benchtests/Makefile (string-bench): Add memcpy.
1470
6c82a2f8
CD
14712013-09-05 Carlos O'Donell <carlos@redhat.com>
1472 Cong Wang <amwang@redhat.com>
1473
1474 * sysdeps/unix/sysv/linux/bits/in.h
1475 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
1476 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
1477 before __USE_KERNEL_IPV6_DEFS uses.
1478 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
1479 IPPROTO_BEETPH.
1480 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
1481 sockaddr_in6, or ipv6_mreq.
1482
5430fc65
AZ
14832013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1484
1485 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
1486 memory access for final bytes in some large inputs.
1487 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
1488
4660856c
AZ
14892013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1490
1491 * string/test-memrchr.c: New file.
1492 * string/test-memrchr-ifunc.c: New file.
1493 * string/Makefile: Add new memrchr testcase.
1494
bb8ea713
MF
14952013-09-05 Mike Frysinger <vapier@gentoo.org>
1496
1497 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
1498 fanotify_init returns EPERM.
1499
b92a20b5
JM
15002013-09-04 Joseph Myers <joseph@codesourcery.com>
1501
1502 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
1503 errors.
1504 (top level): Treat second token from macro or constant entries for
1505 allowed headers as allowed.
1506 * include/complex.h: Condition internal declarations on
1507 [!_ISOMAC].
1508 * include/fenv.h: Condition include of <stdbool.h> and internal
1509 declarations on [!_ISOMAC].
7447ccd9
CL
1510
15112013-09-04 Chris Leonard <cjl@sugarlabs,.org>
1512
3e181dda 1513 [BZ #15923]
7447ccd9
CL
1514 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
1515
3f2e46a4
JM
15162013-09-04 Joseph Myers <joseph@codesourcery.com>
1517
1518 * configure.in (--enable-versioning): Remove configure option.
1519 (libc_cv_asm_symver_directive): Remove configure test.
1520 (libc_cv_ld_version_script_option): Likewise.
1521 (VERSIONING): Remove variable and AC_SUBST.
1522 (DO_VERSIONING): Remove AC_DEFINE.
1523 * configure: Regenerated.
1524 * config.h.in (DO_VERSIONING): Remove macro.
1525 * Makerules [$(versioning) = yes]: Change conditionals to
1526 [$(build-shared) = yes].
1527 * config.make.in (versioning): Remove variable.
1528 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
1529 [$(build-shared) = yes].
1530 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
1531 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
1532 * elf/Makefile [$(versioning) = yes]: Change conditionals to
1533 [$(build-shared) = yes].
1534 * extra-lib.mk [$(versioning) = yes]: Likewise.
1535 * hurd/Makefile [$(versioning) = yes]: Likewise.
1536 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
1537 [SHARED].
1538 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
1539 [SHARED].
1540 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1541 [SHARED && !NO_HIDDEN].
1542 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
1543 [SHARED].
1544 [SHARED && DO_VERSIONING]: Likewise..
1545 * libio/Makefile [$(versioning) = yes]: Change conditionals to
1546 [$(build-shared) = yes].
1547 * manual/install.texi (--disable-versioning): Remove
1548 documentation.
1549 * INSTALL: Regenerated.
1550 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
1551 to [SHARED].
1552 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
1553 [$(build-shared) = yes].
1554 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
1555 * sysdeps/i386/i686/multiarch/strstr-c.c
1556 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1557 [SHARED && !NO_HIDDEN].
1558 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
1559 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
1560 * sysdeps/powerpc/powerpc32/dl-machine.c
1561 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
1562 * sysdeps/powerpc/powerpc32/sysdep.h
1563 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
1564 to [SHARED && PIC && !NO_HIDDEN].
1565 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
1566 conditional to [SHARED].
1567
44558701
WN
15682013-09-04 Will Newton <will.newton@linaro.org>
1569
1570 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
1571 * benchtests/bench-string.h: Include bench-timing.h instead
1572 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
1573 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
1574 call to HP_TIMING_DIFF_INIT.
1575 * benchtests/bench-memccpy.c: Use bench-timing.h macros
1576 instead of hp-timing.h macros.
1577 * benchtests/bench-memchr.c: Likewise.
1578 * benchtests/bench-memcmp.c: Likewise.
1579 * benchtests/bench-memcpy.c: Likewise.
1580 * benchtests/bench-memmem.c: Likewise.
1581 * benchtests/bench-memmove.c: Likewise.
1582 * benchtests/bench-memset.c: Likewise.
1583 * benchtests/bench-rawmemchr.c: Likewise.
1584 * benchtests/bench-strcasecmp.c: Likewise.
1585 * benchtests/bench-strcasestr.c: Likewise.
1586 * benchtests/bench-strcat.c: Likewise.
1587 * benchtests/bench-strchr.c: Likewise.
1588 * benchtests/bench-strcmp.c: Likewise.
1589 * benchtests/bench-strcpy.c: Likewise.
1590 * benchtests/bench-strcpy_chk.c: Likewise.
1591 * benchtests/bench-strlen.c: Likewise.
1592 * benchtests/bench-strncasecmp.c: Likewise.
1593 * benchtests/bench-strncat.c: Likewise.
1594 * benchtests/bench-strncmp.c: Likewise.
1595 * benchtests/bench-strncpy.c: Likewise.
1596 * benchtests/bench-strnlen.c: Likewise.
1597 * benchtests/bench-strpbrk.c: Likewise.
1598 * benchtests/bench-strrchr.c: Likewise.
1599 * benchtests/bench-strspn.c: Likewise.
1600 * benchtests/bench-strstr.c: Likewise.
1601
cae16d66
WN
16022013-09-04 Will Newton <will.newton@linaro.org>
1603
1604 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
1605
ffa3cd7f
JM
16062013-09-03 Joseph Myers <joseph@codesourcery.com>
1607
1608 [BZ #15427]
1609 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1610 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
1611 * math/libm-test.inc (lgamma_test_data): Add more tests.
1612 * sysdeps/i386/fpu/libm-test-ulps: Update.
1613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1614
8f02859f
OB
16152013-09-03 Ondřej Bílka <neleai@seznam.cz>
1616
1617 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
1618 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1619 Add ifunc.
1620 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1621 Add strcmp-sse2-unaligned
1622 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
1623
18d43716
MF
16242013-09-02 Mike Frysinger <vapier@gentoo.org>
1625
1626 * Versions.def (libc): Add GLIBC_2.19.
1627
ac444012
MF
16282013-09-02 Mike Frysinger <vapier@gentoo.org>
1629
1630 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
1631 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
1632
b7835e32
JM
16332013-09-02 Joseph Myers <joseph@codesourcery.com>
1634
1635 [BZ #14155]
1636 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
1637 intermediate calculations in recurrence.
1638 (__ieee754_ynf): Likewise.
1639 * math/libm-test.inc (jn_test_data): Do not allow spurious
1640 underflow exception. Add more tests.
1641 (yn_test_data): Add more tests.
1642 * sysdeps/i386/fpu/libm-test-ulps: Update.
1643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1644
8220f4f0
OB
16452013-09-02 Ondřej Bílka <neleai@seznam.cz>
1646
1647 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
1648
f24a6d08
OB
16492013-08-30 Ondřej Bílka <neleai@seznam.cz>
1650
1651 * csu/init-first.c: Fix then/than typos.
1652 * locale/programs/ld-collate.c: Likewise.
1653 * locale/programs/linereader.h: Likewise.
1654 * manual/charset.texi: Likewise.
1655 * manual/filesys.texi: Likewise.
1656 * manual/stdio.texi: Likewise.
1657 * manual/string.texi: Likewise.
1658 * stdlib/fmtmsg.c: Likewise.
1659 * sysdeps/i386/stpncpy.S: Likewise.
1660 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1661 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1662 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1663 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1664
382466e0
OB
16652013-08-30 Ondřej Bílka <neleai@seznam.cz>
1666
1667 * elf/dl-open.c: Fix typos.
1668 * iconvdata/gbbig5.c: Likewise.
1669 * iconvdata/iso-2022-jp.c: Likewise.
1670 * iconv/gconv_int.h: Likewise.
1671 * iconv/loop.c: Likewise.
1672 * nis/rpcsvc/nis.h: Likewise.
1673 * resolv/ns_name.c: Likewise.
1674 * stdio-common/vfscanf.c: Likewise.
1675 * streams/stropts.h: Likewise.
1676 * sunrpc/rpc_thread.c: Likewise.
1677 * sysdeps/i386/strpbrk.S: Likewise.
1678 * sysdeps/ieee754/k_standard.c: Likewise.
1679 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1680 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1681 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1682 * sysdeps/mach/hurd/profil.c: Likewise.
1683 * sysdeps/s390/dl-procinfo.h: Likewise.
1684 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1685 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1686 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
1687 * sysdeps/x86_64/dl-trampoline.S: Likewise.
1688 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1689
0186c6e9
OB
16902013-08-30 Ondřej Bílka <neleai@seznam.cz>
1691
1692 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
1693 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
1694
d4e16af1
OB
16952013-08-29 Ondřej Bílka <neleai@seznam.cz>
1696
1697 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
1698 aix specific files.
1699 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
1700 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
1701 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
1702 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
1703 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
1704 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
1705 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
1706 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
1707
88335980
TS
17082013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1709 Roland McGrath <roland@hack.frob.com>
1710
1711 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
1712 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1713
ed479b02
ST
17142013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
1715
1716 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
1717 __executable_start symbol instead of _start.
1718
f1cc4c86
TS
17192013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1720
d821f07c
TS
1721 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
1722 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
1723 Move macros to...
1724 * sysdeps/gnu/ldsodefs.h: ... this new file.
1725
c54290cf
TS
1726 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
1727 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
1728 instead of ELFOSABI_LINUX.
1729
0007fc9b 1730 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
1731 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
1732 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
1733 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
1734 Likewise.
1735 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
1736 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
1737 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
1738 Likewise.
1739 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1740 (ibm_extended_long_double): Add ieee_nan member.
1741 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
1742 (do_test): New function.
1743
f1cc4c86
TS
1744 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
1745 TEST_TRUNC.
1746 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
1747 functions, renamed from truncdfsf_test, trunctfsf_test,
1748 trunctfdf_test.
1749 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
1750 functions.
1751 (do_test): Run all these.
1752
6f65e668
OB
17532013-08-29 Ondřej Bílka <neleai@seznam.cz>
1754
1755 * argp/argp-help.c: Fix typos.
1756 * argp/argp-parse.c: Likewise.
1757 * debug/backtracesyms.c: Likewise.
1758 * elf/elf.h: Likewise.
1759 * malloc/malloc.c: Likewise.
1760 * nis/nis_print.c: Likewise.
1761 * resolv/res_comp.c: Likewise.
1762 * stdlib/stdlib.h: Likewise.
1763 * sunrpc/clnt_tcp.c: Likewise.
1764 * sunrpc/clnt_udp.c: Likewise.
1765 * sunrpc/clnt_unix.c: Likewise.
1766 * sysdeps/unix/bsd/ptsname.c: Likewise.
1767 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1768 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
1769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
1770 Likewise.
1771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1772 Likewise.
1773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1774 Likewise.
6f65e668
OB
1775 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1776
3a309239
SP
17772013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1778
1779 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
1780 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1781
3b813b29
MF
17822013-08-27 Mike Frysinger <vapier@gentoo.org>
1783
1784 [BZ #15897]
1785 * dlfcn/Makefile (tests): Add bug-dl-leaf.
1786 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
1787 ($(objpfx)bug-dl-leaf): New rule.
1788 ($(objpfx)bug-dl-leaf.so): Likewise.
1789 ($(objpfx)bug-dl-leaf.out): Likewise.
1790 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
1791 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
1792 * dlfcn/bug-dl-leaf.c: New test.
1793 * dlfcn/bug-dl-leaf-lib.c: Likewise.
1794 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
1795 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
1796 (dlclose): Likewise.
1797 (dlmopen): Likewise.
1798
8cc3269f
RM
17992013-08-27 Roland McGrath <roland@hack.frob.com>
1800
7f9d0034
RM
1801 * include/netdb.h [!_ISOMAC]:
1802 Don't include <tls.h>.
1803 (h_errno, __libc_h_errno): Move declaration and macros out of
1804 [_LIBC_REENTRANT].
1805
fb431262
RM
1806 * include/resolv.h [_RESOLV_H_]:
1807 Don't include <tls.h>.
1808 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
1809 * resolv/res_libc.c: Don't include <tls.h>.
1810 (_res): Use __attribute__ ((nocommon)) in place of
1811 __attribute__ ((section (".bss"))).
1812
bd81123a
RM
1813 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
1814 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
1815
c4e42566
RM
1816 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
1817
f890a59b
RM
1818 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
1819 only under [SIOCGIFCONF && SIOCGIFNETMASK].
1820
1821 * resolv/res_mkquery.c: Include <sys/time.h>.
1822
5d1f0a09
RM
1823 * inet/ifreq.c: Moved to ...
1824 * sysdeps/unix/ifreq.c: ... here.
1825 * inet/ifreq.c: New file, true stub version.
1826
6fcf28b3
RM
1827 * socket/sa_len.c: New file.
1828 * socket/Makefile (aux): Add it.
1829 * sysdeps/unix/sysv/linux/Makefile
1830 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
1831 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
1832 and #include <socket/sa_len.c>.
1833 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
1834 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
1835
e041fb8b
RM
1836 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
1837 * bits/socket.h: ... here.
1838
8cc3269f
RM
1839 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
1840 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
1841 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
1842
5d228a43
AS
18432013-08-27 Andreas Schwab <schwab@suse.de>
1844
45b8accc
AS
1845 [BZ #15736]
1846 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
1847 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
1848 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
1849 * string/test-strcasecmp.c (test_main): Run tests in several
1850 locales.
1851 * string/test-strncasecmp.c (test_main): Likewise.
1852
5d228a43
AS
1853 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
1854 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
1855 to __strcasecmp_nonascii and __strncasecmp_nonascii.
1856 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
1857 (__strncasecmp_ssse3) [PIC]: Likewise.
1858
59d112a4
RM
18592013-08-26 Roland McGrath <roland@hack.frob.com>
1860
53234cc3
RM
1861 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
1862
59d112a4
RM
1863 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
1864 instead of explicitly declaring xdecrypt.
1865 * nis/nss_nis/nis-publickey.c: Likewise.
1866
595aba70
SP
18672013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1868
1869 [BZ #15890]
1870 * nscd/aicache.c: Include res_hconf.h.
1871 (addhstaiX): Initialize res_hconf.
1872
ffabd393
AS
18732013-08-26 Andreas Schwab <schwab@suse.de>
1874
1875 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
1876 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
1877
e0a69f5c
SP
18782013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1879
1880 * nscd/aicache.c (addhstaiX): Fix indentation.
1881
8c12f01d
MF
18822013-08-25 Mike Frysinger <vapier@gentoo.org>
1883
1884 * configure.ac: Quote $build_pt_chown test.
1885 * configure: Regenerated.
1886
8fe89494
JM
18872013-08-23 Joseph Myers <joseph@codesourcery.com>
1888
1889 [BZ #15532]
1890 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
1891 * math/s_cexpf.c (__cexpf): Likewise.
1892 * math/s_cexpl.c (__cexpl): Likewise.
1893 * math/libm-test.inc (cexp_test_data): Correct expected return
1894 value for NaN + i0. Add another test.
1895
75b181d6
DM
18962013-08-22 David S. Miller <davem@davemloft.net>
1897
1898 * po/ca.po: Update Catalan translation from translation project.
936241e4 1899 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 1900
acd06bb1
JM
19012013-08-21 Joseph Myers <joseph@codesourcery.com>
1902
1903 [BZ #15797]
1904 * math/s_fdim.c (__fdim): Check for infinite arguments if result
1905 is infinite, not alongside NaN test.
1906 * math/s_fdimf.c (__fdimf): Likewise.
1907 * math/s_fdiml.c (__fdiml): Likewise.
1908 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
1909 errno is unchanged.
1910
c0c3f78a
OB
19112013-08-21 Ondřej Bílka <neleai@seznam.cz>
1912
1913 * argp/argp-help.c: Fix typos.
1914 * crypt/speeds.c: Likewise.
1915 * csu/check_fds.c: Likewise.
1916 * elf/dl-load.c: Likewise.
1917 * elf/dl-open.c: Likewise.
1918 * elf/reldep3.c: Likewise.
1919 * elf/reldep.c: Likewise.
1920 * elf/sprof.c: Likewise.
1921 * iconv/iconv_charmap.c: Likewise.
1922 * iconv/skeleton.c: Likewise.
1923 * iconv/strtab.c: Likewise.
1924 * io/lockf64.c: Likewise.
1925 * libio/libioP.h: Likewise.
1926 * resolv/gai_notify.c: Likewise.
1927 * resolv/ns_name.c: Likewise.
1928 * resolv/ns_samedomain.c: Likewise.
1929 * resolv/res_send.c: Likewise.
1930 * stdlib/random.c: Likewise.
1931 * sunrpc/rpc/xdr.h: Likewise.
1932 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1933 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1934 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1935 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1936 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1937 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1938 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1939 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1940 * sysdeps/mach/hurd/check_fds.c: Likewise.
1941 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1942 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1943 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1944 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1945 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1946 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1947 * sysdeps/pthread/aio_notify.c: Likewise.
1948 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1949 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
1950 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
1951 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1952 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1953
46ed1038
LD
19542013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1955
1956 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
1957 version if bit_Slow_SSE4_2 is set.
1958 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1959 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1960
d400dcac
AZ
19612013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1962
1963 [BZ #15867]
1964 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
1965 trampoline stack frame information.
1966 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
1967 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
1968 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
1969 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
1970 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
1971 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1972 (_libc_vdso_platform_setup): Initialize the signal trampolines.
1973 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
1974 sa_flags value.
1975 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
1976 interrupting a syscall and set with option SA_SIGINFO.
1977
42c8fdd8
JM
19782013-08-20 Joseph Myers <joseph@codesourcery.com>
1979
c980f2f4
JM
1980 [BZ #15531]
1981 * math/s_cproj.c (__cproj): Only return an infinity if one part of
1982 argument is infinite.
1983 * math/s_cprojf.c (__cprojf): Likewise.
1984 * math/s_cprojl.c (__cprojl): Likewise.
1985 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
1986 * math/libm-test.inc (cproj_test_data): Add more tests.
1987
0716c4fc
JM
1988 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
1989
42c8fdd8
JM
1990 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
1991 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
1992 size. Use __ffs to determine corresponding shift.
1993
b31469d0
JM
19942013-08-20 Joseph Myers <joseph@codesourcery.com>
1995 Roland McGrath <roland@hack.frob.com>
1996
1997 * Makefile (INSTALL): Remove trailing blank lines from output of
1998 makeinfo.
1999
4e39af6e
AK
20002013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2001
2002 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
2003 Align 32 bit compat elf_greg to 8 bytes.
2004
f315524e
AA
20052013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2006
2007 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
2008
1326ba1a
SP
20092013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2010
2011 * string/strcoll_l.c (coll_seq): New structure.
2012 (get_next_seq_cached): New function.
2013 (get_next_seq): New function.
2014 (do_compare): New function.
2015 (STRCOLL): Use GNU style definition. Simplify implementation
2016 by using get_next_seq, get_next_seq_cached and do_compare.
2017
91ce4085
FW
20182013-08-16 Florian Weimer <fweimer@redhat.com>
2019
2020 [BZ #14699]
2021 CVE-2013-4237
2022 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
2023 member.
2024 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
2025 member.
2026 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
2027 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
2028 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
2029 conditional.
2030 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
2031 GETDENTS_64BIT_ALIGNED.
2032 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2033 * manual/filesys.texi (Reading/Closing Directory): Document
2034 ENAMETOOLONG return value of readdir_r. Recommend readdir more
2035 strongly.
2036 * manual/conf.texi (Limits for Files): Add portability note to
2037 NAME_MAX, PATH_MAX.
2038 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
2039
ca0a6bc4
AS
20402013-08-13 Andreas Schwab <schwab@suse.de>
2041
2042 [BZ #15749]
2043 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
2044 of fabs.
2045 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
2046 LDBL_MAX_EXP >= 16384]: Add tests for it.
2047
6c1fd795
DM
20482013-08-12 David S. Miller <davem@davemloft.net>
2049
2050 * version.h (RELEASE): Set to "development".
2051 (VERSION): Set to "2.18.90".
2052 * NEWS: Add 2.19 section.
2053
31ad488d
DM
20542013-08-03 David S. Miller <davem@davemloft.net>
2055
2056 * po/ko.po: Update Korean translation from translation project.
2057
db24e684
DM
20582013-08-01 David S. Miller <davem@davemloft.net>
2059
2060 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
2061 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
2062 Bilka.
2063
f723285b
DM
20642013-07-30 David S. Miller <davem@davemloft.net>
2065
2066 * po/fr.po: Update French translation from translation project.
2067
3cbc52db
DM
20682013-07-28 David S. Miller <davem@davemloft.net>
2069
30bbc0cc
DM
2070 * po/cs.po: Update Czech translation from translation project.
2071
3cbc52db
DM
2072 * po/sv.po: Update Swedish translation from translation project.
2073
d492e6d0
DM
20742013-07-27 David S. Miller <davem@davemloft.net>
2075
f1a7f492
DM
2076 * po/eo.po: Update Esperanto translation from translation project.
2077
90e62a4a
DM
2078 * po/vi.po: Update Vietnamese translation from translation project.
2079
d492e6d0
DM
2080 * po/de.po: Update German translation from translation project.
2081
d4baa62d
DM
20822013-07-26 David S. Miller <davem@davemloft.net>
2083
641aa7b4
DM
2084 * po/bg.po: Update Bulgarian translation from translation project.
2085
d4baa62d
DM
2086 * po/nl.po: Update Dutch translation from translation project.
2087 * po/pl.po: Update Polish translation from translation project.
2088 * po/ru.po: Update Russian translation from translation project.
2089
61a9dcb9
DM
20902013-07-24 David S. Miller <davem@davemloft.net>
2091
2092 * po/libc.pot: Update.
2093
7b1f8b58
AZ
20942013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2095
2096 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
2097 variable page size.
2098 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
2099 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
2100 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
2101
a8fc7a03
AK
21022013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2103
2104 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
2105
e4608715
CD
21062013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2107 Andreas Schwab <schwab@suse.de>
2108 Roland McGrath <roland@hack.frob.com>
2109 Joseph Myers <joseph@codesourcery.com>
2110 Carlos O'Donell <carlos@redhat.com>
2111
2112 [BZ #15755]
2113 * config.h.in: Define HAVE_PT_CHOWN.
2114 * config.make.in (build-pt-chown): New variable.
2115 * configure.in (--enable-pt_chown): New configure option.
2116 * configure: Regenerate.
2117 * login/Makefile: Include Makeconfig. Build pt_chown only if
2118 build-pt-chown is enabled.
2119 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
2120 pt_chown to fix pty ownership.
2121 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
2122 CLOSE_ALL_FDS.
2123 * manual/install.texi (Configuring and compiling): Mention
2124 --enable-pt_chown. Add @findex for grantpt.
2125 * INSTALL: Regenerate.
2126
da2d62df
DM
21272013-07-20 David S. Miller <davem@davemloft.net>
2128
2129 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
2130 difference between 32-bit and 64-bit.
2131
d7e06450
CD
21322013-07-15 Carlos O'Donell <carlos@redhat.com>
2133
2134 [BZ #15711]
2135 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
2136 Avoid system header dependency with -ffreestanding.
2137 ($(objpfx)bits/syscall%d): Likewise.
2138
f959cfd7
DM
21392013-07-13 David S. Miller <davem@davemloft.net>
2140
2141 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
2142 underflows from atanl/atan2l due to bug 15319.
2143 (casinh_test_data): Likewise.
2144
c61f8513
DM
21452013-07-07 David S. Miller <davem@davemloft.net>
2146
2147 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2148
72c90ed0
JA
21492013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
2150
2151 * sysdeps/i386/fpu/libm-test-ulps: Update.
2152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2153
52dfbe13
SP
21542013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2155
2156 * configure.in (--enable-lock-elision): Fix message text.
2157 * INSTALL: Regenerate.
2158 * configure: Regenerate.
2159
3f169543
AZ
21602013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2161
2162 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2163
521c6785
AJ
21642013-07-03 Andreas Jaeger <aj@suse.de>
2165
2166 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
2167 define.
2168 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
2169 (ptrace_peeksiginfo_args): Add.
2170 (__ptrace_peeksiginfo_flags): Add.
2171 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2172 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2173 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2174
d2cc15cb
AM
21752013-07-03 Allan McRae <allan@archlinux.org>
2176
2177 * sysdeps/i386/fpu/libm-test-ulps: Update.
2178
3aaeeca7
DM
21792013-07-02 David S. Miller <davem@davemloft.net>
2180
2181 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2182
5314ed1a
MT
21832013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
2184
2185 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2186
67338156
JM
21872013-07-02 Joseph Myers <joseph@codesourcery.com>
2188
2189 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2191
1717da59
AK
21922013-07-02 Andi Kleen <ak@linux.intel.com>
2193
2194 * config.h.in (ENABLE_LOCK_ELISION): Add.
2195 * configure.in (--enable-lock-elision): Add option.
2196 * manual/install.texi: Document --enable lock elision.
2197 * configure: Regenerate
2198 * INSTALL: Regenerate.
2199
1c81621c
L
22002013-07-02 H.J. Lu <hongjiu.lu@intel.com>
2201
2202 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
2203 SSE4.2 strcasecmp for libc.a.
2204 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2205
77f01ab5
JM
22062013-07-02 Joseph Myers <joseph@codesourcery.com>
2207
2208 [BZ #13304]
2209 * soft-fp/op-common.h (_FP_FMA): New macro.
2210 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
2211 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
2212 (_FP_MUL_MEAT_1_imm): ... here.
2213 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
2214 (_FP_MUL_MEAT_1_wide): ... here.
2215 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
2216 (_FP_MUL_MEAT_1_hard): ... here.
2217 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
2218 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
2219 (_FP_MUL_MEAT_2_wide): ... here.
2220 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
2221 (_FP_MUL_MEAT_2_wide_3mul): ... here.
2222 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
2223 (_FP_MUL_MEAT_2_gmp): ... here.
2224 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
2225 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
2226 (_FP_MUL_MEAT_4_wide): ... here.
2227 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
2228 (_FP_MUL_MEAT_4_gmp): ... here.
2229 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
2230 (_FP_WFRACBITS_DW_S): Likewise.
2231 (_FP_WFRACXBITS_DW_S): Likewise.
2232 (_FP_HIGHBIT_DW_S): Likewise.
2233 (FP_FMA_S): Likewise.
2234 (_FP_FRAC_HIGH_DW_S): Likewise.
2235 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
2236 (_FP_WFRACBITS_DW_D): Likewise.
2237 (_FP_WFRACXBITS_DW_D): Likewise.
2238 (_FP_HIGHBIT_DW_D): Likewise.
2239 (FP_FMA_D): Likewise.
2240 (_FP_FRAC_HIGH_DW_D): Likewise.
2241 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
2242 (_FP_WFRACBITS_DW_E): Likewise.
2243 (_FP_WFRACXBITS_DW_E): Likewise.
2244 (_FP_HIGHBIT_DW_E): Likewise.
2245 (FP_FMA_E): Likewise.
2246 (_FP_FRAC_HIGH_DW_E): Likewise.
2247 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
2248 (_FP_WFRACBITS_DW_Q): Likewise.
2249 (_FP_WFRACXBITS_DW_Q): Likewise.
2250 (_FP_HIGHBIT_DW_Q): Likewise.
2251 (FP_FMA_Q): Likewise.
2252 (_FP_FRAC_HIGH_DW_Q): Likewise.
2253 * soft-fp/fmasf4.c: New file.
2254 * soft-fp/fmadf4.c: Likewise.
2255 * soft-fp/fmatf4.c: Likewise.
2256
6308fd9a
LD
22572013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2258
2259 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
2260 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
2261 Silvermont.
2262 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
2263 macro.
2264 (index_Slow_SSE4_2): Likewise.
2265 (index_Prefer_PMINUB_for_stringop): Likewise.
2266 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
2267 bit_Slow_SSE4_2 is set.
2268 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2269 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2270
89cd9569
RA
22712013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2272
2273 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
2274 rtld_global._dl_hwcap2.
2275 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
2276 POWER8.
2277 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
2278 POWER8 feature descriptions defined in _dl_hwcap2.
2279 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
2280 string handling for POWER8 feature bits.
2281 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
2282 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
2283 _dl_powerpc_cap_flags.
2284 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
2285 * sysdeps/powerpc/rtld-global-offsets.sym
2286 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
2287 _dl_hwcap2 in the rtld_global_ro structure.
2288
1ae8bfe0
RA
22892013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2290
2291 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
2292 hardware capabilities in support of AT_HWCAP2.
2293 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
2294 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
2295 GLRO(dl_hwcap2).
2296 (_dl_show_auxv): Add support for calling _dl_procinfo to display
2297 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
2298 explicitly the unknown a_type display mechanism is used.
2299 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
2300 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
2301 struct member.
2302 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
2303 to macro prototype for AT_HWCAP2 support.
2304 * sysdeps/i386/dl-procinfo.h: Likewise.
2305 * sysdeps/s390/dl-procinfo.h: Likewise.
2306 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
2307 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
2308 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
2309 return -1 for unknown a_type display fallback.
2310 * sysdeps/sparc/dl-procinfo.h: Likewise.
2311 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
2312 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
2313
8fbec010
JM
23142013-06-28 Joseph Myers <joseph@codesourcery.com>
2315
2316 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
2317 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
2318
0432680e
PY
23192013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
2320
2321 [BZ #12492]
2322 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
2323 mprotect making __stack_prot writable.
2324
ce61a2ad
NF
23252013-06-28 Nathan Froyd <froydnj@codesourcery.com>
2326 Joseph Myers <joseph@codesourcery.com>
2327
2328 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
2329 as being properly aligned.
2330
f91f1c0f
MR
23312013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
2332
3d0f5d0c
MR
2333 * dlfcn/modstatic5.c: New file.
2334 * dlfcn/tststatic5.c: New file.
2335 * dlfcn/Makefile (tests): Add tststatic5.
2336 (tests-static): Likewise.
2337 (modules-names): Add modstatic5.
2338 (tststatic5-ENV): New variable.
2339 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
2340
f91f1c0f
MR
2341 [BZ #15022]
2342 * elf/dl-support.c (_dl_main_map): New variable.
2343 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
2344 (_dl_nns, _dl_load_adds): Set to 1.
2345 (_dl_initial_searchlist): Refer to _dl_main_map.
2346 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
2347 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
2348 call to _dl_get_origin.
2349 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
2350 around call_map.
2351 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
2352 * dlfcn/modstatic3.c: New file.
2353 * dlfcn/tststatic3.c: New file.
2354 * dlfcn/tststatic4.c: New file.
2355 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
2356 (tests-static): Likewise.
2357 (modules-names): Add modstatic3.
2358 (tststatic3-ENV, tststatic4-ENV): New variables.
2359 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
2360 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
2361
cbe7d24b
JM
23622013-06-26 Joseph Myers <joseph@codesourcery.com>
2363
2364 * configure.in (CC): Require GCC version 4.4 or later.
2365 * configure: Regenerated.
2366 * manual/install.texi (Tools for Compilation): Update GCC version
2367 requirement.
2368 * INSTALL: Regenerated.
2369
11b8a0e1
LD
23702013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2371
2372 [BZ #15674]
bb5bb87c
L
2373 * string/test-memcmp.c (check2): New.
2374 (main): Call check2.
2375
11b8a0e1
LD
2376 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
2377
b0037103
MR
23782013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
2379
2380 [BZ #15022]
2381 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
2382 over to...
2383 (dl_open_worker) [!SHARED]: ... here.
2384
c18c701d
RA
23852013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2386
2387 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
2388
1d17fa5f
RH
23892013-06-25 Richard Henderson <rth@redhat.com>
2390
2391 * locale/programs/locarchive.c: Include <libc-internal.h>
2392
8fcb833a
JM
23932013-06-25 Joseph Myers <joseph@codesourcery.com>
2394
2395 * manual/texinfo.tex: Update to version 2013-06-21.17, with
2396 trailing whitespace removed.
2397
17db6e8d
MF
23982013-06-24 Mike Frysinger <vapier@gentoo.org>
2399
2400 [BZ #10283]
17db6e8d
MF
2401 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
2402 * locale/programs/locarchive.c: Include libc-mmap.h.
2403 (prepare_address_space): Take two new outputs (the mmap base and len).
2404 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
2405 values.
2406 (create_archive): Declare new mmap base and len values for
2407 prepare_address_space, and store the result in ah.
2408 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
2409 (enlarge_archive): If ah->mmap_base is not NULL, use that and
2410 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2411 Declare new mmap base and len values for
2412 prepare_address_space, and store the result in new_ah.
2413 (open_archive): Declare new mmap base and len values for
2414 prepare_address_space, and store the result in ah.
2415 (close_archive): If ah->mmap_base is not NULL, use that and
2416 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2417 * sysdeps/generic/libc-mmap.h: New file.
2418
d605071e
MF
24192013-06-24 Mike Frysinger <vapier@gentoo.org>
2420
2421 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
2422 (ALIGN_UP): Likewise.
2423 (PTR_ALIGN_DOWN): Likewise.
2424 (PTR_ALIGN_UP): Likewise.
2425
2f063a6e
RA
24262013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2427
2428 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
2429 entry mapped to PPC_PLATFORM_POWER8.
2430 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
2431 POWER8.
2432 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
2433 (_dl_string_platform): Add case for exporting platform position for
2434 POWER8.
2435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
2436 search path to sysdeps/powerpc/powerpc32/power8 directory.
2437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
2438 search path to sysdeps/powerpc/powerpc64/power8 directory.
2439 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
2440 power7 directories.
2441 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
2442 power7 directories.
2443
a31ee4b3
SP
24442013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2445
a74ca98f
SP
2446 * INSTALL: Regenerate.
2447
a31ee4b3
SP
2448 * nscd/connections.c (nscd_init): Fix comment.
2449
695c378f
JM
24502013-06-22 Joseph Myers <joseph@codesourcery.com>
2451
d8412221
JM
2452 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
2453
695c378f
JM
2454 [BZ #15667]
2455 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
2456 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
2457
d1d54715
MR
24582013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2459
2460 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
2461 DL_DST_REQ_STATIC.
2462 (DL_DST_REQ_STATIC): Remove macro.
2463
8fdda7af
JM
24642013-06-21 Joseph Myers <joseph@codesourcery.com>
2465
2466 [BZ #7006]
2467 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
2468 with a shift of 0 bits.
2469
f3bc5e5a
MR
24702013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2471
2472 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
2473 $(tststatic-ENV).
2474
be09e8c9
KK
24752013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2476
2477 [BZ #15655]
2478 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
2479
85c2e611
AZ
24802013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2481
2482 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
2483 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
2484 accepts -fno-tree-loop-distribute-patterns.
2485 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
2486 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
2487 recursive call.
2488 * string/memset.c (memset): Likewise.
2489 * string/test-memmove.c (simple_memmove): Disable loop transformation
2490 to library calls.
2491 * string/test-memset.c (simple_memset): Likewise.
2492 * benchtests/bench-memmove.c (simple_memmove): Likewise.
2493 * benchtests/bench-memset.c (simple_memset): Likewise.
2494 * configure: Regenerated.
2495
c91e0825
JM
24962013-06-20 Joseph Myers <joseph@codesourcery.com>
2497
b8c792af
JM
2498 * math/test-misc.c (main): Ignore fesetround failure when failures
2499 of subsequent rounding tests would be ignored.
2500
c91e0825
JM
2501 [BZ #15654]
2502 * math/fedisblxcpt.c (fedisableexcept): Return 0.
2503 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
2504 * math/fegetenv.c (__fegetenv): Return 0.
2505 * math/fegetexcept.c (fegetexcept): Return 0.
2506 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
2507 FE_TONEAREST.
2508 * math/feholdexcpt.c (feholdexcept): Return 0.
2509 * math/fesetenv.c (__fesetenv): Return 0.
2510 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
2511 argument FE_TONEAREST.
2512 * math/feupdateenv.c (__feupdateenv): Return 0.
2513 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
2514
bfcacbde
RM
25152013-06-18 Roland McGrath <roland@hack.frob.com>
2516
2517 * elf/rtld-Rules (rtld-compile-command.S): New variable.
2518 (rtld-compile-command.s, rtld-compile-command.c): New variables.
2519 ($(objpfx)rtld-%.os rules): Use them.
2520
e55a9b25
AZ
25212013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2522
2523 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
2524 fields.
2525
346d65b3
RM
25262013-06-17 Roland McGrath <roland@hack.frob.com>
2527
12086fb4
RM
2528 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
2529 length of target pattern, then descending length of dependency pattern.
2530 * configure.in (AWK): Require gawk 3.1.2 or newer.
2531 * manual/install.texi (Tools for Compilation): Say that we do.
2532 * configure: Regenerated.
2533
346d65b3
RM
2534 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
2535 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
2536 * scripts/sysd-rules.awk: ... this new script.
2537 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
2538 than a glob-style pattern.
2539
1a846317
JM
25402013-06-17 Joseph Myers <joseph@codesourcery.com>
2541
2542 * math/test-misc.c (main): Do not treat incorrectly rounded
2543 conversions as failure unless ROUNDING_TESTS passes.
2544
8fc75e6f
JM
25452013-06-15 Joseph Myers <joseph@codesourcery.com>
2546
3711a167
JM
2547 [BZ #15631]
2548 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
2549 restore exception state around main square root computation, then
2550 check for inexactness explicitly.
2551
8fc75e6f
JM
2552 * math/libm-test.inc (fma_test_data): Add another test.
2553
61dd6208
SP
25542013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2555
adf23d2c
SP
2556 * manual/threads.texi (Non-POSIX Extensions): New document
2557 node. Document pthread_getattr_default_np and
2558 pthread_setattr_default_np.
2559
61dd6208
SP
2560 * Versions.def (libpthread): Add GLIBC_2.18.
2561 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
2562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2563 Likewise.
2564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2565 Likewise.
2566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2567 Likewise.
2568 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2569 Likewise.
2570 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
2571 Likewise.
2572 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2573 Likewise.
2574 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2575 Likewise.
2576 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2577 Likewise.
2578 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2579 Likewise.
2580
d086fc7b
LD
25812013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2582
2583 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2584 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
2585
747ef469
SP
25862013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2587 H.J. Lu <hjl.tools@gmail.com>
2588
2589 [BZ #15627]
2590 * sysdeps/x86_64/rtld-memset.c: Remove file.
2591 * sysdeps/x86_64/rtld-memset.S: New file.
2592
1b2feed2
JM
25932013-06-14 Joseph Myers <joseph@codesourcery.com>
2594
2595 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
2596 (test_in_one_mode): Take arguments for whether the rounding mode
2597 is supported for each floating-point type.
2598 (do_test): Pass new arguments to test_in_one_mode using
2599 ROUNDING_TESTS.
2600
a58ad3f8
RM
26012013-06-13 Roland McGrath <roland@hack.frob.com>
2602
2603 * posix/tst-waitid.c (do_test): Distinguish different instances of
2604 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
2605 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
2606 before entering the kernel for waitpid.
2607
c204ab28
SP
26082013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2609
2610 * NEWS: Fix note on clock function precision. Text by Roland
2611 McGrath.
2612
f4a29fba
RM
26132013-06-13 Roland McGrath <roland@hack.frob.com>
2614
2615 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
2616 it into place only when and if the sanity check passes.
2617
1f24b9ad
JM
26182013-06-13 Joseph Myers <joseph@codesourcery.com>
2619
2620 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
2621 output for whether conversion result is exact. Take argument
2622 indicating whether type is IBM long double.
2623 (round_for_all): Change need_exact field to ibm_ld.
2624 * stdlib/tst-strtod-round.c (struct exactness): New type.
2625 (struct test): Change bool ld_ok field to struct exactness exact.
2626 (TEST): Update all definitions for change to field.
2627 (tests): Regenerate array contents.
2628 (test_in_one_mode): Take pointer to new field instead of old ld_ok
2629 field value. Check for IBM long double here.
2630 (do_test): Update calls to test_in_one_mode.
2631
58206c68
SP
26322013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2633
2634 [BZ #12515]
2635 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
2636 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
2637
2d6f4c5b 26382013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
2639
2640 [BZ #15605]
2641 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
2642 generated by the compiler on loop optimizations.
2643 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
2644 general definitions.
2645
94f2c076
JM
26462013-06-12 Joseph Myers <joseph@codesourcery.com>
2647
2648 * math/bug-nextafter.c: Include <math-tests.h>.
2649 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2650 the relevant type.
2651 * math/bug-nexttoward.c: Include <math-tests.h>.
2652 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2653 the relevant type.
2654 * math/test-misc.c: Include <math-tests.h>.
2655 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2656 the relevant type.
2657
e0e50a0a
AJ
26582013-06-12 Andreas Jaeger <aj@suse.de>
2659
2660 * po/ia.po: Update Interlingua translation from translation
2661 project.
2662
25061094
SP
26632013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2664
2665 * include/fenv.h: Include stdbool.h.
2666 (struct rm_ctx): New structure.
2667 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
2668 Define macro.
2669 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
2670 (SET_RESTORE_ROUNDF): Likewise.
2671 (SET_RESTORE_ROUNDL): Likewise.
2672 (SET_RESTORE_ROUND_NOEX): Likewise.
2673 (SET_RESTORE_ROUND_NOEXF): Likewise.
2674 (SET_RESTORE_ROUND_NOEXL): Likewise.
2675 (SET_RESTORE_ROUND_53BIT): Likewise.
2676 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
2677 (libc_feresetround_noexf_ctx): Likewise.
2678 (libc_feresetround_noexl_ctx): Likewise.
2679 (libc_feholdsetround_53bit_ctx): Likewise.
2680 (libc_feresetround_53bit_ctx): Likewise.
2681 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
2682 (libc_feholdexcept_setround_sse_ctx): New function.
2683 (libc_fesetenv_sse_ctx): Likewise.
2684 (libc_feupdateenv_sse_ctx): Likewise.
2685 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
2686 (libc_feholdexcept_setround_387_ctx): Likewise.
2687 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
2688 (libc_feholdsetround_387_prec_ctx): Likewise.
2689 (libc_feholdsetround_387_ctx): Likewise.
2690 (libc_feholdsetround_387_53bit_ctx): Likewise.
2691 (libc_feholdsetround_sse_ctx): Likewise.
2692 (libc_feresetround_sse_ctx): Likewise.
2693 (libc_feresetround_387_ctx): Likewise.
2694 (libc_feupdateenv_387_ctx): Likewise.
2695 (libc_feholdexcept_setroundf_ctx): Define macro.
2696 (libc_fesetenvf_ctx): Likewise.
2697 (libc_feupdateenvf_ctx): Likewise.
2698 (libc_feholdsetroundf_ctx): Likewise.
2699 (libc_feresetroundf_ctx): Likewise.
2700 (libc_feholdexcept_setround_ctx): Likewise.
2701 (libc_fesetenv_ctx): Likewise.
2702 (libc_feupdateenv_ctx): Likewise.
2703 (libc_feholdsetround_ctx): Likewise.
2704 (libc_feresetround_ctx): Likewise.
2705 (libc_feholdexcept_setroundl_ctx): Likewise.
2706 (libc_feupdateenvl_ctx): Likewise.
2707 (libc_feholdsetroundl_ctx): Likewise.
2708 (libc_feresetroundl_ctx): Likewise.
2709 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
2710 (libc_feresetround_53bit_ctx): Likewise.
2711
59b30555
SP
27122013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2713
2714 * locale/iso-639.def: Convert to UTF-8.
2715
f1d73d30
JM
27162013-06-11 Joseph Myers <joseph@codesourcery.com>
2717
2718 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
2719 (EXCEPTION_TESTS_double): Likewise.
2720 (EXCEPTION_TESTS_long_double): Likewise.
2721 (EXCEPTION_TESTS): Likewise.
2722 * math/libm-test.inc (test_exceptions): Only test exceptions if
2723 EXCEPTION_TESTS (FLOAT).
2724
94aca5e7
SP
27252013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2726
2727 * benchtests/Makefile (string-bench): Add strcpy_chk and
2728 stpcpy_chk.
2729 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
2730 * benchtests/bench-stpcpy_chk.c: New file.
2731 * benchtests/bench-strcpy_chk-ifunc.c: New file.
2732 * benchtests/bench-strcpy_chk.c: New file.
2733 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
2734 code.
2735 (do_test): Likewise.
2736
fac0c5f2
RA
27372013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2738
2739 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
2740 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
2741 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
2742 with tabs where appropriate.
2743 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
2744 dl-procinfo.h.
2745 [PPC_PLATFORM_PPC440]: Likewise.
2746 [PPC_PLATFORM_PPC464]: Likewise.
2747 [PPC_PLATFORM_PPC476]: Likewise.
2748 (_dl_string_platform): Add support for detecting ppc405, ppc440,
2749 ppc464, and ppc476 platform strings merging from ports/
2750 dl-procinfo.h.
2751
f22bc486
AS
27522013-06-11 Andreas Schwab <schwab@suse.de>
2753
2754 [BZ #14991]
2755 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
2756 (from_ucs4_idx): Regenerate.
2757 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
2758 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
2759 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
2760 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
2761 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
2762 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
2763 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
2764 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
2765 from FROM_LOOP and TO_LOOP specific macros.
2766 (BODY): Handle combining characters.
2767 * iconvdata/BIG5HKSCS.irreversible: Update.
2768 * iconvdata/BIG5HKSCS.precomposed: New file.
2769 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
2770 characters.
2771 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
2772
c1f75dc3
SP
27732013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2774
4eacded2
SP
2775 * include/sys/time.h: Fix indentation and add copyright header.
2776
fec799f8
SP
2777 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
2778 (do_test): Likewise.
2779 * string/test-memchr.c (do_one_test): Likewise.
2780 (do_test): Likewise.
2781 * string/test-memcmp.c (do_one_test): Likewise.
2782 (do_test): Likewise.
2783 * string/test-memcpy.c (do_one_test): Likewise.
2784 (do_test): Likewise.
2785 * string/test-memmem.c (do_one_test): Likewise.
2786 (do_test): Likewise.
2787 (do_random_tests): Likewise.
2788 * string/test-memmove.c (do_one_test): Likewise.
2789 (do_test): Likewise.
2790 * string/test-memset.c (do_one_test): Likewise.
2791 (do_test): Likewise.
2792 * string/test-rawmemchr.c (do_one_test): Likewise.
2793 (do_test): Likewise.
2794 * string/test-strcasecmp.c (do_one_test): Likewise.
2795 (do_test): Likewise.
2796 * string/test-strcasestr.c (do_one_test): Likewise.
2797 (do_test): Likewise.
2798 * string/test-strcat.c (do_one_test): Likewise.
2799 (do_test): Likewise.
2800 * string/test-strchr.c (do_one_test): Likewise.
2801 (do_test): Likewise.
2802 * string/test-strcmp.c (do_one_test): Likewise.
2803 (do_test): Likewise.
2804 * string/test-strcpy.c (do_one_test): Likewise.
2805 (do_test): Likewise.
2806 * string/test-string.h: Likewise.
2807 (test_init): Likewise.
2808 * string/test-strlen.c (do_one_test): Likewise.
2809 (do_test): Likewise.
2810 * string/test-strncasecmp.c (do_one_test): Likewise.
2811 (do_test): Likewise.
2812 * string/test-strncat.c (do_one_test): Likewise.
2813 (do_test): Likewise.
2814 * string/test-strncmp.c (do_one_test): Likewise.
2815 (do_test_limit): Likewise.
2816 (do_test): Likewise.
2817 * string/test-strncpy.c (do_one_test): Likewise.
2818 (do_test): Likewise.
2819 * string/test-strnlen.c (do_one_test): Likewise.
2820 (do_test): Likewise.
2821 * string/test-strpbrk.c (do_one_test): Likewise.
2822 (do_test): Likewise.
2823 * string/test-strrchr.c (do_one_test): Likewise.
2824 (do_test): Likewise.
2825 * string/test-strspn.c (do_one_test): Likewise.
2826 (do_test): Likewise.
2827 * string/test-strstr.c (do_one_test): Likewise.
2828 (do_test): Likewise.
2829
97020474
SP
2830 * benchtests/Makefile (string-bench): Add string benchmarks.
2831 * benchtests/bench-bcopy-ifunc.c: New file.
2832 * benchtests/bench-bcopy.c: New file.
2833 * benchtests/bench-bzero-ifunc.c: New file.
2834 * benchtests/bench-bzero.c: New file.
2835 * benchtests/bench-memccpy-ifunc.c: New file.
2836 * benchtests/bench-memccpy.c: New file.
2837 * benchtests/bench-memchr-ifunc.c: New file.
2838 * benchtests/bench-memchr.c: New file.
2839 * benchtests/bench-memcmp-ifunc.c: New file.
2840 * benchtests/bench-memcmp.c: New file.
2841 * benchtests/bench-memmem-ifunc.c: New file.
2842 * benchtests/bench-memmem.c: New file.
2843 * benchtests/bench-memmove-ifunc.c: New file.
2844 * benchtests/bench-memmove.c: New file.
2845 * benchtests/bench-mempcpy-ifunc.c: New file.
2846 * benchtests/bench-mempcpy.c: New file.
2847 * benchtests/bench-memset-ifunc.c: New file.
2848 * benchtests/bench-memset.c: New file.
2849 * benchtests/bench-rawmemchr-ifunc.c: New file.
2850 * benchtests/bench-rawmemchr.c: New file.
2851 * benchtests/bench-stpcpy-ifunc.c: New file.
2852 * benchtests/bench-stpcpy.c: New file.
2853 * benchtests/bench-stpncpy-ifunc.c: New file.
2854 * benchtests/bench-stpncpy.c: New file.
2855 * benchtests/bench-strcasecmp-ifunc.c: New file.
2856 * benchtests/bench-strcasecmp.c: New file.
2857 * benchtests/bench-strcasestr-ifunc.c: New file.
2858 * benchtests/bench-strcasestr.c: New file.
2859 * benchtests/bench-strcat-ifunc.c: New file.
2860 * benchtests/bench-strcat.c: New file.
2861 * benchtests/bench-strchr-ifunc.c: New file.
2862 * benchtests/bench-strchr.c: New file.
2863 * benchtests/bench-strchrnul-ifunc.c: New file.
2864 * benchtests/bench-strchrnul.c: New file.
2865 * benchtests/bench-strcmp-ifunc.c: New file.
2866 * benchtests/bench-strcmp.c: New file.
2867 * benchtests/bench-strcpy-ifunc.c: New file.
2868 * benchtests/bench-strcpy.c: New file.
2869 * benchtests/bench-strcspn-ifunc.c: New file.
2870 * benchtests/bench-strcspn.c: New file.
2871 * benchtests/bench-strlen-ifunc.c: New file.
2872 * benchtests/bench-strlen.c: New file.
2873 * benchtests/bench-strncasecmp-ifunc.c: New file.
2874 * benchtests/bench-strncasecmp.c: New file.
2875 * benchtests/bench-strncat-ifunc.c: New file.
2876 * benchtests/bench-strncat.c: New file.
2877 * benchtests/bench-strncmp-ifunc.c: New file.
2878 * benchtests/bench-strncmp.c: New file.
2879 * benchtests/bench-strncpy-ifunc.c: New file.
2880 * benchtests/bench-strncpy.c: New file.
2881 * benchtests/bench-strnlen-ifunc.c: New file.
2882 * benchtests/bench-strnlen.c: New file.
2883 * benchtests/bench-strpbrk-ifunc.c: New file.
2884 * benchtests/bench-strpbrk.c: New file.
2885 * benchtests/bench-strrchr-ifunc.c: New file.
2886 * benchtests/bench-strrchr.c: New file.
2887 * benchtests/bench-strspn-ifunc.c: New file.
2888 * benchtests/bench-strspn.c: New file.
2889 * benchtests/bench-strstr-ifunc.c: New file.
2890 * benchtests/bench-strstr.c: New file.
2891
c1f75dc3
SP
2892 * benchtests/Makefile: Disable parallel execution of targets.
2893 (string-bench): Add memcpy.
2894 (benchset): New variable to store a list of benchmark sets.
2895 (bench-func): Renamed from bench.
2896 (bench-set): New target.
2897 (bench): Depend on bench-func and bench-set.
2898 * benchtests/README: Add section on benchmark sets.
2899 * benchtests/bench-memcpy-ifunc.c: New file.
2900 * benchtests/bench-memcpy.c: New file.
2901 * benchtests/bench-string.h: New file.
2902
50fd745b
AS
29032013-06-11 Andreas Schwab <schwab@suse.de>
2904
2905 [BZ #15577]
2906 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
2907 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
2908 values in the triple.
2909 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
2910 terminator in the group key.
2911
3ee7e9fe
AJ
29122013-06-11 Andreas Jaeger <aj@suse.de>
2913
2914 * po/zh_TW.po: Update Chinese (traditional) translation from
2915 translation project.
2916
89fb6835
SP
29172013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2918
2919 * include/time.h (__clock_gettime): Add libc_hidden_proto.
2920 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
2921 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
2922 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2923 (clock_getcpuclockid): Likewise.
2924 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
2925 Add weak_alias and libc_hidden_def.
2926 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
2927 * rt/clock_gettime.c (clock_gettime): Rename to
2928 __clock_gettime. Add weak_alias and libc_hidden_def.
2929 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
2930 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
2931 __clock_nanosleep. Add weak_alias and libc_hidden_def.
2932 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
2933 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
2934 Likewise.
2935 * rt/clock_settime.c (clock_settime): Rename to
2936 __clock_settime. Add weak_alias and libc_hidden_def.
2937 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
2938
0efa6f8b
JM
29392013-06-10 Joseph Myers <joseph@codesourcery.com>
2940
b8c61b4b
JM
2941 * mach/err_boot.sub: Remove trailing whitespace.
2942 * mach/err_ipc.sub: Likewise.
2943 * mach/err_mach.sub: Likewise.
2944
0efa6f8b
JM
2945 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
2946 (ROUNDING_TESTS_double): Likewise.
2947 (ROUNDING_TESTS_long_double): Likewise.
2948 (ROUNDING_TESTS): Likewise.
2949 * math/libm-test.inc: Include <math-tests.h>.
2950 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
2951 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2952 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2953 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2954
50b818bf
SP
29552013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2956
2957 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
2958 of assigning.
2959
60d2f8f3
JM
29602013-06-08 Joseph Myers <joseph@codesourcery.com>
2961
4902d2c3
JM
2962 * sysdeps/gnu/errlist.awk: Do not generate space at end of
2963 otherwise empty TRANS lines.
2964 * sysdeps/gnu/errlist.c: Regenerated.
2965
60d2f8f3
JM
2966 * catgets/gencat.c (error_print): Use (void) in function
2967 definition.
2968 * crypt/crypt_util.c (__init_des): Likewise.
2969 * crypt/speeds.c (Stop): Likewise.
2970 (main): Likewise.
2971 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
2972 * inet/ruserpass.c (token): Likewise.
2973 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
2974 * intl/localealias.c (extend_alias_table): Likewise.
2975 * intl/plural-exp.c (init_germanic_plural): Likewise.
2976 * libio/fcloseall.c (__fcloseall): Likewise.
2977 * libio/genops.c (_IO_flush_all): Likewise.
2978 (_IO_flush_all_linebuffered): Likewise.
2979 (_IO_cleanup): Likewise.
2980 (_IO_iter_begin): Likewise.
2981 (_IO_iter_end): Likewise.
2982 (_IO_list_lock): Likewise.
2983 (_IO_list_unlock): Likewise.
2984 (_IO_list_resetlock): Likewise.
2985 * libio/getchar.c (getchar): Likewise.
2986 * libio/getchar_u.c (getchar_unlocked): Likewise.
2987 * libio/getwchar.c (getwchar): Likewise.
2988 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2989 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
2990 * login/getpt.c (__getpt): Likewise.
2991 * login/tst-utmp.c (main): Likewise.
2992 * malloc/hooks.c (__malloc_check_init): Likewise.
2993 * malloc/malloc.c (__malloc_stats): Likewise.
2994 * malloc/mtrace.c (tr_break): Likewise.
2995 (mtrace): Likewise.
2996 (muntrace): Likewise.
2997 * misc/fstab.c (endfsent): Likewise.
2998 * misc/getclktck.c (__getclktck): Likewise.
2999 * misc/getdtsz.c (__getdtablesize): Likewise.
3000 * misc/gethostid.c (gethostid): Likewise.
3001 * misc/getpagesize.c (__getpagesize): Likewise.
3002 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
3003 (__get_nprocs): Likewise.
3004 (__get_phys_pages): Likewise.
3005 (__get_avphys_pages): Likewise.
3006 * misc/getttyent.c (getttyent): Likewise.
3007 (setttyent): Likewise.
3008 (endttyent): Likewise.
3009 * misc/getusershell.c (getusershell): Likewise.
3010 (endusershell): Likewise.
3011 (setusershell): Likewise.
3012 (initshells): Likewise.
3013 * misc/hsearch.c (__hdestroy): Likewise.
3014 * misc/sync.c (sync): Likewise.
3015 * misc/syslog.c (closelog_internal): Likewise.
3016 (closelog): Likewise.
3017 * misc/ttyslot.c (ttyslot): Likewise.
3018 * misc/vhangup.c (vhangup): Likewise.
3019 * posix/fork.c (__fork): Likewise.
3020 * posix/getegid.c (__getegid): Likewise.
3021 * posix/geteuid.c (__geteuid): Likewise.
3022 * posix/getgid.c (__getgid): Likewise.
3023 * posix/getpid.c (__getpid): Likewise.
3024 * posix/getppid.c (__getppid): Likewise.
3025 * posix/getuid.c (__getuid): Likewise.
3026 * posix/pause.c (pause): Likewise.
3027 * posix/setpgrp.c (setpgrp): Likewise.
3028 * posix/setsid.c (__setsid): Likewise.
3029 * posix/test-vfork.c (noop): Likewise.
3030 * resolv/gethnamaddr.c (_endhtent): Likewise.
3031 (_gethtent): Likewise.
3032 (ht_endhostent): Likewise.
3033 (gethostent): Likewise.
3034 (dns_service): Likewise.
3035 * stdlib/drand48.c (drand48): Likewise.
3036 * stdlib/lrand48.c (lrand48): Likewise.
3037 * stdlib/mrand48.c (mrand48): Likewise.
3038 * stdlib/rand.c (rand): Likewise.
3039 * stdlib/random.c (__random): Likewise.
3040 * stdlib/setenv.c (clearenv): Likewise.
3041 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
3042 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
3043 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
3044 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
3045 (__get_nprocs): Likewise.
3046 (__get_phys_pages): Likewise.
3047 (__get_avphys_pages): Likewise.
3048 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
3049 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
3050 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
3051 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
3052 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
3053 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
3054 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
3055 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
3056 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
3057 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
3058 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
3059 * sysdeps/mach/hurd/sync.c (sync): Likewise.
3060 * sysdeps/posix/clock.c (clock): Likewise.
3061 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
3062 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
3063 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
3064 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
3065 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
3066 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3067 (__get_nprocs_conf): Likewise.
3068 (__get_phys_pages): Likewise.
3069 (__get_avphys_pages): Likewise.
3070 * time/clock.c (clock): Likewise.
3071 * time/tzset.c (__tzname_max): Likewise.
3072
2e09a79a
JM
30732013-06-07 Joseph Myers <joseph@codesourcery.com>
3074
3075 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
3076 (__bswap_32): Do not use "register".
3077 * crypt/crypt.c (_ufc_doit_r): Likewise.
3078 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3079 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3080 * gmon/gmon.c (__monstartup): Likewise.
3081 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
3082 * hurd/hurdmalloc.c (more_memory): Likewise.
3083 (malloc): Likewise.
3084 (free): Likewise.
3085 (realloc): Likewise.
3086 (malloc_fork_prepare): Likewise.
3087 (malloc_fork_parent): Likewise.
3088 (malloc_fork_child): Likewise.
3089 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
3090 (_svcauth_des): Likewise.
3091 * inet/inet_lnaof.c (inet_lnaof): Likewise.
3092 * inet/inet_net.c (inet_network): Likewise.
3093 * inet/inet_netof.c (inet_netof): Likewise.
3094 * inet/rcmd.c (__validuser2_sa): Likewise.
3095 * io/fts.c (fts_open): Likewise.
3096 (fts_load): Likewise.
3097 (fts_close): Likewise.
3098 (fts_read): Likewise.
3099 (fts_children): Likewise.
3100 (fts_build): Likewise.
3101 (fts_stat): Likewise.
3102 (fts_sort): Likewise.
3103 (fts_alloc): Likewise.
3104 (fts_lfree): Likewise.
3105 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
3106 (_IO_file_xsgetn): Likewise.
3107 (_IO_file_xsgetn_mmap): Likewise.
3108 * libio/iofopncook.c (_IO_cookie_read): Likewise.
3109 (_IO_cookie_write): Likewise.
3110 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
3111 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
3112 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
3113 * malloc/obstack.c (_obstack_begin): Likewise.
3114 (_obstack_begin_1): Likewise.
3115 (_obstack_newchunk): Likewise.
3116 (_obstack_allocated_p): Likewise.
3117 (obstack_free): Likewise.
3118 (_obstack_memory_used): Likewise.
3119 * misc/getttyent.c (getttynam): Likewise.
3120 (getttyent): Likewise.
3121 (skip): Likewise.
3122 (value): Likewise.
3123 * misc/getusershell.c (initshells): Likewise.
3124 * misc/syslog.c (__vsyslog_chk): Likewise.
3125 * misc/ttyslot.c (ttyslot): Likewise.
3126 * nis/nis_hash.c (__nis_hash): Likewise.
3127 * posix/fnmatch_loop.c (FCT): Likewise.
3128 * posix/getconf.c (print_all): Likewise.
3129 (main): Likewise.
3130 * posix/getopt.c (exchange): Likewise.
3131 * posix/glob.c (globfree): Likewise.
3132 (prefix_array): Likewise.
3133 (__glob_pattern_type): Likewise.
3134 * resolv/arpa/nameser.h (NS_GET16): Likewise.
3135 (NS_GET32): Likewise.
3136 (NS_PUT16): Likewise.
3137 (NS_PUT32): Likewise.
3138 * resolv/gethnamaddr.c (getanswer): Likewise.
3139 (gethostbyname2): Likewise.
3140 (gethostbyaddr): Likewise.
3141 (_gethtent): Likewise.
3142 (_gethtbyname2): Likewise.
3143 (_gethtbyaddr): Likewise.
3144 * resolv/ns_print.c (dst_s_get_int16): Likewise.
3145 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3146 * resolv/res_init.c (__res_vinit): Likewise.
3147 (net_mask): Likewise.
3148 * resolv/res_mkquery.c (outchar): Likewise.
3149 (PRINT): Likewise.
3150 * stdio-common/printf_fp.c (outchar): Likewise.
3151 (PRINT): Likewise.
3152 * stdio-common/printf_fphex.c (outchar): Likewise.
3153 (PRINT): Likewise.
3154 * stdio-common/printf_size.c (outchar): Likewise.
3155 (PRINT): Likewise.
3156 * stdio-common/test_rdwr.c (main): Likewise.
3157 * stdio-common/tfformat.c (matches): Likewise.
3158 * stdio-common/vfprintf.c (outchar): Likewise.
3159 (printf_unknown): Likewise.
3160 (buffered_vfprintf): Likewise.
3161 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3162 * stdio-common/xbug.c (AppendToBuffer): Likewise.
3163 (ReadFile): Likewise.
3164 * stdlib/qsort.c (SWAP): Likewise.
3165 (_quicksort): Likewise.
3166 * stdlib/setenv.c (__add_to_environ): Likewise.
3167 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3168 * stdlib/strtol_l.c (__strtol_l): Likewise.
3169 * stdlib/tst-strtod.c (main): Likewise.
3170 * stdlib/tst-strtol.c (main): Likewise.
3171 * stdlib/tst-strtoll.c (main): Likewise.
3172 * string/bits/string2.h (__strcmp_cc): Likewise.
3173 (__strcmp_cg): Likewise.
3174 (__strcspn_c1): Likewise.
3175 (__strcspn_c2): Likewise.
3176 (__strcspn_c3): Likewise.
3177 (__strspn_c1): Likewise.
3178 (__strspn_c2): Likewise.
3179 (__strspn_c3): Likewise.
3180 (__strsep_1c): Likewise.
3181 (__strsep_2c): Likewise.
3182 (__strsep_3c): Likewise.
3183 * string/memccpy.c (__memccpy): Likewise.
3184 * string/stpcpy.c (__stpcpy): Likewise.
3185 * string/strcmp.c (strcmp): Likewise.
3186 * string/strrchr.c (strrchr): Likewise.
3187 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
3188 Likewise.
3189 * sysdeps/mach/hurd/getcwd.c
3190 (_hurd_canonicalize_directory_name_internal): Likewise.
3191 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
3192 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
3193 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
3194 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
3195 Likewise, in both definitions.
3196 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
3197 definitions.
3198 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
3199 64] (__bswap_64): Likewise.
3200 * time/test_time.c (main): Likewise.
3201 * time/tzfile.c (__tzfile_read): Likewise.
3202 (__tzfile_compute): Likewise.
3203 * time/tzset.c (__tzset_parse_tz): Likewise.
3204 (tzset_internal): Likewise.
3205 (compute_change): Likewise.
3206 * wcsmbs/wcscat.c (__wcscat): Likewise.
3207 * wcsmbs/wcschr.c (wcschr): Likewise.
3208 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3209 * wcsmbs/wcscspn.c (wcscspn): Likewise.
3210 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3211 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
3212 * wcsmbs/wcsspn.c (wcsspn): Likewise.
3213 * wcsmbs/wcsstr.c (wcsstr): Likewise.
3214 * wcsmbs/wmemchr.c (wmemchr): Likewise.
3215 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3216 * wcsmbs/wmemset.c (wmemset): Likewise.
3217
9e54314b
JM
32182013-06-06 Joseph Myers <joseph@codesourcery.com>
3219
3220 * scripts/config.guess: Update to version 2013-05-16.
3221 * scripts/config.sub: Update to version 2013-04-24.
3222 * scripts/install-sh: Update to version 2011-11-20.07.
3223 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
3224 * scripts/move-if-change: Update to version 2012-01-06 07:23.
3225
350635a5
OB
32262013-06-06 Ondřej Bílka <neleai@seznam.cz>
3227
3228 * debug/fgetws_u_chk.c: Fix leading whitespaces.
3229 * elf/sln.c: Likewise.
3230 * hurd/hurd/ioctl.h: Likewise.
3231 * hurd/hurdmalloc.c: Likewise.
3232 * hurd/xattr.c: Likewise.
3233 * include/shlib-compat.h: Likewise.
3234 * inet/ruserpass.c: Likewise.
3235 * libio/iofgets_u.c: Likewise.
3236 * libio/iofgetws_u.c: Likewise.
3237 * locale/programs/ld-identification.c: Likewise.
3238 * locale/programs/ld-time.c: Likewise.
3239 * mach/msg-destroy.c: Likewise.
3240 * nss/nss_files/files-netgrp.c: Likewise.
3241 * resolv/res_data.c: Likewise.
3242 * soft-fp/op-1.h: Likewise.
3243 * soft-fp/op-2.h: Likewise.
3244 * soft-fp/op-4.h: Likewise.
3245 * soft-fp/op-common.h: Likewise.
3246 * stdio-common/printf_fphex.c: Likewise.
3247 * stdlib/strtod_l.c: Likewise.
3248 * sunrpc/rpc/clnt.h: Likewise.
3249 * sysdeps/generic/framestate.c: Likewise.
3250 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3251 * sysdeps/i386/bsd-setjmp.S: Likewise.
3252 * sysdeps/i386/__longjmp.S: Likewise.
3253 * sysdeps/i386/setjmp.S: Likewise.
3254 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3255 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3256 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3257 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3258 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3259 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3260 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3261 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3262 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3263 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3264 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3265 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3266 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3267 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3268 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3269 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3270 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3271 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
3272 * sysdeps/ieee754/support.c: Likewise.
3273 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3274 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
3275 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
3276 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
3277 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
3278 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
3279 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
3280 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
3281 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
3282 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
3283 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
3284 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
3285 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
3286 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
3287 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
3288 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
3289 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3291
44a988af
OB
32922013-06-05 Ondřej Bílka <neleai@seznam.cz>
3293
25506f09 3294 * posix/transbug.c: Remove executable mode.
44a988af 3295
9c84384c
JM
32962013-06-05 Joseph Myers <joseph@codesourcery.com>
3297
3298 * crypt/speeds.c: Remove trailing whitespace.
3299 * dlfcn/default.c: Likewise.
3300 * elf/ifuncdep2.c: Likewise.
3301 * elf/ifuncmain1.c: Likewise.
3302 * elf/ifuncmain1vis.c: Likewise.
3303 * elf/testobj.h: Likewise.
3304 * elf/tst-stackguard1.c: Likewise.
3305 * gmon/sys/gmon.h: Likewise.
3306 * hurd/hurdmsg.c: Likewise.
3307 * hurd/new-fd.c: Likewise.
3308 * hurd/ports-get.c: Likewise.
3309 * iconvdata/ibm1008_420.c: Likewise.
3310 * inet/tst-getni1.c: Likewise.
3311 * inet/tst-getni2.c: Likewise.
3312 * libio/ioungetc.c: Likewise.
3313 * libio/wfiledoalloc.c: Likewise.
3314 * manual/libm-err-tab.pl: Likewise.
3315 * math/w_dremf.c: Likewise.
3316 * misc/ftruncate.c: Likewise.
3317 * posix/bug-glob2.c: Likewise.
3318 * posix/tst-pcre.c: Likewise.
3319 * posix/wait4.c: Likewise.
3320 * resolv/README: Likewise.
3321 * resolv/res_debug.h: Likewise.
3322 * resolv/tst-inet_ntop.c: Likewise.
3323 * setjmp/bug269-setjmp.c: Likewise.
3324 * soft-fp/extended.h: Likewise.
3325 * soft-fp/op-1.h: Likewise.
3326 * soft-fp/op-2.h: Likewise.
3327 * soft-fp/op-4.h: Likewise.
3328 * soft-fp/op-8.h: Likewise.
3329 * soft-fp/testit.c: Likewise.
3330 * stdio-common/bug16.c: Likewise.
3331 * stdlib/random.c: Likewise.
3332 * sunrpc/rpcsvc/rquota.x: Likewise.
3333 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
3334 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3335 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3336 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3337 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3338 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3339 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3340 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3341 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3342 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3343 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3344 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3345 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3346 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3347 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3348 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3349 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3350 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3351 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3352 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3353 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3354 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3355 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3356 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3357 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3358 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3359 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3360 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3361 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3362 * sysdeps/ieee754/s_lib_version.c: Likewise.
3363 * sysdeps/mach/hurd/check_fds.c: Likewise.
3364 * sysdeps/mach/hurd/getsockname.c: Likewise.
3365 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
3366 * sysdeps/mach/hurd/recvfrom.c: Likewise.
3367 * sysdeps/powerpc/bits/link.h: Likewise.
3368 * sysdeps/powerpc/dl-procinfo.c: Likewise.
3369 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
3370 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
3371 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
3372 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3373 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3374 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
3375 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3376 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
3377 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3378 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3379 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3380 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
3381 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3382 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3383 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3384 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3385 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3386 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3387 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3388 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3389 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
3390 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3391 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3392 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
3393 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3394 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3395 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3396 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3397 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3398 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3399 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3400 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3401 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3402 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
3403 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3404 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3405 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3406 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3407 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
3408 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3409 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3410 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3411 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3412 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3413 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
3414 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3415 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3416 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
3417 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
3418 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3419 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3420 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3421 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3422 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3423 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3424 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3425 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3426 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
3427 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3428 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3429 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3430 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
3431 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3432 * sysdeps/powerpc/sysdep.h: Likewise.
3433 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3434 * sysdeps/s390/s390-64/sub_n.S: Likewise.
3435 * sysdeps/sh/dl-trampoline.S: Likewise.
3436 * sysdeps/sh/memset.S: Likewise.
3437 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
3438 * sysdeps/sh/strlen.S: Likewise.
3439 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
3440 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
3441 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
3442 * sysdeps/sparc/sparc32/rem.S: Likewise.
3443 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
3444 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
3445 * sysdeps/sparc/sparc32/strchr.S: Likewise.
3446 * sysdeps/sparc/sparc32/udiv.S: Likewise.
3447 * sysdeps/sparc/sparc32/urem.S: Likewise.
3448 * sysdeps/sparc/sparc64/add_n.S: Likewise.
3449 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3450 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
3451 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
3452 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
3453 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
3454 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3455 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
3456 * sysdeps/unix/bsd/times.c: Likewise.
3457 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
3458 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
3459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3462 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3463 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3464 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3465 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
3466 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
3467 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
3468 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3469 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
3470 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3471 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3472 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3473 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3474 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
3475 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
3476 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
3477 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3478 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
3479 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3480 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
3481 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
3482 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3483 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
3484 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3485 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
3486 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
3487 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
3488 * sysdeps/x86_64/strcspn.S: Likewise.
3489
869378a5
RA
34902013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3491
3492 * locale/C-translit.h: Revert #include <stdint.h> because this is a
3493 generated file. Regenerate properly from gen-translit.pl.
3494 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
3495 locale/C-translit.h.
3496
840e2943
AS
34972013-06-05 Andreas Schwab <schwab@suse.de>
3498
3499 [BZ #15100]
3500 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
3501 week as 6 instead of -1.
3502 * time/tst-strptime.c (day_tests): Add test case.
3503
4c60cb0c
SP
35042013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3505
3506 * sysdeps/generic/math_private.h
3507 (libc_feholdexcept_setround_53bit): Replace with
3508 libc_feholdsetround_53bit.
3509 (libc_feupdateenv_53bit): Replace with
3510 libc_feresetround_53bit.
3511 (SET_RESTORE_ROUND_53BIT): Adjust.
3512
d180203e
SP
35132013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3514
96df079a
SP
3515 * string/test-strchrnul.c: Add copyright header.
3516
d180203e
SP
3517 * posix/tst-getaddrinfo4.c: Increase test timeout.
3518
8b0ccb2d
CD
35192013-06-03 Carlos O'Donell <carlos@redhat.com>
3520
3521 [BZ #15536]
3522 * math/libm-test.inc (MAX_EXP): Remove
3523 (MIN_EXP): Define.
3524 (ulp): Use MIN_EXP - MANT_DIG.
3525 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
3526
3b3c4d40
CD
35272013-05-31 Carlos O'Donell <carlos@redhat.com>
3528
3529 * po/be.po: Revert last change.
3530 * po/zh_CN.po: Likewise.
3531 * po/header.pot: Likewise.
3532
fab7ce3f
JM
35332013-05-31 Joseph Myers <joseph@codesourcery.com>
3534
3535 * Makefile ($(common-objpfx)linkobj/libc.so): Define
3536 link-libc-deps to empty as target-specific variable.
3537 * Makerules (link-libc-args): New variable.
3538 (libc-for-link): Likewise.
3539 (link-libc-deps): Likewise.
3540 (lib%.so): Depend on $(link-libc-deps). Link with
3541 $(link-libc-args).
3542 (build-module): Link with $(link-libc-args).
3543 (build-module-asneeded): Likewise.
3544 (build-module-helper-objlist): Filter out $(link-libc-deps) from
3545 list of objects.
3546 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
3547 target-specific variable.
3548 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
3549 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
3550 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
3551 libc.
3552 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
3553 libc and ld.so.
3554 ($(objpfx)libpcprofile.so): Likewise.
3555 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
3556 libc_nonshared.a.
3557 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
3558 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
3559 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
3560 $(link-libc-deps).
3561 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
3562 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
3563 * login/Makefile ($(objpfx)libutil.so): Likewise.
3564 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
3565 * math/Makefile ($(objpfx)libm.so): Likewise.
3566 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
3567 $(objpfx)libnsl.so): Define libc-for-link as target-specific
3568 variable instead of depending directly on libc.
3569 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
3570 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
3571 $(link-libc-deps).
3572 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
3573 libc.
3574 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
3575 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
3576 ($(objpfx)libanl.so): Likewise.
3577 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
3578 ld.so.
3579 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
3580 $(link-libc-deps).
3581 * sysdeps/i386/fpu/Makefile: Remove file.
3582 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
3583 ($(objpfx)libm.so): Remove dependency on ld.so.
3584
eca5920c
PF
35852013-05-30 Patsy Franklin <pfrankli@redhat.com>
3586
3587 [BZ # 15553]
3588 * nis/yp_xdr.c (XDRMAXNAME): Define.
3589 (XDRMAXRECORD): Define.
3590 (xdr_domainname): Use XDRMAXNAME.
3591 (xdr_mapname): Likewise.
3592 (xdr_peername): Likewise.
3593 (xdr_keydat): Use XDRMAXRECORD.
3594 (xdr_valdat): Likewise.
3595
35962013-05-30 Jeff Law <law@redhat.com>
96945714
JL
3597
3598 [BZ #14256]
3599 * manual/errno.texi (ESTALE): Update to account for more than
3600 just NFS file systems.
3601 * sysdeps/gnu/errlist.c: Regenerated.
3602
b9375348
SP
36032013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3604
3605 [BZ #15465]
3606 * elf/Makefile (tests): Add tst-null-argv.
3607 (modules-names): Add tst-null-argv-lib.
3608 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
3609 (tst-null-argv-ENV): Set environment for tst-null-argv.
3610 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
3611 (RTLD_PROGNAME): New macro.
3612 * elf/tst-null-argv.c: New test case.
3613 * elf/tst-null-argv-lib.c: Library for test case.
3614 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
3615 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3616 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
3617 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
3618 * elf/dl-init.c (call_init): Likewise.
3619 (_dl_init): Likewise.
3620 * elf/dl-load.c (print_search_path): Likewise.
3621 (_dl_map_object): Likewise.
3622 * elf/dl-lookup.c (do_lookup_x): Likewise.
3623 (add_dependency): Likewise.
3624 (_dl_lookup_symbol_x): Likewise.
3625 (_dl_debug_bindings): Likewise.
3626 * elf/dl-open.c (_dl_show_scope): Likewise.
3627 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3628 * elf/dl-version.c (match_symbol): Likewise.
3629 (_dl_check_map_versions): Likewise.
3630 * elf/rtld.c (dl_main): Likewise.
3631 (print_unresolved): Use RTLD_PROGNAME.
3632 (print_missing_version): Likewise.
3633 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3634 (elf_machine_rela): Likewise.
3635 * sysdeps/powerpc/powerpc32/dl-machine.c
3636 (__process_machine_rela): Likewise.
3637 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3638 Likewise.
3639 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3640 Likewise.
3641 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3642 Likewise.
3643 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3644 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
3645 Likewise.
3646 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
3647 Likewise.
3648 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3649
8a9f20c8
CD
36502013-05-28 Carlos O'Donell <carlos@redhat.com>
3651
3652 * po/be.po: Add descriptive title.
3653 * po/zh_CN.po: Likewise.
3654 * po/header.pot: Likewise.
3655
0e60d68e
MF
36562013-05-28 Mike Frysinger <vapier@gentoo.org>
3657
3658 * locale/programs/locarchive.c (create_archive): Inlucde fname in
3659 error message.
3660 (enlarge_archive): Likewise.
3661
56b672e9
BN
36622013-05-28 Ben North <ben@redfrontdoor.org>
3663
3664 * manual/arith.texi (frexp): It is the magnitude of the return
3665 value which lies in [0.5, 1), not the return value itself.
3666
5e056687
AZ
36672013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3668
3669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3670
2b66ef5d
TS
36712013-05-26 Thomas Schwinge <thomas@codesourcery.com>
3672
528c2405
TS
3673 * stdio-common/bug26.c (main): Correct fscanf template.
3674
07b4c13d
TS
3675 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
3676 declare _dl_skip_args.
3677
ec9dd97c
TS
3678 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
3679 Don't declare.
3680
2b66ef5d
TS
3681 * manual/platform.texi: Add missing @end deftypefun.
3682
4f8dfe27
JM
36832013-05-24 Joseph Myers <joseph@codesourcery.com>
3684
0323d086
JM
3685 [BZ #15529]
3686 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
3687 bit of mantissa of 2^16382.
3688 * math/libm-test.inc (hypot_test_data): Add more tests.
3689
dd4259b9
JM
3690 * math/libm-test.inc: Add drem and pow10 to list of tested
3691 functions.
3692 (pow10_test): New function.
3693 (drem_test): Likewise.
3694 (drem_test_tonearest): Likewise.
3695 (drem_test_towardzero): Likewise.
3696 (drem_test_downward): Likewise.
3697 (drem_test_upward): Likewise.
3698 (main): Call the new functions.
3699
4f8dfe27
JM
3700 * math/libm-test.inc (finite_test_data): Remove.
3701 (finite_test): Run tests from isfinite_test_data.
3702 (gamma_test_data): Remove.
3703 (gamma_test): Run tests from lgamma_test_data.
3704 * sysdeps/i386/fpu/libm-test-ulps: Update.
3705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3706
d116b7c4
AZ
37072013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3708
3709 * manual/platform.texi: Add PowerPC PPR function set documentation.
3710 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
3711 implementation.
3712
e96e3767
CD
37132013-05-24 Carlos O'Donell <carlos@redhat.com>
3714
3715 * math/libm-test.inc (MAX_EXP): Define.
3716 (ULPDIFF): Define.
3717 (ulp): New function.
3718 (check_float_internal): Use ULPDIFF.
3719 (cpow_test): Disable failing test.
3720 (check_ulp): Test ulp() implemetnation.
3721 (main): Call check_ulp before starting tests.
3722
b679a606
JM
37232013-05-24 Joseph Myers <joseph@codesourcery.com>
3724
e8bdba36
JM
3725 * math/gen-libm-test.pl (generate_testfile): Do not handle
3726 START_DATA and END_DATA.
3727 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
3728 END_DATA.
3729 (acos_tonearest_test_data): Likewise.
3730 (acos_towardzero_test_data): Likewise.
3731 (acos_downward_test_data): Likewise.
3732 (acos_upward_test_data): Likewise.
3733 (acosh_test_data): Likewise.
3734 (asin_test_data): Likewise.
3735 (asin_tonearest_test_data): Likewise.
3736 (asin_towardzero_test_data): Likewise.
3737 (asin_downward_test_data): Likewise.
3738 (asin_upward_test_data): Likewise.
3739 (asinh_test_data): Likewise.
3740 (atan_test_data): Likewise.
3741 (atanh_test_data): Likewise.
3742 (atan2_test_data): Likewise.
3743 (cabs_test_data): Likewise.
3744 (cacos_test_data): Likewise.
3745 (cacosh_test_data): Likewise.
3746 (carg_test_data): Likewise.
3747 (casin_test_data): Likewise.
3748 (casinh_test_data): Likewise.
3749 (catan_test_data): Likewise.
3750 (catanh_test_data): Likewise.
3751 (cbrt_test_data): Likewise.
3752 (ccos_test_data): Likewise.
3753 (ccosh_test_data): Likewise.
3754 (ceil_test_data): Likewise.
3755 (cexp_test_data): Likewise.
3756 (cimag_test_data): Likewise.
3757 (clog_test_data): Likewise.
3758 (clog10_test_data): Likewise.
3759 (conj_test_data): Likewise.
3760 (copysign_test_data): Likewise.
3761 (cos_test_data): Likewise.
3762 (cos_tonearest_test_data): Likewise.
3763 (cos_towardzero_test_data): Likewise.
3764 (cos_downward_test_data): Likewise.
3765 (cos_upward_test_data): Likewise.
3766 (cosh_test_data): Likewise.
3767 (cosh_tonearest_test_data): Likewise.
3768 (cosh_towardzero_test_data): Likewise.
3769 (cosh_downward_test_data): Likewise.
3770 (cosh_upward_test_data): Likewise.
3771 (cpow_test_data): Likewise.
3772 (cproj_test_data): Likewise.
3773 (creal_test_data): Likewise.
3774 (csin_test_data): Likewise.
3775 (csinh_test_data): Likewise.
3776 (csqrt_test_data): Likewise.
3777 (ctan_test_data): Likewise.
3778 (ctan_tonearest_test_data): Likewise.
3779 (ctan_towardzero_test_data): Likewise.
3780 (ctan_downward_test_data): Likewise.
3781 (ctan_upward_test_data): Likewise.
3782 (ctanh_test_data): Likewise.
3783 (ctanh_tonearest_test_data): Likewise.
3784 (ctanh_towardzero_test_data): Likewise.
3785 (ctanh_downward_test_data): Likewise.
3786 (ctanh_upward_test_data): Likewise.
3787 (erf_test_data): Likewise.
3788 (erfc_test_data): Likewise.
3789 (exp_test_data): Likewise.
3790 (exp_tonearest_test_data): Likewise.
3791 (exp_towardzero_test_data): Likewise.
3792 (exp_downward_test_data): Likewise.
3793 (exp_upward_test_data): Likewise.
3794 (exp10_test_data): Likewise.
3795 (exp2_test_data): Likewise.
3796 (expm1_test_data): Likewise.
3797 (fabs_test_data): Likewise.
3798 (fdim_test_data): Likewise.
3799 (finite_test_data): Likewise.
3800 (floor_test_data): Likewise.
3801 (fma_test_data): Likewise.
3802 (fma_towardzero_test_data): Likewise.
3803 (fma_downward_test_data): Likewise.
3804 (fma_upward_test_data): Likewise.
3805 (fmax_test_data): Likewise.
3806 (fmin_test_data): Likewise.
3807 (fmod_test_data): Likewise.
3808 (fpclassify_test_data): Likewise.
3809 (frexp_test_data): Likewise.
3810 (gamma_test_data): Likewise.
3811 (hypot_test_data): Likewise.
3812 (ilogb_test_data): Likewise.
3813 (isfinite_test_data): Likewise.
3814 (isgreater_test_data): Likewise.
3815 (isgreaterequal_test_data): Likewise.
3816 (isinf_test_data): Likewise.
3817 (isless_test_data): Likewise.
3818 (islessequal_test_data): Likewise.
3819 (islessgreater_test_data): Likewise.
3820 (isnan_test_data): Likewise.
3821 (isnormal_test_data): Likewise.
3822 (issignaling_test_data): Likewise.
3823 (isunordered_test_data): Likewise.
3824 (j0_test_data): Likewise.
3825 (j1_test_data): Likewise.
3826 (jn_test_data): Likewise.
3827 (ldexp_test_data): Likewise.
3828 (lgamma_test_data): Likewise.
3829 (lrint_test_data): Likewise.
3830 (lrint_tonearest_test_data): Likewise.
3831 (lrint_towardzero_test_data): Likewise.
3832 (lrint_downward_test_data): Likewise.
3833 (lrint_upward_test_data): Likewise.
3834 (llrint_test_data): Likewise.
3835 (llrint_tonearest_test_data): Likewise.
3836 (llrint_towardzero_test_data): Likewise.
3837 (llrint_downward_test_data): Likewise.
3838 (llrint_upward_test_data): Likewise.
3839 (log_test_data): Likewise.
3840 (log10_test_data): Likewise.
3841 (log1p_test_data): Likewise.
3842 (log2_test_data): Likewise.
3843 (logb_test_data): Likewise.
3844 (logb_downward_test_data): Likewise.
3845 (lround_test_data): Likewise.
3846 (llround_test_data): Likewise.
3847 (modf_test_data): Likewise.
3848 (nearbyint_test_data): Likewise.
3849 (nextafter_test_data): Likewise.
3850 (nexttoward_test_data): Likewise.
3851 (pow_test_data): Likewise.
3852 (pow_tonearest_test_data): Likewise.
3853 (pow_towardzero_test_data): Likewise.
3854 (pow_downward_test_data): Likewise.
3855 (pow_upward_test_data): Likewise.
3856 (remainder_test_data): Likewise.
3857 (remainder_tonearest_test_data): Likewise.
3858 (remainder_towardzero_test_data): Likewise.
3859 (remainder_downward_test_data): Likewise.
3860 (remainder_upward_test_data): Likewise.
3861 (remquo_test_data): Likewise.
3862 (rint_test_data): Likewise.
3863 (rint_tonearest_test_data): Likewise.
3864 (rint_towardzero_test_data): Likewise.
3865 (rint_downward_test_data): Likewise.
3866 (rint_upward_test_data): Likewise.
3867 (round_test_data): Likewise.
3868 (scalb_test_data): Likewise.
3869 (scalbn_test_data): Likewise.
3870 (scalbln_test_data): Likewise.
3871 (signbit_test_data): Likewise.
3872 (sin_test_data): Likewise.
3873 (sin_tonearest_test_data): Likewise.
3874 (sin_towardzero_test_data): Likewise.
3875 (sin_downward_test_data): Likewise.
3876 (sin_upward_test_data): Likewise.
3877 (sincos_test_data): Likewise.
3878 (sinh_test_data): Likewise.
3879 (sinh_tonearest_test_data): Likewise.
3880 (sinh_towardzero_test_data): Likewise.
3881 (sinh_downward_test_data): Likewise.
3882 (sinh_upward_test_data): Likewise.
3883 (sqrt_test_data): Likewise.
3884 (tan_test_data): Likewise.
3885 (tan_tonearest_test_data): Likewise.
3886 (tan_towardzero_test_data): Likewise.
3887 (tan_downward_test_data): Likewise.
3888 (tan_upward_test_data): Likewise.
3889 (tanh_test_data): Likewise.
3890 (tgamma_test_data): Likewise.
3891 (trunc_test_data): Likewise.
3892 (y0_test_data): Likewise.
3893 (y1_test_data): Likewise.
3894 (yn_test_data): Likewise.
3895 (significand_test_data): Likewise.
3896
b679a606
JM
3897 * math/gen-libm-test.pl (@functions): Remove variable.
3898 (generate_testfile): Don't handle START and END lines.
3899 * math/libm-test.inc (START): New macro.
3900 (END): Likewise.
3901 (END_COMPLEX): Likewise.
3902 (acos_test): Use END macro without arguments.
3903 (acos_test_tonearest): Likewise.
3904 (acos_test_towardzero): Likewise.
3905 (acos_test_downward): Likewise.
3906 (acos_test_upward): Likewise.
3907 (acosh_test): Likewise.
3908 (asin_test): Likewise.
3909 (asin_test_tonearest): Likewise.
3910 (asin_test_towardzero): Likewise.
3911 (asin_test_downward): Likewise.
3912 (asin_test_upward): Likewise.
3913 (asinh_test): Likewise.
3914 (atan_test): Likewise.
3915 (atanh_test): Likewise.
3916 (atan2_test): Likewise.
3917 (cabs_test): Likewise.
3918 (cacos_test): Use END_COMPLEX macro without arguments.
3919 (cacosh_test): Likewise.
3920 (carg_test): Use END macro without arguments.
3921 (casin_test): Use END_COMPLEX macro without arguments.
3922 (casinh_test): Likewise.
3923 (catan_test): Likewise.
3924 (catanh_test): Likewise.
3925 (cbrt_test): Use END macro without arguments.
3926 (ccos_test): Use END_COMPLEX macro without arguments.
3927 (ccosh_test): Likewise.
3928 (ceil_test): Use END macro without arguments.
3929 (cexp_test): Use END_COMPLEX macro without arguments.
3930 (cimag_test): Use END macro without arguments.
3931 (clog_test): Use END_COMPLEX macro without arguments.
3932 (clog10_test): Likewise.
3933 (conj_test): Likewise.
3934 (copysign_test): Use END macro without arguments.
3935 (cos_test): Likewise.
3936 (cos_test_tonearest): Likewise.
3937 (cos_test_towardzero): Likewise.
3938 (cos_test_downward): Likewise.
3939 (cos_test_upward): Likewise.
3940 (cosh_test): Likewise.
3941 (cosh_test_tonearest): Likewise.
3942 (cosh_test_towardzero): Likewise.
3943 (cosh_test_downward): Likewise.
3944 (cosh_test_upward): Likewise.
3945 (cpow_test): Use END_COMPLEX macro without arguments.
3946 (cproj_test): Likewise.
3947 (creal_test): Use END macro without arguments.
3948 (csin_test): Use END_COMPLEX macro without arguments.
3949 (csinh_test): Likewise.
3950 (csqrt_test): Likewise.
3951 (ctan_test): Likewise.
3952 (ctan_test_tonearest): Likewise.
3953 (ctan_test_towardzero): Likewise.
3954 (ctan_test_downward): Likewise.
3955 (ctan_test_upward): Likewise.
3956 (ctanh_test): Likewise.
3957 (ctanh_test_tonearest): Likewise.
3958 (ctanh_test_towardzero): Likewise.
3959 (ctanh_test_downward): Likewise.
3960 (ctanh_test_upward): Likewise.
3961 (erf_test): Use END macro without arguments.
3962 (erfc_test): Likewise.
3963 (exp_test): Likewise.
3964 (exp_test_tonearest): Likewise.
3965 (exp_test_towardzero): Likewise.
3966 (exp_test_downward): Likewise.
3967 (exp_test_upward): Likewise.
3968 (exp10_test): Likewise.
3969 (exp2_test): Likewise.
3970 (expm1_test): Likewise.
3971 (fabs_test): Likewise.
3972 (fdim_test): Likewise.
3973 (finite_test): Likewise.
3974 (floor_test): Likewise.
3975 (fma_test): Likewise.
3976 (fma_test_towardzero): Likewise.
3977 (fma_test_downward): Likewise.
3978 (fma_test_upward): Likewise.
3979 (fmax_test): Likewise.
3980 (fmin_test): Likewise.
3981 (fmod_test): Likewise.
3982 (fpclassify_test): Likewise.
3983 (frexp_test): Likewise.
3984 (gamma_test): Likewise.
3985 (hypot_test): Likewise.
3986 (ilogb_test): Likewise.
3987 (isfinite_test): Likewise.
3988 (isgreater_test): Likewise.
3989 (isgreaterequal_test): Likewise.
3990 (isinf_test): Likewise.
3991 (isless_test): Likewise.
3992 (islessequal_test): Likewise.
3993 (islessgreater_test): Likewise.
3994 (isnan_test): Likewise.
3995 (isnormal_test): Likewise.
3996 (issignaling_test): Likewise.
3997 (isunordered_test): Likewise.
3998 (j0_test): Likewise.
3999 (j1_test): Likewise.
4000 (jn_test): Likewise.
4001 (ldexp_test): Likewise.
4002 (lgamma_test): Likewise.
4003 (lrint_test): Likewise.
4004 (lrint_test_tonearest): Likewise.
4005 (lrint_test_towardzero): Likewise.
4006 (lrint_test_downward): Likewise.
4007 (lrint_test_upward): Likewise.
4008 (llrint_test): Likewise.
4009 (llrint_test_tonearest): Likewise.
4010 (llrint_test_towardzero): Likewise.
4011 (llrint_test_downward): Likewise.
4012 (llrint_test_upward): Likewise.
4013 (log_test): Likewise.
4014 (log10_test): Likewise.
4015 (log1p_test): Likewise.
4016 (log2_test): Likewise.
4017 (logb_test): Likewise.
4018 (logb_test_downward): Likewise.
4019 (lround_test): Likewise.
4020 (llround_test): Likewise.
4021 (modf_test): Likewise.
4022 (nearbyint_test): Likewise.
4023 (nextafter_test): Likewise.
4024 (nexttoward_test): Likewise.
4025 (pow_test): Likewise.
4026 (pow_test_tonearest): Likewise.
4027 (pow_test_towardzero): Likewise.
4028 (pow_test_downward): Likewise.
4029 (pow_test_upward): Likewise.
4030 (remainder_test): Likewise.
4031 (remainder_test_tonearest): Likewise.
4032 (remainder_test_towardzero): Likewise.
4033 (remainder_test_downward): Likewise.
4034 (remainder_test_upward): Likewise.
4035 (remquo_test): Likewise.
4036 (rint_test): Likewise.
4037 (rint_test_tonearest): Likewise.
4038 (rint_test_towardzero): Likewise.
4039 (rint_test_downward): Likewise.
4040 (rint_test_upward): Likewise.
4041 (round_test): Likewise.
4042 (scalb_test): Likewise.
4043 (scalbn_test): Likewise.
4044 (scalbln_test): Likewise.
4045 (signbit_test): Likewise.
4046 (sin_test): Likewise.
4047 (sin_test_tonearest): Likewise.
4048 (sin_test_towardzero): Likewise.
4049 (sin_test_downward): Likewise.
4050 (sin_test_upward): Likewise.
4051 (sincos_test): Likewise.
4052 (sinh_test): Likewise.
4053 (sinh_test_tonearest): Likewise.
4054 (sinh_test_towardzero): Likewise.
4055 (sinh_test_downward): Likewise.
4056 (sinh_test_upward): Likewise.
4057 (sqrt_test): Likewise.
4058 (tan_test): Likewise.
4059 (tan_test_tonearest): Likewise.
4060 (tan_test_towardzero): Likewise.
4061 (tan_test_downward): Likewise.
4062 (tan_test_upward): Likewise.
4063 (tanh_test): Likewise.
4064 (tgamma_test): Likewise.
4065 (trunc_test): Likewise.
4066 (y0_test): Likewise.
4067 (y1_test): Likewise.
4068 (yn_test): Likewise.
4069 (significand_test): Likewise.
4070
bae143d2
OB
40712013-05-24 Ondřej Bílka <neleai@seznam.cz>
4072
4073 [BZ #15381]
4074 * libio/genops.c (_IO_no_init): Initialize wide struct info.
4075
9323d39b
EM
40762013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
4077
d4ea44a0 4078 [BZ #14894]
9323d39b
EM
4079 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
4080 __ppc_mdoio and __ppc_mdoom.
4081 * manual/platform.texi: Document new functions __ppc_yield,
4082 __ppc_mdoio and __ppc_mdoom.
4083
13e23af7
CD
40842013-05-22 Carlos O'Donell <carlos@redhat.com>
4085
4086 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
4087 (main): Mention "tls" pseudo-hwcap is legacy.
4088 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
4089
351fe550
JM
40902013-05-22 Joseph Myers <joseph@codesourcery.com>
4091
4092 * math/gen-libm-test.pl (parse_args): Output only string of
4093 arguments as text for test name, not full call or descriptions of
4094 tests for extra outputs.
4095 (generate_testfile): Do not pass function name to parse_args.
4096 Generate this_func variable from START.
4097 * math/libm-test.inc (struct test_f_f_data): Rename test_name
4098 field to arg_str.
4099 (struct test_ff_f_data): Likewise.
4100 (test_ff_f_data_nexttoward): Likewise.
4101 (struct test_fi_f_data): Likewise.
4102 (struct test_fl_f_data): Likewise.
4103 (struct test_if_f_data): Likewise.
4104 (struct test_fff_f_data): Likewise.
4105 (struct test_c_f_data): Likewise.
4106 (struct test_f_f1_data): Likewise. Remove field extra_name.
4107 (struct test_fF_f1_data): Likewise.
4108 (struct test_ffI_f1_data): Likewise.
4109 (struct test_c_c_data): Rename test_name field to arg_str.
4110 (struct test_cc_c_data): Likewise.
4111 (struct test_f_i_data): Likewise.
4112 (struct test_ff_i_data): Likewise.
4113 (struct test_f_l_data): Likewise.
4114 (struct test_f_L_data): Likewise.
4115 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
4116 and extra2_name.
4117 (COMMON_TEST_SETUP): New macro.
4118 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4119 (COMMON_TEST_CLEANUP): Likewise.
4120 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4121 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
4122 macros.
4123 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
4124 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
4125 macros.
4126 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
4127 (RUN_TEST_fff_f): Take argument string. Call new setup and
4128 cleanup macros.
4129 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
4130 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
4131 macros.
4132 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
4133 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
4134 macros.
4135 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4136 (RUN_TEST_fF_f1): Take argument string. Call new setup and
4137 cleanup macros.
4138 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4139 (RUN_TEST_fI_f1): Take argument string. Call new setup and
4140 cleanup macros.
4141 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4142 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
4143 cleanup macros.
4144 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4145 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
4146 macros.
4147 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
4148 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
4149 macros.
4150 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
4151 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
4152 macros.
4153 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
4154 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
4155 cleanup macros.
4156 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
4157 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
4158 cleanup macros.
4159 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
4160 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
4161 macros.
4162 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
4163 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
4164 cleanup macros.
4165 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
4166 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
4167 macros.
4168 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
4169 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
4170 macros.
4171 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
4172 (RUN_TEST_fFF_11): Take argument string. Call new setup and
4173 cleanup macros.
4174 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
4175
85118d4d
EBM
41762013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4177
4178 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
4179 to _sifields.sigfault.
4180 (si_addr_lsb): Define new macro.
4181 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4182 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4183 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
4184
7a44c18f
CD
41852013-05-03 Carlos O'Donell <carlos at redhat.com>
4186
4187 [BZ #15441]
4188 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
4189 returns -1.
4190 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
4191 null return -1.
4192 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
4193 loading the domain.
4194
b50a7181
JM
41952013-05-22 Joseph Myers <joseph@codesourcery.com>
4196
4197 * math/gen-libm-test.pl (parse_args): Do not include expected
4198 result in test name.
4199 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
4200 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4201 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4202 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4203 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4205
051063c8
SP
42062013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4207
3ce9e010
SP
4208 * benchtests/Makefile: Sort function entries.
4209
051063c8
SP
4210 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
4211 tanh, asinh, acosh, atanh.
4212 * benchtests/acos-inputs: New file.
4213 * benchtests/acosh-inputs: New file.
4214 * benchtests/asin-inputs: New file.
4215 * benchtests/asinh-inputs: New file.
4216 * benchtests/atanh-inputs: New file.
4217 * benchtests/cosh-inputs: New file.
4218 * benchtests/log-inputs: New file.
4219 * benchtests/sinh-inputs: New file.
4220 * benchtests/tanh-inputs: New file.
4221
47c22455
DL
42222013-05-21 Dmitry V. Levin <ldv@altlinux.org>
4223
4224 [BZ #15339]
4225 * posix/tst-getaddrinfo4.c: New test.
4226 * posix/Makefile (tests): Add it.
4227
3d04f5db
SP
42282013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4229
4230 [BZ #15339]
4231 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
4232 when no services were used.
4233 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
4234 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
4235
d5dd6189
AS
42362013-05-21 Andreas Schwab <schwab@suse.de>
4237
4238 [BZ #15014]
4239 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
4240 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
4241 successful.
4242 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
4243 redundant variable declarations and reallocation of buffer when
4244 parsing as IPv6 address. Always set NSS status when called from
4245 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
4246 buffer too small. Correct computation of needed size.
4247 * nss/Makefile (tests): Add test-digits-dots.
4248 * nss/test-digits-dots.c: New test.
4249
fef94eab
SP
42502013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4251
4252 * benchtests/Makefile: Remove instructions for adding
4253 benchmark tests.
4254 * benchtests/README: New file to explain how to execute and
4255 enhance the benchmark tests.
4256
e39adf43
AS
42572013-05-21 Andreas Schwab <schwab@suse.de>
4258
4259 [BZ #15493]
4260 * setjmp/Makefile (tests): Add tst-sigsetjmp.
4261 * setjmp/tst-sigsetjmp.c: New test.
4262
b2b671b6
OB
42632013-05-20 Ondřej Bílka <neleai@seznam.cz>
4264
4265 * sysdeps/x86_64/memset.S (memset): New implementation.
4266 (__bzero): Likewise.
4267 (__memset_tail): New function.
4268
2d48b41c
OB
42692013-05-20 Ondřej Bílka <neleai@seznam.cz>
4270
4271 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
4272 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
4273 __memcpy_sse2_unaligned ifunc selection.
4274 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4275 Add memcpy-sse2-unaligned.S.
4276 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4277 Add: __memcpy_sse2_unaligned.
4278
f16cc3eb
JM
42792013-05-19 Joseph Myers <joseph@codesourcery.com>
4280
3e694268
JM
4281 [BZ #15490]
4282 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4283 math_force_eval before restoring floating-point envrionment.
4284 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
4285 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4286 Likewise.
4287 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
4288 <math_private.h>.
4289 (__nearbyintl): Use math_force_eval before restoring
4290 floating-point environment.
4291 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
4292
db62a907
JM
4293 * math/gen-libm-test.pl (special_functions): Remove.
4294 (parse_args): Don't handle TEST_extra. Handle functions with no
4295 return value.
4296 * math/libm-test.inc (struct test_sincos_data): Replace with
4297 struct test_fFF_11_data.
4298 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
4299 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
4300 (sincos_test_data): Change element type to struct
4301 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
4302 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
4303 RUN_TEST_LOOP_sincos.
4304 * math/README.libm-test: Don't mention special handling of
4305 individual functions.
4306 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
4307 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4308 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4309 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4310 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4312
f16cc3eb
JM
4313 * math/gen-libm-test.pl (get_variable): Remove function.
4314 (parse_args): Don't show pointer parameters to call in test
4315 names. Use "extra output N" in test names for extra outputs
4316 rather than naming variables.
4317
3779b5b6
JM
43182013-05-18 Joseph Myers <joseph@codesourcery.com>
4319
2ee094ff
JM
4320 [BZ #15488]
4321 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
4322 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
4323 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
4324 double tests.
4325 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
4326 disable.
4327 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
4328 check_long_double.
4329
3779b5b6
JM
4330 * math/gen-libm-test.pl (@tests): Remove variable.
4331 ($count): Likewise.
4332 (new_test): Remove function.
4333 (show_exceptions): New function.
4334 (special_functions): Use show_exceptions instead of new_test.
4335 (parse_args): Likewise.
4336 (generate_testfile): Pass only function name in generated call to
4337 print_max_error or print_complex_max_error.
4338 (get_ulps): Do not handle complex tests specially.
4339 (output_test): Rename to ...
4340 (get_all_ulps_for_test): ... this. Return a string rather than
4341 printing to a file. Require ulps to be present.
4342 (output_ulps): Generate arrays rather than #defines.
4343 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
4344 (struct ulp_data): New type.
4345 (BUILD_COMPLEX_ULP): Remove macro.
4346 (compare_ulp_data): New function.
4347 (find_ulps): Likewise.
4348 (find_test_ulps): Likewise.
4349 (find_function_ulps): Likewise.
4350 (find_complex_function_ulps): Likewise.
4351 (print_max_error): Determine allowed ulps using
4352 find_function_ulps.
4353 (print_complex_max_error): Determine allowed ulps using
4354 find_complex_function_ulps.
4355 (check_float_internal): Determine max ulps using find_test_ulps.
4356 (check_float): Do not take max_ulp parameter. Update call to
4357 check_float_internal.
4358 (check_complex): Likewise.
4359 (check_int): Do not take max_ulp parameter.
4360 (check_long): Likewise.
4361 (check_bool): Likewise.
4362 (check_longlong): Likewise.
4363 (struct test_f_f_data): Remove max_ulp field.
4364 (struct test_ff_f_data): Likewise.
4365 (struct test_ff_f_data_nexttoward): Likewise.
4366 (struct test_fi_f_data): Likewise.
4367 (struct test_fl_f_data): Likewise.
4368 (struct test_if_f_data): Likewise.
4369 (struct test_fff_f_data): Likewise.
4370 (struct test_c_f_data): Likewise.
4371 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
4372 (struct test_fF_f1_data): Likewise.
4373 (struct test_ffI_f1_data): Likewise.
4374 (struct test_c_c_data): Remove max_ulp field.
4375 (struct test_cc_c_data): Likewise.
4376 (struct test_f_i_data): Likewise.
4377 (struct test_ff_i_data): Likewise.
4378 (struct test_f_l_data): Likewise.
4379 (struct test_f_L_data): Likewise.
4380 (struct test_sincos_data): Likewise.
4381 (RUN_TEST_f_f): Do not handle ulps.
4382 (RUN_TEST_LOOP_f_f): Likewise.
4383 (RUN_TEST_2_f): Likewise.
4384 (RUN_TEST_LOOP_2_f): Likewise.
4385 (RUN_TEST_fff_f): Likewise.
4386 (RUN_TEST_LOOP_fff_f): Likewise.
4387 (RUN_TEST_c_f): Likewise.
4388 (RUN_TEST_LOOP_c_f): Likewise.
4389 (RUN_TEST_f_f1): Likewise.
4390 (RUN_TEST_LOOP_f_f1): Likewise.
4391 (RUN_TEST_fF_f1): Likewise.
4392 (RUN_TEST_LOOP_fF_f1): Likewise.
4393 (RUN_TEST_fI_f1): Likewise.
4394 (RUN_TEST_LOOP_fI_f1): Likewise.
4395 (RUN_TEST_ffI_f1): Likewise.
4396 (RUN_TEST_LOOP_ffI_f1): Likewise.
4397 (RUN_TEST_c_c): Likewise.
4398 (RUN_TEST_LOOP_c_c): Likewise.
4399 (RUN_TEST_cc_c): Likewise.
4400 (RUN_TEST_LOOP_cc_c): Likewise.
4401 (RUN_TEST_f_i): Likewise.
4402 (RUN_TEST_LOOP_f_i): Likewise.
4403 (RUN_TEST_f_i_tg): Likewise.
4404 (RUN_TEST_LOOP_f_i_tg): Likewise.
4405 (RUN_TEST_ff_i_tg): Likewise.
4406 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4407 (RUN_TEST_f_b): Likewise.
4408 (RUN_TEST_LOOP_f_b): Likewise.
4409 (RUN_TEST_f_b_tg): Likewise.
4410 (RUN_TEST_LOOP_f_b_tg): Likewise.
4411 (RUN_TEST_f_l): Likewise.
4412 (RUN_TEST_LOOP_f_l): Likewise.
4413 (RUN_TEST_f_L): Likewise.
4414 (RUN_TEST_LOOP_f_L): Likewise.
4415 (RUN_TEST_sincos): Likewise.
4416 (RUN_TEST_LOOP_sincos): Likewise.
4417
8269107f
JM
44182013-05-17 Joseph Myers <joseph@codesourcery.com>
4419
bb38759d
JM
4420 [BZ #15480]
4421 [BZ #15485]
4422 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
4423 main case of finite arguments, set rounding mode to FE_TONEAREST
4424 and discard exceptions.
4425 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
4426 exceptions.
4427 (remainder_tonearest_test_data): New variable.
4428 (remainder_test_tonearest): New function.
4429 (remainder_towardzero_test_data): New variable.
4430 (remainder_test_towardzero): New function.
4431 (remainder_downward_test_data): New variable.
4432 (remainder_test_downward): New function.
4433 (remainder_upward_test_data): New variable.
4434 (remainder_test_upward): New function.
4435 (main): Call the new test functions.
4436
a00bdcf0
JM
4437 * math/libm-test.inc (struct test_f_f1_data): Remove field
4438 extra_init.
4439 (struct test_fF_f1_data): Likewise.
4440 (struct test_ffI_f1_data): Likewise.
4441 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
4442 based on value of EXTRA_EXPECTED.
4443 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4444 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
4445 EXTRA_VAR based on value of EXTRA_EXPECTED.
4446 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4447 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
4448 EXTRA_VAR based on value of EXTRA_EXPECTED.
4449 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4450 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
4451 EXTRA_VAR based on value of EXTRA_EXPECTED.
4452 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4453 * math/gen-libm-test.pl (parse_args): Don't output initializers
4454 for extra output values.
4455
de407f79
JM
4456 * math/libm-test.inc (check_int): Expect result to be exactly
4457 equal to expected value and do not handle ulps.
4458 (check_long): Likewise.
4459 (check_longlong): Likewise.
4460
8269107f
JM
4461 * math/libm-test.inc (ceil_test_data): Test for "inexact"
4462 exceptions.
4463 (cimag_test_data): Likewise.
4464 (conj_test_data): Likewise.
4465 (copysign_test_data): Likewise.
4466 (cproj_test_data): Likewise.
4467 (creal_test_data): Likewise.
4468 (fabs_test_data): Likewise.
4469 (fdim_test_data): Likewise.
4470 (finite_test_data): Likewise.
4471 (floor_test_data): Likewise.
4472 (fmax_test_data): Likewise.
4473 (fmin_test_data): Likewise.
4474 (fmod_test_data): Likewise.
4475 (fpclassify_test_data): Likewise.
4476 (frexp_test_data): Likewise.
4477 (ilogb_test_data): Likewise.
4478 (isfinite_test_data): Likewise.
4479 (isgreater_test_data): Likewise.
4480 (isgreaterequal_test_data): Likewise.
4481 (isinf_test_data): Likewise.
4482 (isless_test_data): Likewise.
4483 (islessequal_test_data): Likewise.
4484 (islessgreater_test_data): Likewise.
4485 (isnan_test_data): Likewise.
4486 (isnormal_test_data): Likewise.
4487 (issignaling_test_data): Likewise.
4488 (isunordered_test_data): Likewise.
4489 (ldexp_test_data): Likewise.
4490 (lrint_test_data): Likewise.
4491 (lrint_test_data) [TEST_FLOAT]: Disable one test.
4492 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
4493 (lrint_tonearest_test_data): Test for "inexact" exceptions.
4494 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4495 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
4496 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4497 test input.
4498 (lrint_towardzero_test_data): Test for "inexact" exceptions.
4499 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4500 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
4501 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
4502 that test input.
4503 (lrint_downward_test_data): Test for "inexact" exceptions.
4504 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4505 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
4506 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4507 test input.
4508 (lrint_upward_test_data): Test for "inexact" exceptions.
4509 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
4510 test input.
4511 (llrint_test_data): Test for "inexact" exceptions.
4512 (llrint_test_data) [TEST_FLOAT]: Disable one test.
4513 (llrint_tonearest_test_data): Test for "inexact" exceptions.
4514 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4515 (llrint_towardzero_test_data): Test for "inexact" exceptions.
4516 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4517 (llrint_downward_test_data): Test for "inexact" exceptions.
4518 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4519 (llrint_upward_test_data): Test for "inexact" exceptions.
4520 (logb_test_data): Likewise.
4521 (logb_downward_test_data): Likewise.
4522 (nextafter_test_data): Likewise.
4523 (nexttoward_test_data): Likewise.
4524 (remainder_test_data): Likewise.
4525 (remquo_test_data): Likewise.
4526 (scalbn_test_data): Likewise.
4527 (scalbln_test_data): Likewise.
4528 (signbit_test_data): Likewise.
4529 (sqrt_test_data): Likewise.
4530 (significand_test_data): Likewise.
4531
48a18de1
SP
45322013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4533
4534 [BZ #15424]
4535 * benchtests/bench-modf.c (struct args): Mark arg0 as
4536 volatile.
4537 * scripts/bench.pl: Mark members of struct args as volatile.
4538
13d3b41a
AZ
45392013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4540
68191c1d 4541 [BZ # 15497]
13d3b41a
AZ
4542 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
4543 negative infinity on POWER6 or lower.
4544 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
4545
2848b105
MR
45462013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4547
4548 [BZ #15442]
4549 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
4550 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
4551 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
4552 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
4553 (_FP_SETQNAN): New macro.
4554 (_FP_SETQNAN_SEMIRAW): Likewise.
4555 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
4556 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
4557 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
4558 (FP_EXTEND): Use _FP_FRAC_SNANP.
4559 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
4560 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
4561 into account.
4562 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4563 New macro.
4564 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4565 Likewise.
4566
323e5cb7
JM
45672013-05-16 Joseph Myers <joseph@codesourcery.com>
4568
c58b274f
JM
4569 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
4570 with DIVIDE_BY_ZERO_EXCEPTION.
4571 (gamma_test_data): Likewise.
4572 (lgamma_test_data): Likewise.
4573 (log_test_data): Likewise.
4574 (log10_test_data): Likewise.
4575 (log2_test_data): Likewise.
4576 (tgamma_test_data): Likewise.
4577
0ab34904
JM
4578 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
4579 (acos_test_tonearest): Likewise.
4580 (acos_test_towardzero): Likewise.
4581 (acos_test_downward): Likewise.
4582 (acos_test_upward): Likewise.
4583 (acosh_test): Likewise.
4584 (asin_test): Likewise.
4585 (asin_test_tonearest): Likewise.
4586 (asin_test_towardzero): Likewise.
4587 (asin_test_downward): Likewise.
4588 (asin_test_upward): Likewise.
4589 (asinh_test): Likewise.
4590 (atan_test): Likewise.
4591 (atanh_test): Likewise.
4592 (atan2_test): Likewise.
4593 (cabs_test): Likewise.
4594 (cacos_test): Likewise.
4595 (cacosh_test): Likewise.
4596 (casin_test): Likewise.
4597 (casinh_test): Likewise.
4598 (catan_test): Likewise.
4599 (catanh_test): Likewise.
4600 (cbrt_test): Likewise.
4601 (ccos_test): Likewise.
4602 (ccosh_test): Likewise.
4603 (cexp_test): Likewise.
4604 (clog_test): Likewise.
4605 (clog10_test): Likewise.
4606 (cos_test): Likewise.
4607 (cos_test_tonearest): Likewise.
4608 (cos_test_towardzero): Likewise.
4609 (cos_test_downward): Likewise.
4610 (cos_test_upward): Likewise.
4611 (cosh_test): Likewise.
4612 (cosh_test_tonearest): Likewise.
4613 (cosh_test_towardzero): Likewise.
4614 (cosh_test_downward): Likewise.
4615 (cosh_test_upward): Likewise.
4616 (cpow_test): Likewise.
4617 (csin_test): Likewise.
4618 (csinh_test): Likewise.
4619 (csqrt_test): Likewise.
4620 (ctan_test): Likewise.
4621 (ctan_test_tonearest): Likewise.
4622 (ctan_test_towardzero): Likewise.
4623 (ctan_test_downward): Likewise.
4624 (ctan_test_upward): Likewise.
4625 (ctanh_test): Likewise.
4626 (ctanh_test_tonearest): Likewise.
4627 (ctanh_test_towardzero): Likewise.
4628 (ctanh_test_downward): Likewise.
4629 (ctanh_test_upward): Likewise.
4630 (erf_test): Likewise.
4631 (erfc_test): Likewise.
4632 (exp_test): Likewise.
4633 (exp_test_tonearest): Likewise.
4634 (exp_test_towardzero): Likewise.
4635 (exp_test_downward): Likewise.
4636 (exp_test_upward): Likewise.
4637 (exp10_test): Likewise.
4638 (exp2_test): Likewise.
4639 (expm1_test): Likewise.
4640 (fmod_test): Likewise.
4641 (gamma_test): Likewise.
4642 (hypot_test): Likewise.
4643 (j0_test): Likewise.
4644 (j1_test): Likewise.
4645 (jn_test): Likewise.
4646 (lgamma_test): Likewise.
4647 (log_test): Likewise.
4648 (log10_test): Likewise.
4649 (log1p_test): Likewise.
4650 (log2_test): Likewise.
4651 (logb_test_downward): Likewise.
4652 (pow_test): Likewise.
4653 (pow_test_tonearest): Likewise.
4654 (pow_test_towardzero): Likewise.
4655 (pow_test_downward): Likewise.
4656 (pow_test_upward): Likewise.
4657 (remainder_test): Likewise.
4658 (remquo_test): Likewise.
4659 (sin_test): Likewise.
4660 (sin_test_tonearest): Likewise.
4661 (sin_test_towardzero): Likewise.
4662 (sin_test_downward): Likewise.
4663 (sin_test_upward): Likewise.
4664 (sincos_test): Likewise.
4665 (sinh_test): Likewise.
4666 (sinh_test_tonearest): Likewise.
4667 (sinh_test_towardzero): Likewise.
4668 (sinh_test_downward): Likewise.
4669 (sinh_test_upward): Likewise.
4670 (sqrt_test): Likewise.
4671 (tan_test): Likewise.
4672 (tan_test_tonearest): Likewise.
4673 (tan_test_towardzero): Likewise.
4674 (tan_test_downward): Likewise.
4675 (tan_test_upward): Likewise.
4676 (tanh_test): Likewise.
4677 (tgamma_test): Likewise.
4678 (y0_test): Likewise.
4679 (y1_test): Likewise.
4680 (yn_test): Likewise.
4681
323e5cb7
JM
4682 * math/gen-libm-test.pl (adjust_arg): Remove function.
4683 (special_function): Remove argument $in_func. Only handle
4684 generating output for tables of tests, not inside functions.
4685 (parse_args): Likewise.
4686 (generate_testfile): Remove variable $in_func. Update call to
4687 parse_args.
4688 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
4689 (MINUS_ZERO_INIT): Rename macro to minus_zero.
4690 (PLUS_INFTY_INIT): Rename macro to plus_infty.
4691 (MINUS_INFTY_INIT): Rename macro to minus_infty.
4692 (QNAN_VALUE_INIT): Rename macro to qnan_value.
4693 (MAX_VALUE_INIT): Rename macro to max_value.
4694 (MIN_VALUE_INIT): Rename macro to min_value.
4695 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
4696 (plus_zero): Remove variable.
4697 (minus_zero): Likewise.
4698 (plus_infty): Likewise.
4699 (minus_infty): Likewise.
4700 (qnan_value): Likewise.
4701 (max_value): Likewise.
4702 (min_value): Likewise.
4703 (min_subnorm_value): Likewise.
4704
e054f494
RA
47052013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4706
4707 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
4708 uint64_t or uint32_t usage.
4709 * crypt/sha256-block.c: Likewise.
4710 * crypt/sha256-crypt.c: Likewise.
4711 * crypt/sha256.c: Likewise.
4712 * crypt/sha512-block.c: Likewise.
4713 * crypt/sha512-crypt.c: Likewise.
4714 * crypt/sha512.c: Likewise.
4715 * debug/backtrace-tst.c: Likewise.
4716 * debug/pcprofiledump.c: Likewise.
4717 * elf/cache.c: Likewise.
4718 * elf/dl-cache.c: Likewise.
4719 * elf/dl-misc.c: Likewise.
4720 * elf/dl-profile.c: Likewise.
4721 * elf/dl-support.c: Likewise.
4722 * elf/ldconfig.c: Likewise.
4723 * elf/sprof.c: Likewise.
4724 * iconv/dummy-repertoire.c: Likewise.
4725 * iconv/iconv_charmap.c: Likewise.
4726 * iconv/skeleton.c: Likewise.
4727 * iconvdata/8bit-generic.c: Likewise.
4728 * iconvdata/cp737.h: Likewise.
4729 * iconvdata/cp775.h: Likewise.
4730 * iconvdata/ibm1008.h: Likewise.
4731 * iconvdata/ibm1025.h: Likewise.
4732 * iconvdata/ibm1046.h: Likewise.
4733 * iconvdata/ibm1097.h: Likewise.
4734 * iconvdata/ibm1112.h: Likewise.
4735 * iconvdata/ibm1122.h: Likewise.
4736 * iconvdata/ibm1123.h: Likewise.
4737 * iconvdata/ibm1124.h: Likewise.
4738 * iconvdata/ibm1129.h: Likewise.
4739 * iconvdata/ibm1130.h: Likewise.
4740 * iconvdata/ibm1132.h: Likewise.
4741 * iconvdata/ibm1133.h: Likewise.
4742 * iconvdata/ibm1137.h: Likewise.
4743 * iconvdata/ibm1140.h: Likewise.
4744 * iconvdata/ibm1141.h: Likewise.
4745 * iconvdata/ibm1142.h: Likewise.
4746 * iconvdata/ibm1143.h: Likewise.
4747 * iconvdata/ibm1144.h: Likewise.
4748 * iconvdata/ibm1145.h: Likewise.
4749 * iconvdata/ibm1146.h: Likewise.
4750 * iconvdata/ibm1147.h: Likewise.
4751 * iconvdata/ibm1148.h: Likewise.
4752 * iconvdata/ibm1149.h: Likewise.
4753 * iconvdata/ibm1153.h: Likewise.
4754 * iconvdata/ibm1154.h: Likewise.
4755 * iconvdata/ibm1155.h: Likewise.
4756 * iconvdata/ibm1156.h: Likewise.
4757 * iconvdata/ibm1157.h: Likewise.
4758 * iconvdata/ibm1158.h: Likewise.
4759 * iconvdata/ibm1160.h: Likewise.
4760 * iconvdata/ibm1161.h: Likewise.
4761 * iconvdata/ibm1162.h: Likewise.
4762 * iconvdata/ibm1163.h: Likewise.
4763 * iconvdata/ibm1164.h: Likewise.
4764 * iconvdata/ibm1166.h: Likewise.
4765 * iconvdata/ibm1167.h: Likewise.
4766 * iconvdata/ibm12712.h: Likewise.
4767 * iconvdata/ibm1390.h: Likewise.
4768 * iconvdata/ibm1399.h: Likewise.
4769 * iconvdata/ibm16804.h: Likewise.
4770 * iconvdata/ibm4517.h: Likewise.
4771 * iconvdata/ibm4899.h: Likewise.
4772 * iconvdata/ibm4909.h: Likewise.
4773 * iconvdata/ibm4971.h: Likewise.
4774 * iconvdata/ibm5347.h: Likewise.
4775 * iconvdata/ibm803.h: Likewise.
4776 * iconvdata/ibm856.h: Likewise.
4777 * iconvdata/ibm901.h: Likewise.
4778 * iconvdata/ibm902.h: Likewise.
4779 * iconvdata/ibm9030.h: Likewise.
4780 * iconvdata/ibm9066.h: Likewise.
4781 * iconvdata/ibm921.h: Likewise.
4782 * iconvdata/ibm922.h: Likewise.
4783 * iconvdata/ibm9448.h: Likewise.
4784 * iconvdata/isiri-3342.h: Likewise.
4785 * iconvdata/jis0201.h: Likewise.
4786 * include/link.h: Likewise.
4787 * include/netdb.h: Likewise.
4788 * inet/check_native.c: Likewise.
4789 * inet/check_pf.c: Likewise.
4790 * inet/getipv4sourcefilter.c: Likewise.
4791 * inet/getnameinfo.c: Likewise.
4792 * inet/getsourcefilter.c: Likewise.
4793 * inet/htonl.c: Likewise.
4794 * inet/setipv4sourcefilter.c: Likewise.
4795 * inet/setsourcefilter.c: Likewise.
4796 * inet/test-inet6_opt.c: Likewise.
4797 * inet/tst-network.c: Likewise.
4798 * locale/C-collate.c: Likewise.
4799 * locale/C-ctype.c: Likewise.
4800 * locale/C-time.c: Likewise.
4801 * locale/C-translit.h: Likewise.
4802 * locale/loadarchive.c: Likewise.
4803 * locale/programs/3level.h: Likewise.
4804 * locale/programs/charmap.c: Likewise.
4805 * locale/programs/charmap.h: Likewise.
4806 * locale/programs/ld-address.c: Likewise.
4807 * locale/programs/ld-collate.c: Likewise.
4808 * locale/programs/ld-ctype.c: Likewise.
4809 * locale/programs/ld-identification.c: Likewise.
4810 * locale/programs/ld-measurement.c: Likewise.
4811 * locale/programs/ld-messages.c: Likewise.
4812 * locale/programs/ld-monetary.c: Likewise.
4813 * locale/programs/ld-name.c: Likewise.
4814 * locale/programs/ld-numeric.c: Likewise.
4815 * locale/programs/ld-paper.c: Likewise.
4816 * locale/programs/ld-telephone.c: Likewise.
4817 * locale/programs/ld-time.c: Likewise.
4818 * locale/programs/linereader.c: Likewise.
4819 * locale/programs/locale.c: Likewise.
4820 * locale/programs/locarchive.c: Likewise.
4821 * locale/programs/locfile.h: Likewise.
4822 * locale/programs/repertoire.c: Likewise.
4823 * locale/programs/simple-hash.c: Likewise.
4824 * locale/programs/simple-hash.h: Likewise.
4825 * malloc/memusage.c: Likewise.
4826 * malloc/memusagestat.c: Likewise.
4827 * nis/nis_defaults.c: Likewise.
4828 * nis/nis_hash.c: Likewise.
4829 * nis/nis_print.c: Likewise.
4830 * nis/nis_xdr.c: Likewise.
4831 * nscd/connections.c: Likewise.
4832 * nscd/hstcache.c: Likewise.
4833 * nscd/nscd_gethst_r.c: Likewise.
4834 * nscd/nscd_getserv_r.c: Likewise.
4835 * nscd/nscd_helper.c: Likewise.
4836 * nscd/servicescache.c: Likewise.
4837 * nss/makedb.c: Likewise.
4838 * nss/nss_db/db-XXX.c: Likewise.
4839 * nss/nss_db/db-initgroups.c: Likewise.
4840 * nss/nss_db/db-netgrp.c: Likewise.
4841 * nss/nss_files/files-network.c: Likewise.
4842 * nss/nss_files/files-parse.c: Likewise.
4843 * posix/bug-regex5.c: Likewise.
4844 * posix/fnmatch_loop.c: Likewise.
4845 * posix/regcomp.c: Likewise.
4846 * posix/regexec.c: Likewise.
4847 * posix/tst-rfc3484-2.c: Likewise.
4848 * posix/tst-rfc3484-3.c: Likewise.
4849 * posix/tst-rfc3484.c: Likewise.
4850 * resolv/nss_dns/dns-canon.c: Likewise.
4851 * resolv/nss_dns/dns-network.c: Likewise.
4852 * resolv/res_init.c: Likewise.
4853 * resolv/res_mkquery.c: Likewise.
4854 * resolv/tst-aton.c: Likewise.
4855 * stdlib/cxa_atexit.c: Likewise.
4856 * stdlib/cxa_finalize.c: Likewise.
4857 * stdlib/gen-fpioconst.c: Likewise.
4858 * stdlib/strtol_l.c: Likewise.
4859 * string/tst-endian.c: Likewise.
4860 * sunrpc/auth_des.c: Likewise.
4861 * sunrpc/clnt_udp.c: Likewise.
4862 * sunrpc/rtime.c: Likewise.
4863 * sunrpc/svcauth_des.c: Likewise.
4864 * sunrpc/xdr.c: Likewise.
4865 * sunrpc/xdr_intXX_t.c: Likewise.
4866 * sunrpc/xdr_rec.c: Likewise.
4867 * sysdeps/generic/ldconfig.h: Likewise.
4868 * sysdeps/generic/ldsodefs.h: Likewise.
4869 * sysdeps/generic/memusage.h: Likewise.
4870 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4871 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
4872 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
4873 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4874 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4875 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4876 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4877 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4878 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4879 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4880 * sysdeps/posix/getaddrinfo.c: Likewise.
4881 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4882 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4883 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4884 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4885 * sysdeps/powerpc/test-gettimebase.c: Likewise.
4886 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4887 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
4888 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
4889 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4890 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
4891 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4892 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4893 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
4894 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
4895 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
4896 * sysdeps/x86_64/dl-tls.h: Likewise.
4897 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
4898 * time/alt_digit.c: Likewise.
4899 * time/era.c: Likewise.
4900 * wcsmbs/tst-c16c32-1.c: Likewise.
4901
8c75f674
JM
49022013-05-16 Joseph Myers <joseph@codesourcery.com>
4903
4904 * math/libm-test.inc (struct test_sincos_data): New type.
4905 (RUN_TEST_LOOP_sincos): New macro.
4906 (sincos_test_data): New variable.
4907 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
4908
e6e49e59
RH
49092013-05-16 Richard Henderson <rth@redhat.com>
4910
4911 * math/atest-exp2.c (LIMB64): New macro.
4912 (CONSTSZ): New macro.
4913 (mp_exp1, mp_exp_m1, mp_log2): New variables.
4914 (hexdig): Move ...
4915 (print_mpn_fp): ... to function scope.
4916 (read_mpn_hex): Remove.
4917 (get_log2): Remove.
4918 (exp2_mpn): Use mp_log2.
4919 (main): Use mp_exp1.
4920
15c7c18d
JM
49212013-05-16 Joseph Myers <joseph@codesourcery.com>
4922
105a07df
JM
4923 * math/libm-test.inc: Remove comment about not testing "inexact"
4924 exceptions.
4925 (INEXACT_EXCEPTION): New macro.
4926 (NO_INEXACT_EXCEPTION): Likewise.
4927 (INVALID_EXCEPTION_OK): Update value.
4928 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4929 (OVERFLOW_EXCEPTION_OK): Likewise.
4930 (UNDERFLOW_EXCEPTION_OK): Likewise.
4931 (IGNORE_ZERO_INF_SIGN): Likewise.
4932 (ERRNO_UNCHANGED): Likewise.
4933 (ERRNO_EDOM): Likewise.
4934 (ERRNO_ERANGE): Likewise.
4935 (test_exceptions): Handle testing "inexact" exceptions.
4936 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
4937 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
4938 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
4939 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
4940 INEXACT_EXCEPTION.
4941 (rint_towardzero_test_data): Likewise.
4942 (rint_downward_test_data): Likewise.
4943 (rint_upward_test_data): Likewise.
4944
e9eee333
JM
4945 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
4946 with OVERFLOW_EXCEPTION.
4947 (exp10_test_data): Likewise.
4948 (exp2_test_data): Likewise.
4949 (expm1_test_data): Likewise.
4950 (lgamma_test_data): Likewise.
4951 (pow_test_data): Likewise.
4952 (tgamma_test_data): Likewise.
4953 (yn_test_data): Remove duplicate test of overflow.
4954
1c38ff73
JM
4955 * math/libm-test.inc (struct test_cc_c_data): New type.
4956 (RUN_TEST_LOOP_cc_c): New macro.
4957 (cpow_test_data): New variable.
4958 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
4959
15c7c18d
JM
4960 * math/libm-test.inc (struct test_f_L_data): New type.
4961 (RUN_TEST_LOOP_f_L): New macro.
4962 (llrint_test_data): New variable.
4963 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
4964 (llrint_tonearest_test_data): New variable.
4965 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
4966 (llrint_towardzero_test_data): New variable.
4967 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
4968 (llrint_downward_test_data): New variable.
4969 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
4970 (llrint_upward_test_data): New variable.
4971 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
4972 (llround_test_data): New variable.
4973 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
4974
f137ff13
PC
49752013-05-13 Peter Collingbourne <pcc@google.com>
4976
4977 * math/atest-exp2.c (get_log2): Remove const attribute.
4978
3608cb24
JM
49792013-05-15 Joseph Myers <joseph@codesourcery.com>
4980
4981 * math/libm-test.inc (struct test_f_l_data): New type.
4982 (RUN_TEST_LOOP_f_l): New macro.
4983 (lrint_test_data): New variable.
4984 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
4985 (lrint_tonearest_test_data): New variable.
4986 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
4987 (lrint_towardzero_test_data): New variable.
4988 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
4989 (lrint_downward_test_data): New variable.
4990 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
4991 (lrint_upward_test_data): New variable.
4992 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
4993 (lround_test_data): New variable.
4994 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
4995
39b1f617
PC
49962013-05-15 Peter Collingbourne <pcc@google.com>
4997
1deff3dc
PC
4998 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
4999 (EXTRACT_WORDS64) Use where appropriate.
5000 (INSERT_WORDS64) Likewise.
5001
791f3ba0
PC
5002 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
5003 constraints with x constraints.
5004 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
5005
39b1f617
PC
5006 * malloc/obstack.c (_obstack_compat): Add initializer.
5007
12fba011
EM
50082013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
5009
5010 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
5011 si_trapno and add si_addr_lsb to _sifields.sigfault.
5012 (si_trapno): Remove macro.
5013 (si_addr_lsb): Define new macro.
5014 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5015
d369f531
JM
50162013-05-15 Joseph Myers <joseph@codesourcery.com>
5017
b861c6c4
JM
5018 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
5019 instead of TEST_f_l.
5020 (llrint_test_tonearest): Likewise.
5021 (llrint_test_towardzero): Likewise.
5022 (llrint_test_downward): Likewise.
5023 (llrint_test_upward): Likewise.
5024 (llround_test): Likewise.
5025
7abeee12
JM
5026 * math/libm-test.inc (struct test_f_i_data): Add comment.
5027 (RUN_TEST_LOOP_f_b): New macro.
5028 (RUN_TEST_LOOP_f_b_tg): Likewise.
5029 (finite_test_data): New variable.
5030 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
5031 (isfinite_test_data): New variable.
5032 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5033 (isinf_test_data): New variable.
5034 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5035 (isnan_test_data): New variable.
5036 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5037 (isnormal_test_data): New variable.
5038 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5039 (issignaling_test_data): New variable.
5040 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5041 (signbit_test_data): New variable.
5042 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5043
cbe8c4d3
JM
5044 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
5045 with INVALID_EXCEPTION.
5046 (acosh_test_data): Likewise.
5047 (asin_test_data): Likewise.
5048 (atanh_test_data): Likewise.
5049 (fmod_test_data): Likewise.
5050 (log_test_data): Likewise.
5051 (log10_test_data): Likewise.
5052 (log2_test_data): Likewise.
5053 (pow_test_data): Likewise.
5054 (sqrt_test_data): Likewise.
5055 (y0_test_data): Likewise.
5056 (y1_test_data): Likewise.
5057 (yn_test_data): Likewise.
5058
5575c0e5
JM
5059 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
5060 function contents.
5061
d369f531
JM
5062 * math/libm-test.inc (struct test_ff_i_data): New type.
5063 (RUN_TEST_LOOP_ff_i_tg): New macro.
5064 (isgreater_test_data): New variable.
5065 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5066 (isgreaterequal_test_data): New variable.
5067 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5068 (isless_test_data): New variable.
5069 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5070 (islessequal_test_data): New variable.
5071 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5072 (islessgreater_test_data): New variable.
5073 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5074 (isunordered_test_data): New variable.
5075 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5076
781fd748
DM
50772013-05-14 David S. Miller <davem@davemloft.net>
5078
5079 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5080
87aa21df
JM
50812013-05-14 Joseph Myers <joseph@codesourcery.com>
5082
5e908270
JM
5083 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
5084
f71172e5
JM
5085 * math/libm-test.inc (struct test_fF_f1_data): Change type of
5086 extra_test to int.
5087 (struct test_f_i_data): Change type of max_ulp to int.
5088
8cfa635a
JM
5089 * math/libm-test.inc (test_ffI_f1_data): New type.
5090 (RUN_TEST_LOOP_ffI_f1): New macro.
5091 (remquo_test_data): New variable.
5092 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
5093
2bcb36b2
JM
5094 * setjmp/tst-setjmp-fp.c: New file.
5095 * setjmp/Makefile (tests): Add tst-setjmp-fp.
5096 (link-libm): New variable.
5097 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
5098
acbd839a
JM
5099 * math/libm-test.inc (struct test_f_i_data): New type.
5100 (RUN_TEST_LOOP_f_i): New macro.
5101 (RUN_TEST_LOOP_f_i_tg): Likewise.
5102 (fpclassify_test_data): New variable.
5103 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
5104 (ilogb_test_data): New variable.
5105 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
5106
e414d745
JM
5107 * math/libm-test.inc (scalbln_test): Correct function name in END
5108 call.
5109
d9c2a0fd
JM
5110 * math/libm-test.inc (struct test_f_f1_data): Add comment.
5111 (RUN_TEST_LOOP_fI_f1): New macro.
5112 (frexp_test_data): New variable.
5113 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
5114
9dc9095d
JM
5115 * math/libm-test.inc (struct test_fF_f1_data): New type.
5116 (RUN_TEST_LOOP_fF_f1): New macro.
5117 (modf_test_data): New variable.
5118 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
5119
87aa21df
JM
5120 * math/libm-test.inc (struct test_f_f1_data): New type.
5121 (RUN_TEST_LOOP_f_f1): New macro.
5122 (gamma_test_data): New variable.
5123 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5124 (lgamma_test_data): New variable.
5125 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5126
141af660
CD
51272013-05-13 Carlos O'Donell <carlos@redhat.com>
5128
5129 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
5130 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
5131 (main): Comment "tls" pseudo-hwcap.
5132
6d33265c
JM
51332013-05-13 Joseph Myers <joseph@codesourcery.com>
5134
68fc074c
JM
5135 * math/libm-test.inc (struct test_fl_f_data): New type.
5136 (RUN_TEST_LOOP_fl_f): New variable.
5137 (scalbln_test_data): New variable.
5138 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
5139
243216e1
JM
5140 * math/libm-test.inc (struct test_fi_f_data): New type.
5141 (RUN_TEST_LOOP_fi_f): New macro.
5142 (ldexp_test_data): New variable.
5143 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
5144 (scalbn_test_data): New variable.
5145 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
5146
6a1992e2
JM
5147 * math/libm-test.inc (struct test_c_f_data): New type.
5148 (RUN_TEST_LOOP_c_f): New macro.
5149 (cabs_test_data): New variable.
5150 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
5151 (carg_test_data): New variable.
5152 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
5153 (cimag_test_data): New variable.
5154 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
5155 (creal_test_data): New variable.
5156 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
5157
0e400df5
JM
5158 * math/libm-test.inc (struct test_if_f_data): New type.
5159 (RUN_TEST_LOOP_if_f): New macro.
5160 (jn_test_data): New variable.
5161 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
5162 (yn_test_data): New variable.
5163 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
5164
6d33265c
JM
5165 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
5166
f98ece5f
AZ
51672013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5168
5169 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
5170 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
5171
0f7d347b
SP
51722013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5173
43fe811b
SP
5174 * benchtests/Makefile (CPPFLAGS-nonlib): Add
5175 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
5176 (bench-deps): Add bench-timing.h.
5177 * benchtests-bench-skeleton.c: Include bench-timing.h.
5178 (main): Use TIMING_* macros instead of clock_gettime.
5179 * benchtests/bench-timing.h: New file.
5180
0f7d347b
SP
5181 [BZ #14582]
5182 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
5183 Renamed from _LIB_VERSION.
5184 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
5185
601a3a5f
JM
51862013-05-12 Joseph Myers <joseph@codesourcery.com>
5187
4f184d30
JM
5188 * math/libm-test.inc (struct test_fff_f_data): New type.
5189 (RUN_TEST_LOOP_fff_f): New macro.
5190 (fma_test_data): New variable.
5191 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
5192 (fma_towardzero_test_data): New variable.
5193 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
5194 (fma_downward_test_data): New variable.
5195 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
5196 (fma_upward_test_data): New variable.
5197 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
5198
08198877
JM
5199 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
5200 (struct test_c_c_data): New type.
5201 (RUN_TEST_LOOP_c_c): New macro.
5202 (cacos_test_data): New variable.
5203 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
5204 (cacosh_test_data): New variable.
5205 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
5206 (casin_test_data): New variable.
5207 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
5208 (casinh_test_data): New variable.
5209 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
5210 (catan_test_data): New variable.
5211 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
5212 (catanh_test_data): New variable.
5213 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
5214 (ccos_test_data): New variable.
5215 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
5216 (ccosh_test_data): New variable.
5217 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
5218 (cexp_test_data): New variable.
5219 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
5220 (clog_test_data): New variable.
5221 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
5222 (clog10_test_data): New variable.
5223 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
5224 (conj_test_data): New variable.
5225 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
5226 (cproj_test_data): New variable.
5227 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
5228 (csin_test_data): New variable.
5229 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
5230 (csinh_test_data): New variable.
5231 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
5232 (csqrt_test_data): New variable.
5233 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
5234 (ctan_test_data): New variable.
5235 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
5236 (ctan_tonearest_test_data): New variable.
5237 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5238 (ctan_towardzero_test_data): New variable.
5239 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5240 (ctan_downward_test_data): New variable.
5241 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5242 (ctan_upward_test_data): New variable.
5243 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5244 (ctanh_test_data): New variable.
5245 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
5246 (ctanh_tonearest_test_data): New variable.
5247 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5248 (ctanh_towardzero_test_data): New variable.
5249 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5250 (ctanh_downward_test_data): New variable.
5251 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5252 (ctanh_upward_test_data): New variable.
5253 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5254 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
5255 of BUILD_COMPLEX.
5256
601a3a5f
JM
5257 * math/libm-test.inc (struct test_ff_f_data): New type.
5258 (struct test_ff_f_data_nexttoward): Likewise.
5259 (RUN_TEST_LOOP_2_f): New macro.
5260 (RUN_TEST_LOOP_ff_f): Likewise.
5261 (atan2_test_data): New variable.
5262 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
5263 (copysign_test_data): New variable.
5264 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
5265 (fdim_test_data): New variable.
5266 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
5267 (fmax_test_data): New variable.
5268 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
5269 (fmin_test_data): New variable.
5270 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
5271 (fmod_test_data): New variable.
5272 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
5273 (hypot_test_data): New variable.
5274 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
5275 (nextafter_test_data): New variable.
5276 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
5277 (nexttoward_test_data): New variable.
5278 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
5279 (pow_test_data): New variable.
5280 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
5281 (pow_tonearest_test_data): New variable.
5282 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
5283 (pow_towardzero_test_data): New variable.
5284 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
5285 (pow_downward_test_data): New variable.
5286 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
5287 (pow_upward_test_data): New variable.
5288 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
5289 (remainder_test_data): New variable.
5290 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
5291 (scalb_test_data): New variable.
5292 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
5293 * sysdeps/i386/fpu/libm-test-ulps: Update.
5294
74c57478
JM
52952013-05-11 Joseph Myers <joseph@codesourcery.com>
5296
8329e4da
JM
5297 * math/libm-test.inc (fma_test): Use max_value instead of local
5298 variable fltmax.
5299 (nextafter_test): Likewise.
5300
74c57478
JM
5301 * math/libm-test.inc (acos_towardzero_test_data): New variable.
5302 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5303 (acos_downward_test_data): New variable.
5304 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5305 (acos_upward_test_data): New variable.
5306 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5307 (acosh_test_data): New variable.
5308 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
5309 (asin_test_data): New variable.
5310 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
5311 (asin_tonearest_test_data): New variable.
5312 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5313 (asin_towardzero_test_data): New variable.
5314 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5315 (asin_downward_test_data): New variable.
5316 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5317 (asin_upward_test_data): New variable.
5318 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5319 (asinh_test_data): New variable.
5320 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
5321 (atan_test_data): New variable.
5322 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
5323 (atanh_test_data): New variable.
5324 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
5325 (cbrt_test_data): New variable.
5326 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
5327 (ceil_test_data): New variable.
5328 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
5329 (cos_test_data): New variable.
5330 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
5331 (cos_tonearest_test_data): New variable.
5332 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5333 (cos_towardzero_test_data): New variable.
5334 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5335 (cos_downward_test_data): New variable.
5336 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5337 (cos_upward_test_data): New variable.
5338 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5339 (cosh_test_data): New variable.
5340 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
5341 (cosh_tonearest_test_data): New variable.
5342 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5343 (cosh_towardzero_test_data): New variable.
5344 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5345 (cosh_downward_test_data): New variable.
5346 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5347 (cosh_upward_test_data): New variable.
5348 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5349 (erf_test_data): New variable.
5350 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
5351 (erfc_test_data): New variable.
5352 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
5353 (exp_test_data): New variable.
5354 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
5355 (exp_tonearest_test_data): New variable.
5356 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5357 (exp_towardzero_test_data): New variable.
5358 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5359 (exp_downward_test_data): New variable.
5360 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5361 (exp_upward_test_data): New variable.
5362 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5363 (exp10_test_data): New variable.
5364 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
5365 (exp2_test_data): New variable.
5366 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
5367 (expm1_test_data): New variable.
5368 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
5369 (fabs_test_data): New variable.
5370 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
5371 (floor_test_data): New variable.
5372 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
5373 (j0_test_data): New variable.
5374 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
5375 (j1_test_data): New variable.
5376 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
5377 (log_test_data): New variable.
5378 (log_test): Run tests with RUN_TEST_LOOP_f_f.
5379 (log10_test_data): New variable.
5380 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
5381 (log1p_test_data): New variable.
5382 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
5383 (log2_test_data): New variable.
5384 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
5385 (logb_test_data): New variable.
5386 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
5387 (logb_downward_test_data): New variable.
5388 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5389 (nearbyint_test_data): New variable.
5390 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
5391 (rint_test_data): New variable.
5392 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
5393 (rint_tonearest_test_data): New variable.
5394 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5395 (rint_towardzero_test_data): New variable.
5396 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5397 (rint_downward_test_data): New variable.
5398 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5399 (rint_upward_test_data): New variable.
5400 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5401 (round_test_data): New variable.
5402 (round_test): Run tests with RUN_TEST_LOOP_f_f.
5403 (sin_test_data): New variable.
5404 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
5405 (sin_tonearest_test_data): New variable.
5406 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5407 (sin_towardzero_test_data): New variable.
5408 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5409 (sin_downward_test_data): New variable.
5410 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5411 (sin_upward_test_data): New variable.
5412 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5413 (sinh_test_data): New variable.
5414 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
5415 (sinh_tonearest_test_data): New variable.
5416 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5417 (sinh_towardzero_test_data): New variable.
5418 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5419 (sinh_downward_test_data): New variable.
5420 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5421 (sinh_upward_test_data): New variable.
5422 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5423 (sqrt_test_data): New variable.
5424 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
5425 (tan_test_data): New variable.
5426 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
5427 (tan_tonearest_test_data): New variable.
5428 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5429 (tan_towardzero_test_data): New variable.
5430 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5431 (tan_downward_test_data): New variable.
5432 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5433 (tan_upward_test_data): New variable.
5434 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5435 (tanh_test_data): New variable.
5436 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
5437 (tgamma_test_data): New variable.
5438 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
5439 (trunc_test_data): New variable.
5440 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
5441 (y0_test_data): New variable.
5442 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
5443 (y1_test_data): New variable.
5444 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
5445 (significand_test_data): New variable.
5446 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
5447
7187d844
CG
54482013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
5449
5450 [BZ #12387]
5451 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
5452
f63fae73
PT
54532013-05-10 Pino Toscano <toscano.pino@tiscali.it>
5454
5455 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
5456
8a67a4b3
AJ
54572013-05-10 Andreas Jaeger <aj@suse.de>
5458
5459 [BZ #15448]
5460 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
5461 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
5462
51df539d
JM
54632013-05-10 Joseph Myers <joseph@codesourcery.com>
5464
5465 * math/gen-libm-test.pl (adjust_arg): New function.
5466 (special_functions): Handle generating output in both functions
5467 and arrays.
5468 (parse_args): Likewise.
5469 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
5470 $in_func argument to parse_args.
5471 * math/libm-test.inc (struct test_f_f_data): New type.
5472 (IF_ROUND_INIT_): New macro.
5473 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
5474 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5475 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5476 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5477 (ROUND_RESTORE_): Likewise.
5478 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
5479 (ROUND_RESTORE_FE_TONEAREST): Likewise.
5480 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
5481 (ROUND_RESTORE_FE_UPWARD): Likewise.
5482 (RUN_TEST_LOOP_f_f): New macro.
5483 (acos_test_data): New variable.
5484 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
5485 (acos_tonearest_test_data): New variable.
5486 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5487
5c637fe5
SP
54882013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5489
5490 * benchtests/bench-skeleton.c (startup): Fix coding style.
5491
ab2b9461
JM
54922013-05-10 Joseph Myers <joseph@codesourcery.com>
5493
5494 [BZ #6809]
5495 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
5496 negative infinity argument.
5497 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
5498 negative infinity argument.
5499 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
5500 negative infinity argument.
5501 * math/libm-test.inc (tgamma_test): Expect errno to be set for
5502 domain errors.
5503
4c0fe6fe
FW
55042013-05-10 Florian Weimer <fweimer@redhat.com>
5505
5506 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
5507 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
5508 * iconv/iconv_prog.c (main): Likewise.
5509 * locale/programs/charmap-dir.c (charmap_readdir)
5510 (fopen_uncompressed): Likewise.
5511 * locale/programs/locfile.c (siblings_uncached)
5512 (write_locale_data): Use lstat64 instead of lstat.
5513 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
5514 stat.
5515
a3375d29
AJ
55162013-05-10 Andreas Jaeger <aj@suse.de>
5517
5518 [BZ #15395]
5519 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
5520 localization.
5521 Include <locale.h>.
5522
36129722
CD
55232013-05-09 Carlos O'Donell <carlos@redhat.com>
5524
5525 * elf/dl-close.c (_dl_close_worker): Add comments.
5526
faa7f811
JM
55272013-05-09 Joseph Myers <joseph@codesourcery.com>
5528
ed41ffef
JM
5529 [BZ #15359]
5530 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
5531 high part of pi/2.
5532 (__ieee754_rem_pio2l): Update comments.
5533
d0213cd0
JM
5534 [BZ #15429]
5535 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
5536 high part of pi/2.
5537 (__ieee754_rem_pio2l): Update comments.
5538
0d3e777a
JM
5539 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
5540 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
5541
24f56066
JM
5542 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
5543 M_PI_4l.
5544
faa7f811
JM
5545 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
5546 (M_PI_34_LOG10El): Likewise.
5547 (M_PI2_LOG10El): Likewise.
5548 (M_PI4_LOG10El): Likewise.
5549 (M_PI_LOG10El): Likewise.
5550
e9a5e0fd
AZ
55512013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5552
5553 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5554
d8cd06db
JM
55552013-05-08 Joseph Myers <joseph@codesourcery.com>
5556
a0d9f9d7
JM
5557 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
5558 (MINUS_ZERO_INIT): Likewise.
5559 (PLUS_INFTY_INIT): Likewise.
5560 (MINUS_INFTY_INIT): Likewise.
5561 (QNAN_VALUE_INIT): Likewise.
5562 (MAX_VALUE_INIT): Likewise.
5563 (MIN_VALUE_INIT): Likewise.
5564 (MIN_SUBNORM_VALUE_INIT): Likewise.
5565 (plus_zero): Initialize with PLUS_ZERO_INIT.
5566 (minus_zero): Initialize with MINUS_ZERO_INIT.
5567 (plus_infty): Initialize with PLUS_INFTY_INIT.
5568 (minus_infty): Initialize with MINUS_INFTY_INIT.
5569 (qnan_value): Initialize with QNAN_VALUE_INIT.
5570 (max_value): Initialize with MAX_VALUE_INIT.
5571 (min_value): Initialize with MIN_VALUE_INIT.
5572 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
5573
ae08db3b
JM
5574 * math/libm-test.inc (RUN_TEST_if_f): New macro.
5575 (jn_test): Use TEST_if_f instead of TEST_ff_f.
5576 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
5577 (yn_test): Use TEST_if_f instead of TEST_ff_f.
5578
f44bf14a
JM
5579 * math/libm-test.inc (RUN_TEST_f_f): New macro.
5580 (RUN_TEST_2_f): Likewise.
5581 (RUN_TEST_ff_f): Likewise.
5582 (RUN_TEST_fi_f): Likewise.
5583 (RUN_TEST_fl_f): Likewise.
5584 (RUN_TEST_fff_f): Likewise.
5585 (RUN_TEST_c_f): Likewise.
5586 (RUN_TEST_f_f1): Likewise.
5587 (RUN_TEST_fF_f1): Likewise.
5588 (RUN_TEST_fI_f1): Likewise.
5589 (RUN_TEST_ffI_f1): Likewise.
5590 (RUN_TEST_c_c): Likewise.
5591 (RUN_TEST_cc_c): Likewise.
5592 (RUN_TEST_f_i): Likewise.
5593 (RUN_TEST_f_i_tg): Likewise.
5594 (RUN_TEST_ff_i_tg): Likewise.
5595 (RUN_TEST_f_b): Likewise.
5596 (RUN_TEST_f_b_tg): Likewise.
5597 (RUN_TEST_f_l): Likewise.
5598 (RUN_TEST_f_L): Likewise.
5599 (RUN_TEST_sincos): Likewise.
5600 * math/gen-libm-test.pl (new_test): Take new argument to indicate
5601 whether to show exceptions. Do not include ");\n" in return
5602 value.
5603 (special_functions): Output call to RUN_TEST_sincos instead of
5604 check_float calls. Update calls to new_test.
5605 (parse_args): Output call to single RUN_TEST_* macro instead of
5606 check_* calls and other assignments. Update calls to new_test.
5607
d8cd06db
JM
5608 [BZ #2546]
5609 [BZ #2560]
5610 [BZ #5159]
5611 [BZ #15426]
5612 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
5613 input to result for tgamma overflow.
5614 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
5615 (gamma_coeff): New variable.
5616 (NCOEFF): New macro.
5617 (gamma_positive): New function.
5618 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
5619 underflow here. Use gamma_positive instead of exp (lgamma) for
5620 other arguments.
5621 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
5622 (gamma_coeff): New variable.
5623 (NCOEFF): New macro.
5624 (gammaf_positive): New function.
5625 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
5626 underflow here. Use gamma_positive instead of exp (lgamma) for
5627 other arguments.
5628 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
5629 (gamma_coeff): New variable.
5630 (NCOEFF): New macro.
5631 (gammal_positive): New function.
5632 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
5633 underflow here. Use gamma_positive instead of exp (lgamma) for
5634 other arguments.
5635 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
5636 (gamma_coeff): New variable.
5637 (NCOEFF): New macro.
5638 (gammal_positive): New function.
5639 (__ieee754_gammal_r): Handle positive infinity, overflow and
5640 underflow here. Handle NaN the same as positive infinity. Remove
5641 check x < 0xffffffff for negative integers. Use gamma_positive
5642 instead of exp (lgamma) for other arguments.
5643 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
5644 (gamma_coeff): New variable.
5645 (NCOEFF): New macro.
5646 (gammal_positive): New function.
5647 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
5648 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
5649 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5650 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
5651 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5652 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
5653 * sysdeps/generic/math_private.h (__gamma_productf): New
5654 prototype.
5655 (__gamma_product): Likewise.
5656 (__gamma_productl): Likewise.
5657 * math/Makefile (libm-calls): Add gamma_product.
5658 * math/libm-test.inc (tgamma_test): Add more tests.
5659 * sysdeps/i386/fpu/libm-test-ulps: Update.
5660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5661
bb7cf681
OB
56622013-05-08 Ondřej Bílka <neleai@seznam.cz>
5663
5664 * benchtests/bench-skeleton.c (main): Preheat CPU.
5665
ba853947
AJ
56662013-05-07 Aurelien Jarno <aurelien@aurel32.net>
5667
5668 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
5669
8347c74c
RM
56702013-05-07 Roland McGrath <roland@hack.frob.com>
5671
5672 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
5673 and _dl_skip_args_internal.
5674
e8dd4791
CD
56752013-05-07 Carlos O'Donell <carlos@redhat.com>
5676
5677 * manual/message.texi (Message Translation): Talk about users.
5678 Message to key mapping impacts design.
5679
c7405830
RM
56802013-05-06 Roland McGrath <roland@hack.frob.com>
5681
a9173057
RM
5682 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
5683
976e2f03
RM
5684 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
5685
9723ffc5
RM
5686 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
5687 * sysdeps/wordsize-64/glob64.c: ... here.
5688
962e6658
RM
5689 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
5690 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
5691 New macros.
5692
ee586a6d
RM
5693 * debug/getlogin_r_chk.c: Moved to ...
5694 * login/getlogin_r_chk.c: ... here.
5695 * debug/Makefile (routines): Move getlogin_r_chk to ...
5696 * login/Makefile (routines): ... here.
5697 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
5698 * login/Versions (libc: GLIBC_2.4): ... here.
5699
355f9165
RM
5700 * io/poll.c (__poll): Renamed from poll.
5701 Add libc_hidden_def.
5702 (poll): Define as weak alias.
5703
bd9ffde6
RM
5704 * debug/ptsname_r_chk.c: Moved to ...
5705 * login/ptsname_r_chk.c: ... here.
5706 * debug/Makefile (routines): Move ptsname_r_chk to ...
5707 * login/Makefile (routines): ... here.
5708 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
5709 * login/Versions (libc: GLIBC_2.4): ... here.
5710
8fb16a04
RM
5711 * posix/getlogin.c: Moved to ...
5712 * login/getlogin.c: ... here.
5713 * posix/getlogin_r.c: Moved to ...
5714 * login/getlogin_r.c: ... here.
5715 * posix/getlogin_r.c: Moved to ...
5716 * login/getlogin_r.c: ... here.
5717 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
5718 * login/Makefile (routines): ... here.
5719 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
5720 * login/Versions (libc: GLIBC_2.0): ... here.
5721
b99b892f
RM
5722 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
5723 (setrlimit): Define as weak alias.
5724
c7405830
RM
5725 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
5726 Call __ names for open, ftruncate, and close.
5727 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
5728 (truncate): Define as weak alias.
5729
5bf96de5
JM
57302013-05-06 Joseph Myers <joseph@codesourcery.com>
5731
9ea3513c
JM
5732 * math/gen-libm-test.pl (parse_args): Initialize x before each
5733 test of frexp, modf and remquo.
5734
5bf96de5
JM
5735 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
5736 test signgam value.
5737
16e616a7
AZ
57382013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5739
5740 [BZ #15418]
5741 [BZ #15419]
5742 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
5743 internal tests.
5744 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5745
d5e82754
RM
57462013-05-06 Roland McGrath <roland@hack.frob.com>
5747
5748 * elf/dl-writev.h: New file.
5749 * elf/dl-misc.c: Include it.
5750 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
5751 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
5752
a7548d41
JM
57532013-05-04 Joseph Myers <joseph@codesourcery.com>
5754
b7dab1e4
JM
5755 * math/libm-test.inc (noXFails): Remove variable.
5756 (noXPasses): Likewise.
5757 (BUILD_COMPLEX_INT): Remove macro.
5758 (print_screen): Remove xfail argument.
5759 (print_screen_max_error): Likewise.
5760 (update_stats): Likewise.
5761 (print_max_error): Likewise. Update calls to other affected
5762 functions.
5763 (print_complex_max_error): Likewise.
5764 (test_single_exception): Update calls to print_screen.
5765 (test_single_errno): Likewise.
5766 (check_float_internal): Remove xfail argument. Update calls to
5767 other affected functions.
5768 (check_float): Likewise.
5769 (check_complex): Likewise.
5770 (check_int): Likewise.
5771 (check_long): Likewise.
5772 (check_bool): Likewise.
5773 (check_longlong): Likewise.
5774 (main): Don't print noXFails and noXPasses.
5775 * math/gen-libm-test.pl (top level): Don't mention expected
5776 failure handling in comment.
5777 (new_test): Don't handle expected failures.
5778 (parse_args): Don't mention expected failure handling in comment.
5779 (generate_testfile): Don't handle expected failures.
5780 (parse_ulps): Likewise.
5781 (print_ulps_file): Likewise.
5782 (get_failure): Remove function.
5783 (output_test): Don't handle expected failures.
5784 * make/README.libm-test: Don't mention expected failure handling.
5785
a7548d41
JM
5786 * math/libm-test.inc (plus_zero): Make const. Add initializer.
5787 (minus_zero): Likewise.
5788 (plus_infty): Likewise.
5789 (minus_infty): Likewise.
5790 (qnan_value): Likewise.
5791 (max_value): Likewise.
5792 (min_value): Likewise.
5793 (min_subnorm_value): Likewise.
5794 (initialize): Do not initialize those variables dynamically.
5795
60bfd54c
RM
57962013-05-03 Roland McGrath <roland@hack.frob.com>
5797
cc0e6ed8
RM
5798 * io/open.c (__open_2): Moved to ...
5799 * io/open_2.c: ... this new file.
5800 * io/open64.c (__open64_2): Moved to ...
5801 * io/open64_2.c: ... this new file.
5802 * io/openat.c (__openat_2): Moved to ...
5803 * io/openat_2.c: ... this new file.
5804 * io/openat64.c (__openat64_2): Moved to ...
5805 * io/openat64_2.c: ... this new file.
5806 * io/Makefile (routines): Add them.
5807 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
5808 * sysdeps/unix/sysv/linux/open_2.c: File removed.
5809 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
5810 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
5811 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
5812 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
5813 (__openat64): Add hidden_ver.
5814 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
5815 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
5816
60bfd54c
RM
5817 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
5818 Separately conditionalize setting of GLRO(dl_sysinfo) so
5819 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
5820 as well, but the actual setting is only under [NEED_DL_SYSINFO].
5821
83e7640f
AZ
58222013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5823
5824 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
5825 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
5826 definition.
5827 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
5828 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5829 (_libc_vdso_platform_setup): Add __vdso_time initialization.
5830 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
5831 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
5832
d5dc2af3
JM
58332013-05-03 Joseph Myers <joseph@codesourcery.com>
5834
c31a5b1e
JM
5835 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
5836 test signgam value.
5837
d5dc2af3
JM
5838 * math/libm-test.inc (hypot_test): Do not use
5839 IGNORE_ZERO_INF_SIGN.
5840
164fd39d
AJ
58412013-05-03 Andreas Jaeger <aj@suse.de>
5842
5843 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
5844 Linux 3.9.
5845 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
5846 (PF_MAX): Adjust for VSOCK change.
5847
8237f48c
AZ
58482013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5849
5850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5851
9df02941
CD
58522013-05-02 Carlos O'Donell <carlos@redhat.com>
5853
5854 [BZ #15264]
5855 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
5856 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
5857 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
5858
d422395e
DM
58592013-05-02 David S. Miller <davem@davemloft.net>
5860
5861 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5862
a07c5731
OB
58632013-05-01 Ondřej Bílka <neleai@seznam.cz>
5864
5865 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
5866
1324e37f
RM
58672013-05-01 Roland McGrath <roland@hack.frob.com>
5868
5869 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
5870
0695940b
RS
58712013-05-01 Richard Smith <richard@metafoo.co.uk>
5872
bb5f27ad 5873 [BZ #14952]
0695940b
RS
5874 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
5875 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5876 Use __attribute__ ((__gnu_inline__)).
5877 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5878 Don't use __attribute__ ((__gnu_inline__)).
5879
10de07f5
JM
58802013-05-01 Joseph Myers <joseph@codesourcery.com>
5881
5882 [BZ #15423]
5883 * math/s_catan.c (__catan): Handle small real or imaginary part of
5884 input specially to avoid spurious underflow.
5885 * math/s_catanf.c (__catanf): Likewise.
5886 * math/s_catanh.c (__catanh): Likewise.
5887 * math/s_catanhf.c (__catanhf): Likewise.
5888 * math/s_catanhl.c (__catanhl): Likewise.
5889 * math/s_catanl.c (__catanl): Likewise.
5890 * math/libm-test.inc (catan_test): Add more tests.
5891 (catanh_test): Likewise.
5892 * sysdeps/i386/fpu/libm-test-ulps: Update.
5893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5894
cb4d5414
AZ
58952013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5896
5897 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5898
caf84319
JM
58992013-04-30 Joseph Myers <joseph@codesourcery.com>
5900
5901 [BZ #15416]
5902 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
5903 accurately for denominator in atan2.
5904 * math/s_catanf.c (__catanf): Likewise.
5905 * math/s_catanh.c (__catanh): Likewise.
5906 * math/s_catanhf.c (__catanhf): Likewise.
5907 * math/s_catanhl.c (__catanhl): Likewise.
5908 * math/s_catanl.c (__catanl): Likewise.
5909 * math/libm-test.inc (catan_test): Add more tests.
5910 (catanh_test): Likewise.
5911 * sysdeps/i386/fpu/libm-test-ulps: Update.
5912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5913
d569c6ee
SP
59142013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5915
6dbe713d
SP
5916 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
5917
f0ee064b
SP
5918 * benchtests/Makefile (bench): Remove slow benchmarks.
5919 * benchtests/atan-inputs: Add slow benchmark inputs.
5920 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
5921 (BENCH_FUNC): Accept variant offset.
5922 (VARIANT): Define.
5923 * benchtests/bench-skeleton.c (main): Run benchmark for each
5924 variant.
5925 * benchtests/cos-inputs: Add slow benchmark inputs.
5926 * benchtests/exp-inputs: Likewise.
5927 * benchtests/pow-inputs: Likewise.
5928 * benchtests/sin-inputs: Likewise.
5929 * benchtests/slowatan-inputs: Remove.
5930 * benchtests/slowatan.c: Remove.
5931 * benchtests/slowcos-inputs: Remove.
5932 * benchtests/slowcos.c: Remove.
5933 * benchtests/slowexp-inputs: Remove.
5934 * benchtests/slowexp.c: Remove.
5935 * benchtests/slowpow-inputs: Remove.
5936 * benchtests/slowpow.c: Remove.
5937 * benchtests/slowsin-inputs: Remove.
5938 * benchtests/slowsin.c: Remove.
5939 * benchtests/slowtan-inputs: Remove.
5940 * benchtests/slowtan.c: Remove.
5941 * benchtests/tan-inputs: Add slow benchmark inputs.
5942 * scripts/bench.pl: Parse comments and directives.
5943
d569c6ee
SP
5944 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
5945 in CPPFLAGS.
5946 ($(objpfx)bench-%.c): Remove *-ITER.
5947 * benchtests/bench-modf.c: Remove definition of ITER.
5948 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
5949 (main): Loop for DURATION seconds instead of fixed number of
5950 iterations.
5951 * scripts/bench.pl: Don't expect iterations in parameters.
5952
a6a242fe
RM
59532013-04-29 Roland McGrath <roland@hack.frob.com>
5954
5955 * io/fchdir.c (__fchdir): Renamed from fchdir.
5956 (fchdir): Define as weak alias.
5957
f2da7793
JM
59582013-04-29 Joseph Myers <joseph@codesourcery.com>
5959
5960 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
5961 (ERRNO_EDOM): Likewise.
5962 (ERRNO_ERANGE): Likewise.
5963 (noErrnoTests): New variable.
5964 (init_max_error): Set errno to 0.
5965 (test_single_errno): New function.
5966 (test_errno): Likewise.
5967 (check_float_internal): Call test_errno. Set errno to 0.
5968 (check_complex): Refer to errno tests in comment.
5969 (check_int): Call test_errno. Set errno to 0.
5970 (check_long): Likewise.
5971 (check_bool): Likewise.
5972 (check_longlong): Likewise.
5973 (cos_test): Use ERRNO_* flags for errno tests instead of
5974 check_int.
5975 (expm1_test): Likewise.
5976 (fmod_test): Likewise.
5977 (ilogb_test): Likewise.
5978 (lgamma_test): Likewise.
5979 (pow_test): Likewise.
5980 (remainder_test): Likewise.
5981 (sin_test): Likewise.
5982 (tan_test): Likewise.
5983 (yn_test): Likewise.
5984 (initialize): Set errno to 0.
5985 (main): Print number of errno tests.
5986 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
5987
b1a36ceb
AJ
59882013-04-29 Andreas Jaeger <aj@suse.de>
5989
c3ed8088
AJ
5990 [BZ #15084]
5991 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
5992 and RES_USEVC.
5993
f1a24198
AJ
5994 [BZ #15085]
5995 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
5996 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
5997 unimplemented.
5998
9ce3b2cb
AJ
5999 [BZ #15380]
6000 * stdlib/random.c (__initstate): Return NULL if
6001 __initstate fails.
6002
f1a24198 6003 [BZ #15086]
b1a36ceb
AJ
6004 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
6005 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
6006 RES_SNGLKUPREOP.
6007
7e7b6f36
AZ
60082013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6009
6010 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6011
4d14f449
JM
60122013-04-29 Joseph Myers <joseph@codesourcery.com>
6013
6014 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
6015 of individual tests.
6016 (casin_test): Likewise.
6017 (casinh_test): Likewise.
6018
5b4217d7
JM
60192013-04-27 Joseph Myers <joseph@codesourcery.com>
6020
6021 [BZ #15409]
6022 * math/s_catan.c (__catan): Handle arguments with large real or
6023 imaginary part separately without squaring.
6024 * math/s_catanf.c (__catanf): Likewise.
6025 * math/s_catanh.c (__catanh): Likewise.
6026 * math/s_catanhf.c (__catanhf): Likewise.
6027 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6028 and redefine.
6029 (__catanhl): Handle arguments with large real or imaginary part
6030 separately without squaring.
6031 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6032 and redefine.
6033 (__catanl): Handle arguments with large real or imaginary part
6034 separately without squaring.
6035 * math/libm-test.inc (catan_test): Add more tests.
6036 (catanh_test): Likewise.
6037 * sysdeps/i386/fpu/libm-test-ulps: Update.
6038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6039
4220c3ef
AJ
60402013-04-27 Andreas Jaeger <aj@suse.de>
6041
6042 [BZ #15007]
6043 * stdlib/stdlib.h: Update guards for qecvt.
6044 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
6045 <stdlib.h>.
6046
4721b2d1
AM
60472013-04-27 Allan McRae <allan@archlinux.org>
6048
6049 * sysdeps/i386/fpu/libm-test-ulps: Update.
6050
f0302940
JM
60512013-04-26 Joseph Myers <joseph@codesourcery.com>
6052
9457fd95
JM
6053 [BZ #15406]
6054 * math/s_catan.c: Include <float.h>.
6055 (__catan): Ensure underflow exception occurs for underflowed
6056 result.
6057 * math/s_catanf.c: Include <float.h>.
6058 (__catanf): Ensure underflow exception occurs for underflowed
6059 result.
6060 * math/s_catanh.c: Include <float.h>.
6061 (__catanh): Ensure underflow exception occurs for underflowed
6062 result.
6063 * math/s_catanhf.c: Include <float.h>.
6064 (__catanhf): Ensure underflow exception occurs for underflowed
6065 result.
6066 * math/s_catanhl.c: Include <float.h>.
6067 (__catanhl): Ensure underflow exception occurs for underflowed
6068 result.
6069 * math/s_catanl.c: Include <float.h>.
6070 (__catanl): Ensure underflow exception occurs for underflowed
6071 result.
6072 * math/libm-test.inc (catan_test): Add more tests.
6073 (catanh_test): Likewise.
6074
f0302940
JM
6075 [BZ #15405]
6076 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
6077 underflowed result.
6078 * math/s_ccoshf.c (__ccoshf): Likewise.
6079 * math/s_ccoshl.c (__ccoshl): Likewise.
6080 * math/s_csin.c (__csin): Likewise.
6081 * math/s_csinf.c (__csinf): Likewise.
6082 * math/s_csinh.c (__csinh): Likewise.
6083 * math/s_csinhf.c (__csinhf): Likewise.
6084 * math/s_csinhl.c (__csinhl): Likewise.
6085 * math/s_csinl.c (__csinl): Likewise.
6086 * math/libm-test.inc (ccos_test): Add more tests.
6087 (ccosh_test): Likewise.
6088 (csin_test): Likewise.
6089 (csinh_test): Likewise.
6090
aa630f59
AZ
60912013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6092
6093 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
6094 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
6095 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
6096 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
6097 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
6098 powerpc/power5+/fpu folders.
6099 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
6100
6101
1b835983
MT
61022013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6103
6104 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6105
73709b26
JM
61062013-04-25 Joseph Myers <joseph@codesourcery.com>
6107
6108 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
6109 additions to variable.
6110 [$(config-machine) = x86_64] (modules-names): Likewise.
6111 ($(objpfx)tst-audit3): Remove dependency.
6112 ($(objpfx)tst-audit3.out): Likewise.
6113 ($(objpfx)tst-audit4): Likewise.
6114 ($(objpfx)tst-audit4.out): Likewise.
6115 ($(objpfx)tst-audit5): Likewise.
6116 ($(objpfx)tst-audit5.out): Likewise.
6117 ($(objpfx)tst-audit6): Likewise.
6118 ($(objpfx)tst-audit6.out): Likewise.
6119 ($(objpfx)tst-audit7): Likewise.
6120 ($(objpfx)tst-audit7.out): Likewise.
6121 (tst-audit3-ENV): Remove variable.
6122 (tst-audit4-ENV): Likewise.
6123 (tst-audit5-ENV): Likewise.
6124 (tst-audit6-ENV): Likewise.
6125 (tst-audit7-ENV): Likewise.
6126 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
6127 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
6128 addition to variable.
6129 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
6130 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
6131 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
6132 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
6133 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
6134 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
6135 tst-audit3, tst-audit4 and tst-audit5.
6136 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
6137 tst-audit6 and tst-audit7.
6138 [$(subdir) = elf] (modules-names): Add audit modules for those
6139 tests.
6140 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
6141 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
6142 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
6143 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
6144 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
6145 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
6146 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
6147 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
6148 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
6149 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
6150 [$(subdir) = elf] (tst-audit3-ENV): New variable.
6151 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
6152 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
6153 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
6154 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
6155 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
6156 Likewise.
6157 [$(subdir) = elf && $(config-cflags-avx) = yes]
6158 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
6159 [$(subdir) = elf && $(config-cflags-avx) = yes]
6160 (CFLAGS-tst-auditmod4a.c): Likewise.
6161 [$(subdir) = elf && $(config-cflags-avx) = yes]
6162 (CFLAGS-tst-auditmod4b.c): Likewise.
6163 [$(subdir) = elf && $(config-cflags-avx) = yes]
6164 (CFLAGS-tst-auditmod6b.c): Likewise.
6165 [$(subdir) = elf && $(config-cflags-avx) = yes]
6166 (CFLAGS-tst-auditmod6c.c): Likewise.
6167 [$(subdir) = elf && $(config-cflags-avx) = yes]
6168 (CFLAGS-tst-auditmod7b.c): Likewise.
6169 * elf/tst-audit3.c: Move to ...
6170 * sysdeps/x86_64/tst-audit3.c: ... here.
6171 * elf/tst-audit4.c: Move to ...
6172 * sysdeps/x86_64/tst-audit4.c: ... here.
6173 * elf/tst-audit5.c: Move to ...
6174 * sysdeps/x86_64/tst-audit5.c: ... here.
6175 * elf/tst-audit6.c: Move to ...
6176 * sysdeps/x86_64/tst-audit6.c: ... here.
6177 * elf/tst-audit7.c: Move to ...
6178 * sysdeps/x86_64/tst-audit7.c: ... here.
6179 * elf/tst-auditmod3a.c: Move to ...
6180 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
6181 * elf/tst-auditmod3b.c: Move to ...
6182 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
6183 * elf/tst-auditmod4a.c: Move to ...
6184 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
6185 * elf/tst-auditmod4b.c: Move to ...
6186 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
6187 * elf/tst-auditmod5a.c: Move to ...
6188 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
6189 * elf/tst-auditmod5b.c: Move to ...
6190 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
6191 * elf/tst-auditmod6a.c: Move to ...
6192 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
6193 * elf/tst-auditmod6b.c: Move to ...
6194 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
6195 * elf/tst-auditmod6c.c: Move to ...
6196 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
6197 * elf/tst-auditmod7a.c: Move to ...
6198 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
6199 * elf/tst-auditmod7b.c: Move to ...
6200 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
6201
1ef74943
PP
62022013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
6203
6204 [BZ #15366]
6205 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
6206 define unconditionally.
6207 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
6208 define unconditionally.
6209 (INT8_C, INT16_C, etc.): Likewise.
6210
93fd48c5
MR
62112013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
6212
ae9552cf
MR
6213 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
6214 __ehdr_start with hidden visibility.
6215
93fd48c5
MR
6216 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
6217
418601aa
CD
62182013-04-24 Carlos O'Donell <carlos@redhat.com>
6219
6220 * math/libm-test.inc (cos_test): Use accurate hex constants.
6221 (sincost_test): Likewise.
6222
2f38fbfe
JM
62232013-04-24 Joseph Myers <joseph@codesourcery.com>
6224
5e221800
JM
6225 * math/libm-test.inc (catan_test): Add more tests.
6226 (catanh_test): Likewise.
6227
77f143fd
JM
6228 * math/s_catanf.c (__catanf): Use suffixed floating-point
6229 constants.
6230 * math/s_catanhf.c (__catanhf): Likewise.
6231 * math/s_catanhl.c (__catanhl): Likewise.
6232 * math/s_catanl.c (__catanl): Likewise.
6233
2f38fbfe
JM
6234 [BZ #15394]
6235 * math/s_catan.c (__catan): Calculate imaginary part of result
6236 with log1p not log unless computing log of number close to 0.
6237 * math/s_catanf.c (__catanf): Likewise.
6238 * math/s_catanl.c (__catanl): Likewise.
6239 * math/s_catanh.c (__catanh): Calculate real part of result with
6240 log1p not log unless computing log of number close to 0.
6241 * math/s_catanhf.c (__catanhf): Likewise.
6242 * math/s_catanhl.c (__catanhl): Likewise.
6243 * math/libm-test.inc (catan_test): Add more tests.
6244 (catanh_test): Likewise.
6245 * sysdeps/i386/fpu/libm-test-ulps: Update.
6246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6247
45d69176
SP
62482013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6249
6250 * benchtests/Makefile: Mention files in which fast and slow
6251 paths of math functions are implemented.
6252
87f51853
RM
62532013-04-23 Roland McGrath <roland@hack.frob.com>
6254
6255 * sysdeps/posix/timespec_get.c: New file.
6256
3c026539
AZ
62572013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6258
6259 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
6260 POWER.
6261 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
6262 for POWER.
6263 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
6264 powerpc/power5/fpu folders.
6265 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
6266 * benchtests/Makefile: Add modf testcase.
6267 * benchtests/bench-modf.c: New file: Benchmark test for mo
6268
ff491d14
SP
62692013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6270
6271 [BZ #14888]
6272 * time/Makefile (tests): Add tst-strptime-whitespace.
6273 * time/strptime_l.c (get_number): Use ISSPACE.
6274 (__strptime_internal): Likewise.
6275 * time/tst-strptime-whitespace.c: New test case.
6276
7ed3f4e8
AS
62772013-04-23 Andreas Schwab <schwab@linux-m68k.org>
6278
6279 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
6280 member.
6281 (_nss_files_init): Set it here.
6282
5c95f7b6
HC
62832013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
6284
6285 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
6286 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
6287 unsigned.
6288
d34c9158
JBG
62892013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
6290
6291 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
6292
2169712d
SP
62932013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6294
6295 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
6296 size just once.
6297
29c5de99
DM
62982013-04-21 David S. Miller <davem@davemloft.net>
6299
6300 * po/ru.po: Update Russion translation from translation project.
6301
ccdad15d
AC
63022013-04-17 Adam Conrad <adconrad@0c3.net>
6303
6304 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
6305 and setfsgid.
6306
0f122b8d
CD
63072013-04-17 Carlos O'Donell <carlos@redhat.com>
6308
5c5b07da 6309 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 6310 * configure: Regenerate.
5c5b07da 6311 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
6312 Add example to error message.
6313 * sysdeps/i386/configure: Regenerate.
6314
037714dd
SP
63152013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6316
6317 * benchtests/Makefile (bench): Add cos, tan, slowcos and
6318 slowtan.
6319 * benchtests/cos-inputs: New file.
6320 * benchtests/slowcos-inputs: New file.
6321 * benchtests/slowcos.c: New file.
6322 * benchtests/slowtan-inputs: New file.
6323 * benchtests/slowtan.c: New file.
6324 * benchtests/tan-inputs: New file.
6325
e913141d
RM
63262013-04-16 Roland McGrath <roland@hack.frob.com>
6327
6328 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
6329 considered kosher.
6330
a2964074
SP
63312013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6332
4856bcd2
SP
6333 * benchtests/Makefile: Include cppflags-iterator.mk to add
6334 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
6335
a2964074
SP
6336 * Makefile.in (bench-clean): New target.
6337 * benchtests/Makefile (bench-clean): Likewise.
6338
9fbf9aca
DH
63392013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
6340
6341 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
6342
207d1e2a
TS
63432013-04-15 Thomas Schwinge <thomas@codesourcery.com>
6344
6345 * stdio-common/tstdiomisc.c: Fix coding-style violation.
6346
306dfba9
AS
63472013-04-15 Andreas Schwab <schwab@suse.de>
6348
6349 * nscd/grpcache.c (cache_addgr): Properly check for short write.
6350 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6351 * nscd/pwdcache.c (cache_addpw): Likewise.
6352 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
6353 more than recsize.
6354
206a6699
SP
63552013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6356
6357 * benchtests/Makefile (bench): Write all output to
6358 bench-out.tmp together.
6359
0582f6b3
AS
63602013-04-15 Andreas Schwab <schwab@suse.de>
6361
6362 * nscd/nscd.c (main): Don't fork again after closing files.
6363
acb4325f
SP
63642013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6365
5cb26d0a
SP
6366 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
6367
acb4325f
SP
6368 * benchtests/Rules (bench-deps): Collect dependencies into a
6369 single variable. Add Makefile to dependencies.
6370 ($(objpfx)bench-%.c): Depend on bench-deps.
6371
47792506
RM
63722013-04-12 Roland McGrath <roland@hack.frob.com>
6373 Xavier Roche <roche+kml2@exalead.com>
6374
6375 [BZ #15361]
6376 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
6377 just that it's a file descriptor.
6378 * manual/llio.texi (Synchronizing AIO Operations): Update description
6379 for EBADF error from aio_fsync.
6380
8fc1bee5
SP
63812013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6382
6383 * Rules (bench): Move target definition...
6384 * benchtests/Makefile: ... here.
6385
aba5e333
CD
63862013-04-11 Carlos O'Donell <carlos@redhat.com>
6387
6388 * math/libm-test.inc (cos_test): Fix PI/2 test.
6389 (sincos_test): Likewise.
6390 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6391 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6392
273cdee8
AS
63932013-04-11 Andreas Schwab <schwab@suse.de>
6394
6ecec3b6
AS
6395 [BZ #13988]
6396 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
6397 accept exponent character only when digits were seen.
6398 * stdio-common/Makefile (tests): Add bug26.
6399 * stdio-common/bug26.c: New file.
6400
273cdee8
AS
6401 [BZ #14293]
6402 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
6403 non-freeable.
6404
8da491f5
SP
64052013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6406
01dc6df9
SP
6407 * Makeconfig (rtld-prefix): Define built linker prefix.
6408 * Rules (run-bench): Use it.
6409 * math/Makefile (run-regen-ulps): Likewise.
6410
8da491f5
SP
6411 * Rules (bench): Remove eval.
6412
abe7f530
SP
64132013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6414 Roland McGrath <roland@hack.frob.com>
6415 Ondrej Bilka <neleai@seznam.cz>
6416
6417 [BZ #15346]
6418 * time/getdate.c: Include ctype.h and alloca.h.
6419 (__getdate_r): Trim leading and trailing spaces of input.
6420 * time/tst-getdate.c (tests): Add tests with leading and
6421 trailing spaces.
6422
61c23e62
RM
64232013-04-08 Roland McGrath <roland@hack.frob.com>
6424
6425 [BZ #14280]
6426 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
6427 when computing value.
6428
7208a313
CD
64292013-04-06 Carlos O'Donell <carlos@redhat.com>
6430
085b2d41
CD
6431 * math/README.libm-test (How can I generate "libm-test-ulps"?):
6432 Use testrun.sh to run libm tests.
6433
7208a313
CD
6434 [BZ #15309]
6435 * elf/dl-open.c (dl_open_worker): memset all of seen array.
6436
872c0acd
MM
64372013-04-06 Marko Myllynen <myllynen@redhat.com>
6438
6439 [BZ #15264]
6440 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
6441
26510bdd
CD
64422013-04-06 Carlos O'Donell <carlos@redhat.com>
6443
6444 * Makefile.in (regen-ulps): New target.
6445 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
6446 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
6447 [ifneq (no,$(PERL)] (regen-ulps): New target.
6448 [ifeq (no,$(PERL)] (regen-ulps): New target.
6449 * math/libm-test.inc (ulps_file_name): Define.
6450 (output_dir): New variable.
6451 (options): Add "output-dir" option.
6452 (parse_opt): Handle 'o' case.
6453 (main): If output_dir is non-NULL use it as a prefix
6454 otherwise use "".
6455 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
6456
a01f19c8
CD
64572013-04-06 Carlos O'Donell <carlos@redhat.com>
6458
6459 [BZ #10060, #10062]
6460 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
6461 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
6462 fail configure if __sync_val_compare_and_swap is not inlined.
6463 * sysdeps/i386/configure: Regenerate.
6464 * configure.in: Build for i686 when configured for i386.
6465 * configure: Regenerate.
6466 * README: Remove i386 reference.
6467
b7a329a5
CD
64682013-04-06 Carlos O'Donell <carlos@redhat.com>
6469
6470 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
6471 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6472
bf0f50df
TS
64732013-04-05 Thomas Schwinge <thomas@codesourcery.com>
6474
ee091edf
TS
6475 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
6476 (lmsnanval): New variables.
6477 (F): Add conversion tests.
6478 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
6479 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
6480
a8b792d6
TS
6481 * stdio-common/tstdiomisc.c (F): Properly collect individual
6482 tests' results.
6483
a1cbf437
TS
6484 [BZ #14686, #15336]
6485 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
6486 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6487 Instead, use input NaN values or generate a qNaN by arithmetic
6488 operation. Also fix bugs to comply with the standard.
6489 * math/libm-test.inc (remainder_test): Add more tests.
6490
8b43a0c9
TS
6491 [BZ #15335, #15342]
6492 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
6493 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
6494 input NaN values or generate a qNaN by arithmetic operation.
6495
d91da4ce
TS
6496 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
6497 unreachable code.
6498
bf0f50df
TS
6499 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
6500 definitions.
6501
05e166c8
JM
65022013-04-03 Joseph Myers <joseph@codesourcery.com>
6503
6504 [BZ #14478]
6505 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
6506 underflowed result.
6507 * math/s_cexpf.c (__cexpf): Likewise.
6508 * math/s_cexpl.c (__cexpl): Likewise.
6509 * math/libm-test.inc (cexp_test): Add more tests.
6510
1cef1b19
AS
65112013-04-03 Andreas Schwab <schwab@suse.de>
6512
6513 [BZ #15330]
6514 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
6515 order arrays from heap if bigger than alloca cutoff.
6516
74d87055
TS
65172013-04-03 Thomas Schwinge <thomas@codesourcery.com>
6518
6519 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
6520 (SNAN_TESTS_double): Refer to GCC PR56831.
6521 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
6522 GCC PR56828.
6523
d755bba4
SP
65242013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6525
90d5d5bb
SP
6526 * Rules (bench): Move bench.out after the run is complete.
6527
73e0cd5d
SP
6528 * Rules (bench): Echo currently running benchmark.
6529
64aabd4b
SP
6530 * benchtests/Makefile (bench): Add atan and slowatan.
6531 * benchtests/atan-inputs: New file.
6532 * benchtests/slowatan-inputs: New file.
6533 * benchtests/slowatan.c: New file.
6534
c871eccd
SP
6535 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
6536 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
6537 its value.
6538
d755bba4
SP
6539 [BZ #15305]
6540 * sysdeps/unix/sysv/linux/kernel-features.h
6541 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
6542 __ASSUME_XFS_RESTRICTED_CHOWN.
6543 * sysdeps/unix/sysv/linux/pathconf.c
6544 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6545 Save and restore errno.
6546
52ce4860
JM
65472013-04-02 Joseph Myers <joseph@codesourcery.com>
6548
6549 [BZ #15327]
6550 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
6551 arguments using __kernel_casinh.
6552 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
6553 arguments using __kernel_casinhf.
6554 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
6555 arguments using __kernel_casinhl.
6556 * math/libm-test.inc (cacosh_test): Add more tests.
6557 * sysdeps/i386/fpu/libm-test-ulps: Update.
6558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6559
81f311c2
SP
65602013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6561
e7906a47
SP
6562 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
6563 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
6564
92e3664b
SP
6565 * bench/Makefile (bench): Add sin and slowsin.
6566 * benchtests/sin-inputs: New file.
6567 * benchtests/slowsin-inputs: New file.
6568 * benchtests/slowsin.c: New file.
6569
81f311c2
SP
6570 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
6571 (bench): Add slowexp and slowpow.
6572 (exp-ITER): Increase iterations.
6573 (pow-ITER): Likewise.
6574 * benchtests/exp-inputs: Change input.
6575 * benchtests/pow-inputs: Likewise.
6576 * benchtests/slowexp-inputs: New file.
6577 * benchtests/slowexp.c: New file.
6578 * benchtests/slowpow-inputs: New file.
6579 * benchtests/slowpow.c: New file.
6580
ab0f1aa9
AZ
65812013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6582
6583 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
6584 instructions.
6585 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6586 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
6587 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6588 * benchtests/Makefile: Add rint benchtest.
6589 * benchtests/rint-inputs: Input for rint benchtest.
6590
57267616
TS
65912013-04-02 Thomas Schwinge <thomas@codesourcery.com>
6592
6593 * Versions.def (libm): Add GLIBC_2.18.
6594 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
6595 hidden libm prototypes.
6596 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
6597 * math/Makefile (libm-calls): Add s_issignaling.
6598 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
6599 __issignalingf, __issignalingl. Adjust all libm.abilist files.
6600 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
6601 declaration.
6602 * math/math.h [__USE_GNU] (issignaling): New macro.
6603 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
6604 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
6605 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
6606 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
6607 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6608 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
6609 * manual/arith.texi (issignaling): New section.
6610 * manual/libm-err-tab.pl (@all_functions): Update comment.
6611 * math/gen-libm-test.pl (parse_args): Apply special handling for
6612 issignaling.
6613 * math/libm-test.inc (print_float, issignaling_test): New
6614 functions.
6615 (check_float_internal): Add issignaling checks.
6616 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
6617 default definition.
6618 * sysdeps/powerpc/math-tests.h: New file.
6619 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
6620 tests.
6621 * math/test-snan.c (TEST_FUNC): Likewise.
6622
6142896d
DM
66232013-03-30 David S. Miller <davem@davemloft.net>
6624
6625 * po/de.po: Update from translation team.
6626
ccc8cadf
JM
66272013-03-30 Joseph Myers <joseph@codesourcery.com>
6628
6629 [BZ #10357]
6630 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6631 imaginary part less than 1.0 and real part less than 0.5
6632 specially.
6633 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6634 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6635 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
6636 (cacos_test): Add more tests.
6637 (casin_test): Likewise.
6638 (casinh_test): Likewise.
6639 * sysdeps/i386/fpu/libm-test-ulps: Update.
6640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6641
0f6a8d4b
SP
66422013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6643
0d1029de
SP
6644 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
6645 ONE with its value.
6646
c2d94018
SP
6647 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
6648 (__pow_mp): Replace ONE and MONE with their values.
6649 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6650 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
6651 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6652 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
6653 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6654 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6655
27ec37f1
SP
6656 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
6657
a64d7e0e
SP
6658 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
6659 (__pow_mp): Replace ZERO and MZERO with their values.
6660 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6661 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6662 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6663 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6664 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6665 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
6666 (__sqr): Likewise.
6667
d26dd3eb
SP
6668 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
6669
0f6a8d4b
SP
6670 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
6671
e57b0c61
RM
66722013-03-28 Roland McGrath <roland@hack.frob.com>
6673
6674 * include/stdlib.h [!SHARED] (__call_tls_dtors):
6675 Declare with __attribute__ ((weak)).
6676 * stdlib/exit.c (__libc_atexit) [!SHARED]:
6677 Call __call_tls_dtors only if it's not NULL.
6678
356b3480
RM
66792013-03-28 Roland McGrath <roland@hack.frob.com>
6680
288f7d79
RM
6681 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
6682 didn't do it already, then set _dl_phdr and _dl_phnum based on the
6683 magic __ehdr_start linker symbol if it's defined.
6684 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
6685 them up here if it was already done.
6686
dc0a0263
RM
6687 * elf/dl-support.c (_dl_phdr): Make pointer to const.
6688 (_dl_aux_init): Use const in cast when setting it.
6689 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
6690 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
6691 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
6692
3d3436ae
RM
6693 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
6694 Declare them here.
6695 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
6696 * csu/libc-tls.c: Nor here.
6697 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
6698
356b3480
RM
6699 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
6700 (__libc_message): Never call vsyslog.
6701
b0f1246a
AM
67022013-03-28 Alan Modra <amodra@gmail.com>
6703
6704 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
6705 Define as empty.
6706 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
6707 Likewise.
6708
fbbe2b9a
AZ
67092013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6710
6711 [BZ #15214]
6712 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
6713 underflow.
6714 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6715
1728ab37
SP
67162013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6717
7a86be6e
SP
6718 [BZ #15304]
6719 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6720 Don't add gid passed as argument.
6721
1728ab37
SP
6722 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
6723
3a7182a1
JM
67242013-03-27 Joseph Myers <joseph@codesourcery.com>
6725
6726 [BZ #15307]
6727 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6728 imaginary part between 1.0 and 1.5 and real part less than 0.5
6729 specially.
6730 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6731 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6732 * math/libm-test.inc (cacos_test): Add more tests.
6733 (casin_test): Likewise.
6734 (casinh_test): Likewise.
6735 * sysdeps/i386/fpu/libm-test-ulps: Update.
6736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6737
6f2e90e7
SP
67382013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6739
5739f705
SP
6740 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
6741 constants.
6742 (norm): Likewise.
6743 (denorm): Likewise.
6744 (__dbl_mp): Likewise.
6745 (add_magnitudes): Likewise.
6746 (sub_magnitudes): Likewise.
6747 (__add): Likewise.
6748 (__sub): Likewise.
6749 (__mul): Likewise.
6750 (__sqr): Likewise.
6751 (__inv): Likewise.
6752 (__dvd): Likewise.
6753
e375e83d
SP
6754 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
6755 commented code.
6756 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
6757 (__dubcos): Likewise.
6758 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
6759 (__ieee754_acos): Likewise.
6760 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6761 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
6762 (__exp1): Likewise.
6763 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6764 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6765 (log1): Likewise.
6766 (my_log2): Likewise.
6767 (checkint): Likewise.
6768 * sysdeps/ieee754/dbl-64/e_remainder.c
6769 (__ieee754_remainder): Likewise.
6770 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6771 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6772 (bsloww): Likewise.
6773 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6774
6f2e90e7
SP
6775 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6776 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
6777 MANTISSA_STORE_T to store computations on mantissa. Use
6778 macros for rounding and division.
6779 (denorm): Likewise.
6780 (__dbl_mp): Likewise.
6781 (add_magnitudes): Likewise.
6782 (sub_magnitudes): Likewise.
6783 (__mul): Likewise.
6784 (__sqr): Likewise.
6785 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6786 powers of two in terms of TWOPOW macro.
6787 (mp_no): Make type of mantissa as MANTISSA_T.
6788 [!RADIXI]: Define RADIXI.
6789 [!TWO52]: Define TWO52.
6790 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6791
fce14d4e
AZ
67922013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6793
6794 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
6795 llroundl symbol when building for PPC32.
6796
9ad027fb
MW
67972013-03-24 Mark H Weaver <mhw@netris.org>
6798
6799 * manual/arith.texi (Normalization Functions): Fix prototypes for
6800 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
6801
e42a38dd
AZ
68022013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6803
6804 [BZ #13889]
6805 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
6806 high value to check if expl overflow.
6807 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
6808 to check for underflow and overflow.
6809 * math/libm-test.inc: Add exp test.
6810
2e0fb521
DL
68112013-03-21 Dmitry V. Levin <ldv@altlinux.org>
6812
6813 [BZ #11120]
6814 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
6815 with NOT_IN_libc.
6816
b5784d95
AZ
68172013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6818
6819 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6820 symbol.
6821
5aa4a1a1
TS
68222013-03-21 Thomas Schwinge <thomas@codesourcery.com>
6823
bdef0be7
TS
6824 * math/gen-libm-test.pl (parse_args, special_functions): Properly
6825 wrap blocks consisting of several statements.
6826
5aa4a1a1
TS
6827 * sysdeps/generic/math-tests.h: New file.
6828 * sysdeps/i386/fpu/math-tests.h: Likewise.
6829 * math/test-snan.c: Include it.
6830 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
6831
98c48fe5
JM
68322013-03-21 Joseph Myers <joseph@codesourcery.com>
6833
6834 [BZ #15285]
6835 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
6836 (__ieee754_j0l): Do not improve calculations using cos of twice
6837 input for inputs above LDBL_MAX / 2.0L.
6838 (__ieee754_y0l): Likewise.
6839 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
6840 (__ieee754_j1l): Do not improve calculations using cos of twice
6841 input for inputs above LDBL_MAX / 2.0L.
6842 (__ieee754_y1l): Likewise.
6843 * math/libm-test.inc (j0_test): Add another test.
6844 (j1_test): Likewise.
6845 (y0_test): Likewise.
6846 (y1_test): Likewise.
6847 * sysdeps/i386/fpu/libm-test-ulps: Update.
6848
3775a8bc
SP
68492013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6850
6851 * Rules ($(objpfx)bench-%.c): Include code from a C source
6852 file.
6853
0a1b2ae6
JM
68542013-03-21 Joseph Myers <joseph@codesourcery.com>
6855
6856 [BZ #15287]
6857 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6858 imaginary part 1.0 and real part less than 0.5 specially.
6859 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6860 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6861 * math/libm-test.inc (cacos_test): Add more tests.
6862 (casin_test): Likewise.
6863 (casinh_test): Likewise.
6864 * sysdeps/i386/fpu/libm-test-ulps: Update.
6865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6866
b33d4ce4
SP
68672013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6868
6869 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
6870 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
6871
bef0b507
JM
68722013-03-20 Joseph Myers <joseph@codesourcery.com>
6873
6874 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
6875 * config.make.in (config-cflags-sse4): Remove variable.
6876 (config-cflags-avx): Likewise.
6877 (config-cflags-sse2avx): Likewise.
6878 (config-cflags-novzeroupper): Likewise.
6879 (config-asflags-i686): Likewise.
6880 (have-mfma4): Likewise.
6881 (have-as-vis3): Likewise.
6882 (MIG): Likewise.
6883 * configure.in (MIG): Do not AC_SUBST.
6884 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
6885 (libc_cv_cc_sse4): Do not AC_SUBST.
6886 (libc_cv_cc_avx): Likewise.
6887 (libc_cv_cc_sse2avx): Likewise.
6888 (libc_cv_cc_novzeroupper): Likewise.
6889 (libc_cv_cc_fma4): Likewise.
6890 (libc_cv_as_i686): Likewise.
6891 (libc_cv_sparc_as_vis3): Likewise.
6892 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
6893 LIBC_CONFIG_VAR.
6894 (config-asflags-i686): Likewise.
6895 (config-cflags-avx): Likewise.
6896 (config-cflags-sse2avx): Likewise.
6897 (have-mfma4): Likewise.
6898 (config-cflags-novzeroupper): Likewise.
6899 * sysdeps/mach/configure.in (MIG): Likewise.
6900 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
6901 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
6902 LIBC_CONFIG_VAR.
6903 (config-cflags-avx): Likewise.
6904 (config-cflags-sse2avx): Likewise.
6905 (have-mfma4): Likewise.
6906 (config-cflags-novzeroupper): Likewise.
6907 * configure: Regenerated.
6908 * sysdeps/i386/configure: Likewise.
6909 * sysdeps/mach/configure: Likewise.
6910 * sysdeps/sparc/configure: Likewise.
6911 * sysdeps/x86_64/configure: Likewise.
6912
912cc4b3
RM
69132013-03-20 Roland McGrath <roland@hack.frob.com>
6914
6915 [BZ #14812]
6916 * locale/programs/localedef.c (options): Put N_ translation marker
6917 on argument names, not just descriptions.
6918
04eed2b0
MS
69192013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6920
6921 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
6922
a065ceff
OB
69232013-03-20 Ondřej Bílka <neleai@seznam.cz>
6924
9bb2a810 6925 [BZ #14176]
a065ceff
OB
6926 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
6927
a600e5ce
RM
69282013-03-19 Roland McGrath <roland@hack.frob.com>
6929
6930 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
6931 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
6932 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
6933 [!BEFORE_ABORT] (before_abort): New function.
6934 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
6935 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
6936 (writev_for_fatal): New function.
6937 (WRITEV_FOR_FATAL): New macro; call that.
6938 (backtrace_and_maps): New function.
6939 (BEFORE_ABORT): New macro; call that.
6940 (struct str_list): Type removed.
6941 (__libc_message, __libc_fatal): Functions removed.
6942 Include <sysdeps/posix/libc_fatal.c> instead.
6943
6b18bea6
JM
69442013-03-19 Joseph Myers <joseph@codesourcery.com>
6945
6946 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
6947 constants.
6948 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
6949 double constants.
6950
aaa8cb4b
AS
69512013-03-19 Andreas Schwab <schwab@suse.de>
6952
44673770
AS
6953 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
6954 * sysdeps/gnu/configure: Regenerate.
6955
aaa8cb4b
AS
6956 * configure.in: Substitute libc_cv_rtlddir.
6957 * configure: Regenerate.
6958 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
6959 * Makeconfig (rtlddir, inst_rtlddir): New variables.
6960 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
6961 * elf/Makefile (install-others, CFLAGS-interp.c)
6962 (ldso_install, common-ldd-rewrite): Likewise.
6963 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
6964 $(inst_slibdir)/$(rtld-installed-name).
6965 * scripts/rellns-sh: Add -p option.
6966 * Makerules (make-shlib-link): Use rellns-sh to get relative name
6967 for source.
6968
d3cfc668
SP
69692013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6970
6971 * manual/nptl.texi: Renamed to ...
6972 * manual/threads.texi: ... this.
6973 * manual/Makefile (chapters): Update.
6974
0e2b9cdd
RM
69752013-03-18 Roland McGrath <roland@hack.frob.com>
6976
6977 [BZ #14812]
6978 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
6979 on argument names, not just descriptions.
0e2b9cdd
RM
6980 * malloc/memusagestat.c (options): Likewise.
6981 * nss/getent.c (options): Likewise.
63270c24
RM
6982
69832013-03-18 Benno Schulenberg <bensberg@justemail.net>
6984
6985 [BZ #14812]
6986 * iconv/iconv_prog.c (options): Put N_ translation marker
6987 on argument names, not just descriptions.
6988 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 6989
b2e1393c
OB
69902013-03-18 Ondrej Bilka <neleai@seznam.cz>
6991
6992 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
6993 implementation which is faster on all x86_64 architectures.
6994 Tested on AMD, Intel Nehalem, SNB, IVB.
6995 * sysdeps/x86_64/strnlen.S: Likewise.
6996
6997 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6998 Remove all multiarch strlen and strnlen versions.
6999 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7000 Remove strlen and strnlen related parts.
7001
7002 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
7003 Inline strlen part.
7004 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7005
7006 * sysdeps/x86_64/multiarch/strlen.S: Remove.
7007 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
7008 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
7009 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
7010 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7011 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
7012
ec4ff04d
CD
70132013-03-17 Carlos O'Donell <carlos@redhat.com>
7014
7015 * manual/memory.texi (Malloc Tunable Parameters):
7016 Sort parameters alphabetically. Add comments for missing entries.
7017
cd18e90a
DM
70182013-03-17 David S. Miller <davem@davemloft.net>
7019
7020 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7021
2a185d32
JM
70222013-03-16 Joseph Myers <joseph@codesourcery.com>
7023
d2f9799e
JM
7024 [BZ #15283]
7025 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
7026 for arguments at most half maximum finite value.
7027 * math/libm-test.inc (j0_test): Add more tests.
7028 (j1_test): Likewise.
7029 (y0_test): Likewise.
7030 (y1_test): Likewise.
7031 * sysdeps/i386/fpu/libm-test-ulps: Update.
7032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7033
2a185d32
JM
7034 [BZ #14155]
7035 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
7036 1 / x and functions P and Q for arguments above 0x1p256L.
7037 (__ieee754_y0l): Likewise.
7038 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7039 (__ieee754_y1l): Likewise.
7040 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
7041 (j1_test): Likewise.
7042 (y0_test): Likewise.
7043 (y1_test): Likewise.
7044
6cbec759
TS
70452013-03-16 Thomas Schwinge <thomas@codesourcery.com>
7046
7047 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
7048 variable.
7049
bc16e260
RM
70502013-03-15 Roland McGrath <roland@hack.frob.com>
7051
aefc9b8c
RM
7052 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
7053 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
7054 zero since it's initialized to EXEC_PAGESIZE.
7055
bc16e260
RM
7056 * sysdeps/unix/sysv/linux/ldsodefs.h
7057 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
7058 * sysdeps/generic/ldsodefs.h: ... here.
7059
a57da955
TS
70602013-03-15 Thomas Schwinge <thomas@codesourcery.com>
7061
af00a34d
TS
7062 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
7063
495ded2c
TS
7064 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
7065 math/test-snan.c.
7066 * math/test-snan.c: Renamed from
7067 sysdeps/powerpc/fpu/test-powerpc-snan.c.
7068 * math/Makefile (tests): Add test-snan.
7069 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
7070 test-powerpc-snan.
7071
777b0332
TS
7072 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
7073 SUFFIX. Initialize qNaN_var with __builtin_nan family of
7074 functions.
7075 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
7076 __builtin_nan family of functions.
7077 * math/libm-test.inc (initialize): Initialize qnan_value with
7078 __builtin_nan family of functions.
7079 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
7080 Remove variables.
7081 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
7082 Remove functions.
7083 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
7084 storage class. Initialize qNaN_var and sNaN_var with
7085 __builtin_nan and __builtin_nans families of functions,
7086 respectively.
7087
64d063b8
TS
7088 * math/libm-test.inc (acosh_test): Also test with qNaN input.
7089 (sqrt_test): Remove duplicate test with qNaN input.
7090 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
7091 (round_test, signbit_test, significand_test): Note missing +/-Inf
7092 as well as qNaN tests.
7093
67e971f1
TS
7094 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
7095 qNaN_var. Fix a few strings, too.
7096 * math/libm-test.inc (nan_value): Rename to qnan_value.
7097 * math/gen-libm-test.pl (%beautify): Adjust to that.
7098 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
7099 * math/test-misc.c (main): Likewise.
7100 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
7101 to __qnan_bytes, and __qnan_union, respectively.
7102 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
7103 Likewise.
7104 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
7105 and lqnanval, respectively.
7106 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
7107 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
7108 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
7109 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
7110
64487e12
TS
7111 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
7112 * math/test-misc.c (main) [__x86_64__]: Enable test for long
7113 doubles.
7114
e015e27b
TS
7115 * math/test-misc.c (main): Fix copy'n'pastos.
7116 * misc/tst-efgcvt.c (special): Likewise.
7117
a57da955
TS
7118 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
7119 Remove declarations.
7120
1e380345
SP
71212013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7122
7123 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
7124 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
7125 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
7126 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
7127
ef26eece
AZ
71282013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7129
7130 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
7131 macro to return vdso values correctly in IFUNC implementations.
7132 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7133 Optimization by using IFUNC.
7134
8cfdb7e0
SP
71352013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7136 Richard Henderson <rth@redhat.com>
7137 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7138
7139 * Makefile.in (bench): New target.
7140 * NEWS: Mention the benchmark framework.
7141 * Rules (bench): Likewise.
7142 (binaries-bench): Generate binaries for functions to
7143 benchmark.
7144 * benchtests/Makefile: New makefile for benchmark tests.
7145 * benchtests/bench-skeleton.c: New skeleton file for benchmark
7146 programs.
7147 * benchtests/exp-inputs: New input file for EXP function.
7148 * benchtests/pow-inputs: New input file for POW function.
7149 * scripts/bench.pl: New script to generate source files for
7150 benchmark programs.
7151
bcda9880
SP
71522013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7153
d22ca8cd
SP
7154 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7155 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
7156 computations on mantissa. Use macros for rounding and
7157 division.
7158 (denorm): Likewise.
7159 (__dbl_mp): Likewise.
7160 (add_magnitudes): Likewise.
7161 (sub_magnitudes): Likewise.
7162 (__mul): Likewise.
7163 (__sqr): Likewise.
7164 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7165 powers of two in terms of TWOPOW macro.
7166 (mp_no): Make type of mantissa as MANTISSA_T.
7167 [!RADIXI]: Define RADIXI.
7168 [!TWO52]: Define TWO52.
7169 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7170
bcda9880
SP
7171 * manual/nptl.texi (cindex): Modify threads to pthreads.
7172
06d5adfb
JM
71732013-03-15 Joseph Myers <joseph@codesourcery.com>
7174
7175 * sysdeps/x86_64/preconfigure: Regenerated.
7176
41c7328e
JM
71772013-03-14 Joseph Myers <joseph@codesourcery.com>
7178
7179 [BZ #14155]
7180 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
7181 0x1p28 and above.
7182 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
7183 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
7184 0x1p28 and above.
7185 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
7186 * math/libm-test.inc (j0_test): Do not allow one spurious
7187 underflow exception.
7188 (y1_test): Likewise.
7189
e25cfa60
SP
71902013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7191
0409959c
SP
7192 * manual/Makefile (chapters): Add nptl.
7193 * manual/debug.texi (Debugging Support): Add link to Threads
7194 chapter.
7195 * manual/nptl.texi: New file.
7196
e25cfa60
SP
7197 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
7198
58a1335e
PB
71992013-03-14 Petr Baudis <pasky@ucw.cz>
7200
7201 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
7202 for non-NULL pointer before the memory validity test. Pointed
7203 out by Holger Brunck <holger.brunck@keymile.com>.
7204
9dc7c64f
AS
72052013-03-13 Andreas Schwab <schwab@suse.de>
7206
7207 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
7208 instead of .os.
7209
54206aa6
JM
72102013-03-13 Joseph Myers <joseph@codesourcery.com>
7211
7212 * timezone/zic.c: Update from tzcode 2013b.
7213
e98cdb38
CD
72142013-03-12 Carlos O'Donell <carlos@redhat.com>
7215
7216 * manual/install.texi (Configuring and compiling):
7217 Mention i686 and i586.
7218 * INSTALL: Regenerate.
7219
9967e003
RM
72202013-03-12 Roland McGrath <roland@hack.frob.com>
7221
7222 * sysdeps/init_array/elf-init.c: New file.
7223 * csu/elf-init.c
7224 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
7225 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
7226
7227 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
7228 __gmon_start__ as global, but as static with a .preinit_array pointer.
7229 * sysdeps/init_array/gmon-start.c: New file. Use that.
7230 * sysdeps/init_array/crti.S: New file, empty except for comments.
7231 * sysdeps/init_array/crtn.S: Likewise.
7232
e6b5a293 72332013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
7234
7235 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
7236 definining bcopy.
80f844c9
OB
7237 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7238 Remove Prefer_SSE_for_memop.
7239 * sysdeps/x86_64/multiarch/init-arch.h: Remove
7240 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
7241 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
7242 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7243 memset-x86-64.
80f844c9 7244 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 7245 Remove bzero, memset ifunc support.
80f844c9
OB
7246 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
7247 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
7248 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7249 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7250
fb6b0fcb
AS
72512013-03-11 Andreas Schwab <schwab@suse.de>
7252
7253 [BZ #15234]
7254 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
7255 by SHLIB_COMPAT.
7256 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
7257 (GLIBC_2.16): Remove pthread_atfork.
7258
3e6bd4b1
PP
72592013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7260
7261 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
7262 (ptestcases.h): Likewise.
7263
222d7f00
RM
72642013-03-08 Roland McGrath <roland@hack.frob.com>
7265
7266 * Makeconfig ($(common-objpfx)config.status): Depend on
7267 sysdeps/*/preconfigure{,.in} too.
7268
1ba4f030
JM
72692013-03-08 Joseph Myers <joseph@codesourcery.com>
7270
a222d91a
JM
7271 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
7272 (__free_hook): Use void * instead of __malloc_ptr_t.
7273 (__malloc_hook): Likewise.
7274 (__realloc_hook): Likewise.
7275 (__memalign_hook): Likewise.
7276 (__after_morecore_hook): Likewise.
7277 * malloc/arena.c (save_malloc_hook): Likewise.
7278 (save_free_hook): Likewise.
7279 * malloc/hooks.c (malloc_hook_ini): Likewise.
7280 (realloc_hook_ini): Likewise.
7281 (memalign_hook_ini): Likewise.
7282 * malloc/malloc.c (malloc_hook_ini): Likewise.
7283 (realloc_hook_ini): Likewise.
7284 (memalign_hook_ini): Likewise.
7285 (__free_hook): Likewise.
7286 (__malloc_hook): Likewise.
7287 (__realloc_hook): Likewise.
7288 (__memalign_hook): Likewise.
7289 (__libc_malloc): Likewise.
7290 (__libc_free): Likewise.
7291 (__libc_realloc): Likewise.
7292 (__libc_memalign): Likewise.
7293 (__libc_valloc): Likewise.
7294 (__libc_pvalloc): Likewise.
7295 (__libc_calloc): Likewise.
7296 (__posix_memalign): Likewise.
7297 * malloc/morecore.c (__sbrk): Likewise.
7298 (__default_morecore): Likewise.
7299
5cc45e10
JM
7300 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
7301
dd54b864
JM
7302 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
7303 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
7304 __malloc_ptrdiff_t.
7305
1ba4f030
JM
7306 * malloc/malloc.h (__malloc_size_t): Remove macro.
7307 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
7308 __malloc_size_t.
7309 (old_memalign_hook): Likewise.
7310 (old_realloc_hook): Likewise.
7311 (struct hdr): Likewise.
7312 (flood): Likewise.
7313 (mallochook): Likewise.
7314 (memalignhook): Likewise.
7315 (reallochook): Likewise.
7316 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
7317 (tr_old_realloc_hook): Likewise.
7318 (tr_old_memalign_hook): Likewise.
7319 (tr_mallochook): Likewise.
7320 (tr_reallochook): Likewise.
7321 (tr_memalignhook): Likewise.
7322
edf66e57
AZ
73232013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7324
7325 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
7326 default_ldbl_pack and using as default implementation.
7327 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
7328 implementation.
7329 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
7330 redundant definition.
7331 (ldbl_insert_mantissa): Likewise.
7332 (ldbl_canonicalize): Likewise.
7333 (ldbl_nearbyint): Likewise.
7334 (ldbl_pack): Rename to ldbl_pack_ppc.
7335 (ldbl_unpack): Rename to ldbl_unpack_ppc.
7336 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
7337 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
7338
6d9145d8
SP
73392013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7340
7341 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
7342 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
7343 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
7344 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
7345 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
7346 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
7347 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
7348 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
7349
4dd4e157
AJ
73502013-03-07 Andreas Jaeger <aj@suse.de>
7351
7352 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7353 bits/mman-linux.h.
7354
adbb8027
SP
73552013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7356
ce544b5b
SP
7357 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
7358 Include mpa.h and declare __MPEXP.
7359 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
7360 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7361 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7362 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
7363 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7364 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7365 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
7366
4cc149fd
SP
7367 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
7368 (__slowpow): Use long double EXPL and LOGL functions to
7369 compute POW.
7370 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7371 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7372 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
7373 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7374 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7375 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
7376
e6ebd4a7
SP
7377 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
7378 intermediate variable to calculate exponent.
7379 (__sqr): Likewise.
7380 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7381 Likewise.
7382 (__sqr): Likewise.
7383
82a9811d
SP
7384 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
7385 [!NO__SQR]: Define __sqr.
7386 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
7387 and NO__SQR. Remove all code except __mul and __sqr. Include
7388 sysdeps/ieee754/dbl-64/mpa.c.
7389 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7390
adbb8027
SP
7391 [BZ #12723]
7392 * posix/Makefile (tests): Add tst-pathconf.
7393 * posix/tst-pathconf.c: New test case.
7394 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
7395 _PC_PIPE_BUF.
7396 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
7397
39120df9
PF
73982013-03-06 Patsy Franklin <pfrankli@redhat.com>
7399
7400 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
7401
67525cb8
AJ
74022013-03-06 Andreas Jaeger <aj@suse.de>
7403
664a9ce4
AJ
7404 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
7405 definition via __MAP_ANONYMOUS.
7406
8e39047d
AJ
7407 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
7408 it's not part of Linux headers.
7409
67525cb8
AJ
7410 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
7411 (MAP_HUGE_MASK): Define.
7412
7413 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7414 Define.
7415 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7416 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7417 Define.
7418 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7419 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7420 Define.
7421 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7422 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
7423 Define.
7424 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7425
7426 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
7427 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
7428 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
7429 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
7430 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
7431 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
7432
7433 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7434 Handle f2fs.
7435
7436 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7437 Handle f2fs and efivarfs.
7438
7439 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
7440 f2fs.
7441
7442 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
7443 (EFIVARFS_MAGIC): Add.
7444 (F2FS_LINK_MAX): Add.
7445
e1b42695
PP
74462013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7447
7448 * stdio-common/vfprintf.c: Replace __builtin_expect with
7449 __glibc_unlikely.
7450
2d67d91a
JM
74512013-03-06 Joseph Myers <joseph@codesourcery.com>
7452
7453 [BZ #13550]
7454 * sysdeps/generic/bp-sym.h: Remove file.
7455 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
7456 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
7457 <bp-sym.h> and <bp-asm.h>.
7458 (__longjmp): Don't use BP_SYM.
7459 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
7460 and <bp-asm.h>.
7461 (memcpy): Don't use BP_SYM.
7462 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
7463 <bp-sym.h> and <bp-asm.h>.
7464 (memcpy): Don't use BP_SYM.
7465 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
7466 <bp-asm.h>.
7467 (memcpy): Don't use BP_SYM.
7468 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
7469 <bp-asm.h>.
7470 (memset): Don't use BP_SYM.
7471 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7472 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7473 (__bzero): Don't use BP_SYM.
7474 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7475 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7476 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
7477 <bp-sym.h> and <bp-asm.h>.
7478 (memcmp): Don't use BP_SYM. Remove comment about bounded
7479 pointers.
7480 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
7481 <bp-sym.h> and <bp-asm.h>.
7482 (memcpy): Don't use BP_SYM.
7483 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
7484 <bp-sym.h> and <bp-asm.h>.
7485 (memset): Don't use BP_SYM.
7486 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7487 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7488 (__bzero): Don't use BP_SYM.
7489 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7490 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7491 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
7492 <bp-sym.h> and <bp-asm.h>.
7493 (strncmp): Don't use BP_SYM. Remove comment about bounded
7494 pointers.
7495 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
7496 <bp-sym.h> and <bp-asm.h>.
7497 (memcpy): Don't use BP_SYM.
7498 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
7499 <bp-sym.h> and <bp-asm.h>.
7500 (memset): Don't use BP_SYM.
7501 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7502 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7503 (__bzero): Don't use BP_SYM.
7504 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7505 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7506 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
7507 <bp-sym.h> and <bp-asm.h>.
7508 (__memchr): Don't use BP_SYM.
7509 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
7510 <bp-sym.h> and <bp-asm.h>.
7511 (memcmp): Don't use BP_SYM. Remove comment about bounded
7512 pointers.
7513 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
7514 <bp-sym.h> and <bp-asm.h>.
7515 (memcpy): Don't use BP_SYM.
7516 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
7517 <bp-sym.h> and <bp-asm.h>.
7518 (__mempcpy): Don't use BP_SYM.
7519 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
7520 <bp-sym.h> and <bp-asm.h>.
7521 (__memrchr): Don't use BP_SYM.
7522 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
7523 <bp-sym.h> and <bp-asm.h>.
7524 (memset): Don't use BP_SYM.
7525 (__bzero): Likewise.
7526 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
7527 <bp-sym.h> and <bp-asm.h>.
7528 (__rawmemchr): Don't use BP_SYM.
7529 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
7530 <bp-sym.h> and <bp-asm.h>.
7531 (__STRCMP): Don't use BP_SYM.
7532 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
7533 <bp-sym.h> and <bp-asm.h>.
7534 (strchr): Don't use BP_SYM.
7535 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
7536 <bp-sym.h> and <bp-asm.h>.
7537 (__strchrnul): Don't use BP_SYM.
7538 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
7539 <bp-sym.h> and <bp-asm.h>.
7540 (strlen): Don't use BP_SYM.
7541 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
7542 <bp-sym.h> and <bp-asm.h>.
7543 (strncmp): Don't use BP_SYM. Remove comment about bounded
7544 pointers.
7545 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
7546 <bp-sym.h> and <bp-asm.h>.
7547 (__strnlen): Don't use BP_SYM.
7548 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
7549 <bp-sym.h> and <bp-asm.h>.
7550 (__GI__setjmp): Don't use BP_SYM.
7551 (_setjmp): Likewise.
7552 (__sigsetjmp): Likewise.
7553 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
7554 (L(start_addresses)): Don't use BP_SYM.
7555 (_start): Likewise.
7556 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
7557 <bp-asm.h>.
7558 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
7559 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
7560 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7561 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7562 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
7563 <bp-asm.h>.
7564 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
7565 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
7566 about bounded pointers.
7567 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7568 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7569 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
7570 <bp-asm.h>.
7571 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7572 about bounded pointers. Remove GKM FIXME comments.
7573 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7574 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
7575 <bp-asm.h>.
7576 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
7577 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
7578 Remove GKM FIXME comments.
7579 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7580 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7581 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
7582 <bp-asm.h>.
7583 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7584 about bounded pointers. Remove GKM FIXME comment.
7585 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
7586 and <bp-asm.h>.
7587 (strncmp): Don't use BP_SYM. Remove comment about bounded
7588 pointers.
7589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
7590 <bp-sym.h> and <bp-asm.h>.
7591 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
7593 <bp-sym.h> and <bp-asm.h>.
7594 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7595 comment.
7596
cdcf361f
PP
75972013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7598
7599 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
7600 call free(NULL).
7601
3c4a2b15
DM
76022013-03-05 David S. Miller <davem@davemloft.net>
7603
7604 * po/es.po: Update from translation team.
7605
cdcf361f 76062013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
7607
7608 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
7609 <bits/mman-linux.h>.
7610 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7611 is fine.
7612 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
7613 <bits/mman-linux.h> to end of file.
7614 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7615 is fine.
7616 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
7617 <bits/mman-linux.h> to end of file.
7618 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7619 is fine.
7620 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
7621 <bits/mman-linux.h> to end of file.
7622
7623 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
7624 (MCL_CURRENT, MCL_FUTURE): Define here.
7625
5f67c04f
AK
76262013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7627
8a4473cc 7628 [BZ #15232]
5f67c04f
AK
7629 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
7630 attribute_hidden.
7631 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7632
c3e94a95
AK
76332013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7634
7635 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
7636 fourth parameter needed for rt_sigprocmask syscall.
7637 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7638 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7639 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7640 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7641 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7642 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
7643
cfb6382a
JM
76442013-03-04 Joseph Myers <joseph@codesourcery.com>
7645
7646 [BZ #13550]
7647 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
7648 comment about bounded pointers.
7649 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
7650 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
7651
539d8e01
AJ
76522013-03-04 Andreas Jaeger <aj@suse.de>
7653
7654 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
7655 common definitions.
7656
7657 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
7658 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
7659 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
7660 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7661 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
7662 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7663
2e167a70 76642013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
7665
7666 [BZ #15055]
7667 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7668 __ieee754_sqrl instead of __sqrl.
7669
68508633
JM
76702013-03-01 Joseph Myers <joseph@codesourcery.com>
7671
7672 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
7673 * sysdeps/powerpc/fpu_control.h: ... here.
7674 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
7675 * sysdeps/powerpc/bits/fenvinline.h: ... here.
7676 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
7677 * sysdeps/powerpc/bits/mathinline.h: ... here.
7678
7775448e
RM
76792013-03-01 Roland McGrath <roland@hack.frob.com>
7680
7681 * elf/dl-hwcaps.c (_dl_important_hwcaps):
7682 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
7683 to just [NEED_DL_SYSINFO_DSO].
7684 * elf/dl-support.c: Likewise.
7685 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7686 * elf/rtld.c (dl_main): Likewise.
7687 * elf/setup-vdso.h (setup_vdso): Likewise.
7688 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
7689 * sysdeps/unix/sysv/linux/dl-sysdep.c
7690 (_dl_discover_osversion): Likewise.
7691
4e9b5995
CD
76922013-03-01 Carlos O'Donell <carlos@redhat.com>
7693
7694 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
7695 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7696
e23872c8
SP
76972013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7698
e5c74c63
SP
7699 * NEWS: Mention libm performance improvements and non-x86 PI
7700 futex support.
7701
e23872c8
SP
7702 * csu/libc-start.c (__pthread_initialize_minimal): Change
7703 function arguments.
7704 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7705
b5510883
JM
77062013-02-28 Joseph Myers <joseph@codesourcery.com>
7707
7708 [BZ #13550]
7709 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
7710 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
7711 <bp-sym.h> and <bp-asm.h>.
7712 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7713 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
7714 and <bp-asm.h>.
7715 (memcpy): Don't use BP_SYM.
7716 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
7717 <bp-asm.h>.
7718 (__mpn_add_n): Don't use BP_SYM.
7719 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
7720 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
7721 and <bp-asm.h>.
7722 (__mpn_addmul_1): Don't use BP_SYM.
7723 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7724 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
7725 <bp-sym.h>.
7726 (_setjmp): Don't use BP_SYM.
7727 (__novmx_setjmp): Likewise.
7728 (__GI__setjmp): Likewise.
7729 (__vmx_setjmp): Likewise.
7730 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
7731 <bp-sym.h>.
7732 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
7733 (__bzero): Don't use BP_SYM.
7734 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7735 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7736 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
7737 <bp-sym.h> and <bp-asm.h>.
7738 (memcpy): Don't use BP_SYM.
7739 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
7740 <bp-sym.h> and <bp-asm.h>.
7741 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7742 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
7743 <bp-sym.h> and <bp-asm.h>.
7744 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7745 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
7746 <bp-asm.h>.
7747 (__mpn_lshift): Don't use BP_SYM.
7748 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7749 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
7750 <bp-asm.h>.
7751 (memset): Don't use BP_SYM.
7752 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7753 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7754 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
7755 <bp-asm.h>.
7756 (__mpn_mul_1): Don't use BP_SYM.
7757 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7758 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
7759 <bp-sym.h> and <bp-asm.h>.
7760 (memcmp): Don't use BP_SYM.
7761 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
7762 <bp-sym.h> and <bp-asm.h>.
7763 (memcpy): Don't use BP_SYM.
7764 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
7765 <bp-sym.h> and <bp-asm.h>.
7766 (memset): Don't use BP_SYM.
7767 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
7768 <bp-sym.h> and <bp-asm.h>.
7769 (strncmp): Don't use BP_SYM.
7770 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
7771 <bp-sym.h> and <bp-asm.h>.
7772 (memcpy): Don't use BP_SYM.
7773 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
7774 <bp-sym.h> and <bp-asm.h>.
7775 (memset): Don't use BP_SYM.
7776 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
7777 <bp-sym.h> and <bp-asm.h>.
7778 (__memchr): Don't use BP_SYM.
7779 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
7780 <bp-sym.h> and <bp-asm.h>.
7781 (memcmp): Don't use BP_SYM.
7782 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
7783 <bp-sym.h> and <bp-asm.h>.
7784 (memcpy): Don't use BP_SYM.
7785 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
7786 <bp-sym.h> and <bp-asm.h>.
7787 (__mempcpy): Don't use BP_SYM.
7788 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
7789 <bp-sym.h> and <bp-asm.h>.
7790 (__memrchr): Don't use BP_SYM.
7791 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
7792 <bp-sym.h> and <bp-asm.h>.
7793 (memset): Don't use BP_SYM.
7794 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
7795 <bp-sym.h> and <bp-asm.h>.
7796 (__rawmemchr): Don't use BP_SYM.
7797 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
7798 <bp-sym.h> and <bp-asm.h>.
7799 (__STRCMP): Don't use BP_SYM.
7800 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
7801 <bp-sym.h> and <bp-asm.h>.
7802 (strchr): Don't use BP_SYM.
7803 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
7804 <bp-sym.h> and <bp-asm.h>.
7805 (__strchrnul): Don't use BP_SYM.
7806 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
7807 <bp-sym.h> and <bp-asm.h>.
7808 (strlen): Don't use BP_SYM.
7809 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
7810 <bp-sym.h> and <bp-asm.h>.
7811 (strncmp): Don't use BP_SYM.
7812 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
7813 <bp-sym.h> and <bp-asm.h>.
7814 (__strnlen): Don't use BP_SYM.
7815 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
7816 <bp-asm.h>.
7817 (__mpn_rshift): Don't use BP_SYM.
7818 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7819 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
7820 <bp-sym.h> and <bp-asm.h>.
7821 (__sigsetjmp): Don't use BP_SYM.
7822 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
7823 (L(start_addresses)): Don't use BP_SYM.
7824 (_start): Likewise.
7825 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
7826 <bp-asm.h>.
7827 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
7828 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7829 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7830 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
7831 <bp-asm.h>.
7832 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
7833 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7834 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7835 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
7836 <bp-asm.h>.
7837 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7838 comments.
7839 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7840 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
7841 <bp-asm.h>.
7842 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
7843 FIXME comments.
7844 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7845 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7846 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
7847 <bp-asm.h>.
7848 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7849 comment.
7850 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
7851 and <bp-asm.h>.
7852 (strncmp): Don't use BP_SYM,
7853 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
7854 <bp-asm.h>.
7855 (__mpn_sub_n): Don't use BP_SYM.
7856 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7857 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
7858 and <bp-asm.h>.
7859 (__mpn_submul_1): Don't use BP_SYM.
7860 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
7862 <bp-sym.h> and <bp-asm.h>.
7863 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
7865 <bp-sym.h> and <bp-asm.h>.
7866 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7867 comment.
7868
8d19fe64
SP
78692013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7870
7871 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
7872 Use ZK to minimize writes to Z.
7873 (sub_magnitudes): Simplify code a bit.
7874 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7875 Use ZK to minimize writes to Z.
7876 (sub_magnitudes): Simplify code a bit.
7877
85bd816a
RM
78782013-02-27 Roland McGrath <roland@hack.frob.com>
7879
7880 * csu/gmon-start.c: Add special exception to license text.
7881
b5977bf2
RH
78822013-02-27 Richard Henderson <rth@redhat.com>
7883
7884 * scripts/config.guess: Update from config.git.
7885 * scripts/config.sub: Likewise.
7886
11d6e2f2
SP
78872013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7888
09c14ed2
SP
7889 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
7890
a688864e
SP
7891 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
7892
6295157a
SP
7893 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
7894
b8de2202
SP
7895 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
7896
11d6e2f2
SP
7897 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
7898
7e80ddb8
RM
78992013-02-26 Roland McGrath <roland@hack.frob.com>
7900
7901 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
7902 [$(build-shared = yes].
7e80ddb8 7903
7da6d9ed
SP
79042013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7905
45f05884
SP
7906 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
7907 (__mul): Reduce iterations for calculating mantissa.
7908
2236d359
SP
7909 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
7910 MPTWO.
7911 (__mpranred): Likewise.
7912
7da6d9ed
SP
7913 [BZ #15160]
7914 * malloc/memusagestat.c (main): Draw graphs for heap and stack
7915 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
7916
b7688c42
PE
79172013-02-26 Paul Eggert <eggert@cs.ucla.edu>
7918
7919 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
7920 Define __attribute__.
7921
53a5c423
SP
79222013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7923
7924 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
7925 unused.
7926 * posix/regex_internal.h (__attribute): Remove.
7927 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
7928 (re_string_context_at): Likewise.
7929 (bitset_not): Use __attribute__ and mark function as possibly
7930 unused.
7931 (bitset_merge): Likewise.
7932 (bitset_mask): Likewise.
7933 (re_string_char_size_at): Likewise.
7934 (re_string_wchar_at): Likewise.
7935 (re_string_elem_size_at): Likewise.
7936
60f5a8b5
SP
79372013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7938
2a983a2e
SP
7939 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
7940 code.
7941 (cc32): Likewise.
7942
e69804d1
SP
7943 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
7944 (__acr): Likewise.
7945 (__cpy): Likewise.
7946 (norm): Likewise.
7947 (denorm): Likewise.
7948 (__dbl_mp): Likewise.
7949 (add_magnitudes): Likewise.
7950 (sub_magnitudes): Likewise.
7951 (__mul): Likewise.
7952 (__inv): Likewise.
7953
2f22a1e8
SP
7954 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
7955 style.
7956
8930ddc7
SP
7957 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
7958 style.
7959
dc60cb11
SP
7960 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
7961 code.
7962
60f5a8b5
SP
7963 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
7964 up changes with default code.
7965 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
7966 Likewise.
7967
b4d1fd33
AM
79682013-02-24 Allan McRae <allan@archlinux.org>
7969
faf6f8bc
AM
7970 * manual/socket.texi (The Internet Namespace): Order menu items
7971 to match that in the file.
7972
b4d1fd33
AM
7973 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
7974 node listing of the info page menu.
7975
2366713d
JM
79762013-02-21 Joseph Myers <joseph@codesourcery.com>
7977
7978 [BZ #13550]
7979 * sysdeps/i386/bp-asm.h: Remove file.
7980 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7981 (PARMS): Do not use macros from bp-asm.h.
7982 (S1): Likewise.
7983 (S2): Likewise.
7984 (SIZE): Likewise.
7985 (__mpn_add_n): Do not use BP_SYM
7986 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
7987 "bp-asm.h".
7988 (PARMS): Do not use macros from bp-asm.h.
7989 (S1): Likewise.
7990 (SIZE): Likewise.
7991 (__mpn_addmul_1): Do not use BP_SYM
7992 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
7993 "bp-asm.h".
7994 (PARMS): Do not use macros from bp-asm.h.
7995 (SIGMSK): Likewise.
7996 (_setjmp): Likewise. Do not use BP_SYM.
7997 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
7998 "bp-asm.h".
7999 (PARMS): Do not use macros from bp-asm.h.
8000 (SIGMSK): Likewise.
8001 (setjmp): Likewise. Do not use BP_SYM.
8002 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
8003 "bp-asm.h".
8004 (PARMS): Do not use macros from bp-asm.h.
8005 (__frexp): Do not use BP_SYM.
8006 (frexp): Likewise.
8007 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
8008 "bp-asm.h".
8009 (PARMS): Do not use macros from bp-asm.h.
8010 (__frexpf): Do not use BP_SYM.
8011 (frexpf): Likewise.
8012 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
8013 "bp-asm.h".
8014 (PARMS): Do not use macros from bp-asm.h.
8015 (__frexpl): Do not use BP_SYM.
8016 (frexpl): Likewise.
8017 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
8018 "bp-asm.h".
8019 (PARMS): Do not use macros from bp-asm.h.
8020 (__remquo): Do not use BP_SYM.
8021 (remquo): Likewise.
8022 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
8023 "bp-asm.h".
8024 (PARMS): Do not use macros from bp-asm.h.
8025 (__remquof): Do not use BP_SYM.
8026 (remquof): Likewise.
8027 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
8028 "bp-asm.h".
8029 (PARMS): Do not use macros from bp-asm.h.
8030 (__remquol): Do not use BP_SYM.
8031 (remquol): Likewise.
8032 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
8033 "bp-asm.h".
8034 (PARMS): Do not use macros from bp-asm.h.
8035 (DEST): Likewise.
8036 (SRC): Likewise.
8037 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
8038 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
8039 "bp-asm.h".
8040 (PARMS): Do not use macros from bp-asm.h.
8041 (strlen): Do not use BP_SYM.
8042 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
8043 "bp-asm.h".
8044 (PARMS): Do not use macros from bp-asm.h.
8045 (S1): Likewise.
8046 (S2): Likewise.
8047 (SIZE): Likewise.
8048 (__mpn_add_n): Do not use BP_SYM.
8049 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
8050 "bp-asm.h".
8051 (PARMS): Do not use macros from bp-asm.h.
8052 (S1): Likewise.
8053 (SIZE): Likewise.
8054 (__mpn_addmul_1): Do not use BP_SYM.
8055 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
8056 weak_alias.
8057 (bzero): Likewise.
8058 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
8059 "bp-asm.h".
8060 (PARMS): Do not use macros from bp-asm.h.
8061 (S): Likewise.
8062 (SIZE): Likewise.
8063 (__mpn_lshift): Do not use BP_SYM.
8064 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
8065 "bp-asm.h".
8066 (PARMS): Do not use macros from bp-asm.h.
8067 (DEST): Likewise.
8068 (SRC): Likewise.
8069 (LEN): Likewise.
8070 (memcpy): Likewise. Do not use BP_SYM.
8071 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
8072 libc_hidden_def and weak_alias.
8073 (mempcpy): Do not use BP_SYM in weak_alias.
8074 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
8075 "bp-asm.h".
8076 (PARMS): Do not use macros from bp-asm.h.
8077 (DEST): Likewise.
8078 (LEN): Likewise.
8079 [!BZERO_P] (CHR): Likewise.
8080 (memset): Likewise. Do not use BP_SYM.
8081 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
8082 "bp-asm.h".
8083 (PARMS): Do not use macros from bp-asm.h.
8084 (S1): Likewise.
8085 (SIZE): Likewise.
8086 (__mpn_mul_1): Do not use BP_SYM.
8087 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
8088 "bp-asm.h".
8089 (PARMS): Do not use macros from bp-asm.h.
8090 (S): Likewise.
8091 (SIZE): Likewise.
8092 (__mpn_rshift): Do not use BP_SYM.
8093 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
8094 "bp-asm.h".
8095 (PARMS): Do not use macros from bp-asm.h.
8096 (STR): Likewise.
8097 (CHR): Likewise.
8098 (strchr): Likewise. Do not use BP_SYM.
8099 (index): Do not use BP_SYM in weak_alias.
8100 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
8101 "bp-asm.h".
8102 (PARMS): Do not use macros from bp-asm.h.
8103 (DEST): Likewise.
8104 (SRC): Likewise.
8105 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
8106 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
8107 "bp-asm.h".
8108 (PARMS): Do not use macros from bp-asm.h.
8109 (strlen): Do not use BP_SYM.
8110 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
8111 "bp-asm.h".
8112 (PARMS): Do not use macros from bp-asm.h.
8113 (S1): Likewise.
8114 (S2): Likewise.
8115 (SIZE): Likewise.
8116 (__mpn_sub_n): Do not use BP_SYM.
8117 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
8118 "bp-asm.h".
8119 (PARMS): Do not use macros from bp-asm.h.
8120 (S1): Likewise.
8121 (SIZE): Likewise.
8122 (__mpn_submul_1): Do not use BP_SYM.
8123 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
8124 "bp-asm.h".
8125 (PARMS): Do not use macros from bp-asm.h.
8126 (S1): Likewise.
8127 (S2): Likewise.
8128 (SIZE): Likewise.
8129 (__mpn_add_n): Do not use BP_SYM.
8130 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
8131 weak_alias.
8132 (bzero): Likewise.
8133 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
8134 "bp-asm.h".
8135 (PARMS): Do not use macros from bp-asm.h.
8136 (BLK2): Likewise.
8137 (LEN): Likewise.
8138 (memcmp): Do not use BP_SYM.
8139 (bcmp): Do not use BP_SYM in weak_alias.
8140 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
8141 "bp-asm.h".
8142 (PARMS): Do not use macros from bp-asm.h.
8143 (DEST): Likewise.
8144 (SRC): Likewise.
8145 (LEN): Likewise.
8146 (memcpy): Likewise. Do not use BP_SYM.
8147 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
8148 "bp-asm.h".
8149 (PARMS): Do not use macros from bp-asm.h.
8150 (DEST): Likewise.
8151 (SRC): Likewise.
8152 (LEN): Likewise.
8153 (memmove): Likewise. Do not use BP_SYM.
8154 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
8155 "bp-asm.h".
8156 (PARMS): Do not use macros from bp-asm.h.
8157 (DEST): Likewise.
8158 (SRC): Likewise.
8159 (LEN): Likewise.
8160 (__mempcpy): Likewise. Do not use BP_SYM.
8161 (mempcpy): Do not use BP_SYM in weak_alias.
8162 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
8163 "bp-asm.h".
8164 (PARMS): Do not use macros from bp-asm.h.
8165 (DEST): Likewise.
8166 (LEN): Likewise.
8167 [!BZERO_P] (CHR): Likewise.
8168 (memset): Likewise. Do not use BP_SYM.
8169 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
8170 "bp-asm.h".
8171 (PARMS): Do not use macros from bp-asm.h.
8172 (STR2): Likewise.
8173 (strcmp): Do not use BP_SYM.
8174 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
8175 "bp-asm.h".
8176 (PARMS): Do not use macros from bp-asm.h.
8177 (STR): Likewise.
8178 (DELIM): Likewise.
8179 [USE_AS_STRTOK_R] (SAVE): Likewise.
8180 (FUNCTION): Likewise. Do not use BP_SYM.
8181 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
8182 aliases.
8183 (strtok_r): Likewise.
8184 (__GI___strtok_r): Likewise.
8185 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8186 (PARMS): Do not use macros from bp-asm.h.
8187 (S): Likewise.
8188 (SIZE): Likewise.
8189 (__mpn_lshift): Do not use BP_SYM.
8190 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8191 (PARMS): Do not use macros from bp-asm.h.
8192 (STR): Likewise.
8193 (CHR): Likewise.
8194 (__memchr): Do not use BP_SYM.
8195 (memchr): Do not use BP_SYM in weak_alias.
8196 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8197 (PARMS): Do not use macros from bp-asm.h.
8198 (BLK2): Likewise.
8199 (LEN): Likewise.
8200 (memcmp): Do not use BP_SYM.
8201 (bcmp): Do not use BP_SYM in weak_alias.
8202 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
8203 (PARMS): Do not use macros from bp-asm.h.
8204 (S1): Likewise.
8205 (SIZE): Likewise.
8206 (__mpn_mul_1): Do not use BP_SYM.
8207 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
8208 "bp-asm.h".
8209 (PARMS): Do not use macros from bp-asm.h.
8210 (STR): Likewise.
8211 (CHR): Likewise.
8212 (__rawmemchr): Do not use BP_SYM.
8213 (rawmemchr): Do not use BP_SYM in weak_alias.
8214 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8215 (PARMS): Do not use macros from bp-asm.h.
8216 (S): Likewise.
8217 (SIZE): Likewise.
8218 (__mpn_rshift): Do not use BP_SYM.
8219 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8220 (PARMS): Do not use macros from bp-asm.h.
8221 (SIGMSK): Likewise.
8222 (__sigsetjmp): Likewise. Do not use BP_SYM.
8223 * sysdeps/i386/start.S: Do not include "bp-sym.h".
8224 (_start): Do not use BP_SYM.
8225 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
8226 (PARMS): Do not use macros from bp-asm.h.
8227 (DEST): Likewise.
8228 (SRC): Likewise.
8229 (__stpcpy): Likewise. Do not use BP_SYM.
8230 (stpcpy): Do not use BP_SYM in weak_alias.
8231 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
8232 "bp-asm.h".
8233 (PARMS): Do not use macros from bp-asm.h.
8234 (DEST): Likewise.
8235 (SRC): Likewise.
8236 (LEN): Likewise.
8237 (__stpncpy): Likewise. Do not use BP_SYM.
8238 (stpncpy): Do not use BP_SYM in weak_alias.
8239 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8240 (PARMS): Do not use macros from bp-asm.h.
8241 (STR): Likewise.
8242 (CHR): Likewise.
8243 (strchr): Likewise. Do not use BP_SYM.
8244 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
8245 "bp-asm.h".
8246 (PARMS): Do not use macros from bp-asm.h.
8247 (STR): Likewise.
8248 (CHR): Likewise.
8249 (__strchrnul): Likewise. Do not use BP_SYM.
8250 (strchrnul): Do not use BP_SYM in weak_alias.
8251 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
8252 "bp-asm.h".
8253 (PARMS): Do not use macros from bp-asm.h.
8254 (STOP): Likewise.
8255 (strcspn): Do not use BP_SYM.
8256 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
8257 "bp-asm.h".
8258 (PARMS): Do not use macros from bp-asm.h.
8259 (STR): Likewise.
8260 (STOP): Likewise.
8261 (strpbrk): Likewise. Do not use BP_SYM.
8262 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
8263 "bp-asm.h".
8264 (PARMS): Do not use macros from bp-asm.h.
8265 (STR): Likewise.
8266 (CHR): Likewise.
8267 (strrchr): Likewise. Do not use BP_SYM.
8268 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
8269 (PARMS): Do not use macros from bp-asm.h.
8270 (SKIP): Likewise.
8271 (strspn): Do not use BP_SYM.
8272 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
8273 (PARMS): Do not use macros from bp-asm.h.
8274 (STR): Likewise.
8275 (DELIM): Likewise.
8276 (SAVE): Likewise.
8277 (FUNCTION): Likewise. Do not use BP_SYM.
8278 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
8279 aliases.
8280 (strtok_r): Likewise.
8281 (__GI___strtok_r): Likewise.
8282 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8283 (PARMS): Do not use macros from bp-asm.h.
8284 (S1): Likewise.
8285 (S2): Likewise.
8286 (SIZE): Likewise.
8287 (__mpn_sub_n): Do not use BP_SYM.
8288 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
8289 "bp-asm.h".
8290 (PARMS): Do not use macros from bp-asm.h.
8291 (S1): Likewise.
8292 (SIZE): Likewise.
8293 (__mpn_submul_1): Do not use BP_SYM.
8294 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
8295 <bp-sym.h>.
8296 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
8297 and <bp-asm.h>.
8298 (PARMS): Do not use macros from bp-asm.h.
8299 (FLAGS): Likewise.
8300 (PTID): Likewise.
8301 (TLS): Likewise.
8302 (CTID): Likewise.
8303 (__clone): Do not use BP_SYM.
8304 (clone): Do not use BP_SYM in weak_alias.
8305 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
8306 and <bp-asm.h>.
8307 (PARMS): Do not use macros from bp-asm.h.
8308 (LEN): Likewise.
8309 (__mmap64): Do not use BP_SYM.
8310 (mmap64): Do not use BP_SYM in weak_alias.
8311 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8312 <bp-sym.h> and <bp-asm.h>.
8313 (PARMS): Do not use macros from bp-asm.h.
8314 (__posix_fadvise64_l64): Do not use BP_SYM.
8315 * sysdeps/unix/sysv/linux/i386/semtimedop.S
8316 (PARMS): Do not use macros from bp-asm.h.
8317 (NSOPS): Likewise.
8318 (semtimedop): Do not use BP_SYM.
8319 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
8320 and <bp-asm.h>.
8321
582a3cff
AM
83222013-02-21 Allan McRae <allan@archlinux.org>
8323
8324 * manual/message.texi (Charset conversion in gettext):
8325 Move @end statement to beginning of line.
8326
bab8a695
SP
83272013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8328
80945231
SP
8329 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
8330 static.
8331 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8332 Likewise.
8333
bab8a695
SP
8334 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
8335 (denorm): Likewise.
8336 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
8337 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
8338
e21d7aa7
AK
83392013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8340
8341 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
8342 tail-call to the resolved function if pltexit isn't needed.
8343
4c7a4263
SP
83442013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8345
8346 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
8347 or Y being zero as being unlikely.
8348 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8349 Likewise.
8350
41f49342
CD
83512013-02-20 Carlos O'Donell <carlos@redhat.com>
8352
8353 * manual/nss.texi (System Databases and Name Service Switch):
8354 Remove frobnicate @pxref.
8355
50022a93
TS
83562013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8357
8358 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8359 __attribute__ ((unused)) to __attribute__ ((__unused__)).
8360
08cbd996
PM
83612013-02-20 Petr Machata <pmachata@redhat.com>
8362
8363 * elf/elf.h (R_ARM_TARGET1): New macro.
8364 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
8365 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
8366 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
8367 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
8368 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
8369 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
8370 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
8371 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
8372 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
8373 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
8374 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
8375 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
8376 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
8377 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
8378 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
8379 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
8380 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
8381 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
8382 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
8383 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
8384 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
8385 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
8386 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
8387 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
8388 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
8389 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
8390 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
8391 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
8392 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
8393 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
8394 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
8395 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
8396 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
8397 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
8398 (R_ARM_THM_GOT_BREL12): Likewise.
8399 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
8400 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
8401 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
8402 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
8403 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
8404 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
8405 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
8406 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
8407 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
8408
c7b275d6
TS
84092013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8410
8411 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8412 __attribute_used__ to __attribute__ ((unused)).
8413
20cd7fb3
SP
84142013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8415
8416 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
8417 powerpc mpa.c.
8418 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
8419 comment formatting.
8420 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
8421
92945b52
JM
84222013-02-19 Joseph Myers <joseph@codesourcery.com>
8423
8424 [BZ #13550]
8425 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
8426 Remove macro.
8427 (ENTER): Remove both macro definitions.
8428 (LEAVE): Likewise.
8429 (CHECK_BOUNDS_LOW): Likewise.
8430 (CHECK_BOUNDS_HIGH): Likewise.
8431 (CHECK_BOUNDS_BOTH): Likewise.
8432 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
8433 (RETURN_BOUNDED_POINTER): Likewise.
8434 (RETURN_NULL_BOUNDED_POINTER): Likewise.
8435 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
8436 (POP_ERRNO_LOCATION_RETURN): Likewise.
8437 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
8438 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8439 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
8440 macros.
8441 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8442 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
8443 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
8444 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
8445 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
8446 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
8447 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
8448 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
8449 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
8450 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
8451 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
8452 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
8453 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8454 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
8455 removed macros.
8456 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8457 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
8458 macros.
8459 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8460 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
8461 * sysdeps/i386/i586/memset.S (memset): Likewise.
8462 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
8463 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8464 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
8465 macros.
8466 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8467 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
8468 Change uses of L(2) to L(out).
8469 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
8470 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
8471 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
8472 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8473 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
8474 removed macros.
8475 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8476 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
8477 macros.
8478 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8479 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
8480 (RETURN): Do not use macro LEAVE.
8481 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
8482 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
8483 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
8484 * sysdeps/i386/i686/memset.S (memset): Likewise.
8485 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
8486 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
8487 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8488 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
8489 Likewise.
8490 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8491 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
8492 L(1_2) and L(1_3) into L(1).
8493 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8494 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
8495 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8496 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
8497 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8498 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
8499 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
8500 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8501 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
8502 macros.
8503 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
8504 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8505 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
8506 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
8507 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
8508 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8509 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
8510 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
8511 * sysdeps/i386/strcspn.S (strcspn): Likewise.
8512 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
8513 * sysdeps/i386/strrchr.S (strrchr): Likewise.
8514 * sysdeps/i386/strspn.S (strspn): Likewise.
8515 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
8516 conditional code.
8517 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8518 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
8519 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8520 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
8521 L(1_3) into L(1_1).
8522 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
8523 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8524 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
8525 macros.
8526 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8527
2389741a
JJ
85282013-02-19 Jakub Jelinek <jakub@redhat.com>
8529
8530 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
8531 macro.
8532
2016b3cd
SP
85332013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8534
e4f22324
SP
8535 * math/atest-exp.c (exp_mpn): Remove ROUND.
8536 * math/atest-exp2.c (exp_mpn): Likewise.
8537 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
8538
2016b3cd
SP
8539 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
8540 * stdlib/tst-tls-atexit-lib.c: Likewise.
8541 * stdlib/tst-tls-atexit.c: Likewise.
8542
4be9b544
MF
85432013-02-18 Mike Frysinger <vapier@gentoo.org>
8544
8545 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
8546 and __attribute_alloc_size__.
8547
2f62b9ee
MF
85482013-02-18 Mike Frysinger <vapier@gentoo.org>
8549
8550 * include/programs/xmalloc.h: Change __attribute_alloc_size to
8551 __attribute_alloc_size__.
8552 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
8553 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
8554
6ff444c4
MF
85552013-02-18 Mike Frysinger <vapier@gentoo.org>
8556
8557 * include/programs/xmalloc.h: New file.
8558 * catgets/gencat.c: Include it.
8559 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
8560 * elf/pldd.c: Likewise.
8561 * iconv/iconv_charmap.c: Likewise.
8562 * iconv/iconvconfig.c: Likewise.
8563 * iconv/strtab.c: Likewise.
8564 * locale/programs/locale.c: Likewise.
8565 * locale/programs/localedef.h: Likewise.
8566 * locale/programs/simple-hash.c: Likewise.
8567 * nscd/nscd.h: Likewise.
8568 * nss/makedb.c: Likewise.
8569 * sysdeps/generic/ldconfig.h: Likewise.
8570
be179c8a
SP
85712013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8572
ba384f6e
SP
8573 * Versions.def: Add GLIBC_2.18.
8574 * include/link.h (struct link_map): New member l_tls_dtor_count.
8575 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
8576 (__call_tls_dtors): Likewise.
8577 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
8578 __cxa_thread_atexit_impl.
8579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8580 Likewise.
8581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8582 Likewise.
8583 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8584 Likewise.
8585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8586 Likewise.
8587 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8588 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
8589 Likewise.
8590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
8591 Likewise.
8592 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8593 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8594 Likewise.
8595 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
8596 (tests): Add test case tst-tls-atexit.
8597 (modules-names): Add shared library for tst-tls-atexit.
85891aca 8598 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
8599 (GLIBC_PRIVATE): Add __call_tls_dtors.
8600 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
8601 for libstdc++.
8602 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
8603 * stdlib/tst-tls-atexit.c: New test case.
8604 * stdlib/tst-tls-atexit-lib.c: New test case.
8605
ffaa74cf 8606 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 8607
be179c8a
SP
8608 * elf/Versions (ld): Add _dl_find_dso_for_object.
8609 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
8610 * elf/dl-open.c (_dl_find_dso_for_object): New function.
8611 (dl_open_worker): Use _dl_find_dso_for_object.
8612 * elf/dl-sym.c (do_sym): Likewise.
8613 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
8614
f78b5caa
AK
86152013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8616
8617 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
8618 Syntactic changes only.
8619 (_dl_runtime_profile): Do a tail-call to the resolved function.
8620
29691210
JM
86212013-02-17 Joseph Myers <joseph@codesourcery.com>
8622
8623 [BZ #13550]
8624 * sysdeps/x86_64/bp-asm.h: Remove file.
8625 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
8626 <bp-sym.h> and <bp-asm.h>.
8627 (__clone): Do not use BP_SYM.
8628 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
8629 <bp-sym.h> and <bp-asm.h>.
8630 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8631 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
8632 "bp-asm.h".
8633 (_setjmp): Do not use BP_SYM.
8634 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
8635 "bp-asm.h".
8636 (setjmp): Do not use BP_SYM.
8637 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
8638 libc_hidden_def.
8639 (mempcpy): Do not use BP_SYM in weak_alias.
8640 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
8641 "bp-asm.h".
8642 (strchr): Do not use BP_SYM.
8643 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
8644 "bp-asm.h".
8645 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
8646 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
8647 (_start): Do not use BP_SYM.
8648 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
8649 "bp-asm.h".
8650 (strcat): Do not use BP_SYM.
8651 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
8652 "bp-asm.h".
8653 (STRCMP): Do not use BP_SYM.
8654 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
8655 "bp-asm.h".
8656 (STRCPY): Do not use BP_SYM.
8657 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
8658 "bp-asm.h".
8659 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
8660 "bp-asm.h".
8661 (FUNCTION): Do not use BP_SYM.
8662 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
8663 weak_alias.
8664 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
8665
f238fd19
AJ
86662013-02-17 Andreas Jaeger <aj@suse.de>
8667
8668 * time/Versions: Sort entries.
8669 * string/Versions: Likewise.
8670 * resolv/Versions: Likewise.
8671 * posix/Versions: Likewise.
8672 * iconv/Versions: Likewise.
8673 * elf/Versions: Likewise.
8674 * wcsmbs/Versions: Likewise.
8675
bd07f23c 86762013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 8677
22af19f9
SP
8678 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
8679 loop termination condition.
8680
4709fe76
SP
8681 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
8682 variable to calculate EZ.
8683 (__sqr): Likewise.
2d0e0f29
SP
8684
8685 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
8686 the lower precision input.
8687
daaa7713
JM
86882013-02-15 Joseph Myers <joseph@codesourcery.com>
8689
8690 [BZ #13550]
8691 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
8692 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
8693 (run-via-rtld-prefix): Do not handle %-bp tests.
8694 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
8695 (all-object-suffixes): Remove .ob.
8696 (bppfx): Remove variable.
8697 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
8698 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
8699 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
8700 [$(build-bounded) = yes] (libtype.ob): Likewise.
8701 * Makerules (elide-routines.ob): Remove variable.
8702 (do-tests-clean): Do not handle *-bp.out.
8703 (common-mostlyclean): Do not handle *-bp and *-bp.out.
8704 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
8705 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
8706 (tests): Do not include $(tests-bp.out).
8707 (xtests): Do not include $(xtests-bp.out).
8708 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
8709 [$(build-bounded) = yes] ($(addprefix
8710 $(objpfx),$(binaries-bounded))): Remove rule.
8711 ($(objpfx)%-bp.out): Remove rule.
8712 * config.make.in (build-bounded): Remove variable.
8713 * crypt/Makefile [$(build-bounded) = yes]
8714 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
8715 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
8716 append to variable.
8717 [$(build-bounded) = yes] (install-lib): Likewise.
8718 [$(build-bounded) = yes] (generated): Likewise.
8719 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
8720 Remove rule.
8721 * intl/Makefile [$(build-bounded) = yes]
8722 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
8723 * math/Makefile [$(build-bounded) = yes]
8724 ($(tests:%=$(objpfx)%-bp): Likewise.
8725 * misc/Makefile [$(build-bounded) = yes]
8726 ($(objpfx)tst-tsearch-bp): Likewise.
8727 * nptl/Makeconfig (bounded-thread-library): Remove variable.
8728 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
8729 Remove dependency.
8730 * string/Makefile (o-objects.ob): Remove variable.
8731 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
8732 (CFLAGS-.ob): Remove variable.
8733 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
8734 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
8735 both definitions of variable.
8736 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
8737 (ASFLAGS-.ob): Remove variable.
8738
e97ed6dd
JM
87392013-02-14 Joseph Myers <joseph@codesourcery.com>
8740
2bdd4ca6
JM
8741 [BZ #13550]
8742 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
8743 Remove __BOUNDED_POINTERS__ from condition.
8744 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
8745 * string/bits/string2.h [!__NO_STRING_INLINES &&
8746 !__BOUNDED_POINTERS__]: Likewise.
8747 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
8748 Likewise.
8749 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
8750 Remove conditional code.
8751 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
8752 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
8753 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
8754 condition.
8755
e97ed6dd
JM
8756 [BZ #13550]
8757 * csu/libc-start.c: Do not include <bp-sym.h>.
8758 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
8759 * elf/dl-open.c: Do not include <bp-sym.h>.
8760 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
8761 * math/fegetenv.c: Do not include <bp-sym.h>.
8762 (fegetenv): Do not use BP_SYM in versioned symbols.
8763 * nptl/sysdeps/pthread/bits/libc-lockP.h
8764 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
8765 <bp-sym.h>.
8766 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8767 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
8768 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8769 (__pthread_mutex_destroy): Likewise.
8770 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8771 (__pthread_mutex_lock): Likewise.
8772 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8773 (__pthread_mutex_trylock): Likewise.
8774 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8775 (__pthread_mutex_unlock): Likewise.
8776 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8777 (__pthread_mutexattr_init): Likewise.
8778 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8779 (__pthread_mutexattr_destroy): Likewise.
8780 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8781 (__pthread_mutexattr_settype): Likewise.
8782 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8783 (__pthread_rwlock_init): Likewise.
8784 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8785 (__pthread_rwlock_destroy): Likewise.
8786 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8787 (__pthread_rwlock_rdlock): Likewise.
8788 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8789 (__pthread_rwlock_tryrdlock): Likewise.
8790 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8791 (__pthread_rwlock_wrlock): Likewise.
8792 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8793 (__pthread_rwlock_trywrlock): Likewise.
8794 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8795 (__pthread_rwlock_unlock): Likewise.
8796 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8797 (__pthread_key_create): Likewise.
8798 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8799 (__pthread_setspecific): Likewise.
8800 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8801 (__pthread_getspecific): Likewise.
8802 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
8803 Likewise.
8804 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8805 (_pthread_cleanup_push_defer): Likewise.
8806 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8807 (_pthread_cleanup_pop_restore): Likewise.
8808 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8809 (pthread_setcancelstate): Likewise.
8810 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
8811 <bp-sym.h>.
8812 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
8813 (memchr): Do not use BP_SYM in weak_alias.
8814 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
8815 (fegetenv): Do not use BP_SYM in versioned symbols.
8816 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
8817 (fesetenv): Do not use BP_SYM in versioned symbols.
8818 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8819 (feupdateenv): Do not use BP_SYM in versioned symbols.
8820 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8821 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8822 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
8823 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
8824 (open64): Do not use BP_SYM in weak_alias.
8825 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
8826 (fegetenv): Do not use BP_SYM in versioned symbols.
8827 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
8828 (fesetenv): Do not use BP_SYM in versioned symbols.
8829 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8830 (feupdateenv): Do not use BP_SYM in versioned symbols.
8831 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
8832 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
8833 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
8834 (feraiseexcept): Do not use BP_SYM in versioned symbols.
8835 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8836 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8837 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
8838 <bp-sym.h>.
8839 (__libc_start_main): Do not use BP_SYM.
8840
d6752ccd
SP
88412013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8842
cb57ce60
SP
8843 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
8844 redundant return line.
8845 (norm): Likewise.
8846 (denorm): Likewise.
8847 (dbl_mp): Likewise.
8848 (sub_magnitudes): Likewise.
8849 (__add): Likewise.
8850 (__sub): Likewise.
8851 (__mul): Likewise.
8852 (__inv): Likewise.
8853 (__dvd): Likewise.
8854 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
8855 (norm): Likewise.
8856 (denorm): Likewise.
8857 (dbl_mp): Likewise.
8858 (sub_magnitudes): Likewise.
8859 (__add): Likewise.
8860 (__sub): Likewise.
8861 (__mul): Likewise.
8862 (__inv): Likewise.
8863 (__dvd): Likewise.
8864
f414520d
SP
8865 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
8866 instead of __mul.
8867 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8868 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
8869 (cc32): Likewise.
8870
d6752ccd
SP
8871 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
8872 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
8873 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
8874 of __mul for squares.
8875 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
8876 function
8877 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
8878 Likewise.
8879 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
8880 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8881
70d9946a
JM
88822013-02-13 Joseph Myers <joseph@codesourcery.com>
8883
8884 [BZ #13550]
8885 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
8886 code.
8887 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
8888 prototype or function definition. Rename ubp_* variables and
8889 parameters. Remove argv definitions conditional on
8890 [__BOUNDED_POINTERS__].
8891 * debug/backtrace.c (__backtrace): Do not use __unbounded.
8892 * elf/dl-runtime.c (_dl_fixup): Likewise.
8893 * include/set-hooks.h (RUN_HOOK): Likewise.
8894 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
8895 definition.
8896 * string/strcpy.c (strcpy): Do not use __unbounded.
8897 * sysdeps/generic/frame.h (struct layout): Likewise.
8898 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
8899 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
8900 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
8901 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
8902 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
8903 (__backtrace): Likewise.
8904 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
8905 use __ptrvalue.
8906 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8907 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8908 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8909 Likewise.
8910 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
8911 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
8912 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8913 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8914 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
8915 Do not use __unbounded.
8916 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
8917 Rename __unboundedrlimits parameter to rlimits in prototype.
8918 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
8919 Do not use __unbounded.
8920 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
8921 not use __ptrvalue.
8922 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8923 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
8924 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8925 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
8926 __ptrvalue or __unbounded.
8927 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
8928 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
8929 use __unbounded.
8930 (__new_msgctl): Do not use __ptrvalue.
8931 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
8932 __unbounded.
8933 (__libc_msgrcv): Do not use __ptrvalue.
8934 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
8935 startup_info): Do not use __unbounded.
8936 (__libc_start_main): Likewise. Rename ubp_* variables and
8937 parameters. Remove argv definitions conditional on
8938 [__BOUNDED_POINTERS__].
8939 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
8940 __ptrvalue.
8941 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
8942 use __unbounded.
8943 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
8944 or __ptrvalue.
8945 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
8946 use __unbounded.
8947 (__new_shmctl): Do not use __ptrvalue.
8948 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8949 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8950 Likewise.
8951 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8952 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
8953 (__libc_sigaction): Likewise.
8954 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
8955 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
8956 Likewise.
8957 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8958
cc7834d6
OB
89592013-02-13 Ondřej Bílka <neleai@seznam.cz>
8960
ffb1ec7b 8961 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
8962
8963 * string/mempcpy.c: Implement by calling memcpy.
8964
bdf02814
SP
89652013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8966
c2af38aa
SP
8967 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
8968
4e92d59e
SP
8969 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
8970 evaluation.
8971
909279a5
SP
8972 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
8973 values in the mantissa.
8974
bdf02814
SP
8975 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
8976 minimize writes to Z.
8977 (sub_magnitudes): Simplify code a bit.
8978
cd525923
RM
89792013-02-12 Roland McGrath <roland@hack.frob.com>
8980
8981 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
8982 from the message. The linker prefixes all warnings with that already.
8983
7e2f0d2d
AS
89842013-02-12 Andreas Schwab <schwab@suse.de>
8985
a445af0b
AS
8986 [BZ #15078]
8987 * posix/regexec.c (extend_buffers): Add parameter min_len.
8988 (check_matching): Pass minimum needed length.
8989 (clean_state_log_if_needed): Likewise.
8990 (get_subexp): Likewise.
8991 * posix/Makefile (tests): Add bug-regex34.
8992 (bug-regex34-ENV): Define.
8993 * posix/bug-regex34.c: New file.
8994
7e2f0d2d
AS
8995 [BZ #11561]
8996 * posix/regcomp.c (parse_bracket_exp): When looking up collating
8997 elements compare against the byte sequence of it, not its name.
8998 * posix/Makefile (tests): Add bug-regex35.
8999 (bug-regex35-ENV): Define.
9000 * posix/bug-regex35.c: New file.
9001
a175b684
TV
90022013-02-11 Tom de Vries <tom@codesourcery.com>
9003
9004 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
9005 comment.
9006 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
9007 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
9008 (CHECK_EOL): Add undef.
9009
310998fe 90102013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
9011
9012 * bits/stdlib-bsearch.h: New file.
9013 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 9014 * stdlib/stdlib.h: Likewise.
41eda41d 9015
8ded91fb
RM
90162013-02-11 Roland McGrath <roland@hack.frob.com>
9017
9018 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
9019 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
9020 declaration.
9021 * manual/search.texi (Array Search Function): Add missing const in
9022 lfind prototype.
9023 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
9024 declaration to use rlim_t.
9025 (Basic Scheduling Functions): Remove erroneous const from
9026 sched_getparam prototype. Remove erroneous * from
9027 sched_get_priority_max and sched_get_priority_min prototypes.
9028 (Resource Usage): Fix summary @comment on vtimes to refer to
9029 sys/vtimes.h rather than vtimes.h.
9030 Add missing *s in vtimes prototype.
9031 (Limits on Resources): Fix ulimit prototype to return long int.
9032 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
9033 prototypes to use long int rather than double.
9034 (BSD Random): Fix initstate and setstate to use char *, not void *.
9035 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
9036 prototype to make second argument 'struct aiocb64 *const[]'.
9037 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
9038 (Status of AIO Operations): Remove erroneous const in aio_return and
9039 aio_return64 prototypes.
9040 (Synchronizing I/O): Fix sync prototype to return void.
9041 * manual/startup.texi (Suboptions): Remove an erroneous const in
9042 getsubopt prototype.
9043 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
9044 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
9045 use size_t rather than int.
9046 (Scanning All Users): Likewise for getpwent_r.
9047 (Setting Groups): Add missing const to setgroups prototype.
9048 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
9049 * manual/socket.texi (Host Names): Fix gethostbyaddr and
9050 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
9051 'const void *' rather than 'const char *'.
9052 (Host Address Functions): Likewise for inet_ntop.
9053 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
9054 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
9055 ssize_t for return value.
9056 (Sending Data): Likewise for send, sendto, sendmsg.
9057 (Socket Option Functions): Add a missing const in setsockopt prototype.
9058 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
9059 use wchar_t for the argument.
9060 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
9061 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
9062 take no arguments.
9063 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
9064 double/float/long double for second argument.
9065 Fix return types of significand, significandf, significandl.
9066 * manual/filesys.texi (Setting Permissions): Use mode_t for second
9067 argument in fchmod prototype.
9068 (File Owner): Use uid_t and gid_t in fchown prototype.
9069 (File Times): Add const to utimes, futimes, and lutimes prototypes.
9070 (Making Special Files): Use mode_t and dev_t in mknod prototype.
9071 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
9072 use 'const struct dirent **' as argument types to CMP function pointer
9073 argument.
9074 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
9075 (File Times): Fix summary magic @comment for struct utimbuf and utime
9076 to refer to utime.h, not time.h.
9077 * manual/string.texi (Argz Functions): Add missing const in
9078 argz_extract and argz_next prototypes.
9079 (Finding Tokens in a String): Likewise for basename.
9080 (String/Array Comparison): Fix typo in wcscasecmp prototype.
9081 (Copying and Concatenation): Fix typo in wmemmove prototype.
9082 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
9083 (Signal Stack): Remove erroneous const in sigstack prototype.
9084 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
9085 prototype.
9086 (Simple Calendar Time): Likewise for stime.
9087 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
9088 prototype.
9089 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
9090 say sys/sysctl.h instead.
9091 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
9092 and vsyslog prototypes.
9093
fe77fe6d
TV
90942013-02-11 Tom de Vries <tom@codesourcery.com>
9095
9096 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
9097 Remove.
9098
3a09b620
RM
90992013-02-11 Roland McGrath <roland@hack.frob.com>
9100
9101 * misc/sys/mman.h: Fix typo in mremap comment.
9102
550a0b89
RM
91032013-02-08 Roland McGrath <roland@hack.frob.com>
9104
9105 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
9106 the '\0' terminator.
9107
a2da1673
JM
91082013-02-08 Joseph Myers <joseph@codesourcery.com>
9109
9110 [BZ #13550]
9111 * debug/segfault.c: Don't include <bp-checks.h>.
9112 * sysdeps/generic/bp-checks.h: Remove file.
9113 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
9114 (__GETDENTS): Don't use CHECK_N.
9115 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
9116 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9117 (__getgroups): Don't use CHECK_N.
9118 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
9119 (setgroups): Don't use CHECK_N.
9120 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
9121 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
9122 (__libc_msgrcv): Don't use CHECK_N.
9123 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
9124 (__libc_msgsnd): Don't use CHECK_N.
9125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
9126 <bp-checks.h>.
9127 (__libc_pread): Don't use CHECK_N.
9128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
9129 include <bp-checks.h>.
9130 (__libc_pread64): Don't use CHECK_N.
9131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
9132 include <bp-checks.h>.
9133 (__libc_pwrite): Don't use CHECK_N.
9134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
9135 include <bp-checks.h>.
9136 (__libc_pwrite64): Don't use CHECK_N.
9137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
9138 <bp-checks.h>.
9139 (__libc_pread): Don't use CHECK_N.
9140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
9141 include <bp-checks.h>.
9142 (__libc_pread64): Don't use CHECK_N.
9143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
9144 include <bp-checks.h>.
9145 (__libc_pwrite): Don't use CHECK_N.
9146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
9147 include <bp-checks.h>.
9148 (__libc_pwrite64): Don't use CHECK_N.
9149 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
9150 (do_pread): Don't use CHECK_N.
9151 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
9152 (do_pread64): Don't use CHECK_N.
9153 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
9154 (do_pwrite): Don't use CHECK_N.
9155 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
9156 (do_pwrite64): Don't use CHECK_N.
9157 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
9158 (__libc_readv): Don't use CHECK_N.
9159 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
9160 (semop): Don't use CHECK_N.
9161 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
9162 <bp-checks.h>.
9163 (semtimedop): Don't use CHECK_N.
9164 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
9165 (__libc_pread): Don't use CHECK_N.
9166 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
9167 <bp-checks.h>.
9168 (__libc_pread64): Don't use CHECK_N.
9169 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
9170 <bp-checks.h>.
9171 (__libc_pwrite): Don't use CHECK_N.
9172 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
9173 <bp-checks.h>.
9174 (__libc_pwrite64): Don't use CHECK_N.
9175 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
9176 <bp-checks.h>.
9177 (__libc_msgrcv): Don't use CHECK_N.
9178 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
9179 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
9180 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
9181 (__libc_writev): Don't use CHECK_N.
9182
b84660a8
RM
91832013-02-08 Roland McGrath <roland@hack.frob.com>
9184
7f3e75f8
RM
9185 * string/strcpy.c: Removed unused variable.
9186
b84660a8
RM
9187 * Makeconfig (+sysdep-includes): Define with := rather than =.
9188 Use an existing include/ subdir of each sysdeps dir before it.
9189
471514d3
CD
91902013-02-08 Carlos O'Donell <carlos@redhat.com>
9191
9192 * nscd/connection.c (register_traced_file): Comment function.
9193 [HAVE_INOTIFY] (union __inev): Define.
9194 [HAVE_INOTIFY] (inotify_check_files): New function.
9195 [HAVE_INOTIFY] (clear_db_cache): Likewise.
9196 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
9197 clear_db_cache.
9198 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
9199
b2d3c3be
CD
92002013-02-08 Carlos O'Donell <carlos@redhat.com>
9201
9202 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
9203 loaded if not already and that a failure is permanent.
9204
b39949d2
CD
92052013-02-08 Carlos O'Donell <carlos@redhat.com>
9206
ddacd1db 9207 [BZ #15006]
b39949d2
CD
9208 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
9209 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
9210
b2c9eff4
JM
92112013-02-08 Joseph Myers <joseph@codesourcery.com>
9212
f3aae3f3
JM
9213 [BZ #13550]
9214 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
9215 (CHECK_1_NULL_OK): Likewise.
9216 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
9217 (__fxstat): Do not use CHECK_1.
9218 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
9219 <bp-checks.h>.
9220 (___fxstat64): Do not use CHECK_1.
9221 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9222 <bp-checks.h>.
9223 (__fxstatat): Do not use CHECK_1.
9224 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9225 <bp-checks.h>.
9226 (__fxstatat64): Do not use CHECK_1.
9227 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
9228 <bp-checks.h>.
9229 (__fxstat): Do not use CHECK_1.
9230 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9231 <bp-checks.h>.
9232 (__fxstatat): Do not use CHECK_1.
9233 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9234 <bp-checks.h>.
9235 (__getresgid): Do not use CHECK_1.
9236 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9237 <bp-checks.h>.
9238 (__getresuid): Do not use CHECK_1.
9239 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
9240 <bp-checks.h>.
9241 (__lxstat): Do not use CHECK_1.
9242 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9243 <bp-checks.h>.
9244 (__old_msgctl): Do not use CHECK_1.
9245 (__new_msgctl): Likewise.
9246 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
9247 <bp-checks.h>.
9248 (__new_setrlimit): Do not use CHECK_1.
9249 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9250 <bp-checks.h>.
9251 (__old_shmctl): Do not use CHECK_1.
9252 (__new_shmctl): Likewise.
9253 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
9254 <bp-checks.h>.
9255 (__xstat): Do not use CHECK_1.
9256 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
9257 (__lxstat): Do not use CHECK_1.
9258 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
9259 <bp-checks.h>.
9260 (___lxstat64): Do not use CHECK_1.
9261 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
9262 (__old_msgctl): Do not use CHECK_1.
9263 (__new_msgctl): Likewise.
9264 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
9265 <bp-checks.h>.
9266 (__gettimeofday): Do not use CHECK_1.
9267 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
9268 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
9269 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
9270 <bp-checks.h>.
9271 (__gettimeofday): Do not use CHECK_1.
9272 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
9273 (__old_shmctl): Do not use CHECK_1_NULL_OK.
9274 (__new_shmctl): Do not use CHECK_1.
9275 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
9276 <bp-checks.h>.
9277 (do_sigtimedwait): Do not use CHECK_1.
9278 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
9279 <bp-checks.h>.
9280 (do_sigwaitinfo): Do not use CHECK_1.
9281 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
9282 <bp-checks.h>.
9283 (msgctl): Do not use CHECK_1.
9284 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
9285 <bp-checks.h>.
9286 (shmctl): Do not use CHECK_1.
9287 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
9288 (ustat): Do not use CHECK_1.
9289 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
9290 <bp-checks.h>.
9291 (__fxstat): Do not use CHECK_1.
9292 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9293 <bp-checks.h>.
9294 (__fxstatat): Do not use CHECK_1.
9295 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
9296 <bp-checks.h>.
9297 (__lxstat): Do not use CHECK_1.
9298 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
9299 <bp-checks.h>.
9300 (__xstat): Do not use CHECK_1.
9301 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
9302 (__xstat): Do not use CHECK_1.
9303 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
9304 (___xstat64): Do not use CHECK_1.
9305
b2c9eff4
JM
9306 [BZ #13550]
9307 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
9308 definitions.
9309 (CHECK_BOUNDS_HIGH): Likewise.
9310 * string/strcpy.c: Do not include <bp-checks.h>.
9311 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
9312
f1d70dad
RM
93132013-02-07 Roland McGrath <roland@hack.frob.com>
9314
9315 * nscd/nscd-client.h (__nscd_drop_map_ref):
9316 Add __attribute__ ((unused)).
9317 * nis/nss-nisplus.h (niserr2nss): Likewise.
9318
9319 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
9320 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
9321
9322 * csu/libc-tls.c (init_static_tls, init_slotinfo):
9323 Remove inline keyword.
9324 * include/rounding-mode.h (round_away): Likewise.
9325 * libio/wfileops.c (adjust_wide_data): Likewise.
9326 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
9327 (__m128i_strloadu_tolower): Likewise.
9328 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
9329 (__m128i_strloadu_tolower): Likewise.
9330 * time/mktime.c (ydhms_diff): Likewise.
9331 * locale/elem-hash.h (elem_hash): Likewise.
9332 * locale/setlocale.c (setdata): Likewise.
9333 * posix/regex_internal.h (re_string_char_size_at): Likewise.
9334 (re_string_wchar_at): Likewise.
9335 (bitset_not, bitset_merge, bitset_mask): Likewise.
9336 [!(__GNUC__ > 3)] (inline): Remove macro.
9337 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
9338 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
9339 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
9340 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
9341 * string/memcmp.c (memcmp_bytes): Likewise.
9342 * locale/programs/locarchive.c (compute_hashval): Likewise.
9343 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
9344 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
9345 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
9346 * nss/getent.c (print_rpc, print_protocols): Likewise.
9347 (print_passwd, print_group, print_aliases): Likewise.
9348 * nis/nss-nisplus.h (niserr2nss): Likewise.
9349 * nscd/connections.c (restart_p): Likewise.
9350 Change return type to bool.
9351
eab55bfb
RM
93522013-02-05 Roland McGrath <roland@hack.frob.com>
9353
7bd642f5
RM
9354 * Makeconfig (all-Depend-files): Add existing
9355 $(sorted-subdirs:=/Depend) files.
9356 (all-subdirs): Remove nss.
9357 * sysdeps/unix/inet/Subdirs: Add it here instead.
9358 * hesiod/Depend: New file.
9359
573c29b2
RM
9360 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
9361 instead of calling alloca.
9362
b2e25af0
RM
9363 * io/lseek.c (__lseek): Rename to __libc_lseek.
9364 Define __lseek as an alias.
9365
eab55bfb
RM
9366 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
9367
9a0d1941
CD
93682013-02-04 Carlos O'Donell <carlos@redhat.com>
9369
9370 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
9371 else clause and remove check for non-standard endianness.
9372
b83bbec4
DM
93732013-02-04 David S. Miller <davem@davemloft.net>
9374
9375 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9376
6277fdab
JM
93772013-02-04 Joseph Myers <joseph@codesourcery.com>
9378
9379 [BZ #13550]
9380 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
9381 (__ubp_memchr): Remove prototype.
9382 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
9383 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9384 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
9385 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9386 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
9387 Remove alias.
9388 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
9389 (__ubp_memchr): Likewise.
9390 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
9391 (__ubp_memchr): Likewise.
9392 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
9393 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
9394 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
9395 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
9396 CHECK_STRING.
9397 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9398 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
9399 (__getcwd): Do not use CHECK_STRING.
9400 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9401 <bp-checks.h>.
9402 (__real_chown): Do not use CHECK_STRING.
9403 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
9404 <bp-checks.h>.
9405 (fchownat): Do not use CHECK_STRING.
9406 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
9407 CHECK_STRING.
9408 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9409 <bp-checks.h>.
9410 (__lchown): Do not use CHECK_STRING.
9411 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9412 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9413 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9414 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9416 include <bp-checks.h>.
9417 (truncate64): Do not use CHECK_STRING.
9418 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9419 <bp-checks.h>.
9420 (__real_chown): Do not use CHECK_STRING.
9421 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9422 <bp-checks.h>.
9423 (__lchown): Do not use CHECK_STRING.
9424 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9425 <bp-checks.h>.
9426 (__chown): Do not use CHECK_STRING.
9427 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
9428 <bp-checks.h>.
9429 (truncate64): Do not use CHECK_STRING.
9430 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
9431 Likewise.
9432 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
9433 (__xmknod): Do not use CHECK_STRING.
9434 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9435 <bp-checks.h>.
9436 (__xmknodat): Do not use CHECK_STRING.
9437 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9438 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9439
903ae060
AS
94402013-02-04 Andreas Schwab <schwab@suse.de>
9441
9442 [BZ #14142]
9443 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
9444 * include/netdb.h: Likewise for h_errno.
9445 * elf/tst-stackguard1.c: Include <tls.h>.
9446
542f9466
JK
94472013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9448
9449 * elf/link.h (struct link_map): Extend the l_addr comment.
9450 * include/link.h (struct link_map): Likewise.
9451
e782a927
JM
94522013-02-01 Joseph Myers <joseph@codesourcery.com>
9453
9454 [BZ #13550]
9455 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
9456 (BOUNDED_1): Remove macro.
9457 * debug/backtrace.c: Don't include <bp-checks.h>.
9458 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
9459 (__backtrace): Likewise.
9460 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
9461 <bp-checks.h>.
9462 (__backtrace): Don't use BOUNDED_1.
9463 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
9464 <bp-checks.h>.
9465 (__backtrace): Don't use BOUNDED_1.
9466 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
9467 (__backtrace): Don't use BOUNDED_1.
9468 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
9469 (shmat): Don't use BOUNDED_N.
9470
8cf28c5e
JM
94712013-01-31 Joseph Myers <joseph@codesourcery.com>
9472
3a7ac8a0
JM
9473 [BZ #13550]
9474 * sysdeps/generic/bp-start.h: Remove file.
9475 * csu/libc-start.c: Don't include <bp-start.h>.
9476 (LIBC_START_MAIN): Set up __environ directly instead of using
9477 INIT_ARGV_and_ENVIRON.
9478 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
9479 <bp-start.h>.
9480
f3499f95
JM
9481 [BZ #13550]
9482 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
9483 definitions.
9484 (CHECK_FCNTL): Likewise.
9485 (CHECK_N_PAGES): Likewise.
9486
32a45bea
JM
9487 [BZ #13550]
9488 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
9489 definitions.
9490 (CHECK_SIGSET_NULL_OK): Likewise.
9491 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
9492 <bp-checks.h>.
9493 (sigpending): Don't use CHECK_SIGSET.
9494 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
9495 <bp-checks.h>.
9496 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9497 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
9498 <bp-checks.h>.
9499 (do_sigsuspend): Don't use CHECK_SIGSET.
9500 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
9501 use CHECK_SIGSET.
9502 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
9503 (do_sigwait): Don't use CHECK_SIGSET.
9504 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
9505 use CHECK_SIGSET.
9506 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
9507 include <bp-checks.h>.
9508 (sigpending): Don't use CHECK_SIGSET.
9509 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
9510 include <bp-checks.h>.
9511 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9512 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
9513 <bp-checks.h>.
9514 (sigpending): Don't use CHECK_SIGSET.
9515 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
9516 <bp-checks.h>.
9517 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9518
2e8a5c8c
JM
9519 [BZ #13550]
9520 * sysdeps/generic/bp-semctl.h: Remove file.
9521 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
9522 <bp-checks.h> and <bp-semctl.h>.
9523 (__old_semctl): Don't use CHECK_SEMCTL.
9524 (__new_semctl): Likewise.
9525 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
9526 and <bp-semctl.h>.
9527 (__old_semctl): Don't use CHECK_SEMCTL.
9528 (__new_semctl): Likewise.
9529 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
9530 <bp-checks.h> and <bp-semctl.h>.
9531 (__old_semctl): Don't use CHECK_SEMCTL.
9532 (__new_semctl): Likewise.
9533 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
9534 <bp-checks.h> and <bp-semctl.h>.
9535 (semctl): Don't use CHECK_SEMCTL.
9536
c2d54929
JM
9537 [BZ #13550]
9538 * Makerules (elide-bp-thunks): Remove variable.
9539 (elide-routines.oS): Don't use $(elide-bp-thunks).
9540 (elide-routines.os): Likewise.
9541 (elide-routines.o): Likewise.
9542 (elide-routines.op): Likewise.
9543 (elide-routines.og): Likewise.
9544 (objects): Don't use $(bp-thunks).
9545 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
9546 include.
9547 (common-generated): Do not add s-proto-bp.d.
9548 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
9549 (int): Likewise.
9550 (typ): Likewise.
9551 Do not generate makefile rules for bounded-pointer thunks.
9552 * sysdeps/generic/bp-thunks.h: Remove file.
9553 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
9554 * sysdeps/unix/s-proto-bp.S: Likewise.
9555
8cf28c5e
JM
9556 [BZ #15062]
9557 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
9558 parts of result separately when argument is not close to line from
9559 -i to i and one part of argument is small.
9560 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9561 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9562 * math/libm-test.inc (cacos_test): Add more tests.
9563 (casin_test): Likewise.
9564 (casinh_test): Likewise.
9565 * sysdeps/i386/fpu/libm-test-ulps: Update.
9566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9567
c4e33b8d
DM
95682013-01-31 David S. Miller <davem@davemloft.net>
9569
9570 * po/de.po: Update from translation team.
9571
3b60b421
MK
95722013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
9573
9574 * time/tzfile.c: Include stdint.h for SIZE_MAX.
9575
bb931195
TS
95762013-01-25 Thomas Schwinge <thomas@codesourcery.com>
9577
b5a5da23
TS
9578 * configure.in (_AC_PROG_CC_C89): New definition.
9579 * configure: Regenerate.
9580
bb931195
TS
9581 * configure.in (AC_PROG_CPP): New definition.
9582 * configure: Regenerate.
9583
8c53a12c
JM
95842013-01-23 Joseph Myers <joseph@codesourcery.com>
9585
9586 * debug/tst-backtrace.h: New file.
9587 * debug/tst-backtrace2.c: Include tst-backtrace.h.
9588 (ret): Remove variable.
9589 (x): Likewise.
9590 (FAIL): Remove macro.
9591 (NO_INLINE): Likewise.
9592 (fn1): Use match function instead of strstr.
9593 * debug/tst-backtrace3.c: Include tst-backtrace.h.
9594 (ret): Remove variable.
9595 (x): Likewise.
9596 (FAIL): Remove macro.
9597 (NO_INLINE): Likewise.
9598 (fn): Use match function instead of strstr.
9599 * debug/tst-backtrace4.c: Include tst-backtrace.h.
9600 (ret): Remove variable.
9601 (x): Likewise.
9602 (FAIL): Remove macro.
9603 (NO_INLINE): Likewise.
9604 (handle_signal): Use match function instead of strstr.
9605 * debug/tst-backtrace5.c: Include tst-backtrace.h.
9606 (ret): Remove variable.
9607 (x): Likewise.
9608 (FAIL): Remove macro.
9609 (NO_INLINE): Likewise.
9610 (handle_signal): Use match function instead of strstr.
9611
4858fa2a
RM
96122013-01-23 Roland McGrath <roland@hack.frob.com>
9613
9614 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
9615
bae8e7f5
DM
96162013-01-23 David S. Miller <davem@davemloft.net>
9617
9618 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
9619 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
9620 argument of CAS if possible.
9621 * sysdeps/sparc/sparc64/bits/atomic.h
9622 (__arch_compare_and_exchange_val_32_acq): Likewise.
9623 (__arch_compare_and_exchange_val_64_acq): Likewise.
9624
9cbbc4ae
PT
96252013-01-23 Pino Toscano <toscano.pino@tiscali.it>
9626
9627 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
9628 * sysdeps/posix/ulimit.c: ... this.
92a601b8 9629 Include <limits.h>.
67b3f58c 9630 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 9631
5655a0b5
AC
96322013-01-23 Adam Conrad <adconrad@0c3.net>
9633
9634 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
9635 (LDFLAGS-tst-array5): Likewise.
9636
052aff95
JM
96372013-01-23 Joseph Myers <joseph@codesourcery.com>
9638
9639 [BZ #15036]
9640 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
9641 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
9642 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
9643 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
9644
7c1e01aa
DM
96452013-01-21 David S. Miller <davem@davemloft.net>
9646
9647 * sysdeps/sparc/backtrace.c: New file.
9648 * sysdeps/sparc/sparc32/backtrace.h: New file.
9649 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
9650 * sysdeps/sparc/sparc64/backtrace.h: New file.
9651 * sysdeps/sparc/sparc64/backtrace.c: Delete.
9652 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
9653 -funwind-tables.
9654
ab087e0a
AS
96552013-01-21 Andreas Schwab <schwab@suse.de>
9656
9657 [BZ #15020]
9658 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
9659 closed its stdout.
9660
ed689c2f
AS
96612013-01-20 Andreas Schwab <schwab@linux-m68k.org>
9662
9663 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
9664 "mpa2.h".
9665 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9666
31d470ac
JM
96672013-01-18 Joseph Myers <joseph@codesourcery.com>
9668 Mark Mitchell <mark@codesourcery.com>
9669 Tom de Vries <tom@codesourcery.com>
9670 Paul Pluzhnikov <ppluzhnikov@google.com>
9671
9672 * debug/tst-backtrace2.c: New file.
9673 * debug/tst-backtrace3.c: Likewise.
9674 * debug/tst-backtrace4.c: Likewise.
9675 * debug/tst-backtrace5.c: Likewise.
9676 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
9677 (CFLAGS-tst-backtrace3.c): Likewise.
9678 (CFLAGS-tst-backtrace4.c): Likewise.
9679 (CFLAGS-tst-backtrace5.c): Likewise.
9680 (LDFLAGS-tst-backtrace2): Likewise.
9681 (LDFLAGS-tst-backtrace3): Likewise.
9682 (LDFLAGS-tst-backtrace4): Likewise.
9683 (LDFLAGS-tst-backtrace5): Likewise.
9684 (tests): Add new tests tst-backtrace2, tst-backtrace3,
9685 tst-backtrace4 and tst-backtrace5.
9686
90567f30 96872013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
9688 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9689
9690 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
9691 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
9692 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
9693 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
9694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9695 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
9696 "+r" and remove output regs list as redundant. Add explicit inline
9697 asm to specify register of return val to work around compiler codegen
9698 bug. Remove (int) cast on return value. Add return type parameter to
9699 use in macro so that this macro does not truncate return value for
9700 64-bit values.
9701 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
9702 pass to INTERNAL_VSYSCALL_NCS.
9703 (INLINE_VSYSCALL): Add 'long int' as return type to
9704 INTERNAL_VSYSCALL_NCS macro invocation.
9705 (INTERNAL_VSYSCALL): Add 'long int' as return type to
9706 INTERNAL_VSYSCALL_NCS macro invocation.
9707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9708
d3b9ea61
SP
97092013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9710
0b57daeb
SP
9711 [BZ #14496]
9712 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
9713 Fix application of SIMD FP exception mask.
9714
caa99d06
SP
9715 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
9716 mp_no from a power of two.
9717 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
9718 __mpexp_twomm1. Use __pow_mp.
9719
d3b9ea61
SP
9720 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
9721 multiplication.
9722
1dbaee3c
DM
97232013-01-17 David S. Miller <davem@davemloft.net>
9724
9725 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9726
728d7b43
JM
97272013-01-17 Joseph Myers <joseph@codesourcery.com>
9728
9729 [BZ #15023]
9730 * include/complex.h: Condition contents on [!_COMPLEX_H].
9731 (__kernel_casinhf): New prototype.
9732 (__kernel_casinh): Likewise.
9733 (__kernel_casinhl): Likewise.
9734 * math/Makefile (libm_calls): Add k_casinh.
9735 * math/k_casinh.c: New file.
9736 * math/k_casinhf.c: Likewise.
9737 * math/k_casinhl.c: Likewise.
9738 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
9739 finite nonzero arguments.
9740 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
9741 finite nonzero arguments.
9742 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
9743 finite nonzero arguments.
9744 * math/s_casinh.c: Do not include <float.h>.
9745 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
9746 * math/s_casinhf.c: Do not include <float.h>.
9747 (__casinhf): Move code for finite nonzero arguments to
9748 k_casinhf.c.
9749 * math/s_casinhl.c: Do not include <float.h>.
9750 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
9751 redefine.
9752 (__casinhl): Move code for finite nonzero arguments to
9753 k_casinhl.c.
9754 * math/libm-test.inc (cacos_test): Add more tests.
9755 * sysdeps/i386/fpu/libm-test-ulps: Update.
9756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9757
2a26ef3a
PT
97582013-01-17 Pino Toscano <toscano.pino@tiscali.it>
9759
9760 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
9761 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
9762 [!HAVE_MREMAP]: Remove [defined linux] case.
9763 * malloc/arena.c: Do not include <malloc-sysdep.h>.
9764
a897655d
SP
97652013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9766
9767 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
9768
881ebe89 97692013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
9770
9771 * elf/elf.h (R_386_SIZE32): New relocation.
9772 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
9773 R_386_SIZE32.
9774 (elf_machine_rela): Likewise.
9775 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9776 R_X86_64_SIZE64 and R_X86_64_SIZE32.
9777
59981e9b
JM
97782013-01-17 Joseph Myers <joseph@codesourcery.com>
9779
9780 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
9781 (FP_FAST_FMA): Do not define.
9782 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
9783 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
9784 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
9785 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
9786 !_SOFT_FLOAT]: Likewise.
9787 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
9788 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
9789 value.
9790 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
9791 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
9792 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
9793 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
9794 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
9795 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
9796 file.
9797
cfa8054f
AS
97982013-01-16 Andreas Schwab <schwab@suse.de>
9799
9800 [BZ #14327]
9801 * include/stdlib.h (__mktemp): Add declaration.
9802 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
9803 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
9804
dd930cc5
SP
98052013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9806
881ebe89
SP
9807 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
9808 definitions.
9809 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9810 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
9811 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
9812 definitions here.
9813 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
9814 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
9815 definitions.
9816 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
9817 and ONE.
9818 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
9819 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
9820 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
9821 definitions.
9822 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
9823 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
9824 definitions.
9825 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 9826
dd930cc5
SP
9827 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
9828
c19a9f89
DM
98292013-01-15 David S. Miller <davem@davemloft.net>
9830
1aa61767
DM
9831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9832 trunc{,f} to libm-sysdep_routes.
9833 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
9835 file.
9836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
9838 file.
9839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
9840 file.
9841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
9842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
9843 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
9844 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
9845 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
9846 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
9847 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
9848 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
9849
c42d5e98
DM
9850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9851 nearbyint{,f} to libm-sysdep_routes.
9852 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
9854 New file.
9855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
9856 file.
9857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
9858 New file.
9859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
9860 file.
9861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
9862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
9863 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
9864 file.
9865 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
9866 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
9867 file.
9868 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
9869 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
9870 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
9871
c19a9f89
DM
9872 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9873 libc_feholdexcept and libc_fesetenv.
9874
357679d2
MF
98752013-01-15 Mike Frysinger <vapier@gentoo.org>
9876
9877 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
9878
65a82e3d
DM
98792013-01-14 David S. Miller <davem@davemloft.net>
9880
8b954ab9
DM
9881 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
9882 (SPARC_ASM_VIS2_IFUNC): Likewise.
9883 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
9884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
9885 use of 'siam' instruction.
9886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
9887 Likewise.
9888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
9889 Likewise.
9890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
9891 Likewise.
9892 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9893 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9894 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9895 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
9897 file.
9898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
9899 file.
9900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
9901 file.
9902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
9903 file.
9904 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
9905 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
9906 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
9907 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
9908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
9909 new VIS2 routines.
9910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9913 Likewise.
9914 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9915 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9916 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9917 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
9919 routines to libm-sysdep_routines.
9920 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9921
65a82e3d
DM
9922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9923 fdim/fdimf to libm-sysdep_routines.
9924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
9925 file.
9926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
9927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
9928 file.
9929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
9930 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
9931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
9932 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
9933 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
9934 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
9935 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
9936
e34ab705
SP
99372013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9938
2a91b573
SP
9939 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
9940 to optimize copies.
9941
1066a534
SP
9942 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
9943 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9944 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9945
e34ab705
SP
9946 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
9947 local variable MPTWO.
9948 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9949 Likewise.
9950
aba5e596
MF
99512013-01-13 Mike Frysinger <vapier@gentoo.org>
9952
9953 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
9954 GLOB_NOESCAPE.
9955
e557e9e5
MF
99562013-01-13 Mike Frysinger <vapier@gentoo.org>
9957
9958 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
9959
0428cec9
MF
99602013-01-13 Mike Frysinger <vapier@gentoo.org>
9961
9962 * manual/pattern.texi (glob_t): Document gl_flags.
9963 (glob64_t): Likewise.
9964
8794a964
DM
99652013-01-11 David S. Miller <davem@davemloft.net>
9966
66438c3f
RM
9967 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
9968 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
9969 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
9970 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
9971 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
9972 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
9973 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
9974 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
9975 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
9976 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
9977 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
9978 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
9979 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
9980
4ae4244d
DM
9981 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9982 sparc V9 rather than using V8 code.
9983 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9984 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9985
8794a964
DM
9986 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9987 Move to...
9988 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
9989 Here.
9990
6270516e
RM
99912013-01-11 Roland McGrath <roland@hack.frob.com>
9992
9993 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
9994 not in the main loop.
9995 * configure: Regenerated.
9996
6a57d931
JM
99972013-01-11 Joseph Myers <joseph@codesourcery.com>
9998
9999 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
10000 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
10001 to just #else.
10002 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
10003 [!__GLIBC_HAVE_LONG_LONG] case.
10004 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
10005 condition to just #else.
10006 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
10007 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
10008 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
10009 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
10010 unconditional.
10011 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
10012 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10013 #elif condition to just #else.
10014 * sysdeps/unix/sysv/linux/sys/sysmacros.h
10015 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
10016 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10017 #elif condition to just #else.
10018
0e8529e9
SE
100192013-01-11 Steve Ellcey <sellcey@mips.com>
10020
10021 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
10022 (EF_MIPS_ARCH_64): Fix value.
10023 (EF_MIPS_ARCH_32R2): New.
10024 (EF_MIPS_ARCH_64R2): New.
10025
740b3dbe
L
100262013-01-11 H.J. Lu <hongjiu.lu@intel.com>
10027
10028 * Makeconfig (+link-pie-before-libc): New.
10029 (+link-pie-after-libc): Likewise.
10030 (+link-pie-tests): Likewise.
10031 (+link-pie): Rewritten.
10032 (link-before-libc): Remove $(config-LDFLAGS).
10033 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
10034 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
10035 (config-LDFLAGS): Renamed to ...
10036 (rtld-LDFLAGS): This.
10037 (rtld-tests-LDFLAGS): New macro.
10038 (link-libc-rpath-link): Likewise.
10039 (link-libc-tests-rpath-link): Likewise.
10040 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
10041 (link-libc): Prepand $(link-libc-rpath-link).
10042 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
10043 (test-program-prefix): New macro.
10044 (test-via-rtld-prefix): Likewise.
10045 (test-program-cmd): Likewise.
10046 (host-test-program-cmd): Likewise.
10047 * Makefile ($(common-objpfx)testrun.sh): Replace
10048 $(run-program-prefix) with $(test-program-prefix).
10049 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
10050 $(rtld-LDFLAGS).
10051 ($(common-objpfx)shlib.lds): Likewise.
10052 (build-module-helper): Likewise.
10053 ($(common-objpfx)format.lds): Likewise.
10054 * Rules (binaries-pie-tests): New.
10055 (binaries-pie-notests): Likewise.
10056 (binaries-pie): Rewritten.
10057 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
10058 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
10059 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
10060 (make-test-out): Replace $(host-built-program-cmd) with
10061 $(host-test-program-cmd).
10062 * config.make.in (build-hardcoded-path-in-tests): New variable.
10063 * configure.in (--enable-hardcoded-path-in-tests): New configure
10064 option.
10065 (hardcoded_path_in_tests): New AC_SUBST.
10066 * configure: Regenerated.
10067 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
10068 $(built-program-cmd) with $(test-program-cmd).
10069 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
10070 (test_program_cmd): This.
10071 * elf/Makefile ($(objpfx)order.out): Run test with
10072 $(test-program-prefix).
10073 ($(objpfx)order2.out): Likewise.
10074 ($(objpfx)tst-initorder.out): Likewise.
10075 ($(objpfx)tst-initorder2.out): Likewise.
10076 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
10077 $(test-program-cmd).
10078 ($(objpfx)tst-array1-static.out): Likewise.
10079 ($(objpfx)tst-array2.out): Likewise.
10080 ($(objpfx)tst-array3.out): Likewise.
10081 ($(objpfx)tst-array4.out): Likewise.
10082 ($(objpfx)tst-array5.out): Likewise.
10083 ($(objpfx)tst-array5-static.out): Likewise.
10084 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
10085 $(test-program-cmd).
10086 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
10087 $(run-program-prefix) with $(test-program-prefix).
10088 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
10089 (test_program_prefix): This.
10090 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
10091 $(run-program-prefix) with $(test-program-prefix).
10092 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
10093 (test_program_prefix): This.
10094 * iconvdata/tst-tables.sh: Likewise.
10095 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
10096 $(run-program-prefix) with $(test-program-prefix).
10097 ($(objpfx)tst-translit.out): Likewise.
10098 ($(objpfx)tst-gettext2.out): Likewise.
10099 ($(objpfx)tst-gettext4.out): Likewise.
10100 ($(objpfx)tst-gettext6.out): Likewise.
10101 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
10102 (test_program_prefix): This.
10103 * intl/tst-gettext2.sh: Likewise.
10104 * intl/tst-gettext4.sh Likewise.
10105 * intl/tst-gettext6.sh: Likewise.
10106 * intl/tst-translit.sh: Likewise.
10107 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
10108 with $(test-program-cmd).
10109 * libio/Makefile ($(objpfx)test-freopen.out): Replace
10110 $(run-program-prefix) with $(test-program-prefix).
10111 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
10112 (test_program_prefix): This.
10113 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
10114 $(run-program-prefix) with $(test-program-prefix).
10115 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
10116 (test_program_prefix): This.
10117 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
10118 * posix/Makefile ($(objpfx)globtest.out): Replace
10119 $(run-via-rtld-prefix) and $(test-wrapper) with
10120 $(test-program-prefix) and $(test-via-rtld-prefix).
10121 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
10122 $(test-program-prefix).
10123 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
10124 $(host-test-program-cmd).
10125 (tst-spawn-ARGS): Likewise.
10126 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
10127 $(test-program-prefix).
10128 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
10129 (test_via_rtld_prefix): This.
10130 (test_wrapper): Renamed to ...
10131 (test_program_prefix): This.
10132 (run_program_prefix): Replaced by test_program_prefix.
10133 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
10134 (test_program_prefix): This.
10135 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
10136 with $(host-test-program-cmd).
10137 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
10138 $(run-program-prefix) with $(test-program-prefix).
10139 ($(objpfx)tst-printf.out): Likewise.
10140 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
10141 $(test-program-cmd).
10142 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
10143 (test_program_prefix): This.
10144 * stdio-common/tst-unbputc.sh: Likewise.
10145 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
10146 $(run-program-prefix) with $(test-program-prefix).
10147 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
10148 (test_program_prefix): This.
10149 * string/Makefile ($(objpfx)tst-svc.out): Replace
10150 $(built-program-cmd) with $(test-program-cmd).
10151
c6fe55cf
AJ
101522013-01-11 Andreas Jaeger <aj@suse.de>
10153
10154 [BZ #15003]
10155 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
10156 value. Sync with Linux 3.7.
10157
9e6919c8
DM
101582013-01-10 David S. Miller <davem@davemloft.net>
10159
10160 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
10161 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10162 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10163
1c9f1a02
RM
101642013-01-10 Roland McGrath <roland@hack.frob.com>
10165
10166 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
10167 never set.
10168 * configure: Regenerated.
10169
b9de2dde
DM
101702013-01-10 David S. Miller <davem@davemloft.net>
10171
10172 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10173 sparc V9 rather than using V8 code.
10174 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10175 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10176
e7f68ef4
RM
101772013-01-10 Roland McGrath <roland@hack.frob.com>
10178
10179 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
10180 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
10181 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
10182 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
10183 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
10184 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
10185 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
10186 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
10187 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
10188 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
10189 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
10190 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
10191 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
10192 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
10193 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
10194 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
10195 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
10196 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
10197 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
10198 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
10199 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
10200 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
10201 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
10202 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
10203 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
10204 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
10205 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
10206
5a47cc9c
DM
102072013-01-10 David S. Miller <davem@davemloft.net>
10208
10209 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10210
4cf8f209
L
102112013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10212
10213 * posix/Makefile (tests-static): New variable.
10214 (tests): Add $(tests-static).
10215 (tst-exec-static-ARGS): New variable.
10216 (tst-spawn-static-ARGS): Likewise.
10217 * posix/tst-exec-static.c: New file.
10218 * posix/tst-spawn-static.c: Likewise.
10219 * posix/tst-exec.c: Support run directly.
10220 * posix/tst-spawn.c: Likewise.
10221
fed0faa1
JM
102222013-01-10 Joseph Myers <joseph@codesourcery.com>
10223
828beb13
JM
10224 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
10225 long.
10226 * math/bits/mathcalls.h (llrint): Likewise.
10227 (llround): Likewise.
10228 * stdlib/stdlib.h (struct drand48_data): Likewise.
10229 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
10230 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
10231 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
10232 Likewise.
10233 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
10234 Likewise.
10235 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
10236 (elf_greg_t): Likewise.
10237 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
10238 (__jmp_buf): Likewise.
10239 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
10240 definitions.
10241 (llrint): Likewise, for all definitions.
10242 (llrintl): Likewise.
10243
fed0faa1
JM
10244 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
10245 Remove [__GNUC__] condition.
10246 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
10247 condition to just [__USE_ISOC99].
10248 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
10249
1a20cb20
L
102502013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10251
10252 [BZ #14200]
10253 * sysdeps/unix/sysv/linux/x86/bits/environments.h
10254 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
10255 defined.
10256 (_POSIX_V6_ILP32_OFF32): Likewise.
10257 (_XBS5_ILP32_OFF32): Likewise.
10258 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
10259 (__ILP32_OFFBIG_LDFLAGS): Likewise.
10260
751b85f7
SP
102612013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10262
7490eb81
SP
10263 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
10264
751b85f7
SP
10265 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
10266 doubles __mpexp_twomm1. Adjust usage.
10267 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
10268 Remove.
10269
988197f0
AS
102702013-01-10 Andreas Schwab <schwab@suse.de>
10271
10272 [BZ #14964]
10273 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
10274 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
10275
e83d7298
DM
102762013-01-09 David S. Miller <davem@davemloft.net>
10277
034ed64b 10278 [BZ #15003]
e83d7298
DM
10279 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
10280 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
10281 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
10282 TCP_FASTOPEN): Define.
10283 (tcp_repair_opt): New structure.
10284 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
10285 enum values.
10286 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
10287 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
10288 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
10289 (tcp_cookie_transactions): New structure.
10290
d5e0b9bd
AB
102912013-01-09 Anton Blanchard <anton@samba.org>
10292
10293 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
10294 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
10295 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
10296 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
10297
0c07e3ea
JM
102982013-01-09 Joseph Myers <joseph@codesourcery.com>
10299
10300 * include/features.h (__USE_ANSI): Remove.
10301
232f7002
RM
103022013-01-09 Roland McGrath <roland@hack.frob.com>
10303
ad98e30c
RM
10304 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
10305
232f7002
RM
10306 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
10307
950c99ca
SP
103082013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
10309
b5792741
SP
10310 * sysdeps/s390/fpu/libm-test-ulps: Update.
10311
47cf2278
SP
10312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10313
950c99ca
SP
10314 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
10315 (__acr): Likewise.
10316 (__cpy): Likewise.
10317 (norm): Likewise.
10318 (denorm): Likewise.
10319 (__mp_dbl): Likewise.
10320 (__dbl_mp): Likewise.
10321 (add_magnitudes): Likewise.
10322 (sub_magnitudes): Likewise.
10323 (__add): Likewise.
10324 (__sub): Likewise.
10325 (__mul): Likewise.
10326 (__inv): Likewise.
10327 (__dvd): Likewise.
10328 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
10329 (__acr): Likewise.
10330 (__cpy): Likewise.
10331 (norm): Likewise.
10332 (denorm): Likewise.
10333 (__mp_dbl): Likewise.
10334 (__dbl_mp): Likewise.
10335 (add_magnitudes): Likewise.
10336 (sub_magnitudes): Likewise.
10337 (__add): Likewise.
10338 (__sub): Likewise.
10339 (__mul): Likewise.
10340 (__inv): Likewise.
10341 (__dvd): Likewise.
10342 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
10343 (__acr): Likewise.
10344 (__cpy): Likewise.
10345 (norm): Likewise.
10346 (denorm): Likewise.
10347 (__mp_dbl): Likewise.
10348 (__dbl_mp): Likewise.
10349 (add_magnitudes): Likewise.
10350 (sub_magnitudes): Likewise.
10351 (__add): Likewise.
10352 (__sub): Likewise.
10353 (__mul): Likewise.
10354 (__inv): Likewise.
10355 (__dvd): Likewise.
10356
eede9df9
JM
103572013-01-08 Joseph Myers <joseph@codesourcery.com>
10358
10359 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
10360 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
10361 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
10362 2 && __USE_EXTERN_INLINES]: Likewise.
10363
c40ea3d9
AJ
103642013-01-08 Andreas Jaeger <aj@suse.de>
10365
10366 [BZ# 14985]
10367 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
10368 Remove.
10369 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10370 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10371
2ccdea26
AB
103722013-01-07 Anton Blanchard <anton@samba.org>
10373
10374 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
10375 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
10376 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
10377 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
10378 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10379 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10380 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
10381 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10382 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10383 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10384 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10385 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10386 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10387 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10388 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10389 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10390 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10391 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10392 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10393 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10394 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10395 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
10396 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10397 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10398 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
10399 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10400 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10401 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
10402 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
10403 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10404 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10405 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10406 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10407 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10408 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10409 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10410 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10411 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10412 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
10413 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10414 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
10415 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10416 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10417
a9708fed
JM
104182013-01-07 Joseph Myers <joseph@codesourcery.com>
10419
375607b9
JM
10420 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
10421 (__MALLOC_PMT): Likewise.
10422 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
10423 [__GNUC__], only on [_LIBC].
10424 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10425 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
10426 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10427 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
10428 forward declaration.
10429 (realloc_hook_ini): Likewise.
10430 (memalign_hook_ini): Likewise.
10431 (__libc_memalign): Do not use __MALLOC_PMT in variable
10432 declaration.
10433 (__libc_valloc): Likewise.
10434 (__libc_pvalloc): Likewise.
10435 (__libc_calloc): Likewise.
10436 (__posix_memalign): Likewise.
10437
a9708fed
JM
10438 [BZ #14996]
10439 * math/s_casinh.c: Include <float.h>.
10440 (__casinh): Do not do computation with squaring and square root
10441 for large arguments.
10442 * math/s_casinhf.c: Include <float.h>.
10443 (__casinhf): Do not do computation with squaring and square root
10444 for large arguments.
10445 * math/s_casinhl.c: Include <float.h>.
10446 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
10447 (__casinhl): Do not do computation with squaring and square root
10448 for large arguments.
10449 * math/libm-test.inc (casin_test): Add more tests.
10450 (casinh_test): Likewise.
10451 * sysdeps/i386/fpu/libm-test-ulps: Update.
10452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10453
afec409a
L
104542013-01-04 H.J. Lu <hongjiu.lu@intel.com>
10455
10456 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
10457 (__x86_64_raw_data_cache_size): Likewise.
10458 (__x86_64_data_cache_size_half): Likewise.
10459 (__x86_64_raw_data_cache_size_half): Likewise.
10460 (__x86_64_shared_cache_size): Likewise.
10461 (__x86_64_raw_shared_cache_size): Likewise.
10462 (__x86_64_shared_cache_size_half): Likewise.
10463 (__x86_64_raw_shared_cache_size_half): Likewise.
10464 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
10465 to ...
10466 (__x86_data_cache_size): This.
10467 (__x86_64_raw_data_cache_size): Renamed to ...
10468 (__x86_raw_data_cache_size): This.
10469 (__x86_64_data_cache_size_half): Renamed to ...
10470 (__x86_data_cache_size_half): This.
10471 (__x86_64_raw_data_cache_size_half): Renamed to ...
10472 (__x86_raw_data_cache_size_half): This.
10473 (__x86_64_shared_cache_size): Renamed to ...
10474 (__x86_shared_cache_size): This.
10475 (__x86_64_raw_shared_cache_size): Renamed to ...
10476 (__x86_raw_shared_cache_size): This.
10477 (__x86_64_shared_cache_size_half): Renamed to ...
10478 (__x86_shared_cache_size_half): This.
10479 (__x86_64_raw_shared_cache_size_half): Renamed to ...
10480 (__x86_raw_shared_cache_size_half): This.
10481 * sysdeps/x86_64/memcpy.S: Updated.
10482 * sysdeps/x86_64/memset.S: Likewise.
10483 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10484 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10485 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10486
0b3986d0
DM
104872013-01-04 David S. Miller <davem@davemloft.net>
10488
10489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10490
e47686e9
AS
104912013-01-04 Andreas Schwab <schwab@linux-m68k.org>
10492
d643bac1
AS
10493 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
10494 1 to avoid redefinition warning.
10495 (__USE_GNU): Don't define.
10496 (init_signaling_nan): Protoize.
10497
e47686e9
AS
10498 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10499
b18decba
SP
105002013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10501
fffb407f
SP
10502 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
10503 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
10504 (__cpymn): Likewise.
10505 (norm): Remove commented code.
10506 (denorm): Likewise.
10507 (__mp_dbl): Likewise.
10508 (__inv): Likewise.
10509 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
10510 (__cpymn): Likewise.
10511 (norm): Remove commented code.
10512 (denorm): Likewise.
10513 (__mp_dbl): Likewise.
10514 (__inv): Likewise.
10515
b18decba
SP
10516 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
10517 mp_no value for 1.0 and 2.0.
10518 (norm): Use RADIXI instead of radixi.d.
10519 (denorm): Likewise.
10520 (__mul): Use 0.0 instead of zero.d.
10521 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
10522 mp_no value for 1.0 and 2.0.
10523 (norm): Use RADIXI instead of radixi.d.
10524 (denorm): Likewise.
10525 (__mul): Use 0.0 instead of zero.d.
10526
cdc1c96f
JM
105272013-01-04 Joseph Myers <joseph@codesourcery.com>
10528
10529 [BZ #14994]
10530 * math/s_casinh.c (__casinh): Reduce finite argument to first
10531 quadrant then set signs of results at the end.
10532 * math/s_casinhf.c (__casinhf): Likewise.
10533 * math/s_casinhl.c (__casinhl): Likewise.
10534 * math/libm-test.inc (casin_test): Add more tests.
10535 (casinh_test): Likewise.
10536 * sysdeps/i386/fpu/libm-test-ulps: Update.
10537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10538
302913e1
SP
105392013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10540
6420d207
SP
10541 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
10542
a9e48ab4
SP
10543 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
10544
b7837264
SP
10545 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
10546 declarations.
10547 (denorm): Likewise.
10548 (__mp_dbl): Likewise.
10549 (__inv): Likewise.
10550
f8af25d2
SP
10551 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
10552 and adjust the header comment.
10553
302913e1
SP
10554 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
10555 variable name from declaration.
10556
5d7dd1ca
L
105572013-01-03 H.J. Lu <hongjiu.lu@intel.com>
10558
10559 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10560 Initialize COMMON_CPUID_INDEX_7 element.
10561 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
10562 (CPUID_RTM): Likewise.
10563 (HAS_RTM): Likewise.
10564 (COMMON_CPUID_INDEX_7): New enum.
10565
2f5f40f4
AS
105662013-01-03 Andreas Schwab <schwab@linux-m68k.org>
10567
10568 [BZ #14981]
10569 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
10570 size is zero, record memory as freed.
10571
4056f4a0
AJ
105722013-01-03 Andreas Jaeger <aj@suse.de>
10573
10574 * po/ia.po: Add new Interlingua translation.
10575
ab15736f 105762012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
10577
10578 * locale/programs/localedef.c: Fix description of '--posix' flag.
10579
568035b7
JM
105802013-01-02 Joseph Myers <joseph@codesourcery.com>
10581
e6898b8d
JM
10582 * NEWS: Update dates in second copyright notice.
10583 * README: Update copyright dates in example.
10584 * manual/libc.texinfo: Update copyright dates.
10585 * scripts/test-installation.pl: Update copyright date in --version
10586 output.
10587
0e2f9562
JM
10588 * hurd/ctty-input.c: Fix copyright notice formatting.
10589 * hurd/ctty-output.c: Likewise.
10590 * hurd/dtable.c: Likewise.
10591 * hurd/hurd-raise.c: Likewise.
10592 * hurd/hurdprio.c: Likewise.
10593 * hurd/msgportdemux.c: Likewise.
10594 * misc/sys/file.h: Likewise.
10595 * misc/sys/ioctl.h: Likewise.
10596 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10597 * sysdeps/mach/hurd/chdir.c: Likewise.
10598 * sysdeps/mach/hurd/fchdir.c: Likewise.
10599 * sysdeps/mach/hurd/rename.c: Likewise.
10600 * sysdeps/mach/hurd/rmdir.c: Likewise.
10601 * sysdeps/mach/hurd/seekdir.c: Likewise.
10602 * sysdeps/mach/hurd/setsid.c: Likewise.
10603 * sysdeps/posix/wait3.c: Likewise.
10604
568035b7
JM
10605 * All files with FSF copyright notices: Update copyright dates
10606 using scripts/update-copyrights.
10607 * intl/plural.c: Regenerated.
10608 * locale/programs/charmap-kw.h: Likewise.
10609 * locale/programs/locfile-kw.h: Likewise.
10610
da08f647
SP
106112013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10612
0f5477af
SP
10613 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
10614 four values.
10615
44e0d4c2
SP
10616 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
10617 calculation loop and add branch prediction.
10618
4d55b4e5
SP
10619 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
10620 check access beyond bounds of m1np.
10621
da08f647
SP
10622 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10623 MPTWO.
10624 (__inv): Remove local variable MPTWO to use the global
10625 constant.
10626 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
10627 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10628 variable MPTWO.
10629 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
10630 MP3HALFS static const.
10631
8e051029
DM
106322013-01-01 David S. Miller <davem@davemloft.net>
10633
10634 * po/ca.po: Update from translation team.
10635
f4cf5f2d
JM
106362013-01-01 Joseph Myers <joseph@codesourcery.com>
10637
10638 * scripts/update-copyrights: New file.
10639 * Makeconfig: Reformat copyright notice.
10640 * ctype/ctype.h: Likewise.
10641 * debug/swprintf_chk.c: Likewise.
10642 * elf/dl-cache.c: Likewise.
10643 * elf/dl-debug.c: Likewise.
10644 * elf/dl-object.c: Likewise.
10645 * grp/initgroups.c: Likewise.
10646 * hurd/Makefile: Likewise.
10647 * hurd/hurd/signal.h: Likewise.
10648 * hurd/hurdfault.c: Likewise.
10649 * hurd/hurdioctl.c: Likewise.
10650 * hurd/hurdlookup.c: Likewise.
10651 * hurd/intr-msg.c: Likewise.
10652 * iconv/gconv_open.c: Likewise.
10653 * libio/swprintf.c: Likewise.
10654 * locale/lc-ctype.c: Likewise.
10655 * locale/nl_langinfo.c: Likewise.
10656 * mach/Machrules: Likewise.
10657 * mach/Makefile: Likewise.
10658 * malloc/obstack.h: Likewise.
10659 * manual/Makefile: Likewise.
10660 * manual/tsort.awk: Likewise.
10661 * misc/bits/stab.def: Likewise.
10662 * nis/nis_print_group_entry.c: Likewise.
10663 * nis/nis_table.c: Likewise.
10664 * nis/nss_compat/compat-pwd.c: Likewise.
10665 * nis/nss_compat/compat-spwd.c: Likewise.
10666 * po/Makefile: Likewise.
10667 * posix/fnmatch.c: Likewise.
10668 * posix/regex.h: Likewise.
10669 * resolv/Makefile: Likewise.
10670 * resolv/nss_dns/dns-network.c: Likewise.
10671 * resolv/res_hconf.c: Likewise.
10672 * scripts/gen-sorted.awk: Likewise.
10673 * soft-fp/soft-fp.h: Likewise.
10674 * stdio-common/printf.h: Likewise.
10675 * stdlib/monetary.h: Likewise.
10676 * stdlib/random.c: Likewise.
10677 * stdlib/random_r.c: Likewise.
10678 * sysdeps/generic/Makefile: Likewise.
10679 * sysdeps/gnu/Makefile: Likewise.
10680 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10681 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10682 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10683 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10684 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10685 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10686 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10687 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10688 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10689 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10690 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10691 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10692 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10693 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10694 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
10695 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10696 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10697 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10698 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10699 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10700 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10701 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10702 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10703 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
10704 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
10705 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10706 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10707 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
10708 * sysdeps/mach/hurd/errnos.awk: Likewise.
10709 * sysdeps/mach/hurd/fork.c: Likewise.
10710 * sysdeps/mach/hurd/getcwd.c: Likewise.
10711 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
10712 * sysdeps/mach/hurd/mmap.c: Likewise.
10713 * sysdeps/mach/hurd/utimes.c: Likewise.
10714 * sysdeps/mach/hurd/xmknod.c: Likewise.
10715 * sysdeps/posix/profil.c: Likewise.
10716 * sysdeps/posix/readdir_r.c: Likewise.
10717 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10718 * sysdeps/powerpc/bits/setjmp.h: Likewise.
10719 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
10720 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10721 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10722 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10723 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10724 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10725 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10726 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10727 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10728 * sysdeps/pthread/lio_listio.c: Likewise.
10729 * sysdeps/sparc/dl-procinfo.h: Likewise.
10730 * sysdeps/unix/i386/sysdep.S: Likewise.
10731 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
10732 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
10733 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
10734 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
10735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10736 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10737 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10738 * sysdeps/unix/sysv/linux/speed.c: Likewise.
10739 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10740 * sysdeps/wordsize-32/divdi3.c: Likewise.
10741 * time/sys/time.h: Likewise.
10742 * wcsmbs/Makefile: Likewise.
10743
0549fbba
DM
107442013-01-01 David S. Miller <davem@davemloft.net>
10745
a141f1a7
DM
10746 * po/fr.po: Update from translation team.
10747
0549fbba
DM
10748 * catgets/gencat.c: Update copyright year.
10749 * csu/version.c: Likewise.
10750 * debug/catchsegv.sh: Likewise.
10751 * debug/pcprofiledump.c: Likewise.
10752 * debug/xtrace.sh: Likewise.
10753 * elf/ldconfig.c: Likewise.
10754 * elf/ldd.bash.in: Likewise.
10755 * elf/pldd.c: Likewise.
10756 * elf/sotruss.ksh: Likewise.
10757 * elf/sprof.c: Likewise.
10758 * iconv/iconv_prog.c: Likewise.
10759 * iconv/iconvconfig.c: Likewise.
10760 * locale/programs/locale.c: Likewise.
10761 * locale/programs/localedef.c: Likewise.
10762 * login/programs/pt_chown.c: Likewise.
10763 * malloc/memusage.sh: Likewise.
10764 * malloc/memusagestat.c: Likewise.
10765 * malloc/mtrace.pl: Likewise.
10766 * nscd/nscd.c: Likewise.
10767 * nss/getent.c: Likewise.
10768 * nss/makedb.c: Likewise.
10769 * posix/getconf.c: Likewise.
10770
18ea052c
SP
107712012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10772
10773 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
10774 numbers.
10775
9c89fca6
MF
107762012-12-30 Mike Frysinger <vapier@gentoo.org>
10777
10778 * math/bits/mathcalls.h (modf): Use __nonnull.
10779
085ec079
SP
107802012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10781
10782 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
10783 (split): Use macro CN instead of the bare value.
10784 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
10785 could be used.
10786 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
10787 instead of the bare value.
10788 (power1): Likewise.
10789
6d9f97e1
SP
107902012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10791
d63f73be
SP
10792 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
10793 __ATAN_TWOM.
10794 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10795
6d9f97e1
SP
10796 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
10797 their values.
10798 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10799 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10800 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
10801 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10802
4c4febf5
AJ
108032012-12-28 Andreas Jaeger <aj@suse.de>
10804
af5843ef
AJ
10805 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
10806 values are from Linux 3.7.
10807
4c4febf5
AJ
10808 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
10809 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
10810
99136f82
SP
108112012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10812
2f216c3c 10813 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
10814 TRUE case.
10815
99136f82
SP
10816 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
10817 (norm): Likewise.
10818 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
10819 variables with preprocessor constants.
10820 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10821 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10822 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10823
7fffbdff
BH
108242012-12-27 Bruno Haible <bruno@clisp.org>
10825
10826 [BZ #14317]
10827 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
10828 only if needed.
10829
b76eb5f0
SP
108302012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10831
31a7fe5c
SP
10832 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
10833 and use variable directly.
10834 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
10835
b76eb5f0
SP
10836 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10837 MPONE.
10838 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10839 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10840 variable MPONE.
10841 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10842 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10843 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
10844 include directive. Remove local variable MPONE.
10845 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
10846 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
10847 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10848
2c8bfe7d
DM
108492012-12-25 David S. Miller <davem@davemloft.net>
10850
10851 * version.h (RELEASE): Set to "development".
10852 (VERSION): Set to "2.17.90".
10853 * NEWS: Add 2.18 section.
10854
147d03b0
DM
108552012-12-21 David S. Miller <davem@davemloft.net>
10856
10857 * po/hr.po: Update from translation team.
10858
a8ebb2b9
AK
108592012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10860
10861 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
10862
95b4f1b6
SE
108632012-12-19 Steve Ellcey <sellcey@mips.com>
10864
b2d94007 10865 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 10866
cedb2a90
MS
108672012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10868
10869 * manual/contrib.texi (Contributors): Spelling correction.
10870
bbf527d6
DM
108712012-12-15 David S. Miller <davem@davemloft.net>
10872
10873 * po/ru.po: Update from translation team.
10874
bc38c906
DM
108752012-12-13 David S. Miller <davem@davemloft.net>
10876
85429b1a
DM
10877 * NEWS: Mention IFUNC testsuite enhancements.
10878
d283e353
DM
10879 * po/pl.po: Update from translation team.
10880 * po/bg.po: Likewise.
10881
bc38c906
DM
10882 * manual/contrib.texi (Contributors): Update entries for Hongjiu
10883 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
10884
a181b0d7
DM
108852012-12-11 David S. Miller <davem@davemloft.net>
10886
4641d57e
DM
10887 * po/sv.po: Update from translation team.
10888
f7bc6495
DM
10889 * po/vi.po: Update from translation team.
10890
6fc9048f
DM
10891 * po/cs.po: Update from translation team.
10892
a181b0d7
DM
10893 * po/de.po: Update from translation team.
10894 * po/eo.po: Likewise.
10895 * po/nl.po: Likewise.
10896
f70bfe80
SP
108972012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10898
3c8b4190
SP
10899 [BZ #14246]
10900 * manual/argp.texi (Argp Helper Functions): Move node to follow
10901 Argp Parsing State.
10902
f70bfe80
SP
10903 [BZ #14872]
10904 * manual/conf.texi (Limits on File System Capacity): Mention if
10905 terminating null is included in the max size.
10906
188f0adf
AJ
109072012-12-10 Andreas Jaeger <aj@suse.de>
10908
10909 * po/cs.po: Update from translation team.
10910
56e7d3ad
SP
109112012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10912
10913 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
10914 void pointer and cast to uintptr_t.
10915 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
10916 path.
10917 * sysdeps/s390/s390-64/memcpy.S: Likewise.
10918 * sysdeps/s390/s390-64/memset.S: Likewise.
10919
76f2d2ea 109202012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
10921
10922 [BZ #14833]
10923 * menual/message.texi (Message Translation): Fix typos.
10924 (Helper programs for gettext): Likewise.
10925
67cbf9a2
AS
109262012-12-07 Andreas Schwab <schwab@linux-m68k.org>
10927
10928 [BZ #14898]
10929 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
10930 Change to -1.
10931
682d0e9a
DM
109322012-12-07 David S. Miller <davem@davemloft.net>
10933
10934 * po/libc.pot: Update.
10935
573cd484
RH
109362012-12-07 Richard Henderson <rth@redhat.com>
10937
7e9da188 10938 [BZ #10114]
573cd484
RH
10939 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
10940 normal/normal case to before the switch.
10941 (_FP_DIV): Likewise.
10942
e933a943
MF
109432012-12-06 Carlos O'Donell <carlos@systemhalted.org>
10944 Mike Frysinger <vapier@gentoo.org>
10945
10946 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
10947 check for __NR_fadvise64_64.
10948
82123268
CM
109492012-12-06 Chris Metcalf <cmetcalf@tilera.com>
10950
10951 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
10952 0, not just to plain "0" as a statement.
10953 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
10954 with cw.
10955
d9814526
JM
109562012-12-06 Joseph Myers <joseph@codesourcery.com>
10957
10958 * NEWS: Use sourceware.org in Bugzilla URL.
10959
7728c574
SP
109602012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10961
f16946dd
SP
10962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10963 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10964
5704bbcb
SP
10965 * stdio-common/tst-put-error.c (do_test): Add newline to the
10966 padded test to ensure flush.
10967
17aa0516
JL
109682012-12-05 Jeff Law <law@redhat.com>
10969
10970 * sunrpc/etc.rpc (fedfs_admin): Add entry.
10971
363313b5
JM
109722012-12-05 Joseph Myers <joseph@codesourcery.com>
10973
effbd42a
JM
10974 * README: Don't refer to ports add-on as distributed separately.
10975 Mention AArch64 in list of systems supported in the ports add-on.
10976
87600365
JM
10977 * LICENSES: Add more non-FSF copyright and license notices.
10978
a0d7066a
JM
10979 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
10980 ((unused)).
10981
66ca5a5b
JM
10982 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
10983
363313b5
JM
10984 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
10985 10000 as width of padded output.
10986
b37984ad
JM
109872012-12-04 Joseph Myers <joseph@codesourcery.com>
10988
9003570a
JM
10989 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
10990
b37984ad
JM
10991 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
10992 variable LX with __attribute__ ((unused)).
10993 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10994 Likewise.
10995 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10996 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10997 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
10998 with __attribute__ ((unused)).
10999
c8df52ec
DM
110002012-12-04 David S. Miller <davem@abraco.davemloft.net>
11001
11002 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
11003
b3b099af
JM
110042012-12-04 Joseph Myers <joseph@codesourcery.com>
11005
c33aa6e3
JM
11006 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
11007 (CFLAGS-nldbl-acos.c): New variable.
11008 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
11009 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
11010 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
11011 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
11012 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
11013 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
11014 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
11015 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
11016 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
11017 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
11018 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
11019 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
11020 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
11021 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
11022 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
11023 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
11024 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
11025 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
11026 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
11027 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
11028 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
11029 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
11030 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
11031 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
11032 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
11033 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
11034 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
11035 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
11036 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
11037 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
11038 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
11039 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
11040 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
11041 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
11042 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
11043 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
11044 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
11045 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
11046 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
11047 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
11048 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
11049 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
11050 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
11051 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
11052 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
11053 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
11054 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
11055 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
11056 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
11057 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
11058 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
11059 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
11060 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
11061 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
11062 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
11063 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
11064 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
11065 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
11066 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
11067 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
11068 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
11069 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
11070 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
11071 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
11072 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
11073 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
11074 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
11075 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
11076 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
11077 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
11078 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
11079 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
11080 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
11081 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
11082 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
11083 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
11084 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
11085 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
11086 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
11087 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
11088 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
11089 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
11090 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
11091 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
11092 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
11093 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
11094 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
11095 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
11096 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
11097 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
11098 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
11099 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
11100 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
11101 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
11102 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
11103 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
11104 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
11105
20f0018d
JM
11106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11107 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11108
b3b099af
JM
11109 [BZ #14914]
11110 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
11111 whole low double instead of just low 47 bits when splitting values
11112 into two parts.
11113
029264d1
AM
111142012-12-03 Allan McRae <allan@archlinux.org>
11115
11116 * manual/stdio.texi (Predefined Printf Handlers): Remove
11117 @hsep and @vsep usage.
11118
c9d6789e
MF
111192012-12-03 Mike Frysinger <vapier@gentoo.org>
11120
11121 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
11122 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
11123
4b7634a5
JL
111242012-12-03 Jeff Law <law@redhat.com>
11125
11126 * time/sys/time.h (settimeofday): Do not mark TV argument
11127 as __nonnull.
11128
eb6cbd24
MF
111292012-12-01 Mike Frysinger <vapier@gentoo.org>
11130
11131 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
11132 when currently writing and seek to current position when not.
11133 * libio/Makefile (tests): Remove bug-fclose1.
11134 * libio/bug-fclose1.c: Delete.
11135
f638872a
JM
111362012-12-01 Joseph Myers <joseph@codesourcery.com>
11137
11138 * manual/arith.texi (feenableexcept): Fix typo.
11139 (fedisableexcept): Likewise.
11140
48085d14
RM
111412012-11-30 Roland McGrath <roland@hack.frob.com>
11142
11143 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
11144 second, differently-typed declaration, rather than a cast.
11145
1a538b9f
SP
111462012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11147
11148 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
11149 * include/rpc/svc.h: ... here.
11150
d07f2ff1 111512012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
11152
11153 [BZ #13013]
11154 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
11155 depending n and resplen2 to catch cases where answer
11156 equals answerp2.
11157
c93ec1f0
CD
111582012-11-29 Carlos O'Donell <carlos@systemhalted.org>
11159
11160 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
11161 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
11162
37db69de
MF
111632012-11-29 Mike Frysinger <vapier@gentoo.org>
11164
11165 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
11166
e10c4e4f
RM
111672012-11-29 Roland McGrath <roland@hack.frob.com>
11168
11169 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
11170
2af1b328
JL
111712012-11-28 Jeff Law <law@redhat.com>
11172
11173 [BZ #13761]
11174 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
11175 dataset_temporary. Track alloca usage into alloca_used.
11176 If dataset is large allocate and release it via malloc/free.
11177
111db5b1
FW
111782012-06-04 Florian Weimer <fweimer@redhat.com>
11179
f06cc227 11180 [BZ #14197]
111db5b1
FW
11181 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
11182
dd694abd
DM
111832012-11-28 David S. Miller <davem@davemloft.net>
11184
11185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11186
9984dd01
JM
111872012-11-28 Joseph Myers <joseph@codesourcery.com>
11188
11189 [BZ #14803]
11190 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
11191 of pi/2 rounded to nearest to 64 bits.
11192 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
11193 nearest to 64 bits.
11194 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
11195 bits.
11196
14bc93a9
JL
111972012-11-28 Jeff Law <law@redhat.com>
11198 Martin Osvald <mosvald@redhat.com>
11199
11200 [BZ #14889]
11201 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
11202 * sunrpc/svc.c: Include time.h.
11203 (__svc_accept_failed): New function.
11204 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
11205 any reason other than EINTR, call __svc_accept_failed.
11206 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
11207 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
11208
e3c6aa3a
AS
112092012-11-28 Andreas Schwab <schwab@suse.de>
11210
11211 * scripts/abilist.awk: Also handle indirect functions in .opd
11212 section.
11213
1bead169
JM
112142012-11-28 Joseph Myers <joseph@codesourcery.com>
11215
11216 [BZ #13881]
11217 * sysdeps/x86/fpu/powl_helper.c: New file.
11218 * sysdeps/x86/fpu/Makefile: Likewise.
11219 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
11220 (p3): New object.
11221 (__ieee754_powl): Use __powl_helper for finite arguments except
11222 integer exponents below 8.
11223 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
11224 (p3): New object.
11225 (__ieee754_powl): Use __powl_helper for finite arguments except
11226 integer exponents below 8.
11227 * math/libm-test.inc (pow_test): Add more tests and enable some
11228 previously disabled tests.
11229 * sysdeps/i386/fpu/libm-test-ulps: Update.
11230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11231
0817d63d
SP
112322012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11233 Carlos O'Donell <carlos_odonell@mentor.com>
11234
11235 * nss/makedb.c (is_prime): Assert that input is odd and greater
11236 than 4. Note that fact in a comment too.
11237 (next_prime): Add 4 to input.
11238
de2fd463
SP
112392012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11240
11241 [BZ #11741]
11242 * libio/Makefile (tests): Add test case tst-fwrite-error.
11243 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
11244 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11245 * libio/tst-fwrite-error.c: New test case.
11246
c515fb51
L
112472012-11-26 H.J. Lu <hongjiu.lu@intel.com>
11248
11249 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
11250 before casting to void *.
11251 * include/libc-internal.h (__pointer_type): New macro.
11252 (__integer_if_pointer_type_sub): Likewise.
11253 (__integer_if_pointer_type): Likewise.
11254 (cast_to_integer): Likewise.
11255 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
11256 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
11257 before casting to atomic64_t.
11258 (atomic_exchange_acq): Likewise.
11259 (__arch_exchange_and_add_body): Likewise.
11260 (__arch_add_body): Likewise.
11261 (atomic_add_negative): Likewise.
11262 (atomic_add_zero): Likewise.
11263
4cf77aa9
JM
112642012-11-26 Joseph Myers <joseph@codesourcery.com>
11265
11266 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
11267 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
11268 (add_fdes): Likewise.
11269 (linear_search_fdes): Likewise.
11270 (binary_search_unencoded_fdes): Likewise.
11271
d260b3b4
AS
112722012-11-26 Andreas Schwab <schwab@linux-m68k.org>
11273
11274 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
11275
67060746
AC
112762012-11-24 Adam Conrad <adconrad@0c3.net>
11277
11278 * configure.in: Autodetect C++ header directories.
11279 * configure: Regenerated.
11280
800938a1
MF
112812012-11-23 Mike Frysinger <vapier@gentoo.org>
11282
11283 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
11284
4e6e34e6
AS
112852012-11-23 Andreas Schwab <schwab@linux-m68k.org>
11286
11287 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11288
7c7feb47
JM
112892012-11-22 Joseph Myers <joseph@codesourcery.com>
11290
7184dcdf
JM
11291 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
11292 LDBL_MANT_DIG == 106]: Disable some tests.
11293 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11294 Likewise.
11295 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11296 Likewise.
11297
0a42601f
JM
11298 [BZ #14871]
11299 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
11300 input for small inputs. Return +/- pi/2 for large inputs.
11301 * math/libm-test.inc (atan_test): Add more tests.
11302
79c9b9fe
JM
11303 * sysdeps/generic/unwind-dw2-fde-glibc.c
11304 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
11305 __attribute__ ((unused)).
11306
c60d3bf2
JM
11307 [BZ #14645]
11308 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
11309 x * y if x and y are nonzero and z is zero.
11310
ef1e0867
JM
11311 [BZ #14811]
11312 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
11313 nonzero exponents with absolute value below 0x1p-117 to +/-
11314 0x1p-117.
11315
1468ded3
JM
11316 [BZ #14869]
11317 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
11318 up arguments below 2**-450, not just those below 2**-500.
11319 * math/libm-test.inc (hypot_test): Add another test.
11320
8e27e3cc
JM
11321 [BZ #14868]
11322 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11323 Return a+b for ratio over 2**120, not 2**60.
11324 * math/libm-test.inc (hypot_test): Add another test.
11325
c9c0279b
JM
11326 * math/libm-test.inc (clog_test): Use
11327 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
11328 (clog10_test): Likewise.
11329
7c7feb47
JM
11330 [BZ #6778]
11331 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
11332
fff1530e
AS
113332012-11-22 Andreas Schwab <schwab@suse.de>
11334
11335 * sysdeps/i386/fpu/libm-test-ulps: Update.
11336
94558d30
PT
113372012-11-22 Pino Toscano <toscano.pino@tiscali.it>
11338
11339 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
11340 printf output with newline.
11341
7e1be741
L
113422012-11-21 H.J. Lu <hongjiu.lu@intel.com>
11343
6bfea974
L
11344 [BZ #14865]
11345 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
11346 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
11347 -z nodlopen, -z initfirst and -z execstack support.
11348 * configure: Regenerated.
11349
7e1be741
L
11350 * elf/elf.h (DF_1_NODIRECT): New macro.
11351 (DF_1_IGNMULDEF): Likewise.
11352 (DF_1_NOKSYMS): Likewise.
11353 (DF_1_NOHDR): Likewise.
11354 (DF_1_EDITED): Likewise.
11355 (DF_1_NORELOC): Likewise.
11356 (DF_1_SYMINTPOSE): Likewise.
11357 (DF_1_GLOBAUDIT): Likewise.
11358 (DF_1_SINGLETON): Likewise.
11359 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
11360 DT_1_SUPPORTED_MASK bits.
11361 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
11362
105ce2ce
CD
113632012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
11364
11365 * sysdeps/unix/make-syscalls.sh: Document prefixes.
11366
123be9de
TS
113672012-11-20 Thomas Schwinge <thomas@codesourcery.com>
11368
d072f3f7
TS
11369 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
11370 macro.
11371
123be9de
TS
11372 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
11373 (sendmmsg): Move declarations...
11374 * socket/sys/socket.h: ... here.
11375 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
11376 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
11377 include it from...
11378 * socket/recvmmsg.c: ... this new file.
11379 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
11380 (sendmmsg): Rename to __sendmmsg, create weak alias and make
11381 definition of __sendmmsg hidden.
11382 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11383 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
11384 Move ENOSYS stub into and include it from...
11385 * socket/sendmmsg.c: ... this new file.
11386 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
11387 (sysdep_routines): Move recvmmsg and sendmmsg...
11388 * socket/Makefile (routines): ... here.
11389 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
11390 (GLIBC_PRIVATE): Add __sendmmsg.
11391 * include/sys/socket.h (__sendmmsg): Add declarations.
11392 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
11393 sendmmsg.
11394
cf9a5d18
JM
113952012-11-20 Joseph Myers <joseph@codesourcery.com>
11396
11397 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
11398 variable I1 with __attribute__ ((unused)).
11399 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11400
ecd4caf9
JM
114012012-11-19 Joseph Myers <joseph@codesourcery.com>
11402
be14d48f
JM
11403 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
11404 DUMMY variables with __attribute__ ((unused)).
11405
ecd4caf9
JM
11406 * bits/byteswap.h: Include <bits/types.h>.
11407 (__bswap_64): Use __uint64_t instead of unsigned long long int.
11408
986cab95
PT
114092012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11410
11411 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
11412 string_t. Do not manually set errno.
11413 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
11414 length with __strnlen. Make sure to both set errno and return it on
11415 failure.
11416
6d33cc9d
DM
114172012-11-19 David S. Miller <davem@davemloft.net>
11418
11419 With help from Joseph Myers.
11420 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
11421 very large arguments properly.
11422 * math/libm-test.inc (atan_test): New tests.
11423 (atan2_test): New tests.
11424 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11425 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11426
ee663277
JM
114272012-11-19 Joseph Myers <joseph@codesourcery.com>
11428
877f2d8e
JM
11429 [BZ #14856]
11430 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
11431 Define to 3.
11432
116fc08a
JM
11433 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
11434 [POSIX] (EADDRNOTAVAIL): Likewise.
11435 [POSIX] (EAFNOSUPPORT): Likewise.
11436 [POSIX] (EALREADY): Likewise.
11437 [POSIX] (ECONNABORTED): Likewise.
11438 [POSIX] (ECONNREFUSED): Likewise.
11439 [POSIX] (ECONNRESET): Likewise.
11440 [POSIX] (EDESTADDRREQ): Likewise.
11441 [POSIX] (EDQUOT): Likewise.
11442 [POSIX] (EHOSTUNREACH): Likewise.
11443 [POSIX] (EIDRM): Likewise.
11444 [POSIX] (EISCONN): Likewise.
11445 [POSIX] (ELOOP): Likewise.
11446 [POSIX] (EMULTIHOP): Likewise.
11447 [POSIX] (ENETDOWN): Likewise.
11448 [POSIX] (ENETUNREACH): Likewise.
11449 [POSIX] (ENOBUFS): Likewise.
11450 [POSIX] (ENODATA): Likewise.
11451 [POSIX] (ENOLINK): Likewise.
11452 [POSIX] (ENOMSG): Likewise.
11453 [POSIX] (ENOPROTOOPT): Likewise.
11454 [POSIX] (ENOSR): Likewise.
11455 [POSIX] (ENOSTR): Likewise.
11456 [POSIX] (ENOTCONN): Likewise.
11457 [POSIX] (ENOTSOCK): Likewise.
11458 [POSIX] (EOPNOTSUPP): Likewise.
11459 [POSIX] (EOVERFLOW): Likewise.
11460 [POSIX] (EPROTO): Likewise.
11461 [POSIX] (EPROTONOSUPPORT): Likewise.
11462 [POSIX] (EPROTOTYPE): Likewise.
11463 [POSIX] (ESTALE): Likewise.
11464 [POSIX] (ETIME): Likewise.
11465 [POSIX] (ETXTBSY): Likewise.
11466 [POSIX] (EWOULDBLOCK): Likewise.
11467 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
11468 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
11469 [POSIX] (SEEK_CUR): Likewise.
11470 [POSIX] (SEEK_END): Likewise.
11471 [POSIX || UNIX98] (mode_t): Do not require.
11472 [POSIX] (off_t): Likewise.
11473 [POSIX] (pid_t): Likewise.
11474 [POSIX] (sys/stat.h): Do not allow header.
11475 [POSIX] (unistd.h): Likewise.
11476 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
11477 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
11478 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
11479 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
11480 require.
11481 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
11482 sigevent): Specify elements.
11483 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
11484 entry.
11485 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
11486 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
11487
a483863f
JM
11488 * conform/data/cpio.h-data [POSIX]: Disable whole file.
11489 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
11490 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
11491 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
11492 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
11493 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
11494 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
11495 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
11496 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
11497 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
11498 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
11499 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
11500 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
11501 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
11502 Likewise.
11503 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
11504 Likewise.
11505 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
11506 Likewise.
11507 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
11508 Likewise.
11509 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
11510 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
11511 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
11512 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
11513 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
11514 Specify lower bound on value.
11515 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
11516 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
11517 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
11518 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
11519 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
11520 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
11521 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
11522 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
11523 value.
11524 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
11525 as optional.
11526 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
11527 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
11528 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
11529 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
11530 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
11531 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
11532 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
11533 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
11534 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
11535 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
11536 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
11537 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
11538 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
11539 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
11540 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
11541 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
11542 entry.
11543 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
11544 optional.
11545 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
11546 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
11547 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
11548 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
11549 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
11550 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
11551 Likewise.
11552 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
11553 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
11554 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
11555 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
11556 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
11557 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
11558 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
11559 as optional.
11560 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
11561 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
11562 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
11563 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
11564 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
11565 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
11566 specify as optional.
11567 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
11568 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
11569 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
11570 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
11571 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
11572 [XPG3] (NL_LANGMAX): Likewise.
11573 [POSIX || XPG3] (NL_MSGMAX): Likewise.
11574 [POSIX || XPG3] (NL_NMAX): Likewise.
11575 [POSIX || XPG3] (NL_SETMAX): Likewise.
11576 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
11577 [XPG3] (NZERO): Likewise.
11578 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
11579 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
11580 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
11581 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
11582 (REG_ERANGE): Expect.
11583 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
11584 optional-constant.
11585 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
11586 Use (void) in prototype.
11587 [POSIX] (*_t): Allow.
11588 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
11589 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
11590 (WRDE_BADVAL): Expect.
11591
5ba924e3
JM
11592 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
11593 expect.
11594 [XPG3 || XPG4] (O_RSYNC): Likewise.
11595 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
11596 Likewise.
11597 [XPG3 || XPG4] (pthread_sigmask): Likewise.
11598 [XPG3 || XPG4] (sigqueue): Likewise.
11599 [XPG3 || XPG4] (sigtimedwait): Likewise.
11600 [XPG3 || XPG4] (sigwaitinfo): Likewise.
11601 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
11602 [XPG3 || XPG4] (vsnprintf): Likewise.
11603 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
11604 Likewise.
11605 [XPG3 || XPG4] (blksize_t): Likewise.
11606 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
11607 Likewise.
11608 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
11609 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11610 [XPG3 || XPG4] (struct itimerspec): Likewise.
11611 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
11612 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
11613 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
11614 [XPG3 || XPG4] (clockid_t): Likewise.
11615 [XPG3 || XPG4] (timer_t): Likewise.
11616 [XPG3 || XPG4] (clock_getres): Likewise.
11617 [XPG3 || XPG4] (clock_gettime): Likewise.
11618 [XPG3 || XPG4] (clock_settime): Likewise.
11619 [XPG3 || XPG4] (nanosleep): Likewise.
11620 [XPG3 || XPG4] (timer_create): Likewise.
11621 [XPG3 || XPG4] (timer_delete): Likewise.
11622 [XPG3 || XPG4] (timer_gettime): Likewise.
11623 [XPG3 || XPG4] (timer_getoverrun): Likewise.
11624 [XPG3 || XPG4] (timer_settime): Likewise.
11625 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
11626 [XPG3 || XPG4] (getlogin_r): Likewise.
11627 [XPG3 || XPG4] (pread): Likewise.
11628 [XPG3 || XPG4] (pthread_atfork): Likewise.
11629 [XPG3 || XPG4] (pwrite): Likewise.
11630
ee663277
JM
11631 [BZ #14835]
11632 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
11633 <bits/siginfo.h>.
11634
942caa16
PT
116352012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11636
e19af380
PT
11637 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
11638 finalizing MALLSTREAM.
11639
942caa16
PT
11640 * sysdeps/mach/hurd/syncfs.c: New file.
11641
cfde9b46
SP
116422012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11643
11644 [BZ #14719]
11645 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
11646 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
11647 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
11648 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
11649 (_nss_dns_gethostbyname4_r): Likewise.
11650 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
11651 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
11652
f6da27e5
PH
116532012-11-19 Peng Haitao <penght@cn.fujitsu.com>
11654
11655 [BZ #13763]
11656 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
11657
6665d4a2
SM
116582012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
11659
1f51ee92
SM
11660 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
11661 * elf/cache.c (print_entry): Print ",AArch64" for
11662 FLAG_AARCH64_LIB64
11663
6665d4a2
SM
11664 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
11665 * elf/cache.c (print_entry): Print ",hard-float" for
11666 FLAG_ARM_LIBHF.
11667
05b227bd
DM
116682012-11-18 David S. Miller <davem@davemloft.net>
11669
11670 With help from Joseph Myers.
11671 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
11672 cutoff to 2**-13.
11673 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
11674 cutoff to 2**-25.
11675 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
11676 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
11677 small.
11678 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
11679 * math/libm-test.inc (y0_test): New tests.
11680 (y1_test): New tests.
11681 * sysdeps/i386/fpu/libm-test-ulps: Update.
11682 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11683 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11684
786b0b67
AS
116852012-11-18 Andreas Schwab <schwab@linux-m68k.org>
11686
11687 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
11688 64-bit targets.
11689 * configure: Regenerated.
11690
8e18b86d
DM
116912012-11-17 David S. Miller <davem@davemloft.net>
11692
11693 [BZ #14811]
11694 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
11695 nonzero exponents with absolute value below 0x1p-128 to +/-
11696 0x1p-128.
11697
531f1ae0
JM
116982012-11-17 Joseph Myers <joseph@codesourcery.com>
11699
12df29e2
JM
11700 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
11701
150dc1a0
JM
11702 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
11703
531f1ae0
JM
11704 * posix/getconf-speclist.c: New file.
11705 * posix/posix-envs.def: Likewise.
11706 * posix/confstr.c (START_ENV_GROUP): New macro.
11707 (END_ENV_GROUP): Likewise.
11708 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11709 (KNOWN_PRESENT_ENV_STRING): Likewise.
11710 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11711 (UNKNOWN_ENVIRONMENT): Likewise.
11712 (confstr): Include posix-envs.def instead of handling
11713 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
11714 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
11715 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
11716 (END_ENV_GROUP): Likewise.
11717 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11718 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11719 (UNKNOWN_ENVIRONMENT): Likewise.
11720 (__sysconf): Include posix-envs.def instead of handling associated
11721 cases directly here.
11722 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
11723 preprocessing getconf-speclist.c rather than running getconf or
11724 generating empty file.
11725
a93f9cbc
PT
117262012-11-16 Pino Toscano <toscano.pino@tiscali.it>
11727
11728 * scripts/check-local-headers.sh: Ignore 'mach' headers.
11729
d64d9f87
AL
117302012-11-16 Andrej Lajovic <natrij@gmail.com>
11731
11732 [BZ #14672]
11733 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
11734
447885eb
DM
117352012-11-16 David S. Miller <davem@davemloft.net>
11736
11737 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
11738 smaller than LDBL_EPSILON/2.0L, just return xm1.
11739
bcbf9830
L
117402012-11-16 H.J. Lu <hongjiu.lu@intel.com>
11741
11742 * elf/tst-array1.c (init): Set constructor priority to 1000.
11743 (fini): Set destructor priority to 1000.
11744 * elf/tst-array2dep.c: Likewise.
11745
2b766585
SP
117462012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11747
11748 [BZ #11741]
11749 * libio/fileops.c (_IO_new_file_write): Correctly return error.
11750 (_IO_new_file_xsputn): Also return EOF if none of the input
11751 data was written when overflow failed.
11752 * libio/iopadn.c (_IO_padn): Likewise.
11753 * libio/iowpadn.c (_IO_wpadn): Likewise.
11754 * stdio-common/tst-put-error.c: Add copyright notice.
11755 (do_test): Add case for printing padded string.
11756 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
11757 _IO_padn returned error.
11758 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
11759 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
11760 return EOF.
11761
b1848fde
SP
117622012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11763
11764 * libio/libioP.h: Add comment note that the references to C++
11765 bits are now obsolete.
11766
2fd89785
MS
117672012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11768
11769 * math/libm-test.inc (check_complex): Use asprintf.
11770
e3ea5409
JM
117712012-11-14 Joseph Myers <joseph@codesourcery.com>
11772
11773 * debug/pcprofiledump.c (print_version): Update copyright year.
11774 * malloc/memusagestat.c (print_version): Likewise.
11775
2e64d265
L
117762012-11-14 H.J. Lu <hongjiu.lu@intel.com>
11777
11778 [BZ #14831]
11779 * elf/Makefile (tests): Add tst-audit8.
11780 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
11781 ($(objpfx)tst-audit8.out): New target.
11782 (tst-audit8-ENV): New variable.
11783 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
11784 audit if l_reloc_result is NULL.
11785 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
11786 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
11787 * elf/tst-audit8.c: New file.
11788
c485e4d2
MS
117892012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11790
11791 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
11792 * misc/Makefile (CFLAGS-select.c): Define.
11793 * posix/Makefile (CFLAGS-pause.c): Define.
11794
3a0d900a
DM
117952012-11-13 David S. Miller <davem@davemloft.net>
11796
11797 * crypt/Makefile: Move test targets after toplevel Rules
11798 inclusion. Grab any necessary sysdep routines when linking.
11799 * crypt/md5.c (md5_process_block): Remove define, we will always
11800 name it __md5_process_block.
11801 (md5_finish_ctx): Update md5_process_block call.
11802 (md5_stream): Likewise.
11803 (md5_process_bytes): Likewise.
11804 (md5_process_block): Rename to __md5_process_block and move to ...
11805 * crypt/md5-block.c: ... here.
11806 * crypt/sha256.c (sha256_process_block): Move to ...
11807 * crypt/sha256-block.c: ... here.
11808 * crypt/sha512.c (sha512_process_block): Move to ...
11809 * crypt/sha512-block.c: ... here.
11810 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
11811 path.
11812 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
11813 * sysdeps/sparc/sparc64/multiarch/Makefile
11814 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
11815 crypt subdir.
11816 (localedef-aux): Add md5 crypto assembler when in locale subdir.
11817 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
11818 multiarch changes.
11819 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
11820 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
11821 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
11822 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
11823 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
11824 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
11825 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
11826 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
11827 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
11828 file.
11829 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
11830 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
11831 file.
11832 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
11833
8ca89318
JM
118342012-11-13 Joseph Myers <joseph@codesourcery.com>
11835
e27d476a
JM
11836 * timezone/tzselect.ksh: Update from tzcode git revision
11837 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
11838 * timezone/zdump.c: Likewise.
11839 * timezone/zic.c: Likewise.
11840 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
11841 in TZVERSION setting, not $(PKGVERSION).
11842 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
11843 REPORT_BUGS_TO settings.
11844
8ca89318
JM
11845 [BZ #14838]
11846 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
11847 macro.
11848
47594329
MS
118492012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11850
11851 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
11852 detection to immediately after _FP_ROUND().
11853 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
11854 bits are 0.
11855
640ac3f1
DM
118562012-11-11 David S. Miller <davem@davemloft.net>
11857
11858 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11859 inttypes.h
11860 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
11861 __close rather than their public counterparts.
11862
3d2577bb
JM
118632012-11-10 Joseph Myers <joseph@codesourcery.com>
11864
11865 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
11866 file.
11867 [UNIX98] (sem_timedwait): Do not expect.
11868 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
11869 [XPG4 || UNIX98] (sockatmark): Do not expect.
11870 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
11871 (clock_getcpuclockid): Do not expect.
11872 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
11873 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
11874 Do not expect.
11875 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
11876 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
11877 [UNIX98] (vwscanf): Likewise.
11878 [UNIX98] (vswscanf): Likewise.
11879
fb1ae1ee
JM
118802012-11-09 Joseph Myers <joseph@codesourcery.com>
11881
9ec6f8bd
JM
11882 * timezone/version.h: Remove file.
11883 * timezone/README: Do not refer to version.h.
11884 * timezone/Makefile ($(objpfx)zic.o): New dependency on
11885 $(objpfx)version.h.
11886 ($(objpfx)zdump.o): Likewise.
c3f81911 11887 ($(objpfx)version.h): New target.
9ec6f8bd 11888
0aa8f8a1
JM
11889 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
11890 2012i.
11891 * timezone/README: Don't mention modification to tzselect.ksh.
11892 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
11893 work on unmodified tzselect.ksh. Substitute version numbers in
11894 tzselect.ksh.
11895
4e87147f
JM
11896 * Makefile (format-me): Remove.
11897 (INSTALL): Adjust indentation. Use commands directly instead of
11898 using $(format-me).
11899
8b748aed
JM
11900 * aclocal.m4 (ACX_PKGVERSION): New macro.
11901 (ACX_BUGURL): Likewise.
11902 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
11903 (PKGVERSION): New AC_DEFINE_UNQUOTED.
11904 (REPORT_BUGS_TO): Likewise.
11905 * configure: Regenerated.
11906 * config.h.in (PKGVERSION): New macro.
11907 (REPORT_BUGS_TO): Likewise.
11908 * config.make.in (PKGVERSION): New variable.
11909 (PKGVERSION_TEXI): Likewise.
11910 (REPORT_BUGS_TO): Likewise.
11911 (REPORT_BUGS_TEXI): Likewise.
11912 * Makefile (format-me): Use -I$(common-objpfx)manual.
11913 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
11914 ($(common-objpfx)manual/%): New target.
11915 (manual/%): Remove target.
11916 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
11917 (print_version): Use PKGVERSION.
11918 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
11919 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
11920 and REPORT_BUGS_TO.
11921 ($(objpfx)xtrace): Likewise.
11922 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
11923 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
11924 (print_version): Use PKGVERSION.
11925 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
11926 (do_version): Use PKGVERSION.
11927 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
11928 REPORT_BUGS_TO.
11929 (common-ldd-rewrite): Likewise.
11930 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
11931 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
11932 (print_version): Use PKGVERSION.
11933 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
11934 * elf/pldd.c (argp_program_bug_address): Remove variable.
11935 (more_help): New function.
11936 (argp): Use more_help.
11937 (print_version): Use PKGVERSION.
11938 * elf/sln.c (main): Use PKGVERSION.
11939 (usage): Use REPORT_BUGS_TO.
11940 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
11941 (top level): Use PKGVERSION.
11942 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
11943 (print_version): Use PKGVERSION.
11944 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
11945 (print_version): Use PKGVERSION.
11946 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
11947 (print_version): Use PKGVERSION.
11948 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
11949 (print_version): Use PKGVERSION.
11950 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
11951 (print_version): Use PKGVERSION.
11952 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
11953 (print_version): Use PKGVERSION.
11954 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
11955 and BUGURL.
11956 ($(objpfx)memusage): Likewise.
11957 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
11958 (do_version): Use PKGVERSION.
11959 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
11960 (print_version): Use PKGVERSION.
11961 * malloc/mtrace.pl ($PACKAGE): Remove variable.
11962 ($PKGVERSION): New variable.
11963 ($REPORT_BUGS_TO): Likewise.
11964 (usage): Use $REPORT_BUGS_TO.
11965 (top level): Use $PKGVERSION.
11966 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
11967 ($(objpfx)pkgvers.texi): New rule.
11968 ($(objpfx)stamp-pkgvers): Likewise.
11969 * manual/install.texi: Include pkgvers.texi.
11970 (--with-pkgversion): Document new configure option.
11971 (--with-bugurl): Likewise.
11972 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
11973 than necessarily for this particular distribution. Use
11974 REPORT_BUGS_TO for where to report bugs.
11975 * INSTALL: Regenerated.
11976 * manual/libc.texinfo: Include pkgvers.texi.
11977 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
11978 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
11979 (print_version): Use PKGVERSION.
11980 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
11981 (print_version): Use PKGVERSION.
11982 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
11983 (print_version): Use PKGVERSION.
11984 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
11985 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
11986 macro.
11987 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
11988 (print_version): Use PKGVERSION.
11989 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
11990 (print_version): Use PKGVERSION.
11991 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
11992 and PKGVERSION.
11993
92e4b6a9
JM
11994 * timezone/checktab.awk: Update from tzcode 2012i.
11995 * timezone/ialloc.c: Likewise.
11996 * timezone/private.h: Likewise.
11997 * timezone/scheck.c: Likewise.
11998 * timezone/tzfile.h: Likewise.
11999 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
12000 (TZVERSION): Hardcode tzcode version number.
12001 * timezone/zdump.c: Update from tzcode 2012i.
12002 * timezone/zic.c: Likewise.
12003 * timezone/version.h: New file.
12004 * timezone/README: Describe version.h. Update upstream location.
12005
9bde902c
JM
12006 [BZ #14824]
12007 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
12008 (mktemp): Enable declaration.
12009 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
12010 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
12011 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
12012 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
12013 Likewise.
12014 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
12015 Likewise.
12016 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
12017 Likewise.
12018 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
12019 Likewise.
12020 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
12021 Likewise.
12022 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
12023 Likewise.
12024
fb1ae1ee
JM
12025 [BZ #14821]
12026 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
12027 offset in buffer as u_int32_t not u_long. Consistently use memcpy
12028 for copies of such integer values.
12029 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12030 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12031
2c1adbcb
AJ
120322012-11-09 Andreas Jaeger <aj@suse.de>
12033
12034 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
12035 definitions and declarations that are provided by
12036 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12037
d0f8457e
AK
120382012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12039
3a235abb 12040 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
12041 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
12042 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
12043 definition.
12044
57241e26
MS
120452012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12046
12047 * elf/elf.h: Update comment before AArch64 relocations.
12048
60e8270d
DM
120492012-11-07 David S. Miller <davem@davemloft.net>
12050
12051 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
12052 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12053 (__start_context): Declare.
12054 (__makecontext_ret): Delete.
12055 (__makecontext): Hook up __start_context instead of
12056 __makecontext_ret.
12057 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
12058 (sysdep_routines): Add __start_context when in stdlib.
12059
0fbb0fbc
JM
120602012-11-07 Joseph Myers <joseph@codesourcery.com>
12061
12062 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
12063 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
12064 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
12065 hardcoded "nm".
12066 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
12067 (READELF): New variable. Use it instead of hardcoded "readelf".
12068
eb48db7e
L
120692012-11-07 H.J. Lu <hongjiu.lu@intel.com>
12070
12071 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
12072 * sysdeps/x86/Makefile: Here.
12073 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
12074 * sysdeps/x86/tst-xmmymm.sh: This.
12075
05bcf62a
JM
120762012-11-07 Joseph Myers <joseph@codesourcery.com>
12077
c4b6cf53
JM
12078 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
12079 expectations.
12080 [UNIX98] (pthread_barrier_t): Do not expect.
12081 [UNIX98] (pthread_barrierattr_t): Likewise.
12082 [UNIX98] (pthread_spinlock_t): Likewise.
12083 [UNIX98] (pthread_barrier_destroy): Likewise.
12084 [UNIX98] (pthread_barrier_init): Likewise.
12085 [UNIX98] (pthread_barrier_wait): Likewise.
12086 [UNIX98] (pthread_barrierattr_destroy): Likewise.
12087 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
12088 [UNIX98] (pthread_barrierattr_init): Likewise.
12089 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
12090 [UNIX98] (pthread_getcpuclockid): Likewise.
12091 [UNIX98] (pthread_mutex_timedlock): Likewise.
12092 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
12093 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
12094 [UNIX98] (pthread_sigmask): Likewise.
12095 [UNIX98] (pthread_spin_destroy): Likewise.
12096 [UNIX98] (pthread_spin_init): Likewise.
12097 [UNIX98] (pthread_spin_lock): Likewise.
12098 [UNIX98] (pthread_spin_trylock): Likewise.
12099 [UNIX98] (pthread_spin_unlock): Likewise.
12100 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
12101 Do not expect.
12102 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
12103 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
12104 [XPG3 || XPG4] (pthread_cond_t): Likewise.
12105 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
12106 [XPG3 || XPG4] (pthread_key_t): Likewise.
12107 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
12108 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
12109 [XPG3 || XPG4] (pthread_once_t): Likewise.
12110 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
12111 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
12112 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
12113 [XPG3 || XPG4] (pthread_t): Likewise.
12114
cbe6e120
JM
12115 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
12116 not expect.
12117 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
12118
1b126443
JM
12119 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
12120 Change function return type to int.
12121
b961a573
JM
12122 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
12123 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
12124 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
12125 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
12126 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
12127 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
12128 [!POSIX] (posix_madvise): Likewise.
12129 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
12130 && !UNIX98].
12131 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
12132 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
12133 (mode_t): Likewise.
12134 (posix_mem_offset): Likewise.
12135 (posix_typed_mem_get_info): Likewise.
12136 (posix_typed_mem_open): Likewise.
12137
9e188909
JM
12138 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
12139 Change condition to [XOPEN2K8].
12140
05bcf62a
JM
12141 * conform/conformtest.pl: Preprocess allow-header data with -x c
12142 instead of from stdin.
12143 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
12144 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
12145 [C99-based standards] (cerfc): Likewise.
12146 [C99-based standards] (cexp2): Likewise.
12147 [C99-based standards] (cexpm1): Likewise.
12148 [C99-based standards] (clog10): Likewise.
12149 [C99-based standards] (clog1p): Likewise.
12150 [C99-based standards] (clog2): Likewise.
12151 [C99-based standards] (clgamma): Likewise.
12152 [C99-based standards] (ctgamma): Likewise.
12153 [C99-based standards] (cerff): Likewise.
12154 [C99-based standards] (cerfcf): Likewise.
12155 [C99-based standards] (cexp2f): Likewise.
12156 [C99-based standards] (cexpm1f): Likewise.
12157 [C99-based standards] (clog10f): Likewise.
12158 [C99-based standards] (clog1pf): Likewise.
12159 [C99-based standards] (clog2f): Likewise.
12160 [C99-based standards] (clgammaf): Likewise.
12161 [C99-based standards] (ctgammaf): Likewise.
12162 [C99-based standards] (cerfl): Likewise.
12163 [C99-based standards] (cerfcl): Likewise.
12164 [C99-based standards] (cexp2l): Likewise.
12165 [C99-based standards] (cexpm1l): Likewise.
12166 [C99-based standards] (clog10l): Likewise.
12167 [C99-based standards] (clog1pl): Likewise.
12168 [C99-based standards] (clog2l): Likewise.
12169 [C99-based standards] (clgammal): Likewise.
12170 [C99-based standards] (ctgammal): Likewise.
12171 * conform/data/inttypes.h-data [C99-based standards]: Include
12172 stdint.h-data. Remove all expectations for stdint.h contents.
12173 [C99-based standards] (PRI*): Do not allow.
12174 [C99-based standards] (SCN*): Likewise.
12175 [C99-based standards] (*_t): Likewise.
12176 [C99-based-standards] (PRId8): Expect macro.
12177 [C99-based-standards] (PRIi8): Likewise.
12178 [C99-based-standards] (PRIo8): Likewise.
12179 [C99-based-standards] (PRIu8): Likewise.
12180 [C99-based-standards] (PRIx8): Likewise.
12181 [C99-based-standards] (PRIX8): Likewise.
12182 [C99-based-standards] (SCNd8): Likewise.
12183 [C99-based-standards] (SCNi8): Likewise.
12184 [C99-based-standards] (SCNo8): Likewise.
12185 [C99-based-standards] (SCNu8): Likewise.
12186 [C99-based-standards] (SCNx8): Likewise.
12187 [C99-based-standards] (PRIdLEAST8): Likewise.
12188 [C99-based-standards] (PRIiLEAST8): Likewise.
12189 [C99-based-standards] (PRIoLEAST8): Likewise.
12190 [C99-based-standards] (PRIuLEAST8): Likewise.
12191 [C99-based-standards] (PRIxLEAST8): Likewise.
12192 [C99-based-standards] (PRIXLEAST8): Likewise.
12193 [C99-based-standards] (SCNdLEAST8): Likewise.
12194 [C99-based-standards] (SCNiLEAST8): Likewise.
12195 [C99-based-standards] (SCNoLEAST8): Likewise.
12196 [C99-based-standards] (SCNuLEAST8): Likewise.
12197 [C99-based-standards] (SCNxLEAST8): Likewise.
12198 [C99-based-standards] (PRIdFAST8): Likewise.
12199 [C99-based-standards] (PRIiFAST8): Likewise.
12200 [C99-based-standards] (PRIoFAST8): Likewise.
12201 [C99-based-standards] (PRIuFAST8): Likewise.
12202 [C99-based-standards] (PRIxFAST8): Likewise.
12203 [C99-based-standards] (PRIXFAST8): Likewise.
12204 [C99-based-standards] (SCNdFAST8): Likewise.
12205 [C99-based-standards] (SCNiFAST8): Likewise.
12206 [C99-based-standards] (SCNoFAST8): Likewise.
12207 [C99-based-standards] (SCNuFAST8): Likewise.
12208 [C99-based-standards] (SCNxFAST8): Likewise.
12209 [C99-based-standards] (PRId16): Likewise.
12210 [C99-based-standards] (PRIi16): Likewise.
12211 [C99-based-standards] (PRIo16): Likewise.
12212 [C99-based-standards] (PRIu16): Likewise.
12213 [C99-based-standards] (PRIx16): Likewise.
12214 [C99-based-standards] (PRIX16): Likewise.
12215 [C99-based-standards] (SCNd16): Likewise.
12216 [C99-based-standards] (SCNi16): Likewise.
12217 [C99-based-standards] (SCNo16): Likewise.
12218 [C99-based-standards] (SCNu16): Likewise.
12219 [C99-based-standards] (SCNx16): Likewise.
12220 [C99-based-standards] (PRIdLEAST16): Likewise.
12221 [C99-based-standards] (PRIiLEAST16): Likewise.
12222 [C99-based-standards] (PRIoLEAST16): Likewise.
12223 [C99-based-standards] (PRIuLEAST16): Likewise.
12224 [C99-based-standards] (PRIxLEAST16): Likewise.
12225 [C99-based-standards] (PRIXLEAST16): Likewise.
12226 [C99-based-standards] (SCNdLEAST16): Likewise.
12227 [C99-based-standards] (SCNiLEAST16): Likewise.
12228 [C99-based-standards] (SCNoLEAST16): Likewise.
12229 [C99-based-standards] (SCNuLEAST16): Likewise.
12230 [C99-based-standards] (SCNxLEAST16): Likewise.
12231 [C99-based-standards] (PRIdFAST16): Likewise.
12232 [C99-based-standards] (PRIiFAST16): Likewise.
12233 [C99-based-standards] (PRIoFAST16): Likewise.
12234 [C99-based-standards] (PRIuFAST16): Likewise.
12235 [C99-based-standards] (PRIxFAST16): Likewise.
12236 [C99-based-standards] (PRIXFAST16): Likewise.
12237 [C99-based-standards] (SCNdFAST16): Likewise.
12238 [C99-based-standards] (SCNiFAST16): Likewise.
12239 [C99-based-standards] (SCNoFAST16): Likewise.
12240 [C99-based-standards] (SCNuFAST16): Likewise.
12241 [C99-based-standards] (SCNxFAST16): Likewise.
12242 [C99-based-standards] (PRId32): Likewise.
12243 [C99-based-standards] (PRIi32): Likewise.
12244 [C99-based-standards] (PRIo32): Likewise.
12245 [C99-based-standards] (PRIu32): Likewise.
12246 [C99-based-standards] (PRIx32): Likewise.
12247 [C99-based-standards] (PRIX32): Likewise.
12248 [C99-based-standards] (SCNd32): Likewise.
12249 [C99-based-standards] (SCNi32): Likewise.
12250 [C99-based-standards] (SCNo32): Likewise.
12251 [C99-based-standards] (SCNu32): Likewise.
12252 [C99-based-standards] (SCNx32): Likewise.
12253 [C99-based-standards] (PRIdLEAST32): Likewise.
12254 [C99-based-standards] (PRIiLEAST32): Likewise.
12255 [C99-based-standards] (PRIoLEAST32): Likewise.
12256 [C99-based-standards] (PRIuLEAST32): Likewise.
12257 [C99-based-standards] (PRIxLEAST32): Likewise.
12258 [C99-based-standards] (PRIXLEAST32): Likewise.
12259 [C99-based-standards] (SCNdLEAST32): Likewise.
12260 [C99-based-standards] (SCNiLEAST32): Likewise.
12261 [C99-based-standards] (SCNoLEAST32): Likewise.
12262 [C99-based-standards] (SCNuLEAST32): Likewise.
12263 [C99-based-standards] (SCNxLEAST32): Likewise.
12264 [C99-based-standards] (PRIdFAST32): Likewise.
12265 [C99-based-standards] (PRIiFAST32): Likewise.
12266 [C99-based-standards] (PRIoFAST32): Likewise.
12267 [C99-based-standards] (PRIuFAST32): Likewise.
12268 [C99-based-standards] (PRIxFAST32): Likewise.
12269 [C99-based-standards] (PRIXFAST32): Likewise.
12270 [C99-based-standards] (SCNdFAST32): Likewise.
12271 [C99-based-standards] (SCNiFAST32): Likewise.
12272 [C99-based-standards] (SCNoFAST32): Likewise.
12273 [C99-based-standards] (SCNuFAST32): Likewise.
12274 [C99-based-standards] (SCNxFAST32): Likewise.
12275 [C99-based-standards] (PRId64): Likewise.
12276 [C99-based-standards] (PRIi64): Likewise.
12277 [C99-based-standards] (PRIo64): Likewise.
12278 [C99-based-standards] (PRIu64): Likewise.
12279 [C99-based-standards] (PRIx64): Likewise.
12280 [C99-based-standards] (PRIX64): Likewise.
12281 [C99-based-standards] (SCNd64): Likewise.
12282 [C99-based-standards] (SCNi64): Likewise.
12283 [C99-based-standards] (SCNo64): Likewise.
12284 [C99-based-standards] (SCNu64): Likewise.
12285 [C99-based-standards] (SCNx64): Likewise.
12286 [C99-based-standards] (PRIdLEAST64): Likewise.
12287 [C99-based-standards] (PRIiLEAST64): Likewise.
12288 [C99-based-standards] (PRIoLEAST64): Likewise.
12289 [C99-based-standards] (PRIuLEAST64): Likewise.
12290 [C99-based-standards] (PRIxLEAST64): Likewise.
12291 [C99-based-standards] (PRIXLEAST64): Likewise.
12292 [C99-based-standards] (SCNdLEAST64): Likewise.
12293 [C99-based-standards] (SCNiLEAST64): Likewise.
12294 [C99-based-standards] (SCNoLEAST64): Likewise.
12295 [C99-based-standards] (SCNuLEAST64): Likewise.
12296 [C99-based-standards] (SCNxLEAST64): Likewise.
12297 [C99-based-standards] (PRIdFAST64): Likewise.
12298 [C99-based-standards] (PRIiFAST64): Likewise.
12299 [C99-based-standards] (PRIoFAST64): Likewise.
12300 [C99-based-standards] (PRIuFAST64): Likewise.
12301 [C99-based-standards] (PRIxFAST64): Likewise.
12302 [C99-based-standards] (PRIXFAST64): Likewise.
12303 [C99-based-standards] (SCNdFAST64): Likewise.
12304 [C99-based-standards] (SCNiFAST64): Likewise.
12305 [C99-based-standards] (SCNoFAST64): Likewise.
12306 [C99-based-standards] (SCNuFAST64): Likewise.
12307 [C99-based-standards] (SCNxFAST64): Likewise.
12308 [C99-based-standards] (PRIdMAX): Likewise.
12309 [C99-based-standards] (PRIiMAX): Likewise.
12310 [C99-based-standards] (PRIoMAX): Likewise.
12311 [C99-based-standards] (PRIuMAX): Likewise.
12312 [C99-based-standards] (PRIxMAX): Likewise.
12313 [C99-based-standards] (PRIXMAX): Likewise.
12314 [C99-based-standards] (SCNdMAX): Likewise.
12315 [C99-based-standards] (SCNiMAX): Likewise.
12316 [C99-based-standards] (SCNoMAX): Likewise.
12317 [C99-based-standards] (SCNuMAX): Likewise.
12318 [C99-based-standards] (SCNxMAX): Likewise.
12319 [C99-based-standards] (PRIdPTR): Likewise.
12320 [C99-based-standards] (PRIiPTR): Likewise.
12321 [C99-based-standards] (PRIoPTR): Likewise.
12322 [C99-based-standards] (PRIuPTR): Likewise.
12323 [C99-based-standards] (PRIxPTR): Likewise.
12324 [C99-based-standards] (PRIXPTR): Likewise.
12325 [C99-based-standards] (SCNdPTR): Likewise.
12326 [C99-based-standards] (SCNiPTR): Likewise.
12327 [C99-based-standards] (SCNoPTR): Likewise.
12328 [C99-based-standards] (SCNuPTR): Likewise.
12329 [C99-based-standards] (SCNxPTR): Likewise.
12330 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
12331 allow.
12332 * conform/data/stdint.h-data: Update comments to clarify
12333 requirements.
12334 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
12335 type.
12336 [C99-based standards] (INT8_MAX): Likewise.
12337 [C99-based standards] (INT16_MIN): Likewise.
12338 [C99-based standards] (INT16_MAX): Likewise.
12339 [C99-based standards] (INT32_MIN): Likewise.
12340 [C99-based standards] (INT32_MAX): Likewise.
12341 [C99-based standards] (INT64_MIN): Likewise.
12342 [C99-based standards] (INT64_MAX): Likewise.
12343 [C99-based standards] (UINT8_MAX): Likewise.
12344 [C99-based standards] (UINT16_MAX): Likewise.
12345 [C99-based standards] (UINT32_MAX): Likewise.
12346 [C99-based standards] (UINT64_MAX): Likewise.
12347 [C99-based standards] (INT_LEAST8_MIN): Likewise.
12348 [C99-based standards] (INT_LEAST8_MAX): Likewise.
12349 [C99-based standards] (INT_LEAST16_MIN): Likewise.
12350 [C99-based standards] (INT_LEAST16_MAX): Likewise.
12351 [C99-based standards] (INT_LEAST32_MIN): Likewise.
12352 [C99-based standards] (INT_LEAST32_MAX): Likewise.
12353 [C99-based standards] (INT_LEAST64_MIN): Likewise.
12354 [C99-based standards] (INT_LEAST64_MAX): Likewise.
12355 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
12356 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
12357 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
12358 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
12359 [C99-based standards] (INT_FAST8_MIN): Likewise.
12360 [C99-based standards] (INT_FAST8_MAX): Likewise.
12361 [C99-based standards] (INT_FAST16_MIN): Likewise.
12362 [C99-based standards] (INT_FAST16_MAX): Likewise.
12363 [C99-based standards] (INT_FAST32_MIN): Likewise.
12364 [C99-based standards] (INT_FAST32_MAX): Likewise.
12365 [C99-based standards] (INT_FAST64_MIN): Likewise.
12366 [C99-based standards] (INT_FAST64_MAX): Likewise.
12367 [C99-based standards] (UINT_FAST8_MAX): Likewise.
12368 [C99-based standards] (UINT_FAST16_MAX): Likewise.
12369 [C99-based standards] (UINT_FAST32_MAX): Likewise.
12370 [C99-based standards] (UINT_FAST64_MAX): Likewise.
12371 [C99-based standards] (INTPTR_MIN): Likewise.
12372 [C99-based standards] (INTPTR_MAX): Likewise.
12373 [C99-based standards] (UINTPTR_MAX): Likewise.
12374 [C99-based standards] (INTMAX_MIN): Likewise.
12375 [C99-based standards] (INTMAX_MAX): Likewise.
12376 [C99-based standards] (UINTMAX_MAX): Likewise.
12377 [C99-based standards] (PTRDIFF_MIN): Likewise.
12378 [C99-based standards] (PTRDIFF_MAX): Likewise.
12379 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
12380 [C99-based standards] (SIZE_MAX): Likewise.
12381 [C99-based standards] (WCHAR_MAX): Likewise.
12382 [C99-based standards] (WINT_MAX): Likewise.
12383 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
12384 constraint on value.
12385 [C99-based standards] (WCHAR_MIN): Likewise.
12386 [C99-based standards] (WINT_MIN): Likewise.
12387 [C99-based standards] (*_t): Allow.
12388 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
12389 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
12390 Include math.h-data and complex.h-data. Remove all expectations
12391 of math.h and complex.h contents.
12392 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
12393 at end of line.
12394 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
12395 (struct tm): Expect tag.
12396 [C99-based-standards] (wcstof): Expect function.
12397 [C99-based-standards] (wcstold): Likewise.
12398 [C99-based-standards] (wcstoll): Likewise.
12399 [C99-based-standards] (wcstoull): Likewise.
12400 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
12401 macro-int-constant. Specify type.
12402 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
12403 constraint on value.
12404 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12405 Specify type.
12406 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
12407 Specify value.
12408 [ISO C standards]: Do not allow headers.
12409 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
12410 wcs[abcdefghijklmnopqrstuvwxyz]*.
12411 [ISO C standards] (*_t): Do not allow.
12412 * conform/data/wctype.h-data [C99-based standards] (iswblank):
12413 Expect function.
12414 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
12415 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12416 Specify type.
12417 [ISO C standards]: Do not allow headers.
12418 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
12419 is[abcdefghijklmnopqrstuvwxyz]*.
12420 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
12421 to[abcdefghijklmnopqrstuvwxyz]*.
12422 [ISO C standards] (*_t): Do not allow.
12423 * conform/data/stdalign.h-data: New file.
12424 * conform/data/stdbool.h-data: Likewise.
12425 * conform/data/stdnoreturn.h-data: Likewise.
12426
7514feb8
RM
124272012-11-07 Roland McGrath <roland@hack.frob.com>
12428
12429 [BZ #14815]
12430 * manual/filesys.texi (Directory Entries): Typo fix.
12431 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
12432
19b2ecfc
MS
124332012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12434
12435 * elf/elf.h (EM_AARCH64): New macro.
12436 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
12437 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
12438 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
12439 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
12440 (R_AARCH64_TLSDESC): Likewise.
12441 (NT_ARM_TLS): Likewise.
12442 (NT_ARM_HW_BREAK): Likewise.
12443 (NT_ARM_HW_WATCH): Likewise.
12444
60e235ee
JM
124452012-11-07 Joseph Myers <joseph@codesourcery.com>
12446
12447 [BZ #14811]
12448 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
12449 (__ieee754_powl): Saturate nonzero exponents with absolute value
12450 below 0x1p-79 to +/- 0x1p-79.
12451 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
12452 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
12453 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
12454 nonzero exponents with absolute value below 0x1p-32 to +/-
12455 0x1p-32.
12456 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
12457 (__ieee754_powl): Saturate nonzero exponents with absolute value
12458 below 0x1p-79 to +/- 0x1p-79.
12459 * math/libm-test.inc (pow_test): Add more tests.
12460
0ab234b7
AK
124612012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12462
12463 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
12464 _dl_s390_cap_flags with kernel. Increase string length.
12465 (_dl_s390_platforms): Add z196 and zEC12.
12466
45832f74
JM
124672012-11-07 Joseph Myers <joseph@codesourcery.com>
12468
12469 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
12470 Change XOPEN21K to XOPEN2K.
12471
19218757
MK
124722012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
12473
12474 * string/memmove.c: Use memcpy when possible.
12475
c5f45721
AJ
124762012-11-06 Andreas Jaeger <aj@suse.de>
12477
12478 * po/eo.po: Update from translation team.
12479
82477c28
JM
124802012-11-06 Joseph Myers <joseph@codesourcery.com>
12481
12482 [BZ #14793]
12483 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
12484 exponent and small x and y exponents, scale x or y up. Increase
12485 by 2 the exponent used in scaling up.
12486 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12487 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12488 * math/libm-test.inc (fma_test): Add more tests.
12489 (fma_test_towardzero): Likewise.
12490 (fma_test_downward): Likewise.
12491 (fma_test_upward): Likewise.
12492
99252c8c
JM
124932012-11-05 Joseph Myers <joseph@codesourcery.com>
12494
acfa885f
JM
12495 [BZ #14805]
12496 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
12497 fenv_t *.
12498
99252c8c
JM
12499 [BZ #14801]
12500 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
12501 namespace for names of struct fields.
12502 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
12503 fenv_t fields.
12504 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
12505 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
12506
d6d98dea
ST
125072012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12508
12509 [BZ #3665]
12510 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
12511
e10bb107
TS
125122012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12513
12514 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
12515 PTR_DEMANGLE.
12516
12517 [BZ #5246]
12518 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
12519 PTR_DEMANGLE.
12520
a0c2940d
JM
125212012-11-04 Joseph Myers <joseph@codesourcery.com>
12522
12523 [BZ #14797]
12524 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
12525 definitely overflow as x * y not x * y + z.
12526 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12527 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12528 * math/libm-test.inc (fma_test): Add more tests.
12529 (fma_test_towardzero): Likewise.
12530 (fma_test_downward): Likewise.
12531 (fma_test_upward): Likewise.
12532
b830319d
TS
125332012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12534
12535 [BZ #157]
12536
12537 * include/stub-tag.h: Remove file.
12538 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
12539 '#include' of it.
12540 * manual/maint.texi (Porting): Don't reference it.
12541 * Makerules ($(objpfx)stubs): Likewise.
12542 * dirent/closedir.c: Don't include <stub-tag.h>.
12543 * dirent/dirfd.c: Likewise.
12544 * dirent/fdopendir.c: Likewise.
12545 * dirent/getdents.c: Likewise.
12546 * dirent/getdents64.c: Likewise.
12547 * dirent/opendir.c: Likewise.
12548 * dirent/readdir.c: Likewise.
12549 * dirent/readdir64.c: Likewise.
12550 * dirent/readdir64_r.c: Likewise.
12551 * dirent/readdir_r.c: Likewise.
12552 * dirent/rewinddir.c: Likewise.
12553 * dirent/seekdir.c: Likewise.
12554 * dirent/telldir.c: Likewise.
12555 * gmon/profil.c: Likewise.
12556 * grp/setgroups.c: Likewise.
12557 * inet/if_index.c: Likewise.
12558 * io/access.c: Likewise.
12559 * io/chdir.c: Likewise.
12560 * io/chmod.c: Likewise.
12561 * io/chown.c: Likewise.
12562 * io/close.c: Likewise.
12563 * io/dup.c: Likewise.
12564 * io/dup2.c: Likewise.
12565 * io/dup3.c: Likewise.
12566 * io/euidaccess.c: Likewise.
12567 * io/faccessat.c: Likewise.
12568 * io/fchdir.c: Likewise.
12569 * io/fchmod.c: Likewise.
12570 * io/fchmodat.c: Likewise.
12571 * io/fchown.c: Likewise.
12572 * io/fchownat.c: Likewise.
12573 * io/fcntl.c: Likewise.
12574 * io/flock.c: Likewise.
12575 * io/fstatfs.c: Likewise.
12576 * io/fstatfs64.c: Likewise.
12577 * io/fstatvfs.c: Likewise.
12578 * io/fstatvfs64.c: Likewise.
12579 * io/futimens.c: Likewise.
12580 * io/fxstat.c: Likewise.
12581 * io/fxstat64.c: Likewise.
12582 * io/fxstatat.c: Likewise.
12583 * io/fxstatat64.c: Likewise.
12584 * io/getcwd.c: Likewise.
12585 * io/isatty.c: Likewise.
12586 * io/lchmod.c: Likewise.
12587 * io/lchown.c: Likewise.
12588 * io/link.c: Likewise.
12589 * io/linkat.c: Likewise.
12590 * io/lseek.c: Likewise.
12591 * io/lseek64.c: Likewise.
12592 * io/lxstat64.c: Likewise.
12593 * io/mkdir.c: Likewise.
12594 * io/mkdirat.c: Likewise.
12595 * io/mkfifo.c: Likewise.
12596 * io/mkfifoat.c: Likewise.
12597 * io/open.c: Likewise.
12598 * io/open64.c: Likewise.
12599 * io/openat.c: Likewise.
12600 * io/openat64.c: Likewise.
12601 * io/pipe.c: Likewise.
12602 * io/pipe2.c: Likewise.
12603 * io/poll.c: Likewise.
12604 * io/posix_fadvise.c: Likewise.
12605 * io/posix_fadvise64.c: Likewise.
12606 * io/posix_fallocate.c: Likewise.
12607 * io/posix_fallocate64.c: Likewise.
12608 * io/read.c: Likewise.
12609 * io/readlink.c: Likewise.
12610 * io/readlinkat.c: Likewise.
12611 * io/rmdir.c: Likewise.
12612 * io/sendfile.c: Likewise.
12613 * io/sendfile64.c: Likewise.
12614 * io/statfs.c: Likewise.
12615 * io/statfs64.c: Likewise.
12616 * io/statvfs.c: Likewise.
12617 * io/statvfs64.c: Likewise.
12618 * io/symlink.c: Likewise.
12619 * io/symlinkat.c: Likewise.
12620 * io/ttyname.c: Likewise.
12621 * io/ttyname_r.c: Likewise.
12622 * io/umask.c: Likewise.
12623 * io/unlink.c: Likewise.
12624 * io/unlinkat.c: Likewise.
12625 * io/utime.c: Likewise.
12626 * io/utimensat.c: Likewise.
12627 * io/write.c: Likewise.
12628 * io/xmknod.c: Likewise.
12629 * io/xmknodat.c: Likewise.
12630 * io/xstat.c: Likewise.
12631 * io/xstat64.c: Likewise.
12632 * login/getpt.c: Likewise.
12633 * login/grantpt.c: Likewise.
12634 * login/unlockpt.c: Likewise.
12635 * math/e_acoshl.c: Likewise.
12636 * math/e_acosl.c: Likewise.
12637 * math/e_asinl.c: Likewise.
12638 * math/e_atan2l.c: Likewise.
12639 * math/e_atanhl.c: Likewise.
12640 * math/e_coshl.c: Likewise.
12641 * math/e_expl.c: Likewise.
12642 * math/e_fmodl.c: Likewise.
12643 * math/e_gammal_r.c: Likewise.
12644 * math/e_hypotl.c: Likewise.
12645 * math/e_j0l.c: Likewise.
12646 * math/e_j1l.c: Likewise.
12647 * math/e_jnl.c: Likewise.
12648 * math/e_lgammal_r.c: Likewise.
12649 * math/e_log10l.c: Likewise.
12650 * math/e_log2l.c: Likewise.
12651 * math/e_logl.c: Likewise.
12652 * math/e_powl.c: Likewise.
12653 * math/e_rem_pio2l.c: Likewise.
12654 * math/e_sinhl.c: Likewise.
12655 * math/e_sqrtl.c: Likewise.
12656 * math/fclrexcpt.c: Likewise.
12657 * math/fedisblxcpt.c: Likewise.
12658 * math/feenablxcpt.c: Likewise.
12659 * math/fegetenv.c: Likewise.
12660 * math/fegetexcept.c: Likewise.
12661 * math/fegetround.c: Likewise.
12662 * math/feholdexcpt.c: Likewise.
12663 * math/fesetenv.c: Likewise.
12664 * math/fesetround.c: Likewise.
12665 * math/feupdateenv.c: Likewise.
12666 * math/fgetexcptflg.c: Likewise.
12667 * math/fraiseexcpt.c: Likewise.
12668 * math/fsetexcptflg.c: Likewise.
12669 * math/ftestexcept.c: Likewise.
12670 * math/k_cosl.c: Likewise.
12671 * math/k_rem_pio2l.c: Likewise.
12672 * math/k_sinl.c: Likewise.
12673 * math/k_tanl.c: Likewise.
12674 * math/s_asinhl.c: Likewise.
12675 * math/s_atanl.c: Likewise.
12676 * math/s_cbrtl.c: Likewise.
12677 * math/s_erfl.c: Likewise.
12678 * math/s_expm1l.c: Likewise.
12679 * math/s_log1pl.c: Likewise.
12680 * math/s_tanhl.c: Likewise.
12681 * misc/acct.c: Likewise.
12682 * misc/brk.c: Likewise.
12683 * misc/chflags.c: Likewise.
12684 * misc/chroot.c: Likewise.
12685 * misc/fchflags.c: Likewise.
12686 * misc/fgetxattr.c: Likewise.
12687 * misc/flistxattr.c: Likewise.
12688 * misc/fremovexattr.c: Likewise.
12689 * misc/fsetxattr.c: Likewise.
12690 * misc/fsync.c: Likewise.
12691 * misc/ftruncate.c: Likewise.
12692 * misc/futimes.c: Likewise.
12693 * misc/futimesat.c: Likewise.
12694 * misc/getdomain.c: Likewise.
12695 * misc/getdtsz.c: Likewise.
12696 * misc/gethostid.c: Likewise.
12697 * misc/gethostname.c: Likewise.
12698 * misc/getloadavg.c: Likewise.
12699 * misc/getpagesize.c: Likewise.
12700 * misc/getsysstats.c: Likewise.
12701 * misc/getxattr.c: Likewise.
12702 * misc/gtty.c: Likewise.
12703 * misc/ioctl.c: Likewise.
12704 * misc/lgetxattr.c: Likewise.
12705 * misc/listxattr.c: Likewise.
12706 * misc/llistxattr.c: Likewise.
12707 * misc/lremovexattr.c: Likewise.
12708 * misc/lsetxattr.c: Likewise.
12709 * misc/lutimes.c: Likewise.
12710 * misc/madvise.c: Likewise.
12711 * misc/mincore.c: Likewise.
12712 * misc/mlock.c: Likewise.
12713 * misc/mlockall.c: Likewise.
12714 * misc/mmap.c: Likewise.
12715 * misc/mprotect.c: Likewise.
12716 * misc/msync.c: Likewise.
12717 * misc/munlock.c: Likewise.
12718 * misc/munlockall.c: Likewise.
12719 * misc/munmap.c: Likewise.
12720 * misc/preadv.c: Likewise.
12721 * misc/preadv64.c: Likewise.
12722 * misc/ptrace.c: Likewise.
12723 * misc/pwritev.c: Likewise.
12724 * misc/pwritev64.c: Likewise.
12725 * misc/readv.c: Likewise.
12726 * misc/reboot.c: Likewise.
12727 * misc/remap_file_pages.c: Likewise.
12728 * misc/removexattr.c: Likewise.
12729 * misc/revoke.c: Likewise.
12730 * misc/select.c: Likewise.
12731 * misc/setdomain.c: Likewise.
12732 * misc/setegid.c: Likewise.
12733 * misc/seteuid.c: Likewise.
12734 * misc/sethostid.c: Likewise.
12735 * misc/sethostname.c: Likewise.
12736 * misc/setregid.c: Likewise.
12737 * misc/setreuid.c: Likewise.
12738 * misc/setxattr.c: Likewise.
12739 * misc/sstk.c: Likewise.
12740 * misc/stty.c: Likewise.
12741 * misc/swapoff.c: Likewise.
12742 * misc/swapon.c: Likewise.
12743 * misc/sync.c: Likewise.
12744 * misc/syncfs.c: Likewise.
12745 * misc/syscall.c: Likewise.
12746 * misc/truncate.c: Likewise.
12747 * misc/ualarm.c: Likewise.
12748 * misc/usleep.c: Likewise.
12749 * misc/ustat.c: Likewise.
12750 * misc/utimes.c: Likewise.
12751 * misc/vhangup.c: Likewise.
12752 * misc/writev.c: Likewise.
12753 * posix/_exit.c: Likewise.
12754 * posix/alarm.c: Likewise.
12755 * posix/execve.c: Likewise.
12756 * posix/fexecve.c: Likewise.
12757 * posix/fork.c: Likewise.
12758 * posix/fpathconf.c: Likewise.
12759 * posix/getaddrinfo.c: Likewise.
12760 * posix/getegid.c: Likewise.
12761 * posix/geteuid.c: Likewise.
12762 * posix/getgid.c: Likewise.
12763 * posix/getgroups.c: Likewise.
12764 * posix/getlogin.c: Likewise.
12765 * posix/getlogin_r.c: Likewise.
12766 * posix/getpgid.c: Likewise.
12767 * posix/getpid.c: Likewise.
12768 * posix/getppid.c: Likewise.
12769 * posix/getresgid.c: Likewise.
12770 * posix/getresuid.c: Likewise.
12771 * posix/getsid.c: Likewise.
12772 * posix/getuid.c: Likewise.
12773 * posix/glob64.c: Likewise.
12774 * posix/nanosleep.c: Likewise.
12775 * posix/pathconf.c: Likewise.
12776 * posix/pause.c: Likewise.
12777 * posix/posix_madvise.c: Likewise.
12778 * posix/pread.c: Likewise.
12779 * posix/pread64.c: Likewise.
12780 * posix/pwrite.c: Likewise.
12781 * posix/pwrite64.c: Likewise.
12782 * posix/sched_getaffinity.c: Likewise.
12783 * posix/sched_getp.c: Likewise.
12784 * posix/sched_gets.c: Likewise.
12785 * posix/sched_primax.c: Likewise.
12786 * posix/sched_primin.c: Likewise.
12787 * posix/sched_rr_gi.c: Likewise.
12788 * posix/sched_setaffinity.c: Likewise.
12789 * posix/sched_setp.c: Likewise.
12790 * posix/sched_sets.c: Likewise.
12791 * posix/sched_yield.c: Likewise.
12792 * posix/setgid.c: Likewise.
12793 * posix/setlogin.c: Likewise.
12794 * posix/setpgid.c: Likewise.
12795 * posix/setresgid.c: Likewise.
12796 * posix/setresuid.c: Likewise.
12797 * posix/setsid.c: Likewise.
12798 * posix/setuid.c: Likewise.
12799 * posix/sleep.c: Likewise.
12800 * posix/spawni.c: Likewise.
12801 * posix/sysconf.c: Likewise.
12802 * posix/times.c: Likewise.
12803 * posix/wait.c: Likewise.
12804 * posix/wait3.c: Likewise.
12805 * posix/wait4.c: Likewise.
12806 * posix/waitpid.c: Likewise.
12807 * resolv/gai_sigqueue.c: Likewise.
12808 * resource/getpriority.c: Likewise.
12809 * resource/getrlimit.c: Likewise.
12810 * resource/getrusage.c: Likewise.
12811 * resource/nice.c: Likewise.
12812 * resource/setpriority.c: Likewise.
12813 * resource/setrlimit.c: Likewise.
12814 * resource/ulimit.c: Likewise.
12815 * rt/aio_cancel.c: Likewise.
12816 * rt/aio_fsync.c: Likewise.
12817 * rt/aio_read.c: Likewise.
12818 * rt/aio_sigqueue.c: Likewise.
12819 * rt/aio_suspend.c: Likewise.
12820 * rt/aio_write.c: Likewise.
12821 * rt/clock_getres.c: Likewise.
12822 * rt/clock_gettime.c: Likewise.
12823 * rt/clock_nanosleep.c: Likewise.
12824 * rt/clock_settime.c: Likewise.
12825 * rt/lio_listio.c: Likewise.
12826 * rt/mq_close.c: Likewise.
12827 * rt/mq_getattr.c: Likewise.
12828 * rt/mq_notify.c: Likewise.
12829 * rt/mq_open.c: Likewise.
12830 * rt/mq_receive.c: Likewise.
12831 * rt/mq_send.c: Likewise.
12832 * rt/mq_setattr.c: Likewise.
12833 * rt/mq_timedreceive.c: Likewise.
12834 * rt/mq_timedsend.c: Likewise.
12835 * rt/mq_unlink.c: Likewise.
12836 * rt/shm_open.c: Likewise.
12837 * rt/shm_unlink.c: Likewise.
12838 * rt/timer_create.c: Likewise.
12839 * rt/timer_delete.c: Likewise.
12840 * rt/timer_getoverr.c: Likewise.
12841 * rt/timer_gettime.c: Likewise.
12842 * rt/timer_settime.c: Likewise.
12843 * setjmp/__longjmp.c: Likewise.
12844 * setjmp/setjmp.c: Likewise.
12845 * signal/kill.c: Likewise.
12846 * signal/killpg.c: Likewise.
12847 * signal/raise.c: Likewise.
12848 * signal/sigaction.c: Likewise.
12849 * signal/sigaltstack.c: Likewise.
12850 * signal/sigblock.c: Likewise.
12851 * signal/sigignore.c: Likewise.
12852 * signal/sigintr.c: Likewise.
12853 * signal/signal.c: Likewise.
12854 * signal/sigpause.c: Likewise.
12855 * signal/sigpending.c: Likewise.
12856 * signal/sigqueue.c: Likewise.
12857 * signal/sigreturn.c: Likewise.
12858 * signal/sigset.c: Likewise.
12859 * signal/sigsetmask.c: Likewise.
12860 * signal/sigstack.c: Likewise.
12861 * signal/sigsuspend.c: Likewise.
12862 * signal/sigtimedwait.c: Likewise.
12863 * signal/sigvec.c: Likewise.
12864 * signal/sigwait.c: Likewise.
12865 * signal/sigwaitinfo.c: Likewise.
12866 * signal/sysv_signal.c: Likewise.
12867 * socket/accept.c: Likewise.
12868 * socket/accept4.c: Likewise.
12869 * socket/bind.c: Likewise.
12870 * socket/connect.c: Likewise.
12871 * socket/getpeername.c: Likewise.
12872 * socket/getsockname.c: Likewise.
12873 * socket/getsockopt.c: Likewise.
12874 * socket/isfdtype.c: Likewise.
12875 * socket/listen.c: Likewise.
12876 * socket/recv.c: Likewise.
12877 * socket/recvfrom.c: Likewise.
12878 * socket/recvmsg.c: Likewise.
12879 * socket/send.c: Likewise.
12880 * socket/sendmsg.c: Likewise.
12881 * socket/sendto.c: Likewise.
12882 * socket/setsockopt.c: Likewise.
12883 * socket/shutdown.c: Likewise.
12884 * socket/sockatmark.c: Likewise.
12885 * socket/socket.c: Likewise.
12886 * socket/socketpair.c: Likewise.
12887 * stdio-common/ctermid.c: Likewise.
12888 * stdio-common/cuserid.c: Likewise.
12889 * stdio-common/remove.c: Likewise.
12890 * stdio-common/rename.c: Likewise.
12891 * stdio-common/renameat.c: Likewise.
12892 * stdio-common/tempname.c: Likewise.
12893 * stdlib/getcontext.c: Likewise.
12894 * stdlib/makecontext.c: Likewise.
12895 * stdlib/setcontext.c: Likewise.
12896 * stdlib/swapcontext.c: Likewise.
12897 * stdlib/system.c: Likewise.
12898 * streams/fattach.c: Likewise.
12899 * streams/fdetach.c: Likewise.
12900 * streams/getmsg.c: Likewise.
12901 * streams/getpmsg.c: Likewise.
12902 * streams/putmsg.c: Likewise.
12903 * streams/putpmsg.c: Likewise.
12904 * sysdeps/unix/bsd/getpt.c: Likewise.
12905 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
12906 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
12907 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12909 Likewise.
12910 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
12911 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12912 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12913 * sysvipc/msgctl.c: Likewise.
12914 * sysvipc/msgget.c: Likewise.
12915 * sysvipc/msgrcv.c: Likewise.
12916 * sysvipc/msgsnd.c: Likewise.
12917 * sysvipc/semctl.c: Likewise.
12918 * sysvipc/semget.c: Likewise.
12919 * sysvipc/semop.c: Likewise.
12920 * sysvipc/semtimedop.c: Likewise.
12921 * sysvipc/shmat.c: Likewise.
12922 * sysvipc/shmctl.c: Likewise.
12923 * sysvipc/shmdt.c: Likewise.
12924 * sysvipc/shmget.c: Likewise.
12925 * termios/tcdrain.c: Likewise.
12926 * termios/tcflow.c: Likewise.
12927 * termios/tcflush.c: Likewise.
12928 * termios/tcgetattr.c: Likewise.
12929 * termios/tcgetpgrp.c: Likewise.
12930 * termios/tcsendbrk.c: Likewise.
12931 * termios/tcsetattr.c: Likewise.
12932 * termios/tcsetpgrp.c: Likewise.
12933 * time/adjtime.c: Likewise.
12934 * time/clock.c: Likewise.
12935 * time/getitimer.c: Likewise.
12936 * time/gettimeofday.c: Likewise.
12937 * time/setitimer.c: Likewise.
12938 * time/settimeofday.c: Likewise.
12939 * time/stime.c: Likewise.
12940 * time/time.c: Likewise.
12941
129422012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 12943
a20492cf
PT
12944 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
12945 /usr/old/bin.
12946
72e182e3
PT
12947 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
12948 instead of spaces.
12949 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
12950
fbeafede
JM
129512012-11-03 Joseph Myers <joseph@codesourcery.com>
12952
5b5b04d6
JM
12953 [BZ #14796]
12954 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
12955 FE_TONEAREST before applying Dekker multiplication and Knuth
12956 addition. Clear inexact exceptions and check for exact zero
12957 results afterwards.
12958 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12959 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12960 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12961 * math/libm-test.inc (fma_test): Add more tests.
12962 (fma_test_towardzero): Likewise.
12963 (fma_test_downward): Likewise.
12964 (fma_test_upward): Likewise.
12965 * sysdeps/generic/math_private.h (default_libc_fesetround): New
12966 function.
12967 (libc_fesetround): New macro.
12968 (libc_fesetroundf): Likewise.
12969 (libc_fesetroundl): Likewise.
12970 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
12971 function.
12972 (libc_fesetround_387): Likewise.
12973 (libc_fesetroundf): New macro.
12974 (libc_fesetround): Likewise.
12975 (libc_fesetroundl): Likewise.
12976 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
12977 function.
12978 (libc_fesetroundf): New macro.
12979 (libc_fesetround): Likewise.
12980 (libc_fesetroundl): Likewise.
12981 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
12982 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
12983 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
12984 libm_hidden_ver.
12985 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
12986 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
12987 libm_hidden_def.
12988 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
12989 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
12990 libm_hidden_ver.
12991 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
12992 libm_hidden_def.
12993
fbeafede
JM
12994 [BZ #3439]
12995 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
12996 integer constant usable in #if and use that to give value to enum
12997 constant.
12998 (FE_DIVBYZERO): Likewise.
12999 (FE_UNDERFLOW): Likewise.
13000 (FE_OVERFLOW): Likewise.
13001 (FE_INVALID): Likewise.
13002 (FE_INVALID_SNAN): Likewise.
13003 (FE_INVALID_ISI): Likewise.
13004 (FE_INVALID_IDI): Likewise.
13005 (FE_INVALID_ZDZ): Likewise.
13006 (FE_INVALID_IMZ): Likewise.
13007 (FE_INVALID_COMPARE): Likewise.
13008 (FE_INVALID_SOFTWARE): Likewise.
13009 (FE_INVALID_SQRT): Likewise.
13010 (FE_INVALID_INTEGER_CONVERSION): Likewise.
13011 (FE_TONEAREST): Likewise.
13012 (FE_TOWARDZERO): Likewise.
13013 (FE_UPWARD): Likewise.
13014 (FE_DOWNWARD): Likewise.
13015 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
13016 (FE_DIVBYZERO): Likewise.
13017 (FE_OVERFLOW): Likewise.
13018 (FE_UNDERFLOW): Likewise.
13019 (FE_INEXACT): Likewise.
13020 (FE_TONEAREST): Likewise.
13021 (FE_DOWNWARD): Likewise.
13022 (FE_UPWARD): Likewise.
13023 (FE_TOWARDZERO): Likewise.
13024 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
13025 (FE_UNDERFLOW): Likewise.
13026 (FE_OVERFLOW): Likewise.
13027 (FE_DIVBYZERO): Likewise.
13028 (FE_INVALID): Likewise.
13029 (FE_TONEAREST): Likewise.
13030 (FE_TOWARDZERO): Likewise.
13031 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
13032 (FE_OVERFLOW): Likewise.
13033 (FE_UNDERFLOW): Likewise.
13034 (FE_DIVBYZERO): Likewise.
13035 (FE_INEXACT): Likewise.
13036 (FE_TONEAREST): Likewise.
13037 (FE_TOWARDZERO): Likewise.
13038 (FE_UPWARD): Likewise.
13039 (FE_DOWNWARD): Likewise.
13040 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
13041 (FE_DIVBYZERO): Likewise.
13042 (FE_OVERFLOW): Likewise.
13043 (FE_UNDERFLOW): Likewise.
13044 (FE_INEXACT): Likewise.
13045 (FE_TONEAREST): Likewise.
13046 (FE_DOWNWARD): Likewise.
13047 (FE_UPWARD): Likewise.
13048 (FE_TOWARDZERO): Likewise.
13049
105ca950
CM
130502012-11-02 Chris Metcalf <cmetcalf@tilera.com>
13051
13052 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
13053
a542b389
AS
130542012-11-03 Andreas Schwab <schwab@linux-m68k.org>
13055
13056 * scripts/cross-test-ssh.sh (command): Use newlines to separate
13057 commands. Quote $PWD.
13058 (blacklist_exports): Don't use remove_newlines. Replace "declare
13059 -x" by "export".
13060 (remove_newlines): Remove.
13061
f62c8abc
L
130622012-11-02 H.J. Lu <hongjiu.lu@intel.com>
13063
13064 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
13065 * stdlib/stdlib.h (atof): Moved to ...
13066 * include/bits/stdlib-float.h: Here. New file.
13067 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
13068 * stdlib/bits/stdlib-float.h: New file.
13069 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
13070 -mno-sse -mno-mmx.
13071 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
13072 <xmmintrin.h>.
13073
0155d5b2
JM
130742012-11-02 Joseph Myers <joseph@codesourcery.com>
13075
a68d0680
JM
13076 * conform/conformtest.pl (@headers): Add fenv.h.
13077 * conform/data/fenv.h-data: New file.
13078 * include/fenv.h [_ISOMAC]: Disable all contents of file except
13079 include of <math/fenv.h>.
13080
caf7f573
JM
13081 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
13082 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
13083 && !UNIX98]. Enables tests for XOPEN2K8.
13084 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
13085 POSIX2008]: Likewise.
13086
6c073ad6
JM
13087 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
13088 (struct rusage): Do not expect type or its members.
13089
0155d5b2
JM
13090 [BZ #3439]
13091 * math/math.h (FP_NAN): Define macro to integer constant usable in
13092 #if and use that to give value to enum constant.
13093 (FP_INFINITE): Likewise.
13094 (FP_ZERO): Likewise.
13095 (FP_SUBNORMAL): Likewise.
13096 (FP_NORMAL): Likewise.
13097
b5dcacb4
AS
130982012-11-02 Andreas Schwab <schwab@linux-m68k.org>
13099
13100 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
13101 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
13102 arguments.
13103
f7934be8
RM
131042012-11-02 Roland McGrath <roland@hack.frob.com>
13105
13106 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
13107 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
13108 autoconf-time if not.
13109 * configure.in: Remove AC_PREREQ.
13110
d7d08bde
TMQMF
131112012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13112
13113 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
13114 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
13115 of the internal implementation.
13116
dcdae19a
JM
131172012-11-02 Joseph Myers <joseph@codesourcery.com>
13118
13119 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
13120 except include of <misc/sys/syslog.h>.
13121
d6cffd3e
AS
131222012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13123
13124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
13125 function returns with a NULL context exit with zero.
13126
b3563932
TMQMF
131272012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13128
13129 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
13130
b288a93d
L
131312012-11-01 H.J. Lu <hongjiu.lu@intel.com>
13132
13133 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
13134 (run_program_cmd): This.
13135 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
13136 (tst_langinfo): New variable. Use it.
13137
a2421a68
SAS
131382012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
13139
13140 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
13141 floating point opcodes.
13142
6f796e1b
TS
131432012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13144
7402596b
TS
13145 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
13146 variable.
13147
d0d4f868
TS
13148 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
13149
6f796e1b
TS
13150 * sysdeps/mach/hurd/powerpc: Remove directory.
13151 * sysdeps/mach/powerpc: Likewise.
13152
4da224a2
AS
131532012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13154
13155 * scripts/check-local-headers.sh: Ignore c++ headers.
13156
341dd673
TS
131572012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13158
13159 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
13160 __libc_cleanup_region_start argument.
13161
473611b2
JM
131622012-11-01 Joseph Myers <joseph@codesourcery.com>
13163
13164 [BZ #14784]
13165 [BZ #14785]
13166 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
13167 x * y using scaling, not as x * y + z.
13168 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13169 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13170 * math/libm-test.inc (fma_test): Add more tests.
13171 (fma_test_towardzero): Likewise.
13172 (fma_test_downward): Likewise.
13173 (fma_test_upward): Likewise.
13174
4078da3d
TS
131752012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13176
13177 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
13178
903252aa
JM
131792012-10-31 Joseph Myers <joseph@codesourcery.com>
13180
13181 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
13182 New variable.
13183
cbc818d0
TS
131842012-10-31 Thomas Schwinge <thomas@codesourcery.com>
13185
13186 * rt/tst-shm.c (worker): Correct checking for mmap failure.
13187
5a03cb1e
AS
131882012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13189
13190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13191 Fix sort order.
13192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13193 Likewise.
13194
90aff2ff
TMQMF
131952012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13196
13197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13198 Fix the order of the list for glibc 2.17.
13199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13200 Likewise.
13201
1818fcb7
AS
132022012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13203
13204 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13205
ef82f4da
JM
132062012-10-31 Joseph Myers <joseph@codesourcery.com>
13207
16a0e2ec
JM
13208 [BZ #14610]
13209 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
13210 for low part of x being zero before using __atanl (y).
13211 * math/libm-test.inc (atan2_test): Add another test.
13212
0eb69512
JM
13213 * manual/install.texi (Configuring and compiling): Document
13214 general use of test-wrapper and test-wrapper-env.
13215 * INSTALL: Regenerated.
13216
ef82f4da
JM
13217 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
13218 (__fma): Do not extract and scale down low bits on after-rounding
13219 systems when result rounded to normal precision would have normal
13220 exponent.
13221 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
13222 (__fmal): Do not extract and scale down low bits on after-rounding
13223 systems when result rounded to normal precision would have normal
13224 exponent.
13225 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
13226 (__fmal): Do not extract and scale down low bits on after-rounding
13227 systems when result rounded to normal precision would have normal
13228 exponent.
13229 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
13230 macro.
13231 (fma_test): Add more tests.
13232 (fma_test_towardzero): Likewise.
13233 (fma_test_downward): Likewise.
13234 (fma_test_upward): Likewise.
13235
954ef0d9
L
132362012-10-30 H.J. Lu <hongjiu.lu@intel.com>
13237
13238 * sysdeps/i386/tininess.h: Renamed to ...
13239 * sysdeps/x86/tininess.h: This.
13240 * sysdeps/x86_64/tininess.h: Removed.
13241
df61ffb2
JM
132422012-10-30 Joseph Myers <joseph@codesourcery.com>
13243
13244 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
13245 input. Use $(build-program-cmd).
13246 ($(objpfx)tst-array1-static.out): Likewise.
13247 ($(objpfx)tst-array2.out): Likewise.
13248 ($(objpfx)tst-array3.out): Likewise.
13249 ($(objpfx)tst-array4.out): Likewise.
13250 ($(objpfx)tst-array5.out): Likewise.
13251 ($(objpfx)tst-array5-static.out): Likewise.
13252
01767843
CM
132532012-10-30 Chris Metcalf <cmetcalf@tilera.com>
13254
47cc1490
CM
13255 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
13256 if defined.
13257
01767843
CM
13258 * nss/nsswitch.h (nss_interface_function): Provide new
13259 macro for use with NSS functions.
13260 * grp/initgroups.c: Use new macro.
13261 * nss/getXXbyYY.c: Likewise.
13262 * nss/getXXbyYY_r.c: Likewise.
13263 * nss/getXXent.c: Likewise.
13264 * nss/getXXent_r.c: Likewise.
13265 * sysdeps/posix/getaddrinfo.c: Likewise.
13266
8321aa97
AJ
132672012-10-30 Andreas Jaeger <aj@suse.de>
13268
13269 * po/ru.po: Update Russion translation from translation project.
13270
2a27fd6d
JM
132712012-10-30 Joseph Myers <joseph@codesourcery.com>
13272
8627a232
JM
13273 [BZ #14152]
13274 [BZ #14783]
13275 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
13276 result and shift together with sticky bit instead of replicating
13277 round-to-nearest rounding.
13278 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13279 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13280 * math/libm-test.inc (fma_test): Add more tests. Do not permit
13281 missing underflow exceptions.
13282 (fma_test_towardzero): Add more tests.
13283 (fma_test_downward): Likewise.
13284 (fma_test_upward): Likewise.
13285
2a27fd6d
JM
13286 [BZ #14047]
13287 * sysdeps/generic/tininess.h: New file.
13288 * sysdeps/i386/tininess.h: Likewise.
13289 * sysdeps/sh/tininess.h: Likewise.
13290 * sysdeps/x86_64/tininess.h: Likewise.
13291 * stdlib/tst-strtod-underflow.c: Likewise.
13292 * stdlib/tst-tininess.c: Likewise.
13293 * stdlib/strtod_l.c: Include <tininess.h>.
13294 (round_and_return): Do not set errno for exact underflow cases.
13295 Force an underflow exception when setting errno for underflow.
13296 Determine underflow based on rounding to normal precision if
13297 TININESS_AFTER_ROUNDING.
13298 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
13299 ERANGE for exact underflow cases.
13300 * stdlib/Makefile (tests): Add tst-tininess and
13301 tst-strtod-underflow.
13302 ($(objpfx)tst-tininess): Use $(link-libm).
13303 ($(objpfx)tst-strtod-underflow): Likewise.
13304
e7170363
AJ
133052012-10-30 Andreas Jaeger <aj@suse.de>
13306
e5088dc6
AJ
13307 [BZ#14767]
13308 * elf/Makefile (tests): Remove conditional for have-initfini-array
13309 since this is now always required and the variable does not exist
13310 anymore.
13311 (tests-static): Likewise.
13312 (modules-names): Likewise.
13313
e7170363 13314 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
13315
13316 * elf/tst-array1.c (fini_array): Make writeable so that it can be
13317 merged with constructor/destructor.
13318 (init_array): Likewise.
13319 * elf/tst-array2dep.c (fini_array): Likewise.
13320 (init_array): Likewise.
13321
60457d8a
MF
133222012-10-29 Mike Frysinger <vapier@gentoo.org>
13323
13324 * manual/message.texi: Delete @cartouche tags.
13325
8bece752
PT
133262012-10-29 Pino Toscano <toscano.pino@tiscali.it>
13327
94ce799f
PT
13328 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
13329 EOPNOTSUPP.
13330 * sysdeps/mach/hurd/fsync.c: Likewise.
13331
8bece752
PT
13332 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
13333 [_POSIX_REALTIME_SIGNALS]: Change condition to
13334 [_POSIX_REALTIME_SIGNALS > 0].
13335
86ebe6b1
AJ
133362012-10-27 Andreas Jaeger <aj@suse.de>
13337
13338 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
13339 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
13340 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
13341 [__WORDSIZE != 64]: Likewise.
13342
54399c08
L
133432012-10-26 H.J. Lu <hongjiu.lu@intel.com>
13344
13345 * iconvdata/tst-table.sh: Remove ${SHELL}.
13346 * iconvdata/tst-tables.sh: Likewise.
13347
e2211bed
DM
133482012-10-25 David S. Miller <davem@davemloft.net>
13349
13350 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13351 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
13352 of strtoull.
13353
f303f97c
DM
13354 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
13355 ifunc-impl-list.c
13356 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13357 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
13358 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
13359 file.
13360
1e9d84cd
RM
133612012-10-25 Roland McGrath <roland@hack.frob.com>
13362
13363 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13364 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
13365 __getdirentries.
13366
df381762
JM
133672012-10-25 Joseph Myers <joseph@codesourcery.com>
13368 Jim Blandy <jimb@codesourcery.com>
13369
13370 * scripts/cross-test-ssh.sh: New file.
13371 * manual/install.texi (Configuring and compiling): Document use of
13372 cross-test-ssh.sh.
13373 * INSTALL: Regenerated.
13374
bff64913
PT
133752012-10-25 Pino Toscano <toscano.pino@tiscali.it>
13376
13377 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
13378 EOPNOTSUPP.
13379
25fe8932
JM
133802012-10-25 Joseph Myers <joseph@codesourcery.com>
13381
13382 * Makeconfig (run-program-prefix): Fix comment.
13383
cc1290d0
JM
133842012-10-24 Joseph Myers <joseph@codesourcery.com>
13385 Jim Blandy <jimb@codesourcery.com>
13386
13387 * Makeconfig (test-wrapper): New variable,
13388 (test-wrapper-env): Likewise.
13389 [$(cross-compiling) = yes && $(test-wrapper) != ""]
13390 (run-built-tests): Define to yes.
13391 (run-program-prefix): Use $(test-wrapper).
13392 (built-program-cmd): Likewise.
13393 * Rules (make-test-out): Use $(test-wrapper-env) and
13394 $(host-built-program-cmd).
13395 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
13396 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
13397 tst-pathopt.sh.
13398 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
13399 $(test-wrapper-env) to tst-rtld-load-self.sh.
13400 ($(objpfx)order2.out): Use $(test-wrapper).
13401 ($(objpfx)tst-initorder.out): Likewise.
13402 ($(objpfx)tst-initorder2.out): Likewise.
13403 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
13404 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
13405 (test_wrapper_env): New variable. Use it to run ld.so.
13406 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
13407 Use it to run ld.so.
13408 (test_wrapper_env): Likewise.
13409 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
13410 $(test-wrapper) to run-iconv-test.sh.
13411 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
13412 (ICONV): Use $test_wrapper.
13413 * posix/Makefile ($(objpfx)globtest.out): Pass
13414 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
13415 globtest.sh, not $(run-program-prefix).
13416 * posix/globtest.sh (run_via_rtld_prefix): New variable.
13417 (test_wrapper): Likewise.
13418 (test_wrapper_env): Likewise. Use it to run globtest with HOME
13419 set together with run_via_rtld_prefix.
13420 (run_program_prefix): Define in terms of test_wrapper and
13421 run_via_rtld_prefix.
13422
6e6249d0
RM
134232012-10-24 Roland McGrath <roland@hack.frob.com>
13424
13425 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
13426 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
13427 Targets removed.
13428
13429 [BZ #14743]
13430 * include/time.h: Remove librt_hidden_proto (clock_gettime).
13431 Declare __clock_getres, __clock_gettime, __clock_settime,
13432 __clock_nanosleep, and __clock_getcpuclockid.
13433 * rt/clock_gettime.c: Define __clock_gettime as an alias.
13434 Remove librt_hidden_def (clock_gettime).
13435 * sysdeps/unix/clock_gettime.c: Likewise.
13436 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
13437 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13438 * rt/clock_getres.c: Define __clock_getres as an alias.
13439 * sysdeps/posix/clock_getres.c: Likewise.
13440 * rt/clock_settime.c: Define __clock_settime as an alias.
13441 * sysdeps/unix/clock_settime.c: Likewise.
13442 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
13443 * sysdeps/unix/clock_nanosleep.c: Likewise.
13444 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13445 * rt/clock-compat.c: New file.
13446 * rt/Makefile (librt-routines): Add clock-compat and move
13447 $(clock-routines) to ...
13448 (routines): ... here, new variable.
13449 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
13450 Don't add get_clockfreq here.
13451 * rt/Versions (libc: GLIBC_2.17): New version set.
13452 Add clock_* symbols here.
13453 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
13454 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
13455 (GLIBC_2.17): Add clock_* symbols.
13456 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13458 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13460 Likewise.
13461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13462 Likewise.
13463 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13464 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13465 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13467 * NEWS: Mention the move.
13468
13469 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13470 Use __open, __read, __close rather than their public counterparts.
13471 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13472 (__get_clockfreq_via_cpuinfo): Likewise.
13473 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
13474 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
13475
13476 * config.h.in (HAVE_IFUNC): New #undef.
13477 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
13478 was successful.
13479 * configure: Regenerated.
13480
0cae3f4b
MF
134812012-10-24 Mike Frysinger <vapier@gentoo.org>
13482
13483 * configure.in: Move READELF check to start of file.
13484 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
13485 libc_cv_asm_gnu_indirect_function in the process.
13486 * configure: Regenerated.
13487
8175a253
MF
134882012-10-24 Mike Frysinger <vapier@gentoo.org>
13489
13490 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
13491 send the output to /dev/null.
13492 (libc_cv_cc_with_libunwind): Likewise.
13493 (libc_cv_as_noexecstack): Likewise.
13494 * configure: Regenerate.
13495
0708a7d1
JM
134962012-10-24 Joseph Myers <joseph@codesourcery.com>
13497
10b40d85
JM
13498 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
13499
0708a7d1
JM
13500 * posix/globtest.sh (TMPDIR): Do not set.
13501 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
13502 (testout): Likewise.
13503
9fddec1a
AJ
135042012-10-24 Andreas Jaeger <aj@suse.de>
13505
3a8db22f
AJ
13506 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
13507 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
13508 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
13509 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
13510 posix_fadvise64, posix_fallocate64.
13511
9fddec1a
AJ
13512 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
13513 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
13514 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
13515 Likewise.
13516 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
13517 Likewise.
13518 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
13519
13520 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
13521 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
13522 <bits/fcntl-linux.h>.
13523 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
13524
13525 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
13526 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
13527 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
13528 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
13529 [__WORDSIZE != 64]: Likewise.
13530
ebfd1bbd
JM
135312012-10-23 Joseph Myers <joseph@codesourcery.com>
13532
03ac099f
JM
13533 * Makeconfig (run-built-tests): New variable.
13534 * Rules [$(cross-compiling) = yes]: Change condition to
13535 [$(run-built-tests) = no].
13536 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
13537 to [$(run-built-tests) = yes].
13538 * elf/Makefile [$(cross-compiling) = no]: Likewise
13539 * grp/Makefile [$(cross-compiling) = no]: Likewise.
13540 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
13541 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
13542 * intl/Makefile [$(cross-compiling) = no]: Likewise.
13543 * io/Makefile [$(cross-compiling) = no]: Likewise.
13544 * libio/Makefile [$(cross-compiling) = no]: Likewise.
13545 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
13546 * misc/Makefile [$(cross-compiling) = no]: Likewise.
13547 * posix/Makefile [$(cross-compiling) = no]: Likewise.
13548 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
13549 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
13550 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
13551 * string/Makefile [$(cross-compiling) = no]: Likewise.
13552
ebfd1bbd
JM
13553 * posix/Makefile ($(objpfx)globtest.out): Pass
13554 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
13555 $(rtld-installed-name).
13556 * posix/globtest.sh (elf_objpfx): Remove variable.
13557 (rtld_installed_name): Likewise.
13558 (library_path): Likewise.
13559 (run_program_prefix): New variable. Use for running globtest
13560 binary.
13561
166bca24
JB
135622012-10-23 Jim Blandy <jimb@codesourcery.com>
13563 Joseph Myers <joseph@codesourcery.com>
13564
13565 * Makeconfig (host-built-program-cmd): New variable.
13566 * elf/Makefile (tst-stackguard1-ARGS): Use
13567 $(host-built-program-cmd).
13568 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
13569 (tst-spawn-ARGS): Likewise.
13570 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
13571
88866099
JM
135722012-10-23 Joseph Myers <joseph@codesourcery.com>
13573 Jim Blandy <jimb@codesourcery.com>
13574
13575 * Makeconfig (run-via-rtld-prefix): New variable.
13576 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
13577 (built-program-cmd): Likewise.
13578
b4b4c296
AJ
135792012-10-22 Andreas Jaeger <aj@suse.de>
13580
13581 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
13582 __O_RSYNC if it exists, otherwise to O_SYNC.
13583
6fb54a22
JB
135842012-10-22 Jim Blandy <jimb@codesourcery.com>
13585 Joseph Myers <joseph@codesourcery.com>
13586
13587 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
13588 /dev/null.
13589 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
13590 from /dev/null
13591 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
13592 /dev/null.
13593
481b90b9
AJ
135942012-10-22 Andreas Jaeger <aj@suse.de>
13595
2a0e2669
AJ
13596 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
13597 Define always.
13598 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
13599
76e38f9a
AJ
13600 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13601 bits/fcntl-linux.h.
13602
7cd37b43
AJ
13603 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
13604 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
13605
481b90b9
AJ
13606 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
13607 to __O_LARGEFILE.
13608 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
13609 to __O_LARGEFILE.
13610
aba75984
JB
136112012-10-21 Jim Blandy <jimb@codesourcery.com>
13612 Joseph Myers <joseph@codesourcery.com>
13613
13614 * config.make.in (NM): New variable.
13615
88d4247f
AJ
136162012-10-21 Andreas Jaeger <aj@suse.de>
13617
13618 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
13619 definitions and declarations that are provided by
13620 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13621
f2eed205
L
136222012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13623
13624 [BZ #14683]
13625 * elf/Makefile (tests-static): Add tst-leaks1-static.
13626 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
13627 ($(objpfx)tst-leaks1-static): New rule.
13628 ($(objpfx)tst-leaks1-static-mem): Likewise.
13629 (tst-leaks1-static-ENV): New macro.
13630 * elf/dl-open.c (dl_open_worker): Check the main application
13631 only if SHARED is defined.
13632 * elf/tst-leaks1-static.c: New file.
13633
335e6931
AJ
136342012-10-20 Andreas Jaeger <aj@suse.de>
13635
13636 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
13637 generic values for Linux.
13638 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
13639 and declarations that are provided by <bits/fcntl-linux.h> and
13640 include <bits/fcntl-linux.h>.
13641 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13642 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13643
ac5c94d3
RM
136442012-10-20 Roland McGrath <roland@hack.frob.com>
13645
13646 * io/fcntl.h: Move include of <bits/types.h> to the top and
13647 include it unconditionally.
13648
de54b33a
L
136492012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13650
228cfb01
L
13651 * wcsmbs/Makefile (tests-ifunc): New variable.
13652 (tests): Add $(tests-ifunc).
13653 * wcsmbs/test-wcschr-ifunc.c: New file.
13654 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13655 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13656 * wcsmbs/test-wcslen-ifunc.c: Likewise.
13657 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13658 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13659
69f07e5f
L
13660 * string/Makefile (tests-ifunc): New variable.
13661 (tests): Add $(tests-ifunc).
13662 * string/test-memccpy.c (TEST_NAME): New macro.
13663 * string/test-memchr.c (TEST_NAME): Likewise.
13664 * string/test-memcmp.c (TEST_NAME): Likewise.
13665 * string/test-memcpy.c (TEST_NAME): Likewise.
13666 * string/test-memmem.c (TEST_NAME): Likewise.
13667 * string/test-memmove.c (TEST_NAME): Likewise.
13668 * string/test-memset.c (TEST_NAME): Likewise.
13669 * string/test-rawmemchr.c (TEST_NAME): Likewise.
13670 * string/test-stpcpy.c (TEST_NAME): Likewise.
13671 * string/test-stpncpy.c (TEST_NAME): Likewise.
13672 * string/test-strcasecmp.c (TEST_NAME): Likewise.
13673 * string/test-strcasestr.c (TEST_NAME): Likewise.
13674 * string/test-strcat.c (TEST_NAME): Likewise.
13675 * string/test-strchr.c (TEST_NAME): Likewise.
13676 * string/test-strcmp.c(TEST_NAME): Likewise.
13677 * string/test-strcpy.c (TEST_NAME): Likewise.
13678 * string/test-strcspn.c (TEST_NAME): Likewise.
13679 * string/test-strlen.c (TEST_NAME): Likewise.
13680 * string/test-strncasecmp.c (TEST_NAME): Likewise.
13681 * string/test-strncmp.c (TEST_NAME): Likewise.
13682 * string/test-strncpy.c (TEST_NAME): Likewise.
13683 * string/test-strnlen.c (TEST_NAME): Likewise.
13684 * string/test-strpbrk.c (TEST_NAME): Likewise.
13685 * string/test-strrchr.c (TEST_NAME): Likewise.
13686 * string/test-strspn.c (TEST_NAME): Likewise.
13687 * string/test-strstr.c (TEST_NAME): Likewise.
13688 * string/test-bcopy-ifunc.c: New file.
13689 * string/test-bzero-ifunc.c: Likewise.
13690 * string/test-memccpy-ifunc.c: Likewise.
13691 * string/test-memchr-ifunc.c: Likewise.
13692 * string/test-memcmp-ifunc.c: Likewise.
13693 * string/test-memcpy-ifunc.c: Likewise.
13694 * string/test-memmem-ifunc.c: Likewise.
13695 * string/test-memmove-ifunc.c: Likewise.
13696 * string/test-mempcpy-ifunc.c: Likewise.
13697 * string/test-memset-ifunc.c: Likewise.
13698 * string/test-rawmemchr-ifunc.c: Likewise.
13699 * string/test-stpcpy-ifunc.c: Likewise.
13700 * string/test-stpncpy-ifunc.c: Likewise.
13701 * string/test-strcasecmp-ifunc.c: Likewise.
13702 * string/test-strcasestr-ifunc.c: Likewise.
13703 * string/test-strcat-ifunc.c: Likewise.
13704 * string/test-strchr-ifunc.c: Likewise.
13705 * string/test-strchrnul-ifunc.c: Likewise.
13706 * string/test-strcmp-ifunc.c: Likewise.
13707 * string/test-strcpy-ifunc.c: Likewise.
13708 * string/test-strcspn-ifunc.c: Likewise.
13709 * string/test-strlen-ifunc.c: Likewise.
13710 * string/test-strncasecmp-ifunc.c: Likewise.
13711 * string/test-strncat-ifunc.c: Likewise.
13712 * string/test-strncmp-ifunc.c: Likewise.
13713 * string/test-strncpy-ifunc.c: Likewise.
13714 * string/test-strnlen-ifunc.c: Likewise.
13715 * string/test-strpbrk-ifunc.c: Likewise.
13716 * string/test-strrchr-ifunc.c: Likewise.
13717 * string/test-strspn-ifunc.c: Likewise.
13718 * string/test-strstr-ifunc.c: Likewise.
13719
de54b33a
L
13720 * debug/Makefile (tests-ifunc): New variable.
13721 (tests): Add $(tests-ifunc).
13722 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
13723 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
13724 * debug/test-stpcpy_chk-ifunc.c: New file.
13725 * debug/test-strcpy_chk-ifunc.c: Likewise.
13726
88481c16
SP
137272012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13728
13729 [BZ #13601]
13730 * elf/dl-load.c (open_verify): Retry read if the entire ELF
13731 header is not read in.
13732
135948bd
JM
137332012-10-19 Joseph Myers <joseph@codesourcery.com>
13734
89f1c388
JM
13735 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
13736 script to $(SHELL) as $<. Pass $(common-objpfx) to script
13737 directly. Pass built executable to script as
13738 $(built-program-cmd).
13739 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
13740 $testprogram without using LD_LIBRARY_PATH and $ldso.
13741
e40a0d21
JM
13742 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
13743 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
13744 $(rtld-installed-name).
13745 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
13746 (rtld_installed_name): Likewise.
13747 (library_path): Likewise.
13748 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
13749 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
13750 $(run-program-prefix) to tst-tables.sh.
13751 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
13752 it to run tst-table-from and tst-table-to.
13753 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
13754 Pass it to tst-table.sh.
13755 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
13756 $(run-program-prefix) to tst-gettext.sh.
13757 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
13758 tst-translit.sh.
13759 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
13760 tst-gettext2.sh.
13761 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
13762 to run tst-gettext.
13763 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
13764 to run tst-gettext2.
13765 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
13766 to run tst-translit.
13767 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
13768 $(run-program-prefix) to tst-mtrace.sh.
13769 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
13770 to run tst-mtrace.
13771 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
13772 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
13773 $(rtld-installed-name).
13774 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
13775 (rtld_installed_name): Likewise.
13776 (run_program_prefix): New variable. Use it to run wordexp-test.
13777
728e272a
JM
13778 * Makeconfig (ARCH): Remove all definitions.
13779 (machine): Likewise.
13780 [ARCH]: Remove conditional code.
13781 [!objdir]: Give error.
13782 [!objdir] (objpfx): Remove.
13783 [!objdir] (common-objpfx): Likewise.
13784 [!objdir] (common-objdir): Likewise.
13785 * configure.in (config_makefile): Remove. Hardcode Makefile in
13786 AC_CONFIG_FILES call.
13787 * configure: Regenerated.
13788
d528cdcf
JM
13789 [BZ #13888]
13790 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
13791 or TMPDIR.
13792 (testout): Likewise.
13793
135948bd
JM
13794 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
13795 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
13796 $(rtld-installed-name).
13797 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
13798 (rtld_installed_name): Likwise.
13799 (runit): Remove function.
13800 (run_getconf): New variable, Use it for running getconf binary.
13801
38c78296
L
138022012-10-18 H.J. Lu <hongjiu.lu@intel.com>
13803
13804 [BZ #14716]
13805 * string/test-memmem.c (check_result): New function.
13806 (do_one_test): Use it.
13807 (check1): New function.
13808 (test_main): Use it.
13809
d077f65f
MT
138102012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
13811
13812 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
13813
ced52c71
JM
138142012-10-18 Joseph Myers <joseph@codesourcery.com>
13815
13816 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
13817 (_G_LSEEK64): Likewise.
13818 (_G_MMAP64): Likewise.
13819 (_G_FSTAT64): Likewise.
13820 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
13821 (_G_LSEEK64): Likewise.
13822 (_G_MMAP64): Likewise.
13823 (_G_FSTAT64): Likewise.
13824 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
13825 unconditional. Call __mmap64 directly.
13826 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
13827 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
13828 __lseek64 directly.
13829 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
13830 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
13831 __mmap64 directly.
13832 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
13833 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
13834 __lseek64 directly.
13835 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
13836 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
13837 __lseek64 directly.
13838 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
13839 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
13840 __lseek64 directly.
13841 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
13842 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
13843 __fxstat64 directly.
13844 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
13845 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
13846 unconditional.
13847 (freopen64) [!_G_OPEN64]: Remove conditional code.
13848 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
13849 unconditional.
13850 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
13851 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
13852 unconditional.
13853 (ftello64) [!_G_LSEEK64]: Remove conditional code.
13854 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
13855 unconditional.
13856 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13857 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
13858 unconditional.
13859 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
13860 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
13861 unconditional.
13862 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13863 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
13864 unconditional.
13865 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13866 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
13867 unconditional.
13868 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13869
b741de23
SP
138702012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13871
13872 [BZ #12140]
13873 * manual/memory.texi (Malloc Tunable Parameters): Add note
13874 about free list pointers overwriting some perturb bytes.
13875 Wording suggested by Roland McGrath.
13876
f9b9d9c9
JM
138772012-10-17 Joseph Myers <joseph@codesourcery.com>
13878
13879 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
13880 (lgamma_test): Likewise.
13881 (tgamma_test): Likewise.
13882
172a631a
FW
138832012-10-16 Florian Weimer <fweimer@redhat.com>
13884
13885 [BZ #14700]
13886 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
13887 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
13888
e9f37252
MK
138892012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
13890
13891 * NEWS: Mention BZ #14716.
13892 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
13893 when removing AVAILABLE1_USES_J macro.
13894
d394eb74
L
138952012-10-12 H.J. Lu <hongjiu.lu@intel.com>
13896
13897 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
13898 (__bswap_64): __uint64_t for unsigned 64-bit int.
13899
ca38dc17
AS
139002012-10-12 Andreas Schwab <schwab@linux-m68k.org>
13901
13902 * include/string.h (memmem): Declare libc hidden alias.
13903 * string/memmem.c (memmem): Define libc hidden alias.
13904 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
13905 __read, __close instead of open, read, close.
13906
9a387d1f
L
139072012-10-11 H.J. Lu <hongjiu.lu@intel.com>
13908
ac49ecaf
L
13909 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
13910 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
13911 global and hidden.
13912 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
13913 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
13914 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
13915 Likewise.
13916 (__rawmemchr_sse2): Likewise.
13917 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
13918 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
13919 (__strchr_sse2): Likewise.
13920 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
13921 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
13922 (__strcasecmp_sse2): Likewise.
13923 (__strncasecmp_sse2): Likewise.
13924 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
13925 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
13926 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
13927 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
13928 (__strrchr_sse2): Likewise.
13929 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
13930 ifunc-impl-list.c.
13931 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13932 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13933 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13934 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13935 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13936 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13937 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13938 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13939 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
13940 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
13941 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
13942 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
13943 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
13944 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13945 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13946 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13947 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13948 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13949 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
13950 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
13951 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
13952 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
13953 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
13954 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13955 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
13956 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13957 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13958 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13959 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13960 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13961
b090e8ea
L
13962 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
13963 global and hidden.
13964 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
13965 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
13966 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
13967 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
13968 Likewise.
13969 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
13970 Likewise.
13971 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
13972 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
13973 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
13974 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
13975 ifunc-impl-list.c.
13976 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13977 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13978 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13979 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13980 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13981 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13982 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13983 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13984 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13985 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13986 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13987 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13988 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13989 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13990 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13991 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13992 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13993 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
13994 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13995 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13996 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13997 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13998 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13999 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14000 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14001 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
14002 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
14003 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
14004 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
14005 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14006 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
14007 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14008 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14009 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
14010 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14011 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14012 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14013 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14014 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14015 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14016 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
14017
11dd4af6
L
14018 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
14019 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
14020 * include/ifunc-impl-list.h: New file.
14021 * misc/ifunc-impl-list.c: Likewise.
14022 * misc/Makefile (routines): Add ifunc-impl-list.
14023 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
14024 * string/test-string.h: Include <ifunc-impl-list.h>.
14025 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
14026 impl_array): New variables.
14027 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
14028 are defined.
14029 (test_init): Call __libc_ifunc_impl_list to initialize
14030 func_list if TEST_IFUNC and TEST_NAME are defined.
14031
9a387d1f
L
14032 * string/Makefile (strop-tests): Add bcopy and bzero.
14033 * string/test-bcopy.c: New file.
14034 * string/test-bzero.c: Likewise.
14035 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
14036 defined.
14037 * string/test-memset.c: Support bzero test if TEST_BZERO is
14038 defined.
14039 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
14040 __libc_memmove.
14041 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
14042 __libc_memset.
14043 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
14044 of memset.
14045
472371b9
JM
140462012-10-10 Joseph Myers <joseph@codesourcery.com>
14047
1e4a9536
JM
14048 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
14049 * configure: Regenerated.
14050
d173d12e
JM
14051 * Makeconfig (+link-static-before-libc): Don't include
14052 $(link-static-libc).
14053
472371b9
JM
14054 * libio/libio.h (_IO_pos_t): Remove.
14055
89a3ad0b
AO
140562012-10-10 Alexandre Oliva <aoliva@redhat.com>
14057
14058 * NEWS: Add note about FIPS mode. Wording suggested by Roland
14059 McGrath.
14060
e7451425
AO
140612012-10-10 Alexandre Oliva <aoliva@redhat.com>
14062
14063 * crypt/crypt-entry.c: Include fips-private.h.
14064 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
14065 * crypt/md5c-test.c (main): Tolerate disabled MD5.
14066 * sysdeps/unix/sysv/linux/fips-private.h: New file.
14067 * sysdeps/generic/fips-private.h: New file, dummy fallback.
14068
4ba74a35
AO
140692012-10-10 Alexandre Oliva <aoliva@redhat.com>
14070
14071 * crypt/crypt-private.h: Include stdbool.h.
14072 (_ufc_setup_salt_r): Return bool.
14073 * crypt/crypt-entry.c: Include errno.h.
14074 (__crypt_r): Return NULL with EINVAL for bad salt.
14075 * crypt/crypt_util.c (bad_for_salt): New.
14076 (_ufc_setup_salt_r): Check that salt is long enough and within
14077 the specified alphabet.
14078 * crypt/badsalttest.c: New file.
14079 * crypt/Makefile (tests): Add it.
14080 ($(objpfx)badsalttest): New.
14081
f96f1242
MK
140822012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
14083
14084 * NEWS: Add entry for BZ #14602.
14085
0e8e0c1c
JM
140862012-10-09 Joseph Myers <joseph@codesourcery.com>
14087
14088 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
14089 type-generic.
14090 * math/libm-test.inc: Update comment listing what functions and
14091 macros are tested.
14092 (isgreater_test): New function.
14093 (isgreaterequal_test): Likewise.
14094 (isless_test): Likewise.
14095 (islessequal_test): Likewise.
14096 (islessgreater_test): Likewise.
14097 (isunordered_test): Likewise.
14098 (main): Call the new functions.
14099
273edc5e
RM
141002012-10-09 Roland McGrath <roland@hack.frob.com>
14101
b8493de0
RM
14102 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
14103 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
14104 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
14105 * sysdeps/i386/configure: Regenerated.
14106 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
14107 * sysdeps/mach/configure: Regenerated.
14108 * sysdeps/mach/hurd/configure: Regenerated.
14109 * sysdeps/powerpc/configure: Regenerated.
14110 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14111 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14112 * sysdeps/s390/s390-32/configure: Regenerated.
14113 * sysdeps/s390/s390-64/configure: Regenerated.
14114 * sysdeps/sh/configure: Regenerated.
14115 * sysdeps/sparc/configure: Regenerated.
14116 * sysdeps/unix/sysv/linux/configure: Regenerated.
14117 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14118 * sysdeps/x86_64/configure: Regenerated.
14119
273edc5e
RM
14120 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
14121 defined. Don't check if MAP is NULL.
14122
c8450f70
JM
141232012-10-09 Joseph Myers <joseph@codesourcery.com>
14124
14125 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
14126 (_G_stat64): Likewise.
14127 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
14128 (_G_stat64): Likewise.
14129 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
14130 instead of struct _G_stat64.
14131 * libio/fileops.c (mmap_remap_check): Likewise.
14132 (decide_maybe_mmap): Likewise.
14133 (_IO_new_file_seekoff): Likewise.
14134 (_IO_file_stat): Likewise.
14135 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
14136 _G_off64_t.
14137 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
14138 instead of struct _G_stat64.
14139 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14140
57e605ba
MK
141412012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
14142
14143 [BZ #14602]
14144 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14145 Replace with ...
14146 (CHECK_EOL): New macro.
14147 (two_way_short_needle): Check beginning of haystack for EOL. Use
14148 CHECK_EOL.
14149 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14150 Replace with CHECK_EOL.
14151 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14152 Replace with CHECK_EOL.
14153
ef1bb361
JM
141542012-10-08 Joseph Myers <joseph@codesourcery.com>
14155
14156 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
14157 type-generic.
14158 * math/libm-test.inc: Update comment listing what functions and
14159 macros are tested.
14160 (finite_test): New function.
14161 (isinf_test): Likewise.
14162 (isnan_test): Likewise.
14163 (fpclassify_test): Test subnormal input.
14164 (isfinite_test): Likewise.
14165 (isnormal_test): Likewise.
14166 (main): Call the new functions.
14167
55f11534
JN
141682012-10-08 Jonathan Nieder <jrnieder@gmail.com>
14169
14170 [BZ #14660]
14171 * Makerules (%.dynsym): Force C locale when running
14172 $(OBJDUMP) --dynamic-syms.
14173
1ab29350
AS
141742012-10-08 Andreas Schwab <schwab@linux-m68k.org>
14175
14176 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
14177 <stdint.h>.
14178
f1ecb7ef
DM
141792012-10-06 David S. Miller <davem@davemloft.net>
14180
14181 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
14182 upper 32-bits of the length value in %o2 since we use branch-on-register
14183 tests which consider the entire 64-bit register.
14184
5d41d91a
L
141852012-10-06 H.J. Lu <hongjiu.lu@intel.com>
14186
14187 * string/test-strstr.c (check2): Add a test for page boundary.
14188
3baddb72
DM
141892012-10-05 David S. Miller <davem@davemloft.net>
14190
14191 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
14192 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
14193 file.
14194 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14195 sysdep_routines.
14196 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14197 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
14198 and bzero when HWCAP_SPARC_CRYPTO is present.
14199
9cee5585
L
142002012-10-05 H.J. Lu <hongjiu.lu@intel.com>
14201
d7e0dab9
L
14202 [BZ #14602]
14203 * string/test-strstr.c (check2): New function.
14204 (test_main): Call check2.
14205
03759f47
L
14206 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
14207 and bug-strchr1.
14208 * string/bug-strcasestr1.c (do_test): Moved to ...
14209 * string/test-strcasestr.c (check1): Here. New function.
14210 (do_one_test): Break out result checking code into ...
14211 (check_result): This. New function.
14212 (do_one_test): Call check_result.
14213 (test_main): Call check1.
14214 * string/bug-strchr1.c (do_test): Moved to ...
14215 * string/test-strchr.c (check1): Here. New function.
14216 (do_one_test): Break out result checking code into ...
14217 (check_result): This. New function.
14218 (do_one_test): Call check_result.
14219 (test_main): Call check1.
14220 * string/bug-strstr1.c (main): Moved to ...
046f153e 14221 * string/test-strstr.c (check1): Here. New function.
03759f47
L
14222 (do_one_test): Break out result checking code into ...
14223 (check_result): This. New function.
14224 (do_one_test): Call check_result.
14225 (test_main): Call check1.
14226 * string/bug-strcasestr1.c: Removed.
14227 * string/bug-strchr1.c: Likewise.
14228 * string/bug-strstr1.c: Likewise.
14229
53cea63e
L
14230 * elf/Makefile (dl-routines): Add hwcaps.
14231 * elf/dl-support.c (_dl_important_hwcaps): Removed.
14232 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
14233 (_dl_important_hwcaps): Moved to ...
14234 * elf/dl-hwcaps.c: Here. New file.
14235 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
14236
9cee5585 14237 [BZ #14557]
bb859b06
L
14238 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
14239 if IS_IN_rtld isn't defined.
14240
9cee5585
L
14241 * elf/dl-support.c (_dl_sysinfo_map): New.
14242 Include "get-dynamic-info.h" and "setup-vdso.h".
14243 (_dl_non_dynamic_init): Call setup_vdso.
14244 * elf/dynamic-link.h: Don't include <assert.h>.
14245 (elf_get_dynamic_info): Moved to ...
14246 * elf/get-dynamic-info.h: Here. New file.
14247 * elf/dynamic-link.h: Include "get-dynamic-info.h".
14248 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
14249 * elf/setup-vdso.h: Here. New file.
14250 * elf/rtld.c: Include "setup-vdso.h".
14251 (dl_main): Call setup_vdso.
14252
23c31b76
JM
142532012-10-05 Joseph Myers <joseph@codesourcery.com>
14254
28234b07
JM
14255 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
14256 creal in comment listing functions tested. List finite, isinf,
14257 isnan, isless, islessequal, isgreater, isgreaterequal,
14258 islessgreater, isunordered, lgamma_r and pow10 as functions and
14259 macros not tested. Mention which functions not tested are aliases
14260 for other functions. Fix typo. Note that signs of NaNs are not
14261 tested.
14262
23c31b76
JM
14263 * scripts/config.guess: Update from config.git.
14264 * scripts/config.sub: Likewise.
14265
9043e228
RM
142662012-10-04 Roland McGrath <roland@hack.frob.com>
14267
14268 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
14269 * misc/madvise.c (madvise): Renamed to __madvise.
14270 Make madvise a weak alias.
14271 * include/sys/mman.h: Declare __madvise.
14272 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
14273 * sysdeps/unix/syscalls.list
14274 (madvise): Make __madvise the strong name, and madvise a weak alias.
14275 * sysdeps/unix/sysv/linux/syscalls.list
14276 (madvise, mmap): Remove redundant entries.
14277 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
14278 * malloc/malloc.c (mtrim): Likewise.
14279 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
14280
f57f8055
RM
142812012-10-03 Roland McGrath <roland@hack.frob.com>
14282
14283 * sysdeps/mach/hurd/dl-cache.c: File removed.
14284 * config.h.in (USE_LDCONFIG): New #undef.
14285 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
14286 * configure: Regenerated.
14287 * elf/Makefile (dl-routines): Add dl-cache only under
14288 [$(use-ldconfig) = yes].
14289 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
14290 cache on [USE_LDCONFIG].
14291 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
14292 [USE_LDCONFIG].
14293 * elf/rtld.c (dl_main): Likewise.
14294
5bb0c10a
PT
142952012-10-03 Pino Toscano <toscano.pino@tiscali.it>
14296
14297 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
14298 _SC_LEVEL4_CACHE_LINESIZE.
14299
010188c6
RM
143002012-10-03 Roland McGrath <roland@hack.frob.com>
14301
14302 * sysdeps/unix/bsd/confstr.h: File removed.
14303
b6c5ec07
AO
143042012-10-02 Alexandre Oliva <aoliva@redhat.com>
14305
14306 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
14307 sys/sdt-config.h.
14308
408223d4
RM
143092012-10-02 Roland McGrath <roland@hack.frob.com>
14310
14311 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
14312 Make 'mapoff' field ElfW(Off) rather than off_t.
14313
bb9510dc
DL
143142012-10-02 Dmitry V. Levin <ldv@altlinux.org>
14315
fc997c6e
DL
14316 * nscd/Makefile: Remove nscd-cflags and all its users.
14317 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
14318 (CFLAGS-nonlib): Add compiler flags for nscd modules.
14319
bb9510dc
DL
14320 [BZ #10631]
14321 * malloc.c (malloc_printerr): Clarify error message.
14322
05699367
L
143232012-10-02 H.J. Lu <hongjiu.lu@intel.com>
14324
14325 [BZ #14648]
14326 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14327 Set bit_FMA_Usable if FMA is supported.
14328 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
14329 macro.
14330 (bit_FMA4_Usable): Updated.
14331 (index_FMA_Usable): New macro.
14332 (CPUID_FMA): Likewise
14333 (HAS_FMA): Defined with bit_FMA_Usable.
14334
51367701
RM
143352012-10-01 Roland McGrath <roland@hack.frob.com>
14336
14337 * bits/types.h (__swblk_t): Type removed.
14338 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
14339 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
14340 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14341 (__SWBLK_T_TYPE): Likewise.
14342 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14343 (__SWBLK_T_TYPE): Likewise.
14344 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14345 (__SWBLK_T_TYPE): Likewise.
14346 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14347 (__SWBLK_T_TYPE): Likewise.
14348
4d57bf63 143492012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 14350 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
14351
14352 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
14353 (xdr_mapname): Use YPMAXMAP as maxsize.
14354 (xdr_peername): Use YPMAXPEER as maxsize.
14355 (xdr_keydat): Use YPAXRECORD as maxsize.
14356 (xdr_valdat): Use YPMAXRECORD as maxsize.
14357
93c65d43
RM
143582012-10-01 Roland McGrath <roland@hack.frob.com>
14359
497a03d6
RM
14360 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
14361
93c65d43
RM
14362 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
14363 * csu/init-first.c: ... here.
14364 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
14365 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
14366 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14367 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14368 * sysdeps/i386/init-first.c: File removed.
14369 * sysdeps/sh/init-first.c: File removed.
14370
bec749fd
JM
143712012-10-01 Joseph Myers <joseph@codesourcery.com>
14372
14373 [BZ #14645]
14374 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
14375 if x * y might underflow to zero and z is zero.
14376 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14377 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14378 * math/libm-test.inc (min_subnorm_value): New variable.
14379 (fma_test): Add more tests.
14380 (fma_test_towardzero): Likewise.
14381 (fma_test_downward): Likewise
14382 (fma_test_upward): Likewise.
14383 (initialize): Set min_subnorm_value.
14384
8ec5b013
JM
143852012-09-29 Joseph Myers <joseph@codesourcery.com>
14386
14387 [BZ #14638]
14388 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
14389 0 + 0.
14390 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
14391 mode for addition resulting in exact zero.
14392 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
14393 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
14394 exact 0 + 0.
14395 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14396 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14397 * math/libm-test.inc (fma_test): Add more tests.
14398 (fma_test_towardzero): New function.
14399 (fma_test_downward): Likewise.
14400 (fma_test_upward): Likewise.
14401 (main): Call the new functions.
14402
b1fa802e
DM
144032012-09-28 David S. Miller <davem@davemloft.net>
14404
14405 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
14406
d3b9fd9e
RM
144072012-09-28 Roland McGrath <roland@hack.frob.com>
14408
ea4d37b3
RM
14409 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
14410 instead of SIGALRM.
14411
ac51c949
RM
14412 * sysdeps/gnu/_G_config.h: Moved to ...
14413 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
14414 * sysdeps/mach/hurd/_G_config.h: Moved to ...
14415 * sysdeps/generic/_G_config.h: ... here.
14416
28c195f7
RM
14417 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
14418
848917f9
RM
14419 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
14420
6bacf05b
RM
14421 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
14422 Conditionalize target on [libnss_test1.so-version].
14423
91363dbb
RM
14424 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
14425
cc87f7d8
RM
14426 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
14427 (elfobjdir): Move out of conditionals.
14428
b1c608fe
RM
14429 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
14430 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
14431 (__nss_lookup_function): Conditionalize label remove_from_tree on
14432 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 14433
1d9a6d96
DM
144342012-09-28 David S. Miller <davem@davemloft.net>
14435
14436 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
14437 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
14438 file.
14439 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14440 sysdep_routines.
14441 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14442 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
14443 when HWCAP_SPARC_CRYPTO is present.
14444
72581615
PT
144452012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14446
14447 * io/tst-mknodat.c: Create a FIFO instead of a socket.
14448
715a900c
JL
144492012-09-28 Andreas Schwab <schwab@linux-m68k.org>
14450
14451 [BZ #6530]
14452 * stdio-common/vfprintf.c (process_string_arg): Revert
14453 2000-07-22 change.
14454
144552011-09-28 Jonathan Nieder <jrnieder@gmail.com>
14456
14457 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
14458 for testcase.
14459 * stdio-common/tst-sprintf.c: Include <locale.h>
14460 (main): Test sprintf's handling of incomplete multibyte
14461 characters.
14462
9bac1d86
L
144632012-09-28 H.J. Lu <hongjiu.lu@intel.com>
14464
14465 * elf/dl-runtime.c (VERSYMIDX): Removed.
14466 * elf/dl-version.c (VERSYMIDX): Likewise.
14467 * elf/do-rel.h (VERSYMIDX): Likewise.
14468 (VALIDX): Likewise.
14469 * elf/dynamic-link.h (VERSYMIDX): Likewise.
14470 * elf/rtld.c (VALIDX): Likewise.
14471 (ADDRIDX): Likewise.
9bac1d86
L
14472 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
14473 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
14474 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
14475 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
14476 (VALIDX): Likewise.
14477 (ADDRIDX): Likewise.
9bac1d86 14478
b31606c0
PT
144792012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14480
14481 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
14482
11541177
JL
144832012-09-28 Dmitry V. Levin <ldv@altlinux.org>
14484
14485 [BZ #11438]
14486 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
14487 to global scope.
14488 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
14489 addresses are in the same scope as 192.0.2/24.
14490 * posix/gai.conf: Document new scope table defaults.
14491
adb26fae
SP
144922012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14493
14494 [BZ #5298]
14495 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
14496 for ftell. Compute offsets from write pointers instead.
14497 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14498
4573c6b0
SP
144992012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14500
14501 [BZ #14543]
14502 * libio/Makefile (tests): New test case tst-fseek.
14503 * libio/tst-fseek.c: New test case to verify that fseek/ftell
14504 combination works in wide mode.
14505 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
14506 state when the external buffer state changes.
14507
aa9bbfe6
DM
145082012-09-27 David S. Miller <davem@davemloft.net>
14509
14510 [BZ #14376]
14511 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
14512 pass reloc->r_addend in as the 'high' argument to
14513 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
14514
784421e7
DM
14515 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14516
c39bc8b8
PT
145172012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14518
14519 * rt/tst-aio2.c: Include <pthread.h>.
14520 * rt/tst-aio3.c: Likewise.
14521
1ccc2399
SE
145222012-09-27 Steve Ellcey <sellcey@mips.com>
14523
14524 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
14525
31ed4153
L
145262012-09-27 H.J. Lu <hongjiu.lu@intel.com>
14527
25f5f885
L
14528 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
14529 contents on [SHARED].
31ed4153 14530
b7bfe116
MP
145312012-09-26 Marek Polacek <polacek@redhat.com>
14532
14533 [BZ #14530]
14534 [BZ #13741]
14535 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
14536 for C++ and GCC <4.3 as well as for non GCC compilers.
14537
43c4edba
MT
145382012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14539
14540 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14541
6a1bf82f
RM
145422012-09-25 Roland McGrath <roland@hack.frob.com>
14543
14544 * Makefile.in (all, install): Declare with .PHONY.
14545 Reported by Michael Hope <michael.hope@linaro.org>.
14546
8ad11b9a
TMQMF
145472012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14548
14549 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
14550 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
14551 system header.
14552 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
14553 Likewise.
14554 (sydep_routines): Add the new and the internal functions.
14555 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
14556 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
14557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
14558 (GLIBC_2.17): Add the new function.
14559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14560 (GLIBC_2.17): Likewise.
14561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14562 (GLIBC_2.17): Likewise.
14563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
14564 (GLIBC_2.17): Likewise.
14565 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
14566
7e2fca8d
AM
145672012-09-25 Alan Modra <amodra@gmail.com>
14568
14569 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
14570 Add release barrier before setting once_control to say
14571 initialisation is done. Add hints on lwarx. Use macro in
14572 place of isync.
14573 (clear_once_control): Add release barrier.
14574
b87c4b24
JM
145752012-09-25 Joseph Myers <joseph@codesourcery.com>
14576
d032e0d2
JM
14577 [BZ #13629]
14578 * math/s_clog.c (__clog): Handle more values close to |z| = 1
14579 specially.
14580 * math/s_clog10.c (__clog10): Likewise.
14581 * math/s_clog10f.c (__clog10f): Likewise.
14582 * math/s_clog10l.c (__clog10l): Likewise.
14583 * math/s_clogf.c (__clogf): Likewise.
14584 * math/s_clogl.c (__clogl): Likewise.
14585 * math/Makefile (libm-calls): Add x2y2m1.
14586 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
14587 (__x2y2m1): Likewise.
14588 (__x2y2m1l): Likewise.
14589 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
14590 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
14591 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14592 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14593 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
14594 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
14595 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
14596 * sysdeps/i386/fpu/libm-test-ulps: Update.
14597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14598
b87c4b24
JM
14599 [BZ #14621]
14600 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
14601 int as type of variable DEPTH.
14602 (glob): Use size_t instead of int as type of variables NEWCOUNT
14603 and OLD_PATHC.
14604
6d3bf199
LD
146052012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14606
22bf5c17
LD
14607 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14608 Add s_sincosf-sse2.
14609 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
14610 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
14611 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
14612 macros for using routine as __sincosf_ia32.
14613 Use macro for function declaration and weak_alias.
14614 * sysdeps/i386/fpu/libm-test-ulps: Update.
14615
14616 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
14617 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14618
14619 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
14620 subnormal argument.
14621 * math/s_cexpf.c (__cexpf): Likewise.
14622 * math/s_csinf.c (__csinf): Likewise.
14623 * math/s_csinhf.c (__csinhf): Likewise.
14624 * math/s_ctanf.c (__ctanf): Likewise.
14625 * math/s_ctanhf.c (__ctanhf): Likewise.
14626 * math/s_ccosh.c (__ccoshf): Likewise.
14627 * math/s_cexp.c (__cexpl): Likewise.
14628 * math/s_csin.c (__csin): Likewise.
14629 * math/s_csinh.c (__csinh): Likewise.
14630 * math/s_ctan.c (__ctan): Likewise.
14631 * math/s_ctanh.c (ctanh): Likewise.
14632 * math/s_ccoshl.c (__ccoshl): Likewise.
14633 * math/s_cexpl.c (__cexpl): Likewise.
14634 * math/s_csinl.c (__csinl): Likewise.
14635 * math/s_csinhl.c (__csinhl): Likewise.
14636 * math/s_ctanl.c (__ctanl): Likewise.
14637 * math/s_ctanhl.c (__ctanhl): Likewise.
14638
203e5603
JM
146392012-09-25 Joseph Myers <joseph@codesourcery.com>
14640
14641 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
14642 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
14643 (_IO_off_t): Define to __off_t, not _G_off_t.
14644 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
14645 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
14646 (_IO_wint_t): Define to wint_t, not _G_wint_t.
14647 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
14648 type of __dummy and __dummy2 fields.
14649 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
14650 (_G_ssize_t): Likewise.
14651 (_G_off_t): Likewise.
14652 (_G_pid_t): Likewise.
14653 (_G_uid_t): Likewise.
14654 (_G_wchar_t): Likewise.
14655 (_G_wint_t): Likewise.
14656 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
14657 (_G_ssize_t): Likewise.
14658 (_G_off_t): Likewise.
14659 (_G_pid_t): Likewise.
14660 (_G_uid_t): Likewise.
14661 (_G_wchar_t): Likewise.
14662 (_G_wint_t): Likewise.
14663 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
14664 (_G_ssize_t): Likewise.
14665 (_G_off_t): Likewise.
14666 (_G_pid_t): Likewise.
14667 (_G_uid_t): Likewise.
14668 (_G_wchar_t): Likewise.
14669 (_G_wint_t): Likewise.
14670
9fab36eb
SP
146712012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14672
14673 * malloc/arena.c: Include malloc-sysdep.h.
14674 (shrink_heap): Use check_may_shrink_heap to decide if madvise
14675 is sufficient to shrink the heap or an unmap is needed.
14676 * sysdeps/generic/malloc-sysdep.h: New file. Define
14677 new function check_may_shrink_heap.
14678 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
14679 new function check_may_shrink_heap.
14680
2b4f00d1
SP
146812012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14682
14683 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
14684 comments.
14685
9a9028b1
DL
146862012-09-24 Dmitry V. Levin <ldv@altlinux.org>
14687
57c69bef
DL
14688 * catgets/test-gencat.sh: Add "set -e".
14689 * elf/tst-pathopt.sh: Likewise.
14690 * grp/tst_fgetgrent.sh: Likewise.
14691 * iconvdata/run-iconv-test.sh: Likewise.
14692 * intl/tst-gettext.sh: Likewise.
14693 * intl/tst-gettext2.sh: Likewise.
14694 * intl/tst-gettext4.sh: Likewise.
14695 * intl/tst-gettext6.sh: Likewise.
14696 * intl/tst-translit.sh: Likewise.
14697 * io/ftwtest-sh: Likewise.
14698 * libio/test-freopen.sh: Likewise.
14699 * malloc/tst-mtrace.sh: Likewise.
14700 * posix/globtest.sh: Likewise.
14701 * posix/tst-getconf.sh: Likewise.
14702 * posix/wordexp-tst.sh: Likewise.
14703 * stdio-common/tst-printf.sh: Likewise.
14704 * stdio-common/tst-unbputc.sh: Likewise.
14705 * stdlib/tst-fmtmsg.sh: Likewise.
14706 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14707 * catgets/Makefile: Do not specify -e option when running
14708 testsuite shell scripts.
14709 * elf/Makefile: Likewise.
14710 * grp/Makefile: Likewise.
14711 * iconvdata/Makefile: Likewise.
14712 * intl/Makefile: Likewise.
14713 * io/Makefile: Likewise.
14714 * libio/Makefile: Likewise.
14715 * malloc/Makefile: Likewise.
14716 * posix/Makefile: Likewise.
14717 * stdio-common/Makefile: Likewise.
14718 * stdlib/Makefile: Likewise.
14719 * sysdeps/x86_64/Makefile: Likewise.
14720
9a9028b1
DL
14721 * io/ftwtest-sh: Add copyright header.
14722 * posix/globtest.sh: Likewise.
14723 * posix/tst-getconf.sh: Likewise.
14724 * posix/wordexp-tst.sh: Likewise.
14725 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14726
ced6f16e
L
147272012-09-24 H.J. Lu <hongjiu.lu@intel.com>
14728
94b32c39
L
14729 [BZ #13679]
14730 * Makeconfig (+link): Defined as $(+link-static) if
14731 $(build-shared) isn't yes.
14732 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
14733 isn't yes.
14734 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
14735
189e935b
L
14736 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
14737
ced6f16e
L
14738 [BZ #14562]
14739 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
14740 new chunk size with MALLOC_ALIGN_MASK.
14741
a9f8e53a
JM
147422012-09-24 Joseph Myers <joseph@codesourcery.com>
14743
14744 [BZ #5044]
14745 * stdio-common/printf_fphex.c: Include <stdbool.h> and
14746 <rounding-mode.h>.
14747 (__printf_fphex): Determine rounding using get_rounding_mode and
14748 round_away.
14749 * stdio-common/tst-printf-round.c (struct hex_test): New
14750 structure.
14751 (hex_tests): New variable.
14752 (test_hex_in_one_mode): New function.
14753 (do_test): Also run tests for hex float output.
14754
43153109
JM
147552012-09-21 Joseph Myers <joseph@codesourcery.com>
14756
14757 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14758 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14759 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
14760 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14761 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14762 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
14763 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14764 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14765
8a26625d
JM
147662012-09-20 Joseph Myers <joseph@codesourcery.com>
14767
14768 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
14769 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
14770 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
14771 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
14772
f3fd569c
DL
147732012-09-19 Dmitry V. Levin <ldv@altlinux.org>
14774
14775 [BZ #14579]
14776 * elf/rtld.c (dl_main): Limit the check for self loading to normal
14777 mode only.
14778 * elf/tst-rtld-load-self.sh: New test.
14779 * elf/Makefile: Run it.
14780
63bbedd4
JM
147812012-09-18 Joseph Myers <joseph@codesourcery.com>
14782
14783 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
14784 (tst-writev-ENV): Remove.
14785 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
14786
626f8b6a
CM
147872012-09-17 Chris Metcalf <cmetcalf@tilera.com>
14788
14789 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
14790
b7aaa4d6
JM
147912012-09-17 Joseph Myers <joseph@codesourcery.com>
14792
14793 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
14794 unconditional.
14795 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
14796 Likewise.
14797 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
14798 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
14799 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
14800 Likewise.
14801
65513990
L
148022012-09-14 H.J. Lu <hongjiu.lu@intel.com>
14803
14804 [BZ #14587]
14805 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
14806 * config.make.in (have-cpp-asm-debuginfo): Removed.
14807 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
14808 * configure: Regenerated.
14809
784761be
JM
148102012-09-14 Joseph Myers <joseph@codesourcery.com>
14811
14812 [BZ #5044]
14813 * stdio-common/printf_fp.c: Include <stdbool.h> and
14814 <rounding-mode.h>.
14815 (___printf_fp): Determine rounding using get_rounding_mode and
14816 round_away.
14817 * stdio-common/tst-printf-round.c: New file.
14818 * stdio-common/Makefile (tests): Add tst-printf-round.
14819 (link-libm): New variable.
14820 ($(objpfx)tst-printf-round): Depend in $(link-libm).
14821
9503345f
L
148222012-09-13 H.J. Lu <hongjiu.lu@intel.com>
14823
14824 [BZ #14576]
14825 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
14826 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
14827 Likewise.
14828 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
14829 Likewise.
14830
ad35fc00
JM
148312012-09-13 Joseph Myers <joseph@codesourcery.com>
14832
14833 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
14834 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14835 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14836 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14837
6c9b0f68
JM
148382012-09-12 Joseph Myers <joseph@codesourcery.com>
14839
14840 [BZ #14518]
14841 * include/rounding-mode.h: New file.
14842 * sysdeps/generic/get-rounding-mode.h: Likewise.
14843 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
14844 * stdlib/strtod_l.c: Include <rounding-mode.h>.
14845 (MAX_VALUE): New macro.
14846 (MIN_VALUE): Likewise.
14847 (overflow_value): New function.
14848 (underflow_value): Likewise.
14849 (round_and_return): Use overflow_value and underflow_value to
14850 determine return values in overflow and underflow cases. Use
14851 round_away to determine rounding depending on rounding mode.
14852 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
14853 determine return values in overflow and underflow cases.
14854 * stdlib/tst-strtod-round.c: Include <fenv.h>.
14855 (struct test_results): New structure.
14856 (struct test): Use struct test_results to store expected results
14857 for all rounding modes.
14858 (TEST): Include expected results for all rounding modes.
14859 (test_in_one_mode): New function.
14860 (do_test): Use test_in_one_mode to compute and check results.
14861 Check results for all rounding modes.
14862 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
14863 $(link-libm).
14864
19fcedd5
AM
148652012-12-09 Allan McRae <allan@archlinux.org>
14866
1e9d84cd 14867 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 14868
8bbfd2f1
JM
148692012-09-11 Joseph Myers <joseph@codesourcery.com>
14870
14871 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
14872 (_G_int32_t): Likewise.
14873 (_G_uint16_t): Likewise.
14874 (_G_uint32_t): Likewise.
14875 (_G_HAVE_BOOL): Likewise.
14876 (_G_HAVE_ATEXIT): Likewise.
14877 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14878 (_G_HAVE_IO_FILE_OPEN): Likewise.
14879 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
14880 (_G_int32_t): Likewise.
14881 (_G_uint16_t): Likewise.
14882 (_G_uint32_t): Likewise.
14883 (_G_HAVE_BOOL): Likewise.
14884 (_G_HAVE_ATEXIT): Likewise.
14885 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14886 (_G_HAVE_IO_FILE_OPEN): Likewise.
14887 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
14888 (_G_int32_t): Likewise.
14889 (_G_uint16_t): Likewise.
14890 (_G_uint32_t): Likewise.
14891 (_G_HAVE_BOOL): Likewise.
14892 (_G_HAVE_ATEXIT): Likewise.
14893 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14894 (_G_HAVE_IO_FILE_OPEN): Likewise.
14895
b1dc5912
L
148962012-09-11 H.J. Lu <hongjiu.lu@intel.com>
14897
14898 * csu/libc-tls.c: Update copyright years.
14899
0e886ef9
JM
149002012-09-10 Joseph Myers <joseph@codesourcery.com>
14901
28361c5e
JM
14902 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
14903 [!_G_USING_THUNKS]: Remove conditional code.
14904 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
14905 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
14906
0e886ef9
JM
14907 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
14908 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
14909 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14910 (_G_VTABLE_LABEL_PREFIX): Likewise.
14911 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14912 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14913 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14914 (_G_VTABLE_LABEL_PREFIX): Likewise.
14915 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14916 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14917 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14918 (_G_VTABLE_LABEL_PREFIX): Likewise.
14919 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14920
bcba7aa2
L
149212012-09-10 H.J. Lu <hongjiu.lu@intel.com>
14922
14923 * libio/Makefile: Include ../Makeconfig before tests.
14924 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
14925 only if $(build-shared) is yes.
14926
06585ee8
L
14927 * iconv/gconv_db.c: Update copyright years.
14928
80ccd52c
LD
149292012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14930
14931 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
14932 unwind info if defined PIC. Fix special cases description.
14933 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
14934
14935 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
14936 DP_HI_MASK entry.
14937 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
14938
691bc9c1
L
149392012-09-07 H.J. Lu <hongjiu.lu@intel.com>
14940
3d9b46b3
L
14941 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
14942
de2139a9
L
14943 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
14944 is NULL.
14945
5ca78dd0
L
14946 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
14947 (LDLIBS-tst-chk4): This.
14948 (LDFLAGS-tst-chk5): Renamed to ...
14949 (LDLIBS-tst-chk5): This.
14950 (LDFLAGS-tst-chk6): Renamed to ...
14951 (LDLIBS-tst-chk6): This.
14952 (LDFLAGS-tst-lfschk4): Renamed to ...
14953 (LDLIBS-tst-lfschk4): This.
14954 (LDFLAGS-tst-lfschk5): Renamed to ...
14955 (LDLIBS-tst-lfschk5): This.
14956 (LDFLAGS-tst-lfschk6): Renamed to ...
14957 (LDLIBS-tst-lfschk6): This.
14958
691bc9c1
L
14959 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
14960 on $(common-objpfx)soversions.mk.
14961
65cafb1c
JM
149622012-09-07 Joseph Myers <joseph@codesourcery.com>
14963
14964 [BZ #10014]
14965 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
14966 example host name.
14967
c78ab094
SP
149682012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14969
14970 * malloc/arena.c (arena_get_retry): New function that gets
14971 another arena for the caller to try its request on.
14972 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
14973 current arena cannot fulfill the request.
14974 (__libc_memalign): Likewise.
14975 (__libc_memalign): Likewise.
14976 (__libc_pvalloc): Likewise.
14977 (__libc_calloc): Likewise.
14978
01f49f59
JT
149792012-09-05 John Tobey <john.tobey@gmail.com>
14980
14981 [BZ #13542]
14982 * manual/arith.texi (Operations on Complex): Fix description
14983 of carg branch cut.
14984
4c23fed5
JM
149852012-09-06 Joseph Myers <joseph@codesourcery.com>
14986
1d3c8572
JM
14987 [BZ #10014]
14988 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
14989 host name.
14990
4c23fed5
JM
14991 [BZ #10038]
14992 * manual/memory.texi (Memory): Make order of menu items match
14993 order of sections.
14994
04570aaa
L
149952012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14996
14997 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
14998 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
14999 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
15000
b80af2f4
L
150012012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15002
15003 * csu/libc-tls.c (static_dtv): Renamed to ...
15004 (_dl_static_dtv): This. Make it global.
15005 (_dl_initial_dtv): Removed.
15006 (__libc_setup_tls): Updated.
15007 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
15008 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
15009 DL_INITIAL_DTV.
15010
2abe9f15
PM
150112012-09-06 Petr Machata <pmachata@redhat.com>
15012
15013 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
15014 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
15015 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
15016 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
15017
0948c3af
L
150182012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15019
15020 [BZ #14545]
15021 * csu/libc-tls.c (_dl_initial_dtv): New variable.
15022 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
15023 freeing dtv[-1].
15024
a5055ad1
L
150252012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15026
15027 [BZ #14544]
15028 * Makeconfig (link-static-before-libc): Replace $(+prector)
15029 with $(+prectorT).
15030 (link-static-after-libc): Replace $(+postctor) with
15031 $(+postctorT).
15032 (link-bounded): Replace $(+prector)/$(+postctor) with
15033 $(+prectorT)/$(+postctorT).
15034 (+prectorT): New macro.
15035 (+postctorT): Likewise.
15036
ed8c2ecd
JM
150372012-09-06 Joseph Myers <joseph@codesourcery.com>
15038
15039 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
15040 (round_str): Handle values above the maximum for IBM long double
15041 as inexact.
15042 * stdlib/tst-strtod-round.c (tests): Regenerated.
15043
14c996c8
AK
150442012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15045
15046 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
15047 assembler flag.
15048 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
15049 zarch_nohighgprs around the zarch optimized routines.
15050 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
15051 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
15052 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
15053 for zarch.
15054
430d6ce6
DM
150552012-09-05 David S. Miller <davem@davemloft.net>
15056
15057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15058
ff04dda4
DM
15059 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
15060 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
15061 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
15062 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15063 entries.
15064
24d4e01b
AO
150652012-09-05 Alexandre Oliva <aoliva@redhat.com>
15066
15067 * malloc/arena.c: Fold copyright years.
15068 * malloc/mcheck.c, malloc/memusage.c: Likewise.
15069
61d58174
AO
150702012-09-05 Alexandre Oliva <aoliva@redhat.com>
15071
15072 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
15073
20196a5e
AO
150742012-09-05 Alexandre Oliva <aoliva@redhat.com>
15075
15076 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
15077
5c447383
AO
150782012-09-05 Alexandre Oliva <aoliva@redhat.com>
15079
15080 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
15081 change internal state upon failure.
15082
fad64255
AO
150832012-09-05 Alexandre Oliva <aoliva@redhat.com>
15084
15085 * malloc/mcheck.c (mcheck_check_all): Fix typo.
15086 * malloc/memusage.c (mmap): Likewise.
15087 (mmap64, mremap): Likewise. Adjust name in comment.
15088
1ffb8c90
SP
150892012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15090
15091 * libio/fileops.c: Fix typos in comments.
15092 * libio/oldfileops.c: Likewise.
15093 * libio/wfileops.c: Likewise.
15094
6ef9cc37
SP
150952012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15096
15097 [BZ #1349]
15098 * malloc/Makefile (tests): Add tst-malloc-usable test case.
15099 (tst-malloc-usable-ENV): Set environment for test case.
15100 * malloc/hooks.c (malloc_check_get_size): New function to get
15101 requested size.
15102 * malloc/malloc.c (musable): Use malloc_check_get_size.
15103 * malloc/tst-malloc-usable.c: New test case.
15104
4d038ae3
AS
151052012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15106
15107 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
15108
c4e85184
AM
151092012-09-05 Allan McRae <allan@archlinux.org>
15110
b9dafc56 15111 [BZ #13966]
c4e85184
AM
15112 * configure.in (CXX_SYSINCLUDES): Use compiler output to
15113 determine header location.
15114 * configure: Regenerated.
15115
e1343020
AS
151162012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15117
15118 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
15119 float format.
15120 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
15121 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
15122 format.
e1343020
AS
15123 (test): Regenerate.
15124
0a9f1987
DM
151252012-09-04 David S. Miller <davem@davemloft.net>
15126
15127 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
15128 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
15129 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
15130
29237804
FW
151312012-09-04 Florian Weimer <fweimer@redhat.com>
15132
15133 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
15134 failures.
15135
edb3cb88
FW
15136 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
15137
60160d83
JM
151382012-09-04 Joseph Myers <joseph@codesourcery.com>
15139
15140 [BZ #9914]
15141 * libio/iogetdelim.c: Include <limits.h>.
15142 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
15143 + len + 1 would overflow.
15144
bcd6c8dc
AJ
151452012-09-03 Andreas Jaeger <aj@suse.de>
15146
15147 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15148 * sysdeps/i386/fpu/libm-test-ulps: Update.
15149
4ffffbd2
LD
151502012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15151
15152 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15153 Add s_sinf-sse2, s_conf-sse2.
15154
15155 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
15156 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
15157 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
15158 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
15159
15160 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
15161 for using routine as __sinf_ia32.
15162 Use macro for function declaration and weak_alias.
15163 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
15164 for using routine as __cosf_ia32.
15165 Use macro for function declaration and weak_alias.
15166
15167 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
15168 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
15169
15170 * sysdeps/x86_64/fpu/s_sinf.S: New file.
15171 * sysdeps/x86_64/fpu/s_cosf.S: New file.
15172 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15173
15174 * math/libm-test.inc (cos_test): Add more test cases.
15175 (sin_test): Likewise.
15176 (sincos_test): Likewise.
15177
511fa286
AK
151782012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15179
15180 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15181 (IFUNC_RESOLVE): Make pointers to the specialized implementations
15182 hidden.
15183 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15184
5f30cfec
L
151852012-09-02 H.J. Lu <hongjiu.lu@intel.com>
15186
15187 [BZ #14538]
15188 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
15189 first element of the GOT.
15190 (elf_machine_load_address): Return the difference between
15191 the runtime address of _DYNAMIC and elf_machine_dynamic ().
15192
0786794f
AM
151932012-09-01 Allan McRae <allan@archlinux.org>
15194
5f30cfec
L
15195 [BZ #13412]
15196 * configure.in (AWK): Require gawk version 3.0 or later.
15197 * configure: Regenerated.
0786794f 15198
26889eac
JM
151992012-09-01 Joseph Myers <joseph@codesourcery.com>
15200
15201 * sysdeps/unix/sysv/linux/kernel-features.h
15202 (__ASSUME_POSIX_CPU_TIMERS): Remove.
15203 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15204 [__NR_clock_getres]: Make code unconditional.
15205 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
15206 (clock_getcpuclockid): Remove code left unreachable by removal of
15207 conditionals.
15208 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
15209 code unconditional.
15210 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15211 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15212 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
15213 Make code unconditional.
15214 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15215 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15216 * sysdeps/unix/sysv/linux/clock_settime.c
15217 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
15218 conditional code.
15219 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
15220 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15221
d22e28b0
L
152222012-08-29 H.J. Lu <hongjiu.lu@intel.com>
15223
15224 [BZ #14476]
15225 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
15226 scripts/test-installation.pl.
15227
15228 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
15229 and $ld_so_version if it is set.
15230
050af9c4
SP
152312012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15232
15233 [BZ #14516]
15234 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
15235 failure if reading from procfs failed.
15236 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
15237
ad845c0b
JM
152382012-08-27 Joseph Myers <joseph@codesourcery.com>
15239
15240 * sysdeps/unix/sysv/linux/kernel-features.h
15241 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
15242 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15243 Remove conditional code.
15244 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15245 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
15246 Remove conditional code.
15247 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15248 * sysdeps/unix/sysv/linux/i386/fxstat.c
15249 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15250 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15251 * sysdeps/unix/sysv/linux/i386/fxstatat.c
15252 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15253 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15254 * sysdeps/unix/sysv/linux/i386/lxstat.c
15255 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15256 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15257 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
15258 Remove conditional code.
15259 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15260 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15261 Remove conditional code.
15262 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15263 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
15264 <kernel-features.h>.
15265 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
15266 Remove.
15267 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
15268 Remove conditional code.
15269 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15270 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
15271 Remove conditional.
15272
5dbf56af
MF
152732012-08-27 Mike Frysinger <vapier@gentoo.org>
15274
15275 [BZ #5400]
15276 * NEWS: Add fixed bug number.
15277
d6e70f43
JM
152782012-08-27 Joseph Myers <joseph@codesourcery.com>
15279
7efb4737
JM
15280 [BZ #14519]
15281 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
15282 underflowing exponent in case of negative sign.
15283 * stdlib/tst-strtod-round-data: Add more tests.
15284 * stdlib/tst-strtod-round.c (tests): Regenerated.
15285
af92131a
JM
15286 [BZ #3479]
15287 * stdlib/strtod_l.c (NDIG): Remove.
15288 (HEXNDIG): Likewise.
15289 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
15290 smallest representable value.
15291 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
15292 lie within an exact representation of 1/2 ulp of the result.
15293 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
15294 unconditionally.
15295 (TENS_P9_IDX): Define unconditionally.
15296 (TENS_P9_SIZE): Likewise.
15297 (TENS_P10_IDX): Likewise.
15298 (TENS_P10_SIZE): Likewise.
15299 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
15300 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
15301 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
15302 entries for 10^2^13 and 10^2^14.
15303 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
15304 (TENS_P13_IDX): Define.
15305 (TENS_P13_SIZE): Likewise.
15306 (TENS_P14_IDX): Likewise.
15307 (TENS_P14_SIZE): Likewise.
15308 (_fpioconst_pow10): Change array size to
15309 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
15310 unconditional.
15311 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
15312 1024]: Add entries for 10^2^13 and 10^2^14.
15313 [LAST_POW10 > _LAST_POW10]: Remove #error.
15314 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
15315 (_fpioconst_pow10): Change array size to
15316 FPIOCONST_POW10_ARRAY_SIZE.
15317 * stdlib/gen-fpioconst.c: New file.
15318 * stdlib/gen-tst-strtod-round.c: Likewise.
15319 * stdlib/tst-strtod-round-data: Likewise.
15320 * stdlib/tst-strtod-round.c: Likewise.
15321 * stdlib/Makefile (tests): Add tst-strtod-round.
15322
d6e70f43
JM
15323 [BZ #14459]
15324 * stdlib/strtod_l.c: Include <stdint.h>.
15325 (NDEBUG): Do not define.
15326 (round_and_return): Change EXPONENT parameter to type intmax_t.
15327 Rearrange calculations to avoid internal overflow possibilities.
15328 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
15329 Rearrange calculations to avoid internal overflow possibilities.
15330 Assert that number fits inside MPNSIZE limbs.
15331 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
15332 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
15333 calculations and add assertions to avoid internal overflow
15334 possibilities. Add casts to avoid signed/unsigned operations.
15335 * stdlib/tst-strtod-overflow.c: New file.
15336 * stdlib/Makefile (tests): Add tst-strtod-overflow.
15337
1f529f7d
MP
153382012-08-25 Marek Polacek <polacek@redhat.com>
15339
15340 * time/time.h: Fix some typos in comments.
15341
59a629f1
RM
153422012-08-23 Roland McGrath <roland@hack.frob.com>
15343
15344 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
15345 * posix/tst-rfc3484-2.c: Likewise.
15346 * posix/tst-rfc3484-3.c: Likewise.
15347
d3bafbc9
SM
153482012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
15349
15350 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
15351 (EF_ARM_ABI_FLOAT_HARD): Likewise.
15352
4efcc022
JM
153532012-08-23 Joseph Myers <joseph@codesourcery.com>
15354
15355 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
15356 #include of fxstatat64.c.
15357
3cc3ef96
RM
153582012-08-22 Roland McGrath <roland@hack.frob.com>
15359
f04e2132
RM
15360 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
15361 * shadow/getspent_r.c: Likewise.
15362 * shadow/getspnam.c: Likewise.
15363 * shadow/getspnam_r.c: Likewise.
15364 * gshadow/getsgent.c: Likewise.
15365 * gshadow/getsgent_r.c: Likewise.
15366 * gshadow/getsgnam.c: Likewise.
15367 * gshadow/getsgnam_r.c: Likewise.
15368 * inet/getnetbyad.c: Likewise.
15369 * inet/getnetbyad_r.c: Likewise.
15370 * inet/getnetbynm.c: Likewise.
15371 * inet/getnetbynm_r.c: Likewise.
15372 * inet/getnetent.c: Likewise.
15373 * inet/getnetent_r.c: Likewise.
15374 * inet/getproto.c: Likewise.
15375 * inet/getproto_r.c: Likewise.
15376 * inet/getprtent.c: Likewise.
15377 * inet/getprtent_r.c: Likewise.
15378 * inet/getprtname.c: Likewise.
15379 * inet/getprtname_r.c: Likewise.
15380 * inet/getrpcbyname.c: Likewise.
15381 * inet/getrpcbyname_r.c: Likewise.
15382 * inet/getrpcbynumber.c: Likewise.
15383 * inet/getrpcbynumber_r.c: Likewise.
15384 * inet/getrpcent.c: Likewise.
15385 * inet/getrpcent_r.c: Likewise.
15386 * inet/getaliasent.c: Likewise.
15387 * inet/getaliasent_r.c: Likewise.
15388 * inet/getaliasname.c: Likewise.
15389 * inet/getaliasname_r.c: Likewise.
15390 * nscd/getgrgid_r.c: Likewise.
15391 * nscd/getgrnam_r.c: Likewise.
15392 * nscd/gethstbyad_r.c: Likewise.
15393 * nscd/gethstbynm3_r.c: Likewise.
15394 * nscd/getpwnam_r.c: Likewise.
15395 * nscd/getpwuid_r.c: Likewise.
15396 * nscd/getsrvbynm_r.c: Likewise.
15397 * nscd/getsrvbypt_r.c: Likewise.
15398 * nscd/gai.c: Likewise.
15399
c53d909c
RM
15400 * configure.in (build_nscd): New substituted variable, set
15401 by --disable-build-nscd and defaults to $use_nscd.
15402 * configure: Regenerated.
15403 * config.make.in (build-nscd): New substituted variable.
15404 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
15405 Change conditional to require [$(build-nscd) = yes] as well.
15406 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
15407
3cc3ef96
RM
15408 [BZ# 13696]
15409 * configure.in (use_nscd): New substituted variable, set by
15410 --disable-nscd. If enabled, define USE_NSCD.
15411 * configure: Regenerated.
15412 * config.h.in: Add USE_NSCD.
15413 * config.make.in (use-nscd): New substituted variable.
15414 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
15415 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
15416 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
15417 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
15418 (CFLAGS-getgrnam_r.c): Likewise.
15419 (CFLAGS-initgroups.c): Likewise.
15420 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
15421 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
15422 Variables removed.
15423 * inet/getnetgrent_r.c
15424 (nscd_setnetgrent): New function, broken out of ...
15425 (setnetgrent): ... here. Call it.
15426 (innetgr): Conditionalize nscd bits on [USE_NSCD].
15427 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
15428 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
15429 * nscd/Makefile (routines, aux): Move definitions after include of
15430 Makeconfig. Conditionalize on [$(use-nscd) != no].
15431 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
15432 Conditionalize on [USE_NSCD].
15433 (is_nscd, nscd_init_cb): Likewise.
15434 (nss_load_library): Conditionalize init callback on [USE_NSCD].
15435 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
15436 * nss/nss_db/db-init.c: Likewise.
15437 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
15438 [USE_NSCD].
15439 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
15440 (make_request): Use it.
15441 (cache_valid_p): New function.
15442 (__check_pf): Use it.
15443 * NEWS: Add item for --disable-nscd.
15444
07e51550
DL
154452012-08-22 Dmitry V. Levin <ldv@altlinux.org>
15446
15447 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
15448 to support sed >= 4.2.1-20-ga9bf076.
15449 * configure: Regenerated.
15450
35a5b08b
RM
154512012-08-22 Roland McGrath <roland@hack.frob.com>
15452
15453 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
15454 Conditionalize whole body on [IREL].
15455
8479f23a
JL
154562012-08-22 Jeff Law <law@redhat.com>
15457
15458 [BZ #14505]
15459 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
15460 if the family is PF_UNSPEC.
15461
48da0b21
MF
154622012-08-22 Mike Frysinger <vapier@gentoo.org>
15463
15464 * Makerules (lib-version): Rename from V.
15465 (install-lib-nosubdir): Change V to lib-version.
15466
15d0da8c
WS
154672012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
15468
15469 [BZ #14252]
15470 * powerpc32/power6/wcschr.c: New file.
15471 * powerpc32/power6/wcscpy.c: New file.
15472 * powerpc32/power6/wcsrchr.c: New file.
15473 * powerpc64/power6/wcschr.c: New file.
15474 * powerpc64/power6/wcscpy.c: New file.
15475 * powerpc64/power6/wcsrchr.c: New file.
15476
bcca0895
MK
154772012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15478
15479 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
15480 (two_way_short_needle): Use it.
5a4aaa33
RM
15481 * string/strstr.c (AVAILABLE1_USES_J): Define.
15482 * string/strcasestr.c: Likewise.
99677e57
MK
15483
15484 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
15485 array references.
15486 * string/strcasestr.c (TOLOWER): Make side-effect safe.
15487
400726de
MK
15488 [BZ #11607]
15489 * NEWS: Add an entry.
15490 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
15491 define their defaults.
15492 (two_way_short_needle): Detect end-of-string on-the-fly.
15493 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
15494 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
15495 * string/bug-strcasestr1.c: New test.
15496 * string/Makefile: Run it.
15497
20a71f2c
MK
154982012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15499
15500 [BZ #11607]
15501 * string/str-two-way.h (two_way_short_needle): Optimize matching of
15502 the first character.
15503
21ad0558
RM
155042012-08-21 Roland McGrath <roland@hack.frob.com>
15505
15506 * csu/elf-init.c (__libc_csu_irel): Function removed.
15507 * csu/libc-start.c (apply_irel): New function.
15508 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
15509
0e1d9911
JM
155102012-08-21 Joseph Myers <joseph@codesourcery.com>
15511
15512 * sysdeps/unix/sysv/linux/kernel-features.h
15513 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
15514 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
15515 <kernel-features.h>.
15516 [__NR_fadvise64_64]: Make code unconditional.
15517 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
15518 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15519 !__NR_fadvise64_64)]: Likewise.
15520 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15521 !__NR_fadvise64_64))]: Likewise.
15522 [__NR_fadvise64]: Make code unconditional.
15523 [!__NR_fadvise64]: Remove conditional code.
15524 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
15525 <kernel-features.h>.
15526 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15527 unconditional.
15528 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15529 conditional code.
15530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
15531 not include <kernel-features.h>.
15532 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15533 unconditional.
15534 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15535 conditional code.
15536 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
15537 include <kernel-features.h>.
15538 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15539 unconditional.
15540 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15541 conditional code.
15542
14a50c9d
WS
155432012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15544
15545 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
15546 slight instruction rearrangements per scrollpipe analysis.
15547 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15548
c0f4faf0
RM
155492012-08-20 Roland McGrath <roland@hack.frob.com>
15550
696da859
RM
15551 * manual/syslog.texi (syslog; vsyslog, closelog):
15552 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
15553 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
15554
c0f4faf0
RM
15555 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
15556 DSOCAPS to match condition on defining it.
15557
348363b2
JM
155582012-08-20 Joseph Myers <joseph@codesourcery.com>
15559
a35cbf28
JM
15560 * sysdeps/unix/sysv/linux/kernel-features.h
15561 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
15562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
15563 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15564 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
15566 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15567 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
15569 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15570 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15571
445f7ecd
JM
15572 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
15573 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
15574
348363b2
JM
15575 * sysdeps/unix/sysv/linux/kernel-features.h
15576 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
15577 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
15578 unconditional.
15579 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15580 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
15581 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15582 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15583 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
15584 Make code unconditional.
15585 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15586 (__mmap64) [!__NR_mmap2]: Likewise.
15587 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
15588 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15589 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15590 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
15591 [__NR_mmap2]: Make code unconditional.
15592 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15593 (__mmap64) [!__NR_mmap2]: Likewise.
15594
bc5bc0e5
AK
155952012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15596
15597 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
15598
88d506de
AJ
155992012-08-18 Andreas Jaeger <aj@suse.de>
15600
15601 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
15602
493387d2
MF
156032012-08-18 Mike Frysinger <vapier@gentoo.org>
15604
15605 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
15606 * include/unistd.h (__have_sock_cloexec): Likewise.
15607 (__have_pipe2): Likewise.
15608 (__have_dup3): Likewise.
15609
a277af22
MF
156102012-08-18 Mike Frysinger <vapier@gentoo.org>
15611
15612 [BZ #9685]
15613 * include/unistd.h (__have_pipe2): Change define into an extern int.
15614 (__have_dup3): Likewise.
15615 * socket/have_sock_cloexec.c: Include fcntl.h.
15616 (__have_pipe2): New variable.
15617 (__have_dup3): Likewise.
15618
fdab8fd3
MF
156192012-08-17 Mike Frysinger <vapier@gentoo.org>
15620
15621 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
15622
31035e80
MP
156232012-08-17 Marek Polacek <polacek@redhat.com>
15624
15625 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
15626 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
15627
3bd9e993
RM
156282012-08-17 Roland McGrath <roland@hack.frob.com>
15629
c91c505f
RM
15630 * configure.in: Add AC_SUBST for sysheaders.
15631 * configure: Regenerated.
15632 * config.make.in (sysheaders): New substituted variable.
15633
7c6f9d53
RM
15634 * sysdeps/unix/mkfifo.c: Moved ...
15635 * sysdeps/posix/mkfifo.c: ... here.
15636 * sysdeps/unix/mkfifoat.c: Moved ...
15637 * sysdeps/posix/mkfifoat.c: ... here.
15638
15639 * sysdeps/unix/utime.c: Moved ...
15640 * sysdeps/posix/utime.c: ... here.
15641
15642 * sysdeps/unix/time.c: Moved ...
15643 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
15644 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
15645 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
15646
15647 * sysdeps/unix/nice.c: Moved ...
15648 * sysdeps/posix/nice.c: ... here.
15649
15650 * sysdeps/unix/alarm.c: Moved ...
15651 * sysdeps/posix/alarm.c: ... here.
15652
3bd9e993
RM
15653 * intl/Makefile ($(codeset_mo)): Depend on the input file.
15654
d1f09384
JL
156552012-08-17 Jeff Law <law@redhat.com>
15656
15657 * intl/Makefile (codeset_mo): New variable.
15658 ($(codeset_mo)): New target.
15659 (tst-codeset.out): Depend on that. Remove explicit rule.
15660 (tst-gettext3.out, tst-gettext5.out): Likewise.
15661 (LOCPATH-ENV, tst-codeset-ENV): New variables.
15662 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
15663 * intl/tst-codeset.sh: Remove.
15664 * intl/tst-gettext3.sh: Likewise.
15665 * intl/tst-gettext5.sh: Likewise.
15666
2ae1ae5c
RM
156672012-08-17 Roland McGrath <roland@hack.frob.com>
15668
c31fdb83
RM
15669 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
15670 * sysdeps/unix/syscalls.list: ... here.
15671
a0844057
RM
15672 * sysdeps/posix/getaddrinfo.c
15673 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
15674 (gaiconf_init, gaiconf_reload): Use them.
15675 [!_STATBUF_ST_NSEC]
15676 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
15677 Define using time_t rather than struct timespec.
15678
750c1f2a
RM
15679 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
15680 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
15681 Macros removed.
15682 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
15683 [!NO_THREADS].
15684 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
15685 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
15686 Likewise.
15687
2ae1ae5c
RM
15688 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
15689 __libc_cleanup_push argument.
15690
e66a42f5
RM
15691 * bits/param.h: New file.
15692 * misc/sys/param.h: New file.
15693 * include/sys/param.h: New file.
15694 * misc/Makefile (headers): Add bits/param.h.
15695 * sysdeps/generic/sys/param.h: File removed.
15696 * sysdeps/unix/sysv/linux/bits/param.h: New file.
15697 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
15698 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 15699 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 15700
b7c08a66
RM
15701 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
15702 last change.
15703
b2e1c562
RM
15704 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
15705 [_IO_MTSAFE_IO].
15706 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
15707 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
15708 New macros.
15709
c75ccd4c
RM
15710 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
15711 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
15712 rather than -D_IO_MTSAFE_IO conditionally.
15713 * stdio-common/Makefile (CPPFLAGS): Likewise.
15714 * wcsmbs/Makefile (CPPFLAGS): Likewise.
15715 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
15716 Use $(libio-mtsafe).
15717 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
15718 of -D_IO_MTSAFE_IO.
15719 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
15720 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
15721 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
15722 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
15723 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
15724 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
15725 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
15726 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
15727 (CFLAGS-fread_u_chk.c): Likewise.
15728 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
15729 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
15730 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
15731 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
15732 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
15733 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
15734 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
15735 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
15736 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
15737
15738 * libio/Makefile: Test [$(libc-reentrant) = yes]
15739 instead of [$(filter %REENTRANT, $(defines)) nonempty].
15740
15741 * Makeconfig
15742 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
15743 * sysdeps/pthread/configure: File removed.
15744 * sysdeps/pthread/Makeconfig: New file.
15745 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
15746 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
15747
d9195db8
GB
157482012-08-16 Gary Benson <gbenson@redhat.com>
15749
15750 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
15751 unmapping the first object in a namespace.
15752
86466cd9
RM
157532012-08-16 Roland McGrath <roland@hack.frob.com>
15754
15755 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
15756 (__internal_setnetgrent): ... this. Add internal_function to
15757 definition. Add libc_hidden_def.
15758 (setnetgrent): Update caller.
15759 (internal_endnetgrent): Renamed to ...
15760 (__internal_endnetgrent): ... this. Add internal_function to
15761 definition. Add libc_hidden_def.
15762 (endnetgrent): Update caller.
15763 (internal_getnetgrent_r): Renamed to ...
15764 (__internal_getnetgrent_r): ... this. Add internal_function to
15765 definition. Add libc_hidden_def.
15766 (__getnetgrent_r): Update caller.
15767 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
15768
c3c8283c
JM
157692012-08-16 Joseph Myers <joseph@codesourcery.com>
15770
15771 * stdlib/longlong.h: Update from GCC.
15772
db1ee0a8
RM
157732012-08-16 Roland McGrath <roland@hack.frob.com>
15774
15775 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
15776 on _QL, which is set by umul_ppmm but never used.
15777 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
15778 variables, which are set by GMP macros but never used.
15779 * stdio-common/_itowa.c (_itowa): Likewise.
15780 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
15781 * stdlib/mod_1.c (mpn_mod_1): Likewise.
15782
30f69637
CD
157832012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
15784
15785 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
15786 struct La_sh_regs is not constant.
15787 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
15788 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
15789 and struct La_sparc64_regs are not constant.
15790
93a78ac4
JM
157912012-08-16 Joseph Myers <joseph@codesourcery.com>
15792
15793 * sysdeps/unix/sysv/linux/kernel-features.h
15794 (__ASSUME_POSIX_TIMERS): Remove.
15795 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15796 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15797 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
15798 Make code unconditional.
15799 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15800 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
15801 Make code unconditional.
15802 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15803 * sysdeps/unix/sysv/linux/clock_nanosleep.c
15804 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
15805 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15806 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
15807 Make code unconditional.
15808 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15809 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
15810 (__libc_missing_posix_timers): Remove.
15811
dd924cd7
RM
158122012-08-15 Roland McGrath <roland@hack.frob.com>
15813
4b4f2771
RM
15814 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
15815 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
15816
601c888b
RM
15817 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
15818
176790a7
RM
15819 * elf/dl-sym.c: Include <stdlib.h>.
15820
329bc018
RM
15821 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
15822 constants, which avoids warnings in 32-bit builds.
15823
e04e272d
RM
15824 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
15825 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
15826
952bf94a
RM
15827 * misc/lseek.c: File moved to ...
15828 * io/lseek.c: ... here.
15829
7c99b50a
RM
15830 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
15831
dd924cd7
RM
15832 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
15833 shifting LEN more than 31 bits at once.
15834
b3f479a8
LD
158352012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15836
15837 [BZ #14195]
8c4ae0d4
RM
15838 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
15839 segmentation fault for a case of two empty input strings.
b3f479a8
LD
15840 * string/test-strncasecmp.c (check1): Renamed to...
15841 (bz12205): ...this.
15842 (bz14195): Add new testcase for two empty input strings and N > 0.
15843 (test_main): Call new testcase, adapt for renamed function.
15844
9c55864e
AJ
158452012-08-15 Andreas Jaeger <aj@suse.de>
15846
15847 [BZ #14090]
15848 * crypt/md5test2.c: New test, based on test supplied by Serge
15849 Belyshev <belyshev@depni.sinp.msu.ru>.
15850 * crypt/Makefile (xtests): Add md5test-giant..
15851 * crypt/Makefile ($(objpfx)md5test-giant): Add.
15852
02dcb6c5
PE
158532012-08-15 Paul Eggert <eggert@cs.ucla.edu>
15854
15855 [BZ #14090]
15856 * crypt/md5.c (md5_process_block): Don't assume the buffer
15857 length is less than 2**32.
15858 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
15859 length is less than 2**64.
15860
a3f95dcc
RM
158612012-08-15 Roland McGrath <roland@hack.frob.com>
15862
be75d758
RM
15863 * string/str-two-way.h: Include <sys/param.h>.
15864 (MAX): Macro removed.
15865
7312ca90
RM
15866 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
15867 Move #define and #undef of memmove to just before and after
15868 including <string.h>.
15869
9a0a5486
RM
15870 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
15871 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
15872 and after including <string.h>. Move declarations of
15873 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
15874 to before #include "string/memmove.c".
15875
67cc348d
RM
15876 * include/dirent.h: Declare __getdirentries.
15877
a3f95dcc
RM
15878 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
15879 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
15880
ca98e171
MF
158812012-08-14 Mike Frysinger <vapier@gentoo.org>
15882
15883 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
15884 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
15885 * sysdeps/i386/configure: Regenerated.
15886 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
15887 STABS_CURRENT_FILE, and STABS_FUN.
15888 (END): Remove call to STABS_FUN_END.
15889 (STABS_CURRENT_FILE1): Delete.
15890 (STABS_CURRENT_FILE): Likewise.
15891 (STABS_FUN): Likewise.
15892 (STABS_FUN_END): Likewise.
15893 (STABS_FUN2): Likewise.
15894 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
15895 * sysdeps/x86_64/configure: Regenerated.
15896
5908bf46
RM
158972012-08-14 Roland McGrath <roland@hack.frob.com>
15898
15899 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 15900 * elf/dl-lookup.c: Likewise.
5908bf46 15901
f2c05b9e
JM
159022012-08-14 Joseph Myers <joseph@codesourcery.com>
15903
15904 * sysdeps/unix/sysv/linux/kernel-features.h
15905 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
15906 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
15907 unconditionally.
15908 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
15909 unconditionally.
15910 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
15911 condition on __ASSUME_CLONE_THREAD_FLAGS.
15912
e11f5155
AJ
159132012-08-14 Andreas Jaeger <aj@suse.de>
15914
15915 * sysdeps/i386/fpu/libm-test-ulps: Update.
15916
51a9ba86
MK
159172012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
15918
2fdd4f78
AJ
15919 * include/atomic.h (atomic_exchange_and_add): Split into ...
15920 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
15921 New atomic macros.
51a9ba86 15922
ba6cba9e
MT
159232012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
15924
15925 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15926
42443a47
JL
159272012-08-13 Jeff Law <law@redhat.com>
15928
15929 * manual/stdio.texi (snprintf): Clarify handling of the trailing
15930 null byte in the output string.
15931
121dce05
JM
159322012-08-10 Joseph Myers <joseph@codesourcery.com>
15933
15934 * sysdeps/unix/sysv/linux/kernel-features.h
15935 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
15936 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
15937 (__ASSUME_ARG_MAX_STACK_BASED): Define.
15938 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15939 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
15940 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
15941 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
15942
bf51f568
JL
159432012-08-09 Jeff Law <law@redhat.com>
15944
15945 [BZ #13939]
15946 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
15947 When avoid_arena is set, don't retry in the that arena. Pick the
15948 next one, whatever it might be.
15949 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
15950 (arena_lock): Pass in new parameter to arena_get2.
15951 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
15952 arena_get2.
15953 (__libc_malloc): Unify retrying after main arena failure with
15954 __libc_memalign version.
15955 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
15956
f85fa270
L
159572012-08-09 H.J. Lu <hongjiu.lu@intel.com>
15958
15959 [BZ #14166]
15960 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
15961 to __redirect_strstr.
15962 (__strstr_sse42): Use typeof __redirect_strstr.
15963 (__strstr_ia32): Likewise.
15964 (__libc_strstr): New prototype.
15965 (strstr): Renamed to ...
15966 (__libc_strstr): This.
15967 (strstr): New strong alias of __libc_strstr.
15968 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15969 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
15970 __redirect_time.
15971 Include <time.h>.
15972 (__libc_time): New prototype.
15973 (time_ifunc): Replace time with __libc_time.
15974 (time): New strong alias and hidden definition of __libc_time.
15975 (__GI_time): Remove strong alias.
15976 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
15977 Include <stddef.h>.
15978 (memmove): Redefined to __redirect_memmove.
15979 (__memmove_sse2): Use typeof __redirect_memmove.
15980 (__memmove_ssse3): Likewise.
15981 (__memmove_ssse3_back): Likewise.
15982 (__libc_memmove): New prototype.
15983 (memmove): Renamed to ...
15984 (__libc_memmove): This.
15985 (memmove): New strong alias of __libc_memmove.
15986
33b4a91e
MS
159872012-08-08 Mark Salter <msalter@redhat.com>
15988
15989 * elf/elf.h
15990 (R_MN10300_TLS_GD): Define.
15991 (R_MN10300_TLS_LD): Likewise.
15992 (R_MN10300_TLS_LDO): Likewise.
15993 (R_MN10300_TLS_GOTIE): Likewise.
15994 (R_MN10300_TLS_IE): Likewise.
15995 (R_MN10300_TLS_LE): Likewise.
15996 (R_MN10300_TLS_DTPMOD): Likewise.
15997 (R_MN10300_TLS_DTPOFF): Likewise.
15998 (R_MN10300_TLS_TPOFF): Likewise.
15999 (R_MN10300_SYM_DIFF): Likewise.
16000 (R_MN10300_ALIGN): Likewise.
16001 (R_MN10300_NUM): Update.
16002
b36137f1
JM
160032012-08-08 Joseph Myers <joseph@codesourcery.com>
16004
16005 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
16006 Remove.
16007
cdd915fd
RM
160082012-08-08 Roland McGrath <roland@hack.frob.com>
16009
a2433aac
RM
16010 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
16011
cdd915fd
RM
16012 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
16013 sysdeps/unix -> sysdeps/posix move.
16014 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16015
bf9b740a
AM
160162012-08-07 Allan McRae <allan@archlinux.org>
16017
16018 [BZ #14303]
16019 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
16020 (SUNOS_CPP): Likewise.
16021 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
16022 not found.
16023 (open_input): Call CPP using execvp.
16024
93df14ee
JM
160252012-08-07 Joseph Myers <joseph@codesourcery.com>
16026
16027 * sysdeps/unix/sysv/linux/kernel-features.h
16028 (__ASSUME_PROT_GROWSUPDOWN): Remove.
16029 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16030 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16031 (__ASSUME_WAITID_SYSCALL): Likewise.
16032 * sysdeps/unix/sysv/linux/dl-execstack.c
16033 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
16034 code unconditional.
16035 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
16036 conditional code.
16037 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
16038 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
16039 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
16040 code.
16041 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
16042 unconditional.
16043 [__ASSUME_WAITID_SYSCALL]: Likewise.
16044 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
16045
d34689de
RM
160462012-08-07 Roland McGrath <roland@hack.frob.com>
16047
a281decc
RM
16048 * sysdeps/unix/closedir.c: Renamed to ...
16049 * sysdeps/posix/closedir.c: ... here.
16050 * sysdeps/unix/dirfd.c: Renamed to ...
16051 * sysdeps/posix/dirfd.c: ... here.
16052 * sysdeps/unix/dirstream.h: Renamed to ...
16053 * sysdeps/posix/dirstream.h: ... here.
16054 * sysdeps/unix/fdopendir.c: Renamed to ...
16055 * sysdeps/posix/fdopendir.c: ... here.
16056 * sysdeps/unix/opendir.c: Renamed to ...
16057 * sysdeps/posix/opendir.c: ... here.
16058 * sysdeps/unix/readdir.c: Renamed to ...
16059 * sysdeps/posix/readdir.c: ... here.
16060 * sysdeps/unix/readdir_r.c: Renamed to ...
16061 * sysdeps/posix/readdir_r.c: ... here.
16062 * sysdeps/unix/rewinddir.c: Renamed to ...
16063 * sysdeps/posix/rewinddir.c: ... here.
16064 * sysdeps/unix/seekdir.c: Renamed to ...
16065 * sysdeps/posix/seekdir.c: ... here.
16066 * sysdeps/unix/telldir.c: Renamed to ...
16067 * sysdeps/posix/telldir.c: ... here.
16068 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
16069 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
16070 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16071 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16072
22895b47
RM
16073 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
16074 * bits/fcntl.h: ... here.
16075
707a53b6
RM
16076 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
16077 not 0.
16078 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
16079 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
16080 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
16081 (struct flock): Move l_start, l_len to the beginning.
16082 Use __pid_t for l_pid.
16083 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
16084 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
16085 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
16086 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
16087 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
16088 [__USE_LARGEFILE64] (struct flock64): New type.
16089 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
16090
f0bd3e25
RM
16091 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
16092 * bits/dirent.h: ... here.
16093
d34689de
RM
16094 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
16095 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
16096
6dad2c06
JM
160972012-08-07 Joseph Myers <joseph@codesourcery.com>
16098
16099 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16100 Change from 2.6.0 to 2.6.16.
16101 * sysdeps/unix/sysv/linux/configure: Regenerated.
16102 * sysdeps/unix/sysv/linux/kernel-features.h
16103 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
16104 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
16105 version.
16106 (__ASSUME_UTIMES): Likewise.
16107 (__ASSUME_CLONE_STOPPED): Remove.
16108 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
16109 architectures, not kernel version.
16110 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
16111 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16112 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16113 (__ASSUME_WAITID_SYSCALL): Likewise.
16114 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
16115 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
16116 * README: State 2.6.16 as minimum Linux kernel version. Do not
16117 refer to older versions.
16118
03af9520
RM
161192012-08-06 Roland McGrath <roland@hack.frob.com>
16120
8e49df1d
RM
16121 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
16122 Define alphasort64 as an alias.
16123 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
16124 Define versionsort64 as an alias.
16125 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
16126 Define scandir64 as an alias.
16127 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
16128 Define scandirat64 as an alias.
16129 * dirent/alphasort64.c (alphasort64):
16130 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
16131 * dirent/versionsort64.c: Likewise.
16132 * dirent/scandir64.c: Likewise.
16133 * dirent/scandirat64.c: Likewise.
16134 * sysdeps/wordsize-64/alphasort.c: File removed.
16135 * sysdeps/wordsize-64/alphasort64.c: File removed.
16136 * sysdeps/wordsize-64/scandir.c: File removed.
16137 * sysdeps/wordsize-64/scandir64.c: File removed.
16138 * sysdeps/wordsize-64/scandirat.c: File removed.
16139 * sysdeps/wordsize-64/scandirat64.c: File removed.
16140 * sysdeps/wordsize-64/versionsort.c: File removed.
16141 * sysdeps/wordsize-64/versionsort64.c: File removed.
16142 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
16143 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
16144 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
16145 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
16146 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
16147 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
16148 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
16149 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
16150
16151 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
16152 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16153 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
16154 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16155 [defined __arch64__ || defined __sparcv9]
16156 (__INO_T_MATCHES_INO64_T): New macro.
16157 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16158 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
16159 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
16160 * sysdeps/unix/sysv/linux/bits/dirent.h
16161 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
16162 (_DIRENT_MATCHES_DIRENT64): New macro.
16163
03af9520
RM
16164 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
16165 Define lockf64 as an alias.
16166 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
16167 Define fseeko64 as an alias.
16168 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
16169 Define ftello64 as an alias.
16170 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
16171 Define _IO_fgetpos64 and fgetpos64 as aliases.
16172 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
16173 Define _IO_fsetpos64 and fsetpos64 as aliases.
16174 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
16175 Conditionalize body on this.
16176 * libio/fseeko64.c: Likewise.
16177 * libio/ftello64.c: Likewise.
16178 * libio/iofgetpos64.c: Likewise.
16179 * libio/iofsetpos64.c: Likewise.
16180 * sysdeps/wordsize-64/lockf.c: File removed.
16181 * sysdeps/wordsize-64/lockf64.c: File removed.
16182 * sysdeps/wordsize-64/fseeko.c: File removed.
16183 * sysdeps/wordsize-64/fseeko64.c: File removed.
16184 * sysdeps/wordsize-64/ftello.c: File removed.
16185 * sysdeps/wordsize-64/ftello64.c: File removed.
16186 * sysdeps/wordsize-64/iofgetpos.c: File removed.
16187 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
16188 * sysdeps/wordsize-64/iofsetpos.c: File removed.
16189 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
16190 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
16191 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
16192 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
16193 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
16194 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
16195 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
16196 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
16197 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
16198 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
16199 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
16200
16201 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16202 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16203 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
16204 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16205 [defined __arch64__ || defined __sparcv9]
16206 (__OFF_T_MATCHES_OFF64_T): New macro.
16207 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16208 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16209 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16210 (__OFF_T_MATCHES_OFF64_T): New macro.
16211
c5757acd
L
162122012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16213
16214 * stdlib/secure-getenv.c (__secure_getenv): Replace
16215 GLIBC_2_16 with GLIBC_2_17.
16216
3a31811e
L
162172012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16218
16219 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
16220 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16221
faa2bccb
DM
162222012-08-03 David S. Miller <davem@davemloft.net>
16223
16224 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16225
85fe1997
JM
162262012-08-03 Joseph Myers <joseph@codesourcery.com>
16227
16228 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
16229 Remove.
16230 (__ASSUME_CORRECT_SI_PID): Likewise.
16231 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
16232 (__ASSUME_TMPFS_NAME): Likewise.
16233 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
16234 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
16235 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
16236 (HAVE_AUX_SECURE): Make definition unconditional.
16237 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
16238 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
16239
4f75b7a0
RM
162402012-08-03 Roland McGrath <roland@hack.frob.com>
16241
16242 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
16243 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
16244 * sysdeps/mach/hurd/eloop-threshold.h: New file.
16245 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16246 __eloop_threshold instead of SYMLOOP_MAX.
16247
16248 * sysdeps/generic/eloop-threshold.h: New file.
16249 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
16250 of MAXSYMLINKS.
16251 * elf/chroot_canon.c (chroot_canon): Likewise.
16252
7aab07e4
JM
162532012-08-03 Joseph Myers <joseph@codesourcery.com>
16254
16255 [BZ #13717]
16256 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16257 Change to 2.6.0 everywhere.
16258 * sysdeps/unix/sysv/linux/configure: Regenerated.
16259 * sysdeps/unix/sysv/linux/kernel-features.h
16260 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
16261 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
16262 kernel versions.
16263 (__ASSUME_POSIX_TIMERS): Define unconditionally.
16264 (__ASSUME_FUTEX_REQUEUE): Remove.
16265 (__ASSUME_STATFS64): Define unconditionally.
16266 (__ASSUME_AT_SECURE): Likewise.
16267 (__ASSUME_CORRECT_SI_PID): Likewise.
16268 (__ASSUME_TGKILL): Define without depending on kernel version for
16269 i386.
16270 (__ASSUME_UTIMES): Likewise.
16271 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
16272 kernel version.
16273 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
16274 (__ASSUME_TMPFS_NAME): Likewise.
16275 * README: Update reference to Linux kernel versions.
16276
b67e9372
MP
162772012-08-02 Marek Polacek <polacek@redhat.com>
16278
1f529f7d 16279 [BZ# 14150]
b67e9372
MP
16280 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
16281 libc_cv_asm_type_prefix with %.
16282 * configure: Regenerated.
d2441631
RM
16283 * include/libc-symbols.h: Remove comment about
16284 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
16285 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
16286 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
16287 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
16288 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
16289 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16290 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
16291 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
16292 * elf/tst-unique2mod1.c: Likewise.
16293 * elf/tst-unique1mod2.c: Likewise.
16294 * elf/tst-unique1mod1.c: Likewise.
16295 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
16296 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
16297 Replace ASM_TYPE_DIRECTIVE with .type.
16298 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16299 * sysdeps/i386/sysdep.h: Likewise.
16300 * sysdeps/x86_64/sysdep.h: Likewise.
16301 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
16302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16303 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 16304 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
16305 * sysdeps/powerpc/powerpc32/sysdep.h:
16306 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
16307 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16308 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16309 * sysdeps/i386/fpu/e_powf.S: Likewise.
16310 * sysdeps/i386/fpu/e_expl.S: Likewise.
16311 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16312 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16313 * sysdeps/i386/fpu/e_pow.S: Likewise.
16314 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16315 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16316 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16317 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16318 * sysdeps/i386/fpu/e_log2.S: Likewise.
16319 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16320 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16321 * sysdeps/i386/fpu/e_powl.S: Likewise.
16322 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16323 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16324 * sysdeps/i386/fpu/e_logl.S: Likewise.
16325 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16326 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16327 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16328 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16329 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16330 * sysdeps/i386/fpu/e_log.S: Likewise.
16331 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16332 * sysdeps/i386/fpu/e_logf.S: Likewise.
16333 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16334 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16335 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16336 * sysdeps/i386/fpu/e_log10.S: Likewise.
16337 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16338 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16339 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16340 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16341 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16342 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
16343 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16344 * sysdeps/i386/i686/strtok.S: Likewise.
16345 * sysdeps/i386/i386-mcount.S: Likewise.
16346 * sysdeps/i386/strtok.S: Likewise.
16347 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
16348 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16349 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16350 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16351 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16352 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16353 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16354 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16355 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16356 * sysdeps/x86_64/_mcount.S: Likewise.
16357 * sysdeps/x86_64/strtok.S: Likewise.
16358 * sysdeps/sh/_mcount.S: Likewise.
16359
2747bf9a
RM
163602012-08-01 Roland McGrath <roland@hack.frob.com>
16361
16362 * libio/iofopen.c: Include <fcntl.h>.
16363 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
16364 (_IO_fopen64, fopen64): Define as aliases.
16365 * libio/iofopen64.c: Include <fcntl.h>.
16366 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
16367 Conditionalize body on this.
16368 * sysdeps/wordsize-64/iofopen.c: File removed.
16369 * sysdeps/wordsize-64/iofopen64.c: File removed.
16370
3fb791b8
MP
163712012-08-01 Marek Polacek <polacek@redhat.com>
16372
16373 * libc/Makeconfig: Use elf in place of binfmt-subdir.
16374 Use dlfcn directly instead of a variable.
16375 (binfmt-subdir): Do not define.
16376 (dlfcn): Likewise.
16377
a9f1039f
JM
163782012-08-01 Joseph Myers <joseph@codesourcery.com>
16379
23bddc06
JM
16380 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
16381 Remove all definitions.
16382 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
16383 <kernel-features.h>.
16384 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16385 (miss_F_GETOWN_EX): Remove all definitions.
16386 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
16387 macro definition.
16388 [!__ASSUME_FCNTL64]: Remove conditional code.
16389 [__ASSUME_FCNTL64]: Make code unconditional.
16390 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
16391 <kernel-features.h>.
16392 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16393 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
16394 (lockf64) [__NR_fcntl64]: Make code unconditional.
16395 (lockf64) [__ASSUME_FCNTL64]: Likewise.
16396
a9f1039f
JM
16397 * sysdeps/unix/sysv/linux/kernel-features.h
16398 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
16399 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
16400 Make code unconditional.
16401 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16402 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
16404 [__NR_vfork]: Make code unconditional.
16405 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16406 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
16408 [__NR_vfork]: Make code unconditional.
16409 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16410 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16411
09c0ee5f
RM
164122012-08-01 Roland McGrath <roland@hack.frob.com>
16413
48aec5b9
RM
16414 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
16415 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
16416
cd97c966
RM
16417 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16418 Define mkstemp64 as an alias.
3f55550c
RM
16419 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16420 Define mkstemps64 as an alias.
cd97c966
RM
16421 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16422 Define mkostemp64 as an alias.
b8625cfc
RM
16423 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16424 Define mkostemps64 as an alias.
cd97c966
RM
16425 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
16426 Conditionalize body on this.
16427 * misc/mkostemp64.c: Likewise.
b8625cfc 16428 * misc/mkostemps64.c: Likewise.
3f55550c 16429 * misc/mkstemps64.c: Likewise.
cd97c966
RM
16430 * sysdeps/wordsize-64/mkstemp64.c: File removed.
16431 * sysdeps/wordsize-64/mkostemp64.c: File removed.
16432 * sysdeps/wordsize-64/mkostemp.c: File removed.
16433 * sysdeps/wordsize-64/mkstemp.c: File removed.
16434 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
16435 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
16436 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
16437 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
16438
09c0ee5f
RM
16439 [BZ #14138]
16440 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
16441 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
16442 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
16443 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
16444
16445 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
16446 compat_symbol macros from <shlib-compat.h> rather than the underlying
16447 default_symbol_version and symbol_version macros, so that DEFAULT
16448 lines in shlib-versions are respected.
16449 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
16450
7e66ee51
FW
164512012-08-01 Florian Weimer <fweimer@redhat.com>
16452
16453 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
16454 Declare with warn_unused_result.
16455 (setgid, setregid, setegid, setresgid): Likewise.
16456 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
16457 Likewise.
16458 * WUR-REPORT: Remove set*id functions.
16459
d2a54255
PT
164602012-07-31 Pino Toscano <toscano.pino@tiscali.it>
16461
16462 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
16463
7ecdb005
RM
164642012-07-31 Roland McGrath <roland@hack.frob.com>
16465
b4180a5e 16466 [BZ #10191]
789bd351
RM
16467 * include/sys/socket.h (__libc_accept, __libc_accept4):
16468 Add attribute_hidden.
16469 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
16470
40ce302d
RM
16471 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
16472 use of PTR_MANGLE.
16473 * inet/getnetgrent_r.c (setup): Likewise.
16474
7ecdb005
RM
16475 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
16476
e2eabb2c
DM
164772012-07-31 David S. Miller <davem@davemloft.net>
16478
16479 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16480
d0419dbf
JM
164812012-07-31 Joseph Myers <joseph@codesourcery.com>
16482
16483 [BZ #13629]
16484 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
16485 value between 1.0 and 2.0 and smaller part has absolute value less
16486 than 1.0.
16487 * math/s_clog10.c (__clog10): Likewise.
16488 * math/s_clog10f.c (__clog10f): Likewise.
16489 * math/s_clog10l.c (__clog10l): Likewise.
16490 * math/s_clogf.c (__clogf): Likewise.
16491 * math/s_clogl.c (__clogl): Likewise.
16492 * math/libm-test.inc (clog_test): Add more tests.
16493 (clog10_test): Likewise.
16494 * sysdeps/i386/fpu/libm-test-ulps: Update.
16495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16496
2bc13872
FW
164972012-07-31 Florian Weimer <fweimer@redhat.com>
16498
16499 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
16500 Exit with zero in case no suitable GID is found, and write a
16501 message to standard error.
16502
bea9b193
RM
165032012-07-30 Roland McGrath <roland@hack.frob.com>
16504
16505 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
16506 rather than to 1.
16507 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
16508 (MAXPATHLEN): Removed.
16509 (NOGROUP, NODEV): New macros.
16510 (setbit, clrbit, isset, isclr): New macros.
16511 (howmany, roundup, powerof2): New macros.
16512 (DEV_BSIZE): New macro.
16513
16514 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
16515 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
16516
16517 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
16518 definition on [!__NO_LONG_DOUBLE_MATH].
16519
16520 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
16521 PTR_MANGLE and PTR_DEMANGLE.
16522
16523 * socket/accept4.c (accept4): Rename to __libc_accept4.
16524 Define accept4 as a weak alias.
16525
16526 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
16527 on [_DIRENT_HAVE_D_TYPE].
16528 * io/ftw.c (ftw_dir): Likewise.
16529
16530 * io/xmknod.c (__xmknod): Don't check PATH for being null.
16531
16532 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
16533
16534 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
16535 Use the BSD numbers rather than the arbitrary ones we had.
16536 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
16537 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
16538 (SIGXCPU, SIGXFSZ): New macros.
16539 (_NSIG): Now 32.
16540
16541 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
16542 initializer on [_LIBC_REENTRANT].
16543
16544 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
16545 definitions inside [_POSIX_MAPPED_FILES].
16546
16547 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
16548
16549 * dirent/opendir.c: Include <fcntl.h>.
16550
16551 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
16552 (__libc_getspecific): Likewise.
16553 (__libc_key_create): Likewise.
16554
16555 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
16556 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
16557 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
16558 (tmpfile64): Define as alias.
16559 * sysdeps/wordsize-64/tmpfile.c: File removed.
16560 * sysdeps/wordsize-64/tmpfile64.c: File removed.
16561 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
16562 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
16563
16564 * stdio-common/vfscanf.c: Include <stdbool.h>.
16565 * nss/makedb.c: Likewise.
16566 * stdio-common/_i18n_number.h: Likewise.
16567 * argp/argp-help.c: Likewise.
16568 * posix/wordexp.c: Likewise.
16569 * sysdeps/posix/spawni.c: Likewise.
16570 * nss/nss_files/files-initgroups.c: Likewise.
16571 * stdio-common/reg-modifier.c: Include <stdlib.h>.
16572 * nss/nss_files/files-initgroups.c: Likewise.
16573 * nss/nss_db/db-netgrp.c: Likewise.
16574 * nss/nss_db/db-initgroups.c: Likewise.
16575 * io/fchmodat.c: Include <sys/stat.h>.
16576
16577 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
16578 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
16579
16580 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
16581 [HAVE_MMAP].
16582
16583 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
16584 Add multiple inclusion protection.
16585
e5abc686
DM
165862012-07-27 David S. Miller <davem@davemloft.net>
16587
16588 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16589
815e6fa3
GB
165902012-07-27 Gary Benson <gbenson@redhat.com>
16591
16592 [BZ #14298]
16593 * elf/rtld.c: Include <stap-probe.h>.
16594 (dl_main): Added static probes "init_start" and "init_complete".
16595 * elf/dl-load.c: Include <stap-probe.h>.
16596 (lose): Take new parameter "nsid".
16597 Added static probe "map_failed".
16598 (_dl_map_object_from_fd): Pass namespace id to lose.
16599 Added static probe "map_start".
16600 (open_verify): Pass namespace id to lose.
16601 * elf/dl-open.c: Include <stap-probe.h>.
16602 (dl_open_worker) Added static probes "map_complete", "reloc_start"
16603 and "reloc_complete".
16604 * elf/dl-close.c: Include <stap-probe.h>.
16605 (_dl_close_worker): Added static probes "unmap_start" and
16606 "unmap_complete".
16607 * elf/rtld-debugger-interface.txt: New file documenting the above.
16608
9f98c16c
RM
166092012-07-26 Roland McGrath <roland@hack.frob.com>
16610
16611 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
16612 rather than a string variable.
16613 * sunrpc/rpc_main.c (h_output): Likewise.
16614 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
16615
f3c22df3
PT
166162012-07-26 Pino Toscano <toscano.pino@tiscali.it>
16617
16618 * inet/check_native.c: New file.
16619
3129cfc6
JM
166202012-07-26 Joseph Myers <joseph@codesourcery.com>
16621
da865e95
JM
16622 [BZ #13629]
16623 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
16624 if larger part has absolute value 1.0.
16625 * math/s_clog10.c (__clog10): Likewise.
16626 * math/s_clog10f.c (__clog10f): Likewise.
16627 * math/s_clog10l.c (__clog10l): Likewise.
16628 * math/s_clogf.c (__clogf): Likewise.
16629 * math/s_clogl.c (__clogl): Likewise.
16630 * math/libm-test.inc (clog_test): Add more tests.
16631 (clog10_test): Likewise.
16632 * sysdeps/i386/fpu/libm-test-ulps: Update.
16633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16634
3129cfc6
JM
16635 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
16636 (pltexit): Likewise.
16637 (La_regs): Likewise.
16638 (La_retval): Likewise.
16639 (int_retval): Likewise.
16640 Update #error for removed macros to refer only to definitions in
16641 tst-audit.h.
16642 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
16643 macro.
16644 (pltexit): Likewise.
16645 (La_regs): Likewise.
16646 (La_retval): Likewise.
16647 (int_retval): Likewise.
16648 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
16649 macro.
16650 (pltexit): Likewise.
16651 (La_regs): Likewise.
16652 (La_retval): Likewise.
16653 (int_retval): Likewise.
16654 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
16655 macro.
16656 (pltexit): Likewise.
16657 (La_regs): Likewise.
16658 (La_retval): Likewise.
16659 (int_retval): Likewise.
16660 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
16661 macro.
16662 (pltexit): Likewise.
16663 (La_regs): Likewise.
16664 (La_retval): Likewise.
16665 (int_retval): Likewise.
16666 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
16667 macro.
16668 (pltexit): Likewise.
16669 (La_regs): Likewise.
16670 (La_retval): Likewise.
16671 (int_retval): Likewise.
16672 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
16673 macro.
16674 (pltexit): Likewise.
16675 (La_regs): Likewise.
16676 (La_retval): Likewise.
16677 (int_retval): Likewise.
16678 * sysdeps/generic/tst-audit.h: Update comment to refer only to
16679 macro definitions in tst-audit.h.
16680 * sysdeps/i386/tst-audit.h: New file.
16681 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
16682 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
16683 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
16684 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
16685 * sysdeps/sh/tst-audit.h: Likewise.
16686 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
16687 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
16688 * sysdeps/x86_64/tst-audit.h: Likewise.
16689
bfc07087
AJ
166902012-07-26 Andreas Jaeger <aj@suse.de>
16691
b1b2aaf8
AJ
16692 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
16693 ptrace.
16694
16695 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
16696 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
16697 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
16698 PTRACE_O_MASK.
16699 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
16700 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
16701 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
16702
bfc07087
AJ
16703 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
16704 value.
16705
16706 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
16707 _sigsys.
16708 (si_call_addr, si_syscall, si_arch): Define new macro.
16709 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
16710 _sigsys.
16711 (si_call_addr, si_syscall, si_arch): Define new marcro.
16712 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
16713 _sigsys.
16714 (si_call_addr, si_syscall, si_arch): Define new macro.
16715 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
16716 _sigsys.
16717 (si_call_addr, si_syscall, si_arch): Define new macro.
16718
89b4b02f
JM
167192012-07-25 Joseph Myers <joseph@codesourcery.com>
16720
16721 [BZ #13717]
16722 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16723 Change to 2.4.21 where previously 2.4.1.
16724 * sysdeps/unix/sysv/linux/configure: Regenerated.
16725 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
16726 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
16727 Linux kernel version.
16728 (__ASSUME_STD_AUXV): Remove.
16729 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
16730 kernel version.
16731 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
16732 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
16733 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
16734 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
16735 (__ASSUME_NETLINK_SUPPORT): Likewise.
16736 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
16737 (__no_netlink_support): Remove conditional definition.
16738 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
16739 Remove.
16740 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16741 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
16742 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
16743 (if_nameindex_ioctl): Remove.
16744 (if_nameindex_netlink): Do not handle __no_netlink_support.
16745 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16746 code.
16747 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
16748 Remove conditional code.
16749 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16750 code.
16751 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
16752 unconditional.
16753 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16754 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
16755 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
16756 Remove.
16757 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
16758 [!__ASSUME_STD_AUXV]: Remove conditional code.
16759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
16760 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
16761 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
16762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
16763 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
16764 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16765 code.
16766 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16768 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
16769 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16770 conditional code.
16771 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16773 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16774 code.
16775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16776 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16777 conditional code.
16778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
16779 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16780 code unconditional.
16781 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16782 conditional code.
16783 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16784 unconditional.
16785 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16786 conditional code.
16787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16788 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16789 unconditional.
16790 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16791 conditional code.
16792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16793 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16794 code unconditional.
16795 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16796 conditional code.
16797 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16798 unconditional.
16799 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16800 conditional code.
16801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16802 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16803 code unconditional.
16804 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16805 conditional code.
16806 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16807 unconditional.
16808 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16809 conditional code.
16810
842a39cd
AS
168112012-07-25 Andreas Schwab <schwab@linux-m68k.org>
16812
16813 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
16814 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
16815 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16816 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
16817 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
16818 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16819 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16820 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16821 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
16822 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16823 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
16824 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
16825 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16826 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16827 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
16828 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
16829 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
16830 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
16831 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
16832 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
16833 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
16834 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
16835 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16836
84b3fd84
FW
168372012-07-25 Florian Weimer <fweimer@redhat.com>
16838
16839 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
16840 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
16841 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
16842 Introduce __libc_secure_getenv.
0c7936d5
FW
16843 * stdlib/Versions (2.17): Add secure_getenv
16844 (GLIBC_PRIVATE): Add __libc_secure_getenv.
16845 * stdlib/secure-getenv.c: Rename __secure_getenv to
16846 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
16847 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
16848 * stdlib/tst-secure-getenv.c: New.
16849 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
16850 * manual/startup.texi (Environment Access): Document
16851 secure_getenv.
84b3fd84
FW
16852 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
16853 __libc_secure_getenv.
16854 * inet/ruserpass.c (ruserpass): Likewise.
16855 * malloc/mtrace.c (mtrace): Likewise.
16856 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 16857 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
16858 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
16859 * sysdeps/posix/tempname.c: Likewise. Evaluate
16860 HAVE_SECURE_GETENV.
16861 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 16862 __secure_getenv to __libc_secure_getenv.
84b3fd84 16863 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
16864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16865 Likewise.
16866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16867 Likewise.
16868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16869 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16870 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16871 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16872 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16873 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16874 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 16875
56e49b71
JM
168762012-07-25 Joseph Myers <joseph@codesourcery.com>
16877
16878 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
16879 (struct La_i86_retval): Likewise.
16880 (struct La_x86_64_regs): Likewise.
16881 (struct La_x86_64_retval): Likewise.
16882 (struct La_x32_regs): Likewise.
16883 (struct La_x32_retval): Likewise.
16884 (struct La_ppc32_regs): Likewise.
16885 (struct La_ppc32_retval): Likewise.
16886 (struct La_ppc64_regs): Likewise.
16887 (struct La_ppc64_retval): Likewise.
16888 (struct La_sh_regs): Likewise.
16889 (struct La_sh_retval): Likewise.
16890 (struct La_s390_32_regs): Likewise.
16891 (struct La_s390_32_retval): Likewise.
16892 (struct La_s390_64_regs): Likewise.
16893 (struct La_s390_64_retval): Likewise.
16894 (struct La_sparc32_regs): Likewise.
16895 (struct La_sparc32_retval): Likewise.
16896 (struct La_sparc64_regs): Likewise.
16897 (struct La_sparc64_retval): Likewise.
16898 (struct audit_ifaces): Remove architecture-specific pltenter and
16899 pltexit members.
16900 * sysdeps/i386/ldsodefs.h: New file.
16901 * sysdeps/powerpc/ldsodefs.h: Likewise.
16902 * sysdeps/s390/ldsodefs.h: Likewise.
16903 * sysdeps/sh/ldsodefs.h: Likewise.
16904 * sysdeps/sparc/ldsodefs.h: Likewise.
16905 * sysdeps/x86_64/ldsodefs.h: Likewise.
16906
354691b7
MP
169072012-07-25 Marek Polacek <polacek@redhat.com>
16908
16909 [BZ #6808]
16910 * math/libm-test.inc (yn_test): Add another test.
16911 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
16912 to ERANGE when the result is +-Inf.
16913 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16914 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16915 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
16916 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
16917
bf9e2071
JM
169182012-07-24 Joseph Myers <joseph@codesourcery.com>
16919
16920 * conform/data/time.h-data (NULL): Use macro-constant. Require
16921 equal to 0.
16922 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
16923 clock_t.
16924 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
16925
57633811
TS
169262012-07-23 Thomas Schwinge <thomas@codesourcery.com>
16927
16928 * configure.in <sysdeps resolving>: Correct printing
16929 Implies_before.
16930 * configure: Regenerate.
16931
c23c33b0
TS
169322012-07-22 Thomas Schwinge <thomas@codesourcery.com>
16933
16934 * math/w_ilogb.c: Include <limits.h>.
16935 * math/w_ilogbl.c: Likewise.
16936
b5982523
JM
169372012-07-20 Joseph Myers <joseph@codesourcery.com>
16938
16939 * manual/lang.texi (__va_copy): Document primarily as ISO C99
16940 va_copy. Document allowing for unavailable va_copy only as
16941 pre-C99 compatibility.
16942 * manual/string.texi (Copying and Concatenation): Use va_copy
16943 instead of __va_copy in concat example.
16944
ac4ea442
PT
169452012-07-20 Pino Toscano <toscano.pino@tiscali.it>
16946
16947 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
16948 (__sendto): Use create_address_port. Initialize APORT and deallocate
16949 it if not null.
16950
f98eafbd
PT
16951 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
16952 with O_NOLINK passed to __file_name_lookup.
16953
898c7aab
PT
16954 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
16955 with O_NOLINK passed to __file_name_lookup.
16956
0ced335a
PT
16957 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
16958 negative N or less than NGIDS.
16959
b3404dbd
PT
16960 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
16961 type to string_t. Set ERANGE as errno and return it if NAME is not big
16962 enough. Use memcpy instead of strncpy.
16963
0f48659e
JM
169642012-07-20 Joseph Myers <joseph@codesourcery.com>
16965
16966 * elf/Makefile (check-data): Remove.
16967 (localplt.data): New vpath directive.
16968 ($(objpfx)check-localplt.out): Use localplt.data from vpath
16969 instead of $(check-data).
16970 * scripts/data/localplt-generic.data: Move to ...
16971 * sysdeps/generic/localplt.data: ... here.
16972 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
16973 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
16974 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
16975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16976 ... here.
16977 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
16978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16979 ... here.
16980 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
16981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
16982 ... here.
16983 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
16984 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16985 ... here.
16986 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
16987 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
16988 ... here.
16989 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
16990 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
16991 ... here.
16992
d37cbdaa
AZ
169932012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16994
16995 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
16996 PPC32 and PPC64 files.
16997 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
16998 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
16999
46f85fc2
AK
170002012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17001
17002 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
17003 __makecontext_ret to ...
17004 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17005 ... here and call exit if uc_link is NULL. New file.
17006 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
17007 __makecontext_ret.S.
17008 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
17009 __makecontext_ret to ...
17010 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17011 ... here and call exit if uc_link is NULL. New file.
17012 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
17013 __makecontext_ret.S.
17014
08f43f9b
AK
170152012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17016
17017 * elf/elf.h (R_390_IRELATIVE): New definition.
17018 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
17019 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
17020 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
17021 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17022 (elf_machine_lazy_rel): Likewise.
17023 * sysdeps/s390/dl-irel.h: New file.
17024 * sysdeps/s390/s390-64/memcpy.S: New asm code.
17025 * sysdeps/s390/s390-64/memset.S: New asm code.
17026 * sysdeps/s390/s390-64/memcmp.S: New asm code.
17027 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
17028 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
17029 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
17030 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
17031 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
17032 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
17033 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
17034 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
17035 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
17036 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
17037 * sysdeps/s390/s390-32/memcpy.S: New asm code.
17038 * sysdeps/s390/s390-32/memset.S: New asm code.
17039 * sysdeps/s390/s390-32/memcmp.S: New asm code.
17040
3b05db33
MP
170412012-07-17 Marek Polacek <polacek@redhat.com>
17042
17043 [BZ #14349]
17044 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
17045 * sysdeps/s390/s390-64/configure.in: Likewise.
17046 * sysdeps/sparc/configure.in: Likewise.
17047 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
17048 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
17049 * sysdeps/i386/configure.in: Likewise.
17050 * sysdeps/x86_64/configure.in: Likewise.
17051 * sysdeps/sh/configure.in: Likewise.
17052 * sysdeps/s390/s390-32/configure: Regenerated.
17053 * sysdeps/s390/s390-64/configure: Likewise.
17054 * sysdeps/x86_64/configure: Likewise.
17055 * sysdeps/sh/configure: Likewise.
17056 * sysdeps/powerpc/powerpc64/configure: Likewise.
17057 * sysdeps/powerpc/powerpc32/configure: Likewise.
17058 * sysdeps/sparc/configure: Likwise.
17059 * sysdeps/i386/configure: Likewise.
17060
a66877c6
MP
17061 * elf/dl-open.c: Comment fixes.
17062
cfc82fd8
JM
170632012-07-17 Joseph Myers <joseph@codesourcery.com>
17064
bd29910a
JM
17065 * Makefile [CXX] (check-data): Remove.
17066 [CXX] (c++-types.data): New vpath directive.
17067 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
17068 vpath. Do not allow for C++ type data being missing.
17069 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
17070 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
17071 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
17072 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
17073 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
17074 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
17075 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
17076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17077 ... here.
17078 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
17079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17080 ... here.
17081 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
17082 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
17083 ... here.
17084 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
17085 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
17086 ... here.
17087 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
17088 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
17089 ... here.
17090 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
17091 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
17092 ... here.
17093 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
17094 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
17095 ... here.
17096 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
17097 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
17098
cfc82fd8
JM
17099 * elf/tls-macros.h (TLS_LE): Move architecture-specific
17100 definitions to architecture-specific files.
17101 (TLS_IE): Likewise.
17102 (TLS_LD): Likewise.
17103 (TLS_GD): Likewise.
17104 * sysdeps/i386/tls-macros.h: New file.
17105 * sysdeps/powerpc/tls-macros.h: Likewise.
17106 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17107 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17108 * sysdeps/sh/tls-macros.h: Likewise.
17109 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
17110 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
17111 * sysdeps/x86_64/tls-macros.h: Likewise.
17112
f7db3170
TS
171132012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17114
07cbfc23
TS
17115 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
17116 zero value for regular exit case.
17117
f7db3170
TS
17118 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17119 (__start_context): Preserve zero value for regular exit case.
17120
dc97c227
TS
171212012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17122 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17123
17124 * manual/setjmp.texi (setcontext): Clarify normal process
17125 termination when uc_link is the null pointer.
17126 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
17127 exit call.
17128
d0cd7d02
AS
171292012-07-16 Andreas Schwab <schwab@linux-m68k.org>
17130
17131 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
17132 preprocessor. Test for each exception mask separately.
17133
dd318934
AJ
171342012-07-16 Andreas Jaeger <aj@suse.de>
17135
17136 * po/ru.po: Update from translation team.
17137
8048311a
JM
171382012-07-15 Joseph Myers <joseph@codesourcery.com>
17139
17140 * conform/data/string.h-data (NULL): Use macro-constant. Require
17141 equal to 0.
17142 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17143 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17144 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
17145 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
17146 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17147
b637d46e
AJ
171482012-07-13 Andreas Jaeger <aj@suse.de>
17149
17150 * po/fr.po: Update from translation team.
17151
541428fe
MP
171522012-07-12 Marek Polacek <polacek@redhat.com>
17153
17154 [BZ #14173]
17155 * math/libm-test.inc (yn_test): Add test for BZ #14173.
17156 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
17157 loop condition.
17158
ec332e94
JM
171592012-07-12 Joseph Myers <joseph@codesourcery.com>
17160
17161 [BZ #13717]
17162 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17163 Change to 2.4.1 where previously 2.4.0.
17164 * sysdeps/unix/sysv/linux/configure: Regenerated.
17165 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
17166 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
17167 version.
17168 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
17169 (__ASSUME_AT_CLKTCK): Remove.
17170 (__ASSUME_AT_PAGESIZE): Likewise.
17171 (__ASSUME_AT_XID): Likewise.
17172 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
17173 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
17174 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
17175 unconditionally.
17176 (HAVE_AUX_PAGESIZE): Likewise.
17177 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
17178 [__ASSUME_AT_CLKTCK]: Make code unconditional.
17179 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
17180
7b6e99be
JB
171812012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
17182
17183 [BZ #14307]
17184 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
17185 the temporary buffer used to invoke __gethostbyname2_r,
17186 __gethostbyaddr_r and gethostbyname4_r to make room for struct
17187 host_data / struct gaih_addrtuple.
17188 * resolv/nss_dns/dns-host.c (global scope): Move definition of
17189 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
17190 header file nss/nsswitch.h.
17191 * nss/nsswitch.h (global scope): Add definition of implementation
17192 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
17193 resolv/nss_dns/dns-host.c).
17194
608404eb
AJ
171952012-07-11 Andreas Jaeger <aj@suse.de>
17196
17197 * po/fr.po: Update from translation team.
17198
71220aca
AJ
17199 * po/sv.po: Update from translation team
17200 * po/fr.po: Another update from translation team.
17201
28cfe843
AZ
172022012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17203
17204 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
17205 for subnormals or multiply small sinh result by itself.
17206 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17208
6b90f981
DM
172092012-07-11 David S. Miller <davem@davemloft.net>
17210
17211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17212
c6825772
AS
172132012-07-10 Andreas Schwab <schwab@linux-m68k.org>
17214
17215 [BZ #14347]
17216 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
17217 (INTERNAL_MARK): Shift it here.
17218
7b8e0d49
MP
172192012-07-10 Marek Polacek <polacek@redhat.com>
17220
17221 [BZ #14151]
17222 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
17223 libc_cv_asm_global_directive with .globl.
17224 * configure: Regenerated.
17225 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
17226 with .globl.
17227 * sysdeps/i386/configure: Regenerated.
17228 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
17229 with .globl.
17230 * sysdeps/x86_64/configure: Regenerated.
17231 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
17232 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
17233 * elf/tst-unique2mod2.c: Likewise.
17234 * elf/tst-unique2mod1.c: Likewise.
17235 * elf/tst-unique1mod2.c: Likewise.
17236 * elf/tst-unique1mod1.c: Likewise.
17237 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17238 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17239 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17240 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17241 * sysdeps/mach/sysdep.h: Likewise.
17242 * sysdeps/i386/sysdep.h: Likewise.
17243 * sysdeps/i386/i386-mcount.S: Likewise.
17244 * sysdeps/x86_64/_mcount.S: Likewise.
17245 * sysdeps/x86_64/sysdep.h: Likewise.
17246 * sysdeps/sh/_mcount.S: Likewise.
17247 * sysdeps/sh/sysdep.h: Likewise.
17248 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
17249 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
17250 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
17251 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17252 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
17253 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
17254 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
17255 * locale/localeinfo.h: Likewise.
17256 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
17257 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
17258
6c55cda3
RM
172592012-07-09 Roland McGrath <roland@hack.frob.com>
17260
17261 [BZ #14336]
17262 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
17263 system".
17264 * manual/message.texi (The Uniforum approach): Likewise.
17265 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
17266 (glibc iconv Implementation): Likewise.
17267
638a572e
JM
172682012-07-09 Joseph Myers <joseph@codesourcery.com>
17269
17270 [BZ #14337]
17271 * math/s_clog.c (__clog): Avoid scaling a value down where that
17272 could result in underflow.
17273 * math/s_clog10.c (__clog10): Likewise.
17274 * math/s_clog10f.c (__clog10f): Likewise.
17275 * math/s_clog10l.c (__clog10l): Likewise.
17276 * math/s_clogf.c (__clogf): Likewise.
17277 * math/s_clogl.c (__clogl): Likewise.
17278 * math/libm-test.inc (clog_test): Add more tests.
17279 (clog10_test): Likewise.
17280 * sysdeps/i386/fpu/libm-test-ulps: Update.
17281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17282
261f4859
AS
172832012-07-06 Andreas Schwab <schwab@linux-m68k.org>
17284
0abaf3e4
AS
17285 [BZ #14283]
17286 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
17287 by 7 not 8 to examine high bit of fractional part.
17288
261f4859
AS
17289 [BZ #14042]
17290 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
17291 for call to __mcount_internal.
17292 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
17293 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
17294 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
17295
f17ac40d
JM
172962012-07-06 Joseph Myers <joseph@codesourcery.com>
17297
9ad63c23
JM
17298 [BZ #14154]
17299 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
17300 approximation for values within 0x1p-13f of an odd multiple of
17301 pi/4.
17302 * math/libm-test.inc (tan_test): Do not allow spurious underflow
17303 exception. Add more tests.
17304 * sysdeps/i386/fpu/libm-test-ulps: Update.
17305
f17ac40d
JM
17306 [BZ #6778]
17307 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
17308 inputs and return -1 for them. Do not check for +Inf in case not
17309 reachable for +Inf.
17310 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17311 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
17312 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17313 and return -1 for them. Do not check for +Inf in case not
17314 reachable for +Inf.
17315 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
17316 define.
17317 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17318 and return -1 for them. Do not check for +Inf in case not
17319 reachable for +Inf.
17320 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
17321 spurious underflow.
17322 * sysdeps/i386/fpu/libm-test-ulps: Update.
17323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17324
fb21f89b
MF
173252012-07-06 Mike Frysinger <vapier@gentoo.org>
17326
17327 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
17328
cdfe2c5e
JM
173292012-07-05 Joseph Myers <joseph@codesourcery.com>
17330
17331 [BZ #14157]
17332 [BZ #14331]
17333 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
17334 could result in spurious underflow. Scale down values above
17335 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
17336 * math/s_csqrtf.c (__csqrtf): Likewise.
17337 * math/s_csqrtl.c (__csqrtl): Likewise.
17338 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
17339 spurious underflow.
17340 * sysdeps/i386/fpu/libm-test-ulps: Update.
17341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17342
70d35b67
AS
173432012-07-04 Andreas Schwab <schwab@linux-m68k.org>
17344
704bc459
AS
17345 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
17346 xopen-msg.sed.
17347 * catgets/xopen-msg.awk: New file.
17348 * catgets/xopen-msg.sed: Removed.
17349
70d35b67
AS
17350 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
17351 po2text.sed.
17352 * intl/po2test.awk: New file.
17353 * intl/po2test.sed: Removed.
17354
ca61cf32
JM
173552012-07-04 Joseph Myers <joseph@codesourcery.com>
17356
17357 [BZ #14328]
17358 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
17359 or multiply small sinh result by itself.
17360 * math/s_ctanf.c (__ctanf): Likewise.
17361 * math/s_ctanh.c (__ctanh): Likewise.
17362 * math/s_ctanhf.c (__ctanhf): Likewise.
17363 * math/s_ctanhl.c (__ctanhl): Likewise.
17364 * math/s_ctanl.c (__ctanl): Likewise.
17365 * math/libm-test.inc (ctan_test_tonearest): New function.
17366 (ctan_test_towardzero): Likewise.
17367 (ctan_test_downward): Likewise.
17368 (ctan_test_upward): Likewise.
17369 (ctanh_test_tonearest): Likewise.
17370 (ctanh_test_towardzero): Likewise.
17371 (ctanh_test_downward): Likewise.
17372 (ctanh_test_upward): Likewise.
17373 (main): Call these new functions.
17374 * sysdeps/i386/fpu/libm-test-ulps: Update.
17375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17376
ca48a46a
MF
173772012-07-03 Mike Frysinger <vapier@gentoo.org>
17378
17379 * .gitignore: Delete /ports entry.
17380
9d63d37d
AJ
173812012-07-03 Andreas Jaeger <aj@suse.de>
17382
17383 * po/bg.po: Update from translation team.
17384 * po/cs.po: Likewise.
17385 * po/de.po: Likewise.
17386 * po/hr.po: Likewise.
17387 * po/nl.pl: Likewise.
17388 * po/pl.po: Likewise.
17389 * po/vi.po: Likewise.
17390
370ca3d2
JM
173912012-07-03 Joseph Myers <joseph@codesourcery.com>
17392
95f5a9a8
JM
17393 * Makeconfig [!+link] (+link-before-libc): New variable.
17394 [!+link] (+link-after-libc): Likewise.
17395 [!+link] (+link-tests): Likewise.
17396 [!+link] (+link): Define in terms of $(+link-before-libc) and
17397 $(+link-after-libc).
17398 [!+link-static] (+link-static-before-libc): New variable.
17399 [!+link-static] (+link-static-after-libc): Likewise.
17400 [!+link-static] (+link-static-tests): Likewise.
17401 [!+link-static] (+link-static): Define in terms of
17402 $(+link-static-before-libc) and $(+link-static-after-libc).
17403 [build-shared] (link-libc-before-gnulib): New variable.
17404 [build-shared] (link-libc-tests): Likewise.
17405 [build-shared] (link-libc): Define in terms of
17406 $(link-libc-before-gnulib).
17407 [!build-shared] (link-libc-tests): New variable.
17408 (link-libc-static-tests): New variable.
17409 [!gnulib] (gnulib-arch): New variable.
17410 [!gnulib] (gnulib-tests): Likewise.
17411 [!gnulib] (static-gnulib-arch): Likewise.
17412 [!gnulib] (static-gnulib-tests): Likewise.
17413 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
17414 Define with "=" instead of ":=".
17415 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
17416 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
17417 * Rules (binaries-all-notests): New variable.
17418 (binaries-all-tests): Likewise.
17419 (binaries-static-notests): Likewise.
17420 (binaries-static-tests): Likewise.
17421 (binaries-all): Define using $(binaries-all-notests) and
17422 $(binaries-all-tests).
17423 (binaries-static): Define using $(binaries-static-notests) and
17424 $(binaries-static-tests).
17425 (binaries-shared-tests): New variable.
17426 (binaries-shared-notests): Likewise.
17427 (binaries-shared): Remove variable.
17428 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
17429 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
17430 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
17431 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
17432 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
17433 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
17434 * elf/Makefile (sln-modules): New variable.
17435 (extra-objs): Add $(sln-modules:=.o).
17436 (ldconfig-modules): Add static-stubs.
17437 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
17438 * elf/static-stubs.c: New file.
17439
7a845b2c
JM
17440 [BZ #14283]
17441 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
17442 by 7 not 8 to examine high bit of fractional part. Use volatile
17443 variables when splitting into final array of floats if
17444 __FLT_EVAL_METHOD__ != 0.
17445 * math/libm-test.inc (cos_test): Add another test.
17446 (sin_test): Likewise.
17447 * sysdeps/i386/fpu/libm-test-ulps: Update.
17448
e2283f38
JM
17449 [BZ #14273]
17450 * math/libm-test.inc (cosh_test): Add more tests.
17451
370ca3d2
JM
17452 * version.h (RELEASE): Set to "development".
17453 (VERSION): Set to "2.16.90".
17454
ee9247c3
CD
174552012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
17456
17457 * NEWS: Update copyright. Remove last-updated date.
17458 Mention math library bug fixes and timezone data changes.
17459 * README: Mention GNU/Hurd, x32, and HPPA support status.
17460
4648c381
TS
174612012-06-28 Thomas Schwinge <thomas@codesourcery.com>
17462
17463 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
17464
aac78a43
AJ
174652012-06-27 Andreas Jaeger <aj@suse.de>
17466
17467 * manual/contrib.texi (Contributors): Add Samuel Thibault.
17468
ed3dbfad
AJ
174692012-06-25 Andreas Jaeger <aj@suse.de>
17470
17471 * sysdeps/s390/fpu/libm-test-ulps: Update.
17472
4d0ee855
AS
174732012-06-23 Andreas Schwab <schwab@linux-m68k.org>
17474 Thomas Schwinge <thomas@codesourcery.com>
17475
17476 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
17477 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
17478 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
17479 fanotify_mark.
17480
af1bce34
TS
174812012-06-23 Thomas Schwinge <thomas@codesourcery.com>
17482
a9fa33ba
TS
17483 * sysdeps/mach/start.c: Remove file.
17484 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
17485 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
17486 * sysdeps/sh/init-first.c: Likewise.
17487
58f902b8
TS
17488 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
17489 registers for frame unwinding purposes, add CFI directives.
17490 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17491 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
17492 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
17493 Likewise.
17494
1518f58b
TS
17495 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
17496 __fortify_fail returning.
17497 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17498
db9b5059
TS
17499 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
17500 sysdeps/sh/____longjmp_chk.S.
17501 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
17502 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
17503 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
17504 (gen-as-const-headers): Append sigaltstack-offsets.sym.
17505
967705fe
TS
17506 * sysdeps/sh/abort-instr.h: New file.
17507 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
17508 process in case exit returns.
17509
a9def8c4
TS
17510 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
17511 initialize the GOT register before use.
17512
2a649725
TS
17513 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
17514 calculation of ARGC > 4.
17515
af1bce34
TS
17516 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
17517 meaningful names to some local labels.
17518
d230f50a
KK
175192012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17520 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17521
17522 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
17523 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
17524 (__arch_compare_and_exchange_val_16_acq): Likewise.
17525 (__arch_compare_and_exchange_val_32_acq): Likewise.
17526 (atomic_exchange_and_add): Fix gUSA sequence.
17527 (atomic_add): Likewise.
17528 (atomic_add_negative): Likewise.
17529 (atomic_add_zero): Likewise.
17530 (atomic_bit_test_set): Likewise.
17531
0479b305
AS
175322012-06-22 Andreas Schwab <schwab@redhat.com>
17533
17534 [BZ #13579]
17535 * include/link.h (struct link_map): Add l_free_initfini.
17536 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
17537 l_initfini.
17538 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
17539 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
17540 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
17541 set.
17542
0e3933b9
CD
175432012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
17544
17545 * configure.in: Use AC_LANG_SOURCE.
17546 * configure: Regenerate.
17547
4248b1b1
RM
175482012-06-22 Roland McGrath <roland@hack.frob.com>
17549
17550 * configure.in (libc_cv_localstatedir): New substituted variable.
17551 * configure: Regenerated.
17552 * config.make.in (localstatedir): New variable, substituted from
17553 libc_cv_localstatedir.
17554 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
17555 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
17556 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
17557 * sysdeps/gnu/configure: Regenerated.
17558
006dd861
JL
175592012-06-21 Jeff Law <law@redhat.com>
17560
17561 [BZ #14277]
17562 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
17563 free. Simplify list management for _LIBC case.
17564
79662d42
JM
175652012-06-21 Joseph Myers <joseph@codesourcery.com>
17566
b7abb4bf
JM
17567 [BZ #14273]
17568 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17569 Clear sign bit of 64-bit integer value before comparing against
17570 overflow value.
17571
79662d42
JM
17572 * sysdeps/mach/configure: Regenerated.
17573
1f150908
L
175742012-06-21 H.J. Lu <hongjiu.lu@intel.com>
17575
17576 [BZ #14278]
17577 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
17578
28363bbf
JL
175792012-06-21 Jeff Law <law@redhat.com>
17580
17581 [BZ #13882]
17582 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
17583 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 17584 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
17585 * elf/dl-open.c (dl_open_worker): Likewise.
17586
09615db4
CD
175872012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
17588
17589 * scripts/list-sources.sh: Scan PORTS for translations.
17590 * po/libc.pot: Regenerated.
17591
2174c6dd
AJ
175922012-06-21 Andreas Jaeger <aj@suse.de>
17593
17594 [BZ #12194]
17595 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
17596 warning.
17597 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
17598 * bits/byteswap-16.h (__bswap_16): Likewise.
17599 * bits/byteswap.h (__bswap_constant_16): Likewise.
17600
3ee947b1
L
176012012-06-18 H.J. Lu <hongjiu.lu@intel.com>
17602
17603 [BZ #14117]
a2f34833
L
17604 * sysdeps/i386/fpu_control.h: Removed.
17605 * sysdeps/x86_64/fpu_control.h: Moved to ...
17606 * sysdeps/x86/fpu_control.h: Here.
17607
3ee947b1
L
17608 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
17609 (_FPU_SETCW): Likewise.
17610
ed1825f8
L
176112012-06-15 H.J. Lu <hongjiu.lu@intel.com>
17612
25f1282a
L
17613 [BZ #14117]
17614 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
17615 * sysdeps/x86/fpu/bits/mathinline.h: This.
17616 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
17617
ed1825f8
L
17618 [BZ #14050]
17619 [BZ #14117]
17620 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
17621 functions if __x86_64__ is defined.
17622
36d54b74
CLT
176232012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
17624
17625 * string/endian.h: Add !__ASSEMBLER__ condition for including
17626 conversion interfaces.
17627
10285c21
JM
176282012-06-15 Joseph Myers <joseph@codesourcery.com>
17629
17630 [BZ #14241]
17631 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
17632 of ABS(x) in calculating zero to negative powers other than odd
17633 integers.
17634 * math/libm-test.inc (pow_test): Add more tests.
17635
06c5abbd
AJ
176362012-06-15 Andreas Jaeger <aj@suse.de>
17637
17638 * manual/contrib.texi (Contributors): Update entry of Liubov
17639 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
17640 Machado Filho.
17641
a3aeac40
CH
176422012-06-15 Cyril Hrubis <metan@ucw.cz>
17643
17644 * string/string.h: Add __wur to GNU version of strerror_r.
17645
49bdf4c1
L
176462012-06-14 H.J. Lu <hongjiu.lu@intel.com>
17647
17648 [BZ #14229]
17649 * string/Makefile (tests): Add tst-strtok_r.
17650 * string/tst-strtok_r.c: New file.
17651 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
17652 RAX_LP/RDX_LP on SAVE_PTR.
17653
834f9b8d
RM
176542012-06-14 Roland McGrath <roland@hack.frob.com>
17655
17656 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
17657
75fa1921
JM
176582012-06-14 Joseph Myers <joseph@codesourcery.com>
17659
17660 * libm_test.inc (csqrt_test): Allow more spurious underflow
17661 exceptions.
17662 (j0_test): Likewise.
17663 (j1_test): Likewise.
17664 (y0_test): Likewise.
17665 (y1_test): Likewise.
17666
771766df
CD
176672012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
17668
17669 * po/Makefile (libc.pot): Use UTF-8 charset.
17670
ceb9e56b
PP
176712012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
17672
17673 [BZ #14210]
17674 Suppress sign-conversion warning from FD_SET.
17675 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
17676 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
17677 not unsigned long int.
17678 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
17679
ddb28975
L
176802012-06-12 H.J. Lu <hongjiu.lu@intel.com>
17681
17682 [BZ #14050]
17683 [BZ #14117]
17684 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
17685 __extern_always_inline instead of __extern_inline.
17686 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
17687 (__signbit): Likewise.
17688 (__signbitl): Support C++ namespace.
17689 (lrintf): New inline function.
17690 (lrint): Likewise.
17691 (llrintf): Likewise.
17692 (llrint): Likewise.
17693 (fmaxf): Likewise.
17694 (fmax): Likewise.
17695 (fminf): Likewise.
17696 (fmin): Likewise.
17697 (rint): Likewise.
17698 (rintf): Likewise.
17699 (ceil): Likewise.
17700 (ceilf): Likewise.
17701 (floor): Likewise.
17702 (floorf): Likewise.
17703 (nearbyint): Likewise.
17704 (nearbyintf): Likewise.
17705
d7b4fb26
TS
177062012-06-12 Thomas Schwinge <thomas@codesourcery.com>
17707
17708 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
17709 non-default versions.
17710
eb55f5c2
RM
177112012-06-11 Roland McGrath <roland@hack.frob.com>
17712
17713 [BZ #14218]
17714 * manual/argp.texi (Argp): Reword argp_parse description slightly.
17715
366af02c
TS
177162012-06-09 Thomas Schwinge <thomas@codesourcery.com>
17717
99ff6e5c
TS
17718 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
17719 (FE_UPWARD, FE_DOWNWARD): Don't define.
17720 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
17721 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17722
366af02c
TS
17723 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
17724 reading it.
17725 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17726 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17727
793ea851
KK
177282012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17729
17730 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17731 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
17732 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
17733 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
17734
a728a38f
L
177352012-06-06 H.J. Lu <hongjiu.lu@intel.com>
17736
17737 [BZ #14117]
c08010c7
L
17738 * sysdeps/i386/fpu/bits/fenv.h: Removed.
17739 * sysdeps/i386/fpu/Implies: New file.
17740 * sysdeps/x86_64/fpu/Implies: Likewise.
17741 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
17742 * sysdeps/x86/fpu/bits/fenv.h: This.
17743
a728a38f
L
17744 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
17745 __SSE_MATH__.
17746
6e230d11
SP
177472012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17748
17749 [BZ #14134]
17750 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
17751 character 0xffff that matches the last element of the
17752 conversion table.
17753
1b671feb
AZ
177542012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17755
17756 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
17757 fmodl commit.
17758
6043738b
AZ
177592012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17760
17761 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
17762 values higher than 25.6283.
17763
34ae0b32
AZ
177642012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17765
17766 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
17767 subnormal exponent extraction and add some __builtin_expect.
17768 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
17769 Fix for subnormal mantissa calculation.
17770
1214ec8f
MF
177712012-06-04 Mike Frysinger <vapier@gentoo.org>
17772
17773 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
17774 cpu2 is -1 and errno is not ENOSYS.
17775
f3d1f93c
L
177762012-06-04 H.J. Lu <hongjiu.lu@intel.com>
17777
17778 [BZ #14117]
0e4a3cd7
L
17779 * sysdeps/i386/i486/bits/string.h: Renamed to ...
17780 * sysdeps/x86/bits/string.h: This.
17781 * sysdeps/x86_64/bits/string.h: Removed.
17782
6704c645
L
17783 * sysdeps/i386/i486/bits/string.h: Define inline functions only
17784 if not compiling for x86-64, but compiling for >= i486.
17785
48495318
L
17786 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
17787 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
17788
14adcbfc
L
17789 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
17790 New macro from Linux kernel 3.4.0.
17791 (FP_XSTATE_MAGIC2): Likewise.
17792 (FP_XSTATE_MAGIC2_SIZE): Likewise.
17793 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
17794 (struct _fpx_sw_bytes): New struct.
17795 (struct _xsave_hdr): Likewise.
17796 (struct _ymmh_state): Likewise.
17797 (struct _xstate): Likewise.
17798
68e408ab
L
17799 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
17800 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
17801 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
17802 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
17803 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
17804 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
17805
f3d1f93c
L
17806 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
17807 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
17808 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
17809 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
17810 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
17811 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
17812
d9dc34cd
TMQMF
178132012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17814
17815 [BZ #13743]
17816 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
17817 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
17818 (sysdep_headers): Include sys/platform/ppc.h.
17819 * sysdeps/powerpc/test-gettimebase.c: Test for
17820 __ppc_get_timebase() to catch future ISA opcode/insn changes.
17821 * manual/Makefile (appendices): Include platform.texi.
17822 * manual/contrib.texi (Contributors): Update @node pointers.
17823 * manual/maint.texi (Maintenance): Likewise.
17824 (Platform): New node.
17825 * manual/platform.texi: New file. Document the new features.
17826
4af3879c
SP
178272012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17828 Jakub Jelinek <jakub@redhat.com>
17829
17830 [BZ #14188]
17831 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
17832 where __builtin_expect is unavailable.
17833
2fd6ff13
DM
178342012-06-03 David S. Miller <davem@davemloft.net>
17835
17836 * stdlib/longlong.h: Updated from GCC.
17837
173f7220
AS
178382012-06-02 Andreas Schwab <schwab@linux-m68k.org>
17839
17840 [BZ #14042]
17841 * sysdeps/powerpc/powerpc32/mcount.c: New file.
17842 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17843 __mcount_internal.
17844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17845 (GLIBC_2.16): Likewise.
17846
f34a1c6f
L
178472012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17848
17849 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
17850
88a4576f
JM
178512012-06-01 Joseph Myers <joseph@codesourcery.com>
17852
ea32bcdd
JM
17853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
17854 (default-abi): New variable.
17855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
17856 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
17857 variable.
17858 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
17859 Likewise.
17860 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
17861 Likewise.
17862 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
17863 Likewise.
17864
88a4576f
JM
17865 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
17866 definition. Document in comment.
17867
402fe938
DM
178682012-06-01 David S. Miller <davem@davemloft.net>
17869
17870 * stdlib/longlong.h: Updated from GCC.
17871
3553723f
L
178722012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17873
17874 [BZ #14117]
3bd872c4
L
17875 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
17876 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
17877 sys/debugreg.h sys/io.h here.
17878 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
17879 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
17880 sys/io.h.
17881 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
17882 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
17883 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
17884 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
17885 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
17886 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
17887
3553723f
L
17888 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
17889 Define only if __x86_64__ is defined.
17890
4842e4fe
JM
178912012-06-01 Joseph Myers <joseph@codesourcery.com>
17892
c5bfe3d5
JM
17893 [BZ #14048]
17894 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
17895 Use int64_t for variable i.
17896 * math/libm-test.inc (fmod_test): Add more tests.
17897
4842e4fe
JM
17898 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
17899 z computation is not scheduled after fetestexcept.
17900 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
17901 Use math_force_eval instead of asm to ensure calculation scheduled
17902 before exception test.
17903 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
17904 Ensure a1 + u.d computation is not scheduled after fetestexcept.
17905
efb73488
AJ
179062012-06-01 Aurelien Jarno <aurelien@aurel32.net>
17907
17908 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
17909 computation is not scheduled after fetestexcept.
17910
29bcce7c
L
179112012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17912
17913 [BZ #14117]
17914 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
17915 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
17916
73a68f94
AZ
179172012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17918
17919 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
17920 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17921
67b6df78
L
179222012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17923
edf2933a 17924 [BZ #14117]
ebc64a18
L
17925 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
17926 <bits/wordsize.h>.
17927 (__WCHAR_MIN): Support __WORDSIZE == 64.
17928 (__WCHAR_MAX): Likewise.
17929
edf2933a
L
17930 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
17931 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
17932
57c6cf40
L
17933 [BZ #14183]
17934 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
17935 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
17936
67b6df78 17937 [BZ #14117]
8eb6281e
L
17938 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
17939 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
17940
aac639f4
L
17941 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
17942 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
17943
67b6df78
L
17944 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
17945 Defined to 1 if __x86_64__ isn't defined.
17946 (_STAT_VER_LINUX_OLD): New.
17947 (st_atime): Remove duplicate.
17948 (st_mtime): Likewise.
17949 (st_ctime): Likewise.
17950
1c2cfe81
DM
179512012-05-31 David S. Miller <davem@davemloft.net>
17952
17953 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
17954 entries.
17955
5be8418c
AS
179562012-06-01 Andreas Schwab <schwab@linux-m68k.org>
17957
e7725326
AS
17958 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
17959 gen-libm-test.pl.
17960
5be8418c
AS
17961 [BZ #14132]
17962 * elf/dl-reloc.c: Include <_itoa.h>.
17963 (_dl_reloc_bad_type): Remove use of INTUSE.
17964 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
17965 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
17966 * stdio-common/psiginfo.c (psiginfo): Likewise.
17967 * stdio-common/psignal.c (psignal): Likewise.
17968 * string/strsignal.c (strsignal): Likewise.
17969 * include/signal.h (_sys_siglist): Declare hidden proto.
17970 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
17971 INTVARDEF with libc_hidden_data_def.
17972 * stdio-common/itoa-udigits.c: Likewise.
17973 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
17974 (_itoa_lower_digits_internal): Remove declaration.
17975 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
17976 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
17977 (_sys_sigabbrev_internal): Remove aliases.
17978 (_sys_siglist): Define hidden alias.
17979
507352f1
MT
179802012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
17981
17982 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17983 bits/sysctl.h.
17984
42bbb1c3
L
179852012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17986
17987 [BZ #14117]
6bd784b6
L
17988 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
17989 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
17990
8bca20f0
L
17991 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
17992 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
17993 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
17994 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
17995 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
17996 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
17997
f9e890a9
L
17998 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
17999 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
18000 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
18001
471101a1
L
18002 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
18003 with __addr.
18004 (insw): Likewise.
18005 (insl): Likewise.
18006 (outsb): Likewise.
18007 (outsw): Likewise.
18008 (outsl): Likewise.
18009
6451c862
L
18010 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
18011 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
18012 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
18013
a254b8c9
L
18014 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
18015 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
18016 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
18017 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
18018 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
18019 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
18020
b8dfdd92
L
18021 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
18022 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
18023
578cd270
L
18024 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
18025 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
18026
de662f5f
L
18027 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
18028 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
18029 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
18030
25653439
L
18031 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
18032 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
18033 to ...
18034 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
18035
6bad24a0
L
18036 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
18037 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
18038 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
18039
42bbb1c3
L
18040 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
18041 for x86-64.
18042 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
18043
2d10d547
JM
180442012-05-31 Joseph Myers <joseph@codesourcery.com>
18045
18046 * math/math.h (M_El): Use two more decimal places.
18047 (M_LOG2El): Likewise.
18048 (M_LOG10El): Likewise.
18049 (M_LN2l): Likewise.
18050 (M_LN10l): Likewise.
18051 (M_PIl): Likewise.
18052 (M_PI_2l): Likewise.
18053 (M_PI_4l): Likewise.
18054 (M_1_PIl): Likewise.
18055 (M_2_PIl): Likewise.
18056 (M_2_SQRTPIl): Likewise.
18057 (M_SQRT2l): Likewise.
18058 (M_SQRT1_2l): Likewise.
18059
f230c29b
DM
180602012-05-31 David S. Miller <davem@davemloft.net>
18061
18062 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
18063 values between float registers.
18064 * sysdeps/sparc/sparc64/memset.S: Likewise.
18065 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18066
fed806c3
MF
180672012-05-31 Mike Frysinger <vapier@gentoo.org>
18068
18069 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
18070 -D_FORTIFY_SOURCE=1.
18071 (CPPFLAGS-tst-longjmp_chk.c): Define.
18072 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
18073 (CPPFLAGS-tst-longjmp_chk2.c): Define.
18074 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
18075 CFLAGS-tst-wchar-h.c.
18076
30917259
MP
180772012-05-31 Marek Polacek <polacek@redhat.com>
18078
18079 [BZ #14132]
18080 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
18081 __endmntent_internal): Remove declaration.
18082 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
18083 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
18084 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
18085
1c58d5dc
DM
180862012-05-30 David S. Miller <davem@davemloft.net>
18087
18088 * sysdeps/sparc/sparc32/soft-fp/q_util.c
18089 (___Q_simulate_exceptions): Use real FP ops rather than writing
18090 into the %fsr.
18091 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
18092 Likewise.
18093
7dc00e0d
L
180942012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18095
18096 [BZ #14117]
0bd53985
L
18097 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
18098 * sysdeps/x86/bits/xtitypes.h: This.
18099
3a257e66
L
18100 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
18101 * sysdeps/x86/bits/wordsize.h: This.
18102
62f62904
L
18103 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
18104 * sysdeps/x86/bits/huge_vall.h: This.
18105
404fe9d9
L
18106 * sysdeps/i386/bits/select.h: Removed.
18107 * sysdeps/x86_64/bits/select.h: Renamed to ...
18108 * sysdeps/x86/bits/select.h: This.
18109
d48d0446
L
18110 * sysdeps/i386/bits/setjmp.h: Removed.
18111 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
18112 * sysdeps/x86/bits/setjmp.h: This.
18113
7dc00e0d
L
18114 * sysdeps/i386/bits/mathdef.h: Removed.
18115 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
18116 * sysdeps/x86/bits/mathdef.h: This.
18117
03277f8f
AS
181182012-05-30 Andreas Schwab <schwab@linux-m68k.org>
18119
18120 [BZ #14132]
18121 * include/sys/socket.h (__connect_internal)
18122 (__libc_sa_len_internal): Remove declaration.
18123 (__connect, __libc_sa_len): Declare hidden_proto.
18124 (SA_LEN): Remove use of INTUSE.
18125 * socket/connect.c: Add libc_hidden_def.
18126 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
18127 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
18128 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
18129 alias.
18130 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18131 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
18132 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
18133 of adding _internal alias.
18134
13764867
L
181352012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18136
18137 [BZ #14117]
6bd97696
L
18138 * sysdeps/i386/bits/link.h: Removed.
18139 * sysdeps/i386/bits/linkmap.h: Likewise.
18140 * sysdeps/x86_64/bits/link.h: Renamed to ...
18141 * sysdeps/x86/bits/link.h: This.
18142 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
18143 * sysdeps/x86/bits/linkmap.h: This.
18144
f726f0bb
L
18145 * sysdeps/i386/bits/endian.h: Removed.
18146 * sysdeps/x86_64/bits/endian.h: Renamed to ...
18147 * sysdeps/x86/bits/endian.h: This.
18148
13764867
L
18149 * sysdeps/i386/bits/byteswap.h: Removed.
18150 * sysdeps/i386/bits/byteswap-16.h: Likewise.
18151 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
18152 * sysdeps/x86/bits/byteswap.h: This.
18153 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
18154 * sysdeps/x86/bits/byteswap-16.h: This.
18155 * sysdeps/i386/Implies: Add x86.
18156 * sysdeps/x86_64/Implies: Likewise.
18157
ae251b0b
DM
181582012-05-30 David S. Miller <davem@davemloft.net>
18159
18160 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
18161 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
18162 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18163 (FP_TRAPPING_EXCEPTIONS): Define.
18164 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18165 (FP_TRAPPING_EXCEPTIONS): Define.
18166 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
18167 subnormals only when inexact has been signalled or underflow
18168 exceptions are enabled.
18169 (_FP_PACK_CANONICAL): Likewise.
18170
d5c90867
L
181712012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18172
18173 [BZ #14183]
18174 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
18175 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
18176
63f1549e
RH
181772012-05-30 Richard Henderson <rth@twiddle.net>
18178
8d8f2279
RH
18179 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
18180 with #ifndef NOT_IN_libc.
18181
63f1549e
RH
18182 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
18183 marked to avoid plt entry.
18184
0ab0291b
L
181852012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18186
18187 [BZ #14112]
18188 * Makeconfig (default-abi): New macro.
18189 (abi-includes): Likewise.
18190 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
18191 $(abi-$(default-abi)-lib-soname) for soname if defined.
18192 ($(common-objpfx)gnu/lib-names.stmp): Generate from
18193 abi-variants.
18194 * Makefile (installed-stubs): Likewise.
18195 * include/stubs-biarch.h: Removed.
18196 * scripts/lib-names.awk: Only handle one library at a time.
18197 * scripts/soversions.awk: Remove WORDSIZE support.
18198 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
18199 entries.
18200 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
18201 Removed.
18202 (syscall-list-default-condition): Likewise.
18203 (syscall-list-default-condition): Likewise.
18204 (syscall-list-includes): Likewise.
18205 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
18206 syscall-list-* with abi-*. Handle undefined abi-variants.
18207 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
18208 * sysdeps/unix/sysv/linux/i386/Implies: New file.
18209 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
18210 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
18211 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
18212 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
18213 Removed.
18214 (syscall-list-32-options): Likewise.
18215 (syscall-list-32-condition): Likewise.
18216 (syscall-list-64-options): Likewise.
18217 (syscall-list-64-condition): Likewise.
18218 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
18219 macro.
18220 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
18221 Renamed to ...
18222 (abi-*): This.
18223 (abi-64-ld-soname): New macro.
18224 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
18225 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
18226 Renamed to ...
18227 (abi-*): This.
18228 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
18229 * sysdeps/x86_64/x32/shlib-versions: Likewise.
18230
4da0431d
JM
182312012-05-30 Joseph Myers <joseph@codesourcery.com>
18232
3a85279c
JM
18233 * sysdeps/unix/sysv/linux/kernel-features.h
18234 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
18235 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
18236 include <kernel-features.h>.
18237 [!__NR_ftruncate64]: Remove conditional code.
18238 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18239 [__NR_ftruncate64]: Make code unconditional.
18240 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18241 * sysdeps/unix/sysv/linux/truncate64.c: Do not
18242 include <kernel-features.h>.
18243 [!__NR_ftruncate64]: Remove conditional code.
18244 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18245 [__NR_ftruncate64]: Make code unconditional.
18246 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
18248 include <kernel-features.h>.
18249 [!__NR_ftruncate64]: Remove conditional code.
18250 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18251 [__NR_ftruncate64]: Make code unconditional.
18252 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18254 include <kernel-features.h>.
18255 [!__NR_ftruncate64]: Remove conditional code.
18256 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18257 [__NR_ftruncate64]: Make code unconditional.
18258 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18259
4da0431d
JM
18260 * configure.in (libc_cv_fpie): Weaken to a compile test using
18261 LIBC_TRY_CC_OPTION.
18262 * configure: Regenerated.
18263
11ef492c
AK
182642012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18265
18266 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
18267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
18268 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
18269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18270 Refreshed.
18271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
18272 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
18273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
18274 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
18275 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
18276 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18277 Refreshed.
18278
d66ef399
DM
182792012-05-27 David S. Miller <davem@davemloft.net>
18280
18281 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
18282 (___Q_zero): New.
18283 (__Q_simulate_exceptions): Return void. Change to simulate
18284 exceptions by writing into the %fsr.
18285 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
18286 (__Qp_handle_exceptions): Likewise.
18287 (numbers): Delete.
18288 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
18289 __Qp_handle_exceptions.
18290 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
18291 __Qp_handle_exceptions.
18292 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18293 as unused and give dummy FP_RND_NEAREST initializer.
18294 (FP_INHIBIT_RESULTS): Define.
18295 (___Q_simulate_exceptions): Update declaration.
18296 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
18297 formatting.
18298 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18299 as unused and give dummy FP_RND_NEAREST initializer.
18300 (__Qp_handle_exceptions): Update declaration.
18301 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
18302 formatting.
18303
04fb54b5
TS
183042012-05-27 Thomas Schwinge <thomas@codesourcery.com>
18305
18306 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
18307 the temporary FPU control word.
18308 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18309 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
18310 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18311 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18312 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18313 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18314 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18315 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18316 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18317 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
18318 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18319
3f99608f
KK
183202012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18321
18322 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
18323 fields.
18324
65a4de4e
CLT
183252012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
18326
18327 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
18328 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
18329 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
18330 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
18331 Likewise.
18332 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
18333 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
18334 Likewise.
18335
15749d40
UD
183362012-05-27 Ulrich Drepper <drepper@gmail.com>
18337
18338 * po/h.po: Update from translation team.
18339
25dbcb27
AS
183402012-05-26 Andreas Schwab <schwab@linux-m68k.org>
18341
3d3f8e55
AS
18342 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
18343
25dbcb27
AS
18344 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
18345 handling of denormals.
18346 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18347 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18348 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18349 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18350 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18351 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
18352 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
18353 Likewise.
18354
7ad47a80 183552012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
18356
18357 [BZ #14152]
18358 * math/libm-test.inc (fma_test): Don't always expect underflow
18359 exception.
18360
9c6ea9fa
SP
183612012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18362
18363 [BZ #12416]
18364 * elf/tst-execstack.c: Include stackinfo.h.
18365 (do_test): Adjust test case to ensure that pthread_getattr_np
18366 behaviour remains the same after marking stack executable.
18367
a8239222
JM
183682012-05-25 Joseph Myers <joseph@codesourcery.com>
18369
18370 * sysdeps/unix/sysv/linux/kernel-features.h
18371 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
18372 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
18373 kernel-features.h.
18374 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18375 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18376 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
18377 kernel-features.h.
18378 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18379 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18380
918b5606
L
183812012-05-25 H.J. Lu <hongjiu.lu@intel.com>
18382
18383 * configure.in: Define the default includes to being none.
18384 * configure: Regenerated.
18385
3a097cc7
RM
183862012-05-25 Roland McGrath <roland@hack.frob.com>
18387
8422c9a5
RM
18388 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
18389 * sysdeps/x86_64/setjmp.S: Likewise.
18390 * sysdeps/i386/bsd-setjmp.S: Likewise.
18391 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18392 * sysdeps/i386/setjmp.S: Likewise.
18393 * sysdeps/i386/__longjmp.S: Likewise.
18394 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18395 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
18396
3a097cc7
RM
18397 * include/stap-probe.h: New file.
18398 * configure.in: Handle --enable-systemtap.
18399 * configure: Regenerated.
18400 * config.h.in (USE_STAP_PROBE): New #undef.
18401 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
18402 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
18403 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18404
21708942
JM
184052012-05-25 Joseph Myers <joseph@codesourcery.com>
18406
18407 [BZ #13717]
18408 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18409 to 2.4.0 where earlier.
18410 * sysdeps/unix/sysv/linux/configure: Regenerated.
18411 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18412 <kernel-features.h>.
18413 [__ASSUME_32BITUIDS]: Make code unconditional.
18414 [!__ASSUME_32BITUIDS]: Remove conditional code.
18415 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
18416 <kernel-features.h>.
18417 [__ASSUME_32BITUIDS]: Make code unconditional.
18418 [!__ASSUME_32BITUIDS]: Remove conditional code.
18419 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
18420 [__ASSUME_32BITUIDS]: Make code unconditional.
18421 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
18422 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
18423 <kernel-features.h>.
18424 [__ASSUME_32BITUIDS]: Make code unconditional.
18425 [!__ASSUME_32BITUIDS]: Remove conditional code.
18426 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
18427 <kernel-features.h>.
18428 [__ASSUME_32BITUIDS]: Make code unconditional.
18429 [!__ASSUME_32BITUIDS]: Remove conditional code.
18430 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
18431 <kernel-features.h>.
18432 [__ASSUME_32BITUIDS]: Make code unconditional.
18433 [!__ASSUME_32BITUIDS]: Remove conditional code.
18434 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
18435 <kernel-features.h>.
18436 [__ASSUME_32BITUIDS]: Make code unconditional.
18437 [!__ASSUME_32BITUIDS]: Remove conditional code.
18438 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18439 <kernel-features.h>.
18440 [__ASSUME_32BITUIDS]: Make code unconditional.
18441 [!__ASSUME_32BITUIDS]: Remove conditional code.
18442 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18443 <kernel-features.h>.
18444 [__ASSUME_32BITUIDS]: Make code unconditional.
18445 [!__ASSUME_32BITUIDS]: Remove conditional code.
18446 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
18447 <kernel-features.h>.
18448 [__ASSUME_32BITUIDS]: Make code unconditional.
18449 [!__ASSUME_32BITUIDS]: Remove conditional code.
18450 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18451 <kernel-features.h>.
18452 [__ASSUME_32BITUIDS]: Make code unconditional.
18453 [!__ASSUME_32BITUIDS]: Remove conditional code.
18454 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18455 <kernel-features.h>.
18456 [__ASSUME_32BITUIDS]: Make code unconditional.
18457 [!__ASSUME_32BITUIDS]: Remove conditional code.
18458 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
18459 <kernel-features.h>.
18460 [__ASSUME_32BITUIDS]: Make code unconditional.
18461 [!__ASSUME_32BITUIDS]: Remove conditional code.
18462 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
18463 <kernel-features.h>.
18464 [__NR_setresgid] (__setresgid): Do not declare.
18465 [__ASSUME_32BITUIDS]: Make code unconditional.
18466 [!__ASSUME_32BITUIDS]: Remove conditional code.
18467 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
18468 <kernel-features.h>.
18469 [__NR_setresuid] (__setresuid): Do not declare.
18470 [__ASSUME_32BITUIDS]: Make code unconditional.
18471 [!__ASSUME_32BITUIDS]: Remove conditional code.
18472 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
18473 <kernel-features.h>.
18474 [__ASSUME_32BITUIDS]: Make code unconditional.
18475 [!__ASSUME_32BITUIDS]: Remove conditional code.
18476 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
18477 <kernel-features.h>.
18478 [__ASSUME_32BITUIDS]: Make code unconditional.
18479 [!__ASSUME_32BITUIDS]: Remove conditional code.
18480 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
18481 <kernel-features.h>.
18482 [__ASSUME_32BITUIDS]: Make code unconditional.
18483 [!__ASSUME_32BITUIDS]: Remove conditional code.
18484 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
18485 <kernel-features.h>.
18486 [__ASSUME_32BITUIDS]: Make code unconditional.
18487 [!__ASSUME_32BITUIDS]: Remove conditional code.
18488 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
18489 <kernel-features.h>.
18490 [__ASSUME_32BITUIDS]: Make code unconditional.
18491 [!__ASSUME_32BITUIDS]: Remove conditional code.
18492 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
18493 <kernel-features.h>.
18494 [__ASSUME_32BITUIDS]: Make code unconditional.
18495 [!__ASSUME_32BITUIDS]: Remove conditional code.
18496 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
18497 <kernel-features.h>.
18498 [__ASSUME_32BITUIDS]: Make code unconditional.
18499 [!__ASSUME_32BITUIDS]: Remove conditional code.
18500 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
18501 <kernel-features.h>.
18502 [__ASSUME_32BITUIDS]: Make code unconditional.
18503 [!__ASSUME_32BITUIDS]: Remove conditional code.
18504 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
18505 <kernel-features.h>.
18506 [__ASSUME_32BITUIDS]: Make code unconditional.
18507 [!__ASSUME_32BITUIDS]: Remove conditional code.
18508 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18509 <kernel-features.h>.
18510 [__ASSUME_32BITUIDS]: Make code unconditional.
18511 [!__ASSUME_32BITUIDS]: Remove conditional code.
18512 * sysdeps/unix/sysv/linux/kernel-features.h
18513 (__ASSUME_SETRESUID_SYSCALL): Remove.
18514 (__ASSUME_SETRESGID_SYSCALL): Likewise.
18515 (__ASSUME_32BITUIDS): Likewise.
18516 (__ASSUME_LDT_WORKS): Likewise.
18517 (__ASSUME_O_DIRECTORY): Likewise.
18518 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
18519 architecture but not kernel version.
18520 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18521 (__ASSUME_MMAP2_SYSCALL): Likewise.
18522 (__ASSUME_STAT64_SYSCALL): Likewise.
18523 (__ASSUME_IPC64): Likewise.
18524 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
18525 <kernel-features.h>.
18526 [__ASSUME_32BITUIDS]: Make code unconditional.
18527 [!__ASSUME_32BITUIDS]: Remove conditional code.
18528 * sysdeps/unix/sysv/linux/opendir.c: Do not include
18529 <kernel-features.h>.
18530 [__ASSUME_O_DIRECTORY]: Make code unconditional.
18531 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
18532 132096]: Remove conditional code.
18533 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
18534 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18535 <kernel-features.h>.
18536 [__ASSUME_32BITUIDS]: Make code unconditional.
18537 [!__ASSUME_32BITUIDS]: Remove conditional code.
18538 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18539 <kernel-features.h>.
18540 [__ASSUME_32BITUIDS]: Make code unconditional.
18541 [!__ASSUME_32BITUIDS]: Remove conditional code.
18542 * sysdeps/unix/sysv/linux/setegid.c: Do not include
18543 <kernel-features.h>.
18544 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
18545 unconditional.
18546 (__setresgid): Do not declare.
18547 [__ASSUME_32BITUIDS]: Make code unconditional.
18548 [!__ASSUME_32BITUIDS]: Remove conditional code.
18549 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
18550 <kernel-features.h>.
18551 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
18552 unconditional.
18553 (__setresuid): Do not declare.
18554 [__ASSUME_32BITUIDS]: Make code unconditional.
18555 [!__ASSUME_32BITUIDS]: Remove conditional code.
18556 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18557 <kernel-features.h>.
18558 [__ASSUME_32BITUIDS]: Make code unconditional.
18559 [!__ASSUME_32BITUIDS]: Remove conditional code.
18560 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
18561 <kernel-features.h>.
18562 [__ASSUME_32BITUIDS]: Make code unconditional.
18563 [!__ASSUME_32BITUIDS]: Remove conditional code.
18564
a386f1cc
RH
185652012-05-25 Richard Henderson <rth@twiddle.net>
18566
18567 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
18568 dl_hwcap to ifunc resolver.
18569 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
18570 elf_ifunc_invoke.
18571 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
18572 dl_hwcap to ifunc resolver.
18573 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
18574
b6550497
JM
185752012-05-24 Joseph Myers <joseph@codesourcery.com>
18576
18577 [BZ #14153]
18578 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
18579 for |x| <= 2**-26, not 2**-57.
18580 * math/libm-test.inc (acos_test): Do not allow spurious underflow
18581 exception.
18582
b0bc23a1
JL
185832012-05-24 Jeff Law <law@redhat.com>
18584
18585 * stdio-common/Makefile (tests): Add bug25.
18586 * stdio-common/bug25.c: New test.
18587
347c92e9
L
185882012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18589
18590 [BZ #13576]
18591 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
18592 multiple of MALLOC_ALIGNMENT in size.
18593 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
18594
6bcc8b3f
JM
185952012-05-24 Joseph Myers <joseph@codesourcery.com>
18596
18597 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
18598 Require >= 256.
18599 (FILENAME_MAX): Use macro-int-constant.
18600 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
18601 (_IOFBF): Use macro-int-constant.
18602 (_IOLBF): Likewise.
18603 (_IONBF): Likewise.
18604 (SEEK_CUR): Likewise.
18605 (SEEK_END): Likewise.
18606 (SEEK_SET): Likewise.
18607 (TMP_MAX): Likewise.
18608 (EOF): Use macro-int-constant. Require < 0.
18609 (NULL): Use macro-constant. Require == 0.
18610 (stdin): Require type to be FILE *.
18611 (stdout): Likewise.
18612 (stderr): Likewise.
18613 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
18614 macro-int-constant.
18615 (EXIT_SUCCESS): Likewise.
18616 (NULL): Use macro-constant. Require == 0.
18617 (RAND_MAX): Use macro-int-constant.
18618 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
18619 [C99-based standards] (strtof): Require function.
18620 [C99-based standards] (strtold): Likewise.
18621 [C99-based standards] (strtoll): Likewise.
18622 [C99-based standards] (strtoull): Likewise.
18623 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18624 [ISO || ISO99 || ISO11] (limits.h): Likewise.
18625 [ISO || ISO99 || ISO11] (math.h): Likewise.
18626 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
18627 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18628 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18629
d18ea0c5
AS
186302012-05-24 Andreas Schwab <schwab@linux-m68k.org>
18631
18632 [BZ #14132]
56d25bb8
AS
18633 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
18634 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
18635 * intl/dgettext.c (DCGETTEXT): Likewise.
18636 * intl/gettext.c (DCGETTEXT): Likewise.
18637 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
18638 * posix/regex_internal.h (gettext): Likewise.
18639 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
18640 Remove declaration.
18641 * include/argz.h (__argz_count_internal)
18642 (__argz_stringify_internal): Remove declaration.
18643 (__argz_count, __argz_stringify): Declare hidden proto.
18644 * intl/dcgettext.c: Remove use of INTDEF.
18645 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
18646 * string/argz-stringify.c: Likewise.
18647 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18648 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18649 Declare hidden proto.
d18ea0c5
AS
18650 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18651 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18652 Declare hidden proto.
18653 * include/stdio.h (__asprintf_internal): Don't declare.
18654 (__asprintf): Don't define as macro. Declare hidden proto.
18655 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
18656 (__fsetlocking): Declare hidden proto.
18657 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
18658 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
18659 hidden proto.
18660 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
18661 (_IO_setlinebuf): Remove use of INTUSE.
18662 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
18663 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
18664 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
18665 Remove declaration.
18666 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
18667 (_IO_do_flush): Remove use of INTUSE.
18668 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
18669 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
18670 (_IO_adjust_column, _IO_least_wmarker)
18671 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
18672 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
18673 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
18674 (_IO_default_doallocate, _IO_wdefault_doallocate)
18675 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
18676 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
18677 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
18678 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
18679 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
18680 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
18681 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
18682 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
18683 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
18684 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
18685 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
18686 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
18687 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
18688 proto.
18689 (_IO_flush_all_internal, _IO_adjust_column_internal)
18690 (_IO_default_uflow_internal, _IO_default_finish_internal)
18691 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
18692 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
18693 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
18694 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
18695 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
18696 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
18697 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
18698 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
18699 (_IO_file_close_internal, _IO_file_close_it_internal)
18700 (_IO_file_underflow_internal, _IO_file_overflow_internal)
18701 (_IO_file_init_internal, _IO_file_attach_internal)
18702 (_IO_file_fopen_internal, _IO_file_read_internal)
18703 (_IO_file_sync_internal, _IO_file_seek_internal)
18704 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
18705 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
18706 (_IO_str_underflow_internal, _IO_str_overflow_internal)
18707 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
18708 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
18709 (_IO_list_all_internal, _IO_link_in_internal)
18710 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
18711 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
18712 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
18713 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
18714 (_IO_do_write_internal, _IO_padn_internal)
18715 (_IO_getline_info_internal, _IO_getline_internal)
18716 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
18717 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
18718 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
18719 (_IO_vfscanf_internal, _IO_vfprintf_internal)
18720 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
18721 (_IO_init_internal, _IO_un_link_internal): Don't declare.
18722 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
18723 with libc_hidden_ver, remove use of INTUSE.
18724 * libio/genops.c: Likewise.
18725 * libio/freopen.c: Likewise.
18726 * libio/freopen64.c: Likewise.
18727 * libio/iofclose.c: Likewise.
18728 * libio/iofdopen.c: Likewise.
18729 * libio/iofflush.c: Likewise.
18730 * libio/iofflush_u.c: Likewise.
18731 * libio/iofgets.c: Likewise.
18732 * libio/iofgets_u.c: Likewise.
18733 * libio/iofopen.c: Likewise.
18734 * libio/iofopncook.c: Likewise.
18735 * libio/iofread.c: Likewise.
18736 * libio/iofread_u.c: Likewise.
18737 * libio/ioftell.c: Likewise.
18738 * libio/iofwrite.c: Likewise.
18739 * libio/iogetline.c: Likewise.
18740 * libio/iogets.c: Likewise.
18741 * libio/iogetwline.c: Likewise.
18742 * libio/iopadn.c: Likewise.
18743 * libio/iopopen.c: Likewise.
18744 * libio/ioseekoff.c: Likewise.
18745 * libio/ioseekpos.c: Likewise.
18746 * libio/iosetbuffer.c: Likewise.
18747 * libio/iosetvbuf.c: Likewise.
18748 * libio/ioungetc.c: Likewise.
18749 * libio/ioungetwc.c: Likewise.
18750 * libio/iovdprintf.c: Likewise.
18751 * libio/iovsprintf.c: Likewise.
18752 * libio/iovsscanf.c: Likewise.
18753 * libio/memstream.c: Likewise.
18754 * libio/obprintf.c: Likewise.
18755 * libio/oldfileops.c: Likewise.
18756 * libio/oldiofclose.c: Likewise.
18757 * libio/oldiofdopen.c: Likewise.
18758 * libio/oldiofopen.c: Likewise.
18759 * libio/oldiopopen.c: Likewise.
18760 * libio/oldstdfiles.c: Likewise.
18761 * libio/putc.c: Likewise.
18762 * libio/setbuf.c: Likewise.
18763 * libio/setlinebuf.c: Likewise.
18764 * libio/stdfiles.c: Likewise.
18765 * libio/strops.c: Likewise.
18766 * libio/vasprintf.c: Likewise.
18767 * libio/vscanf.c: Likewise.
18768 * libio/vsnprintf.c: Likewise.
18769 * libio/vswprintf.c: Likewise.
18770 * libio/wfiledoalloc.c: Likewise.
18771 * libio/wfileops.c: Likewise.
18772 * libio/wgenops.c: Likewise.
18773 * libio/wmemstream.c: Likewise.
18774 * libio/wstrops.c: Likewise.
18775 * libio/__fpurge.c: Likewise.
18776 * libio/__fsetlocking.c: Likewise.
18777 * assert/assert.c: Likewise.
18778 * debug/fgets_chk.c: Likewise.
18779 * debug/fgets_u_chk.c: Likewise.
18780 * debug/fread_chk.c: Likewise.
18781 * debug/fread_u_chk.c: Likewise.
18782 * debug/gets_chk.c: Likewise.
18783 * debug/obprintf_chk.c: Likewise.
18784 * debug/vasprintf_chk.c: Likewise.
18785 * debug/vdprintf_chk.c: Likewise.
18786 * debug/vsnprintf_chk.c: Likewise.
18787 * debug/vsprintf_chk.c: Likewise.
18788 * malloc/mtrace.c: Likewise.
18789 * misc/error.c: Likewise.
18790 * misc/syslog.c: Likewise.
18791 * stdio-common/asprintf.c: Likewise.
18792 * stdio-common/fxprintf.c: Likewise.
18793 * stdio-common/getw.c: Likewise.
18794 * stdio-common/isoc99_fscanf.c: Likewise.
18795 * stdio-common/isoc99_scanf.c: Likewise.
18796 * stdio-common/isoc99_vfscanf.c: Likewise.
18797 * stdio-common/isoc99_vscanf.c: Likewise.
18798 * stdio-common/isoc99_vsscanf.c: Likewise.
18799 * stdio-common/printf-prs.c: Likewise.
18800 * stdio-common/printf_fp.c: Likewise.
18801 * stdio-common/printf_fphex.c: Likewise.
18802 * stdio-common/printf_size.c: Likewise.
18803 * stdio-common/putw.c: Likewise.
18804 * stdio-common/scanf.c: Likewise.
18805 * stdio-common/sprintf.c: Likewise.
18806 * stdio-common/tmpfile.c: Likewise.
18807 * stdio-common/vfprintf.c: Likewise.
18808 * stdio-common/vfscanf.c: Likewise.
18809 * stdlib/strfmon_l.c: Likewise.
18810 * sunrpc/openchild.c: Likewise.
18811 * sunrpc/xdr_stdio.c: Likewise.
18812 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18813 * sysdeps/mach/hurd/tmpfile.c: Likewise.
18814
d6c33fda
RM
188152012-05-24 Roland McGrath <roland@hack.frob.com>
18816
c1487492
RM
18817 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18818
18819 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
18820 in the third column, to generate for the shared library an IFUNC
18821 that uses _dl_vdso_vsym.
18822 * Makerules (COMPILE.c, compile-stdin.c): New variables.
18823 * Makeconfig (object-suffixes-noshared): New variable.
18824
18825 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
18826 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
18827 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
18828 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
18829
d6c33fda
RM
18830 [BZ #14132]
18831 * include/sys/time.h (__gettimeofday): Remove macro.
18832 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
18833 * time/gettimeofday.c (__gettimeofday): Remove #undef.
18834 Remove INTDEF.
18835 (__gettimeofday): Add libc_hidden_def.
18836 (gettimeofday): Add libc_hidden_weak.
18837 * sysdeps/mach/gettimeofday.c: Likewise.
18838 * sysdeps/posix/gettimeofday.c: Likewise.
18839 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18840 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18841 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
18842 (__gettimeofday_internal): Remove strong_alias.
18843 (__gettimeofday): Add libc_hidden_def.
18844 (gettimeofday): Add libc_hidden_weak.
18845 * sysdeps/unix/syscalls.list (gettimeofday):
18846 Remove __gettimeofday_internal alias.
18847
b5a2bbe6
L
188482012-05-24 Daniel Jacobowitz <drow@false.org>
18849 H.J. Lu <hongjiu.lu@intel.com>
18850
18851 [BZ #12495]
18852 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
18853 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
18854 (largebin_index_32_big): New.
18855 (largebin_index): Use it for 16-byte alignment.
18856 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
18857 correction with front_misalign.
18858
cfba4fda
L
188592012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18860
7f907421
L
18861 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
18862 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18863 Likewise.
18864 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
18865 Likewise.
18866 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18867 Likewise.
18868 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
18869 Likewise.
18870 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
18871 Likewise.
18872 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
18873 Likewise.
18874 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
18875 Likewise.
18876 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18877 Likewise.
18878 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
18879 Likewise.
18880 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
18881 Likewise.
18882 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18883 Likewise.
18884 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
18885 Likewise.
18886
cfba4fda
L
18887 * scripts/data/c++-types-x32-linux-gnu.data: New file.
18888 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
18889
80bad0cc
JM
188902012-05-24 Joseph Myers <joseph@codesourcery.com>
18891
7a25eb06
JM
18892 [BZ #10846]
18893 [BZ #14036]
18894 * math/libm-test.inc (exp_test): Add test from bug 14036.
18895 (pow_test): Add test from bug 10846.
18896
795405f9
JM
18897 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
18898 and other flags.
18899 (special_function): Do not include flags in test name.
18900 (parse_args): Likewise.
18901 * sysdeps/i386/fpu/libm-test-ulps: Update.
18902 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18903 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18904 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18906
80bad0cc
JM
18907 * math/gen-libm-test.pl (%beautify): Add entries for underflow
18908 exceptions.
18909 * math/libm-test.inc ("Philosophy"): Update comment about
18910 exception testing.
18911 (UNDERFLOW_EXCEPTION): New macro.
18912 (UNDERFLOW_EXCEPTION_OK): Likewise.
18913 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
18914 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
18915 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
18916 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
18917 (INVALID_EXCEPTION_OK): Update value.
18918 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18919 (OVERFLOW_EXCEPTION_OK): Likewise.
18920 (IGNORE_ZERO_INF_SIGN): Likewise.
18921 (test_exceptions): Handle underflow exceptions.
18922 (acos_test): Update for underflow exception expectations.
18923 (cexp_test): Likewise.
18924 (clog_test): Likewise.
18925 (clog10_test): Likewise.
18926 (csqrt_test): Likewise.
18927 (ctan_test): Likewise.
18928 (ctanh_test): Likewise.
18929 (exp_test): Likewise.
18930 (exp10_test): Likewise.
18931 (exp2_test): Likewise.
18932 (expm1_test): Likewise.
18933 (fma_test): Likewise.
18934 (j0_test): Likewise.
18935 (jn_test): Likewise.
18936 (nexttoward_test): Likewise.
18937 (pow_test): Likewise.
18938 (scalbn_test): Likewise.
18939 (scalbln_test): Likewise.
18940 (tan_test): Likewise.
18941 (y1_test): Likewise.
18942 * sysdeps/i386/fpu/libm-test-ulps: Update.
18943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18944
9e0e3d0b
DM
189452012-05-23 David S. Miller <davem@davemloft.net>
18946
18947 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18948 (__libc_sigaction): Remove unused local variables.
18949
ccd0a08f
L
189502012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18951
18952 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
18953
62bdf9a6
PE
189542012-05-23 Paul Eggert <eggert@cs.ucla.edu>
18955
f8591f80
PE
18956 mktime: avoid signed integer overflow
18957 * time/mktime.c (__mktime_internal): Do not mishandle the case
18958 where diff == INT_MIN.
18959
94c7d826
PE
18960 mktime: simplify computation of average
18961 * time/mktime.c (ranged_convert): Use new time_t_avg function
18962 instead of rolling our own (probably-slower) code.
18963
ce73d683
PE
18964 mktime: do not assume signed right shift propagates sign bit
18965 * time/mktime.c (isdst_differ): New static function.
18966 (__mktime_internal): No need to normalize tm_isdst now.
18967 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
18968 tm_isdst values.
18969
72a22e59
PE
18970 mktime: merge another wrapv change from gnulib
18971 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
18972 from some compilers.
18973
68605433
PE
18974 mktime: remove incorrect attempt at unusual arithmetics
18975 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
18976 The code didn't really work on such machines anyway.
18977 (TYPE_MINIMUM): Assume two's complement.
18978 (twos_complement_arithmetic): Verify that long_int and time_t
18979 are two's complement (or unsigned, in the latter case).
18980
03cf7fe3
PE
18981 mktime: check signed shifts on long_int and time_t, too
18982 * time/mktime.c (SHR): Check that shifts work as desired
18983 on the types long_int and time_t too, as SHR is used on
18984 such types.
18985
f04dfbc2
PE
18986 mktime: do not assume 'long' is wide enough
18987 * time/mktime.c (verify): Move decl up.
18988 (long_int): New type.
18989 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
18990 to remove assumption in the code that 'long' is wide enough to
18991 store year values. This assumption is not true on x32 and on
18992 some non-glibc platforms.
18993
62bdf9a6
PE
18994 mktime: merge wrapv change from gnulib
18995 * time/mktime.c (WRAPV): New macro.
18996 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
18997 (guess_time_tm, __mktime_internal): Do not assume that signed
18998 integer overflow wraps around; modern compilers generate code
18999 where this assumption is no longer valid.
19000
5e292e4f
L
190012012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19002
19003 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19004 Replace "jmp L(pseudo_end)" with "ret".
19005 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
19006 Likewise.
19007
8caf8c87
AJ
190082012-05-23 Andreas Jaeger <aj@suse.de>
19009
19010 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
19011 * sysdeps/unix/sysv/linux/poll.c: Remove file.
19012
1a09dc56
AJ
190132012-05-23 Andreas Jaeger <aj@suse.de>
19014 Maximilian Attems <max@stro.at>
19015
19016 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
19017 New macros.
19018
1c87aba0
L
190192012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19020
19021 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
19022 code so that pseudo_end is just ret and the stack pointer is
19023 correct also for static library in error case.
19024
40e45bd5
JM
190252012-05-23 Joseph Myers <joseph@codesourcery.com>
19026
c2670533
JM
19027 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
19028 move to syscalls.list.
19029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
19030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19033
40e45bd5
JM
19034 * manual/install.texi (Running make install): Do not mention Linux
19035 kernel version for which pt_chown is not needed.
19036 (Linux): Do not mention problems with nscd with 2.0 kernels.
19037 * INSTALL: Regenerated.
19038
be08eda5
AJ
190392012-05-23 Andreas Jaeger <aj@suse.de>
19040
19041 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
19042 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
19043 macro.
19044 * sysdeps/unix/sysv/linux/s390/bits/mman.h
19045 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19046 * sysdeps/unix/sysv/linux/sh/bits/mman.h
19047 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19048 * sysdeps/unix/sysv/linux/i386/bits/mman.h
19049 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19050 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
19051 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19052 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
19053 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19054 * sysdeps/unix/sysv/linux/bits/in.h
19055 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
19056
a6a056bb
RM
190572012-05-22 Roland McGrath <roland@hack.frob.com>
19058
19059 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
19060 (PREPARE_VERSION): Just use assert instead, it will be elided
19061 under [NDEBUG] anyway.
19062
c9009328
L
190632012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19064
19065 * sysdeps/unix/sysv/linux/Makefile: Include
19066 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 19067 (sysdep_routines): Remove sysctl.
c9009328
L
19068 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
19069 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
19070 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
19071 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
19072 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
19073
73338355
AJ
190742012-05-22 Andreas Jaeger <aj@suse.de>
19075
19076 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
19077 that pseudo_end is just ret and the stack pointer is correct also
19078 for static library in error case.
19079
d44638b0
PP
190802012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
19081
19082 [BZ #14122]
19083 * nss/nsswitch.c (defconfig_entries): New variable.
19084 (__nss_database_lookup): Don't leak defconfig entries.
19085 (nss_parse_service_list): Don't leak on error paths.
19086 (free_database_entries): New function.
19087 (free_defconfig): New function.
19088 (free_mem): Move common code to free_database_entries.
19089
31a39bd8
L
190902012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19091
da0331a8
L
19092 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
19093 Add arch_prctl.
19094 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
19095
31a39bd8
L
19096 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19097 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
19098 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
19099 New macro.
19100 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19101 (INTERNAL_SYSCALL_TYPES): Likewise.
19102 (LOAD_ARGS_TYPES_[1-6]): Likewise.
19103 (LOAD_REGS_TYPES_[1-6]): Likewise.
19104 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
19105 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
19106
45470df3
AZ
191072012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19108
19109 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
19110 copysignl for GLIBC_2_0.
19111 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
19112 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
19113 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
19114 logbl for GLIBC_2_0.
19115 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19116 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19117
98a61bcb
L
191182012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19119
a4f6e481
L
19120 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
19121 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19122
f63d5db6
L
19123 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19124 Use "neg %eax".
19125
98a61bcb
L
19126 * time/mktime.c: Update copyright years.
19127
95770f14
PE
191282012-05-22 Paul Eggert <eggert@cs.ucla.edu>
19129
6226efbd
PE
19130 mktime: merge comment-quoting-style change from gnulib
19131 * time/mktime.c: Quote 'like this' in comments.
19132 The GNU coding standards suggest that we no longer quote `like this',
19133 as "`" and "'" are typically rendered asymmetrically nowadays.
19134 The typical gnulib style is to quote 'like this' when quoting
19135 code, and "like this" when quoting English.
19136
b99e4f78
PE
19137 * time/mktime.c (compile-command): Add "-I.".
19138
643e01e6
PE
19139 mktime: merge mktime-internal.h change from gnulib
19140 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
19141
2554247d
PE
19142 mktime: merge time_r change from gnulib
19143 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
19144
826dd0ab
PE
19145 mktime: merge DEBUG change from gnulib
19146 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
19147 case system <time.h> has a #define.
19148
bd83aabe
PE
19149 mktime: merge <sys/types.h> change from gnulib
19150 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
19151 since <time.t> is now guaranteed to define time_t.
19152
95770f14
PE
19153 mktime: merge HAVE_CONFIG_H change from gnulib
19154 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
19155
5e1a27a9
L
191562012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19157
0e44a77e
L
19158 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19159 Use "neg %eax".
19160
5e1a27a9
L
19161 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
19162 __rlim_t cast.
19163 (struct rusage): Use anonymous union to pad each field to
19164 __syscall_slong_t.
19165
46259bec
DM
191662012-05-21 David S. Miller <davem@davemloft.net>
19167
19168 * Makefules (o-iterator): Remove .s cases.
19169 (compile-command.s): Delete.
19170 (COMPILE.s): Delete.
19171 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
19172
59f0c22e
JM
191732012-05-21 Joseph Myers <joseph@codesourcery.com>
19174
19175 * configure.in (libc_cv_predef_stack_protector): Only consider
19176 "foobar" and "__stack_chk_fail" lines in libc_undefs.
19177 * configure: Regenerated.
19178
20c07380
L
191792012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19180
bbb3154b
L
19181 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19182 New macro. Use R*LP on int and pointer.
19183 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
19184 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
19185 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
19186 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
19187
20c07380
L
19188 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
19189 [__WORDSIZE_TIME64_COMPAT32] instead of
19190 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
19191 (struct utmp): Likewise.
19192 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
19193 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
19194 Renamed to ...
19195 (__WORDSIZE_TIME64_COMPAT32): This.
19196 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
19197 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
19198 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
19199 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
19200 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
19201 (__WORDSIZE_TIME64_COMPAT32): New macro.
19202
d8d1017e
AJ
192032012-05-21 Andreas Jaeger <aj@suse.de>
19204
19205 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
19206 only if [SHARED]. Add prototype for __wcschr_ia32.
19207
6c7fb145
RM
192082012-05-21 Roland McGrath <roland@hack.frob.com>
19209
19210 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
19211 of %rbp unmolested in the jmp_buf while mangling the low bits.
19212 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
19213 unmolested high bits of %rbp while demangling the low bits.
19214 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19215
66274218
AJ
192162012-05-21 Andreas Jaeger <aj@suse.de>
19217
07c58f8f
AJ
19218 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
19219 * sunrpc/svc_simple.c: Use it for registerrpc.
19220 * sunrpc/xcrypt.c: Use it for passwd2des.
19221
66274218
AJ
19222 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
19223
61f65140
L
192242012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19225
19226 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
19227 Don't define if [__SYSCALL_WORDSIZE != 32].
19228 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
19229 New macro.
19230
5fefb436
AJ
192312012-05-21 Bruno Haible <bruno@clisp.org>
19232 Andreas Jaeger <aj@suse.de>
19233
19234 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
19235 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
19236 inptr and inend for must_buffer_ch.
19237 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
19238 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
19239 * stdio-common/Makefile (tests): Remove bug15.
19240 (bug15-ENV): Remove macro.
19241 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
19242 anymore.
19243
d8e272ab
AJ
192442012-05-19 Andreas Jaeger <aj@suse.de>
19245 Roland McGrath <roland@hack.frob.com>
19246
19247 * manual/contrib.texi: Completely rewritten. It contains now an
19248 alphabetical list of contributors and their contributions.
19249
4a56a162
RH
192502012-05-21 Richard Henderson <rth@twiddle.net>
19251
19252 * misc/getauxval.c (__getauxval): Use unsigned long int.
19253 * misc/sys/auxv.h: Include <sys/cdefs.h>.
19254 (getauxval): Use unsigned long int.
19255
d024d23c
L
192562012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19257
19258 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19259
cbc00a03
RM
192602012-05-21 Roland McGrath <roland@hack.frob.com>
19261
19262 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
19263 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
19264 __alignof__ (long double).
19265
478143fa
AZ
192662012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19267
19268 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19269
c7683a6d
RH
192702012-05-20 Richard Henderson <rth@twiddle.net>
19271
19272 * misc/getauxval.c: New file.
19273 * misc/sys/auxv.h: New file.
19274 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
19275 (routines): Add getauxval.
19276 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
19277 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
19278 * elf/dl-sysdep.c (_dl_auxv): Remove.
19279 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
19280 * elf/dl-support.c (_dl_auxv): New variable.
19281 (_dl_aux_init): Initialize it.
19282 * manual/startup.texi (Auxiliary Vector): New node.
19283 * sysdeps/generic/bits/hwcap.h: New file.
19284 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
19285 * sysdeps/powerpc/sysdep.h: ... here. Include it.
19286 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
19287 * sysdeps/sparc/sysdep.h: ... here. Include it.
19288 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
19289 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
19290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19291 Update.
c7683a6d
RH
19292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
19293 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
19294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
19295 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
19296 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19297 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19298 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
19299 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
19300
a6f1845d
AZ
193012012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19302
19303 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19304
cbcbe830
DM
193052012-05-19 David S. Miller <davem@davemloft.net>
19306
19307 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19308
e0b16cc2
JM
193092012-05-19 Joseph Myers <joseph@codesourcery.com>
19310
19311 [BZ #14123]
19312 * math/s_ccosh.c: Include <float.h>
19313 (__ccosh): Avoid internal overflow calculating sinh and cosh
19314 values before multiplying by sin and cos values.
19315 * math/s_ccoshf.c: Likewise.
19316 * math/s_ccoshl.c: Likewise.
19317 * math/s_csin.c: Likewise.
19318 * math/s_csinf.c: Likewise.
19319 * math/s_csinl.c: Likewise.
19320 * math/s_csinh.c: Likewise.
19321 * math/s_csinhf.c: Likewise.
19322 * math/s_csinhl.c: Likewise.
19323 * math/libm-test.inc (ccos_test): Add more tests.
19324 (ccosh_test): Likewise.
19325 (csin_test): Likewise.
19326 (csinh_test): Likewise.
19327 * sysdeps/i386/fpu/libm-test-ulps: Update.
19328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19329
6ad13e08
L
193302012-05-19 H.J. Lu <hongjiu.lu@intel.com>
19331
f66f0ce8
L
19332 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
19333 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
19334
6ad13e08
L
19335 * sysdeps/x86_64/x32/_itoa.h: Add comment.
19336
b1d072a7
JM
193372012-05-19 Joseph Myers <joseph@codesourcery.com>
19338
19339 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
19340 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
19341 * sysdeps/powerpc/soft-fp/Versions: Likewise.
19342 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
19343 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
19344 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
19345 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
19346 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
19347 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
19348 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
19349 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
19350 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
19351 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
19352 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
19353 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
19354 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
19355 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
19356 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
19357 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
19358 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
19359 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
19360 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
19361 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
19362 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
19363 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
19364 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
19365 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
19366 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
19367 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
19368 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
19369 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
19370
9eae47cb
AJ
193712012-05-18 Andreas Jaeger <aj@suse.de>
19372
19373 * csu/.gitignore: Delete.
19374
bb07f69f
L
193752012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19376
19377 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
19378 (timex): Use __syscall_slong_t.
19379
e6bdb741
AJ
193802012-05-18 Andreas Jaeger <aj@suse.de>
19381 Carlos O'Donell <carlos_odonell@mentor.com>
19382
19383 * manual/install.texi (Configuring and compiling): Update
19384 description about files modified in the source directory.
d6c33fda 19385 * INSTALL: Regenerated.
e6bdb741 19386
1b74487e
L
193872012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19388
19389 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
19390 value. Use "or" to set return value to -1.
19391 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
19392 negate return value.
19393
a88b64b9
TMQMF
193942012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19395
19396 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
19397 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
19398 failure if the compiler has Graphite support disabled.
19399 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
19400 Likewise.
19401 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
19402 CFLAGS-memmove.c): Likewise.
19403 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
19404 Likewise.
19405
3707636e
L
194062012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19407
610b8622
L
19408 * sysdeps/x86_64/x32/_itoa.h: New file.
19409
7cd195df
L
19410 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
19411 getdents system call only if kernel and user dirents have the
19412 same d_ino and d_off.
19413
94b07d20
L
19414 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19415 LLONG_MAX != LONG_MAX.
19416 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19417 (_fitoa_word): Likewise.
19418
18298070
L
19419 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
19420 years.
19421 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
19422 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
19423 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
19424
553c7ea4
L
19425 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
19426 include <bits/wordsize.h>. Check __x86_64__ instead of
19427 __WORDSIZE.
19428 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
19429 if __x86_64__ is defined. Use anonymous union on fpstate.
19430
3707636e
L
19431 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
19432 anonymous union.
19433
b53ef01a
AS
194342012-05-18 Andreas Schwab <schwab@linux-m68k.org>
19435
37fb1dc0
AS
19436 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19437 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
19438 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
19439 Refer to _rtld_local_ro instead of _rtld_global_ro.
19440 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
19441 Likewise.
19442 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
19443 Likewise.
19444 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
19445 Likewise.
19446 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
19447 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
19448 of _rtld_global, and rtld_progname instead of _dl_argv[0].
19449
b53ef01a
AS
19450 * sysdeps/powerpc/powerpc32/dl-machine.c
19451 (__elf_machine_runtime_setup) [PROF]: Don't reference
19452 _dl_prof_resolve.
19453
7a185db2
AJ
194542012-05-18 Andreas Jaeger <aj@suse.de>
19455
19456 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
19457 function only available for GCCs before 3.4 since GCC 3.4
19458 introduced a builtin.
19459 (lrint): Likewise.
19460 (llrintf): Likewise.
19461 (llrint): Likewise.
19462 (fmaxf): Likewise.
19463 (fmax): Likewise.
19464 (fminf): Likewise.
19465 (fmin): Likewise.
19466 (rint): Likewise.
19467 (rintf): Likewise.
19468 (nearbyint): Likewise.
19469 (nearbyintf): Likewise.
19470 (ceil): Likewise.
19471 (ceilf): Likewise.
19472 (floor): Likewise.
19473 (floorf): Likewise.
19474
3e5aef87
L
194752012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19476
428bd707
L
19477 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
19478 on both fields and cast pointer to __syscall_ulong_t.
19479
3e5aef87
L
19480 * bits/types.h (__fsword_t): New type.
19481 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
19482 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
19483 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19484 (__FSWORD_T_TYPE): Likewise.
19485 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19486 (__FSWORD_T_TYPE): Likewise.
19487 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19488 (__FSWORD_T_TYPE): Likewise.
19489 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
19490 (__FSWORD_T_TYPE): Likewise.
19491 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
19492 __SWORD_TYPE with __fsword_t.
19493 (statfs64): Likewise.
19494
1ba7c3dc
DM
194952012-05-17 David S. Miller <davem@davemloft.net>
19496
19497 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
19498
59910343
AJ
194992012-05-17 Andreas Jaeger <aj@suse.de>
19500
19501 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
19502 warning.
19503
2e4c1e9e
L
195042012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19505
19506 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
19507
de7f5ce7
AJ
195082012-05-17 Andreas Jaeger <aj@suse.de>
19509
19510 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
19511 when it is used.
19512
286abc3d
CM
195132012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19514
19515 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
19516
477cc68e
L
195172012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19518
19519 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
19520 * sysdeps/x86_64/tst-mallocalign1.c: New file.
19521
1a0994f5
CD
195222012-05-17 Andreas Jaeger <aj@suse.de>
19523 Carlos O'Donell <carlos_odonell@mentor.com>
19524
19525 [BZ #14059]
19526 * sysdeps/x86_64/multiarch/init-arch.h
19527 (bit_YMM_Usable): Rename to...
19528 (bit_AVX_Usable): ... this.
19529 (bit_FMA4_Usable): New macro.
19530 (bit_XMM_state): New macro.
19531 (bit_YMM_state): New macro.
19532 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
19533 [__ASSEMBLER__] (index_AVX_Usable): ... this.
19534 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
19535 (CPUID_OSXSAVE): New macro.
19536 (CPUID_AVX): New macro.
19537 (CPUID_FMA4): New macro.
19538 (index_YMM_Usable): Rename to...
19539 (index_AVX_Usable): ... this.
19540 (HAS_AVX): Use HAS_ARCH_FEATURE.
19541 (HAS_FMA4): Likewise.
19542 (HAS_YMM_USABLE): Remove.
19543 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19544 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
19545 are present.
19546 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
19547 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
19548 * sysdeps/x86_64/multiarch/Makefile: Likewise.
19549 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
19550 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
19551
0af797de
CM
195522012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19553
19554 * math/libm-test.c: Support platforms without multiple rounding modes.
19555 * math/bug-nextafter.c: Support platforms without FP exceptions.
19556 * math/bug-nexttoward.c: Likewise.
19557 * math/test-fenv.c: Likewise.
19558 * math/test-misc.c: Likewise.
19559 * stdlib/bug-getcontext.c: Likewise.
19560
e39745ff
AJ
195612012-05-17 Andreas Jaeger <aj@suse.de>
19562
19563 * manual/examples/search.c (critter_cmp): Change signature to
19564 avoid warnings.
19565 * manual/string.texi (Collation Functions): Likewise.
19566
48970aba
L
195672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19568
19569 * bits/types.h: Fold copyright years.
19570 * bits/typesizes.h: Likewise.
19571 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
19572 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19573 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
19574 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
19575 * time/time.h: Likewise.
19576
bedee953
PP
195772012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
19578
19579 [BZ #208]
19580 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
19581 in instead of returning them. Return void.
19582 (__libc_mallinfo): Accumulate over all arenas.
19583 (__malloc_stats): Adjust for change in int_mallinfo interface.
19584
61653dfb
RM
195852012-05-16 Roland McGrath <roland@hack.frob.com>
19586
30b99d79
RM
19587 [BZ #10375]
19588 * configure.in (NM): Add AC_CHECK_TOOL for it.
19589 (libc_extra_cflags): New substituted variable.
19590 Check for -fstack-protector being used implicitly.
19591 * configure: Regenerated.
19592 * config.make.in (config-extra-cflags): New variable,
19593 gets @libc_extra_cflags@.
19594 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
19595
61653dfb
RM
19596 [BZ #10375]
19597 * configure.in: Check for _FORTIFY_SOURCE being predefined.
19598 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
19599 * configure: Regenerated.
19600 * config.make.in (CPPUNDEFS): New substituted variable.
19601 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
19602 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
19603 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
19604
661768bb
L
196052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19606
19607 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
19608 (mq_attr): Use __syscall_slong_t.
19609
d4261567
L
196102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19611
19612 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
19613 Check __x86_64__ instead of __WORDSIZE.
19614 (_STAT_VER_LINUX): Likewise.
19615 (stat): Check __x86_64__ instead of __WORDSIZE. Use
19616 __syscall_ulong_t and __syscall_slong_t.
19617 (stat64): Likewise.
19618
cf3ff365
L
196192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19620
19621 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
19622
76cf3e4d
L
196232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19624
19625 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
19626
a637753a
L
196272012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19628
19629 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
19630 __syscall_ulong_t.
19631
d5e05119
L
19632 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
19633 include <bits/wordsize.h>. Check __x86_64__ instead of
19634 __WORDSIZE.
19635 (greg_t): Use "__extension__ long long int" if __x86_64__ is
19636 defined.
19637 (mcontext_t): Replace "unsigned long" with "unsigned long long".
19638
f62ee380
L
19639 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
19640 include <bits/wordsize.h>. Check __x86_64__ instead of
19641 __WORDSIZE.
19642 (user_regs_struct): Use "__extension__ unsigned long long"
19643 instead of "unsigned long" if __x86_64__ is defined.
19644 (user): Likewise. Pad after pointer field if __ILP32__ is
19645 defined.
19646
4e124ced
JM
196472012-05-16 Joseph Myers <joseph@codesourcery.com>
19648
6a3951a0
JM
19649 * configure.in (makeinfo): Require version 4.5 or later. Allow
19650 versions 5 to 9.
19651 * configure: Regenerated.
19652 * manual/install.texi (texinfo): Increase version requirement to
19653 4.5 or later.
19654 * INSTALL: Regenerated.
19655
4e124ced
JM
19656 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
19657
953ca31a
L
196582012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19659
19660 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
19661
617aca05
L
19662 * sysdeps/x86_64/x32/ffs.c: New file.
19663
5762f7ae
L
19664 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
19665 __syscall_ulong_t.
19666 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
19667 defined. Use __syscall_ulong_t.
19668 (shminfo): Use __syscall_ulong_t.
19669 (shm_info): Likewise.
19670
a26b6856
L
19671 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
19672 __syscall_ulong_t.
19673
cb2b9ef7
L
19674 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
19675 <bits/wordsize.h>.
19676 (msgqnum_t): Use __syscall_ulong_t.
19677 (msglen_t): Likewise.
19678 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
19679 __syscall_ulong_t.
19680
34683bb0
L
19681 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
19682 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19683
84a68786
L
19684 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
19685
48baa5f1
L
19686 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
19687 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
19688
180be88b
L
19689 * sysvipc/sys/msg.h (msgbuf): Replace long int with
19690 __syscall_slong_t.
19691
5e90c8ad
L
19692 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
19693 include <bits/wordsize.h>. Check __x86_64__ instead of
19694 __WORDSIZE.
19695
23dfb58b
L
19696 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
19697 "unsigned long long int" if __x86_64__ is defined.
19698 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
19699
ce5d54b0
L
19700 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
19701 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19702 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
19703
13dc9eac
L
19704 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
19705 <stdint.h>.
19706 (GET_PC): Cast to uintptr_t first.
19707 (GET_FRAME): Likewise.
19708 (GET_STACK): Likewise.
19709
a7895d15
L
19710 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
19711 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
19712 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
19713 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
19714 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
19715 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
19716 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
19717 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
19718 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
19719 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
19720 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
19721 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
19722 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19723 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
19724 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
19725 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
19726 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
19727 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
19728 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
19729 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
19730 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
19731 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
19732 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
19733 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
19734 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
19735 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
19736 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
19737 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
19738 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
19739
656416c9
AS
197402012-05-16 Andreas Schwab <schwab@linux-m68k.org>
19741
5bd66283
AS
19742 * Makerules (+depfiles): Also collect depfiles from .oS in
19743 $(extra-objs).
19744 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
19745 .oS, $(libnldbl-routines)).
19746
656416c9
AS
19747 * Makerules (native-compile-mkdep-flags): Define.
19748 * sunrpc/Makefile (extra-objs): Add $(addprefix
19749 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
19750 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
19751 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
19752 calling $(make-target-directory).
19753
a46f2169
L
197542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19755
19756 * bits/types.h (__snseconds_t): Removed.
19757 * time/time.h (struct timespec): Replace __snseconds_t with
19758 __syscall_slong_t.
19759 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
19760 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
19761 Likewise.
19762 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19763 (__SNSECONDS_T_TYPE): Likewise.
19764 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19765 (__SNSECONDS_T_TYPE): Likewise.
19766 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19767 (__SNSECONDS_T_TYPE): Likewise.
19768
6af6528b
L
197692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19770
19771 * sysdeps/mach/hurd/bits/typesizes.h
19772 (__SYSCALL_SLONG_TYPE): New macro.
19773 (__SYSCALL_ULONG_TYPE): Likewise.
19774
de986b56
L
197752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19776
19777 * bits/types.h (__syscall_slong_t): New type.
19778 (__syscall_ulong_t): Likewise.
19779
19780 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
19781 (__SYSCALL_ULONG_TYPE): Likewise.
19782 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19783 (__SYSCALL_SLONG_TYPE): Likewise.
19784 (__SYSCALL_ULONG_TYPE): Likewise.
19785 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19786 (__SYSCALL_SLONG_TYPE): Likewise.
19787 (__SYSCALL_ULONG_TYPE): Likewise.
19788 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19789 (__SYSCALL_SLONG_TYPE): Likewise.
19790 (__SYSCALL_ULONG_TYPE): Likewise.
19791
85736dc7
L
197922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19793
19794 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
19795 Add sigaltstack-offsets.sym.
19796 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
19797 <sigaltstack-offsets.h>.
19798 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
19799 longjmp_msg pointer.
19800 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
19801 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
19802 signal stack.
19803 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
19804
cc03b296
JM
198052012-05-15 Joseph Myers <joseph@codesourcery.com>
19806
a9538892
JM
19807 * elf/stackguard-macros.h: Remove file.
19808 * sysdeps/generic/stackguard-macros.h: New file.
19809 * sysdeps/i386/stackguard-macros.h: Likewise.
19810 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19811 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19812 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19813 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19814 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19815 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19816 * sysdeps/x86_64/stackguard-macros.h: Likewise.
19817 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
19818 <elf/stackguard-macros.h>.
19819
cc03b296
JM
19820 [BZ #14109]
19821 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
19822 __aligned__ in attribute.
19823 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
19824 (gregset_t): Likewise.
19825
93171016
L
198262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19827
19828 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
19829 * sysdeps/x86_64/64/Implies-after: Here. New file.
19830 * sysdeps/x86_64/x32/Implies-after: New file.
19831
d86813a0
L
198322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19833
19834 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
19835 and access return value for _dl_profile_fixup. Use R10_LP to
19836 load frame size.
19837
2953ec75
L
198382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19839
19840 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
19841
3b550e9e
L
198422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19843
19844 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
19845 * sysdeps/x86_64/x32/sysdep.h: New file.
19846
eda41706
L
198472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19848
19849 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19850 * sysdeps/x86_64/setjmp.S: Likewise.
19851
9ea01d93
AZ
198522012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19853
19854 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
19855 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
19856 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
19857 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
19858 remove unused global constant.
19859
02a91938
CM
198602012-05-15 Chris Metcalf <cmetcalf@tilera.com>
19861
19862 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
19863 include of <not-cancel.h>.
19864
6540185f
RM
198652012-05-15 Roland McGrath <roland@hack.frob.com>
19866
19867 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
19868
509072a0
AJ
198692012-05-15 Jeff Law <law@redhat.com>
19870 Andreas Jaeger <aj@suse.de>
19871
19872 [BZ #13594]
19873 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
19874 out from...
19875 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
19876 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
19877 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
19878 code changing __hst_map_handle.map.
19879
ba75122d
RM
198802012-05-15 Roland McGrath <roland@hack.frob.com>
19881
19882 * configure.in (sysnames): Look for Implies-before and Implies-after
19883 files.
19884 * configure: Regenerated.
19885
890d8bd8
L
198862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19887
19888 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
19889 8-byte data alignment with LP_SIZE alignment.
19890
f6ee6623
L
198912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19892
19893 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
19894 into R10_LP.
19895
ea2626f6
L
198962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19897
19898 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
19899
085f715e
L
199002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19901
19902 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
19903 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
19904 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
19905 Likewise.
19906 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19907
be8498fc
L
199082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19909
19910 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
19911 (stackinfo_sub_sp): Likewise.
19912
70bc83b9
L
199132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19914
19915 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
19916 RAX_LP.
19917
9bc0b730
L
199182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19919
19920 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
19921 into R*_LP.
19922
6d2850e7
L
199232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19924
19925 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
19926 sizes into R*_LP.
19927
3cb84561
L
199282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19929
19930 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
19931
54e2ed81
L
199322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19933
19934 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
19935 into R11_LP and load __x86_64_shared_cache_size_half into
19936 R8_LP.
19937
8a17f349
L
199382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19939
19940 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
19941 R8_LP.
19942
777b1eea
AZ
199432012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19944
19945 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
19946 logb for POWER7.
19947 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
19948 logbf for POWER7.
19949 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
19950 logbl for POWER7.
19951 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
19952 powerpc32/power7/fpu/s_logb.c via #include.
19953 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
19954 powerpc32/power7/fpu/s_logbf.c via #include.
19955 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
19956 powerpc32/power7/fpu/s_logbl.c via #include.
19957
d20d4ac2
JM
199582012-05-15 Joseph Myers <joseph@codesourcery.com>
19959
19960 * README.libm: Remove file.
19961
6cdef1ab
L
199622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19963
19964 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
19965 count for x32. Use R*_LP and omit operand-size suffix.
19966
0b254d8f
L
199672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19968
19969 * shlib-versions: Move x86_64-.*-linux.* entries to ...
19970 * sysdeps/x86_64/64/shlib-versions: Here. New file.
19971 * sysdeps/x86_64/x32/shlib-versions: New file.
19972
ceb809dc
RM
199732012-05-14 Roland McGrath <roland@hack.frob.com>
19974
19975 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
19976 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
19977 Use _dl_fatal_printf instead.
19978
37f1abd4
JM
199792012-05-14 Joseph Myers <joseph@codesourcery.com>
19980
19981 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
19982 set if not set by the user. Do not allow for being unset.
19983 * sysdeps/unix/sysv/linux/configure: Regenerated.
19984
11de3a33
L
199852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19986
19987 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
19988 the `q' suffix from lea and replace .quad with ASM_ADDR.
19989
e02f153a
L
199902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19991
19992 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
19993 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
19994 instead of $17.
19995 (PTR_DEMANGLE): Likewise.
19996
520ae0fd
L
199972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19998
19999 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
20000 (LP_OP): Likewise.
20001 (ASM_ADDR): Likewise.
20002 (RAX_LP): Likewise.
20003 (RBP_LP): Likewise.
20004 (RBX_LP): Likewise.
20005 (RCX_LP): Likewise.
20006 (RDI_LP): Likewise.
20007 (RSI_LP): Likewise.
20008 (RSP_LP): Likewise.
20009 (R8_LP): Likewise.
20010 (R9_LP): Likewise.
20011 (R10_LP): Likewise.
20012 (R10_LP): Likewise.
20013 (R11_LP): Likewise.
20014 (R12_LP): Likewise.
20015 (R13_LP): Likewise.
20016 (R14_LP): Likewise.
20017 (R15_LP): Likewise.
20018
b985be81
L
200192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20020
20021 * sysdeps/x86_64/x32/dl-machine.h: New file.
20022
6a4888ff
AJ
200232012-05-14 Andreas Jaeger <aj@suse.de>
20024
20025 * manual/Makefile (subdir): Remove export of subdir.
20026 (all): Remove target.
20027 (.PHONY): Remove all from list.
20028 (mkinstalldirs): Remove.
20029 (.PHONY): Remove installdirs from list.
20030 ($(inst_infodir)/libc.info): Use make-target-directory.
20031 (installdirs): Remove.
20032 (subdir_%): Remove.
20033 (glibc-targets): Remove.
20034 (lib): Remove.
20035 (stubs): Remove.
20036 ($(objpfx)stubs ../po/manual.pot): Remove.
20037 ($(objpfx)stamp%): Remove.
20038 (make-target-directory): Remove.
20039 (subdir_install): Remove.
20040 (routines): Remove.
20041 (aux): Remove.
20042 (sources): Remove.
20043 (objects): Remove.
20044 (headers): Remove.
20045
20046 [BZ #13750]
20047 * manual/.gitignore: Remove, it's not needed anymore.
20048 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
20049 all files in it.
20050 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
20051 directory.
20052 (texis): Renamed to $(objpfx)texis.
20053 (texis-path): New, contains path to generated files.
20054 (chapters.%): Use texis-path for complete path, add extra argument
20055 libc-texinfo.sh.
20056 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
20057 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
20058 (summary,texi, stamp-summary): Use complete path of
20059 files. Generate files in build dir.
20060 (dir-add.texi): Build in build dir.
20061 (libm-err.texi,stamp-libm-err): Likewise.
20062 (version.texi, stamp-version): Likewise.
20063 (.%c.texi): Likewise.
20064 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
20065 (mostlyclean): Remove target.
20066 (realclean): Remove target.
20067 (generated): Add new variable with contents from mostlyclean and
20068 realclean, remove entries duplicated in common-mostlyclean, add
20069 stamp-libm-err and stamp-version.
20070 (generated-dirs): Add libc directory.
20071 ($(inst_infodir)/libc.info): Install files from build dir.
20072
20073 * manual/install.texi (Configuring and compiling): Adjust since
20074 the info files are not part of the tar ball anymore.
20075
7ac77294
AJ
200762012-05-14 Andreas Jaeger <aj@suse.de>
20077
20078 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
20079 variable.
20080
ffb7875d
JM
200812012-05-14 Joseph Myers <joseph@codesourcery.com>
20082
20083 [BZ #13717]
20084 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20085 to 2.2.0 where earlier.
20086 * sysdeps/unix/sysv/linux/configure: Regenerated.
20087 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
20088 Remove conditional code.
20089 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
20090 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
20091 Remove conditional code.
20092 [!__NR_lchown]: Likewise.
20093 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20094 [__NR_lchown]: Likewise.
20095 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
20096 comment referencing __ASSUME_LCHOWN_SYSCALL.
20097 * sysdeps/unix/sysv/linux/i386/sigaction.c
20098 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20099 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20100 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
20101 Remove conditional code.
20102 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
20103 (__protocol_available): Remove #if 0 code.
20104 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
20105 conditional code.
20106 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
20107 * sysdeps/unix/sysv/linux/kernel-features.h
20108 (__ASSUME_GETCWD_SYSCALL): Don't define.
20109 (__ASSUME_REALTIME_SIGNALS): Likewise.
20110 (__ASSUME_PREAD_SYSCALL): Likewise.
20111 (__ASSUME_PWRITE_SYSCALL): Likewise.
20112 (__ASSUME_POLL_SYSCALL): Likewise.
20113 (__ASSUME_LCHOWN_SYSCALL): Likewise.
20114 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
20115 non-SPARC.
20116 (__ASSUME_SIOCGIFNAME): Don't define.
20117 (__ASSUME_MSG_NOSIGNAL): Likewise.
20118 (__ASSUME_SENDFILE): Define unconditionally.
20119 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
20120 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
20121 conditional code.
20122 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
20123 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
20124 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20125 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20126 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
20127 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20128 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
20130 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20131 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20133 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20134 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
20136 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20137 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20139 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20140 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
20142 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20143 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20145 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20146 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
20148 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20149 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20151 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20152 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20153 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
20154 Remove conditional code.
20155 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20156 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20157 Remove conditional code.
20158 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20159 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
20160 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
20161 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20162 Remove conditional code.
20163 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20164 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
20165 Remove conditional code.
20166 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20167 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
20168 Remove conditional code.
20169 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20170 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20171 Remove conditional code.
20172 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20173 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20174 Remove conditional code.
20175 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20176 * sysdeps/unix/sysv/linux/sh/pwrite64.c
20177 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20178 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20179 * sysdeps/unix/sysv/linux/sigaction.c
20180 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20181 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20182 * sysdeps/unix/sysv/linux/sigpending.c
20183 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20184 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20185 * sysdeps/unix/sysv/linux/sigprocmask.c
20186 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20187 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20188 * sysdeps/unix/sysv/linux/sigsuspend.c
20189 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20190 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20191 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20192 (__libc_missing_rt_sigs): Remove.
20193 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
20194 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
20195 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
20196 Remove conditional code.
20197 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
20198 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
20199 return 1.
20200 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
20201 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
20202 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
20203 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
20204
1bfb7291
AJ
202052012-05-14 Andreas Jaeger <aj@suse.de>
20206
caae5a81
AJ
20207 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
20208 it's not used in glibc.
20209 (__coshm1): Likewise.
20210 (__acosh1p): Likewise.
20211 (__sgn): Likewise.
20212
1bfb7291
AJ
20213 * manual/string.texi (Copying and Concatenation): Add missing
20214 variable in concat example.
20215 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20216
c044d724
L
202172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20218
144c5467 20219 [BZ #14103]
c044d724
L
20220 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
20221 __builtin_clzl with __builtin_clzll.
20222
2523c62b
L
202232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20224
20225 [BZ #14104]
20226 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
20227 libc_freeres_ptr.
20228
d7bb4c42
LD
202292012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20230
20231 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
20232 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
20233 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
20234 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
20235
9dc4e1fb
MF
202362012-05-14 Mike Frysinger <vapier@gentoo.org>
20237
20238 * NEWS: Update ia64 info.
20239
c7df0112
AS
202402012-05-12 Andreas Schwab <schwab@linux-m68k.org>
20241
20242 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
20243 used as bcopy.
20244
dc70356c
TS
202452012-05-12 Thomas Schwinge <thomas@codesourcery.com>
20246
20247 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
20248 * sysdeps/unix/syscalls.list (dup3): Likewise.
20249 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
20250 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
20251
9fb1a21f
L
202522012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20253
20254 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
20255 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
20256
4822a2a5
L
202572012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20258
20259 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
20260 thread pointer.
20261 (TLS_IE): Use mov/add instead of movq/addq to load thread
20262 pointer.
20263 (TLS_GD_PREFIX): New.
20264 (TLS_GD): Use it.
20265
842b81d6
DM
202662012-05-11 David S. Miller <davem@davemloft.net>
20267
20268 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
20269 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
20270 (_FPU_SETCW): Likewise.
20271
1cf463cd
L
202722012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20273
20274 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
20275 is 32-byte aligned.
20276
60cc4a18
AS
202772012-05-11 Andreas Schwab <schwab@linux-m68k.org>
20278
20279 [BZ #11837]
20280 * iconvdata/gb18030.c: Update tables.
20281 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
20282 characters specially.
20283 (BODY for TO_LOOP): Add encoding of missing ranges.
20284
febb44a4
TS
202852012-05-11 Thomas Schwinge <thomas@codesourcery.com>
20286
20287 [BZ #13673]
20288 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
20289 * sysdeps/mach/hurd/dup3.c: Likewise.
20290 * sysdeps/mach/hurd/readlinkat.c: Likewise.
20291 * sysdeps/powerpc/memmove.c:: Likewise.
20292
0a10fb9e
L
202932012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20294
20295 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
20296 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
20297
df8a552f
L
202982012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20299
20300 * elf/elf.h (R_X86_64_RELATIVE64): New.
20301 (R_X86_64_NUM): Updated.
20302 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20303 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
20304 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
20305 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
20306 tst-quad1pie tst-quad2pie
20307 (modules-names): Add tst-quadmod1 tst-quadmod2.
20308 ($(objpfx)tst-quad1): New dependency.
20309 ($(objpfx)tst-quad2): Likewise.
20310 ($(objpfx)tst-quad1pie): Likewise.
20311 ($(objpfx)tst-quad2pie): Likewise.
20312 * sysdeps/x86_64/tst-quad1.c: New file.
20313 * sysdeps/x86_64/tst-quad1pie.c: New file.
20314 * sysdeps/x86_64/tst-quad2.c: Likewise.
20315 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
20316 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
20317 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
20318 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
20319 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
20320
f34d6f84
ST
203212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20322
f42d41d1
ST
20323 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
20324 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
20325 * streams/stropts.h (t_scalar_t): Define type.
20326
3c3571fc
ST
20327 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
20328 (_PATH_PRESERVE): Set to "/var/lib".
20329 (_PATH_RWHODIR): Set to "/var/spool/rwho".
20330
61f06bd3
ST
20331 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
20332 instead of int.
20333
918d4d71
ST
20334 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
20335 if __dir_mkfile succeeded.
20336
f34d6f84
ST
20337 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
20338 checking for _hurd_dtablesize. Unlock it right after having
20339 finished _hurd_dtable allocation.
20340
10589b4a
TS
203412012-05-10 Thomas Schwinge <thomas@schwinge.name>
20342
674cdbc7
TS
20343 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
20344 * sysdeps/mach/hurd/configure: Regenerated.
20345 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
20346 special-casing to...
20347 * sysdeps/gnu/configure.in: ... this new file.
20348 * sysdeps/unix/sysv/linux/configure: Regenerated.
20349 * sysdeps/gnu/configure: New generated file.
20350
8e41b99f
TS
20351 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
20352 for Linux: use nsec instead of usec, as well as:
20353 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
20354 members of type struct timespec.
20355 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
20356 New macros.
20357 (struct stat64): Likewise.
20358 (_STATBUF_ST_NSEC): New macro.
20359 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
20360
10589b4a
TS
20361 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20362 __strtoul_internal rather than strtoul.
20363
63643c85
PT
203642012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20365
20366 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
20367 and reject them.
20368
3faebe6a
ST
203692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20370
20371 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
20372 which preserves existing values.
20373 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
20374
c6474b07
PT
203752012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20376
20377 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
20378 TIMEOUT values. Return EINVAL for NFDS values either negative or
20379 greater than FD_SETSIZE.
20380
1043890b
ST
203812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20382
20383 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
20384 allocated, call __vm_protect to finish enabling the existing space, and
20385 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
20386 allocate the remainder.
20387
37ed8b9b
PT
203882012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20389
20390 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
20391 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
20392
db653660
ST
203932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20394
37ed8b9b
PT
20395 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
20396 sysdeps/mach/hurd/readlink.c.
b29d4053 20397
db653660
ST
20398 * posix/tst-sysconf.c (posix_options): Only use
20399 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
20400 _POSIX_SYNCHRONIZED_IO when they are defined
20401 * sysdeps/mach/hurd/bits/posix_opt.h:
20402 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
20403 (_XOPEN_REALTIME): Undefine macro.
20404 (_XOPEN_REALTIME_THREADS): Undefine macro.
20405 (_XOPEN_SHM): Undefine macro.
20406 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
20407 macro to -1.
20408 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
20409 macro to -1.
20410 (_POSIX_ASYNC_IO): Undefine macro.
20411 (_POSIX_PRIORITIZED_IO): Undefine macro.
20412 (_POSIX_SPIN_LOCKS): Define macro to -1.
20413
ee16e894
ST
20414 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
20415 SA_NODEFER, SA_RESETHAND.
20416 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
20417 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
20418 F_DUPFD_CLOEXEC.
20419
6103ae3b
TS
204202012-05-10 Thomas Schwinge <thomas@schwinge.name>
20421
20422 * elf/Makefile (pldd-modules): Define unconditionally.
20423
80b4e5f3
TS
204242012-05-10 Thomas Schwinge <thomas@schwinge.name>
20425
20426 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
20427
edadcbd6
ST
204282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20429
20430 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
20431 Return ENOENT when name is empty.
20432 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
20433
80694780
TS
204342012-05-10 Thomas Schwinge <thomas@schwinge.name>
20435
1792c087
TS
20436 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
20437
80694780
TS
20438 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
20439
6b645f0d
ST
204402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20441
80694780
TS
20442 Fix mlock in all cases except non-readable pages.
20443 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
20444 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 20445
6b645f0d
ST
20446 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
20447 (__mkdir): When path is `/', just fail with EEXIST.
20448 * sysdeps/mach/hurd/mkdirat.c: Likewise.
20449
e468f8a3
TS
204502012-05-10 Thomas Schwinge <thomas@schwinge.name>
20451
20452 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
20453 <sys/uio.h> (for writev).
20454 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
20455 and <sys/param.h> (for MIN).
20456
a4186cff
PT
204572012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20458
20459 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
20460 REQUESTED_TIME. Properly set the remaining time and return EINTR
20461 if interrupted.
20462
510bbf14
TS
204632012-05-10 Thomas Schwinge <thomas@schwinge.name>
20464
20465 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
20466 Depend on against $(link-rpcuserlibs).
20467
5d5722e8
ST
204682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20469
a4186cff
PT
20470 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
20471 (__libc_stack_end): Do not use attribute_relro.
20472 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
20473 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 20474 to libthread-provided value.
a4186cff
PT
20475 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
20476 attribute_relro.
5d5722e8 20477
37233df9
TS
204782012-05-10 Thomas Schwinge <thomas@schwinge.name>
20479
be971a2b
TS
20480 [BZ #3748]
20481 * bits/libc-lock.h (__libc_once_get): New macro.
20482 * sysdeps/mach/bits/libc-lock.h: Likewise.
20483 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
20484 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
20485 instead of using implementation details.
20486
37233df9
TS
20487 * libio/fileops.c: Unconditionally include <kernel-features.h>.
20488 * libio/freopen.c: Likewise.
20489 * libio/freopen64.c: Likewise.
20490 * misc/syslog.c: Likewise.
20491 * nscd/connections.c: Likewise.
20492 * nscd/netgroupcache.c: Likewise.
20493 * sysdeps/posix/getcwd.c: Likewise.
20494
38de94a5
RM
204952012-05-10 Roland McGrath <roland@hack.frob.com>
20496
20497 * math/w_ilogbf.c: Add #include <limits.h>.
20498
67530489
ST
204992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20500
a4186cff 20501 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
20502 path instead of returning without unlocking.
20503
67530489
ST
20504 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
20505 immediate-write ioctls.
20506 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
20507
5aa3a74a
TS
205082012-05-10 Thomas Schwinge <thomas@schwinge.name>
20509
18bad2ae
TS
20510 * sysdeps/mach/hurd/i386/init-first.c (init): Use
20511 __builtin_frame_address instead of making assumptions about the
20512 location of the return address relative to DATA. Force early load of
20513 the return address.
20514 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
20515 __builtin_frame_address.
20516
5aa3a74a
TS
20517 dup3 for GNU Hurd.
20518 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
20519 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
20520 implement dup3 and do some further code clean-ups.
20521 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
20522 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
20523
ecd0de9a
ST
205242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20525
cd9fa985
ST
20526 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
20527
a4186cff
PT
20528 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
20529 HURD_CRITICAL_END around holding _hurd_dtable_lock.
20530 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
20531 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
20532 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
20533 d->port.lock.
802ca5a5 20534
a4186cff
PT
20535 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
20536 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
20537 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 20538
bcf55240
TS
205392012-05-10 Thomas Schwinge <thomas@schwinge.name>
20540
6960eb42
TS
20541 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
20542 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
20543 definitions.
20544
eb43375f
TS
20545 accept4 for GNU Hurd.
20546 * include/sys/socket.h (__libc_accept4): New prototype.
20547 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
20548 to implement __libc_accept4.
20549 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
20550 __libc_accept4.
20551 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
20552
bcf55240
TS
20553 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
20554 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
20555 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
20556 signal-defines.sym.
20557
6178c55b
ST
205582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20559
a4186cff 20560 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 20561
6f080c2f
TS
205622012-05-10 Thomas Schwinge <thomas@schwinge.name>
20563
20564 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
20565 assertion on O_CLOEXEC flag.
20566 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
20567 * hurd/intern-fd.c: Likewise.
20568 * hurd/port2fd.c: Likewise.
20569
bcfe3a54
ST
205702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20571
20572 [BZ #3906]
20573 * bits/in.h (IPV6_PKTINFO): Define new macro.
20574 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
20575
89c9aa49
AZ
205762012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20577
20578 [BZ #13954]
20579 [BZ #13955]
20580 [BZ #13956]
20581 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
20582 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20583 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
20584 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20585 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20586 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20587 * math/libm-test.inc (logb_test) : Additional logb tests.
20588
021db4be
AJ
205892012-05-09 Andreas Schwab <schwab@linux-m68k.org>
20590 Andreas Jaeger <aj@suse.de>
20591
20592 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
20593 * configure: Regenerated.
20594 * config.h.in (LINK_OBSOLETE_RPC): New macro.
20595 * config.make.in (link-obsolete-rpc): New substituted variable.
20596 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
20597 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
20598 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20599 (shared-only-routines): Don't set it under [link-obsolete-rpc],
20600 so that libc.a contains the symbols.
20601 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20602 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
20603 * sunrpc/auth_none.c: Likewise.
20604 * sunrpc/auth_unix.c: Likewise.
20605 * sunrpc/authdes_prot.c: Likewise.
20606 * sunrpc/authuxprot.c: Likewise.
20607 * sunrpc/clnt_gen.c: Likewise.
20608 * sunrpc/clnt_perr.c: Likewise.
20609 * sunrpc/clnt_raw.c: Likewise.
20610 * sunrpc/clnt_simp.c: Likewise.
20611 * sunrpc/clnt_tcp.c: Likewise.
20612 * sunrpc/clnt_udp.c: Likewise.
20613 * sunrpc/clnt_unix.c: Likewise.
20614 * sunrpc/des_crypt.c: Likewise.
20615 * sunrpc/des_soft.c: Likewise.
20616 * sunrpc/get_myaddr.c: Likewise.
20617 * sunrpc/key_call.c: Likewise.
20618 * sunrpc/key_prot.c: Likewise.
20619 * sunrpc/netname.c: Likewise.
20620 * sunrpc/pm_getmaps.c: Likewise.
20621 * sunrpc/pm_getport.c: Likewise.
20622 * sunrpc/pmap_clnt.c: Likewise.
20623 * sunrpc/pmap_prot.c: Likewise.
20624 * sunrpc/pmap_prot2.c: Likewise.
20625 * sunrpc/pmap_rmt.c: Likewise.
20626 * sunrpc/publickey.c: Likewise.
20627 * sunrpc/rpc_cmsg.c: Likewise.
20628 * sunrpc/rpc_common.c: Likewise.
20629 * sunrpc/rpc_dtable.c: Likewise.
20630 * sunrpc/rpc_prot.c: Likewise.
20631 * sunrpc/rpc_thread.c: Likewise.
20632 * sunrpc/rtime.c: Likewise.
20633 * sunrpc/svc.c: Likewise.
20634 * sunrpc/svc_auth.c: Likewise.
20635 * sunrpc/svc_raw.c: Likewise.
20636 * sunrpc/svc_run.c: Likewise.
20637 * sunrpc/svc_tcp.c: Likewise.
20638 * sunrpc/svc_udp.c: Likewise.
20639 * sunrpc/svc_unix.c: Likewise.
20640 * sunrpc/svcauth_des.c: Likewise.
20641 * sunrpc/xcrypt.c: Likewise.
20642 * sunrpc/xdr.c: Likewise.
20643 * sunrpc/xdr_array.c: Likewise.
20644 * sunrpc/xdr_float.c: Likewise.
20645 * sunrpc/xdr_intXX_t.c: Likewise.
20646 * sunrpc/xdr_mem.c: Likewise.
20647 * sunrpc/xdr_rec.c: Likewise.
20648 * sunrpc/xdr_ref.c: Likewise.
20649 * sunrpc/xdr_sizeof.c: Likewise.
20650 * sunrpc/xdr_stdio.c: Likewise.
20651
b5c086a2
RM
206522012-05-10 Roland McGrath <roland@hack.frob.com>
20653
20654 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
20655 change. Update copyright years.
20656
6d74dd09
JM
206572012-05-10 Joseph Myers <joseph@codesourcery.com>
20658
20659 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
20660
28e72501
MK
206612012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
20662 Joseph Myers <joseph@codesourcery.com>
20663 Paul Pluzhnikov <ppluzhnikov@google.com>
20664
20665 [BZ #14012]
20666 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
20667 requiring rpcgen.
20668 [cross-compiling] (extra-libs): Likewise.
20669 [cross-compiling] (extra-libs-others): Likewise.
20670 [cross-compiling] (librpcsvc-routines): Likewise.
20671 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
20672 [cross-compiling] (omit-deps): Likewise.
20673 (sunrpc-CPPFLAGS): New variable.
20674 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
20675 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
20676 (cross-rpcgen-objs): New variable.
20677 (extra-objs): Append $(cross-rpcgen-objs).
20678 ($(cross-rpcgen-objs)): New rule.
20679 ($(objpfx)cross-rpcgen): Likewise.
20680 (rpcgen-cmd): Define to use $(built-program-file). Expand
20681 comment.
20682 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
20683 ($(objpfx)x%.stmp): Likewise.
20684 * sunrpc/proto.h [IS_IN_build] (_): Define.
20685 [IS_IN_build] (_libc_intl_domainname): Likewise.
20686
c8c59454
L
206872012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20688
20689 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
20690 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
20691 and R_X86_64_TPOFF64.
20692
6f27cd16
JM
206932012-05-10 Joseph Myers <joseph@codesourcery.com>
20694
20695 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
20696 sysdeps/unix/sysv/syscalls.list.
20697 (stime): Likewise.
20698 (utime): Likewise.
20699 * sysdeps/unix/sysv/syscalls.list: Remove file.
20700
02467e1c
PE
207012012-05-10 Paul Eggert <eggert@cs.ucla.edu>
20702
20703 [BZ #3440]
20704 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
20705 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
20706 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
20707 (__LC_IDENTIFICATION): Make these macros useful in #if
20708 expressions, as required by C99.
20709
da392631
AS
207102012-05-10 Andreas Schwab <schwab@linux-m68k.org>
20711
20712 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
20713 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
20714 after this.
20715
8115f29b
L
207162012-05-09 H.J. Lu <hongjiu.lu@intel.com>
20717
20718 * stdlib/longlong.h: Updated from GCC.
20719
bdd74070
AJ
207202012-05-09 Andreas Jaeger <aj@suse.de>
20721
edfe0dbe
AJ
20722 * nscd/nscd.c (run_modes): Make named enum, reorder so that
20723 default is first entry.
20724 (run_mode): Set type.
20725 (main): Remove informal message about syslog.
20726 (options): Fix typo.
20727
bcfe3a54
ST
20728 [BZ #14053]
20729 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 20730 to asm.
bcfe3a54
ST
20731 (lrint): Likewise.
20732 (llrintf): Likewise.
20733 (llrint): Likewise.
20734 (rint): Likewise.
20735 (rintf): Likewise.
20736 (nearbyint): Likewise.
20737 (nearbyintf): Likewise.
bdd74070 20738
91d8d69e
AJ
207392012-05-09 Andreas Jaeger <aj@suse.de>
20740 Pedro Alves <palves@redhat.com>
20741
20742 * nscd/nscd.c (run_mode): Use enum.
20743 (main): Cleanup coding style issue.
20744
bb90b80b
AJ
207452012-05-09 Alexandre Oliva <aoliva@redhat.com>
20746 Andreas Jaeger <aj@suse.de>
20747
bcfe3a54
ST
20748 * nscd/nscd.c (go_background): Replaced with...
20749 (run_mode): ... this.
bb90b80b 20750 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
20751 (options): Add -F --foreground.
20752 (main): Implement it.
20753 (parse_opt): Parse it.
bb90b80b 20754
1a4b75a1
AJ
207552012-05-09 Andreas Jaeger <aj@suse.de>
20756
20757 [BZ #14083]
20758 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
20759 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
20760 -Wconversion warning.
20761 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
20762 Likewise.
20763
b1cc2472
JM
207642012-05-09 Joseph Myers <joseph@codesourcery.com>
20765
20766 * conform/data/locale.h-data (NULL): Use macro-constant. Require
20767 == 0.
20768 (LC_ALL): Use macro-int-constant.
20769 (LC_COLLATE): Likewise.
20770 (LC_CTYPE): Likewise.
20771 (LC_MESSAGES): Likewise.
20772 (LC_MONETARY): Likewise.
20773 (LC_NUMERIC): Likewise.
20774 (LC_TIME): Likewise.
20775 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
20776 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20777 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20778 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
20779 Specify type.
20780 [C99-based standards] (float_t): Expect type.
20781 [C99-based standards] (double_t): Expect type.
20782 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
20783 type.
20784 [C99-based standards] (HUGE_VALL): Likewise.
20785 [C99-based standards] (INFINITY): Likewise.
20786 [C99-based standards] (NAN): Likewise.
20787 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
20788 [C99-based standards] (FP_NAN): Likewise.
20789 [C99-based standards] (FP_NORMAL): Likewise.
20790 [C99-based standards] (FP_SUBNORMAL): Likewise.
20791 [C99-based standards] (FP_ZERO): Likewise.
20792 [C99-based standards] (FP_FAST_FMA): Use
20793 optional-macro-int-constant. Specify type. Require == 1.
20794 [C99-based standards] (FP_FAST_FMAF): Likewise.
20795 [C99-based standards] (FP_FAST_FMAL): Likewise.
20796 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
20797 [C99-based standards] (FP_ILOGBNAN): Likewise.
20798 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
20799 Specify type.
20800 [C99-based standards] (MATH_ERREXCEPT): Likewise.
20801 [C99-based standards] (math_errhandling): Specify type.
20802 [ISO99 || ISO11] (signgam): Do not allow.
20803 [non-C99-based standards] (copysignf): Do not allow.
20804 [non-C99-based standards] (exp2f): Likewise.
20805 [non-C99-based standards] (log2f): Likewise.
20806 [non-C99-based standards] (modff): Allow.
20807 [non-C99-based standards] (erff): Do not allow.
20808 [non-C99-based standards] (erfcf): Likewise.
20809 [non-C99-based standards] (gammaf): Likewise.
20810 [non-C99-based standards] (hypotf): Likewise.
20811 [non-C99-based standards] (j0f): Likewise.
20812 [non-C99-based standards] (j1f): Likewise.
20813 [non-C99-based standards] (jnf): Likewise.
20814 [non-C99-based standards] (lgammaf): Likewise.
20815 [non-C99-based standards] (tgammaf): Likewise.
20816 [non-C99-based standards] (y0f): Likewise.
20817 [non-C99-based standards] (y1f): Likewise.
20818 [non-C99-based standards] (ynf): Likewise.
20819 [non-C99-based standards] (isnanf): Likewise.
20820 [non-C99-based standards] (acoshf): Likewise.
20821 [non-C99-based standards] (asinhf): Likewise.
20822 [non-C99-based standards] (atanhf): Likewise.
20823 [non-C99-based standards] (cbrtf): Likewise.
20824 [non-C99-based standards] (expm1f): Likewise.
20825 [non-C99-based standards] (ilogbf): Likewise.
20826 [non-C99-based standards] (log1pf): Likewise.
20827 [non-C99-based standards] (logbf): Likewise.
20828 [non-C99-based standards] (nextafterf): Likewise.
20829 [non-C99-based standards] (remainderf): Likewise.
20830 [non-C99-based standards] (rintf): Likewise.
20831 [non-C99-based standards] (scalbf): Likewise.
20832 [non-C99-based standards] (copysignl): Likewise.
20833 [non-C99-based standards] (exp2l): Likewise.
20834 [non-C99-based standards] (log2l): Likewise.
20835 [non-C99-based standards] (modfl): Allow.
20836 [non-C99-based standards] (erfl): Do not allow.
20837 [non-C99-based standards] (erfcl): Likewise.
20838 [non-C99-based standards] (gammal): Likewise.
20839 [non-C99-based standards] (hypotl): Likewise.
20840 [non-C99-based standards] (j0l): Likewise.
20841 [non-C99-based standards] (j1l): Likewise.
20842 [non-C99-based standards] (jnl): Likewise.
20843 [non-C99-based standards] (lgammal): Likewise.
20844 [non-C99-based standards] (tgammal): Likewise.
20845 [non-C99-based standards] (y0l): Likewise.
20846 [non-C99-based standards] (y1l): Likewise.
20847 [non-C99-based standards] (ynl): Likewise.
20848 [non-C99-based standards] (isnanl): Likewise.
20849 [non-C99-based standards] (acoshl): Likewise.
20850 [non-C99-based standards] (asinhl): Likewise.
20851 [non-C99-based standards] (atanhl): Likewise.
20852 [non-C99-based standards] (cbrtl): Likewise.
20853 [non-C99-based standards] (expm1l): Likewise.
20854 [non-C99-based standards] (ilogbl): Likewise.
20855 [non-C99-based standards] (log1pl): Likewise.
20856 [non-C99-based standards] (logbl): Likewise.
20857 [non-C99-based standards] (nextafterl): Likewise.
20858 [non-C99-based standards] (remainderl): Likewise.
20859 [non-C99-based standards] (rintl): Likewise.
20860 [non-C99-based standards] (scalbl): Likewise.
20861 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20862 [non-C99-based standards] (FP_*): Do not allow.
20863 [C99-based standards] (FP_*): Change to
20864 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20865 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20866 allow.
20867 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
20868 (SIG_ERR): Likewise.
20869 [X/Open-based standards] (SIG_HOLD): Likewise.
20870 (SIG_IGN): Likewise.
20871 (SIGABRT): Use macro-int-constant. Specify type. Require
20872 positive value.
20873 (SIGFPE): Likewise.
20874 (SIGILL): Likewise.
20875 (SIGINT): Likewise.
20876 (SIGSEGV): Likewise.
20877 (SIGTER): Likewise.
20878 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
20879 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
20880 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
20881 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
20882 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
20883 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
20884 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
20885 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
20886 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
20887 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
20888 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
20889 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
20890 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
20891 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
20892 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
20893 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
20894 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
20895 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
20896 [X/Open-based standards] (SIGTRAP): Likewise.
20897 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
20898 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
20899 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
20900 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
20901 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20902 allow.
20903
b9f1922d
IW
209042012-05-08 Ian Wienand <ianw@vmware.com>
20905
20906 [BZ #14080]
20907 * time/tzset.c (__tzset_parse_tz): Update default rules for
20908 daylight time changes in the Energy Policy Act of 2005.
20909
1db86e88
AJ
209102012-05-09 Andreas Jaeger <aj@suse.de>
20911
20912 [BZ #13983]
20913 * elf/ldconfig.c (parse_conf): Change string to make clear that
20914 ldconfig only issued a warning if ld.so.conf does not exist.
20915
dee4a4e3
DM
209162012-05-08 David S. Miller <davem@davemloft.net>
20917
ee0db190
DM
20918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
20919 movxtod instead of popping the value on the stack.
20920
dee4a4e3
DM
20921 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20922
6a43ec98
CD
209232012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
20924
20925 * config.h.in: Add HAVE_ARM_PCS_VFP.
20926
05c2c961
RMG
209272012-05-08 Roland Mc Grath <roland@hack.frob.com>
20928
bcfe3a54
ST
20929 [BZ #13979]
20930 * include/features.h: Warn if user requests __FORTIFY_SOURCE
20931 checking but the checks are disabled for any reason.
05c2c961 20932
4b30f61a
L
209332012-05-08 H.J. Lu <hongjiu.lu@intel.com>
20934
20935 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
20936 and ELF64_R_TYPE with ELFW(R_TYPE).
20937
eee2bc67
JM
209382012-05-08 Joseph Myers <joseph@codesourcery.com>
20939
7ea5391a
JM
20940 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
20941 (ulimit): Likewise.
20942
eee2bc67
JM
20943 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
20944 (settimeofday): Likewise.
20945
abb66a67
MF
209462012-05-08 Mike Frysinger <vapier@gentoo.org>
20947
20948 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
20949 a struct th_u2 inside the union, and move tu_block/tu_code into
20950 a new th_u3 union of tu_block/tu_code inside of that. Move
20951 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
20952 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
20953 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
20954 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
20955 (th_stuff): Change to th_u1.tu_stuff.
20956 (th_data): Define.
20957 (th_msg): Change to th_u1.th_u2.tu_data.
20958
7f18b530
DM
209592012-05-07 David S. Miller <davem@davemloft.net>
20960
05760585
DM
20961 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20962
7f18b530
DM
20963 [BZ #14074]
20964 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
20965 (SETUP_PIC_REG): Use it.
20966 (SETUP_PIC_REG_LEAF): Use it.
20967
495fd99f
JM
209682012-05-07 Joseph Myers <joseph@codesourcery.com>
20969
20970 [BZ #13885]
20971 [BZ #13923]
20972 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20973 USE_AS_EXPM1L.
20974 (EXPL_FINITE): Likewise.
20975 (FLDLOG): Likewise.
20976 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20977 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20978 e_expl.S.
20979 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20980 USE_AS_EXPM1L.
20981 (EXPL_FINITE): Likewise.
20982 (FLDLOG): Likewise.
20983 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20984 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20985 e_expl.S.
20986 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
20987 test of -max_value argument for long double.
20988 * sysdeps/i386/fpu/libm-test-ulps: Update.
20989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20990
6693d694
DM
209912012-05-06 David S. Miller <davem@davemloft.net>
20992
20993 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
20994 quad soft-float symbols whose references which are compiler
20995 generated.
20996 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20997
6c23e11c
JM
209982012-05-06 Joseph Myers <joseph@codesourcery.com>
20999
d8b82cad
JM
21000 [BZ #13884]
21001 [BZ #13914]
21002 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21003 USE_AS_EXP10L.
21004 (EXPL_FINITE): Likewise.
21005 (FLDLOG): Likewise.
21006 (c0): Likewise.
21007 (c1): Likewise.
21008 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21009 Adjust comments for base varying.
21010 (__expl_finite): Change alias to EXPL_FINITE.
21011 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
21012 e_expl.S.
21013 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
21014 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21015 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21016 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
21017 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21018 USE_AS_EXP10L.
21019 (EXPL_FINITE): Likewise.
21020 (FLDLOG): Likewise.
21021 (c0): Likewise.
21022 (c1): Likewise.
21023 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21024 Adjust comments for base varying.
21025 (__expl_finite): Change alias to EXPL_FINITE.
21026 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
21027 tests for bugs.
21028 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21029
6c23e11c
JM
21030 [BZ #14064]
21031 * math/libm-test.inc (check_float_internal): Correct ulp
21032 calculation for subnormal expected results.
21033
29ba805c
AJ
210342012-05-06 Andreas Jaeger <aj@suse.de>
21035
21036 * Makeconfig (+math-flags): New, set to -frounding-math.
21037 (+cflags): Add +math-flags so that all of glibc gets compiled with
21038 it.
21039
21040 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
21041
7b17aeda
JM
210422012-05-05 Joseph Myers <joseph@codesourcery.com>
21043
5779f134
JM
21044 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
21045 Disable one test.
21046
41498f4d
JM
21047 [BZ #13787]
21048 [BZ #13922]
21049 [BZ #14036]
21050 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
21051 (__ieee754_expl): Allow for and saturate large arguments.
21052 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
21053 (u_threshold): Likewise.
21054 (__exp): Call __ieee754_exp before checking for overflow and
21055 underflow.
21056 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
21057 (u_threshold): Likewise.
21058 (__expf): Call __ieee754_expf before checking for overflow and
21059 underflow.
21060 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
21061 (u_threshold): Likewise.
21062 (__expl): Call __ieee754_expl before checking for overflow and
21063 underflow.
21064 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
21065 (__ieee754_expl): Allow for and saturate large arguments.
21066 * math/libm-test.inc (exp_test): Add another test. Do not allow
21067 missing overflow exception on overflow.
21068 (expm1_test): Do not allow missing overflow exception on overflow.
21069
6698b8bf
JM
21070 * sysdeps/i386/fpu/e_expl.c: Move to ...
21071 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
21072 rather than using inline asm.
21073 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
21074 * sysdeps/x86_64/fpu/e_expl.S: Copy from
21075 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
21076
7b17aeda
JM
21077 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
21078 (nice): Likewise.
21079 (poll): Likewise.
21080 (signal): Likewise.
21081 (time): Likewise.
21082 (times): Likewise.
21083
f7c85819
JM
210842012-05-04 Joseph Myers <joseph@codesourcery.com>
21085
21086 * sysdeps/unix/syscalls.list (adjtime): Add entry from
21087 sysdeps/unix/common/syscalls.list.
21088 (fchmod): Likewise.
21089 (fchown): Likewise.
21090 (ftruncate): Likewise.
21091 (getrusage): Likewise.
21092 (gettimeofday): Likewise.
21093 (setpgid): Likewise.
21094 (setregid): Likewise.
21095 (setreuid): Likewise.
21096 (sigaction): Likewise.
21097 (truncate): Likewise.
21098 (vhangup): Likewise.
21099 * sysdeps/unix/common/syscalls.list: Remove file.
21100 * sysdeps/unix/bsd/Implies: Don't include unix/common.
21101 * sysdeps/unix/sysv/linux/Implies: Likewise.
21102
336270d0
L
211032012-05-04 H.J. Lu <hongjiu.lu@intel.com>
21104
21105 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
21106 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
21107 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
21108 Moved to ...
21109 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21110 Here.
21111 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
21112 to ...
21113 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
21114 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
21115 to ...
21116 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
21117 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
21118 to ...
21119 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
21120 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
21121 to ...
21122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
21123 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
21124 to ...
21125 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
21126 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
21127 to ...
21128 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
21129 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
21130 to ...
21131 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21132 Here.
21133 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
21134 to ...
21135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
21136 Here.
21137 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
21138 to ...
21139 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
21140 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
21141 Moved to ...
21142 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
21143 Here.
21144 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
21145 to ...
21146 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
21147
d128e450
JM
211482012-05-04 Joseph Myers <joseph@codesourcery.com>
21149
fa8ee516
JM
21150 * sysdeps/unix/common/bits/dirent.h: Remove file.
21151 * sysdeps/unix/common/bits/fcntl.h: Likewise.
21152
d128e450
JM
21153 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
21154 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
21155 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
21156 * sysdeps/unix/bsd/isatty.c: Likewise.
21157 * sysdeps/unix/bsd/tcdrain.c: Likewise.
21158 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
21159 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
21160
ff8faaf0 211612012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 21162
62881be4 21163 [BZ #13563]
31dc8730
AZ
21164 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
21165 long double comparison inaccuracies.
21166 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21168
6fef930c
AS
211692012-05-04 Andreas Schwab <schwab@linux-m68k.org>
21170
21171 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
21172 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
21173
8f203e6c
JM
211742012-05-04 Joseph Myers <joseph@codesourcery.com>
21175
21176 [BZ #14049]
21177 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
21178 nonzero digits before rounding a hex value.
21179 * stdlib/tst-strtod.c (tests): Add another test.
21180
5197d9c2
AK
211812012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21182
21183 * sysdeps/s390/fpu/libm-test-ulps: Update.
21184
f0c1dedf
AJ
211852012-05-03 Andreas Jaeger <aj@suse.de>
21186
21187 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
21188 does not get optimized out.
21189 (malloc_opt_barrier): New.
21190
a65ef2ae 211912012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 21192 Roland McGrath <roland@hack.frob.com>
a65ef2ae 21193
2b942cb7 21194 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 21195 intermediate file deletion.
2b942cb7 21196 (generated): Add .symlist files.
a65ef2ae 21197
54b71e02
JM
211982012-05-03 Joseph Myers <joseph@codesourcery.com>
21199
21200 [BZ #13775]
21201 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
21202 Redirect under this condition.
21203 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21204 [__USE_GNU] (__dprintf_chk): Not under this condition.
21205 [__USE_GNU] (__vdprintf_chk): Likewise.
21206 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
21207 under this condition.
21208 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21209 [__USE_XOPEN2K8] (dprintf): Define under this condition.
21210 [__USE_XOPEN2K8] (vdprintf): Likewise.
21211 [__USE_GNU] (__dprintf_chk): Not under this condition.
21212 [__USE_GNU] (__vdprintf_chk): Likewise.
21213 [__USE_GNU] (dprintf): Likewise.
21214 [__USE_GNU] (vdprintf): Likewise.
21215
d3dfcc41
RM
212162012-05-03 Roland McGrath <roland@hack.frob.com>
21217
21218 * elf/Makefile (common-generated): Set this instead of generated for
21219 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
21220 $(all-built-dso)-derived lists.
21221
7ac30cc5
AJ
212222012-05-03 Andreas Jaeger <aj@suse.de>
21223
0c51e550
AJ
21224 * sysdeps/i386/fpu/libm-test-ulps: Update.
21225
7ac30cc5
AJ
21226 * FAQ: Removed.
21227 * FAQ.in: Likewise.
21228 * scripts/gen-FAQ.pl: Likewise.
21229 * manual/install.texi (Installation): Point to online location of
21230 FAQ.
21231 * Makefile (files-for-dist): Remove FAQ.
21232 (FAQ): Remove.
21233
d4c2917f
AM
212342012-05-02 Allan McRae <allan@archlinux.org>
21235
21236 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
21237 (LDFLAGS-reldepmod5.so): Likewise.
21238 (LDFLAGS-reldep6mod1.so): Likewise.
21239 (LDFLAGS-reldep6mod4.so): Likewise.
21240 (LDFLAGS-reldep8mod3.so): Likewise.
21241 (LDFLAGS-unload4mod1.so): Likewise.
21242 (LDFLAGS-unload4mod2.so): Likewise.
21243 (LDFLAGS-tst-initorder): Likewise.
21244 (LDFLAGS-tst-initordera2.so): Likewise.
21245 (LDFLAGS-tst-initordera3.so): Likewise.
21246 (LDFLAGS-tst-initordera4.so): Likewise.
21247 (LDFLAGS-tst-initorderb2.so): Likewise.
21248 (LDFLAGS-noload): Likewise.
21249 (LDFLAGS-next): Likewise.
21250 (LDFLAGS-order2mod1.so): Likewise.
21251 (LDFLAGS-order2mod2.so): Likewise.
21252 (LDFLAGS-tst-initorder2): Likewise.
21253 (LDFLAGS-tst-initorder2a.so): Likewise.
21254 (LDFLAGS-tst-initorder2b.so): Likewise.
21255 (LDFLAGS-tst-initorder2c.so): Likewise.
21256 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
21257
d77f993f
DM
212582012-05-02 David S. Miller <davem@davemloft.net>
21259
21260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21261
171a70b4
PP
212622012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
21263
21264 [BZ #14055]
21265 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
21266
0be196ad
AJ
212672012-05-02 Andreas Jaeger <aj@suse.de>
21268
21269 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
21270 since we manipulate rounding mode.
21271 (CPPFLAGS-test-idouble.c): Likewise.
21272 (CPPFLAGS-test-ifloat.c): Likewise.
21273 (CFLAGS-test-ldouble.c): Likewise.
21274 (CFLAGS-test-double.c): Likewise.
21275 (CFLAGS-test-float.c): Likewise.
21276 (CFLAGS-test-misc.c): Likewise.
21277 (CFLAGS-test-test-fenv.c): Likewise.
21278
4f9d04aa
AZ
212792012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21280
2b942cb7
RM
21281 [BZ #2550]
21282 [BZ #2570]
21283 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
21284 comparisons to determine direction to adjust input.
4f9d04aa 21285
82a79e7d
RM
212862012-05-01 Roland McGrath <roland@hack.frob.com>
21287
f5a01ca9
RM
21288 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
21289 output to the target.
21290
90fe4186
RM
21291 * scripts/localplt.awk: New file.
21292 * elf/Makefile ($(objpfx)check-localplt): Target removed.
21293 (check-localplt-CFLAGS): Variable removed.
21294 ($(all-built-dso:=.jmprel)): New static pattern rule.
21295 (generated): Add those targets.
21296 (localplt-built-dso): New variable.
21297 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
21298
21299 * elf/check-localplt.c: File removed.
21300
82397ed6
RM
21301 * scripts/check-execstack.awk: New file.
21302 * elf/Makefile ($(objpfx)check-execstack): Target removed.
21303 (check-execstack-CFLAGS): Variable removed.
21304 ($(objpfx)check-execstack.h): Target removed.
21305 ($(objpfx)execstack-default): New target.
21306 (generated): Add that instead of check-execstack.h.
21307 ($(all-built-dso:=.phdr)): New static pattern rule.
21308 (generated): Add those targets.
21309 * elf/check-execstack.c: File removed.
21310
82a79e7d
RM
21311 * scripts/check-textrel.awk: New file.
21312 * elf/Makefile ($(objpfx)check-textrel): Target removed.
21313 (check-textrel-CFLAGS): Variable removed.
21314 (all-built-dso): Use := to define.o
21315 ($(all-built-dso:=.dyn)): New static pattern rule.
21316 (generated): Add those targets.
21317 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
21318 * config.make.in (READELF): New substituted variable.
21319 * elf/check-textrel.c: File removed.
21320
62fde54f 213212012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 21322
615605c9
JM
21323 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21324 allow.
21325 * conform/data/ctype.h-data [C99-based standards] (isblank):
21326 Expect function.
21327 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
21328 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
21329 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21330 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
21331 Specify type. Require positive value.
21332 (EILSEQ): Likewise.
21333 (ERANGE): Likewise.
21334 [ISO || POSIX] (EILSEQ): Do not expect.
21335 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
21336 Specify type. Require positive value.
21337 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
21338 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
21339 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
21340 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
21341 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
21342 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
21343 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
21344 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
21345 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
21346 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
21347 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
21348 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
21349 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
21350 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
21351 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
21352 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
21353 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
21354 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
21355 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
21356 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
21357 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
21358 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
21359 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
21360 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
21361 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
21362 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
21363 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
21364 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
21365 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
21366 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
21367 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
21368 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
21369 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
21370 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
21371 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
21372 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
21373 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
21374 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
21375 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
21376 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
21377 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
21378 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
21379 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
21380 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
21381 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
21382 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
21383 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
21384 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
21385 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
21386 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
21387 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
21388 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
21389 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
21390 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
21391 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
21392 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
21393 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
21394 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
21395 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
21396 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
21397 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
21398 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
21399 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
21400 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
21401 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
21402 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
21403 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
21404 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
21405 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
21406 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
21407 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
21408 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
21409 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
21410 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
21411 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
21412 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
21413 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
21414 Require >= 2.
21415 (FLT_ROUNDS): Expect as macro, not constant.
21416 (FLT_MANT_DIG): Use macro-int-constant.
21417 (DBL_MANT_DIG): Likewise.
21418 (LDBL_MANT_DIG): Likewise.
21419 (FLT_DIG): Likewise.
21420 (DBL_DIG): Likewise.
21421 (LDBL_DIG): Likewise.
21422 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
21423 (DBL_MIN_EXP): Likewise.
21424 (LDBL_MIN_EXP): Likewise.
21425 (FLT_MAX_EXP): Use macro-int-constant.
21426 (DBL_MAX_EXP): Likewise.
21427 (LDBL_MAX_EXP): Likewise.
21428 (FLT_MAX_10_EXP): Likewise.
21429 (DBL_MAX_10_EXP): Likewise.
21430 (LDBL_MAX_10_EXP): Likewise.
21431 (FLT_MAX): Use macro-constant.
21432 (DBL_MAX): Likewise.
21433 (LDBL_MAX): Likewise.
21434 (FLT_EPSILON): Use macro-constant. Give upper bound.
21435 (DBL_EPSILON): Likewise.
21436 (LDBL_EPSILON): Likewise.
21437 (FLT_MIN): Likewise.
21438 (DBL_MIN): Likewise.
21439 (LDBL_MIN): Likewise.
21440 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
21441 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
21442 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
21443 [ISO11] (FLT_HAS_SUBNORM): Likewise.
21444 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
21445 [ISO11] (DBL_DECIMAL_DIG): Likewise.
21446 [ISO11] (FLT_DECIMAL_DIG): Likewise.
21447 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
21448 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
21449 [ISO11] (FLT_TRUE_MIN): Likewise.
21450 [ISO11] (LDBL_TRUE_MIN): Likewise.
21451 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21452 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
21453 (SCHAR_MIN): Use macro-int-constant. Specify type.
21454 (SCHAR_MAX): Likewise.
21455 (UCHAR_MAX): Likewise.
21456 (CHAR_MIN): Likewise.
21457 (CHAR_MAX): Likewise.
21458 (MB_LEN_MAX): Use macro-int-constant.
21459 (SHRT_MIN): Use macro-int-constant. Specify type.
21460 (SHRT_MAX): Likewise.
21461 (USHRT_MAX): Likewise.
21462 (INT_MAX): Likewise.
21463 (INT_MIN): Use macro-int-constant. Specify type. Make upper
21464 bound negative.
21465 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
21466 bound with "U".
21467 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21468 bound with "L".
21469 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
21470 bound negative. Suffix upper bound with "L".
21471 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21472 bound with "UL".
21473 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
21474 Specify type.
21475 [C99-based standards] (LLONG_MAX): Likewise.
21476 [C99-based standards] (ULLONG_MAX): Likewise.
21477 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
21478 == 0.
21479 [ISO11] (max_align_t): Require type.
21480 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21481
c9140a62
JM
21482 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
21483 from $CFLAGS, without defining away __attribute__ calls.
21484 (checknamespace): Use $CFLAGS_namespace.
21485
9af0bf29
JM
21486 * conform/conformtest.pl (@keywords): Only include C99 keywords
21487 for standards based on C99 or C11.
21488
343222a2
JM
21489 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
21490 Disable tests.
21491 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
21492 UNIX98]: Likewise.
21493
661f8cf0
JM
21494 * conform/conformtest.pl: Handle "macro-int-constant" and test for
21495 usability of symbols in #if.
21496
ee74b9cb
JM
21497 * conform/conformtest.pl: If macro or constant types start
21498 "promoted:", expect the symbol to be of the following type
21499 promoted by the integer promotions.
62fde54f 21500
aafc49b3
JM
21501 * conform/conformtest.pl: Parse all "constant" and "macro" lines
21502 in one place. Also handle "macro-constant".
21503
fefdf574
JM
21504 * conform/conformtest.pl: Only accept expected macro values with
21505 "==". Parse all "macro" lines in one place.
21506 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
21507
f2d922fe
JM
21508 * conform/conformtest.pl: Handle braced types on "constant" lines
21509 instead of handling "typed-constant".
21510 * conform/data/signal.h-data: Use "constant" instead of
21511 "typed-constant".
21512
d22956c9
JM
21513 * conform/conformtest.pl: Handle "optional-" at start of lines in
21514 one place rather than duplicating several cases. Handle each
21515 format of "macro" line with initial "optional-".
21516
028e2e38
JM
21517 * conform/conformtest.pl: Only accept expected constant or
21518 optional-constant values with "==". Parse all "constant" lines in
21519 one place. Parse all "optional-constant" lines in one place.
21520 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
21521 * conform/data/fmtmsg.h-data: Likewise.
21522 * conform/data/netinet/in.h-data: Likewise.
21523 * conform/data/tar.h-data: Likewise.
21524 * conform/data/limits.h-data: Use "==" form on "constant" and
21525 "optional-constant" lines.
21526
1b8f2850
JM
21527 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
21528 Use -std=c99 for XOPEN2K.
21529 (@knownproblems): Remove.
21530 (newtoken): Don't check %isknown.
21531
a05a144b
JM
21532 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
21533 Do not expect macro.
21534 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
21535 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
21536 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
21537 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
21538 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
21539 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
21540 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
21541 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
21542 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
21543 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
21544 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
21545 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
21546 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
21547 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
21548 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
21549 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
21550 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
21551 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
21552 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
21553 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
21554 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
21555 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
21556 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
21557 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
21558 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
21559 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
21560 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
21561 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
21562 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
21563 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
21564 [XPG3] (acosh): Likewise.
21565 [XPG3] (asinh): Likewise.
21566 [XPG3] (atanh): Likewise.
21567 [XPG3] (cbrt): Likewise.
21568 [XPG3] (expm1): Likewise.
21569 [XPG3] (ilogb): Likewise.
21570 [XPG3] (log1p): Likewise.
21571 [XPG3] (logb): Likewise.
21572 [XPG3] (nextafter): Likewise.
21573 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
21574 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
21575 [XPG3] (remainder): Likewise.
21576 [XPG3] (rint): Likewise.
21577 [XPG3 || XPG4 || UNIX98] (round): Likewise.
21578 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
21579 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
21580 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
21581 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
21582 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
21583 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
21584 [UNIX98 || XOPEN2K] (scalb): Expect.
21585 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
21586 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
21587 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
21588 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
21589 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
21590 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
21591 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
21592 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
21593 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
21594 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
21595 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
21596 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
21597 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
21598 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
21599 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
21600 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
21601 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
21602 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
21603 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
21604 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
21605 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
21606 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
21607 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
21608 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
21609 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
21610 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
21611 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
21612 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
21613 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
21614 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
21615 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
21616 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
21617 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
21618 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
21619 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
21620 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
21621 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
21622 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
21623 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
21624 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
21625 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
21626 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
21627 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
21628 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
21629 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
21630 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
21631 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
21632 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
21633 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
21634 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
21635 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
21636 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
21637 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
21638 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
21639 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
21640 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
21641 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
21642 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
21643 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
21644 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
21645 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
21646 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
21647 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
21648 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
21649 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
21650 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
21651 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
21652 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
21653 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
21654 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
21655 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
21656 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
21657 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
21658 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
21659 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
21660 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
21661 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
21662 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
21663 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
21664 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
21665 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
21666 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
21667 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
21668 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
21669 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
21670 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
21671 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
21672 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
21673 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
21674 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
21675 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
21676 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
21677 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
21678 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
21679 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
21680 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
21681 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
21682 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
21683 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
21684 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
21685 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
21686 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
21687 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
21688 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
21689 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
21690 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
21691 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
21692 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
21693 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
21694 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
21695 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
21696 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
21697 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
21698 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
21699 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
21700 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
21701 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
21702 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
21703 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
21704 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
21705 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
21706 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
21707 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
21708 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
21709 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
21710 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
21711 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
21712 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
21713 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
21714 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
21715 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
21716 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
21717 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
21718 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
21719 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
21720 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
21721 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
21722
73c5ebe3
JM
21723 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
21724 _XOPEN_SOURCE_EXTENDED for XPG4.
21725
39c33b6c
JM
21726 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
21727
62fde54f
JM
21728 * Makeconfig (localtime): Remove variable.
21729 (inst_localtime-file): Likewise.
21730
0741d64c
AS
217312012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21732
21733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
21734 Update.
21735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21736 Update.
21737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
21738 Update.
21739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21740 Update.
21741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
21742 Update.
21743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
21744 Update.
21745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21746 Update.
21747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
21748 Update.
21749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21750 Update.
21751
7cb029ee
JM
217522012-05-01 Joseph Myers <joseph@codesourcery.com>
21753
21754 [BZ #2550]
21755 [BZ #2570]
21756 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
21757 comparisons to determine direction to adjust input.
21758 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21759 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
21760 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
21761 Likewise.
21762 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
21763 Likewise.
21764 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21765 Likewise.
21766 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21767 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21768 Likewise.
21769 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21770 Likewise.
21771 * math/libm-test.inc (nexttoward_test): Add more tests.
21772
412bd966
AS
217732012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21774
21775 [BZ #14040]
21776 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
21777 in version GLIBC_2.1, not GLIBC_2.0.
21778 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
21779 Likewise.
21780
9568c0c2
JM
217812012-04-30 Joseph Myers <joseph@codesourcery.com>
21782
adfbc8ac
JM
21783 [BZ #13942]
21784 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
21785 (1 - x) * (1 + x).
21786 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21787 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
21788 * math/libm-test.inc (acos_test): Add more tests.
21789 (asin_test): Likewise.
21790 * sysdeps/i386/fpu/libm-test-ulps: Update.
21791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21792
5ba3cc69
JM
21793 [BZ #14034]
21794 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
21795 of square root.
21796 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
21797 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21798 * math/libm-test.inc (acos_test_tonearest): New function.
21799 (acos_test_towardzero): Likewise.
21800 (acos_test_downward): Likewise.
21801 (acos_test_upward): Likewise.
21802 (asin_test_tonearest): Likewise.
21803 (asin_test_towardzero): Likewise.
21804 (asin_test_downward): Likewise.
21805 (asin_test_upward): Likewise.
21806 (main): Call the new functions.
21807 * sysdeps/i386/fpu/libm-test-ulps: Update.
21808 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21809
9568c0c2
JM
21810 [BZ #13884]
21811 [BZ #13924]
21812 * math/e_exp10.c: Include <float.h>.
21813 (__ieee754_exp10): Handle underflow here rather than multiplying
21814 large negative argument by M_LN10.
21815 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
21816 of __ieee754_expf.
21817 * math/e_exp10l.c: Include <float.h>.
21818 (__ieee754_exp10l): Handle underflow here rather than multiplying
21819 large negative argument by M_LN10l.
21820 * math/libm-test.inc (exp10_test): Add another test. Do not allow
21821 spurious overflow exception on underflow.
21822
5ac3ea17
MP
218232012-04-29 Marek Polacek <polacek@redhat.com>
21824
21825 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
21826 (__fortify_function): New macro.
21827 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
21828 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
21829 __extern_always_inline.
21830 * libio/bits/stdio2.h: Likewise.
21831 * libio/bits/stdio.h: Likewise.
21832 * string/string.h: Likewise.
21833 * string/bits/string3.h: Likewise.
21834 * include/stdio.h: Likewise.
21835 * stdlib/bits/stdlib.h: Likewise.
21836 * stdlib/stdlib.h: Likewise.
21837 * rt/bits/mqueue2.h: Likewise.
21838 * rt/mqueue.h: Likewise.
21839 * posix/bits/unistd.h: Likewise.
21840 * posix/unistd.h: Likewise.
21841 * io/bits/poll2.h: Likewise.
21842 * io/bits/fcntl2.h: Likewise.
21843 * io/fcntl.h: Likewise.
21844 * io/sys/poll.h: Likewise.
21845 * misc/bits/syslog.h: Likewise.
21846 * misc/bits/syslog-ldbl.h: Likewise.
21847 * misc/sys/syslog.h: Likewise.
21848 * socket/bits/socket2.h: Likewise.
21849 * socket/sys/socket.h: Likewise.
21850 * debug/tst-chk1.c: Likewise.
21851 * wcsmbs/bits/wchar2.h: Likewise.
21852 * wcsmbs/bits/wchar-ldbl.h: Likewise.
21853 * wcsmbs/wchar.h: Likewise.
21854
ecf0ebfb
AJ
218552012-04-29 Andreas Jaeger <aj@suse.de>
21856
21857 * Makerules (tests): Remove enable-check-abi protection.
21858 (check-abi-warn): Remove.
21859 (check-abi-%): Remove check-abi-warn usage.
21860
21861 * configure.in: Remove check-abi configure option.
21862 * configure: Regenerated.
21863 * config.make.in (enable-check-abi): Remove.
21864
6d5c57fa
AS
218652012-04-28 Andreas Schwab <schwab@linux-m68k.org>
21866
24c5d07e 21867 [BZ #14033]
ded5180a
AS
21868 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
21869 double functions to double *_finite functions.
21870
7e0d315d
AS
21871 [BZ #13941]
21872 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
21873 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
21874 LDBL_MIN_EXP.
21875 * stdio-common/Makefile (tests): Add tst-sprintf3.
21876 * stdio-common/tst-sprintf3.c: New file.
21877
6d5c57fa
AS
21878 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
21879 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
21880
0749ff8b
JM
218812012-04-28 Joseph Myers <joseph@codesourcery.com>
21882
21883 * conform/conformtest.pl: Remove duplicate typed-constant
21884 handling.
21885
8dbd5d7b
DM
218862012-04-28 David S. Miller <davem@davemloft.net>
21887
21888 * Makerules (%.abilist): Add vpath on sysdep_dirs.
21889 (check-abi-%): Remove AWK script prerequisite and explicit
21890 abilist directory.
21891 (check-abi): Rewrite to just diff the symlist with the abilist.
21892 (config-tls, config-abi-config): Delete, no longer used.
21893 (update-abi-%): Remove AWK script and explicit abilist directory.
21894 (update-abi): Rewrite to simply compare and conditionally copy the
21895 symlist and the sysdep abilist file. Remove update-abi-config
21896 checks.
21897 * abilist/ld.abilist: Remove.
21898 * abilist/libBrokenLocale.abilist: Remove.
21899 * abilist/libanl.abilist: Remove.
21900 * abilist/libcrypt.abilist: Remove.
21901 * abilist/libdl.abilist: Remove.
21902 * abilist/librt.abilist: Remove.
21903 * abilist/libthread_db.abilist: Remove.
21904 * abilist/libutil.abilist: Remove.
21905 * scripts/extract-abilist.awk: Remove.
21906 * scripts/merge-abilist.awk: Remove.
21907 * sysdeps/generic/libcidn.abilist: New file.
21908 * sysdeps/generic/libnss_compat.abilist: New file.
21909 * sysdeps/generic/libnss_db.abilist: New file.
21910 * sysdeps/generic/libnss_dns.abilist: New file.
21911 * sysdeps/generic/libnss_files.abilist: New file.
21912 * sysdeps/generic/libnss_hesiod.abilist: New file.
21913 * sysdeps/generic/libnss_nis.abilist: New file.
21914 * sysdeps/generic/libnss_nisplus.abilist: New file.
21915 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
21916 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
21917 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
21918 file.
21919 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
21920 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
21921 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
21922 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
21923 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
21924 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
21925 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
21926 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
21927 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
21928 file.
21929 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
21930 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
21931 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
21932 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
21933 file.
21934 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
21935 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
21936 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
21937 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
21938 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
21939 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
21940 file.
21941 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
21942 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
21943 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
21944 file.
21945 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
21946 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
21947 New file.
21948 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
21949 New file.
21950 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
21951 New file.
21952 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
21953 New file.
21954 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
21955 New file.
21956 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
21957 New file.
21958 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
21959 New file.
21960 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
21961 New file.
21962 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
21963 New file.
21964 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
21965 New file.
21966 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
21967 New file.
21968 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
21969 New file.
21970 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
21971 New file.
21972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
21973 file.
21974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21975 New file.
21976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21977 New file.
21978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
21979 file.
21980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21981 New file.
21982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21983 New file.
21984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
21985 file.
21986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21987 New file.
21988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21989 New file.
21990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21991 New file.
21992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21993 New file.
21994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21995 New file.
21996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21997 New file.
21998 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
21999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
22000 file.
22001 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22002 New file.
22003 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
22004 file.
22005 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
22006 file.
22007 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
22008 file.
22009 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
22010 file.
22011 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
22012 file.
22013 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22014 New file.
22015 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
22016 file.
22017 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
22018 file.
22019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22020 New file.
22021 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
22022 file.
22023 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
22024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
22025 file.
22026 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22027 New file.
22028 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
22029 file.
22030 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
22031 file.
22032 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
22033 file.
22034 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
22035 file.
22036 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
22037 file.
22038 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22039 New file.
22040 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
22041 file.
22042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
22043 file.
22044 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22045 New file.
22046 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
22047 file.
22048 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22049 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
22050 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
22051 file.
22052 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
22053 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
22054 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
22055 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
22056 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
22057 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
22058 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
22059 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
22060 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
22061 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
22062 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
22063 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
22064 file.
22065 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
22066 New file.
22067 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
22068 file.
22069 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
22070 file.
22071 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
22072 file.
22073 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
22074 file.
22075 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
22076 file.
22077 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22078 New file.
22079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
22080 New file.
22081 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
22082 file.
22083 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
22084 New file.
22085 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
22086 file.
22087 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
22088 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
22089 file.
22090 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
22091 New file.
22092 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
22093 file.
22094 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
22095 file.
22096 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
22097 file.
22098 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
22099 file.
22100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
22101 file.
22102 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22103 New file.
22104 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22105 New file.
22106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
22107 file.
22108 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22109 New file.
22110 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
22111 file.
22112
41d73a1b
JM
221132012-04-28 Joseph Myers <joseph@codesourcery.com>
22114
22115 * conform/conformtest.pl: Fix typo in handling typed-constant from
22116 allow-header.
22117
28aeeda4
JM
221182012-04-27 Joseph Myers <joseph@codesourcery.com>
22119
adae8f5e
JM
22120 * README: Cut down references to pre-2.6 Linux kernels and
22121 Linuxthreads. Update lists of configurations in libc and ports
22122 and sort alphabetically. Say "or newer" with Linux kernel version
22123 requirements.
22124
28aeeda4
JM
22125 * config.h.in [IS_IN_build]: Allow compiling without optimization.
22126
a462cb63
RA
221272012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22128
22129 [BZ #887]
22130 * math/libm-test.inc (logb_test_downward): New test to expose
22131 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
22132 rounding mode.
22133
6ad3493e
JM
221342012-04-27 Joseph Myers <joseph@codesourcery.com>
22135
22136 [BZ #14027]
22137 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
22138 to be done.
22139 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
22140 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
22141
2ce4f015
JM
221422012-04-26 Joseph Myers <joseph@codesourcery.com>
22143
5aeb141a
JM
22144 * sysdeps/unix/i386/brk.S: Remove file.
22145 * sysdeps/unix/i386/dl-brk.S: Likewise.
22146 * sysdeps/unix/i386/pipe.S: Likewise.
22147 * sysdeps/unix/i386/sigreturn.S: Likewise.
22148 * sysdeps/unix/i386/syscall.S: Likewise.
22149 * sysdeps/unix/i386/vfork.S: Likewise.
22150 * sysdeps/unix/i386/wait.S: Likewise.
22151
7143acae
JM
22152 * sysdeps/unix/common/tcsendbrk.c: Move to ...
22153 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
22154
2ce4f015
JM
22155 * configure.in (arm*-none*): Do not allow without
22156 --enable-hacker-mode.
22157 (netbsd*): Remove case setting base_os.
22158 (386bsd*): Likewise.
22159 (freebsd*): Likewise.
22160 (bsdi*): Likewise.
22161 (osf*): Likewise.
22162 (sunos*): Likewise.
22163 (ultrix*): Likewise.
22164 (newsos*): Likewise.
22165 (dynix*): Likewise.
22166 (*bsd*): Likewise.
22167 (sysv*): Likewise.
22168 (isc*): Likewise.
22169 (esix*): Likewise.
22170 (sco*): Likewise.
22171 (minix*): Likewise.
22172 (irix4*): Likewise.
22173 (irix6*): Likewise.
22174 (solaris[2-9]*): Likewise.
22175 (none): Likewise.
22176 * configure: Regenerated.
22177
0ac229c8
AZ
221782012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22179
22180 [BZ #11521]
22181 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
22182 overflow or cancellation in calculating denominator.
22183 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
22184 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
22185 down expression to avoid unexpected rounding in newer GCCs.
22186 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
22187
33f244f4
DM
221882012-04-26 David S. Miller <davem@davemloft.net>
22189
22190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
22191 long-double compat symbols.
22192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
22196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
22198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
22199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
22200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
22201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
22203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
22204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22205
cfa1f3e8
DM
222062012-04-25 David S. Miller <davem@davemloft.net>
22207
22208 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
22209 HWCAP_* values only after the memory barriers have been defined.
22210 (atomic_full_barrier): Define.
22211 (atomic_read_barrier): Define.
22212 (atomic_write_barrier): Define.
22213
6e236b92
SP
222142012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22215
22216 * shlib-versions: Add libgcc_s version information.
22217 * sysdeps/generic/libgcc_s.h: Remove.
22218 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
22219 libgcc_s.h.
22220 * sysdeps/gnu/unwind-resume.c: Likewise.
22221 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
22222
aab39a09
DM
222232012-04-25 David S. Miller <davem@davemloft.net>
22224
22225 * sysdeps/unix/sparc/brk.S: Delete.
22226 * sysdeps/unix/sparc/dl-brk.S: Delete.
22227 * sysdeps/unix/sparc/pipe.S: Delete.
22228 * sysdeps/unix/sparc/sysdep.S: Delete.
22229 * sysdeps/unix/sparc/sysdep.h: Delete.
22230 * sysdeps/unix/sparc/vfork.S: Delete.
22231 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
22232 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
22233 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
22234 ret_ERRVAL, r0, r1, MOVE): Define.
22235 (JUMPTARGET): Remove.
22236 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
22237 sysdeps/unix/sparc/sysdep.h
22238 (ENTRY, END): Remove.
22239 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22240
a3cc4f48
JM
222412012-04-25 Joseph Myers <joseph@codesourcery.com>
22242
2ed8cda2
JM
22243 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
22244 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
22245 -DIS_IN_build.
22246
35d76d59
JM
22247 * timezone/README: Update upstream location and email address for
22248 tzcode and tzdata.
22249 * timezone/zdump.c: Update from tzcode 2012b.
22250 * timezone/zic.c: Likewise.
22251
a3cc4f48
JM
22252 * configure.in (libc_cv_as_needed): Remove test.
22253 * configure: Regenerated.
22254 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
22255 conditional definition.
22256 [$(have-as-needed) != yes] (no-as-needed): Likewise.
22257 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
22258 * config.make.in (have-as-needed): Remove variable.
22259
ceab42c3
SP
222602012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22261 Paul Pluzhnikov <ppluzhnikov@google.com>
22262
22263 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
22264 strings correctly.
22265
3ce2865f
CLT
222662012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
22267
22268 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
22269 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
22270 * sysdeps/sh/strlen.S: Likewise.
22271
f37e0d68
JM
222722012-04-24 Joseph Myers <joseph@codesourcery.com>
22273
ae186e9a
JM
22274 * sysdeps/unix/fork.S: Remove file.
22275 * sysdeps/unix/i386/fork.S: Likewise.
22276 * sysdeps/unix/sparc/fork.S: Likewise.
22277
b96914af
JM
22278 * sysdeps/unix/system.c: Remove file.
22279 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
22280
f37e0d68
JM
22281 * sysdeps/unix/getegid.S: Remove file.
22282 * sysdeps/unix/geteuid.S: Likewise.
22283
87ef29ca
RM
222842012-04-24 Roland McGrath <roland@hack.frob.com>
22285
83bcd236
RM
22286 * scripts/check-localplt.awk: New file.
22287 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
22288 of diff.
22289 * scripts/data/localplt-generic.data: Add a comment.
22290
87ef29ca
RM
22291 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
22292 NODE when __dir_mkfile failed.
22293 * sysdeps/mach/hurd/symlinkat.c: Likewise.
22294 Reported by Ludovic Courtès <ludo@gnu.org>.
22295
e5a6e567
AJ
222962012-04-24 Andreas Jaeger <aj@suse.de>
22297
22298 * Makerules (common-clean): Also remove gen-as-const-headers
22299 files.
22300
c1820385
JM
223012012-04-24 Joseph Myers <joseph@codesourcery.com>
22302
22303 * Makerules (native-compile): Do not change working directory for
22304 build. Use $(OUTPUT_OPTION) in command.
22305 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
22306
94e02fc4
AZ
223072012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22308
22309 [BZ #13886]
22310 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
22311 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
22312 * math/libm-test.inc (floor_test): Add more tests.
22313 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
22314
3a533ca3
JM
223152012-04-24 Joseph Myers <joseph@codesourcery.com>
22316
940ab4b3
JM
22317 * sysdeps/unix/getdents.c: Remove file.
22318 * sysdeps/unix/sysv/getdents.c: Likewise.
22319 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
22320
90e037bd
JM
22321 * sysdeps/unix/syscalls.list (madvise): Add syscall from
22322 sysdeps/unix/mman/syscalls.list.
22323 (mmap): Likewise.
22324 (mprotect): Likewise.
22325 (msync): Likewise.
22326 (munmap): Likewise.
22327 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
22328 * sysdeps/unix/mman/syscalls.list: Remove.
22329 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
22330
3a533ca3
JM
22331 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
22332 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
22333 * configure: Regenerated.
22334 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
22335 $(libgcc_s_suffix).
22336 * config.make.in (libgcc_s_suffix): Remove variable.
22337
1ad743de
JM
223382012-04-23 Joseph Myers <joseph@codesourcery.com>
22339
4ad451e2
JM
22340 * sysdeps/unix/sysv/gethostname.c: Move to ...
22341 * sysdeps/posix/gethostname.c: ... here.
22342
5e37ce39
JM
22343 * sysdeps/unix/execve.S: Remove file.
22344
1ad743de
JM
22345 * sysdeps/unix/_exit.S: Remove file.
22346
4e681b5b
AJ
223472012-04-23 Andreas Jaeger <aj@suse.de>
22348
22349 [BZ #13739]
22350 * manual/Makefile: Remove make dist support, there's no
22351 need for a stand-alone documentation tar ball.
22352 (TEXI2DVI): Define always, it's not in Makeconfig.
22353 (dist): Removed.
22354 (tar-it): Removed.
22355 (edition): Removed.
22356 (glibc-doc-$(edition).tar): Removed
22357 (%.Z): Removed.
22358 (%.gz): Removed.
22359 (%.uu): Removed.
22360 (ETAGS): Remove, it's in Makeconfig.
22361 (move-if-change): Remove, it's in Makeconfig.
22362
38686a03 223632012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
22364
22365 [BZ #13970]
22366 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
22367 (strtod, strtof, strtold, strtol, strtoul, strtoq)
22368 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
22369 (strtod_l, strtof_l, strtold_l): Remove __wur.
22370 It is not necessarily an error to ignore strtol's return value.
22371 One can reliably look at the stored endptr to decide whether
22372 the number had valid syntax.
22373
7c0616fa
AJ
223742012-04-21 Andreas Jaeger <aj@suse.de>
22375
803cb6b7 22376 [BZ #13739]
7c0616fa
AJ
22377 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
22378
b0fe253f
JM
223792012-04-21 Joseph Myers <joseph@codesourcery.com>
22380
22381 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
22382 * sysdeps/unix/sysv/Versions: Remove file.
22383
8280f22d
MT
223842012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
22385
22386 [BZ #13927]
22387 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22388
75ce411f 223892012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
22390
22391 [BZ #7064]
22392 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
22393 version from __vm86.
22394
097d59fa
JM
223952012-04-20 Joseph Myers <joseph@codesourcery.com>
22396
a90f3bcb
JM
22397 * sysdeps/unix/common/lxstat.c: Remove file.
22398 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
22399
edc7ea78
JM
22400 * sysdeps/unix/sysv/Makefile: Remove file.
22401
cb78c221
JM
22402 * sysdeps/unix/sysv/direct.h: Remove file.
22403
efa6a45f
JM
22404 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
22405 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
22406 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
22407 * sysdeps/unix/sysv/bits/signum.h: Likewise.
22408 * sysdeps/unix/sysv/bits/stat.h: Likewise.
22409 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
22410 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
22411
9c9f2d0c
JM
22412 * sysdeps/unix/sysv/setrlimit.c: Remove file.
22413
4541c83b
JM
22414 * sysdeps/unix/xmknod.c: Remove file.
22415 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
22416
f5d153a0
JM
22417 * sysdeps/unix/sysv/settimeofday.c: Remove file.
22418
aa746595
JM
22419 * sysdeps/unix/sysv/i386/time.S: Remove file.
22420
cce5905e
JM
22421 * sysdeps/unix/fxstat.c: Remove file.
22422 * sysdeps/unix/xstat.c: Likewise.
22423 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
22424
37fa3841
JM
22425 * sysdeps/unix/sysv/sigaction.c: Remove file.
22426
ff1962a3
JM
22427 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
22428 (sysdep_headers): Remove variable.
22429 [termio.h not in sysdep_headers] (generated): Likewise.
22430 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
22431 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
22432 * sysdeps/unix/sysv/tcdrain.c: Likewise.
22433 * sysdeps/unix/sysv/tcflow.c: Likewise.
22434 * sysdeps/unix/sysv/tcflush.c: Likewise.
22435 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
22436 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
22437 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
22438 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
22439 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
22440
e7740d31
JM
22441 * sysdeps/unix/siglist.c: Remove file.
22442
ee06f18b
JM
22443 * sysdeps/unix/getppid.S: Remove file.
22444
097d59fa
JM
22445 * sysdeps/unix/mkdir.c: Remove file.
22446 * sysdeps/unix/rmdir.c: Likewise.
22447
ff3d51ec
AS
224482012-04-19 Andreas Schwab <schwab@linux-m68k.org>
22449
22450 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
22451 ERR_MAX value.
22452 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
22453 errlist-compat value.
22454
50f81fd7
DM
224552012-04-18 David S. Miller <davem@davemloft.net>
22456
22457 * sysdeps/generic/memcopy.h (reg_char): Delete.
22458 * debug/strcat_chk.c: Use char, not reg_char.
22459 * debug/strcpy_chk.c: Likewise.
22460 * debug/strncat_chk.c: Likewise.
22461 * debug/strncpy_chk.c: Likewise.
22462 * string/memchr.c: Likewise.
22463 * string/memrchr.c: Likewise.
22464 * string/rawmemchr.c: Likewise.
22465 * string/strcat.c: Likewise.
22466 * string/strchr.c: Likewise.
22467 * string/strchrnul.c: Likewise.
22468 * string/strcmp.c: Likewise.
22469 * string/strcpy.c: Likewise.
22470 * string/strncat.c: Likewise.
22471 * string/strncmp.c: Likewise.
22472 * string/strncpy.c: Likewise.
22473
8ff41c46
WS
224742012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22475
22476 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
22477 __builtin_memcopy is called when src and dest ranges are known to not
22478 overlap.
22479
6b652f46
WS
224802012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22481
22482 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
22483 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
22484 fwd_align_merge macro call.
22485 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
22486 bwd_align_merge macro call.
22487 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22488
b282631e
WS
224892012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22490
22491 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
22492 bwd_align_merge macros.
22493 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
22494 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
22495 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22496
95aa737c
DM
224972012-04-18 David S. Miller <davem@davemloft.net>
22498
22499 * sysdeps/sparc/sparc64/memcopy.h: Delete.
22500
7a99a614
AJ
225012012-04-18 Andreas Jaeger <aj@suse.de>
22502
22503 [BZ# 6794]
22504 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
22505 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
22506 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22507
22508 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
22509 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
22510 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22511
22512 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
22513 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
22514 Adjust for changed ldbl-128 files.
22515
22516 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
22517 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
22518 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22519
e5270c23
DM
225202012-04-17 David S. Miller <davem@davemloft.net>
22521
22522 * sysdeps/sparc/sparc32/memcopy.h: Delete.
22523
fb5e92c9
AS
225242012-04-17 Andreas Schwab <schwab@linux-m68k.org>
22525
22526 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
22527 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
22528 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
22529 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
22530 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22531 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
22532
76da7265
AZ
225332012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22534
22535 [BZ #6794]
22536 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
22537 * math/libm-test.inc: Add ilogb errno and exception tests.
22538 * math/w_ilogb.c: New file: ilogb wrapper.
22539 * math/w_ilogbf.c: New file: ilogbf wrapper.
22540 * math/w_ilogbl.c: New file: ilogbl wrapper.
22541 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
22542 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
22543 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
22544 exception being thrown with 0.0 as argument.
22545 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
22546 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
22547 exception being thrown with 0.0 as argument.
22548 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
22549 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22550 exception being thrown with 0.0 as argument.
22551 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
22552 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22553 exception being thrown with 0.0 as argument.
22554 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
22555 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 22556 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
22557 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
22558 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
22559 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
22560 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
22561 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
22562 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
22563
0396e69d
PB
225642012-04-17 Petr Baudis <pasky@ucw.cz>
22565
22566 * include/sys/uio.h: Change __vector to __iovec to avoid clash
22567 with altivec.
22568
750b5926
MP
225692012-04-16 Marek Polacek <polacek@redhat.com>
22570
22571 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
22572
751728a1
MP
225732012-04-16 Marek Polacek <polacek@redhat.com>
22574
22575 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
22576 operands of fdivp instruction.
22577
34a27407
L
225782012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22579
22580 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
22581 * elf/tst-auditmod3b.c: Likewise.
22582 * elf/tst-auditmod4b.c: Likewise.
22583 * elf/tst-auditmod5b.c: Likewise.
22584 * elf/tst-auditmod6b.c: Likewise.
22585 * elf/tst-auditmod6c.c: Likewise.
22586 * elf/tst-auditmod7b.c: Likewise.
22587 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
22588 * sysdeps/x86_64/preconfigure.in: Likewise.
22589 * sysdeps/x86_64/preconfigure: Regenerated.
22590
7e73e17d
L
225912012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22592
22593 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
22594 __ILP32__.
22595
c7a6ab72
AB
225962012-04-13 Antoine Balestrat <merkil33@gmail.com>
22597
22598 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22599 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
22600
a9e8e0e0
CL
226012012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
22602
22603 [BZ #13973]
22604 * locale/iso-639.def: Fix gl language name. Spotted by
22605 Yaron Shahrabani.
22606
ec98af7d
RM
226072012-04-12 Roland McGrath <roland@hack.frob.com>
22608
22609 [BZ #2074]
22610 * libio/libio.h (__io_write_fn): Update comment.
22611
247c3ede
PB
226122012-04-12 Petr Baudis <pasky@ucw.cz>
22613
22614 [BZ #2074]
22615 * stdio.texi (Hook Functions): The user provided writer function
22616 is not allowed to return -1.
22617
55939d6d
DM
226182012-04-11 David S. Miller <davem@davemloft.net>
22619
22620 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22621
90020f5a
MF
226222012-04-11 Mike Frysinger <vapier@gentoo.org>
22623
22624 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
22625 Add a leading slash to rtkaio.
22626
288f9098
JM
226272012-04-11 Jim Meyering <meyering@redhat.com>
22628
90020f5a
MF
22629 [BZ #11959]
22630 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
22631 It is not necessarily an error to ignore fwrite's return
22632 value. One can reliably use ferror to test for errors after
22633 the fact.
288f9098 22634
4be2b570
L
226352012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22636
22637 * bits/types.h (__snseconds_t): New type.
22638 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
22639
22640 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
22641 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22642 (__SNSECONDS_T_TYPE): Likewise.
22643 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22644 (__SNSECONDS_T_TYPE): Likewise.
22645 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22646 (__SNSECONDS_T_TYPE): Likewise.
22647
288f9098 226482012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
22649
22650 [BZ #2636]
22651 * manual/time.texi (Processor Time): Return type of times is
22652 elapsed real time since an arbitrary point in the past.
22653 (CPU Time): Move CLK_TCK from here...
22654 (Processor Time): ...to here. Correct description.
22655 * manual/conf.texi (Constants for Sysconf): Correct description of
22656 _SC_CLK_TCK.
22657
d7dd4413
DM
226582012-04-10 David S. Miller <davem@davemloft.net>
22659
22660 [BZ #13967]
22661 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
22662 where the is a gap between DT_REL(A) and DT_JMPREL.
22663
b46068fc
L
226642012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22665
22666 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
22667 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22668 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22669
73d65cc3
SP
226702012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22671
22672 * elf/dl-support.c (_dl_inhibit_cache): New variable.
22673 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
22674 (dl_main): Handle --inhibit-cache.
22675 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
22676 _dl_inhibit_cache.
22677 * elf/dl-load.c (_dl_map_object): Use it.
22678 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
22679
bcc8d661
JM
226802012-04-09 Joseph Myers <joseph@codesourcery.com>
22681
8f9a2fae
JM
22682 [BZ #13872]
22683 * sysdeps/i386/fpu/e_powl.S (p78): New object.
22684 (__ieee754_powl): Saturate large exponents rather than testing for
22685 overflow of y*log2(x).
22686 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22687 * math/libm-test.inc (pow_test): Do not permit spurious overflow
22688 exceptions.
22689
bcc8d661
JM
22690 [BZ #11521]
22691 * math/s_ctan.c: Include <float.h>.
22692 (__ctan): Avoid internal overflow or cancellation in calculating
22693 denominator.
22694 * math/s_ctanf.c: Likewise.
22695 * math/s_ctanl.c: Likewise.
22696 * math/s_ctanh.c: Likewise.
22697 * math/s_ctanhf.c: Likewise.
22698 * math/s_ctanhl.c: Likewise.
22699 * math/libm-test.inc (ctan_test): Add more tests.
22700 (ctanh_test): Likewise.
22701 * sysdeps/i386/fpu/libm-test-ulps: Update.
22702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22703
823fbbb4
AJ
227042012-04-09 Andreas Jaeger <aj@suse.de>
22705
03879793
AJ
22706 [BZ #6894]
22707 * manual/filesys.texi (Directory Entries): Mention that d_namlen
22708 is an optional BSD extension.
22709
823fbbb4
AJ
22710 [BZ #10254]
22711 * manual/stdio.texi (Opening Streams): Document additional fopen
22712 parameters.
22713
8de131cb
RM
227142012-04-09 Roland McGrath <roland@hack.frob.com>
22715
22716 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
22717 %eax without telling the compiler.
22718
c0ed9d7d
CD
227192012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
22720
22721 [BZ # 13963]
22722 * manual/install.texi: Use sourceware.org.
22723
c483f6b4
JM
227242012-04-09 Joseph Myers <joseph@codesourcery.com>
22725
d7dd9453
JM
22726 [BZ #13873]
22727 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
22728 (__ieee754_pow): Generate overflow and underflow using huge*huge
22729 and tiny*tiny rather than just returning constant infinity or zero
22730 for large exponents.
22731 * math/libm-test.inc (pow_test): Require overflow exceptions for
22732 applicable cases of large exponents.
22733
c483f6b4
JM
22734 [BZ #706]
22735 * sysdeps/i386/fpu/e_pow.S (p10): New object.
22736 (__ieee754_pow): Use iterative multiplication algorithm only for
22737 integer exponents with absolute value below 1024. Check for odd
22738 integer exponents when using algorithm for real exponents.
22739 * math/libm-test.inc (pow_test): Add more tests.
22740 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22741
d2de7579
JM
227422012-04-08 Joseph Myers <joseph@codesourcery.com>
22743
22744 [BZ #13705]
22745 * math/libm-test.inc (exp_test): Do not allow overflow exception
22746 on underflow test.
22747
f77f1232
AJ
227482012-04-08 Aurelien Jarno <aurelien@aurel32.net>
22749
22750 [BZ #13705]
22751 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
22752 instead of __kernel_standard_f.
22753
3884932b
MF
227542012-04-08 Mike Frysinger <vapier@gentoo.org>
22755
22756 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
22757 * sysdeps/x86_64/memset_chk.S: Likewise.
22758
54472e9c
AJ
227592012-04-08 Andreas Jaeger <aj@suse.de>
22760
6ab0fbfc
AJ
22761 [BZ #10153]
22762 * manual/startup.texi (Environment Access): Describe return value
22763 for putenv and setenv.
22764
61efba8c
AJ
22765 [BZ #6895]
22766 * manual/filesys.texi (Directory Entries): Add description for
22767 DT_LNK.
22768
95c3f29a
AJ
22769 [BZ #6890]
22770 * manual/filesys.texi (Directory Entries): Clarify that it's file
22771 system not operating system in the description of DT_UNKNOWN.
22772
54472e9c
AJ
22773 [BZ #6578]
22774 * manual/syslog.texi (closelog): Fix reference, it's openlog.
22775
624254b1
SC
227762012-04-08 Stephen Compall <s11@member.fsf.org>
22777
22778 [BZ #6649]
22779 * manual/llio.texi (Opening and Closing Files): Add cross
22780 reference to explain mode argument.
22781
1e4920e0
MF
227822012-04-07 Mike Frysinger <vapier@gentoo.org>
22783
22784 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
22785 * sysdeps/x86_64/memset_chk.S: Likewise.
22786
5ed848f3
DM
227872012-04-07 David S. Miller <davem@davemloft.net>
22788
22789 * elf/elf.h (R_SPARC_WDISP10): Define.
22790 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
22791 R_SPARC_SIZE32.
22792 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
22793 R_SPARC_SIZE64 and R_SPARC_H34.
22794
96154cd8
CD
227952012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
22796
22797 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
22798 conditions and remove no longer applicable assertion.
22799
9904dc47
L
228002012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22801
22802 * bits/byteswap.h: Include <features.h>.
22803 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22804 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22805
f8887d0a
L
228062012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22807
22808 * bits/byteswap.h (__bswap_16): Removed.
22809 Include <bits/byteswap-16.h> to get __bswap_16.
22810 * sysdeps/i386/bits/byteswap.h: Likewise.
22811 * sysdeps/s390/bits/byteswap.h: Likewise.
22812 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22813 * bits/byteswap-16.h: New file.
22814 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22815 * sysdeps/s390/bits/byteswap-16.h: Likewise.
22816 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
22817 * string/Makefile (headers): Add bits/byteswap-16.h.
22818
62470f60
PP
228192012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22820
22821 [BZ #13895]
22822 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
22823 extra indirection.
22824 * nss/Makefile (tests-static, tests): Add tst-nss-static.
22825 * nss/tst-nss-static.c: New.
22826
4dad7bab
RM
228272012-04-06 Robert Millan <rmh@gnu.org>
22828
22829 [BZ #6486]
22830 * manual/llio.texi (File Position Primitive): lseek
22831 refers to WHENCE when it really means OFFSET.
22832
e9142a17
AJ
228332012-04-06 Andreas Jaeger <aj@suse.de>
22834
2c040eff
AJ
22835 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
22836 strncmp declarations.
22837
e9142a17
AJ
22838 * abilist/libc.abilist: Add __poll and __ppoll.
22839
ff9f1c5f
DM
228402012-04-05 David S. Miller <davem@davemloft.net>
22841
dcd2ae90
DM
22842 * scripts/check-local-headers.sh: Accept a host triplet in the
22843 path matched by the exclude regexp.
22844
993eb054
DM
22845 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
22846 definition.
22847 * sysdeps/powerpc/powerpc32/dl-machine.h
22848 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
22849 * sysdeps/s390/s390-32/dl-machine.h
22850 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22851 * sysdeps/sparc/sparc32/dl-machine.h
22852 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22853 * sysdeps/sparc/sparc64/dl-machine.h
22854 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22855
ff9f1c5f
DM
22856 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22857 lazy binding.
48e2e132 22858 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
22859 undefined symbol errors.
22860
48e2e132 22861 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
22862 DT_NEEDED entries.
22863
e80d6f94
MM
228642012-04-05 Michael Matz <matz@suse.de>
22865
22866 [BZ #13592]
22867 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
22868
349fa79f
AJ
228692012-04-05 Andreas Jaeger <aj@suse.de>
22870
22871 [BZ #13908]
22872 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
22873 comment.
22874
f402708f
KK
228752012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22876
22877 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
22878 which ROUND is no valid rounding mode.
22879
2ecccfc9
KK
228802012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22881
22882 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
22883 read again.
22884 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
22885
8a53f50f
KK
228862012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22887
22888 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
22889 an exception using FPU order intentionally.
22890
228912012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22892
22893 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
22894 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
22895 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
22896 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
22897
d653abb7
SJ
228982012-04-05 Simon Josefsson <simon@josefsson.org>
22899
22900 [BZ #12340]
22901 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
22902 EINVAL when BUFLEN is too smal.
22903
c3b1bf7d
TS
229042012-04-05 Thomas Schwinge <thomas@codesourcery.com>
22905
22906 [BZ #13553]
22907 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
22908 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
22909
b1aa60f3
AJ
229102012-04-03 Andreas Jaeger <aj@suse.de>
22911
c3b1bf7d 22912 [BZ #13938]
67f60a26
AJ
22913 * manual/setjmp.texi (System V contexts): Fix sentence.
22914
b1aa60f3
AJ
22915 [BZ #13926]
22916 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
22917 New macro for this case.
22918 [!__GNUC__] (__bswap_64): New inline function for this case.
22919 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22920 * bits/byteswap.h: Likewise.
22921 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
22922 ull, guard with __GLIBC_HAVE_LONG_LONG.
22923
22924 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
22925 __GLIBC_HAVE_LONG_LONG.
22926
22927 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
22928 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
22929
39c59c35
TMQMF
229302012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22931
22932 [BZ #13691]
22933 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
22934 inptr and inend, rather than using last_ch.
22935
135ffda8
DM
229362012-04-02 David S. Miller <davem@davemloft.net>
22937
22938 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
22939 * stdio-common/printf-parse.h (read_int): Change return type to
22940 'int', return -1 on INT_MAX overflow.
22941 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
22942 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
22943 overflows INT_MAX. Check for overflow of in-format-string precision
22944 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
22945 SIZE_MAX not INT_MAX for integer overflow test.
22946 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
22947 skip the construct in the format string but do not record anything.
22948 * stdio-common/bug22.c: Adjust to test both width/prevision
22949 INT_MAX overflow as well as total length INT_MAX overflow. Check
22950 explicitly for proper errno values.
22951
228c019e
TS
229522012-04-02 Thomas Schwinge <thomas@codesourcery.com>
22953
302cadd3
TS
22954 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
22955 CHAR_MAX.
22956 * string/test-strcmp.c [! WIDE]: Likewise.
22957 * time/tst-mktime2.c: Likewise for INT_MAX.
22958 * string/test-string.h: #include <sys/param.h> for MIN.
22959
228c019e
TS
22960 * csu/init-first.c (__libc_init_first): Call __ctype_init.
22961 * sysdeps/i386/init-first.c (init): Likewise.
22962 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
22963 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
22964 * sysdeps/sh/init-first.c (init): Likewise.
22965
cfa633f5
UD
229662012-04-01 Ulrich Drepper <drepper@gmail.com>
22967
22968 * po/ru.po: Update from translation team.
d1635ef8 22969 * po/vi.po: Likewise.
cfa633f5 22970
6cd0a5ea
SP
229712012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22972
22973 * resolv/nss_dns/dns-host.c: Merge copyright years.
22974
4b43400f
LD
229752012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22976
22977 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22978 Optimize memcpy with prefetch if
22979 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
22980 src, dst pointers have unequal 16 byte alignments.
22981
48c41d04
SP
229822012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22983
22984 [BZ #13928]
22985 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
22986 from a CNAME entry and return the minimum ttl for the query.
22987 (gaih_getanswer_slice): Likewise.
22988
b8dc394d
JL
229892012-03-30 Jeff Law <law@redhat.com>
22990
22991 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
22992 due to long keys.
22993 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22994 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22995
2f5a5ed0
JL
22996 * resolv/nss_dns/dns-host.c: Update copyright year.
22997
1d39e359
UD
229982012-03-30 Ulrich Drepper <drepper@gmail.com>
22999
c030f70c 23000 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 23001 requests to save a system call. Fix check that all bytes are sent.
c030f70c 23002
1d39e359
UD
23003 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
23004 comments for sendmmsg.
23005
230062012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
23007
23008 [BZ #13691]
23009 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
23010 with only 1 character between 0x0041 and 0x01b0.
23011 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
23012 * wcsmbs/tst-mbsnrtowcs.c: New file.
23013
20fde227
DM
230142012-03-29 David S. Miller <davem@davemloft.net>
23015
23016 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
23017 small copies by hand.
23018
984a4237
JL
230192012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23020
23021 [BZ #13761]
23022 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
23023 _nss_compat_initgroups_dyn): Fall back to malloc/free
23024 for large group memberships.
23025
18c9d62b
DM
230262012-03-28 David S. Miller <davem@davemloft.net>
23027
88d85d4f
DM
23028 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
23029 that branches into memcpy.
23030 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23031 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23032 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23033 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23034 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
23035 bits.
23036 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
23037 implementation too.
23038 * sysdeps/sparc/mempcpy.S: New file.
23039
e5aa83e1
DM
23040 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
23041 the IFUNC routine in the libc case.
23042 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23043
88570753
DM
23044 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
23045 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
23046 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
23047 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
23048 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
23049 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
23050 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
23051 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
23052
249d7567
DM
23053 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
23054 loop to 256 bytes instead of 64 bytes and fix test signedness.
23055
18c9d62b
DM
23056 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
23057 * sysdeps/sparc/sparc32/Makefile: rather than here...
23058 * sysdeps/sparc/sparc64/Makefile: and here.
23059
05f3d1f6
UD
230602012-03-28 Ulrich Drepper <drepper@gmail.com>
23061
23062 * malloc/mallocbug.c: Avoid warnings about unused variables.
23063
86ae07a8
JL
230642012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23065
23066 [BZ #13760]
23067 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
23068 in the right place. Discard and retry query if response is
23069 larger than input buffer size.
23070
41bf21a1
JM
230712012-03-28 Joseph Myers <joseph@codesourcery.com>
23072
d6270972
JM
23073 [BZ #369]
23074 [BZ #2678]
23075 [BZ #3866]
23076 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
23077 x for large integer exponent.
23078 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23079 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
23080 sign of result as needed afterwards.
23081 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23082 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
23083 result for underflowing pow the same as for overflow.
23084 (__kernel_standard_l): Handle powl overflow and underflow here
23085 rather than calling __kernel_standard.
23086 * math/libm-test.inc (pow_test): Add more tests.
23087
414fca03 23088 [BZ #3868]
41bf21a1
JM
23089 [BZ #13879]
23090 [BZ #13910]
23091 [BZ #13911]
23092 [BZ #13912]
23093 [BZ #13913]
23094 [BZ #13915]
23095 [BZ #13916]
23096 [BZ #13917]
23097 [BZ #13918]
23098 [BZ #13919]
23099 [BZ #13920]
23100 [BZ #13921]
23101 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
23102 * sysdeps/ieee754/k_standard.c: Include <float.h>.
23103 (__kernel_standard_l): New function.
23104 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
23105 __kernel_standard.
23106 * math/w_acosl.c (__acosl): Likewise.
23107 * math/w_asinl.c (__asinl): Likewise.
23108 * math/w_atan2l.c (__atan2l): Likewise.
23109 * math/w_atanhl.c (__atanhl): Likewise.
23110 * math/w_coshl.c (__coshl): Likewise.
23111 * math/w_exp10l.c (__exp10l): Likewise.
23112 * math/w_exp2l.c (__exp2l): Likewise.
23113 * math/w_fmodl.c (__fmodl): Likewise.
23114 * math/w_hypotl.c (__hypotl): Likewise.
23115 * math/w_j0l.c (__j0l, __y0l): Likewise.
23116 * math/w_j1l.c (__j1l, __y1l): Likewise.
23117 * math/w_jnl.c (__jnl, __ynl): Likewise.
23118 * math/w_lgammal.c (__lgammal): Likewise.
23119 * math/w_log10l.c (__log10l): Likewise.
23120 * math/w_log2l.c (__log2l): Likewise.
23121 * math/w_logl.c (__logl): Likewise.
23122 * math/w_powl.c (__powl): Likewise.
23123 * math/w_remainderl.c (__remainderl): Likewise.
23124 * math/w_scalbl.c (sysv_scalbl): Likewise.
23125 * math/w_sinhl.c (__sinhl): Likewise.
23126 * math/w_sqrtl.c (__sqrtl): Likewise.
23127 * math/w_tgammal.c (__tgammal): Likewise.
23128 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
23129 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
23130 * math/libm-test.inc (acos_test): Add more tests.
23131 (acosh_test): Likewise.
23132 (asin_test): Likewise.
23133 (atanh_test): Likewise.
23134 (exp_test): Likewise.
23135 (exp10_test): Likewise.
23136 (exp2_test): Likewise.
23137 (expm1_test): Likewise.
23138 (lgamma_test): Likewise.
23139 (log_test): Likewise.
23140 (log10_test): Likewise.
23141 (log1p_test): Likewise.
23142 (log2_test): Likewise.
23143 (pow_test): Do not allow some spurious overflow exceptions.
23144 (sqrt_test): Add more tests.
23145 (tgamma_test): Likewise.
23146 (y0_test): Likewise.
23147 (y1_test): Likewise.
23148 (yn_test): Likewise.
23149
dd62fda6
AB
231502012-03-27 Anton Blanchard <anton@samba.org>
23151
23152 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
23153 MAP_HUGETLB.
23154 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23155 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23156 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23157
1e3cdfda
AJ
231582012-03-27 David S. Miller <davem@davemloft.net>
23159
b855ab85
DM
23160 * conform/Makefile: Run run-conformtest.sh using $(BASH).
23161
1e3cdfda
AJ
23162 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
23163 have-as-vis3 check.
23164
231652012-03-27 Andreas Jaeger <aj@suse.de>
23166
23167 * sysdeps/x86_64/elf/configure.in: Moved to ...
23168 * sysdeps/x86_64/configure.in: ... here.
23169 * sysdeps/x86_64/elf/start.S: Moved to ...
23170 * sysdeps/x86_64/start.S: ... here.
23171 * sysdeps/x86_64/elf/configure: Delete.
23172
23173 * sysdeps/x86_64/configure.in: Merge contents from
23174 sysdeps/i386/configure.in (without i686 check).
23175
23176 * sysdeps/i386/elf/Versions: Merge into ...
23177 * sysdeps/i386/Versions: ... this.
23178 * sysdeps/i386/elf/Versions: Delete file.
23179 * sysdeps/i386/elf/start.S: Moved to ...
23180 * sysdeps/i386/start.S: ...here.
23181 * sysdeps/i386/elf/configure.in: Merge into...
23182 * sysdeps/i386/configure.in: ...here.
23183 * sysdeps/i386/elf/configure.in: Delete file.
23184 * sysdeps/i386/elf/configure: Delete file.
23185
23186 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
23187 * debug/backtracesyms.c: ... here.
23188 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
23189 * debug/backtracesymsfd.c: ... here.
23190 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
23191 * sysdeps/generic/ifunc-sel.h: ... here.
23192
23193 * sysdeps/unix/i386/start.c: Delete file.
23194 * sysdeps/unix/sparc/start.c: Delete file.
23195 * sysdeps/unix/start.c: Delete file.
23196
23197 * sysdeps/sh/elf/configure.in: Moved to ...
23198 * sysdeps/sh/configure.in: ... here.
23199 * sysdeps/sh/elf/start.S: Moved to ...
23200 * sysdeps/sh/start.S: ... here.
23201 * sysdeps/sh/elf/configure: Delete file.
23202
23203 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
23204 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
23205 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
23206 * sysdeps/powerpc/powerpc64/entry.h: ... here.
23207 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
23208 * sysdeps/powerpc/powerpc64/start.S: here.
23209 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
23210 * sysdeps/powerpc/powerpc64/Makefile: ... this.
23211 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
23212 * sysdeps/powerpc/powerpc64/configure.in: ... this.
23213 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
23214
23215 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
23216 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
23217 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
23218 * sysdeps/powerpc/powerpc32/start.S: ... here.
23219 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
23220 * sysdeps/powerpc/powerpc32/configure.in: ... this.
23221 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
23222
23223 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
23224 * sysdeps/powerpc/ifunc-sel.h: ... here.
23225 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
23226 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
23227
23228 * sysdeps/sparc/elf/configure.in: Moved to ...
23229 * sysdeps/sparc/configure.in: ... here.
23230 * sysdeps/sparc/elf/configure: Delete file.
23231 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
23232 * sysdeps/sparc/sparc32/start.S: ... here.
23233 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
23234 * sysdeps/sparc/sparc64/start.S: ... here.
23235 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
23236 * sysdeps/sparc/sparc32/Makefile: ... this.
23237 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
23238 * sysdeps/sparc/sparc64/Makefile: ... this.
23239
23240 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
23241 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
23242 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
23243 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
23244 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
23245 * sysdeps/s390/s390-32/setjmp.S: ... here.
23246 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
23247 * sysdeps/s390/s390-32/configure.in: ... here.
23248 * sysdeps/s390/s390-32/elf/configure: Delete file.
23249 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
23250 * sysdeps/s390/s390-32/start.S: ... here.
23251
23252 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
23253 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
23254 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
23255 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
23256 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
23257 * sysdeps/s390/s390-64/setjmp.S: ... here.
23258 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
23259 * sysdeps/s390/s390-64/configure.in: ... here
23260 * sysdeps/s390/s390-64/elf/configure: Delete file.
23261 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
23262 * sysdeps/s390/s390-64/start.S: ... here.
23263 * sysdeps/s390/s390-64/elf/configure: Delete.
23264
23265 * configure.in: Remove support for elf directories in sysdeps.
23266
23267 * configure: Regenerated.
23268 * sysdeps/i386/configure: Regenerated.
23269 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23270 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23271 * sysdeps/s390/s390-32/configure: Regenerated.
23272 * sysdeps/s390/s390-64/configure: Regenerated.
23273 * sysdeps/sh/configure: Regenerated.
23274 * sysdeps/sparc/configure: Regenerated.
23275 * sysdeps/x86_64/configure: Regenerated.
23276
a3f61311
AS
232772012-03-26 Andreas Schwab <schwab@linux-m68k.org>
23278
c876e002
AS
23279 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23280
a3f61311
AS
23281 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
23282 denormal result into account.
23283
ac4c54f0
RM
232842012-03-25 Roland McGrath <roland@hack.frob.com>
23285
23286 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
23287 Reported by Allan McRae <allan@archlinux.org>.
23288
6a9b9c02
JL
232892012-03-23 Jeff Law <law@redhat.com>
23290
23291 * nss/getnssent.c (__nss_getent): Fix typo.
23292
4c42a0c1
DM
232932012-03-23 David S. Miller <davem@davemloft.net>
23294
23295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23296
1532c7ac
L
232972012-03-23 H.J. Lu <hongjiu.lu@intel.com>
23298
23299 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
23300 to pad to uint64_t for each field.
23301 (dl_tls_index): Replace unsigned long with uint64_t.
23302
3ff42526
PP
233032012-03-23 Daniel Jacobowitz <dmj@google.com>
23304 Paul Pluzhnikov <ppluzhnikov@google.com>
23305
23306 [BZ #6528]
23307 * grp/Makefile (otherlibs): Don't set it.
23308 * inet/Makefile (otherlibs): Likewise.
23309 * login/Makefile (otherlibs): Likewise.
23310 * nscd/Makefile (otherlibs): Likewise.
23311 * posix/Makefile (otherlibs): Likewise.
23312 * pwd/Makefile (otherlibs): Likewise.
23313 * rt/Makefile (otherlibs): Likewise.
23314 * sunrpc/Makefile (otherlibs): Likewise.
23315 * nss/Makefile (otherlibs): Likewise.
23316 Add libnss_files to routines and static-only-routines.
23317 ($(objpfx)getent): Remove rule.
23318 * resolv/Makefile: Add libnss_dns and libresolv to routines and
23319 static-only-routines.
23320
7c69cd14
JM
233212012-03-22 Joseph Myers <joseph@codesourcery.com>
23322
23323 [BZ #13892]
23324 * math/s_cexp.c: Include <float.h>.
23325 (__cexp): Handle exp result overflowing not necessarily
23326 overflowing both real and imaginary parts of result.
23327 * math/s_cexpf.c: Likewise.
23328 * math/s_cexpl.c: Likewise.
23329 * math/libm-test.inc (cexp_test): Add more tests.
23330 * sysdeps/i386/fpu/libm-test-ulps: Update.
23331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23332
81b035fe
L
233332012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23334
23335 * include/link.h (ELFW): New macro.
23336 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
23337 Replace ELF64_R_TYPE with ELFW(R_TYPE).
23338
1da7940c
L
233392012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23340
23341 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
23342 with uint64_t.
23343
b749dbb9
L
233442012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23345
23346 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
23347 declaration.
23348 (struct La_x32_retval): Likewise.
23349
2ff87f3f
L
233502012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23351
23352 * sysdeps/x86_64/preconfigure.in: New file.
23353 * sysdeps/x86_64/preconfigure: New generated file.
23354
c0df8e69
JM
233552012-03-22 Joseph Myers <joseph@codesourcery.com>
23356
48e44791
JM
23357 [BZ #13824]
23358 * math/e_exp2l.c: Include <float.h>.
23359 (__ieee754_exp2l): Handle overflow and underflow cases
23360 separately. Only pass fractional part of argument to
23361 __ieee754_expl.
23362 * math/libm-test.inc (exp2_test): Add more tests.
23363
c0df8e69
JM
23364 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
23365 negating x to take absolute value.
23366 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23367 Likewise.
23368 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23369 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
23370 Likewise.
23371 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
23372 computing low part if x was negated.
23373 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23374
c8e43ba7
L
233752012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23376
23377 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
23378 la_x32_gnu_pltexit.
23379 (pltexit): Cast int_retval to ptrdiff_t.
23380 * elf/tst-auditmod3b.c: Likewise.
23381 * elf/tst-auditmod4b.c: Likewise.
23382 * elf/tst-auditmod5b.c: Likewise.
23383 * elf/tst-auditmod6b.c: Likewise.
23384 * elf/tst-auditmod6c.c: Likewise.
23385 * elf/tst-auditmod7b.c: Likewise.
23386
23387 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
23388 and x32_gnu_pltexit.
23389
23390 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
23391 __ELF_NATIVE_CLASS.
23392 (La_x32_regs): New macro.
23393 (La_x32_retval): Likewise.
23394 (la_x32_gnu_pltenter): New function prototype.
23395 (la_x32_gnu_pltexit): Likewise.
23396
7998fa78
AS
233972012-03-21 Andreas Schwab <schwab@linux-m68k.org>
23398
dcb33988
AS
23399 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
23400 exponent.
23401
233fc563
AS
23402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23403
7998fa78
AS
23404 * configure.in (libc_cv_cc_nofma): Check for option to disable
23405 generation of FMA instructions.
23406 * configure: Regenerate.
23407 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
23408 * sysdeps/ieee754/dbl-64/Makefile: New file.
23409 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23410 Remove brandred-fma4.
23411 (CFLAGS-brandred-fma4.c): Remove.
23412 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
23413 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
23414 define.
23415 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
23416 define.
23417
8e95c99a
L
234182012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23419
23420 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23421 LLONG_MAX != LONG_MAX.
23422 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23423 (_fitoa_word): Likewise.
23424 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
23425 LLONG_MAX != LONG_MAX.
23426 * stdio-common/_itowa.h: Include <_itoa.h>.
23427 (_itowa_word): Use _ITOA_WORD_TYPE on value.
23428 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
23429 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
23430 only if not defined.
23431 (_ITOA_WORD_TYPE): Likewise.
23432 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23433 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
23434
6f4db457
DM
234352012-03-21 David S. Miller <davem@davemloft.net>
23436
23437 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23438
7785fe5a
L
234392012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23440
23441 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
23442 of x86_64 when setting libc_cv_slibdir, libdir and
23443 libc_cv_localedir.
23444 * sysdeps/unix/sysv/linux/configure: Regenerated.
23445
4535cd55
JM
234462012-03-21 Joseph Myers <joseph@codesourcery.com>
23447
23448 * manual/lang.texi (Old Varargs): Remove section.
23449 (How Variadic): Update menu.
23450 (va_start): Do not mention varargs.h.
23451
17228132
TS
234522012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23453 Joseph Myers <joseph@codesourcery.com>
23454
23455 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
23456 link test.
23457 * configure: Regenerated.
23458
8149f976
TS
234592012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23460
05f3d1f6
UD
23461 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
23462 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
23463 conformtest.pl
8149f976 23464
1a4ac776
JM
234652012-03-21 Joseph Myers <joseph@codesourcery.com>
23466
be22ce65
JM
23467 * NOTES: Remove.
23468 * Makefile (files-for-dist): Remove NOTES.
23469 (NOTES): Remove rule.
23470 * README: Don't refer to NOTES.
23471 * manual/creature.texi: Don't include macros.texi.
23472 * manual/intro.texi (creature.texi): Remove comment referring to
23473 NOTES.
23474
40b601fb
JM
23475 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
23476 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
23477 * configure: Regenerated.
23478 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
23479 LIBC_TRY_CC_OPTION.
23480 (libc_cv_as_i686): Likewise.
23481 (libc_cv_cc_avx): Likewise.
23482 (libc_cv_cc_sse2avx): Likewise.
23483 (libc_cv_cc_fma4): Likewise.
23484 (libc_cv_cc_novzeroupper): Likewise.
23485 * sysdeps/i386/configure: Regenerated.
23486
1a4ac776
JM
23487 [BZ #13883]
23488 * sysdeps/i386/fpu/s_cexp.S: Remove.
23489 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23490 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23491 * math/libm-test.inc (cexp_test): Add more tests.
23492 * sysdeps/i386/fpu/libm-test-ulps: Update.
23493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23494
a458e7fe
AM
234952012-03-21 Allan McRae <allan@archlinux.org>
23496
23497 * timezone/Makefile: Do not install iso3166.tab and zone.tab
23498
0cb7efc5
JM
234992012-03-21 Joseph Myers <joseph@codesourcery.com>
23500
23501 [BZ #13871]
23502 * math/w_exp2.c: Do not include <float.h>.
23503 (o_threshold, u_threshold): Remove.
23504 (__exp2): Calculate result before checking finiteness and calling
23505 __kernel_standard.
23506 * math/w_exp2f.c: Likewise.
23507 * math/w_exp2l.c: Likewise.
23508 * math/libm-test.inc (exp2_test): Require overflow exception for
23509 1e6 input.
2460d3aa
JM
23510
23511 [BZ #3866]
23512 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
23513 range of signed 64-bit integers before using fistpll. Remove
23514 checks for whether integers fit in mantissa bits.
23515 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
23516 the range of signed 32-bit integers before using fistpl. Remove
23517 checks for whether integers fit in mantissa bits.
23518 * sysdeps/i386/fpu/e_powl.S (p64): New object.
23519 (__ieee754_powl): Test for y outside the range of signed 64-bit
23520 integers before using fistpll. Reduce 64-bit values to 63-bit
23521 ones as needed.
23522 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
23523 divide-by-zero is raised for zero to large negative powers.
23524 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
23525 (__ieee754_powl): Test for y outside the range of signed 64-bit
23526 integers before using fistpll. Reduce 64-bit values to 63-bit
23527 ones as needed.
23528 * math/libm-test.inc (pow_test): Add more tests.
23529
eb96ffb0
L
235302012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23531
23532 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
23533 <stdio-common/_itoa.h>.
23534 * debug/segfault.c: Likewise.
23535 * elf/dl-cache.c: Likewise.
23536 * elf/dl-minimal.c: Likewise.
23537 * elf/dl-misc.c: Likewise.
23538 * elf/dl-sysdep.c: Likewise.
23539 * elf/dl-version.c: Likewise.
23540 * elf/rtld.c: Likewise.
23541 * hurd/hurdsock.c: Likewise.
23542 * hurd/lookup-retry.c: Likewise.
23543 * malloc/malloc.c: Likewise.
23544 * malloc/mtrace.c: Likewise.
23545 * nscd/nscd_getgr_r.c: Likewise.
23546 * nscd/nscd_getpw_r.c: Likewise.
23547 * nscd/nscd_getserv_r.c: Likewise.
23548 * posix/getopt_init.c: Likewise.
23549 * posix/wordexp.c: Likewise.
23550 * stdio-common/_itoa.c: Likewise.
23551 * stdio-common/printf_fphex.c: Likewise.
23552 * stdio-common/vfprintf.c: Likewise.
23553 * string/_strerror.c: Likewise.
23554 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
23555 * sysdeps/i386/i686/hp-timing.h: Likewise.
23556 * sysdeps/mach/_strerror.c: Likewise.
23557 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
23558 * sysdeps/mach/hurd/sethostid.c: Likewise.
23559 * sysdeps/mach/hurd/xmknodat.c: Likewise.
23560 * sysdeps/mach/xpg-strerror.c: Likewise.
23561 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23562 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23563 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
23564 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
23565 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23566 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
23567 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23568 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23569 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
23570 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
23571 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
23572 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23573 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
23574 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23575 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23576 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
23577 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
23578 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
23579 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23580 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23581 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
23582
23583 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
23584
23585 * stdio-common/_itoa.h: Moved to ...
23586 * sysdeps/generic/_itoa.h: Here.
23587
23588 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
23589
23590 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
23591 instead of "_itoa.h" and "_itowa.h".
23592 * stdio-common/vfprintf.: Likewise.
23593
d1af992d
L
235942012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23595
23596 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
23597 <bits/wordsize.h>.
23598 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
23599 (__signbit): Likwise.
23600 (llrintf): Likwise.
23601 (llrint): Likwise.
23602
114883e0
L
236032012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23604
23605 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
23606 __WORDSIZE != 64.
23607
c135cc1b
JM
236082012-03-20 Joseph Myers <joseph@codesourcery.com>
23609
23610 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
23611 OVERFLOW_EXCEPTION_OK.
23612 * math/libm-test.inc ("Philosophy"): Update comment about
23613 exception testing.
23614 (OVERFLOW_EXCEPTION): Define.
23615 (OVERFLOW_EXCEPTION_OK): Likewise.
23616 (INVALID_EXCEPTION_OK): Renumber.
23617 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23618 (IGNORE_ZERO_INF_SIGN): Likewise.
23619 (test_exceptions): Handle FE_OVERFLOW.
23620 (exp10_test): Expect overflow exceptions.
23621 (exp2_test): Likewise.
23622 (expm1_test): Likewise.
23623 (nextafter_test): Likewise.
23624 (pow_test): Likewise.
23625 (scalbn_test): Likewise.
23626 (scalbln_test): Likewise.
23627
95443d88
L
236282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23629
23630 * sysdeps/x86_64/bits/atomic.h
23631 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
23632 64bit integer.
23633 (atomic_exchange_acq): Likewise.
23634 (__arch_exchange_and_add_body): Likewise.
23635 (__arch_add_body): Likewise.
23636 (atomic_add_negative): Likewise.
23637 (atomic_add_zero): Likewise.
23638
490df6c4
L
236392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23640
c2722551 23641 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
23642 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
23643
5e52b189
L
236442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23645
23646 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
23647 Check __x86_64__ instead of __WORDSIZE.
23648
a9879d4c
L
236492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23650
23651 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
23652
5df98260
DM
236532012-03-19 David S. Miller <davem@davemloft.net>
23654
e1497744
DM
23655 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23656
5df98260
DM
23657 * sysdeps/sparc/fpu/fenv_private.h: New file.
23658 * sysdeps/sparc/fpu/math_private.h: Use it.
23659 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
23660 Remove.
23661 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
23662 (libc_feholdexcept_setroundl): Remove.
23663 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
23664 Remove.
23665 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
23666 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
23667
b4c35121
L
236682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23669
23670 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
23671 int64_t instead of long int.
23672 (INSERT_WORDS64): Likwise.
23673
56965fd7
L
236742012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23675
23676 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
23677 _Unwind_GetCFA return to _Unwind_Ptr first.
23678
83d1aec8
JM
236792012-03-19 Joseph Myers <joseph@codesourcery.com>
23680
1897ad44
JM
23681 [BZ #13629]
23682 * math/s_clog.c: Include <float.h>.
23683 (__clog): Scale large or subnormal inputs.
23684 * math/s_clogf.c: Likewise.
23685 * math/s_clogl.c: Likewise.
23686 * math/s_clog10.c: Include <float.h>.
23687 (M_LOG10_2): Define.
23688 (__clog10): Scale large or subnormal inputs.
23689 * math/s_clog10f.c: Likewise.
23690 * math/s_clog10l.c: Likewise.
23691 * math/libm-test.inc (clog_test): Add more tests.
23692 (clog10_test): Likewise.
23693 * sysdeps/i386/fpu/libm-test-ulps: Update.
23694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23695
7726d6a9
JM
23696 [BZ #11451]
23697 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
23698 x and y.
23699 * math/libm-test.inc (atan2_test): Add another test.
23700
83d1aec8
JM
23701 * Makerules (common-objdir-compile): Remove.
23702 * sysdeps/unix/Makefile (config-generated): Do not add
23703 $(unix-generated) to variable.
23704 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
23705 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
23706 Remove rule.
23707 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
23708 Likewise.
23709 [generic bits/local_lim.h] (before-compile): Do not append to
23710 variable.
23711 [generic bits/local_lim.h] (common-generated): Likewise.
23712 [generic sys/param.h] (before-compile): Do not append to variable.
23713 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
23714 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
23715 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
23716 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
23717 include.
23718 [generic sys/param.h] (sys/param.h-includes): Remove variable.
23719 [generic sys/param.h] (sys/param.h-includes): Remove rule.
23720 [generic sys/param.h] ($(addprefix
23721 $(common-objpfx),$(sys/param.h-includes))): Likewise.
23722 [generic sys/param.h] (common-generated): Do not append to
23723 variable.
23724 [generic sys/param.h] (sysdep_headers): Likewise.
23725 [generic bits/errno.h] (before-compile): Do not append to
23726 variable.
23727 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
23728 rule.
23729 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
23730 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
23731 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
23732 [generic bits/errno.h] (common-generated): Do not append to
23733 variable.
23734 [generic bits/ioctls.h] (before-compile): Do not append to
23735 variable.
23736 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
23737 rule.
23738 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
23739 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
23740 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
23741 rule.
23742 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
23743 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
23744 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
23745 [generic bits/ioctls.h] (common-generated): Do not append to
23746 variable.
23747 [generic sys/syscall.h] (syscall.h): Remove variable.
23748 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
23749 rule.
23750 [generic sys/syscall.h] (before-compile): Do not append to
23751 variable.
23752 [generic sys/syscall.h] (common-generated): Likewise.
23753 * sysdeps/unix/errnos-tmpl.c: Remove file.
23754 * sysdeps/unix/errnos.awk: Likewise.
23755 * sysdeps/unix/ioctls-tmpl.c: Likewise.
23756 * sysdeps/unix/ioctls.awk: Likewise.
23757 * sysdeps/unix/mk-local_lim.c: Likewise.
23758 * sysdeps/unix/snarf-ioctls: Likewise.
23759
4851a949
RH
237602012-03-19 Richard Henderson <rth@twiddle.net>
23761
bd37f2ee
RH
23762 * sysdeps/i386/fpu/fenv_private.h: New file.
23763 * sysdeps/i386/fpu/math_private.h: Use it.
23764 (math_opt_barrier, math_force_eval): Remove.
23765 (libc_feholdexcept_setround_53bit): Remove.
23766 (libc_feupdateenv_53bit): Remove.
23767 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23768 (math_opt_barrier, math_force_eval): Remove.
23769 (libc_feholdexcept): Remove.
23770 (libc_feholdexcept_setround): Remove.
23771 (libc_fetestexcept, libc_fesetenv): Remove.
23772 (libc_feupdateenv_test): Remove.
23773 (libc_feupdateenv, libc_feholdsetround): Remove.
23774 (libc_feresetround): Remove.
23775
d0adc922
RH
23776 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
23777 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23778
0fe0f1f8
RH
23779 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
23780 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
23781 (libc_feupdateenv_testl): New.
23782 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
23783 (libc_feupdateenv_testf): New.
23784 (libc_feupdateenv): Use libc_feupdateenv_test.
23785 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
23786 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
23787
eb92c487
RH
23788 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
23789 (libc_feholdsetroundf, libc_feholdsetroundl): New.
23790 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
23791 (libc_feresetround_noex): New.
23792 (libc_feresetround_noexf): New.
23793 (libc_feresetround_noexl): New.
23794 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
23795 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
23796 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
23797 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
23798 SET_RESTORE_ROUND.
23799 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23800 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
23801 (__cos): Likewise.
23802 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
23803 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23804 SET_RESTORE_ROUND_NOEX.
23805 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
23806 SET_RESTORE_ROUND_NOEXF.
23807 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
23808 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
23809 (libc_feholdsetroundf): New.
23810 (libc_feresetround, libc_feresetroundf): New.
23811
7d2e8012
RH
23812 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
23813 (libc_feholdexcept_setround_53bit): Convert from macro to function.
23814 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
23815
b4dabbb4
RH
23816 * sysdeps/generic/math_private.h: Include <fenv.h>.
23817 (default_libc_feholdexcept): New.
23818 (default_libc_feholdexcept_setround): New.
23819 (default_libc_fesetenv, default_libc_feupdateenv): New.
23820 (libc_feholdexcept): Only define if undefined.
23821 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
23822 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
23823 (libc_feholdexcept_setroundl): Likewise.
23824 (libc_feholdexcept_setround_53bit): Likewise.
23825 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
23826 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
23827 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
23828 (libc_feupdateenv_53bit): Likewise.
23829 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
23830 (libc_feholdexcept): Convert from macro to inline function.
23831 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
23832 (libc_fesetenv, libc_feupdateenv): Likewise.
23833
4851a949
RH
23834 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
23835 not previously defined.
23836 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
23837 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
23838 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
23839 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
23840 * sysdeps/ieee754/flt-32/math_private.h: New file.
23841 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
23842 math_private.h below SET_FLOAT_WORD.
23843 (__isnan, __isinf_ns, __finite): Remove.
23844 (__isnanf, __isinf_nsf, __finitef): Remove.
23845
e79d442e
AS
238462012-03-18 Andreas Schwab <schwab@linux-m68k.org>
23847
23848 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23849
90b80344
DM
238502012-03-17 David S. Miller <davem@davemloft.net>
23851
23852 [BZ #6471]
23853 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
23854 for 2.16.
23855
edc21804
DM
238562012-03-16 David S. Miller <davem@davemloft.net>
23857
77e927af
DM
23858 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
23859 warnings.
23860
374976dd
DM
23861 [BZ #6471]
23862 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
23863 properly.
23864 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
23865 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
23866 sysdep_routines when subdir is sysvipc.
23867 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
23868 __getshmlba helper.
23869
edc21804
DM
23870 * sysdeps/sparc/fpu/libm-test/ulps: Update.
23871
473c3ef3
L
238722012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23873
23874 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
23875 [__LP64__].
23876
eb0f39b6
L
238772012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23878
23879 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
23880 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
23881 (__lround): Renamed to ...
23882 (__llround): This. Replace long int with long long int.
23883 Define lround functions as aliases of llround functions.
23884 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
23885
6b6cd74b
L
238862012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23887
23888 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
23889 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
23890 adresses to uintptr_t. Replace "long int" and "unsigned long
23891 int" with "greg_t" on va_arg.
23892
f1a77b01
L
238932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23894
23895 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
23896 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
23897
23898 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
23899 Move e_machine check before EI_CLASS check. Handle x32
23900 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
23901 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
23902 SKIP_EM_IA_64 and include
23903 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
23904
23905 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
23906 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
23907 (add_system_dir): New macro.
23908
23909 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
23910 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
23911
11b90b9f
JM
239122012-03-16 Joseph Myers <joseph@codesourcery.com>
23913
c36e1d23
JM
23914 [BZ #2551]
23915 [BZ #2552]
23916 [BZ #2553]
23917 [BZ #2554]
23918 [BZ #2562]
23919 [BZ #2563]
23920 [BZ #2565]
23921 [BZ #2566]
23922 [BZ #2576]
23923 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
23924 (y0): Likewise.
23925 * math/w_j0f.c (j0f): Likewise.
23926 (y0f): Likewise.
23927 * math/w_j0l.c (__j0l): Likewise.
23928 (__y0l): Likewise.
23929 * math/w_j1.c (j1): Likewise.
23930 (y1): Likewise.
23931 * math/w_j1f.c (j1f): Likewise.
23932 (y1f): Likewise.
23933 * math/w_j1l.c (__j1l): Likewise.
23934 (__y1l): Likewise.
23935 * math/w_jn.c (jn): Likewise.
23936 (yn): Likewise.
23937 * math/w_jnf.c (jnf): Likewise.
23938 (ynf): Likewise.
23939 * math/w_jnl.c (__jnl): Likewise.
23940 (__ynl): Likewise.
23941 * math/libm-test.inc (j0_test): Add more tests.
23942 (j1_test): Likewise.
23943 (jn_test): Likewise. Add trailing semicolon to existing test.
23944 (y0_test): Likewise.
23945 (y1_test): Likewise.
23946 * sysdeps/i386/fpu/libm-test-ulps: Update.
23947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23948
11b90b9f
JM
23949 [BZ #13851]
23950 [BZ #13854]
23951 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23952 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
23953 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
23954 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
23955 (__tanl): Set errno for infinite argument.
23956 * sysdeps/i386/fpu/mptan.c: Remove.
23957 * sysdeps/i386/fpu/s_tan.S: Likewise.
23958 * sysdeps/i386/fpu/s_tanl.S: Likewise.
23959 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
23960 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
23961 * math/libm-test.inc (tan_test): Add more tests and enable more
23962 tests for double and long double.
23963 * sysdeps/i386/fpu/libm-test-ulps: Update.
23964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23965
6a1bd2a1
JK
239662012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23967
23968 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
23969 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
23970
10a803e0
RM
239712012-03-16 Roland McGrath <roland@hack.frob.com>
23972
23973 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
23974 * configure.in: Use it for both main tree and add-ons.
23975 * configure: Regenerated.
23976
f196c7f7
L
239772012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23978
23979 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
23980
8848d99d
JM
239812012-03-16 Joseph Myers <joseph@codesourcery.com>
23982
96cbe7f4
JM
23983 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
23984 in comment.
23985
8848d99d
JM
23986 [BZ #13851]
23987 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
23988 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
23989 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
23990 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
23991 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
23992 infinite argument.
23993 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
23994 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
23995 != 0 for prec == 2.
23996 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
23997 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
23998 * sysdeps/i386/fpu/s_cosl.S: Likewise.
23999 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
24000 * sysdeps/i386/fpu/s_sinl.S: Likewise.
24001 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
24002 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
24003 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
24004 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
24005 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
24006 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
24007 * math/libm-test.inc (cos_test): Add more tests and enable more
24008 tests for long double.
24009 (sin_test): Likewise.
24010 (sincos_test): Likewise.
24011 * sysdeps/i386/fpu/libm-test-ulps: Update.
24012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24013
dd7f4703
DM
240142012-03-16 David S. Miller <davem@davemloft.net>
24015
24016 * sysdeps/sparc/fpu/math_private.h: New file.
24017
006f1daa
DM
240182012-03-15 David S. Miller <davem@davemloft.net>
24019
c0c83bc8
DM
24020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
24021 file.
e6a62e18 24022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
24023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
24024 file.
e6a62e18
DM
24025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
24026 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
24027 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
24028 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
24029 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
24030 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
24031 sysdep routines.
24032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24033
88cb87d9
DM
24034 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
24035 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
24036
006f1daa 24037 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
24038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
24039 sparc-ifunc.h
006f1daa 24040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
24041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24042 Likewise.
24043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24044 Likewise.
006f1daa
DM
24045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
24046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
24048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24049 Likewise.
006f1daa
DM
24050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
24052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
24054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
24055 Likewise.
24056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
24057 Likewise.
006f1daa
DM
24058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
24061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
24062 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24063 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24064 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
24065 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
24066 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24067 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24068 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
24069 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
24070 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
24071 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
24072 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
24073 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24074 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
24075 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24076 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
24077 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24078 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
24079 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24080 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
24081 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24082
11e0098e
AS
240832012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24084
24085 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
24086 scaling.
24087 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24088
e85b09d0
AJ
240892012-03-15 Andreas Jaeger <aj@suse.de>
24090
24091 [BZ #13852]
24092 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
24093 ieee754/flt-32 implementation for sin, cos and sincos.
24094 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
24095 * sysdeps/i386/fpu/s_cosf.S: Likewise.
24096 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
24097 * sysdeps/i386/fpu/s_sinf.S: Likewise.
24098 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
24099 ieee754/flt-32 implementation for tan.
24100
24101 * math/libm-test.inc (cos_test): Enable some large input tests for
24102 float as well
24103 (sin_test): Likewise.
24104 (sincos_test): Likewise.
24105 (tan_test): Add tests for large input.
24106
24107 * sysdeps/i386/fpu/libm-test-ulps: Update.
24108
81c64153
AJ
241092012-03-15 Andreas Jaeger <aj@suse.de>
24110
24111 [BZ #13658]
24112 * math/libm-test.inc (cos_test): Add more test cases.
24113 (sin_test): Likewise.
24114 (sincos_test): Likewise.
24115
7bbfa5c6
AJ
241162012-03-15 Andreas Jaeger <aj@suse.de>
24117
24118 [BZ #13837]
24119 * math/libm-test.inc (cos_test): Add a test case for large input
24120 value.
24121 (sin_test): Likewise.
24122 (sincos_test): Likewise.
24123
241242012-03-15 Andreas Jaeger <aj@suse.de>,
24125 Joseph Myers <joseph@codesourcery.com>
24126
24127 [BZ #13658]
0671f479 24128 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
24129 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
24130 * sysdeps/i386/fpu/branred.c: Likewise.
24131 * sysdeps/i386/fpu/dosincos.c: Likewise.
24132 * sysdeps/i386/fpu/mpa.c: Likewise.
24133 * sysdeps/i386/fpu/s_cos.S: Likewise.
24134 * sysdeps/i386/fpu/s_sin.S: Likewise.
24135 * sysdeps/i386/fpu/s_sincos.S: Likewise.
24136 * sysdeps/i386/fpu/sincos32.c: Likewise.
24137
24138 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
24139 Define.
24140 (libc_feupdateenv_53bit): Define.
24141 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
24142 Define.
24143 (libc_feupdateenv_53bit): Define.
24144
24145 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
24146 53 bit (without extend i386 double precision).
24147
24148 * math/libm-test.inc (sincos_test): Add tests for large input.
24149 (sin): Likewise.
24150 (cos): Likewise.
24151
24152 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24153
9cad04ea
AS
241542012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24155
24156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24157
f7062b9a
DM
241582012-03-15 David S. Miller <davem@davemloft.net>
24159
24160 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
24161 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
24162 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
24163 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
24164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
24165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
24166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
24167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
24168 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
24169 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
24170 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
24171 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
24172 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
24173 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
24174 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
24175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
24176 file.
f7062b9a 24177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
24178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
24179 file.
f7062b9a 24180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
24181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
24182 file.
f7062b9a 24183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
24184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
24185 file.
f7062b9a
DM
24186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
24187 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
24188 fmin/fmax sysdep routines.
24189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24190
7bd951ff
DM
241912012-03-14 David S. Miller <davem@davemloft.net>
24192
559398ab
DM
24193 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
24194 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
24195 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
24196 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
24197 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
24198 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
24199 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
24200 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
24201 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
24202 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
24203 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
24204 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
24205 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
24206 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
24207 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
24208 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
24209 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
24210 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
24211 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
24212 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
24213 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
24214 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
24215 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
24216 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
24217 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
24218 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
24219 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
24220 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
24221 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
24222 routines.
24223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
24224 file.
559398ab 24225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
24226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
24227 file.
559398ab 24228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
24229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
24230 file.
559398ab 24231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
24232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
24233 file.
559398ab 24234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
24235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
24236 file.
559398ab 24237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
24238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
24239 file.
24240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
24241 file.
24242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
24243 file.
24244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
24245 file.
24246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
24247 New file.
24248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
24249 file.
24250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
24251 file.
559398ab 24252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
24253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
24254 file.
559398ab 24255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
24256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
24257 file.
559398ab 24258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
24259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
24260 file.
559398ab 24261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
24262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
24263 VIS3 routines.
559398ab
DM
24264
24265 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24266 New file.
24267
5a1c1e32
DM
24268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24269
eae47a36
DM
24270 * sysdeps/sparc/configure.in: New file.
24271 * sysdeps/sparc/configure: Generate.
24272 * configure.in (libc_cv_sparc_as_vis3): Substitute.
24273 * configure: Regenerate.
24274 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
24275 * config.make.in (have-as-vis3): New.
24276 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
24277 available use -Av9d instead of -Av9a.
24278 * sysdeps/sparc/sparc64/Makefile: Likewise.
24279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
24280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
24281 New file.
24282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
24283 file.
24284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
24285 New file.
24286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
24287 file.
eae47a36
DM
24288 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
24289 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
24290 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
24291 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
24292 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
24293
c0c83bc8
DM
24294 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
24295 fzeros/fnegs to load 0x80000000 into a float register instead of
24296 using the stack.
7bd951ff
DM
24297 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
24298
bd951ccb
JM
242992012-03-14 Joseph Myers <joseph@codesourcery.com>
24300
24301 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24302 bits/syscall.h.
24303 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
24304 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
24305 ($(inst_includedir)/bits/syscall.h): Remove rule.
24306 ($(objpfx)bits/syscall.d): Include instead of
24307 $(objpfx)syscall-list.d.
24308 (generated): Change syscall-list.h and syscall-list.d to
24309 bits/syscall.h and bits/syscall.d.
24310
bb4e6db2
RM
243112012-03-14 Roland McGrath <roland@hack.frob.com>
24312
24313 [BZ #13846]
24314 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
24315
aa4a2ae1
JM
243162012-03-14 Joseph Myers <joseph@codesourcery.com>
24317
e456826d
JM
24318 [BZ #13841]
24319 * math/s_csqrt.c: Include <float.h>.
24320 (__csqrt): Scale large or subnormal inputs.
24321 * math/s_csqrtf.c: Likewise.
24322 * math/s_csqrtl.c: Likewise.
24323 * math/libm-test.inc (csqrt_test): Add more tests.
24324 * sysdeps/i386/fpu/libm-test-ulps: Update.
24325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24326
aa4a2ae1
JM
24327 [BZ #13840]
24328 * math/libm-test.inc (hypot_test): Add more tests.
24329
7c10fd35
DM
243302012-03-13 David S. Miller <davem@davemloft.net>
24331
24332 [BZ #13840]
24333 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
24334 double-precision for the calculation instead of scaling.
24335
f453b98b
JM
243362012-03-13 Joseph Myers <joseph@codesourcery.com>
24337
24338 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
24339 manipulate bits before adding and subtracting TWO52[sx].
24340 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
24341 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
24342 Likewise.
24343 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
24344
09a3453f
DM
243452012-03-13 David S. Miller <davem@davemloft.net>
24346
8e59da90
DM
24347 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
24348 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
24349 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
24350 rtld-global-offsets.h
24351 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24352
2a8ab7f2
DM
24353 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
24354 large parameters.
24355
10f62770
DM
24356 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
24357
5f0bdb18
DM
24358 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
24359 'err' in the ifdef scope in which it is actually used.
24360
09a3453f
DM
24361 * nss/nss_db/db-init.c: Include string.h
24362
b4b2eb5e
DM
243632012-03-12 David S. Miller <davem@davemloft.net>
24364
98bb2f1c
DM
24365 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24366 masking out of the most significant byte of random value used.
24367 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24368 Fix coding style in previous change.
24369
b4b2eb5e
DM
24370 * sysdeps/unix/sysv/linux/kernel-features.h
24371 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
24372 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
24373 expression.
24374 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
24375 later.
24376
6e226b09
DM
243772012-03-11 David S. Miller <davem@davemloft.net>
24378
a1bcbd40
DM
24379 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24380 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
24381 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
24382 for 'resultvar' otherwise things get truncated on 64-bit.
24383
cb9d6174
DM
24384 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24385 Fix masking out of the most significant byte of random value used.
24386
6e226b09
DM
24387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24388
058c132d
AS
243892012-03-10 Andreas Schwab <schwab@linux-m68k.org>
24390
24391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24392
2d2cd515
DM
243932012-03-09 David S. Miller <davem@davemloft.net>
24394
24395 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
24396 variables with appropriate CPP guards.
24397 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
24398 frame pointer, not the stack pointer. Correct layout comments. Fix test
24399 on resulting framesize and the management of the outregs buffer for pltexit.
24400 Preserve floating point return values across _dl_call_pltexit call.
24401 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
24402 framesize and the management of the outregs buffer for pltexit.
24403 Preserve floating point return values across _dl_call_pltexit
24404 call.
24405 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
24406 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
24407 (print_exit): Fix format string for return register value.
24408
9a07f9d0
JM
244092012-03-10 Joseph Myers <joseph@codesourcery.com>
24410
24411 * sunrpc/Makefile (others): Add rpcgen.
24412 ($(objpfx)rpcgen): Remove special build rule and dependency on
24413 libc.
24414 * sunrpc/rpcgen.c: New file.
24415
547b5e30
PE
244162012-03-09 Paul Eggert <eggert@cs.ucla.edu>
24417
c524201a
PE
24418 [BZ #13673]
24419 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
24420 * stdio-common/bug-vfprintf-nargs.c: Likewise.
24421 * sysdeps/i386/crti.S: Likewise.
24422 * sysdeps/i386/crtn.S: Likewise.
24423 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
24424 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
24425 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
24426 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
24427 * sysdeps/sh/crti.S: Likewise.
24428 * sysdeps/sh/crtn.S: Likewise.
24429 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24430
7b6235f2
PE
24431 [BZ #13673]
24432 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
24433 with URL.
24434 * locale/programs/locfile-kw.gperf: Likewise.
24435 * locale/programs/charmap-kw.h: Regenerated.
24436 * locale/programs/locfile-kw.h: Likewise.
24437
547b5e30
PE
24438 [BZ #13673]
24439 * intl/plural.y: Replace FSF snail mail address with URL.
24440 * intl/plural.c: Regenerated.
24441
5f0a5dae
RH
244422012-03-09 Richard Henderson <rth@twiddle.net>
24443
24444 * include/math_private.h: Remove file.
24445 * math/math_private.h: Move file ...
24446 * sysdeps/generic/math_private.h: ... here.
24447
b8c03620
RH
24448 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
24449 * sysdeps/powerpc/fpu/math_private.h: Likewise.
24450 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24451
4e234f5d 24452 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
24453 and <math_private.h>.
24454 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24455 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24456 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24457 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24458 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24459 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
24460 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24461 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24462 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24463 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24464 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24465 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24466 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24467 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24468 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24469 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24470 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24471 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24472 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24473 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24474 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24475 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24476 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24477 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24478 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24479 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24480 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24481 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24482 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24483 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24484 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24485 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24486 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24487 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24488 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24489 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24490 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24491 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24492 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24493 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24494 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
24495 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24496 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24497 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24498 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24499 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24500 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
24501 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24502 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24503 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24504 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24505 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
24506 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24507 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24508 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24509 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24510 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24511 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24512 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
24513 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
24514 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24515 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24516 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24517 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24518 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
24519 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24520 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24521 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24522 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
24523 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
24524 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24525 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24526 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24527 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24528 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
24529 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
24530 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
24531 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24532 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
24533 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
24534 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24535 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
24536 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24537 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
24538 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24539 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24540 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
24541 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
24542 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24543 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24544 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24545 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24546 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24547 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24548 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24549 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24550 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24551 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24552 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24553 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24554 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24555 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24556 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24557 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24558 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24559 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24560 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24561 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24562 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24563 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24564 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24565 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24566 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24567 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24568 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
24569 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24570 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24571 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24572 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24573 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24574 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24575 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24576 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24577 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
24578 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24579 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24580 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24581 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
24582 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24583 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
24584 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
24585 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24586 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24587 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
24588 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
24589 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24590 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24591 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24592 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
24593 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
24594 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24595 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24596 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24597 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
24598 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
24599 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24600 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24601 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24602 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
24603 * sysdeps/ieee754/k_standard.c: Likewise.
24604 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24605 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24606 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24607 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24608 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24609 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24610 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24611 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24612 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24613 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24614 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24615 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24616 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24617 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24618 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24619 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24620 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24621 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24622 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24623 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
24624 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
24625 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
24626 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24627 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24628 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24629 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
24630 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24631 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24632 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24633 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24634 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24635 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24636 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24637 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24638 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24639 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24640 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24641 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
24642 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
24643 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24644 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24645 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24646 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24647 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24648 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24649 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24650 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24651 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24652 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24653 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24654 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24655 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24656 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24657 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
24658 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24659 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24660 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
24661 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
24662 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24663 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24664 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24665 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24666 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24667 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24668 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24669 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24670 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24671 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24672 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24673 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24674 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24675 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24676 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24677 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24678 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24679 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24680 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
24681 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24682 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24683 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24684 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24685 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24686 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24687 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24688 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
24689 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24690 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24691 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24692 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24693 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24694 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
24695 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24696 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24697 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24698 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24699 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24700 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
24701 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24702 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24703 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
24704 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24705 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24706 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24707 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24708 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
24709 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24710 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24711 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24712 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
24713 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24714 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24715 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24716 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24717 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24718 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24719 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24720 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24721 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24722 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24723 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24724 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24725 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24726 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24727 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24728 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24729 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
24730 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24731 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24732 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24733 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24734 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24735 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24736 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24737 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24738 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24739 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24740 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
24741 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24742 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24743 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
24744 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
24745 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24746 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
24747 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
24748 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24749 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24750 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24751 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24752 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24753 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
24754 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24755 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24756 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24757 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24758 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
24759 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
24760 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24761 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24762 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24763 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24764 * sysdeps/ieee754/s_lib_version.c: Likewise.
24765 * sysdeps/ieee754/s_matherr.c: Likewise.
24766 * sysdeps/ieee754/s_signgam.c: Likewise.
24767 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24768 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24769 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
24770 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
24771 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
24772 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24773 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
24774 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
24775 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
24776 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
24777 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24778 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
24779 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24780 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24781 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
24782 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24783 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24784 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24785 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24786 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24787 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 24788
1991fa03
JM
247892012-03-09 Joseph Myers <joseph@codesourcery.com>
24790
24791 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
24792 * sunrpc/rpc_main.c: Likewise.
24793 * sunrpc/rpc_svcout.c: Likewise.
24794
60d6f5a6
DM
247952012-03-09 David S. Miller <davem@davemloft.net>
24796
24797 * include/math_private.h: New file.
24798
4962050e
JM
247992012-03-09 Joseph Myers <joseph@codesourcery.com>
24800
02a6f887
JM
24801 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
24802 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
24803 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
24804 from <bits/socket_type.h>.
24805 (enum __socket_type): Don't define here.
24806 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
24807 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24808 bits/socket_type.h.
24809
c6e013c1
JM
24810 [BZ #13566]
24811 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
24812 checking __USE_GNU.
24813
4962050e
JM
24814 * Makerules ($(inst_includedir)/%.h): New rule.
24815 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
24816 (install-others): Remove variable setting.
24817 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
24818
38842f45
RH
248192012-03-08 Richard Henderson <rth@twiddle.net>
24820
67bb6da6
RH
24821 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
24822 from macro to inline function; merge with the
24823 !__LIBC_INTERNAL_MATH_INLINES version.
24824 (__ieee754_sqrtf): Likewise.
24825
15194b4b
RH
24826 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
24827 to inline function.
24828 (__rintf, __floor, __floorf): Likewise.
24829
64e21ede
RH
24830 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
24831 macro to inline function.
24832 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
24833
38842f45
RH
24834 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
24835 not <math/math_private.h>.
24836
c64bf5fe
DM
248372012-03-08 David S. Miller <davem@davemloft.net>
24838
24839 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
24840 copyright year.
24841 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24842
82d86f28
TS
248432012-03-08 Thomas Schwinge <thomas@codesourcery.com>
24844
24845 * resolv/gai_misc.c (handle_requests): Fix struct timespec
24846 normalization.
24847 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
24848 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24849
aea5d727
UD
248502012-03-08 Ulrich Drepper <drepper@gmail.com>
24851
24852 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
24853 be defined individually, they must be defined as a block. Define
24854 S for printing a string instead of hidint the different by using a
24855 macro for adding the 'l'.
24856 * stdio-common/tst-fphex-wide.c: Adjust.
24857
70bca0a3
MP
248582012-03-07 Marek Polacek <polacek@redhat.com>
24859
24860 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
24861
65b81130
MP
248622012-03-08 Marek Polacek <polacek@redhat.com>
24863
24864 [BZ #13806]
24865 * stdio-common/Makefile (tests): Add tst-fphex-wide.
24866 * stdio-common/tst-fphex.c: Define a few macros to make the
24867 test reusable. Use them.
24868 * stdio-common/tst-fphex-wide.c: New file.
24869
07037eeb
JM
248702012-03-08 Joseph Myers <joseph@codesourcery.com>
24871
a7a93d50
JM
24872 [BZ #6911]
24873 * manual/macros.texi (gnusystems): New macro.
24874 (nongnusystems): Likewise.
24875 (gnulinuxhurdsystems): Likewise.
24876 (gnuhurdsystems): Likewise..
24877 (gnulinuxsystems): Likewise.
24878 * manual/charset.texi: Use new macros or @theglibc{} to refer to
24879 variants of the GNU system, not "GNU system".
24880 * manual/conf.texi: Likewise.
24881 * manual/errno.texi: Likewise. Update example of errno macro
24882 expansion.
24883 * manual/filesys.texi: Likewise.
24884 (getumask): Document as specific to GNU/Hurd.
24885 * manual/install.texi: Likewise. Reword some references to
24886 GNU/Linux.
24887 * manual/intro.texi: Likewise.
24888 * manual/io.texi: Likewise.
24889 (File Name Portability): Detail which constraints are inapplicable
24890 to all GNU systems and which are only inapplicable to GNU/Hurd.
24891 * manual/job.texi: Likewise.
24892 * manual/llio.texi: Likewise.
24893 (O_NOCTTY): Document as present on GNU/Linux.
24894 * manual/maint.texi: Likewise.
24895 * manual/memory.texi: Likewise.
24896 * manual/pattern.texi: Likewise.
24897 * manual/pipe.texi: Likewise.
24898 * manual/process.texi: Likewise.
24899 * manual/resource.texi: Likewise.
24900 (RUSAGE_CHILDREN): Remove statement about specifying a particular
24901 child on GNU/Hurd.
24902 * manual/setjmp.texi: Likewise.
24903 * manual/signal.texi: Likewise.
24904 * manual/startup.texi: Likewise.
24905 * manual/stdio.texi: Likewise.
24906 * manual/terminal.texi: Likewise.
24907 (ONLCR): Document as POSIX.
24908 (OXTABS): Document availability on GNU/Linux as XTABS.
24909 (ONOEOT): Document availability separately from other bits.
24910 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
24911 * manual/time.texi: Likewise.
24912 * manual/users.texi: Likewise.
24913 * INSTALL: Regenerated.
24914 * sysdeps/gnu/errlist.c: Regenerated.
24915
07037eeb
JM
24916 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
24917 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
24918 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
24919 puts.
24920 * configure: Regenerated.
24921
d1d3431a
JM
249222012-03-07 Joseph Myers <joseph@codesourcery.com>
24923
af6a1e37
JM
24924 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
24925 default includes instead of AC_HEADER_CHECK.
24926 * sysdeps/i386/configure: Regenerated.
24927
d1d3431a
JM
24928 [BZ #10716]
24929 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
24930 * math/s_cacoshf.c (__cacoshf): Likewise.
24931 * math/s_cacoshl.c (__cacoshl): Likewise.
24932 * math/s_casinh.c (__casinh): Set signs of result from argument.
24933 * math/s_casinhf.c (__casinhf): Likewise.
24934 * math/s_casinhl.c (__casinhl): Likewise.
24935 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
24936 (casinh_test): Add more tests.
24937 * sysdeps/i386/fpu/libm-test-ulps: Update.
24938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24939
482ff4da
UD
249402012-03-07 Ulrich Drepper <drepper@gmail.com>
24941
872fda05
UD
24942 * po/zh_TW.po: Update from translation team.
24943
a4300c7a
UD
24944 * login/Makefile (distribute): Remove variable.
24945 * catgets/Makefile: Likewise.
24946 * mach/Makefile: Likewise.
24947 * malloc/Makefile: Likewise.
24948 * misc/Makefile: Likewise.
24949 * iconv/Makefile: Likewise.
24950 * nscd/Makefile: Likewise.
24951 * hurd/Makefile: Likewise.
24952 * manual/Makefile: Likewise.
24953 * locale/Makefile: Likewise.
24954 * intl/Makefile: Likewise.
24955 * conform/Makefile: Likewise.
24956 * nss/Makefile: Likewise.
24957 * time/Makefile: Likewise.
24958 * soft-fp/Makefile: Likewise.
24959 * dirent/Makefile: Likewise.
24960 * gmon/Makefile: Likewise.
24961 * po/Makefile: Likewise.
24962 * rt/Makefile: Likewise.
24963 * socket/Makefile: Likewise.
24964 * math/Makefile: Likewise.
24965 * signal/Makefile: Likewise.
24966 * debug/Makefile: Likewise.
24967 * elf/Makefile: Likewise.
24968 * timezone/Makefile: Likewise.
24969 * stdlib/Makefile: Likewise.
24970 * iconvdata/Makefile: Likewise.
24971 * sunrpc/Makefile: Likewise.
24972 * io/Makefile: Likewise.
24973 * argp/Makefile: Likewise.
24974 * inet/Makefile: Likewise.
24975 * hesiod/Makefile: Likewise.
24976 * grp/Makefile: Likewise.
24977 * csu/Makefile: Likewise.
24978 * wctype/Makefile: Likewise.
24979 * crypt/Makefile: Likewise.
24980 * libio/Makefile: Likewise.
24981 * string/Makefile: Likewise.
24982 * nis/Makefile: Likewise.
24983 * resolv/Makefile: Likewise.
24984 * stdio-common/Makefile: Likewise.
24985 * wcsmbs/Makefile: Likewise.
24986 * dlfcn/Makefile: Likewise.
24987 * posix/Makefile: Likewise.
24988
3b7c4e74 24989 [BZ #6959]
482ff4da
UD
24990 * timezone/Makefile: Don't install timezone files, just the programs
24991 and scripts.
24992
f72ed77d
UD
249932012-03-06 Ulrich Drepper <drepper@gmail.com>
24994
a000466f
UD
24995 * nss/databases.def: Add missing gshadow entry.
24996
f72ed77d
UD
24997 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
24998
a53b7a4e
MP
249992012-03-06 Marek Polacek <polacek@redhat.com>
25000
25001 [BZ #13726]
25002 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
25003 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25004 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
25005 * stdio-common/tst-long-dbl-fphex.c: New file.
25006
e9258400
DM
250072012-03-06 David S. Miller <davem@davemloft.net>
25008
25009 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25010 (set_obp_int): New function.
25011 (get_obp_int): New function.
25012 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
25013 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
25014 Avoid unused variable warnings on 'val' and use builtin_expect.
25015 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
25016 __builtin_expect.
e9258400
DM
25017 (INLINE_CLONE_SYSCALL): Likewise.
25018
3bd2c723
DM
250192012-03-05 David S. Miller <davem@davemloft.net>
25020
25021 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25022
bbb78d03
AS
250232012-03-05 Andreas Schwab <schwab@linux-m68k.org>
25024
884c5db4
AS
25025 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25026
bbb78d03
AS
25027 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
25028 only for |x| >= 40.
25029 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25030
1c9f702a 250312012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
25032
25033 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
25034 Replace gettimeofday with __vdso_gettimeofday.
25035
7be16f82
RM
25036 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25037 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
25038 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
25039
25040 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
25041 time with __vdso_time.
25042
ed58a00f
JM
250432012-03-05 Joseph Myers <joseph@codesourcery.com>
25044
25045 * manual/lang.texi (size_t): Note types to which size_t may be
25046 equivalent with the GNU C Library, but do not describe when
25047 differences between them are significant.
25048
30ee4ced
AJ
250492012-03-05 Andreas Jaeger <aj@suse.de>
25050
25051 * sysdeps/i386/fpu/libm-test-ulps: Update.
25052
b7cd39e8
JM
250532012-03-05 Joseph Myers <joseph@codesourcery.com>
25054
25055 [BZ #3976]
25056 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
25057 (__ieee754_pow): Save and restore rounding mode and use
25058 round-to-nearest for main computations.
25059 * math/libm-test.inc (pow_test_tonearest): New function.
25060 (pow_test_towardzero): Likewise.
25061 (pow_test_downward): Likewise.
25062 (pow_test_upward): Likewise.
25063 (main): Call the new functions.
25064 * sysdeps/i386/fpu/libm-test-ulps: Update.
25065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
25066
25067 [BZ #3976]
25068 * math/libm-test.inc (cosh_test_tonearest): New function.
25069 (cosh_test_towardzero): Likewise.
25070 (cosh_test_downward): Likewise.
25071 (cosh_test_upward): Likewise.
25072 (sinh_test_tonearest): Likewise.
25073 (sinh_test_towardzero): Likewise.
25074 (sinh_test_downward): Likewise.
25075 (sinh_test_upward): Likewise.
25076 (main): Call the new functions.
25077 * sysdeps/i386/fpu/libm-test-ulps: Update.
25078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25079
6c6a98c9
TV
250802012-03-05 Tom de Vries <tom@codesourcery.com>
25081
25082 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
25083 default stack guard is set in last bytes.
25084 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
25085
21bb2d2e 250862012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 25087
21bb2d2e 25088 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 25089
21bb2d2e
AJ
25090 [BZ #13656]
25091 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
25092 possibly allocate from heap instead of stack.
25093 * stdio-common/bug-vfprintf-nargs.c: New file.
25094 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 25095
c6922934
AS
250962012-03-03 Andreas Schwab <schwab@linux-m68k.org>
25097
25098 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25099
bc957d53
MP
251002012-03-03 Marek Polacek <polacek@redhat.com>
25101
25102 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
25103 * math/math_private.h: Likewise.
25104 * stdlib/tst-strtod.c: Likewise.
25105 * sysdeps/i386/i486/bits/atomic.h: Likewise.
25106 * sysdeps/x86_64/bits/atomic.h: Likewise.
25107
6358490d
DM
251082012-03-02 David S. Miller <davem@davemloft.net>
25109
25110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
25111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
25112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
25113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
25114 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
25115 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
25116 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
25117 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
25118
01ae168d
RM
251192012-03-02 Roland McGrath <roland@hack.frob.com>
25120
d9a17c07
RM
25121 [BZ #13792]
25122 * manual/examples/README: New file, says the example source files
25123 can be used under GPL>=2.
25124 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
25125 line containing just "*/".
25126 * manual/examples/add.c: Add copyright header (GPL>=2).
25127 * manual/examples/argp-ex1.c: Likewise.
25128 * manual/examples/argp-ex2.c: Likewise.
25129 * manual/examples/argp-ex3.c: Likewise.
25130 * manual/examples/argp-ex4.c: Likewise.
25131 * manual/examples/atexit.c: Likewise.
25132 * manual/examples/db.c: Likewise.
25133 * manual/examples/dir.c: Likewise.
25134 * manual/examples/dir2.c: Likewise.
25135 * manual/examples/execinfo.c: Likewise.
25136 * manual/examples/filecli.c: Likewise.
25137 * manual/examples/filesrv.c: Likewise.
25138 * manual/examples/fmtmsgexpl.c: Likewise.
25139 * manual/examples/genpass.c: Likewise.
25140 * manual/examples/inetcli.c: Likewise.
25141 * manual/examples/inetsrv.c: Likewise.
25142 * manual/examples/isockad.c: Likewise.
25143 * manual/examples/longopt.c: Likewise.
25144 * manual/examples/memopen.c: Likewise.
25145 * manual/examples/memstrm.c: Likewise.
25146 * manual/examples/mkfsock.c: Likewise.
25147 * manual/examples/mkisock.c: Likewise.
25148 * manual/examples/mygetpass.c: Likewise.
25149 * manual/examples/pipe.c: Likewise.
25150 * manual/examples/popen.c: Likewise.
25151 * manual/examples/rprintf.c: Likewise.
25152 * manual/examples/search.c: Likewise.
25153 * manual/examples/select.c: Likewise.
25154 * manual/examples/setjmp.c: Likewise.
25155 * manual/examples/sigh1.c: Likewise.
25156 * manual/examples/sigusr.c: Likewise.
25157 * manual/examples/stpcpy.c: Likewise.
25158 * manual/examples/strdupa.c: Likewise.
25159 * manual/examples/strftim.c: Likewise.
25160 * manual/examples/strncat.c: Likewise.
25161 * manual/examples/subopt.c: Likewise.
25162 * manual/examples/swapcontext.c: Likewise.
25163 * manual/examples/termios.c: Likewise.
25164 * manual/examples/testopt.c: Likewise.
25165 * manual/examples/testpass.c: Likewise.
25166 * manual/examples/timeval_subtract.c: Likewise.
25167
01ae168d
RM
25168 [BZ #13792]
25169 * manual/time.texi (Elapsed Time): Move timeval_subtract example
25170 function to ...
25171 * manual/timeval_subtract.c.texi: ... here, new file.
25172
49efa33d
DM
251732012-03-02 David S. Miller <davem@davemloft.net>
25174
25175 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
25176
28afd92d
JM
251772012-03-02 Joseph Myers <joseph@codesourcery.com>
25178
804360ed
JM
25179 [BZ #3976]
25180 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
25181 (__sin): Save and restore rounding mode and use round-to-nearest
25182 for all computations.
25183 (__cos): Save and restore rounding mode and use round-to-nearest
25184 for all computations.
25185 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
25186 <fenv.h>.
25187 (tan): Save and restore rounding mode and use round-to-nearest for
25188 all computations.
25189 * math/libm-test.inc (cos_test_tonearest): New function.
25190 (cos_test_towardzero): Likewise.
25191 (cos_test_downward): Likewise.
25192 (cos_test_upward): Likewise.
25193 (sin_test_tonearest): Likewise.
25194 (sin_test_towardzero): Likewise.
25195 (sin_test_downward): Likewise.
25196 (sin_test_upward): Likewise.
25197 (tan_test_tonearest): Likewise.
25198 (tan_test_towardzero): Likewise.
25199 (tan_test_downward): Likewise.
25200 (tan_test_upward): Likewise.
25201 (main): Call the new functions.
25202 * sysdeps/i386/fpu/libm-test-ulps: Update.
25203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25204
a6d06d7b
JM
25205 [BZ #10135]
25206 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
25207 small n, then large n, before computing and testing k+n.
25208 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25209 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
25210 Likewise.
25211 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
25212 Likewise.
25213 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
25214 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
25215 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
25216 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
25217 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25218 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25219 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
25220 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
25221 * math/libm-test.inc (scalbn_test): Add more tests.
25222 (scalbln_test): Likewise.
25223
07e12bb3
JM
25224 * manual/filesys.texi (mode_t): Describe constraints on size and
25225 signedness, not exact equivalence to a particular type.
25226 (ino_t): Likewise.
25227 (ino64_t): Likewise.
25228 (dev_t): Likewise.
25229 (nlink_t): Likewise.
25230 (blkcnt_t): Likewise.
25231 (blkcnt64_t): Likewise.
25232 * manual/llio.texi (off_t): Likewise.
25233
28afd92d
JM
25234 [BZ #3976]
25235 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
25236 (__ieee754_exp): Save and restore rounding mode and use
25237 round-to-nearest for all computations.
25238 * math/libm-test.inc (exp_test_tonearest): New function.
25239 (exp_test_towardzero): Likewise.
25240 (exp_test_downward): Likewise.
25241 (exp_test_upward): Likewise.
25242 (main): Call the new functions.
25243 * sysdeps/i386/fpu/libm-test-ulps: Update.
25244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25245
b1eeb65d
CD
252462012-03-01 Chris Demetriou <cgd@google.com>
25247
25248 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
25249 have predictable order.
25250
53362a4b
DM
252512012-03-01 David S. Miller <davem@davemloft.net>
25252
3c969083
DM
25253 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
25254
759707de
DM
25255 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
25256 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
25257 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
25258 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
25259
dfdb8ff2
DM
25260 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
25261 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
25262 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
25263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
25264 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
25265 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
25266 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
25267 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
25268 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
25269
ead89f96
DM
25270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25271
7f66bd07
DM
25272 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
25273 * sysdeps/sparc/fpu/libm-test-ulps: to here.
25274 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
25275
53362a4b
DM
25276 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
25277 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25278 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25279 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
25280 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
25281 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
25282 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
25283 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25284 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25285 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
25286 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
25287 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25288 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25289 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25290 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25291 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25292 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
25293 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
25294 * sysdeps/sparc/elf/configure: Regenerated.
25295
7b1902cb
JM
252962012-03-01 Joseph Myers <joseph@codesourcery.com>
25297
bec039bc
JM
25298 * configure.in (AS, LD): Require binutils 2.20 or later.
25299 * configure: Regenerated.
25300 * manual/install.texi (Tools for Compilation): Give binutils 2.20
25301 as required minimum version.
25302 * INSTALL: Regenerated.
25303
7b1902cb
JM
25304 [BZ #2541]
25305 [BZ #4108]
25306 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
25307 before squaring exponent.
25308 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
25309 bottom long double and 27 bits of top long double before squaring
25310 exponent.
25311 * math/libm-test.inc (erfc_test): Add more tests.
25312 * sysdeps/i386/fpu/libm-test-ulps: Update.
25313 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25315
f775c276
KT
253162012-03-01 Kai Tietz <ktietz@redhat.com>
25317
25318 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
25319 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
25320 containing bit-fields.
25321 * soft-fp/extended.h (_FP_UNION_E): Likewise.
25322 * soft-fp/single.h (_FP_UNION_S): Likewise.
25323 * soft-fp/double.h (_FP_UNION_D): Likewise.
25324
5b8a4d4a
JM
253252012-02-29 Joseph Myers <joseph@codesourcery.com>
25326
0bab47b6
JM
25327 [BZ #13786]
25328 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
25329 not include ../strcmp.S.
25330 [USE_AS_STRNCASECMP_L]: Likewise.
25331 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
25332 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
25333 * sysdeps/i386/i686/multiarch/strncase_l-c.c
25334 (__strncasecmp_l_ia32): Define as alias to
25335 __strncasecmp_l_nonascii.
25336
0fcad3e2
JM
25337 [BZ #5794]
25338 * math/libm-test.inc (expm1_test): Add test for bug 5794.
25339 * sysdeps/i386/fpu/libm-test-ulps: Update.
25340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25341
5b8a4d4a
JM
25342 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
25343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25344
8fdceb2e
JL
253452012-02-29 Jeff Law <law@redhat.com>
25346
25347 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
25348 out of bounds read.
25349
1f393a11
MP
253502012-02-29 Marek Polacek <polacek@redhat.com>
25351
25352 [BZ #13706]
25353 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
25354 * elf/Makefile: Add rules to run tst-unused-dep.out.
25355
8847f037
DM
253562012-02-28 David S. Miller <davem@davemloft.net>
25357
25358 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
25359 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
25360 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
25361 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
25362 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
25363 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
25364
169d7f11
JM
253652012-02-29 Joseph Myers <joseph@codesourcery.com>
25366
25367 * math/libm-test.inc (llround_test): Move one test from
25368 lround_test. Use TEST_f_L in moved test.
25369 (lround_test): Move misplaced test to llround_test. Add testcase
25370 from bug 2561.
25371
39adf059
UD
253722012-02-28 Ulrich Drepper <drepper@gmail.com>
25373
25374 * sysdeps/x86_64/fpu/e_expf.S: New file.
25375 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
25376
71b5d1c5
SB
253772012-02-28 Stanislav Brabec <sbrabec@suse.cz>
25378
25379 [BZ #13637]
25380 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
25381 of remain_len that may cause incomplete multi-byte character and
25382 false match.
25383 * posix/bug-regex33.c: New file.
25384 * posix/Makefile (tests): Add bug-regex33.
25385
1f77f049
JM
253862012-02-28 Joseph Myers <joseph@codesourcery.com>
25387
25388 * manual/macros.texi: New file.
25389 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
25390 * manual/libc.texinfo: Include macros.texi.
25391 * manual/creatute.texi: Likewise.
25392 * manual/install.texi: Likewise.
25393 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
25394 @glibcadj{} in references to the GNU C Library.
25395 * manual/charset.texi: Likewise.
25396 * manual/conf.texi: Likewise.
25397 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
25398 when not using those macros.
25399 * manual/creature.texi: Likewise.
25400 * manual/crypt.texi: Likewise.
25401 * manual/errno.texi: Likewise.
25402 * manual/filesys.texi: Likewise.
25403 * manual/header.texi: Likewise.
25404 * manual/install.texi: Likewise.
25405 * manual/intro.texi: Likewise.
25406 * manual/io.texi: Likewise.
25407 * manual/job.texi: Likewise.
25408 * manual/lang.texi: Likewise.
25409 * manual/libc.texiinfo: Likewise.
25410 * manual/llio.texi: Likewise.
25411 * manual/locale.texi: Likewise.
25412 * manual/maint.texi: Likewise.
25413 * manual/math.texi: Likewise.
25414 * manual/memory.texi: Likewise.
25415 * manual/message.texi: Likewise.
25416 * manual/nss.texi: Likewise.
25417 * manual/pattern.texi: Likewise.
25418 * manual/process.texi: Likewise.
25419 * manual/resource.texi: Likewise.
25420 * manual/search.texi: Likewise.
25421 * manual/setjmp.texi: Likewise.
25422 * manual/signal.texi: Likewise.
25423 * manual/socket.texi: Likewise.
25424 * manual/startup.texi: Likewise.
25425 * manual/stdio.texi: Likewise.
25426 * manual/string.texi: Likewise.
25427 * manual/sysinfo.texi: Likewise.
25428 * manual/syslog.texi: Likewise.
25429 * manual/terminal.texi: Likewise.
25430 * manual/time.texi: Likewise.
25431 * manual/users.texi: Likewise.
25432 * INSTALL: Regenerated.
25433 * NOTES: Regenerated.
d40c5d54 25434 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 25435
450bf206
AS
254362012-02-28 Andreas Schwab <schwab@linux-m68k.org>
25437
25438 * include/dirent.h: Include <dirstream.h> before
25439 <dirent/dirent.h>.
25440
741a235b
DM
254412012-02-28 David S. Miller <davem@davemloft.net>
25442
25443 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
25444 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
25445 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
25446 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
25447
d6b5aa58
DM
254482012-02-27 David S. Miller <davem@davemloft.net>
25449
1aff59a3
DM
25450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
25451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
25452 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
25453 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
25454
d6b5aa58
DM
25455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
25456 frame pointer instead of stack pointer relative arg slot.
25457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25458 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25459 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25460
433f48bf
CD
254612012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
25462
25463 [BZ #3992]
25464 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
25465
d674b76d
DM
254662012-02-27 David S. Miller <davem@davemloft.net>
25467
25468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
25469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25470 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
25472 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25473 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25474 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
25475 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
25476
0e7727f7
JM
254772012-02-27 Joseph Myers <joseph@codesourcery.com>
25478
25479 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
25480 later. Allow versions 5-9.
43be4ca2 25481 * configure: Regenerated.
0e7727f7
JM
25482 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
25483 required minimum version and 4.6 as recommended version. Do not
25484 mention bugs in GCC 2.7 and 2.8.
43be4ca2 25485 * INSTALL: Regenerated.
0e7727f7 25486
a78bc654
DM
254872012-02-27 David S. Miller <davem@davemloft.net>
25488
428d5830
DM
25489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
25490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
25491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
25492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
25493 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
25494 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
25495 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
25496 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
25497
a78bc654
DM
25498 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
25499 manipulate bits before adding and subtracting TWO112[sx].
25500 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25501
4579f81c
RM
255022012-02-27 Roland McGrath <roland@hack.frob.com>
25503
36c8acb4
RM
25504 [BZ #13775]
25505 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
25506 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
25507 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
25508 being in POSIX, because they are in 1003.1-2008.
25509
84ad622b
RM
25510 * rt/tst-aio.c: Include <fcntl.h>.
25511 * rt/tst-aio7.c: Likewise.
25512 * rt/tst-aio64.c: Likewise.
25513
4579f81c
RM
25514 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
25515
abd923db
JM
255162012-02-27 Joseph Myers <joseph@codesourcery.com>
25517
25518 * manual/install.texi (--with-headers): Describe headers as
25519 interface headers, not private headers.
25520 (Specific advice for GNU/Linux systems): Describe use of headers
25521 from "make headers_install", not private headers from older
25522 kernels.
43be4ca2 25523 * INSTALL: Regenerated.
abd923db
JM
25524 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
25525 Change to 2.6.19.
25526 * sysdeps/unix/sysv/linux/configure: Regenerated.
25527
6664049b
JM
25528 * manual/llio.texi (fclean): Remove documentation.
25529
bb8b6697
JM
25530 * manual/Makefile (libc-texi-generated): New variable. Include
25531 version.texi.
25532 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
25533 $(libc-texi-generated), not duplicated list of files.
25534 (version.texi, stamp-version): New rules.
25535 (realclean): Remove $(libc-texi-generated), not individual files
25536 from that list. Do not remove dir-add.texinfo.
25537 * manual/libc.texinfo: Comment out uses of edition numbers and
25538 references to printed manual. Remove last-updated dates.
25539 (EDITION): Comment out.
25540 (ISBN): Likewise.
25541 (VERSION, UPDATED): Remove.
25542 (version.texi): Include.
25543
12e5c3b9
AS
255442012-02-27 Andreas Schwab <schwab@linux-m68k.org>
25545
25546 * sysdeps/posix/spawni.c: Include <signal.h>.
25547 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
25548 * sysdeps/pthread/aio_fsync.c: Likewise.
25549
4efeffc1 255502012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 25551
ba63ba08
UD
25552 * conform/Makefile (tests): Run only when not cross-compiling and
25553 when fast-check is not defined.
25554
d94a4670
UD
25555 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
25556 * conform/data/limits.h-data: Fixes for POSIX2008.
25557 * conform/run-conformtest.sh: Run all tests.
25558 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
25559 headers.
25560 * include/bits/dlfcn.h: Likewise.
25561 * include/langinfo.h: Likewise.
25562 * include/monetary.h: Likewise.
25563 * include/sys/poll.h: Likewise.
25564
25565 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
25566 for __USE_GNU.
25567 * posix/spawn.h: Define __need_sigset_t.
25568 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
25569 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
25570 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
25571 to get sigevent_t only.
25572 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
25573 only for __USE_GNU.
25574 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25575 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25576 process_vm_writev only for __USE_GNU.
25577 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
25578
25579 * conform/Makefile: For now ignore errors from run-conformtest.
25580 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
25581 POSIX to avoid namespace pollution. Don't prepend headers.
25582 * conform/data/aio.h-data: Fixes for POSIX testing.
25583 * conform/data/fcntl.h-data: Likewise.
25584 * conform/data/glob.h-data: Likewise.
25585 * conform/data/grp.h-data: Likewise.
25586 * conform/data/pthread.h-data: Likewise.
25587 * conform/data/pwd.h-data: Likewise.
25588 * conform/data/signal.h-data: Likewise.
25589 * conform/data/spawn.h-data: Likewise.
25590 * conform/data/stdio.h-data: Likewise.
25591 * conform/data/stdlib.h-data: Likewise.
25592 * conform/data/stropts.h-data: Likewise.
25593 * conform/data/sys/mman.h-data: Likewise.
25594 * conform/data/sys/stat.h-data: Likewise.
25595 * conform/data/sys/types.h-data: Likewise.
25596 * conform/data/sys/wait.h-data: Likewise.
25597 * conform/data/time.h-data: Likewise.
25598 * conform/data/unistd.h-data: Likewise.
25599 * conform/data/utime.h-data: Likewise.
25600
25601 * io/sys/stat.h: fchmod was always in POSIX.
25602 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
25603 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
25604 * rt/aio.h: Define __need_timespec before including <time.h>.
25605 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
25606 struct. Add forward declaration of pthread_attr_t and use it in
25607 sigevent.
25608 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25609 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25610 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
25611 always remove CLK_TCK definition.
25612
c20105c3
AS
256132012-02-26 Andreas Schwab <schwab@linux-m68k.org>
25614
25615 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
25616
7a270350
UD
256172012-02-25 Ulrich Drepper <drepper@gmail.com>
25618
31341567
UD
25619 * conform/run-conformtest.sh: New file.
25620 * conform/Makefile: Run run-conformtest for tests.
25621 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
25622 support.
25623
25624 * conform/data/uchar.h-data: New file.
25625 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
25626 * conform/data/arpa/inet.h-data: Likewise.
25627 * conform/data/assert.h-data: Likewise.
25628 * conform/data/complex.h-data: Likewise.
25629 * conform/data/cpio.h-data: Likewise.
25630 * conform/data/ctype.h-data: Likewise.
25631 * conform/data/dirent.h-data: Likewise.
25632 * conform/data/dlfcn.h-data: Likewise.
25633 * conform/data/errno.h-data: Likewise.
25634 * conform/data/fcntl.h-data: Likewise.
25635 * conform/data/float.h-data: Likewise.
25636 * conform/data/fmtmsg.h-data: Likewise.
25637 * conform/data/fnmatch.h-data: Likewise.
25638 * conform/data/ftw.h-data: Likewise.
25639 * conform/data/glob.h-data: Likewise.
25640 * conform/data/grp.h-data: Likewise.
25641 * conform/data/iconv.h-data: Likewise.
25642 * conform/data/inttypes.h-data: Likewise.
25643 * conform/data/langinfo.h-data: Likewise.
25644 * conform/data/libgen.h-data: Likewise.
25645 * conform/data/limits.h-data: Likewise.
25646 * conform/data/locale.h-data: Likewise.
25647 * conform/data/math.h-data: Likewise.
25648 * conform/data/monetary.h-data: Likewise.
25649 * conform/data/mqueue.h-data: Likewise.
25650 * conform/data/ndbm.h-data: Likewise.
25651 * conform/data/net/if.h-data: Likewise.
25652 * conform/data/netdb.h-data: Likewise.
25653 * conform/data/netinet/in.h-data: Likewise.
25654 * conform/data/nl_types.h-data: Likewise.
25655 * conform/data/poll.h-data: Likewise.
25656 * conform/data/pthread.h-data: Likewise.
25657 * conform/data/pwd.h-data: Likewise.
25658 * conform/data/regex.h-data: Likewise.
25659 * conform/data/sched.h-data: Likewise.
25660 * conform/data/search.h-data: Likewise.
25661 * conform/data/semaphore.h-data: Likewise.
25662 * conform/data/setjmp.h-data: Likewise.
25663 * conform/data/signal.h-data: Likewise.
25664 * conform/data/spawn.h-data: Likewise.
25665 * conform/data/stdarg.h-data: Likewise.
25666 * conform/data/stdio.h-data: Likewise.
25667 * conform/data/stdlib.h-data: Likewise.
25668 * conform/data/string.h-data: Likewise.
25669 * conform/data/strings.h-data: Likewise.
25670 * conform/data/stropts.h-data: Likewise.
25671 * conform/data/sys/ipc.h-data: Likewise.
25672 * conform/data/sys/mman.h-data: Likewise.
25673 * conform/data/sys/msg.h-data: Likewise.
25674 * conform/data/sys/resource.h-data: Likewise.
25675 * conform/data/sys/select.h-data: Likewise.
25676 * conform/data/sys/sem.h-data: Likewise.
25677 * conform/data/sys/shm.h-data: Likewise.
25678 * conform/data/sys/socket.h-data: Likewise.
25679 * conform/data/sys/stat.h-data: Likewise.
25680 * conform/data/sys/statvfs.h-data: Likewise.
25681 * conform/data/sys/time.h-data: Likewise.
25682 * conform/data/sys/timeb.h-data: Likewise.
25683 * conform/data/sys/times.h-data: Likewise.
25684 * conform/data/sys/types.h-data: Likewise.
25685 * conform/data/sys/uio.h-data: Likewise.
25686 * conform/data/sys/un.h-data: Likewise.
25687 * conform/data/sys/utsname.h-data: Likewise.
25688 * conform/data/sys/wait.h-data: Likewise.
25689 * conform/data/syslog.h-data: Likewise.
25690 * conform/data/tar.h-data: Likewise.
25691 * conform/data/termios.h-data: Likewise.
25692 * conform/data/utime.h-data: Likewise.
25693 * conform/data/utmpx.h-data: Likewise.
25694 * conform/data/varargs.h-data: Likewise.
25695 * conform/data/wchar.h-data: Likewise.
25696 * conform/data/wctype.h-data: Likewise.
25697 * conform/data/wordexp.h-data: Likewise.
25698
25699 * include/stropts.h: New file.
25700 * include/uchar.h: New file.
25701 * include/aio.h: Changes to allow conformtest.pl to use the headers.
25702 * include/assert.h: Likewise.
25703 * include/ctype.h: Likewise.
25704 * include/dirent.h: Likewise.
25705 * include/dlfcn.h: Likewise.
25706 * include/fcntl.h: Likewise.
25707 * include/fnmatch.h: Likewise.
25708 * include/glob.h: Likewise.
25709 * include/grp.h: Likewise.
25710 * include/libio.h: Likewise.
25711 * include/locale.h: Likewise.
25712 * include/math.h: Likewise.
25713 * include/net/if.h: Likewise.
25714 * include/netdb.h: Likewise.
25715 * include/netinet/in.h: Likewise.
25716 * include/pthread.h: Likewise.
25717 * include/pwd.h: Likewise.
25718 * include/regex.h: Likewise.
25719 * include/sched.h: Likewise.
25720 * include/search.h: Likewise.
25721 * include/setjmp.h: Likewise.
25722 * include/signal.h: Likewise.
25723 * include/stdio.h: Likewise.
25724 * include/stdlib.h: Likewise.
25725 * include/string.h: Likewise.
25726 * include/sys/cdefs.h: Likewise.
25727 * include/sys/mman.h: Likewise.
25728 * include/sys/msg.h: Likewise.
25729 * include/sys/resource.h: Likewise.
25730 * include/sys/select.h: Likewise.
25731 * include/sys/socket.h: Likewise.
25732 * include/sys/stat.h: Likewise.
25733 * include/sys/statvfs.h: Likewise.
25734 * include/sys/time.h: Likewise.
25735 * include/sys/times.h: Likewise.
25736 * include/sys/uio.h: Likewise.
25737 * include/sys/utsname.h: Likewise.
25738 * include/sys/wait.h: Likewise.
25739 * include/termios.h: Likewise.
25740 * include/time.h: Likewise.
25741 * include/ulimit.h: Likewise.
25742 * include/unistd.h: Likewise.
25743 * include/utime.h: Likewise.
25744 * include/wchar.h: Likewise.
25745 * include/wctype.h: Likewise.
25746 * include/wordexp.h: Likewise.
25747
25748 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
25749
7a270350
UD
25750 * time/time.h: TIME_UTC must be a macro.
25751 Make timespec_get available for ISO C11 only as well.
25752
7724defc
UD
257532012-02-24 Ulrich Drepper <drepper@gmail.com>
25754
25755 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
25756 Reported by Peng Haitao <penght@cn.fujitsu.com>.
25757
6b1d1d46
JM
257582012-02-24 Joseph Myers <joseph@codesourcery.com>
25759
25760 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 25761
0f8bbd69
JM
257622012-02-24 Joseph Myers <joseph@codesourcery.com>
25763
25764 * manual/texinfo.tex: Update to version 2012-01-19.16.
25765
66ab80bc
JM
257662012-02-24 Joseph Myers <joseph@codesourcery.com>
25767
25768 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
25769
74981cc5
RM
257702012-02-24 Roland McGrath <roland@hack.frob.com>
25771
ee968201
RM
25772 [BZ #13738]
25773 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
25774 * manual/fdl-1.3.texi: New file.
25775 * manual/fdl-1.1.texi: File removed.
25776
74981cc5
RM
25777 [BZ #13738]
25778 * manual/libc.texinfo (FDL_VERSION): New @set.
25779 Use it for mention of FDL in cover text.
25780 (Documentation License): Use it in @include file name.
25781
7bb764bc
JM
257822012-02-22 Joseph Myers <joseph@codesourcery.com>
25783 Roland McGrath <roland@hack.frob.com>
25784
25785 [BZ #5461]
25786 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
25787 not LONG_LONG_MAX and LONG_LONG_MIN.
25788 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
25789 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
25790 name.
25791 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
25792
6cbeae47
JM
257932012-02-22 Joseph Myers <joseph@codesourcery.com>
25794
25795 [BZ #2547]
25796 [BZ #11365]
25797 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
25798 manipulate bits before adding and subtracting TWO23[sx].
25799 * math/libm-test.inc (nearbyint_test): Add more tests.
25800
fe45ce09
JM
258012012-02-22 Joseph Myers <joseph@codesourcery.com>
25802
25803 [BZ #2548]
25804 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
25805 bits before adding and subtracting TWO23[sx].
25806 * math/libm-test.inc (rint_test): Add more tests.
25807 (rint_test_tonearest): Likewise.
25808 (rint_test_towardzero): Likewise.
25809 (rint_test_downward): Likewise.
25810 (rint_test_upward: Likewise.
25811
ff3b3d82
JM
258122012-02-22 Joseph Myers <joseph@codesourcery.com>
25813
25814 [BZ #10110]
25815 * include/stdc-predef.h: New file. Extracted from features.h.
25816 * include/features.h: Include stdc-predef.h.
25817 * Makefile (headers): Add stdc-predef.h.
25818 * CONFORMANCE (Compiler limitations): Update.
25819
ef0aab35
JM
258202012-02-22 Joseph Myers <joseph@codesourcery.com>
25821
25822 * manual/libc.texinfo (VERSION, UPDATED): Revert.
25823
58639409
DM
258242012-02-21 David S. Miller <davem@davemloft.net>
25825
25826 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
25827 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25828
c0e70b25
DM
258292012-02-20 David S. Miller <davem@davemloft.net>
25830
25831 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
25832 using a normal save/restore sequence, rather than allocating a
25833 dummy stack frame just to store a frame pointer and restore.
25834 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25835
fb06851d
JM
258362012-02-21 Joseph Myers <joseph@codesourcery.com>
25837
25838 * manual/install.texi: Fix stray word in line-wrapped comment.
25839
7a8b71c3
DM
258402012-02-20 David S. Miller <davem@davemloft.net>
25841
d510c123
DM
25842 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
25843 both binutils and gcc support GOTDATA.
25844
0722d7c2
DM
25845 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
25846 "rd %pc" in the PIC register setup sequences.
25847
3d2b3019
DM
25848 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
25849 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25850 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25851 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25852 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25853 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25854 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25855 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25856 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
25857 (SYSCALL_ERROR_HANDLER): Likewise.
25858 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25859 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25860 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
25861 (SYSCALL_ERROR_HANDLER): Likewise.
25862
c80098a9
DM
25863 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
25864 (HAVE_GCC_GOTDATA): New.
25865 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
25866 relocation support in both binutils and gcc.
25867 * sysdeps/sparc/elf/configure: Regenerate.
25868
3a2545a0
DM
25869 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
25870 * sysdeps/sparc/sparc32/elf/configure: Delete.
25871 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
25872 * sysdeps/sparc/sparc64/elf/configure: Delete.
25873 * sysdeps/sparc/elf/configure.in: New file.
25874 * sysdeps/sparc/elf/configure: Generate.
25875
7a8b71c3
DM
25876 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
25877 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
25878 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25879 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
25880 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
25881
f1e86fca
JM
258822012-02-21 Joseph Myers <joseph@codesourcery.com>
25883
25884 * manual/install.texi: Do not mention specific glibc version
25885 numbers.
25886 * manual/libc.texinfo (VERSION, UPDATED): Update.
25887 (@copying): Use @copyright{} and range of years.
25888
0e7dfaef
JM
258892012-02-21 Joseph Myers <joseph@codesourcery.com>
25890
25891 [BZ #13695]
25892 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
25893 [crti.S not in sysdirs] (generated): Do not append.
25894 [crti.S not in sysdirs] (omit-deps): Likewise.
25895 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
25896 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
25897 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
25898 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
25899 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
25900 Likewise.
25901 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
25902 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
25903 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
25904 * csu/defs.awk: Remove file.
25905 * sysdeps/generic/initfini.c: Likewise.
25906 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
25907 variable.
25908 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
25909 Likewise.
25910
599af3ca
JM
259112012-02-20 Joseph Myers <joseph@codesourcery.com>
25912
25913 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
25914 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
25915 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
25916 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
25917 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25918 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
25919 <bits/epoll.h>.
25920 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
25921 (__EPOLL_PACKED): Define to empty if not defined by
25922 <bits/epoll.h>.
25923 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
25924 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25925 bits/epoll.h.
25926
0e499750
JM
259272012-02-20 Joseph Myers <joseph@codesourcery.com>
25928
25929 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
25930 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
25931 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
25932 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
25933 <bits/timerfd.h>.
25934 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
25935 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25936 bits/timerfd.h.
25937
5ad91f6e
JM
259382012-02-20 Joseph Myers <joseph@codesourcery.com>
25939
25940 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
25941 in C locale.
25942 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25943 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25944 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
25945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25946
06b99b02
AJ
259472012-02-20 Aurelien Jarno <aurelien@aurel32.net>
25948
25949 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25950 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25951
7638c0fd
AS
259522012-02-19 Andreas Schwab <schwab@linux-m68k.org>
25953
25954 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
25955 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
25956 defined.
25957 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
25958 Likewise.
25959 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
25960 entry for 2.16.
25961
92221550
AJ
259622012-02-19 Aurelien Jarno <aurelien@aurel32.net>
25963
25964 * math/w_acos.c: Use non-signaling floating-point comparisons.
25965 * math/w_acosf.c: Likewise.
25966 * math/w_acosh.c: Likewise.
25967 * math/w_acoshf.c: Likewise.
25968 * math/w_acoshl.c: Likewise.
25969 * math/w_acosl.c: Likewise.
25970 * math/w_asin.c: Likewise.
25971 * math/w_asinf.c: Likewise.
25972 * math/w_asinl.c: Likewise.
25973 * math/w_atanh.c: Likewise.
25974 * math/w_atanhf.c: Likewise.
25975 * math/w_atanhl.c: Likewise.
25976 * math/w_exp2.c: Likewise.
25977 * math/w_exp2f.c: Likewise.
25978 * math/w_exp2l.c: Likewise.
25979 * math/w_j0.c: Likewise.
25980 * math/w_j0f.c: Likewise.
25981 * math/w_j0l.c: Likewise.
25982 * math/w_j1.c: Likewise.
25983 * math/w_j1f.c: Likewise.
25984 * math/w_j1l.c: Likewise.
25985 * math/w_jn.c: Likewise.
25986 * math/w_jnf.c: Likewise.
25987 * math/w_log.c: Likewise.
25988 * math/w_log10.c: Likewise.
25989 * math/w_log10f.c: Likewise.
25990 * math/w_log10l.c: Likewise.
25991 * math/w_log2.c: Likewise.
25992 * math/w_log2f.c: Likewise.
25993 * math/w_log2l.c: Likewise.
25994 * math/w_logf.c: Likewise.
25995 * math/w_logl.c: Likewise.
25996 * math/w_sqrt.c: Likewise.
25997 * math/w_sqrtf.c: Likewise.
25998 * math/w_sqrtl.c: Likewise.
25999 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26000 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26001 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26002 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26003 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26004
ebaf36eb
JM
260052012-02-19 Joseph Myers <joseph@codesourcery.com>
26006
26007 [BZ #9739]
26008 * manual/string.texi (strnlen): Use correct parameter name in
26009 equivalent expression.
26010
71c254a6
JM
260112012-02-19 Joseph Myers <joseph@codesourcery.com>
26012
26013 [BZ #11174]
26014 * manual/users.texi (seteuid): Consistently use neweuid for
26015 argument name.
26016
16d2c631
JM
260172012-02-19 Joseph Myers <joseph@codesourcery.com>
26018
26019 [BZ #13704]
26020 * manual/nss.texi (Services in the NSS configuration): Correct
26021 list of services in example configuration file.
26022
cd837b09
NB
260232012-02-19 Nick Bowler <nbowler@draconx.ca>
26024
26025 [BZ #11322]
26026 * manual/arith.texi: Remove statements about negative zero
26027 behaving identically to zero.
26028
02c4bbad
JM
260292012-02-18 Joseph Myers <joseph@codesourcery.com>
26030
26031 [BZ #5993]
26032 * manual/install.texi: Do not document upgrading from libc5.
26033
366842e7
JM
260342012-02-18 Joseph Myers <joseph@codesourcery.com>
26035
26036 [BZ #4596]
26037 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
26038
dd54084d
DM
260392012-02-18 David S. Miller <davem@davemloft.net>
26040
26041 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
26042 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
26043 %o7 across the call.
26044 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
26045 instead.
26046 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
26047 SETUP_PIC_REG_LEAF.
26048 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26049 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
26050 * sysdeps/sparc/crtn.S: Likewise.
26051
2bcc53a3
UD
260522012-02-17 Ulrich Drepper <drepper@gmail.com>
26053
26054 * aout/Makefile: Remove.
26055
09c093b5
RK
260562012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
26057
26058 [BZ #13058]
26059 * manual/examples/argp-ex1.c (main): Format definition in GNU
26060 style.
26061 * manual/examples/argp-ex2.c (main): Likewise.
26062 * manual/examples/argp-ex3.c (main): Likewise.
26063 * manual/examples/argp-ex4.c (main): Likewise.
26064 * manual/examples/longopt.c (main): Use new-style prototype
26065 definition.
26066 * manual/examples/strncat.c (main): Specify return type and use
26067 (void) for arguments.
26068 * manual/examples/subopt.c (main): Use char **argv argument.
26069
2ee633a2
JM
260702012-02-17 Joseph Myers <joseph@codesourcery.com>
26071
26072 [BZ #5077]
26073 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
26074 rounding modes.
26075
0520adde
FB
260762012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
26077
26078 [BZ #6907]
26079 * manual/string.texi (strchr): Change when strchrnul is
26080 recommended.
26081
3f4081cd
DGM
260822012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
26083
26084 [BZ #174]
26085 * manual/locale.texi (setlocale): Document LOCPATH.
26086
d1b10e78
JM
260872012-02-17 Joseph Myers <joseph@codesourcery.com>
26088
26089 [BZ #10210]
26090 * manual/process.texi (execle): Move @dots{} before last argument.
26091
79c6869c
PB
260922012-02-17 Paul Bolle <pebolle@tiscali.nl>
26093
26094 [BZ #12047]
26095 * manual/charset.texi (Generic Charset Conversion): Fix typo
26096 (LC_TYPE -> LC_CTYPE).
26097
cc6e48bc
NB
260982012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
26099
26100 [BZ #5805]
26101 * manual/arith.texi (scalbn): Use @var{} on parameter names.
26102 (scalbnf): Likewise.
26103 (scalbnl): Likewise.
26104 (scalbln): Likewise.
26105 (scalblnf): Likewise.
26106 (scalblnl): Likewise.
26107 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
26108 (vwarnx): Likewise.
26109 (verr): Likewise.
26110 (verrx): Likewise.
26111 * manual/filesys.texi (telldir): Use braces around return type.
26112 * manual/llio.texi (mmap): Add space after comma.
26113 (mmap64): Likewise.
26114 * manual/math.texi (jn): Use @var{} on parameter names.
26115 (jnf): Likewise.
26116 (jnl): Likewise.
26117 (yn): Likewise.
26118 (ynf): Likewise.
26119 (ynl): Likewise.
26120 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
26121 line.
26122 * manual/resource.texi (ulimit): Use @dots{} instead of literal
26123 "...".
26124 (sched_get_priority_min): Remove semicolon on @deftypefun line.
26125 (sched_get_priority_max): Likewise.
26126 * manual/signal.texi (sigvec): Add space after comma.
26127 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
26128 names.
26129 (if_indextoname): Likewise.
26130 (if_freenameindex): Likewise.
26131 (sendto): Use ',' instead of '.' in prototype.
26132 * manual/startup.texi (syscall): Use @dots{} instead of literal
26133 "...".
26134 * manual/stdio.texi (__fpending): Separate initial words of
26135 paragraph from @deftypefun line.
26136 * manual/syslog.texi (syslog): Use @dots{} instead of literal
26137 "...".
26138 (vsyslog): Use @var{} on parameter names.
26139 * manual/terminal.texi (stty): Use @var{} on parameter names.
26140 * manual/users.texi (getutmp): Use @var{} on parameter names.
26141 (getutmpx): Likewise.
26142
5b23062f
JM
261432012-02-17 Joseph Myers <joseph@codesourcery.com>
26144
26145 [BZ #6884]
26146 * manual/stdio.texi (fopen): Fix typos in description of
26147 ",ccs=STRING".
26148
8dee4833
AJ
261492012-02-17 Aurelien Jarno <aurelien@aurel32.net>
26150
26151 [BZ #4026]
26152 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
26153 get clock_id definition.
26154
9078ce93
TS
261552012-02-17 Thomas Schwinge <thomas@schwinge.name>
26156
26157 [BZ #4822]
26158 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
26159 (madvise): Cast every argument to void on its own.
26160
3835c55f
JM
261612012-02-17 Joseph Myers <joseph@codesourcery.com>
26162
26163 [BZ #9902]
26164 * manual/startup.texi (Exit Status): Fix typo.
26165
35c47e37
JM
261662012-02-17 Joseph Myers <joseph@codesourcery.com>
26167
26168 [BZ #10140]
26169 * manual/examples/argp-ex1.c: Include <stdlib.h>.
26170 * manual/examples/argp-ex2.c: Likewise.
26171 * manual/examples/argp-ex3.c: Likewise.
26172
e3b69ca7
RH
261732012-02-16 Richard Henderson <rth@redhat.com>
26174
26175 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
26176 * sysdeps/s390/s390-32/initfini.c: Remove.
26177 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
26178 * sysdeps/s390/s390-64/initfini.c: Remove.
26179
df83af67
KK
261802012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26181
26182 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
26183 compiler output for sysdeps/generic/initfini.c.
26184 * sysdeps/sh/elf/initfini.c: Remove file.
26185
f63f3380
DM
261862012-02-16 David S. Miller <davem@davemloft.net>
26187
fb59b3a4
DM
26188 [BZ #11494]
26189 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
26190
f63f3380
DM
26191 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
26192 * sysdeps/sparc/crti.S: New file.
26193 * sysdeps/sparc/crtn.S: New file.
26194 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
26195 * sysdeps/sparc/sparc64/Makefile: Likewise.
26196
df6a4a4a
MF
261972012-02-15 Mike Frysinger <vapier@gentoo.org>
26198
6dd8f3dc 26199 [BZ #3335]
df6a4a4a
MF
26200 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
26201
1cac7236
RM
262022012-02-15 Roland McGrath <roland@hack.frob.com>
26203
d2c736f8
RM
26204 [BZ #4822]
26205 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
26206
1cac7236
RM
26207 * mach/devstream.c (cookie_io_functions_t): Macro removed.
26208 (write, read, close): Likewise.
26209 Patch by Aurelien Jarno <aurelien@aurel32.net>.
26210
8e475601
JM
262112012-02-15 Joseph Myers <joseph@codesourcery.com>
26212
26213 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
26214 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
26215 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
26216 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
26217 <bits/signalfd.h>.
26218 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
26219 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26220 bits/signalfd.h.
26221
ed656b40
MP
262222012-02-14 Marek Polacek <polacek@redhat.com>
26223
26224 * sysdeps/x86_64/crti.S: New file.
26225 * sysdeps/x86_64/crtn.S: New file.
26226 * sysdeps/x86_64/elf/initfini.c: Remove file.
26227
2a979d3a
JM
262282012-02-13 Joseph Myers <joseph@codesourcery.com>
26229
26230 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
26231 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
26232 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
26233 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
26234 <bits/inotify.h>.
26235 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
26236 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26237 bits/inotify.h.
26238
2a418ac3
JM
262392012-02-13 Joseph Myers <joseph@codesourcery.com>
26240
26241 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
26242 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
26243 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
26244 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
26245 <bits/eventfd.h>.
26246 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
26247 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26248 bits/eventfd.h.
26249
fb779be7
TS
262502012-02-10 Thomas Schwinge <thomas@codesourcery.com>
26251
e19e83c5
RM
26252 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
26253 __feraiseexcept instead of feraiseexcept.
7c35ffed 26254
fb779be7
TS
26255 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
26256 nanosleep invocations.
26257 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
26258 strings, and add error checking for a nanosleep invocations.
26259
59ba27a6
PE
262602012-02-09 Paul Eggert <eggert@cs.ucla.edu>
26261
26262 Replace FSF snail mail address with URLs, as per GNU coding standards.
26263 Most of the snail mail addresses were wrong anyway, and omitting
26264 them makes the source code easier to maintain. Almost all of the
26265 changes are to license notices and to locale LC_IDENTIFICATION
26266 addresses, except for this one:
26267 * manual/libc.texinfo: In "Published by", give the FSF's URL,
26268 not its snail mail address.
26269
57b957eb
RH
262702012-02-09 Richard Henderson <rth@twiddle.net>
26271
af850b1c
RH
26272 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
26273 of kernel-features.h.
26274
57b957eb
RH
26275 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
26276
6b73181a
MP
262772012-02-08 Marek Polacek <polacek@redhat.com>
26278
26279 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
26280 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
26281 * sysdeps/gnu/_G_config.h: Likewise.
26282 * sysdeps/generic/_G_config.h: Likewise.
26283
26ecc33a
AS
262842012-02-08 Andreas Schwab <schwab@linux-m68k.org>
26285
6c6dbc63
AS
26286 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
26287 tests.
26288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26289
e216c012
AS
26290 * sysdeps/powerpc/powerpc32/crti.S: New file.
26291 * sysdeps/powerpc/powerpc32/crtn.S: New file.
26292 * sysdeps/powerpc/powerpc64/crti.S: New file.
26293 * sysdeps/powerpc/powerpc64/crtn.S: New file.
26294
26ecc33a
AS
26295 * Makeconfig (have-initfini): Don't set.
26296 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
26297 * configure.in (nopic_initfini): Don't substitute.
26298 * config.h.in (HAVE_INITFINI): Don't #undef.
26299 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
26300 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
26301
3add8e13
JM
263022012-02-08 Joseph Myers <joseph@codesourcery.com>
26303
26304 Support crti.S and crtn.S provided directly by architectures.
26305 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
26306 [crti.S in sysdirs] (omit-deps): Likewise.
26307 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
26308 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
26309 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
26310 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
26311 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
26312 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
26313 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
26314 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
26315 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
26316 compiler output for sysdeps/generic/initfini.c.
26317 * sysdeps/i386/elf/Makefile: Remove file.
26318 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
26319
a22f12b4
MP
263202012-02-07 Marek Polacek <polacek@redhat.com>
26321
26322 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
26323 * sysdeps/gnu/_G_config.h: Likewise.
26324 * sysdeps/mach/hurd/_G_config.h: Likewise.
26325
148cf100
MP
263262012-02-07 Marek Polacek <polacek@redhat.com>
26327
26328 * math/Makefile (tests): Add tst-CMPLX2.
26329 * math/tst-CMPLX2.c: New file.
26330
cfdc0dd7
AS
263312012-02-07 Andreas Schwab <schwab@linux-m68k.org>
26332
84ba42c4
AS
26333 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26334
cfdc0dd7
AS
26335 * math/libm-test.inc (jn_test): Add missing L suffix.
26336
622c86f4
MP
263372012-02-06 Marek Polacek <polacek@redhat.com>
26338
26339 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
26340 * sysdeps/i386/fpu/e_powf.S: Likewise.
26341 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26342 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26343 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26344 * sysdeps/i386/fpu/e_pow.S: Likewise.
26345 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26346 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26347 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26348 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26349 * sysdeps/i386/fpu/e_log2.S: Likewise.
26350 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26351 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26352 * sysdeps/i386/fpu/e_powl.S: Likewise.
26353 * sysdeps/i386/fpu/s_log1p.S: Likewise.
26354 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26355 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26356 * sysdeps/i386/fpu/e_logl.S: Likewise.
26357 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26358 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
26359 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26360 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26361 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26362 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26363 * sysdeps/i386/fpu/e_log.S: Likewise.
26364 * sysdeps/i386/fpu/s_cexp.S: Likewise.
26365 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26366 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
26367 * sysdeps/i386/fpu/e_logf.S: Likewise.
26368 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26369 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26370 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
26371 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26372 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26373 * sysdeps/i386/fpu/e_log10.S: Likewise.
26374 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26375 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26376 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26377 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26378 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26379 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26380 * sysdeps/i386/asm-syntax.h: Likewise.
26381 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26382 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26383 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26384 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
26385 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
26386 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26387 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26388 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26389 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26390 * sysdeps/powerpc/sysdep.h: Likewise.
26391 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
26392 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26393
d4a54ac6
JM
263942012-02-06 Joseph Myers <joseph@codesourcery.com>
26395
26396 [BZ #411]
26397 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
26398
314054ea
JM
263992012-02-06 Joseph Myers <joseph@codesourcery.com>
26400
26401 * sysdeps/i386/sysdep.h: Include <features.h>.
26402 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
26403 version.
26404
d8e0ca50
JM
264052012-02-05 Joseph Myers <joseph@codesourcery.com>
26406
26407 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
26408 Define.
26409 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
26410 LOAD_PIC_REG_STR.
26411
b1da7dd9
JM
264122012-02-03 Joseph Myers <joseph@codesourcery.com>
26413
26414 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
26415 (SETUP_PIC_REG): Use GET_PC_THUNK.
26416 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
26417 macro.
26418
9a1d9254
JM
264192012-02-03 Joseph Myers <joseph@codesourcery.com>
26420
26421 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
26422 for non-PIC compilation.
26423 (SETUP_PIC_REG): Add .p2align directive.
26424 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
26425 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26426 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26427 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26428 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26429 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26430 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26431 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26432 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26433 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26434 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26435 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26436 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26437 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26438 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26439 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26440 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26441 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26442 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26443 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26444 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26445 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26446 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26447 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26448 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26449 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26450 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26451 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26452 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26453 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26454 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26455 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26456 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26457 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26458 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26459 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26460 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26461 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26462 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26463 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26464 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26465
65dc3b75
JM
264662012-02-03 Joseph Myers <joseph@codesourcery.com>
26467
26468 * math/tst-CMPLX.c: Include <stdio.h>.
26469
d55bf177
JM
264702012-01-31 Joseph Myers <joseph@codesourcery.com>
26471
26472 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
26473 float.
26474 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26475 * sysdeps/sparc/bits/mathdef.h: Likewise.
26476
69db4f8f
MP
264772012-01-31 Marek Polacek <polacek@redhat.com>
26478
26479 * libio/libio.h: Don't define _PARAMS.
26480 * locale/programs/config.h: Don't define PARAMS.
26481 * stdlib/strtol_l.c: Likewise.
26482 (__strtol_l): Remove PARAMS from the prototype.
26483
41b81892
UD
264842012-01-31 Ulrich Drepper <drepper@gmail.com>
26485
3b49edc0
UD
26486 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
26487 names. Just use the correct names. Remove unnecessary wrapper
26488 functions.
26489 * malloc/arena.c: Likewise.
26490 * malloc/hooks.c: Likewise.
26491
41b81892
UD
26492 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
26493 ARENA_TEST says not to. Simplify test for creation of a new arena.
26494 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
26495
27a25b6e
UD
264962012-01-30 Ulrich Drepper <drepper@gmail.com>
26497
26498 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
26499 into tail calls.
26500 (update_get_addr): New function.
26501 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
26502 GET_ADDR_MODULE parameter.
26503
c8a89e7d
JM
265042012-01-30 Joseph Myers <joseph@codesourcery.com>
26505
26506 * crypt/cert.c: Remove __STDC__ conditionals.
26507 * crypt/crypt-entry.c: Likewise.
26508 * crypt/crypt_util.c: Likewise.
26509 * libio/filedoalloc.c: Likewise.
26510 * libio/fileops.c: Likewise.
26511 * libio/genops.c: Likewise.
26512 * libio/iofclose.c: Likewise.
26513 * libio/iofdopen.c: Likewise.
26514 * libio/iofopen.c: Likewise.
26515 * libio/iofopen64.c: Likewise.
26516 * libio/iogetdelim.c: Likewise.
26517 * libio/iopopen.c: Likewise.
26518 * libio/obprintf.c: Likewise.
26519 * libio/oldfileops.c: Likewise.
26520 * libio/oldiofclose.c: Likewise.
26521 * libio/oldiofdopen.c: Likewise.
26522 * libio/oldiofopen.c: Likewise.
26523 * libio/oldiopopen.c: Likewise.
26524 * libio/wfiledoalloc.c: Likewise.
26525 * libio/wgenops.c: Likewise.
26526 * locale/programs/xmalloc.c: Likewise.
26527 * misc/syslog.c: Likewise.
26528 * stdio-common/xbug.c: Likewise.
26529 * string/memchr.c: Likewise.
26530 * string/memcmp.c: Likewise.
26531 * string/memrchr.c: Likewise.
26532 * string/rawmemchr.c: Likewise.
26533 * sysdeps/posix/getcwd.c: Likewise.
26534 * time/strftime_l.c: Likewise.
26535
3b100462
JM
265362012-01-30 Joseph Myers <joseph@codesourcery.com>
26537
26538 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
26539 * config.make.in (config-cflags-sse2avx): Define.
26540 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
26541 Fix typo.
26542
607998af
CM
265432012-01-29 Chris Metcalf <cmetcalf@tilera.com>
26544
26545 * scripts/config.guess: Update from upstream config git repository.
26546 * scripts/config.sub: Likewise.
26547
3601428f
CM
265482012-01-28 Chris Metcalf <cmetcalf@tilera.com>
26549
3ac8b282
CM
26550 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
26551 (EM_NUM): Update.
26552 (R_TILEPRO_*, R_TILEGX_*): New macros.
26553
e034841e
CM
26554 * scripts/firstversions.awk: Fix bug in version range handling.
26555
540d7568
CM
26556 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
26557
3601428f
CM
26558 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
26559
463de862
CM
26560 * include/sys/epoll.h: New file.
26561 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
26562 libc_hidden_def.
26563
73139a76
UD
265642012-01-28 Ulrich Drepper <drepper@gmail.com>
26565
96bc5b45
UD
26566 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
26567 Avoid unnecessary __WORDSIZE == 64 test.
26568 (fmaxf): Use VEX format if possible.
26569 (fmax): Likewise.
26570 (fminf): Likewise.
26571 (fmin): Likewise.
26572
56f6f6a2
UD
26573 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
26574 * math/math_private.h: Remove libc_fegetround* and
26575 libc_fesetround*.
26576 * sysdeps/i386/configure.in: Check for -msse2avx.
26577 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
26578 also if SSE2AVX is defined.
26579 Remove libc_fegetround* and libc_fesetround*.
26580 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
26581 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
26582 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
26583 of HAS_YMM_USABLE.
26584 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26585 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26586 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26587 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26588 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26589
73139a76
UD
26590 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
26591
d73f93a4
AZ
265922012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26593
26594 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
26595 size is not set.
26596 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26597
6ee65ed6
UD
265982012-01-27 Ulrich Drepper <drepper@gmail.com>
26599
26600 [BZ #13618]
26601 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
26602 relocation.
26603 * Makeconfig (libm): Define.
26604 * elf/Makefile: Add rules to build and run tst-relsort1.
26605 * elf/tst-relsort1.c: New file.
26606 * elf/tst-relsort1mod1.c: New file.
26607 * elf/tst-relsort1mod2.c: New file.
26608
8db21882
JM
266092012-01-27 Joseph Myers <joseph@codesourcery.com>
26610
26611 * math/s_ldexp.c: Remove __STDC__ conditionals.
26612 * math/s_ldexpf.c: Likewise.
26613 * math/s_ldexpl.c: Likewise.
26614 * math/s_nextafter.c: Likewise.
26615 * math/s_nexttowardf.c: Likewise.
26616 * math/s_significand.c: Likewise.
26617 * math/s_significandf.c: Likewise.
26618 * math/s_significandl.c: Likewise.
26619 * math/w_jnl.c: Likewise.
26620 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26621 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26622 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26623 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26624 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26625 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26626 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
26627 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26628 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26629 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26630 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26631 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26632 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26633 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26634 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26635 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26636 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26637 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26638 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26639 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26640 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26641 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26642 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26643 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26644 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26645 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26646 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26647 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26648 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26649 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26650 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26651 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26652 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26653 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26654 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26655 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26656 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26657 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26658 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26659 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26660 * sysdeps/ieee754/k_standard.c: Likewise.
26661 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26662 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26663 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26664 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26665 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26666 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26667 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26668 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26669 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26670 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26671 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26672 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26673 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26674 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26675 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26676 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26677 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26678 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26679 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26680 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26681 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26682 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26683 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26684 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26685 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26686 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26687 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26688 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26689 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26690 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26691 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26692 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
26693 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26694 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26695 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26696 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26697 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
26698 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26699 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26700 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
26701 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
26702 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26703 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26704 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
26705 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26706 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26707 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26708 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26709 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26710 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26711 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
26712 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26713 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26714 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26715 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26716 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26717 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
26718 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26719 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26720 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26721 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26722 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26723 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26724 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26725 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26726 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26727 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26728 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26729 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26730 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26731 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26732 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26733 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26734 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26735 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26736 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26737 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26738 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26739 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26740 * sysdeps/ieee754/s_matherr.c: Likewise.
26741 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26742 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26743 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26744 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26745
965a54a4
JM
267462012-01-26 Joseph Myers <joseph@codesourcery.com>
26747
26748 * crypt/md5.h: Remove __STDC__ conditionals.
26749 * libio/libioP.h: Likewise.
26750 * locale/programs/config.h: Likewise.
26751 * sysdeps/generic/sysdep.h: Likewise.
26752 * sysdeps/i386/asm-syntax.h: Likewise.
26753 * sysdeps/s390/asm-syntax.h: Likewise.
26754 * sysdeps/unix/sysdep.h: Likewise.
26755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26757
7071ad79
JM
267582012-01-26 Joseph Myers <joseph@codesourcery.com>
26759
26760 * libio/libio.h: Remove __STDC__ conditionals.
26761 * malloc/obstack.h: Likewise.
26762 * math/complex.h: Likewise.
26763 * math/math.h: Likewise.
26764 * sysdeps/generic/_G_config.h: Likewise.
26765 * sysdeps/gnu/_G_config.h: Likewise.
26766 * sysdeps/mach/hurd/_G_config.h: Likewise.
26767 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26768 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26769 * sysdeps/sparc/bits/mathdef.h: Likewise.
26770
afc5ed09
UD
267712012-01-26 Ulrich Drepper <drepper@gmail.com>
26772
26773 [BZ #13583]
26774 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 26775 Clean up HAS_* macros.
afc5ed09 26776 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
26777 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
26778 possible.
26779 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
26780 HAS_AVX.
26781 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26782 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26783 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26784 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26785 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 26786
bdb6de1d
JM
267872012-01-25 Joseph Myers <joseph@codesourcery.com>
26788
26789 * elf/tst-unique3.cc (gets): Remove declaration.
26790 * elf/tst-unique3lib.cc (gets): Likewise.
26791 * elf/tst-unique3lib2.cc (gets): Likewise.
26792 * elf/tst-unique4.cc (gets): Likewise.
26793
b15549e6
UD
267942012-01-24 Ulrich Drepper <drepper@gmail.com>
26795
26796 * include/stdio.h: Add C++ protection. Add gets declarations and
26797 definitions.
26798 * debug/tst-chk1.c: Don't declare gets here.
26799 * stdio-common/tst-gets.c: Likewise.
26800
a037381f
JM
268012012-01-24 Joseph Myers <joseph@codesourcery.com>
26802
26803 * posix/glob: Remove directory.
26804
f1d4aa75
JM
268052012-01-24 Joseph Myers <joseph@codesourcery.com>
26806
26807 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
26808
81c0c964
PT
268092012-01-22 Pino Toscano <toscano.pino@tiscali.it>
26810
26811 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
26812 of the non-standard EPFNOSUPPORT.
26813
0ea698ae
ST
268142011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
26815
26816 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
26817 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
26818 ANYWHERE set to 1 only on KERN_NO_SPACE error.
26819
d220b117
UD
268202012-01-21 Ulrich Drepper <drepper@gmail.com>
26821
26822 * wcsmbs/uchar.h: Test __STDC_VERSION__.
26823
3e1aa84e
UD
268242012-01-20 Ulrich Drepper <drepper@gmail.com>
26825
26826 * nscd/aicache.c (addhstaiX): Do not cache negative results of
26827 transient errors.
26828 * nscd/grpcache.c (cache_addgr): Likewise.
26829 * nscd/hstcache.c (cache_addhst): Likewise.
26830 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26831 * nscd/pwdcache.c (cache_addpw): Likewise.
26832 * nscd/servicescache.c (cache_addserv): Likewise.
26833
400aa020
UD
268342012-01-16 Ulrich Drepper <drepper@gmail.com>
26835
d77e7869
UD
26836 * malloc/malloc.c: Various cleanups.
26837 * malloc/hooks.c: Likewise.
26838
400aa020
UD
26839 * stdlib/Makefile (tests): Add bug-fmtmsg1.
26840 * stdlib/bug-fmtmsg1.c: New file.
26841
26842 * stdlib/fmtmsg.c (init): Add missing unlock.
26843 Patch by Peng Haitao <penght@cn.fujitsu.com>.
26844
e0a309cf
MP
268452012-01-12 Marek Polacek <polacek@redhat.com>
26846
26847 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
26848 and _GNU_SOURCE.
26849
929d11c7
WS
268502012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26851
26852 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
26853 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
26854 macro to ensure uniqueness of label name.
26855 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26856 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26857
41d0e869
UD
268582012-01-11 Ulrich Drepper <drepper@gmail.com>
26859
0cc5ed3b
UD
26860 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
26861
41d0e869
UD
26862 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
26863 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26864 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26865 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
26866
a47a831a
UD
268672012-01-10 Ulrich Drepper <drepper@gmail.com>
26868
daa891c0
UD
26869 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
26870
26871 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
26872 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26873 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26874
e58ef0f2
UD
26875 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
26876
a47a831a 26877 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
26878 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26879 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 26880 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
26881
26882 * math/bits/math-finite.h: Add ldexp support.
26883
a0bfc9c7
MP
268842012-01-10 Marek Polacek <polacek@redhat.com>
26885
26886 * locale/programs/localedef.h (show_archive_content): Add noreturn
26887 attribute.
26888
d6e97a1d
UD
268892012-01-09 Ulrich Drepper <drepper@gmail.com>
26890
26891 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
26892
d5835c26
UD
268932012-01-08 Ulrich Drepper <drepper@gmail.com>
26894
e5f484c6
UD
26895 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
26896
d5835c26
UD
26897 * io/Makefile (headers): Add bits/poll2.h.
26898
d1f741e9
WS
268992011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
26900
26901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
26902 typo #include statement.
26903
ec09c1c4
UD
269042012-01-08 Ulrich Drepper <drepper@gmail.com>
26905
26906 * include/sys/cdefs.h: Define __attribute_alloc_size.
26907 * catgets/gencat.c: Add alloc_size attribute and apply consistently
26908 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
26909 * elf/pldd.c: Likewise.
26910 * iconv/iconv_charmap.c: Likewise.
26911 * iconv/iconvconfig.c: Likewise.
26912 * iconv/strtab.c: Likewise.
26913 * locale/programs/locale.c: Likewise.
26914 * locale/programs/localedef.h: Likewise.
26915 * locale/programs/simple-hash.c: Likewise.
26916 * nscd/nscd.h: Likewise.
26917 * nss/makedb.c: Likewise.
26918 * sysdeps/generic/ldconfig.h: Likewise.
26919 * locale/programs/localedef.c: Remove xmalloc prototype.
26920 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
26921
20b38e03
PP
269222012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26923
26924 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
26925 appropriate.
26926
a0da5fe1
UD
269272012-01-08 Ulrich Drepper <drepper@gmail.com>
26928
1d5a644a 26929 * math/Makefile (tests): Add tst-CMPLX.
669704fd 26930 * math/tst-CMPLX.c: New file.
1d5a644a 26931
8784a6db
UD
26932 * math/complex.h (CMPLXL): Fix typo.
26933
d9a216c0
UD
26934 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
26935 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
26936 GLIBC_2.16.
26937 * debug/tst-chk1.c: Add poll and ppoll tests.
26938 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
26939 * include/sys/poll.h: Add hidden proto for ppoll.
26940 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
26941 * sysdeps/mach/hurd/ppoll.c: Likewise.
26942 * io/ppoll.c: Likewise.
26943 * debug/poll_chk.c: New file.
26944 * debug/ppoll_chk.c: New file.
26945 * include/bits/poll2.h: New file.
26946 * io/bits/poll2.h: New file.
26947
ac097f5c
UD
26948 [BZ #1350]
26949 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
26950
2119dcfa
UD
26951 * configure.in: static is always set to yes. Remove.
26952 * config.make.in: Don't set build-static.
26953 * Makeconfig: Remove use of build-static.
26954 * dlfcn/Makefile: Likewise.
26955 * elf/Makefile: Likewise.
26956 * math/Makefile: Likewise.
26957 * misc/Makefile: Likewise.
26958 * nptl/Makefile: Likewise.
26959 * sysdeps/mach/hurd/Makefile: Likewise.
26960
121766a9
UD
26961 * configure.in: PWD_P is not used anymore.
26962 * config.make.in: Remove PWD_P entry.
26963
51a1d39c 26964 * configure.in: Remove last remnants of RANLIB.
8720d066 26965 No need to check for signed size_t anymore.
215f4bdc
UD
26966 Don't set libc_commonpagesize and libc_relro_required here for Alpha
26967 and IA-64.
3857022a 26968 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
26969 * aclocal.m4: Likewise.
26970
d3ed7225
UD
26971 * wcsmbs/mbrtoc16.c: Implement using towc function.
26972 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
26973 * wcsmbs/wcsmbsload.c: Likewise.
26974 * iconv/gconv_simple.c: Likewise.
26975 * iconv/gconv_int.h: Likewise.
26976 * iconv/gconv_builtin.h: Likewise.
26977 * iconv/iconv_prog.c: Remove CHAR16 handling.
26978
26979 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
26980
26981 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
26982
a0da5fe1
UD
26983 * configure.in: Remove --with-elf and --enable-bounded options.
26984 Dont set base_machine for ia64. More non-ELF conditions removed.
26985 Remove testing and setting of leading underscore information.
26986 * config.make.in (build-bounded): Set to no.
26987 * config.h.in: Remove NO_UNDERSCORES entry.
26988 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
26989 them.
26990 * csu/start.c: Remove !NO_UNDERSCORE code.
26991 * locale/localeinfo.h: Likewise.
26992 * sysdeps/generic/machine-gmon.h: Likewise.
26993 * sysdeps/generic/sysdep.h: Likewise.
26994 * sysdeps/i386/sysdep.h: Likewise.
26995 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26996 * sysdeps/mach/sysdep.h: Likewise.
26997 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26998 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26999 * sysdeps/sh/sysdep.h: Likewise.
27000 * sysdeps/sparc/sparc32/alloca.S: Likewise.
27001 * sysdeps/unix/i386/sysdep.S: Likewise.
27002 * sysdeps/unix/sparc/start.c: Likewise.
27003 * sysdeps/unix/sparc/sysdep.S: Likewise.
27004 * sysdeps/unix/sparc/sysdep.h: Likewise.
27005 * sysdeps/unix/start.c: Likewise.
27006 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27007 * sysdeps/x86_64/sysdep.h: Likewise.
27008
df78418a
UD
270092012-01-07 Ulrich Drepper <drepper@gmail.com>
27010
a784e502
UD
27011 [BZ #13553]
27012 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
27013 for non-gcc.
27014 * argp/argp-fmtstream.h: Use const instead __const.
27015 * argp/argp.h: Likewise.
27016 * assert/assert.h: Likewise.
27017 * bits/fenv.h: Likewise.
27018 * bits/sched.h: Likewise.
27019 * bits/sigset.h: Likewise.
27020 * bits/sigthread.h: Likewise.
27021 * catgets/nl_types.h: Likewise.
27022 * conform/data/pthread.h-data: Likewise.
27023 * crypt/crypt-private.h: Likewise.
27024 * crypt/crypt.h: Likewise.
27025 * crypt/crypt_util.c: Likewise.
27026 * ctype/ctype.h: Likewise.
27027 * debug/execinfo.h: Likewise.
27028 * debug/mbsnrtowcs_chk.c: Likewise.
27029 * debug/mbsrtowcs_chk.c: Likewise.
27030 * debug/wcsnrtombs_chk.c: Likewise.
27031 * debug/wcsrtombs_chk.c: Likewise.
27032 * debug/wcstombs_chk.c: Likewise.
27033 * dirent/dirent.h: Likewise.
27034 * dlfcn/dlfcn.h: Likewise.
27035 * elf/neededtest4.c: Likewise.
27036 * grp/grp.h: Likewise.
27037 * gshadow/gshadow.h: Likewise.
27038 * iconv/gconv.h: Likewise.
27039 * iconv/gconv_int.h: Likewise.
27040 * iconv/gconv_simple.c: Likewise.
27041 * iconv/iconv.h: Likewise.
27042 * iconv/loop.c: Likewise.
27043 * iconv/skeleton.c: Likewise.
27044 * include/aio.h: Likewise.
27045 * include/aliases.h: Likewise.
27046 * include/argz.h: Likewise.
27047 * include/arpa/inet.h: Likewise.
27048 * include/assert.h: Likewise.
27049 * include/dirent.h: Likewise.
27050 * include/dlfcn.h: Likewise.
27051 * include/execinfo.h: Likewise.
27052 * include/fcntl.h: Likewise.
27053 * include/fenv.h: Likewise.
27054 * include/glob.h: Likewise.
27055 * include/grp.h: Likewise.
27056 * include/libintl.h: Likewise.
27057 * include/mntent.h: Likewise.
27058 * include/netdb.h: Likewise.
27059 * include/pwd.h: Likewise.
27060 * include/rpc/netdb.h: Likewise.
27061 * include/sched.h: Likewise.
27062 * include/search.h: Likewise.
27063 * include/shadow.h: Likewise.
27064 * include/signal.h: Likewise.
27065 * include/stdio.h: Likewise.
27066 * include/stdlib.h: Likewise.
27067 * include/string.h: Likewise.
27068 * include/sys/socket.h: Likewise.
27069 * include/sys/stat.h: Likewise.
27070 * include/sys/statfs.h: Likewise.
27071 * include/sys/statvfs.h: Likewise.
27072 * include/sys/syslog.h: Likewise.
27073 * include/sys/time.h: Likewise.
27074 * include/sys/uio.h: Likewise.
27075 * include/time.h: Likewise.
27076 * include/unistd.h: Likewise.
27077 * include/utmp.h: Likewise.
27078 * include/wchar.h: Likewise.
27079 * include/wctype.h: Likewise.
27080 * inet/aliases.h: Likewise.
27081 * inet/arpa/inet.h: Likewise.
27082 * inet/netinet/ether.h: Likewise.
27083 * inet/netinet/in.h: Likewise.
27084 * intl/libintl.h: Likewise.
27085 * io/bits/fcntl2.h: Likewise.
27086 * io/fcntl.h: Likewise.
27087 * io/ftw.h: Likewise.
27088 * io/sys/poll.h: Likewise.
27089 * io/sys/stat.h: Likewise.
27090 * io/sys/statfs.h: Likewise.
27091 * io/sys/statvfs.h: Likewise.
27092 * io/utime.h: Likewise.
27093 * libio/bits/stdio.h: Likewise.
27094 * libio/bits/stdio2.h: Likewise.
27095 * libio/libio.h: Likewise.
27096 * libio/libioP.h: Likewise.
27097 * libio/stdio.h: Likewise.
27098 * locale/lc-ctype.c: Likewise.
27099 * locale/locale.h: Likewise.
27100 * login/utmp.h: Likewise.
27101 * malloc/arena.c: Likewise.
27102 * malloc/malloc.c: Likewise.
27103 * malloc/malloc.h: Likewise.
27104 * malloc/mcheck.c: Likewise.
27105 * malloc/mtrace.c: Likewise.
27106 * math/bits/mathcalls.h: Likewise.
27107 * math/fenv.h: Likewise.
27108 * math/math_private.h: Likewise.
27109 * misc/bits/error.h: Likewise.
27110 * misc/bits/syslog.h: Likewise.
27111 * misc/err.h: Likewise.
27112 * misc/error.h: Likewise.
27113 * misc/fstab.h: Likewise.
27114 * misc/mntent.h: Likewise.
27115 * misc/regexp.h: Likewise.
27116 * misc/search.h: Likewise.
27117 * misc/sgtty.h: Likewise.
27118 * misc/sys/mman.h: Likewise.
27119 * misc/sys/syslog.h: Likewise.
27120 * misc/sys/uio.h: Likewise.
27121 * misc/sys/xattr.h: Likewise.
27122 * misc/ttyent.h: Likewise.
27123 * nis/rpcsvc/ypclnt.h: Likewise.
27124 * nss/nss.h: Likewise.
27125 * posix/bits/unistd.h: Likewise.
27126 * posix/fnmatch.h: Likewise.
27127 * posix/glob.h: Likewise.
27128 * posix/sched.h: Likewise.
27129 * posix/spawn.h: Likewise.
27130 * posix/sys/wait.h: Likewise.
27131 * posix/unistd.h: Likewise.
27132 * posix/wordexp.h: Likewise.
27133 * pwd/pwd.h: Likewise.
27134 * resolv/netdb.h: Likewise.
27135 * resource/sys/resource.h: Likewise.
27136 * rt/aio.h: Likewise.
27137 * rt/bits/mqueue2.h: Likewise.
27138 * rt/mqueue.h: Likewise.
27139 * shadow/shadow.h: Likewise.
27140 * signal/signal.h: Likewise.
27141 * socket/send.c: Likewise.
27142 * socket/sendto.c: Likewise.
27143 * socket/sys/socket.h: Likewise.
27144 * stdio-common/printf.h: Likewise.
27145 * stdlib/bits/stdlib.h: Likewise.
27146 * stdlib/fmtmsg.h: Likewise.
27147 * stdlib/monetary.h: Likewise.
27148 * stdlib/stdlib.h: Likewise.
27149 * stdlib/ucontext.h: Likewise.
27150 * streams/stropts.h: Likewise.
27151 * string/argz.h: Likewise.
27152 * string/bits/string2.h: Likewise.
27153 * string/string.h: Likewise.
27154 * string/strings.h: Likewise.
27155 * sunrpc/rpc/auth.h: Likewise.
27156 * sunrpc/rpc/auth_des.h: Likewise.
27157 * sunrpc/rpc/clnt.h: Likewise.
27158 * sunrpc/rpc/netdb.h: Likewise.
27159 * sunrpc/rpc/pmap_clnt.h: Likewise.
27160 * sunrpc/rpc/xdr.h: Likewise.
27161 * sysdeps/generic/inttypes.h: Likewise.
27162 * sysdeps/generic/net/if.h: Likewise.
27163 * sysdeps/generic/sys/swap.h: Likewise.
27164 * sysdeps/gnu/net/if.h: Likewise.
27165 * sysdeps/gnu/utmpx.h: Likewise.
27166 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
27167 * sysdeps/i386/i486/bits/string.h: Likewise.
27168 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
27169 * sysdeps/s390/bits/string.h: Likewise.
27170 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
27171 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
27172 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27173 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
27174 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
27175 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
27176 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
27177 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
27178 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
27179 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27180 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
27181 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27182 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
27183 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27184 * sysdeps/unix/sysv/linux/readv.c: Likewise.
27185 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
27186 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27187 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27188 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27189 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27190 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27191 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
27192 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
27193 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
27194 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
27195 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
27196 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
27197 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27198 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
27199 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
27200 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
27201 * sysvipc/sys/ipc.h: Likewise.
27202 * sysvipc/sys/msg.h: Likewise.
27203 * sysvipc/sys/sem.h: Likewise.
27204 * sysvipc/sys/shm.h: Likewise.
27205 * termios/termios.h: Likewise.
27206 * time/sys/time.h: Likewise.
27207 * time/time.h: Likewise.
27208 * wcsmbs/bits/wchar2.h: Likewise.
27209 * wcsmbs/uchar.h: Likewise.
27210 * wcsmbs/wchar.h: Likewise.
27211 * wctype/wctype.h: Likewise.
27212
0269750c
UD
27213 [BZ #13551]
27214 * Makeconfig: Remove all but ELF support including AIX support.
27215 * Makerules: Likewise.
27216 * config.h.in: Likewise.
27217 * config.make.in: Likewise.
27218 * configure: Likewise.
27219 * configure.in: Likewise.
27220 * csu/Makefile: Likewise.
27221 * csu/version.c: Likewise.
27222 * debug/Makefile: Likewise.
27223 * dlfcn/Makefile: Likewise.
27224 * elf/Makefile: Likewise.
27225 * extra-lib.mk: Likewise.
27226 * iconv/Makefile: Likewise.
27227 * include/libc-symbols.h: Likewise.
27228 * include/shlib-compat.h: Likewise.
27229 * resolv/Makefile: Likewise.
27230 * resolv/res_libc.c: Likewise.
27231 * rt/Makefile: Likewise.
27232 * sysdeps/i386/asm-syntax.h: Likewise.
27233 * sysdeps/i386/sysdep.h: Likewise.
27234 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27235 * sysdeps/mach/sysdep.h: Likewise.
27236 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
27237 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
27238 * sysdeps/s390/asm-syntax.h: Likewise.
27239 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27240 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27241 * sysdeps/sh/sysdep.h: Likewise.
27242 * sysdeps/unix/sparc/sysdep.h: Likewise.
27243 * sysdeps/wordsize-32/divdi3.c: Likewise.
27244 * sysdeps/x86_64/sysdep.h: Likewise.
27245
00bbd29b
UD
27246 * argp/Versions: Remove _argp_unlock_xxx.
27247
27248 [BZ #13559]
27249 * abilist/ld.abilist: Update. Adjust for removal of tls option.
27250 * abilist/libBrokenLocale.abilist: Likewise.
27251 * abilist/libanl.abilist: Likewise.
27252 * abilist/libc.abilist: Likewise.
27253 * abilist/libcrypt.abilist: Likewise.
27254 * abilist/libdl.abilist: Likewise.
27255 * abilist/libm.abilist: Likewise.
27256 * abilist/libnsl.abilist: Likewise.
27257 * abilist/libpthread.abilist: Likewise.
27258 * abilist/libresolv.abilist: Likewise.
27259 * abilist/librt.abilist: Likewise.
27260 * abilist/libthread_db.abilist: Likewise.
27261 * abilist/libutil.abilist: Likewise.
27262 * abilist/libnss_db.abilist: New file.
27263
27264 * scripts/abilist.awk: Add support for indirect functions.
27265
a2693a0e
UD
27266 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
27267
3f05895f
UD
27268 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
27269
ecb6fb48
UD
27270 * shlib-versions: Remove entries for ports architectures.
27271
664f8cb9
UD
27272 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
27273 files in ports.
27274 * elf/stackguard-macros.h: Remove support for IA-64.
27275 * elf/tst-auditmod1.c: Likewise.
27276 * sysdeps/generic/ldsodefs.h: Likewise.
27277
7ae81d88
UD
27278 * sysdeps/unix/sysv/linux/configure.in: Ports should define
27279 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
27280 configure files.
27281
bdeba135
UD
27282 [BZ #13552]
27283 * configure.in: Remove --enable-omitfp support.
27284 * FAQ.in: Adjust.
27285 * config.make.in: Likewise.
27286 * Makeconfig: Likewise.
27287 * manual/install.texi: Likewise.
27288
d75a0a62
UD
27289 In case anyone cares, the IA-64 architecture could move to ports.
27290 * sysdeps/ia64/*: Removed.
27291 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 27292 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 27293
dcc9756b
UD
27294 [BZ #13555]
27295 * configure.in: Remove entries for unsupported architectures.
27296
d3761ebc 27297 [BZ #13533]
9954432e
UD
27298 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
27299 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
27300 routines.
27301 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
27302 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
27303 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
27304 fall back to using wcrtomb.
27305 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
27306 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
27307 renaming.
27308 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
27309 * wcsmbs/tst-c16c32-1.c: New file.
27310
27311 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
27312 local variable.
27313
c3a87236
UD
27314 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
27315
28926a1b
UD
27316 * elf/tst-unique3.cc: Add explicit declaration of gets.
27317 * elf/tst-unique3lib.cc: Likewise.
27318 * elf/tst-unique3lib2.cc: Likewise.
27319 * elf/tst-unique4.cc: Likewise.
27320
df78418a
UD
27321 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
27322
8ecd6b2a
JM
273232012-01-06 Joseph Myers <joseph@codesourcery.com>
27324
27325 [BZ #13566]
27326 * assert/assert.h (static_assert): Don't define for C++.
27327 * libio/stdio.h (gets): Do declare for C++ <= C++11.
27328 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
27329
9f115170
UD
273302012-01-03 Ulrich Drepper <drepper@gmail.com>
27331
5e0d0300
UD
27332 * iconv/loop.c (single loop): Fix assertion in storing of
27333 remaining bytes.
27334
9f115170
UD
27335 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
27336
81fb02b0
UD
273372012-01-01 Ulrich Drepper <drepper@gmail.com>
27338
27339 * posix/getconf.c: Update copyright year.
27340 * nss/getent.c: Likewise.
a316c1f6 27341 * nss/makedb.c: Likewise.
81fb02b0
UD
27342 * iconv/iconvconfig.c: Likewise.
27343 * iconv/iconv_prog.c: Likewise.
27344 * elf/ldconfig.c: Likewise.
a316c1f6
UD
27345 * elf/pldd.c: Likewise.
27346 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
27347 * catgets/gencat.c: Likewise.
27348 * csu/version.c: Likewise.
27349 * elf/ldd.bash.in: Likewise.
27350 * elf/sprof.c (print_version): Likewise.
27351 * locale/programs/locale.c: Likewise.
27352 * locale/programs/localedef.c: Likewise.
a316c1f6 27353 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
27354 * nscd/nscd.c (print_version): Likewise.
27355 * debug/xtrace.sh: Likewise.
27356 * malloc/memusage.sh: Likewise.
27357 * malloc/mtrace.pl: Likewise.
27358 * debug/catchsegv.sh: Likewise.
27359
2ba92745
JJ
273602011-12-30 Jakub Jelinek <jakub@redhat.com>
27361
27362 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
27363 pure attribute.
27364
dadebdae
UD
273652011-12-24 Ulrich Drepper <drepper@gmail.com>
27366
d3761ebc 27367 [BZ #13533]
db6af3eb
UD
27368 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
27369 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
27370 transformations.
27371 * iconv/gconv_int.h: Likewise.
27372 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
27373 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
27374 from libc for GLIBC_2.16.
27375 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
27376 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
27377 * wcsmbs/uchar.h: Really define mbstate_t.
27378 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
27379 * wcsmbs/c16rtomb.c: New file.
27380 * wcsmbs/mbrtoc16.c: New file.
27381 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
27382 for C/POSIX locale.
27383 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
27384 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
27385
dadebdae
UD
27386 * wcsmbs/wchar.h: Add missing __restrict.
27387
67371b56
UD
273882011-12-23 Ulrich Drepper <drepper@gmail.com>
27389
74033a25
UD
27390 [BZ #13532]
27391 * time/Makefile (routines): Add timespec_get.
27392 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
27393 * time/time.h: Define TIME_UTC and declare timespec_get. Define
27394 timespec for ISO C11.
27395 * time/timespec_get.c: New file.
27396 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
27397 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
27398
380d7e87
UD
27399 [BZ #13531]
27400 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
27401 * stdlib/stdlib.h: Declare aligned_alloc.
27402 * Versions.def: Add GLIBC_2.16 for libc.
27403 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
27404
4e9e7a35
UD
27405 [BZ 13527]
27406 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
27407 ISO C11.
27408
380d7e87 27409 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
27410 code.
27411
03a71829
UD
27412 [BZ #13528]
27413 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
27414
839e283e
UD
27415 [BZ #13529]
27416 * assert/assert.h (static_assert): Define.
27417
ce5294e2 27418 * version.h: Update for 2.16 development version.
90fa7312 27419
8d44e150 27420 [BZ #13526]
d7809905
UD
27421 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
27422 _ISOC11_SOURCE.
27423
c0da14cd
UD
27424 * version.h (RELEASE): Bump for 2.15 release.
27425 * include/features.h (__GLIBC_MINOR__): Bump to 15.
27426
530a3249
MP
27427 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
27428 Patch by Marek Polacek <mpolacek@redhat.com>.
27429
67371b56
UD
27430 * bits/byteswap.h: Protect long long constants with __extension__.
27431 * sysdeps/i386/bits/byteswap.h: Likewise.
27432 * sysdeps/ia64/bits/byteswap.h: Likewise.
27433 * sysdeps/s390/bits/byteswap.h: Likewise.
27434 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27435
15db4de1
LD
274362011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27437
27438 [BZ #13540]
bbe315ea
LD
27439 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
27440 destination buffer.
15db4de1
LD
27441 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27442
2b2596b1
MP
274432011-12-23 Marek Polacek <polacek@redhat.com>
27444
27445 * elf/dl-addr.c (determine_info): Add inline keyword.
27446 * elf/tst-auditmod4b.c (check_avx): Likewise.
27447 * elf/tst-auditmod6b.c (check_avx): Likewise.
27448 * elf/tst-auditmod6c.c (check_avx): Likewise.
27449 * elf/tst-auditmod7b.c (check_avx): Likewise.
27450
70c6c246
UD
274512011-12-23 Ulrich Drepper <drepper@gmail.com>
27452
27453 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
27454 !__SSE_MATH__.
27455
c044cf14
LD
274562011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27457
15db4de1 27458 [BZ #13540]
c044cf14
LD
27459 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
27460 processing for last bytes.
27461
6b13d9d9
BH
274622011-08-06 Bruno Haible <bruno@clisp.org>
27463
d455f537
BH
27464 [BZ #13061]
27465 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
27466 U+0385, not to U+1FEE.
27467
6b13d9d9
BH
27468 [BZ #13062]
27469 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
27470 entry for U+00A5 U+0301.
27471
db910efd
UD
274722011-12-22 Ulrich Drepper <drepper@gmail.com>
27473
27deeafc
UD
27474 [BZ #13166]
27475 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
27476 buffer for the output is too small.
27477
aed9d171
UD
27478 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
27479 optimization.
27480
db910efd
UD
27481 [BZ #13185]
27482 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
27483 SSE flags if possible.
27484
2bd779ae
LD
274852011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27486
e7f9dac3 27487 [BZ #13540]
2bd779ae
LD
27488 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
27489 processing for last bytes.
27490
154bfc16
JM
274912011-12-22 Joseph Myers <joseph@codesourcery.com>
27492
27493 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
27494 (syscall-list-default-options, syscall-list-default-condition)
27495 (syscall-list-includes): Define.
27496 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
27497 list of ABIs and options and #if conditions for each ABI. Do not
27498 handle common syscalls between ABIs specially.
27499 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
27500 Remove.
27501 (syscall-list-variants, syscall-list-32bit-options)
27502 (syscall-list-32bit-condition, syscall-list-64bit-options)
27503 (syscall-list-64bit-condition): Define.
27504 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
27505 (syscall-list-variants, syscall-list-32bit-options)
27506 (syscall-list-32bit-condition, syscall-list-64bit-options)
27507 (syscall-list-64bit-condition): Define.
27508 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
27509 Remove.
27510 (syscall-list-variants, syscall-list-32bit-options)
27511 (syscall-list-32bit-condition, syscall-list-64bit-options)
27512 (syscall-list-64bit-condition): Define.
27513 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
27514 Remove.
27515 (syscall-list-variants, syscall-list-32bit-options)
27516 (syscall-list-32bit-condition, syscall-list-64bit-options)
27517 (syscall-list-64bit-condition): Define.
27518
21eaf3a5
UD
275192011-12-22 Ulrich Drepper <drepper@gmail.com>
27520
16c6f992
UD
27521 * locale/iso-639.def: Add brx entry.
27522
41043168
UD
27523 [BZ #13328]
27524 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
27525 Proposed by Mariusz_Cukr <marcukr@op.pl>.
27526
21eaf3a5
UD
27527 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
27528 __feraiseexcept_renamed.
27529
e3a851a2
UD
275302011-12-21 Ulrich Drepper <drepper@gmail.com>
27531
4920765e
UD
27532 [BZ #13538]
27533 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
27534 EPOLLET with unsigned values.
27535 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27536 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27537
e3a851a2
UD
27538 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
27539 to large cancellation.
27540 * math/s_cacoshf.c: Likewise.
27541 * math/s_cacoshl.c: Likewise.
27542
b27e24b8
RK
275432011-11-18 Richard B. Kreckel <kreckel@ginac.de>
27544
27545 [BZ #13305]
aebefeee 27546 [BZ #12786]
b27e24b8
RK
27547 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
27548 * math/s_cacoshf.c: Likewise.
27549 * math/s_cacoshl.c: Likewise.
27550
ee190f67
UD
275512011-12-21 Ulrich Drepper <drepper@gmail.com>
27552
27553 [BZ #13439]
27554 * iconv/gconv.h: Define __GCONV_SWAP.
27555 * iconvdata/unicode.c: The swap bit must be stored in __flags.
27556 * iconvdata/utf-16.c: Likewise.
27557 * iconvdata/utf-32.c: Likewise.
27558
707f25df
AS
275592011-12-21 Andreas Schwab <schwab@linux-m68k.org>
27560
27561 [BZ #13524]
27562 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
27563 numerator after shifting it by one limb.
27564
d2daaa1e
RÁE
275652011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
27566
27567 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
27568 under [__USE_EXTERN_INLINES].
27569
a4647e72
UD
275702011-12-17 Ulrich Drepper <drepper@gmail.com>
27571
27572 [BZ #13446]
27573 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
27574
f0b264f1
AZ
275752011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27576
27577 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
27578 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
27579 optimized code.
27580 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
27581 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
27582 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
27583 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
27584 for strncasecmp/strncasecmp_l compilation.
27585 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
27586 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
27587
8ef4f244
MP
275882011-12-08 Marek Polacek <mpolacek@redhat.com>
27589
27590 [BZ #13484]
27591 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
27592 of __asm__.
27593
97ac2654
UD
275942011-12-17 Ulrich Drepper <drepper@gmail.com>
27595
27596 [BZ #13506]
27597 * time/tzfile.c (__tzfile_read): Check values from file header.
27598
91d2a845
WS
275992011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27600
27601 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
27602 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
27603 * powerpc/powerpc32/dl-start.S: Likewise.
27604 * powerpc/powerpc32/elf/start.S: Likewise.
27605 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27606 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
27607 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
27608 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
27609 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27610 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
27611 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
27612 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27613 * powerpc/powerpc32/fpu/s_round.S: Likewise.
27614 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27615 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27616 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27617 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27618 * powerpc/powerpc32/memset.S: Likewise.
27619 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27620 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27621 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27622 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27623 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27624 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27625 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27626 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27627 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
27628 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
27629 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
27630 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27631 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27632
a1267ba1
AZ
276332011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27634
27635 * math/libm-test.inc: Added more nearbyint tests.
27636 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
27637 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
27638 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
27639 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
27640
ad8ac1bd
RL
276412011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
27642
27643 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
27644 FD_CLOEXEC.
27645
1d3e4b61
UD
276462011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27647
27648 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
27649 Add wcscpy-ssse3 wcscpy-c.
27650 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
27651 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
27652 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
27653 * sysdeps/x86_64/wcschr.S: New file.
27654 * sysdeps/x86_64/wcsrchr.S: New file.
27655 * string/test-strcmp.c: Remove checking of wcscmp function for
27656 wrong alignments.
27657 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
27658 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
27659 wcsrchr-sse2 wcsrchr-c.
27660 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
27661 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
27662 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
27663 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
27664 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
27665 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
27666 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
27667 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
27668 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
27669 * wcsmbc/wcschr.c (WCSCHR): New macro.
27670
5b330a2d
UD
276712011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27672
27673 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
27674 * wcsmbs/test-wcsrchr.c: New file.
27675 * string/test-strrchr.c: Add wcsrchr support.
27676 (WIDE): New macro.
27677 * wcsmbs/test-wcscpy.c: New file.
27678 * string/test-strcpy.c: Add wcscpy support.
27679 (WIDE): New macro.
26428b7c 27680
f039c043
UD
276812011-12-10 Ulrich Drepper <drepper@gmail.com>
27682
27683 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
27684 the inner loop.
27685
850fb039
AS
276862011-12-06 Andreas Schwab <schwab@linux-m68k.org>
27687
27688 [BZ #13472]
27689 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
27690
4efbd5cb
UD
276912011-12-04 Ulrich Drepper <drepper@gmail.com>
27692
52ff5dd0 27693 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 27694 Minor optimizations.
52ff5dd0 27695
4efbd5cb
UD
27696 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
27697 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
27698 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27699
8a426e12
UD
277002011-12-03 Ulrich Drepper <drepper@gmail.com>
27701
aff2453d
UD
27702 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
27703 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
27704 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
27705 for gcc to avoid warnings.
27706 * inet/Makefile (tests): Add tst-checks.
27707 * inet/tst-checks.c: New file.
27708
27709 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
27710 warning.
27711
27712 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
27713 __wmemcmp_sse2.
27714
27715 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
27716 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
27717
8a426e12
UD
27718 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
27719
9bea3473
UD
277202011-12-02 Ulrich Drepper <drepper@gmail.com>
27721
3a965496
UD
27722 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
27723 problem.
27724
9bea3473
UD
27725 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
27726
f101631b
UD
277272011-11-29 Joseph Myers <joseph@codesourcery.com>
27728
27729 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
27730 conditional on GCC version.
27731 (__arch_compare_and_exchange_val_8_acq)
27732 (__arch_compare_and_exchange_val_16_acq)
27733 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
27734 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
27735 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
27736
a98275aa
UD
277372011-12-02 Joseph Myers <joseph@codesourcery.com>
27738
27739 * sysdeps/sh/backtrace.c: New file.
27740
d4cc29a2
AS
277412011-12-02 Andreas Schwab <schwab@redhat.com>
27742
27743 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
27744 parenthesis.
27745
6257af2d
AS
277462011-12-01 Andreas Schwab <schwab@redhat.com>
27747
27748 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
27749 falling back to utime.
27750
b5f44c1a
AS
277512011-11-30 Andreas Schwab <schwab@redhat.com>
27752
27753 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
27754 expectations for float.
27755
f3a6cc0a
AS
277562011-11-29 Andreas Schwab <schwab@redhat.com>
27757
27758 * locale/weight.h (findidx): Add parameter len.
27759 * locale/weightwc.h (findidx): Likewise.
27760 * posix/fnmatch_loop.c (FCT): Adjust caller.
27761 * posix/regcomp.c (build_equiv_class): Likewise.
27762 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
27763 * posix/regexec.c (check_node_accept_bytes): Likewise.
27764 * string/strcoll_l.c (STRCOLL): Likewise.
27765 * string/strxfrm_l.c (STRXFRM): Likewise.
27766
9d65ea3a
UD
277672011-11-17 Ulrich Drepper <drepper@gmail.com>
27768
27769 * Makefile.in: Remove CVSOPT handling.
27770 * configure.in: Remove use of AC_REVISION.
27771 * iconvdata/Makefile (distribute): No need to filter out CVS.
27772 * scripts/list-sources.sh: Remove CVS, subversion and monotone
27773 handling.
27774
5583a086
AS
277752011-11-16 Andreas Schwab <schwab@redhat.com>
27776
27777 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
27778 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
27779 [USE_AS_STRNCASECMP_L]: Likewise.
27780 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
27781 NO_TLS_DIRECT_SEG_REFS.
27782 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
27783 Fix argument offsets for non-PIC.
27784 [USE_AS_STRNCASECMP_L]: Likewise.
27785 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
27786 NO_TLS_DIRECT_SEG_REFS.
27787
d62a8200
UD
277882011-11-15 Ulrich Drepper <drepper@gmail.com>
27789
9d65ea3a 27790 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
27791 O_CLOEXEC.
27792 * locale/loadlocale.c (_nl_load_locale): Likewise.
27793
09f93bd3
AS
277942011-11-15 Andreas Schwab <schwab@redhat.com>
27795
446514f9
AS
27796 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
27797 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
27798 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
27799 (SYSCALL_GETTIME): Set errno on error.
27800
09f93bd3
AS
27801 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
27802 count references to noai6ai_cached.
27803
312be3f9
UD
278042011-11-15 Ulrich Drepper <drepper@gmail.com>
27805
27806 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
27807
27808 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
27809 FD_CLOEXEC for /proc/self/maps.
27810
27811 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
27812 FD_CLOEXEC for /proc/meminfo.
27813
27814 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
27815 gai.conf.
27816
27817 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
27818 FD_CLOEXEC for given file.
27819
27820 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
27821
27822 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
27823 FD_CLOEXEC for /etc/hosts.
27824 (_gethtent): Likewise.
27825
27826 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
27827
27828 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
27829 cancellation and set FD_CLOEXEC for /etc/netgroup.
27830
27831 * nss/nss_files/files-key.c (search): Don't allow cancellation when
27832 reading /etc/publickey.
27833
27834 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
27835 allow cancellation when reading /etc/group.
27836
27837 * nss/nss_files/files-alias.c (internal_setent): Don't allow
27838 cancellation.
27839 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
27840
27841 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
27842 when using data file.
27843
27844 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
27845
27846 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
27847 (write_nis_obj): Use "c" and "e" in fopen.
27848
27849 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
27850
27851 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
27852
27853 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
27854
27855 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
27856
27857 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
27858 locale.alias.
27859
27860 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
27861
27862 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
27863
27864 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
27865
27866 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
27867 file parsing and set FD_CLOEXEC.
27868
82af0fa8
UD
278692011-11-14 Ulrich Drepper <drepper@gmail.com>
27870
27871 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
27872
a5fb313c
AS
278732011-11-14 Andreas Schwab <schwab@redhat.com>
27874
27875 * malloc/arena.c (arena_get2): Don't call reused_arena when
27876 _int_new_arena failed.
27877
6abf3465
UD
278782011-11-14 Ulrich Drepper <drepper@gmail.com>
27879
27880 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
27881 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
27882 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
27883 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27884 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27885 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
27886 to compile strcasecmp and strncasecmp.
27887 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
27888 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
27889
27890 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
27891
76e3966e
UD
278922011-11-13 Ulrich Drepper <drepper@gmail.com>
27893
27894 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
27895 locale-defines.sym to gen-as-const-headers.
27896 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
27897 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
27898 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
27899 to compile strcasecmp and strncasecmp.
27900 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
27901 strcasecmp_l and strncasecmp_l.
27902 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
27903 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
27904 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
27905 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
27906 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
27907 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
27908 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
27909 * sysdeps/i386/i686/multiarch/strncase.S: New file.
27910 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
27911 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
27912 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
27913
ab26144e
UD
279142011-11-12 Ulrich Drepper <drepper@gmail.com>
27915
7edb22ef
UD
27916 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
27917 result of SYSDEP_GETTIME_CPU to retval.
27918 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
27919 parameter list to macro. Remove trailing semicolon. Adjust users.
27920
9694fc44
UD
27921 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
27922 variable.
27923
8ad89ef8
UD
27924 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
27925 mantissa words.
27926 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27927
0c822ef9
UD
27928 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
27929 from unused variable.
27930
874e0564
UD
27931 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
27932 DWARF definitions.
27933 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
27934 for assembling.
27935
3a2edc79
UD
27936 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
27937 over namespaces.
27938
f3c2577f
UD
27939 * sunrpc/rpc_prot.c (rejected): Fix case value.
27940
294ce126
UD
27941 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
27942 unsigned long long int to avoid warnings in shift.
27943
5e2b63c6
UD
27944 * posix/regex_internal.c (re_string_reconstruct): Actually use result
27945 of use of trans.
27946 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
27947 variable tmp.
27948
e7f4b08e
UD
27949 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
27950 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27951 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27952
ab26144e
UD
27953 * nis/nis_table.c (nis_list): Use variable of correct type for
27954 result of __follow_path call.
27955
8a6d5255
AZ
279562011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27957
27958 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
27959 of math functions ceil, trunc, floor, round, and sqrt, when
27960 avaliable on the platform.
27961 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
27962 name clash.
27963 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27964 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27965 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27966
aaddc98c
MP
279672011-10-30 Marek Polacek <mpolacek@redhat.com>
27968
27969 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
27970 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27971
95b7042b
RM
279722011-11-11 Roland McGrath <roland@hack.frob.com>
27973
27974 * include/unistd.h: Fix __readlink return type.
27975 Reported by Chris Metcalf <cmetcalf@tilera.com>.
27976
57769839
UD
279772011-11-11 Ulrich Drepper <drepper@gmail.com>
27978
27979 * stdlib/ucontext.h: Undo last change for makecontext.
27980
edc5984d
AS
279812011-11-11 Andreas Schwab <schwab@redhat.com>
27982
98591e58
AS
27983 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
27984
edc5984d
AS
27985 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
27986 * setjmp/setjmp.h: Mark functions as non-leaf.
27987 * setjmp/bits/setjmp2.h: Likewise.
27988 * stdlib/ucontext.h: Likewise.
27989
77cdc054
AS
279902011-11-10 Andreas Schwab <schwab@redhat.com>
27991
27992 * malloc/arena.c (_int_new_arena): Don't increment narenas.
27993 (reused_arena): Don't check arena limit.
27994 (arena_get2): Atomically check arena limit.
27995
fe72eebd
UD
279962011-11-08 Ulrich Drepper <drepper@gmail.com>
27997
5f078c32
UD
27998 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
27999 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
28000
fe72eebd
UD
28001 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
28002 instructions.
28003
ae1bc2fa
AS
280042011-11-07 Andreas Schwab <schwab@redhat.com>
28005
7583a88d
AS
28006 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
28007 handler when locking.
28008
ae1bc2fa
AS
28009 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28010 Fix size of allocated buffer.
28011
10fb0bfa
AS
280122011-11-04 Andreas Schwab <schwab@redhat.com>
28013
998832a4
AS
28014 [BZ #10103]
28015 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
28016 declarations for long double functions.
28017 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
28018
10fb0bfa
AS
28019 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
28020
3d7ba52b
AS
280212011-11-03 Andreas Schwab <schwab@redhat.com>
28022
a9ae54a1
AS
28023 * nscd/nscd.c (main): Don't start AVC thread until credentials are
28024 installed.
28025
3d7ba52b
AS
28026 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
28027 is disabled.
28028
bc8db248
ST
280292011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
28030
28031 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
28032
45b96dd6
AS
280332011-11-01 Andreas Schwab <schwab@linux-m68k.org>
28034
647776f6
AS
28035 * include/alloca.h (stackinfo_alloca_round): Define.
28036 (extend_alloca): Use it.
28037 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
28038 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
28039 here.
28040
d91a8b93
AS
28041 * scripts/check-local-headers.sh: Ignore libaudit.h.
28042
45b96dd6
AS
28043 * nscd/Makefile (extra-objs): Make recursively expanded.
28044
432d41ce
UD
280452011-11-01 Ulrich Drepper <drepper@gmail.com>
28046
34372fc6
UD
28047 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
28048 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28049
fadb59f8
UD
28050 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
28051 * posix/tst-rfc3484-2.c: Likewise.
28052 * posix/tst-rfc3484-3.c: Likewise.
28053
78239589
UD
28054 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28055 process_vm_writev.
28056 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
28057 process_vm_writev.
28058 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
28059 process_vm_writev from libc using GLIBC_2.15 version.
28060
432d41ce
UD
28061 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
28062
02f9c6cf
PP
280632011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
28064
28065 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
28066 stack usage.
28067
3a2c0242
UD
280682011-10-31 Ulrich Drepper <drepper@gmail.com>
28069
f4ec4833
UD
28070 [BZ #13367]
28071 * nss/getent.c (initgroups_keys): Show error message in case no group
28072 names are given.
28073
3a2c0242
UD
28074 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
28075 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
28076 __bump_nl_timestamp.
28077 * nscd/connections (nscd_init): When host database is served open
28078 netlink socket and request notification about configuration changes.
28079 (main_loop_poll): Track netlink file descriptor and bump timestamp
28080 in case data becomes available.
28081 (main_loop_epoll): Likewise.
28082 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
28083 (database_pers_head): Add extra_data fileds.
28084 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
28085 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
28086 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
28087 Adjust caller.
28088 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
28089 in6ai data, call __free_in6ai.
28090 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
28091 Add -DHAVE_NETLINK.
28092 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
28093 interface information. Reuse previous data if netlink timestamp
28094 is not changed.
28095 (__bump_nl_timestamp): New function.
28096 (__free_in6ai): New function.
28097
636064eb
UD
280982011-10-30 Ulrich Drepper <drepper@gmail.com>
28099
28100 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
28101 close_not_cancel_no_status here.
28102 (__check_pf): Reorganize code a bit to not call close twice if OOM.
28103
9beb2334
UD
281042011-10-29 Ulrich Drepper <drepper@gmail.com>
28105
6ef76f3b
UD
28106 [BZ #13276]
28107 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
28108 return value.
28109
0ffc4f3e 28110 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
28111 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
28112 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
28113
cb95113e
UD
281142011-07-03 Andreas Jaeger <aj@suse.de>
28115
28116 [BZ #10709]
28117 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
28118 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
28119 * math/libm-test.inc (sin_test): Add test case.
28120
a1b560ff
UD
281212011-10-29 Ulrich Drepper <drepper@gmail.com>
28122
c9aaface
UD
28123 [BZ #13337]
28124 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
28125 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28126
d272e7f1
UD
28127 * elf/chroot_canon.c (chroot_canon): Cleanups.
28128
1bc33071
UD
28129 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
28130
1760874d
TJ
28131 [BZ #13335]
28132 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
28133 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28134
51d91b18
UD
28135 * string/test-strchr.c: Make usable for strchrnul testing.
28136 * string/test-strchrnul.c: New file.
28137 * string/Makefile (strop-tests): Add strchrnul.
28138
a1b560ff 28139 * po/it.po: Update from translation team.
b611fb81 28140 * po/es.po: Likewise.
a1b560ff 28141
a5b81e1f
UD
281422011-10-28 Ulrich Drepper <drepper@gmail.com>
28143
fd52bc6d
UD
28144 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
28145 the three constants needed as parameters. Drop the others.
28146 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
28147 __m128i_strloadu_tolower.
52e4b9eb
UD
28148 Create and initialize variable zero and use it in all the places
28149 where _mm_setzero_si128 was used.
fd52bc6d 28150
a5b81e1f
UD
28151 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
28152 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
28153 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
28154 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
28155 anymore.
28156 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
28157 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
28158 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
28159 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
28160 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
28161 __mpranred, __mptan.
28162 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
28163 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
28164 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
28165 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
28166 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
28167 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
28168 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
28169 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
28170 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
28171
b4343346
AS
281722011-10-28 Andreas Schwab <schwab@redhat.com>
28173
0c92d8a8
AS
28174 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
28175 redefine if SHARED.
28176 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
28177
b4343346
AS
28178 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
28179 wide char related routines to wcsmbs subdir.
28180
3871f58f
AS
281812011-10-27 Andreas Schwab <schwab@redhat.com>
28182
28183 [BZ #13344]
28184 * misc/sys/cdefs.h (__THROWNL): Define.
28185 * posix/unistd.h: Use __THREADNL instead of __THREAD
28186 for memory synchronization functions.
28187
94d44d9f
RM
281882011-10-26 Roland McGrath <roland@hack.frob.com>
28189
21b64b15 28190 [BZ #13349]
94d44d9f
RM
28191 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
28192 doesn't exist.
28193 * manual/stdio.texi (Obstack Streams): Node removed.
28194
f6ce9294
AS
281952011-10-26 Andreas Schwab <schwab@redhat.com>
28196
80479147
AS
28197 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
28198 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28199 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28200
f6ce9294
AS
28201 * math/math_private.h (math_force_eval): Allow non-addressable
28202 arguments.
28203 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
28204
618280a1
UD
282052011-10-25 Ulrich Drepper <drepper@gmail.com>
28206
e0016b11
UD
28207 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
28208 file is not needed.
28209
28210 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
28211 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28212 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28213 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28214 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28215 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28216 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28217 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
28218 Add AVX variants.
28219 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
28220 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
28221 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
28222 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
28223 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
28224 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
28225 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
28226 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
28227 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
28228 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
28229 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
28230 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
28231 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
28232 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
28233 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
28234 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
28235 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
28236 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
28237 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
28238
28239 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
28240 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
28241
618280a1
UD
28242 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
28243 place. Use VEX encoding when compiling for AVX.
28244
37822576
AS
282452011-10-25 Andreas Schwab <schwab@redhat.com>
28246
1f1e1947
AS
28247 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
28248 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28249
37822576
AS
28250 * string/test-strchr.c (do_test): Don't generate NUL bytes.
28251
31ea014d
UD
282522011-10-25 Ulrich Drepper <drepper@gmail.com>
28253
d7826aa1 28254 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 28255 useless if() expression.
d7826aa1
UD
28256 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28257 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28258 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28259 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28260 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28261 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28262 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28263 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28264 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28265 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28266 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28267 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28268 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28269 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28270 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28271 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28272 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28273 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28274 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28275
31ea014d
UD
28276 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
28277
16437fec
AS
282782011-10-25 Andreas Schwab <schwab@redhat.com>
28279
28280 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
28281 condition.
28282 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28283
31d3cc00
UD
282842011-10-25 Ulrich Drepper <drepper@gmail.com>
28285
28286 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
28287 .text section. Avoid duplicate constants.
28288 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28289 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28290 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28291 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28292 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28293 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28294 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28295 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28296 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28297 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
28298 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28299 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28300 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28301 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28302 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28303 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28304 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28305 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28306 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28307 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28308 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28309 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28310 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28311 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
28312 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
28313 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
28314 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
28315 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
28316 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
28317 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
28318 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
28319 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
28320 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28321 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
28322 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
28323 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
28324 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
28325 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
28326 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
28327 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
28328 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
28329 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
28330 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
28331 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
28332 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
28333
58985aa9
UD
283342011-10-24 Ulrich Drepper <drepper@gmail.com>
28335
202c9deb
UD
28336 * sysdeps/x86_64/dla.h: Move to ...
28337 * sysdeps/x86_64/fpu/dla.h: ...here.
28338 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
28339 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 28340
af968f62
UD
28341 * config.make.in: Add have-mfma4 entry.
28342 * configure.in: Substitute libc_cv_cc_fma4.
28343 * math/Makefile (dbl-only-routines): Add sincostab.
28344 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
28345 Use __sincostab not sincos.
28346 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
28347 name is a macro.
28348 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28349 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28350 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28351 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
28352 using __copysign.
28353 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
28354 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
28355 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
28356 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
28357 and __inv.
28358 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
28359 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
28360 __copysign.
28361 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
28362 define aliases when function name is a macro.
28363 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
28364 sysdeps/ieee754/dbl-64/sincos.tbl.
28365 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
28366 fma4-enabled routines.
28367 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
28368 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
28369 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
28370 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
28371 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
28372 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
28373 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
28374 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
28375 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
28376 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
28377 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
28378 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
28379 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
28380 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
28381 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
28382 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
28383 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
28384 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
28385 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
28386 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
28387 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
28388 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
28389 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
28390 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
28391 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
28392 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
28393 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
28394 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
28395 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
28396 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
28397
58985aa9
UD
28398 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
28399 rename.
28400 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28401 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28402 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28403 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28404 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28405 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28406 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28407 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28408
a201fbcf
AS
284092011-10-24 Andreas Schwab <schwab@redhat.com>
28410
28411 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
28412
fc2ee42a
LD
284132011-10-23 Ulrich Drepper <drepper@gmail.com>
28414
bb3129bd
UD
28415 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
28416
0275fff8
UD
28417 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
28418 prediction.
28419 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
28420
2fa2ae85
UD
28421 * string/strnlen.c: Don't define STRNLEN, reverse logic.
28422 Remove unused variable magic_bits.
28423 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
28424
fc2ee42a
LD
28425 * string/strnlen.c: Define and use STRNLEN macro.
28426 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
28427 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
28428 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
28429 * wcsmbs/wcslen.c: Define and use WCSLEN.
28430 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
28431 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
28432 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
28433 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
28434 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
28435 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
28436 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28437
ce7dd29f
LD
284382011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28439
28440 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28441 strnlen-sse2-no-bsf.
28442 Rename strlen-no-bsf to strlen-sse2-no-bsf.
28443 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
28444 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
28445 Add strnlen support.
28446 (USE_AS_STRNLEN): New macro.
28447 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
28448 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
28449 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
28450 * sysdeps/x86_64/wcslen.S: New file.
28451
979c70a3
MZ
284522011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
28453
28454 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28455 XMM-moves are used for copying on small sizes.
28456
2d09f82f
LD
284572011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28458
28459 * wcsmbs/Makefile (strop-tests): Add wcschr.
28460 * wcsmbs/test-wcschr.c: New file.
28461 * string/test-strchr.c: Update.
28462 Add wcschr support.
28463 (WIDE): New macro.
28464
619fccca
LD
284652011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28466
2d09f82f 28467 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
28468 * wcsmbs/test-wcslen.c: New file.
28469 * string/test-strlen.c: Update.
28470 Add wcslen support.
28471 (WIDE): New macro.
28472
09f699ea
UD
284732011-10-23 Ulrich Drepper <drepper@gmail.com>
28474
28475 * po/it.po: Update from translation team.
28476
95584d3b
LD
284772011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28478
28479 * sysdeps/x86_64/wcscmp.S: Update.
28480 Fix wrong comparison semantics.
28481 wcscmp shall use signed comparison not unsigned.
28482 Don't use substraction to avoid overflow bug.
28483 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
28484 * wcsmbc/wcscmp.c: Likewise.
28485 * string/test-strcmp.c: Likewise.
28486 Add new tests to check cases with negative values.
28487
c8b3296b
UD
284882011-10-23 Ulrich Drepper <drepper@gmail.com>
28489
28490 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
28491 * sysdeps/x86_64/dla.h: ...here. New file.
28492 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
28493 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28494 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28495 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28496 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28497 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28498 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28499 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28500 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28501
246ad57a
AS
285022011-10-23 Andreas Schwab <schwab@linux-m68k.org>
28503
28504 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
28505 __ynl_finite aliases.
28506
a1a87169
UD
285072011-10-22 Ulrich Drepper <drepper@gmail.com>
28508
0d355eb7
UD
28509 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28510
a1a87169
UD
28511 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
28512 define DLA_FMA.
28513 [DLA_FMA] (EMULV): Use DLA_FMA.
28514 [DLA_FMA] (MUL12): Use EMULV.
28515 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
28516 that are not needed.
28517 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28518 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28519 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28520 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28521 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28522 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28523 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28524
ee2aafe0
AS
285252011-10-22 Andreas Schwab <schwab@linux-m68k.org>
28526
28527 * math/s_nan.c: Undef __nan.
28528 * math/s_nanf.c: Undef __nanf.
28529 * math/s_nanl.c: Undef __nanl.
28530 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
28531 "math_private.h".
28532
bc62c2fb
UD
285332011-10-22 Ulrich Drepper <drepper@gmail.com>
28534
77425c63
UD
28535 * math/s_catan.c: Add branch predictions.
28536 * math/s_catanf.c: Likewise.
28537 * math/s_catanh.c: Likewise.
28538 * math/s_catanhf.c: Likewise.
28539 * math/s_catanhl.c: Likewise.
28540 * math/s_catanl.c: Likewise.
28541 * math/s_cexp.c: Likewise.
28542 * math/s_cexpf.c: Likewise.
28543 * math/s_cexpl.c: Likewise.
28544 * math/s_clog.c: Likewise.
28545 * math/s_clog10.c: Likewise.
28546 * math/s_clog10f.c: Likewise.
28547 * math/s_clog10l.c: Likewise.
28548 * math/s_clogf.c: Likewise.
28549 * math/s_clogl.c: Likewise.
28550 * math/s_csqrt.c: Likewise.
28551 * math/s_csqrtf.c: Likewise.
28552 * math/s_csqrtl.c: Likewise.
28553 * math/s_ctanf.c: Likewise.
28554 * math/s_ctanh.c: Likewise.
28555 * math/s_ctanhf.c: Likewise.
28556 * math/s_ctanhl.c: Likewise.
28557 * math/s_ctanl.c: Likewise.
28558
bc62c2fb
UD
28559 * math/math_private.h: Define __nan, __nanf, __nanl.
28560 * math/s_cacosh.c: Include <math_private.h>.
28561 * math/s_cacoshl.c: Likewise.
28562 * math/s_casinh.c: Likewise.
28563 * math/s_casinhf.c: Likewise.
28564 * math/s_casinhl.c: Likewise.
28565 * math/s_ccos.c: Rely entire on ccosh.
28566 * math/s_ccosf.c: Rely entire on ccoshf.
28567 * math/s_ccosl.c: Rely entirely on ccoshl.
28568 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
28569 Remove tests for FE_INVALID.
28570 * math/s_ccoshf.c: Likewise.
28571 * math/s_ccoshl.c: Likewise.
28572 * math/s_csin.c: Likewise.
28573 * math/s_csinf.c: Likewise.
28574 * math/s_csinh.c Likewise.
28575 * math/s_csinhf.c: Likewise.
28576 * math/s_csinhl.c: Likewise.
28577 * math/s_csinl.c: Likewise.
28578 * math/s_ctan.c: Likewise.
28579 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
28580 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
28581 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
28582
8ec250a4
UD
285832011-10-21 Ulrich Drepper <drepper@gmail.com>
28584
c196fed8
UD
28585 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
28586 compilation problems.
28587
8ec250a4
UD
28588 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
28589 __builtin_expect.
28590
8d4f46c6
UD
285912011-10-20 Ulrich Drepper <drepper@gmail.com>
28592
ed72b654
UD
28593 * sysdeps/i386/configure.in: Test for -mfma4 option.
28594 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
28595 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
28596 COMMON_CPUID_INDEX_80000001.
28597 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
28598 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
28599 use it if FMA3 is not supported.
28600 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
28601
8d4f46c6
UD
28602 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
28603 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28604
d45c60c2
AS
286052011-10-20 Andreas Schwab <schwab@redhat.com>
28606
28607 [BZ #12892]
28608 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
28609 it would create a cycle with a link time dependency.
28610
d9a4d2ab
UD
286112011-10-19 Ulrich Drepper <drepper@gmail.com>
28612
855d1560
UD
28613 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
28614 instruction.
28615 * string/Makefile (strop-tests): Add rawmemchr.
28616 * string/test-rawmemchr.c: New file.
28617
d9a4d2ab
UD
28618 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
28619 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
28620 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
28621 when compiling str{,n}casecmp and when AVX is available. Hook up
28622 new optimized code in initializers.
28623
8f3b1ffe
AS
286242011-10-19 Andreas Schwab <schwab@redhat.com>
28625
28626 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
28627 __feraiseexcept instead of feraiseexcept.
28628
d38f1dba
UD
286292011-10-18 Ulrich Drepper <drepper@gmail.com>
28630
d9a8d0ab
UD
28631 * math/math_private.h: Define defaults for libc_fetestexcept and
28632 libc_feupdateenv.
28633 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
28634 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
28635 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28636 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28637 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28638 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28639 libc_fetestexcept and libc_feupdateenv.
28640
4855e3dd
UD
28641 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
28642 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
28643 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
28644 * sysdeps/x86_64/fpu/math_private.h: Define special version of
28645 libc_feholdexcept_setround.
28646
581d30e3
UD
28647 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
28648 Add s_nearbyint-c and s_nearbyintf-c.
28649 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
28650 nearbyintf inlines.
28651 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
28652 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
28653 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
28654 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
28655
d38f1dba
UD
28656 * math/math_private.h: Define defaults for libc_fegetround,
28657 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
28658 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
28659 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
28660 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
28661 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
28662 standard functions.
28663 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28664 Remove comments and hacks for old compiler versions.
28665 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28666 libc_fegetround, libc_fesetround, libc_feholdexcept, and
28667 libc_feholdexceptl.
28668
caa6c9d8
AS
286692011-10-18 Andreas Schwab <schwab@redhat.com>
28670
28671 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
28672 (__feraiseexcept_renamed): Add __NTH.
28673 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
28674 namespace violations.
28675
97c066e6
UD
286762011-10-17 Ulrich Drepper <drepper@gmail.com>
28677
99ce7b04
UD
28678 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
28679
1004d182
UD
28680 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
28681
228a984d
UD
28682 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
28683 recently added interfaces.
28684 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
28685
c8553a6a
UD
28686 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
28687 about macro parameter expansion.
28688
ed22dcf6
UD
28689 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
28690 __NO_MATH_INLINES is defined. Cleanups.
28691
28692 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
28693 and __floorf is target has SSE4.1.
28694 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
28695 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
28696 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
28697 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
28698
b171c137
UD
28699 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
28700 name.
28701 (floorf): Likewise.
28702
97c066e6
UD
28703 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
28704
629f62ef
AS
287052011-10-17 Andreas Schwab <schwab@redhat.com>
28706
49a43d80
AS
28707 * misc/sys/cdefs.h: Fix last change.
28708
629f62ef
AS
28709 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
28710 database lookup.
28711
e453f6cd
UD
287122011-10-16 Ulrich Drepper <drepper@gmail.com>
28713
aa78043a
UD
28714 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
28715
ad0f5cad
UD
28716 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
28717 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28718 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28719 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28720 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28721 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28722 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28723 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28724 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28725 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
28726 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
28727 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
28728 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
28729 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
28730 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
28731 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
28732 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
28733 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
28734 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
28735 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
28736 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
28737 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
28738
28739 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
28740 ceil, ceilf, floor, floorf.
28741
28742 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
28743 Perform IRELATIVE relocations last.
28744
e453f6cd
UD
28745 * elf/do-rel.h: Add another parameter nrelative, replacing the
28746 local variable with the same name. Change name of the function
28747 to end in Rel or Rela (uppercase).
28748 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
28749 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
28750 elf_dynamic_do_##reloc function.
28751
fd5bdc09
UD
287522011-10-15 Ulrich Drepper <drepper@gmail.com>
28753
79b195b5
UD
28754 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
28755 is sufficient, at least on modern CPUs.
28756
d4a28569
UD
28757 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
28758
b61099b5
UD
28759 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
28760 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
28761
bcf01e6d
UD
28762 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
28763 __expl_finite.
28764 * math/bits/math-finite.h: Add entries for exp.
28765 * math/e_expl.c: Add __*_finite alias.
28766 * sysdeps/i386/fpu/e_exp.S: Likewise.
28767 * sysdeps/i386/fpu/e_expf.S: Likewise.
28768 * sysdeps/i386/fpu/e_expl.c: Likewise.
28769 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28770 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28771 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28772 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28773 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
28774 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28775 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28776
ba1a0d59
UD
28777 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
28778 is sufficient, at least on modern CPUs.
28779
fd5bdc09
UD
28780 * ctype/ctype-info.c (__ctype_init): Define.
28781 * include/ctype.h (__ctype_init): Declare.
28782 (__ctype_b_loc): The variable is always initialized.
28783 (__ctype_toupper_loc): Likewise.
28784 (__ctype_tolower_loc): Likewise.
28785 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
28786 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
28787
7872cfb0
AS
287882011-10-15 Andreas Schwab <schwab@linux-m68k.org>
28789
b468825a
AS
28790 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
28791
7872cfb0
AS
28792 * configure.in: Also look in $cxxmachine/include for C++ system
28793 headers.
28794
be13f7bf
LD
287952011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28796
28797 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
28798 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
28799 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
28800 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
28801 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
28802 (USE_AS_WMEMCMP): New macro.
28803 Fixing indents.
28804 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
28805 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
28806 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
28807 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
28808 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28809 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
28810 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
28811 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
28812 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
28813 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
28814 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
28815 (USE_AS_WMEMCMP): New macro.
28816 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
28817 * sysdeps/string/test-memcmp.c: Update.
28818 Fix simple_wmemcmp.
28819 Add new tests.
28820 * wcsmbs/wmemcmp.c: Update.
28821 (WMEMCMP): New macro.
28822 Fix overflow bug.
28823
556a2007
AJ
288242011-10-12 Andreas Jaeger <aj@suse.de>
28825
28826 [BZ #13268]
28827 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
28828
538faaa7
UD
288292011-10-15 Ulrich Drepper <drepper@gmail.com>
28830
ab6737ff
UD
28831 * libio/iofwide.c (do_length): Avoid warning.
28832
538faaa7
UD
28833 * ctype/ctype.h (__isctype_f): Add missing __THROW.
28834
396a21b1
UD
288352011-10-14 Ulrich Drepper <drepper@gmail.com>
28836
cdf2901f
UD
28837 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
28838
38ad40ce
UD
28839 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
28840 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
28841 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
28842 * sysdeps/i386/i686/fpu/e_log.S: New file.
28843 * sysdeps/i386/i686/fpu/e_logf.S: New file.
28844 * sysdeps/i386/i686/fpu/e_logl.S: New file.
28845
396a21b1
UD
28846 * ctype/ctype.h: Add support for inlined isXXX functions when
28847 compiling C++ code.
28848
6b1f68c9
AS
288492011-10-14 Andreas Schwab <schwab@redhat.com>
28850
349290c0
AS
28851 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28852
6b1f68c9
AS
28853 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
28854
f2282d42
RM
288552011-10-13 Roland McGrath <roland@hack.frob.com>
28856
28857 [BZ #13291]
28858 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
28859
5298ffa8
AS
288602011-10-13 Andreas Schwab <schwab@redhat.com>
28861
714fad23
AS
28862 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
28863 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
28864 feraiseexcept.
28865
81dcc7fb
AS
28866 * sysdeps/x86_64/memrchr.S: Check for zero size.
28867
5298ffa8
AS
28868 * string/stratcliff.c: Add memrchr tests.
28869
951fbcec
LD
288702011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28871
28872 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28873 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
28874 rawmemchr-sse2 rawmemchr-sse2-bsf.
28875 * sysdeps/i386/i686/multiarch/memchr.S: New file.
28876 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
28877 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
28878 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
28879 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
28880 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
28881 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
28882 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
28883 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
28884 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
28885 * string/memrchr.c (MEMRCHR): New macro.
28886
0ac5ae23
UD
288872011-10-12 Ulrich Drepper <drepper@gmail.com>
28888
28889 Add integration with gcc's -ffinite-math-only and optimize wrapper
28890 functions in libm.
28891 * Versions.def: Define GLIBC_2.15 version for libm.
28892 * math/Makefile (headers): Add bits/math-finite.h.
28893 * math/bits/math-finite.h: New file.
28894 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
28895 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
28896 * math/e_acoshl.c: Add __*_finite alias.
28897 * math/e_acosl.c: Likewise.
28898 * math/e_asinl.c: Likewise.
28899 * math/e_atan2l.c: Likewise.
28900 * math/e_atanhl.c: Likewise.
28901 * math/e_coshl.c: Likewise.
28902 * math/e_exp10.c: Likewise.
28903 * math/e_exp10f.c: Likewise.
28904 * math/e_exp10l.c: Likewise.
28905 * math/e_exp2l.c: Likewise.
28906 * math/e_fmodl.c: Likewise.
28907 * math/e_gammal_r.c: Likewise.
28908 * math/e_hypotl.c: Likewise.
28909 * math/e_j0l.c: Likewise.
28910 * math/e_j1l.c: Likewise.
28911 * math/e_jnl.c: Likewise.
28912 * math/e_lgammal_r.c: Likewise.
28913 * math/e_log10l.c: Likewise.
28914 * math/e_log2l.c: Likewise.
28915 * math/e_logl.c: Likewise.
28916 * math/e_powl.c: Likewise.
28917 * math/e_sinhl.c: Likewise.
28918 * math/e_sqrtl.c: Likewise.
28919 * math/e_scalb.c: Completely rewritten and optimized.
28920 * math/e_scalbf.c: Likewise.
28921 * math/e_scalbl.c: Likewise.
28922 * math/w_acos.c: Likewise.
28923 * math/w_acosf.c: Likewise.
28924 * math/w_acosl.c: Likewise.
28925 * math/w_acosh.c: Likewise.
28926 * math/w_acoshf.c: Likewise.
28927 * math/w_acoshl.c: Likewise.
28928 * math/w_asin.c: Likewise.
28929 * math/w_asinf.c: Likewise.
28930 * math/w_asinl.c: Likewise.
28931 * math/w_atan2.c: Likewise.
28932 * math/w_atan2f.c: Likewise.
28933 * math/w_atan2l.c: Likewise.
28934 * math/w_atanh.c: Likewise.
28935 * math/w_atanhf.c: Likewise.
28936 * math/w_atanhl.c: Likewise.
28937 * math/w_exp10.c: Likewise.
28938 * math/w_exp10f.c: Likewise.
28939 * math/w_exp10l.c: Likewise.
28940 * math/w_fmod.c: Likewise.
28941 * math/w_fmodf.c: Likewise.
28942 * math/w_fmodl.c: Likewise.
28943 * math/w_j0.c: Likewise.
28944 * math/w_j0f.c: Likewise.
28945 * math/w_j0l.c: Likewise.
28946 * math/w_j1.c: Likewise.
28947 * math/w_j1f.c: Likewise.
28948 * math/w_j1l.c: Likewise.
28949 * math/w_jn.c: Likewise.
28950 * math/w_jnf.c: Likewise.
28951 * math/w_log.c: Likewise.
28952 * math/w_logf.c: Likewise.
28953 * math/w_logl.c: Likewise.
28954 * math/w_log10.c: Likewise.
28955 * math/w_log10f.c: Likewise.
28956 * math/w_log10l.c: Likewise.
28957 * math/w_log2.c: Likewise.
28958 * math/w_log2f.c: Likewise.
28959 * math/w_log2l.c: Likewise.
28960 * math/w_pow.c: Likewise.
28961 * math/w_powf.c: Likewise.
28962 * math/w_powl.c: Likewise.
28963 * math/w_remainder.c: Likewise.
28964 * math/w_remainderf.c: Likewise.
28965 * math/w_remainderl.c: Likewise.
28966 * math/w_scalb.c: Likewise.
28967 * math/w_scalbf.c: Likewise.
28968 * math/w_scalbl.c: Likewise.
28969 * math/w_sqrt.c: Likewise.
28970 * math/w_sqrtf.c: Likewise.
28971 * math/w_sqrtl.c: Likewise.
28972 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
28973 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
28974 used.
28975 * math/math_private.h: Declare __kernel_standard_f.
28976 * math/w_cosh.c: Remove cruft and optimize a bit.
28977 * math/w_coshf.c: Likewise.
28978 * math/w_coshl.c: Likewise.
28979 * math/w_exp2.c: Likewise.
28980 * math/w_exp2f.c: Likewise.
28981 * math/w_exp2l.c: Likewise.
28982 * math/w_hypot.c: Likewise.
28983 * math/w_hypotf.c: Likewise.
28984 * math/w_hypotl.c: Likewise.
28985 * math/w_lgamma.c: Likewise.
28986 * math/w_lgamma_r.c: Likewise.
28987 * math/w_lgammaf.c: Likewise.
28988 * math/w_lgammaf_r.c: Likewise.
28989 * math/w_lgammal.c: Likewise.
28990 * math/w_lgammal_r.c: Likewise.
28991 * math/w_sinh.c: Likewise.
28992 * math/w_sinhf.c: Likewise.
28993 * math/w_sinhl.c: Likewise.
28994 * math/w_tgamma.c: Likewise.
28995 * math/w_tgammaf.c: Likewise.
28996 * math/w_tgammal.c: Likewise.
28997 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28998 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28999 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
29000 Minor optimizations. Pretty printing. Remove cruft.
29001 * sysdeps/i386/fpu/e_acosf.S: Likewise.
29002 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29003 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29004 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29005 * sysdeps/i386/fpu/e_acosl.c: Likewise.
29006 * sysdeps/i386/fpu/e_asin.S: Likewise.
29007 * sysdeps/i386/fpu/e_asinf.S: Likewise.
29008 * sysdeps/i386/fpu/e_atan2.S: Likewise.
29009 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
29010 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
29011 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29012 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29013 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29014 * sysdeps/i386/fpu/e_exp10.S: Likewise.
29015 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
29016 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
29017 * sysdeps/i386/fpu/e_exp2.S: Likewise.
29018 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
29019 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
29020 * sysdeps/i386/fpu/e_fmod.S: Likewise.
29021 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
29022 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
29023 * sysdeps/i386/fpu/e_hypot.S: Likewise.
29024 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
29025 * sysdeps/i386/fpu/e_log.S: Likewise.
29026 * sysdeps/i386/fpu/e_log10.S: Likewise.
29027 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29028 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29029 * sysdeps/i386/fpu/e_log2.S: Likewise.
29030 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29031 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29032 * sysdeps/i386/fpu/e_logf.S: Likewise.
29033 * sysdeps/i386/fpu/e_logl.S: Likewise.
29034 * sysdeps/i386/fpu/e_pow.S: Likewise.
29035 * sysdeps/i386/fpu/e_powf.S: Likewise.
29036 * sysdeps/i386/fpu/e_powl.S: Likewise.
29037 * sysdeps/i386/fpu/e_remainder.S: Likewise.
29038 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
29039 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
29040 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29041 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29042 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29043 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
29044 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
29045 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
29046 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29047 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29048 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29049 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29050 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29051 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29052 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29053 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29054 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29055 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29056 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29057 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29058 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29059 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29060 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29061 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29062 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29063 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29064 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29065 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29066 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29067 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29068 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29069 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29070 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29071 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29072 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29073 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29074 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
29075 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29076 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29077 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29078 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29079 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29080 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29081 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29082 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29083 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29084 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29085 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29086 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29087 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29088 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29089 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29090 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29091 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29092 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29093 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29094 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29095 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
29096 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29097 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29098 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29099 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29100 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29101 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29102 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29103 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29104 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29105 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29106 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29107 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29108 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29109 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29110 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29111 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29112 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29113 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29114 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
29115 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29116 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29117 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29118 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29119 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29120 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29121 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29122 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29123 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29124 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29125 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29126 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29127 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29128 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
29129 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29130 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29131 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29132 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29133 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29134 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29135 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29136 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29137 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29138 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29139 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29140 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29141 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29142 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29143 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
29144 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
29145 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
29146 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
29147 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
29148 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
29149 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
29150 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29151 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29152 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29153 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29154 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
29155 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29156 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
29157 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
29158 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
29159 (__isnanf): Likewise.
29160 (__isinf_ns): Likewise.
29161 (__isinf_nsf): Likewise.
29162 (__finite): Likewise.
29163 (__finitef): Likewise.
29164 (__ieee754_sqrt): Define as macro.
29165 (__ieee754_sqrtf): Define as macro.
29166 (__ieee754_sqrtl): Define as macro.
29167 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
29168 inlined copy.
29169 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
29170 __FINITE_MATH_ONLY__ consistent.
29171 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
29172
12cc2fcd
AS
291732011-10-10 Andreas Schwab <schwab@linux-m68k.org>
29174
a843a204
AS
29175 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
29176 of rawmemchr.
29177
12cc2fcd
AS
29178 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
29179
c853acd5
UD
291802011-10-09 Ulrich Drepper <drepper@gmail.com>
29181
29182 * po/ja.po: Update from translation team.
29183
c658d255
RM
291842011-10-08 Roland McGrath <roland@hack.frob.com>
29185
110946e4
RM
29186 * locale/programs/locarchive.c (prepare_address_space): New function.
29187 (create_archive, enlarge_archive, open_archive): Use it.
29188
50604220
RM
29189 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
29190 inside [SHARED], where it is used.
29191
c658d255
RM
29192 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
29193
29194 * nss/getent.c (netgroup_keys): Remove unused variable.
29195 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29196
6a621eb7
UD
291972011-10-08 Ulrich Drepper <drepper@gmail.com>
29198
7edb55ce
UD
29199 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
29200 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
29201 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
29202 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
29203 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
29204 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
29205 * math/Makefile (libm-calls): Add s_isinf_ns.
29206 * math/divtc3.c: Use __isinf_nsl instead of isinf.
29207 * math/multc3.c: Likewise.
29208 * math/s_casin.c: Likewise.
29209 * math/s_casinf.c: Likewise.
29210 * math/s_casinl.c: Likewise.
29211 * math/s_ccos.c: Likewise.
29212 * math/s_ccosf.c: Likewise.
29213 * math/s_ccosl.c: Likewise.
29214 * math/s_ctan.c: Likewise.
29215 * math/s_ctanf.c: Likewise.
29216 * math/s_ctanh.c: Likewise.
29217 * math/s_ctanhf.c: Likewise.
29218 * math/s_ctanhl.c: Likewise.
29219 * math/s_ctanl.c: Likewise.
29220 * math/w_fmod.c: Likewise.
29221 * math/w_fmodf.c: Likewise.
29222 * math/w_fmodl.c: Likewise.
29223 * math/w_remainder.c: Likewise.
29224 * math/w_remainderf.c: Likewise.
29225 * math/w_remainderl.c: Likewise.
29226 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
29227 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
29228 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
29229 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
29230 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
29231 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
29232 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
29233 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
29234
187da0ae
UD
29235 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
29236 of the number.
29237 * stdio-common/printf_fphex.c: Likewise.
29238 * stdio-common/printf_size.c: Likewise.
29239
9277c064
UD
29240 * math/e_exp10.c: Include math_private.h using <...> not "...".
29241 * math/e_exp10f.c: Likewise.
29242 * math/e_exp10l.c: Likewise.
29243 * math/e_exp2l.c: Likewise.
29244 * math/e_j0l.c: Likewise.
29245 * math/e_j1l.c: Likewise.
29246 * math/e_jnl.c: Likewise.
29247 * math/e_lgammal_r.c: Likewise.
29248 * math/e_rem_pio2l.c: Likewise.
29249 * math/e_scalb.c: Likewise.
29250 * math/e_scalbf.c: Likewise.
29251 * math/e_scalbl.c: Likewise.
29252 * math/k_cosl.c: Likewise.
29253 * math/k_sinl.c: Likewise.
29254 * math/k_tanl.c: Likewise.
29255 * math/s_cacoshf.c: Likewise.
29256 * math/s_catan.c: Likewise.
29257 * math/s_catanf.c: Likewise.
29258 * math/s_catanh.c: Likewise.
29259 * math/s_catanhf.c: Likewise.
29260 * math/s_catanhl.c: Likewise.
29261 * math/s_catanl.c: Likewise.
29262 * math/s_ccosh.c: Likewise.
29263 * math/s_ccoshf.c: Likewise.
29264 * math/s_ccoshl.c: Likewise.
29265 * math/s_cexp.c: Likewise.
29266 * math/s_cexpf.c: Likewise.
29267 * math/s_cexpl.c: Likewise.
29268 * math/s_clog.c: Likewise.
29269 * math/s_clog10.c: Likewise.
29270 * math/s_clog10f.c: Likewise.
29271 * math/s_clog10l.c: Likewise.
29272 * math/s_clogf.c: Likewise.
29273 * math/s_clogl.c: Likewise.
29274 * math/s_csin.c: Likewise.
29275 * math/s_csinf.c: Likewise.
29276 * math/s_csinh.c: Likewise.
29277 * math/s_csinhf.c: Likewise.
29278 * math/s_csinhl.c: Likewise.
29279 * math/s_csinl.c: Likewise.
29280 * math/s_csqrt.c: Likewise.
29281 * math/s_csqrtf.c: Likewise.
29282 * math/s_csqrtl.c: Likewise.
29283 * math/s_ctan.c: Likewise.
29284 * math/s_ctanf.c: Likewise.
29285 * math/s_ctanh.c: Likewise.
29286 * math/s_ctanhf.c: Likewise.
29287 * math/s_ctanhl.c: Likewise.
29288 * math/s_ctanl.c: Likewise.
29289 * math/s_ldexp.c: Likewise.
29290 * math/s_ldexpf.c: Likewise.
29291 * math/s_ldexpl.c: Likewise.
29292 * math/s_significand.c: Likewise.
29293 * math/s_significandf.c: Likewise.
29294 * math/s_significandl.c: Likewise.
29295 * math/w_acos.c: Likewise.
29296 * math/w_acosf.c: Likewise.
29297 * math/w_acosh.c: Likewise.
29298 * math/w_acoshf.c: Likewise.
29299 * math/w_acoshl.c: Likewise.
29300 * math/w_acosl.c: Likewise.
29301 * math/w_asin.c: Likewise.
29302 * math/w_asinf.c: Likewise.
29303 * math/w_asinl.c: Likewise.
29304 * math/w_atan2.c: Likewise.
29305 * math/w_atan2f.c: Likewise.
29306 * math/w_atan2l.c: Likewise.
29307 * math/w_atanh.c: Likewise.
29308 * math/w_atanhf.c: Likewise.
29309 * math/w_atanhl.c: Likewise.
29310 * math/w_cosh.c: Likewise.
29311 * math/w_coshf.c: Likewise.
29312 * math/w_coshl.c: Likewise.
29313 * math/w_dremf.c: Likewise.
29314 * math/w_exp10.c: Likewise.
29315 * math/w_exp10f.c: Likewise.
29316 * math/w_exp10l.c: Likewise.
29317 * math/w_exp2.c: Likewise.
29318 * math/w_exp2f.c: Likewise.
29319 * math/w_fmod.c: Likewise.
29320 * math/w_fmodf.c: Likewise.
29321 * math/w_fmodl.c: Likewise.
29322 * math/w_hypot.c: Likewise.
29323 * math/w_hypotf.c: Likewise.
29324 * math/w_hypotl.c: Likewise.
29325 * math/w_j0.c: Likewise.
29326 * math/w_j0f.c: Likewise.
29327 * math/w_j0l.c: Likewise.
29328 * math/w_j1.c: Likewise.
29329 * math/w_j1f.c: Likewise.
29330 * math/w_j1l.c: Likewise.
29331 * math/w_jn.c: Likewise.
29332 * math/w_jnf.c: Likewise.
29333 * math/w_jnl.c: Likewise.
29334 * math/w_lgamma.c: Likewise.
29335 * math/w_lgamma_r.c: Likewise.
29336 * math/w_lgammaf.c: Likewise.
29337 * math/w_lgammaf_r.c: Likewise.
29338 * math/w_lgammal.c: Likewise.
29339 * math/w_lgammal_r.c: Likewise.
29340 * math/w_log.c: Likewise.
29341 * math/w_log10.c: Likewise.
29342 * math/w_log10f.c: Likewise.
29343 * math/w_log10l.c: Likewise.
29344 * math/w_log2.c: Likewise.
29345 * math/w_log2f.c: Likewise.
29346 * math/w_log2l.c: Likewise.
29347 * math/w_logf.c: Likewise.
29348 * math/w_logl.c: Likewise.
29349 * math/w_pow.c: Likewise.
29350 * math/w_powf.c: Likewise.
29351 * math/w_powl.c: Likewise.
29352 * math/w_remainder.c: Likewise.
29353 * math/w_remainderf.c: Likewise.
29354 * math/w_remainderl.c: Likewise.
29355 * math/w_scalb.c: Likewise.
29356 * math/w_scalbf.c: Likewise.
29357 * math/w_scalbl.c: Likewise.
29358 * math/w_sinh.c: Likewise.
29359 * math/w_sinhf.c: Likewise.
29360 * math/w_sinhl.c: Likewise.
29361 * math/w_sqrt.c: Likewise.
29362 * math/w_sqrtf.c: Likewise.
29363 * math/w_sqrtl.c: Likewise.
29364 * math/w_tgamma.c: Likewise.
29365 * math/w_tgammaf.c: Likewise.
29366 * math/w_tgammal.c: Likewise.
29367
6a621eb7
UD
29368 * po/ja.po: Update from translation team.
29369
bf582445
AJ
293702011-09-29 Andreas Jaeger <aj@suse.de>
29371
f9efbf3a
AJ
29372 [BZ #13179]
29373 * sunrpc/netname.c (netname2host): Fix logic.
29374
bf582445
AJ
29375 [BZ #6779]
29376 [BZ #6783]
29377 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
29378 correctly.
29379 * math/w_remainder.c (__remainder): Likewise.
29380 * math/w_remainderf.c (__remainderf): Likewise.
29381 * math/libm-test.inc (remainder_test): Add test cases.
29382
48693bea
AK
293832011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29384
29385 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
29386 sdiv_qrnnd.
29387
42622229
LD
293882011-10-07 Ulrich Drepper <drepper@gmail.com>
29389
29390 * string/test-memcmp.c: Avoid unncessary #defines.
29391 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29392
093ecf92
LD
293932011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29394
29395 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
29396 Use new sse2 version for core i3 - i7 as it's faster
29397 than sse42 version.
29398 (bit_Prefer_PMINUB_for_stringop): New.
29399 * sysdeps/x86_64/rawmemchr.S: Update.
29400 Replace with faster SSE2 version.
29401 * sysdeps/x86_64/memrchr.S: New file.
29402 * sysdeps/x86_64/memchr.S: Update.
29403 Replace with faster SSE2 version.
29404
fde56e5c
MP
294052011-09-12 Marek Polacek <mpolacek@redhat.com>
29406
29407 * elf/dl-load.c (lose): Add cast to avoid warning.
29408
21fd49a9
UD
294092011-10-07 Ulrich Drepper <drepper@gmail.com>
29410
5a06e643
UD
29411 * po/ca.po: Update from translation team.
29412
684ae515
UD
29413 * inet/getnetgrent_r.c: Hook up nscd.
29414 * nscd/Makefile (routines): Add nscd_netgroup.
29415 (nscd-modules): Add netgroupcache.
29416 (CFLAGS-netgroupcache.c): Define.
29417 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
29418 (cache_search): Add const to second parameter.
29419 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
29420 INNETGR.
29421 (dbs): Add netgrdb entry.
29422 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
29423 (verify_persistent_db): Handle netgrdb.
29424 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
29425 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
29426 GETFDNETGR.
29427 (netgroup_response_header): Define.
29428 (innetgroup_response_header): Define.
29429 (datahead): Add netgroup_response_header and innetgroup_response_header
29430 elements.
29431 * nscd/nscd.conf: Add entries for netgroup cache.
29432 * nscd/nscd.h (dbtype): Add netgrdb.
29433 (_PATH_NSCD_NETGROUP_DB): Define.
29434 (netgroup_iov_disabled): Declare.
29435 (xmalloc, xcalloc, xrealloc): Move declarations here.
29436 (cache_search): Adjust prototype.
29437 Add netgroup-related prototypes.
29438 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
29439 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
29440 (__nscd_innetgr): Declare.
29441 * nscd/selinux.c (perms): Use access_vector_t as element type and
29442 add netgroup-related initializers.
29443 * nscd/netgroupcache.c: New file.
29444 * nscd/nscd_netgroup.c: New file.
29445 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
29446 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
29447 For four parameters use innetgr.
29448 * nss/nss_files/files-init.c: Add definition and callback for netgr.
29449 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
29450 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
29451 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
29452
21fd49a9
UD
29453 * nscd/connections.c (register_traced_file): Don't register file
29454 for disabled databases.
29455
054c0457
UD
294562011-10-06 Ulrich Drepper <drepper@gmail.com>
29457
32b63198
UD
29458 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
29459
054c0457
UD
29460 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
29461 from tree and freeing node.
29462
64031225
JO
294632011-09-25 Jiri Olsa <jolsa@redhat.com>
29464
29465 * nss/nsswitch.c (__nss_database_lookup): Handle
29466 nss_parse_service_list out of memory case.
29467
0490345c
JO
294682011-09-15 Jiri Olsa <jolsa@redhat.com>
29469
29470 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
29471 out of memory case.
29472
3a62d00d
AS
294732011-10-04 Andreas Schwab <schwab@redhat.com>
29474
29475 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
29476 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
29477 pass it down.
29478 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
29479 elf_machine_rela, elf_machine_lazy_rel.
29480 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
29481 (ELF_DYNAMIC_DO_REL): Likewise.
29482 (ELF_DYNAMIC_DO_RELA): Likewise.
29483 (ELF_DYNAMIC_RELOCATE): Likewise.
29484 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
29485 to ELF_DYNAMIC_DO_REL.
29486 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
29487 (dl_main): In trace mode always set __RTLD_NOIFUNC.
29488 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
29489 elf_machine_rela.
29490 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
29491 skip_ifunc, don't call ifunc function if non-zero.
29492 (elf_machine_rela): Likewise.
29493 (elf_machine_lazy_rel): Likewise.
29494 (elf_machine_lazy_rela): Likewise.
29495 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
29496 (elf_machine_lazy_rel): Likewise.
29497 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
29498 Likewise.
29499 (elf_machine_lazy_rel): Likewise.
29500 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29501 Likewise.
29502 (elf_machine_lazy_rel): Likewise.
29503 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
29504 (elf_machine_lazy_rel): Likewise.
29505 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
29506 (elf_machine_lazy_rel): Likewise.
29507 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29508 (elf_machine_lazy_rel): Likewise.
29509 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
29510 (elf_machine_lazy_rel): Likewise.
29511 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
29512 (elf_machine_lazy_rel): Likewise.
29513 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29514 (elf_machine_lazy_rel): Likewise.
29515
68577918
UD
295162011-09-28 Ulrich Drepper <drepper@gmail.com>
29517
29518 * nss/nss_files/files-init.c (_nss_files_init): Use static
29519 initialization for all the *_traced_file variables.
29520
68822d74
AS
295212011-09-28 Andreas Schwab <schwab@redhat.com>
29522
29523 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29524
2056100b
RM
295252011-09-27 Roland McGrath <roland@hack.frob.com>
29526
29527 [BZ #13226]
29528 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
29529
32c76b63
AS
295302011-09-27 Andreas Schwab <schwab@redhat.com>
29531
29532 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29533 Reread the line before reparsing it.
29534
bf972c9d
AS
295352011-09-26 Andreas Schwab <schwab@redhat.com>
29536
29537 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
29538
e057a1b5
JM
295392011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
29540 Maxim Kuvyrkov <maxim@codesourcery.com>
29541 Joseph Myers <joseph@codesourcery.com>
29542
29543 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
29544 if needed for __stack_chk_guard.
29545
bc7e1c36
RM
295462011-09-19 Roland McGrath <roland@hack.frob.com>
29547
ecb1482f
RM
29548 * sysdeps/posix/spawni.c (script_execute): Always define it.
29549 It will be optimized away if unused.
29550 (maybe_script_execute): New function.
29551 (__spawni): Call it.
29552
bc7e1c36
RM
29553 * Makerules: Don't include tls.make.
29554 (config-tls): Always set to thread.
29555 * tls.make.c: File removed.
29556
1c3b002b
MF
295572011-09-19 Mike Frysinger <vapier@gentoo.org>
29558
29559 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
29560 * config.make.in (CPPFLAGS-config): New substituted variable.
29561
2840865d
UD
295622011-09-15 Ulrich Drepper <drepper@gmail.com>
29563
88738eb6
UD
29564 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
29565
cbf645a6 29566 [BZ #13192]
2840865d
UD
29567 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
29568 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
29569
b402e91a
RM
295702011-09-15 Roland McGrath <roland@hack.frob.com>
29571
29572 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
29573 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
29574 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29575 (CALL_FAIL): Likewise.
29576 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
29577 (CALL_FAIL): Macro removed.
29578 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
29579
4c1a1f71
UD
295802011-09-15 Ulrich Drepper <drepper@gmail.com>
29581
29582 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
29583 for __FINITE_MATH_ONLY__ == 1.
29584
edc121be
AS
295852011-09-15 Andreas Schwab <schwab@redhat.com>
29586
29587 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
29588 __ieee754_sqrt instead of sqrt.
29589 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
29590 __ieee754_sqrtf instead of sqrtf.
29591 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
29592 __floorf instead of floorf.
29593 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
29594 __floorf, __truncf instead of floorf, truncf.
29595
cd205654
UD
295962011-09-14 Ulrich Drepper <drepper@gmail.com>
29597
ee4d0315
UD
29598 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
29599
cd205654
UD
29600 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
29601 __extern_always_inline.
29602 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
29603 32-bit.
29604
48b67d71
AS
296052011-09-14 Andreas Schwab <schwab@redhat.com>
29606
29607 * elf/rtld.c (dl_main): Also relocate in dependency order when
29608 doing symbol dependency testing.
29609
1ae12c75
AS
296102011-09-13 Andreas Schwab <schwab@linux-m68k.org>
29611
29612 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29613 Always define `refsym'.
29614
995a80df
AS
296152011-09-13 Andreas Schwab <schwab@redhat.com>
29616
e529793b
AS
29617 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
29618 (__FD_ELT): Renamed from __FDELT.
29619 * misc/bits/select2.h (__FD_ELT): Likewise.
29620 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
29621 __FD_MASK instead of __FDELT, __FDMASK.
29622 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29623 Likewise.
29624 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29625 Likewise.
29626
52d4fef8
AS
29627 * elf/Makefile (gen-ldd): Fix pattern.
29628
995a80df
AS
29629 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
29630 (init_tls): Likewise.
29631
8682f8b0
UD
296322011-09-12 Ulrich Drepper <drepper@gmail.com>
29633
29634 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
29635
de82006d
AS
296362011-09-12 Andreas Schwab <schwab@redhat.com>
29637
a7c8e6a1
AS
29638 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
29639 `struct cmsghdr *' instead of `void *'.
29640 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
29641 Likewise.
29642
0f31fe77
AS
296432011-09-11 Andreas Schwab <schwab@linux-m68k.org>
29644
29645 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
29646 if non-absolute.
29647 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
29648 ldd_rewrite_script.
0f31fe77 29649
32b4c839
UD
296502011-09-11 Ulrich Drepper <drepper@gmail.com>
29651
83cd1420
UD
29652 * configure.in: Remove --with-tls option.
29653 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
29654 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
29655 out in case it is missing.
29656 * sysdeps/ia64/elf/configure.in: Likewise.
29657 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
29658 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
29659 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
29660 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
29661 * sysdeps/sh/elf/configure.in: Likewise.
29662 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
29663 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29664 * sysdeps/x86_64/elf/configure.in: Likewise.
29665 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
29666 * sysdeps/mach/hurd/tls.h: Likewise.
29667
633f745d
UD
29668 [BZ #13067]
29669 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
29670
f318beb8
UD
29671 [BZ #13090]
29672 * configure.in: Fix use of AC_INIT.
29673
32b4c839
UD
29674 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
29675
3ce1f295
UD
296762011-09-10 Ulrich Drepper <drepper@gmail.com>
29677
bb016596
UD
29678 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
29679 __set_errno.
8e58439c
UD
29680 * malloc/hooks.c: Likewise.
29681
aebae053 29682 [BZ #11929]
02d46fc4
UD
29683 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
29684 variables statically.
29685 (narenas): Initialize.
29686 (list_lock): Initialize.
bb016596
UD
29687 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
29688 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
29689 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
29690 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
29691 Add initializers to main_arena and mp_.
29692 (malloc_state): Remove pagesize member. Change all users to use
29693 GLRO(dl_pagesize).
29694
29695 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
29696 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
29697 is always initialized.
29698
22a89187
UD
29699 * malloc/malloc.c: Removed unused configurations and dead code.
29700 * malloc/arena.c: Likewise.
29701 * malloc/hooks.c: Likewise.
02d46fc4 29702 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 29703
d063d164
UD
29704 * include/tls.h: Removed. USE___THREAD must always be defined.
29705 * bits/libc-tsd.h: Don't handle !USE___THREAD.
29706 * elf/dl-libc.c: Likewise.
29707 * elf/dl-tsd.c: Likewise.
29708 * include/errno.h: Likewise.
29709 * include/netdb.h: Likewise.
29710 * include/resolv.h: Likewise.
29711 * inet/herrno-loc.c: Likewise.
29712 * inet/herrno.c: Likewise.
29713 * malloc/arena.c: Likewise.
29714 * malloc/hooks.c: Likewise.
29715 * malloc/malloc.c: Likewise.
29716 * resolv/res-state.c: Likewise.
29717 * resolv/res_libc.c: Likewise.
29718 * sysdeps/i386/dl-machine.h: Likewise.
29719 * sysdeps/ia64/dl-machine.h: Likewise.
29720 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29721 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29722 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29723 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29724 * sysdeps/sh/dl-machine.h: Likewise.
29725 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29726 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29727 * sysdeps/unix/i386/sysdep.S: Likewise.
29728 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29729 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
29730 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
29731 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29732 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
29733 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29734 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29735 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29736 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29737 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29738 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29739 * sysdeps/x86_64/dl-machine.h: Likewise.
29740 * tls.make.c: Likewise.
29741
3ce1f295
UD
29742 * configure.in: Remove --with-__thread option. Make tests for
29743 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
29744 tls_model attribute fail if no support is available. Remove
29745 USE_IN_LIBIO.
29746 * Makeconfig: Adjust for dropped configure option. All features are
29747 now mandatory.
29748 * Makerules: Likewise.
29749 * Versions.def: Likewise.
29750 * argp/argp-fmtstream.c: Likewise.
29751 * argp/argp-fmtstream.h: Likewise.
29752 * argp/argp-help.c: Likewise.
29753 * assert/assert.c: Likewise.
29754 * config.h.in: Likewise.
29755 * config.make.in: Likewise.
29756 * configure: Likewise.
29757 * configure.in: Likewise.
29758 * csu/Versions: Likewise.
29759 * csu/init.c: Likewise.
29760 * elf/tst-audit2.c: Likewise.
29761 * elf/tst-tls10.c: Likewise.
29762 * elf/tst-tls10.h: Likewise.
29763 * elf/tst-tls11.c: Likewise.
29764 * elf/tst-tls12.c: Likewise.
29765 * elf/tst-tls14.c: Likewise.
29766 * elf/tst-tlsmod11.c: Likewise.
29767 * elf/tst-tlsmod12.c: Likewise.
29768 * elf/tst-tlsmod13.c: Likewise.
29769 * elf/tst-tlsmod13a.c: Likewise.
29770 * elf/tst-tlsmod14a.c: Likewise.
29771 * elf/tst-tlsmod15b.c: Likewise.
29772 * elf/tst-tlsmod16a.c: Likewise.
29773 * elf/tst-tlsmod16b.c: Likewise.
29774 * elf/tst-tlsmod7.c: Likewise.
29775 * elf/tst-tlsmod8.c: Likewise.
29776 * elf/tst-tlsmod9.c: Likewise.
29777 * gmon/gmon.c: Likewise.
29778 * grp/fgetgrent_r.c: Likewise.
29779 * grp/putgrent.c: Likewise.
29780 * hurd/fopenport.c: Likewise.
29781 * include/libc-symbols.h: Likewise.
29782 * include/tls.h: Likewise.
29783 * intl/gettextP.h: Likewise.
29784 * intl/loadinfo.h: Likewise.
29785 * locale/global-locale.c: Likewise.
29786 * locale/localeinfo.h: Likewise.
29787 * mach/devstream.c: Likewise.
29788 * malloc/arena.c: Likewise.
29789 * malloc/set-freeres.c: Likewise.
29790 * misc/err.c: Likewise.
29791 * misc/getttyent.c: Likewise.
29792 * misc/mntent_r.c: Likewise.
29793 * posix/getopt.c: Likewise.
29794 * posix/wordexp.c: Likewise.
29795 * pwd/fgetpwent_r.c: Likewise.
29796 * resolv/Versions: Likewise.
29797 * resolv/res_hconf.c: Likewise.
29798 * shadow/fgetspent_r.c: Likewise.
29799 * shadow/putspent.c: Likewise.
29800 * stdio-common/printf_fphex.c: Likewise.
29801 * stdio-common/tmpfile.c: Likewise.
29802 * stdlib/abort.c: Likewise.
29803 * stdlib/fmtmsg.c: Likewise.
29804 * sunrpc/auth_unix.c: Likewise.
29805 * sunrpc/clnt_perr.c: Likewise.
29806 * sunrpc/clnt_tcp.c: Likewise.
29807 * sunrpc/clnt_udp.c: Likewise.
29808 * sunrpc/clnt_unix.c: Likewise.
29809 * sunrpc/openchild.c: Likewise.
29810 * sunrpc/svc_simple.c: Likewise.
29811 * sunrpc/svc_tcp.c: Likewise.
29812 * sunrpc/svc_udp.c: Likewise.
29813 * sunrpc/svc_unix.c: Likewise.
29814 * sunrpc/xdr.c: Likewise.
29815 * sunrpc/xdr_array.c: Likewise.
29816 * sunrpc/xdr_rec.c: Likewise.
29817 * sunrpc/xdr_ref.c: Likewise.
29818 * sunrpc/xdr_stdio.c: Likewise.
29819
1248c1c4
PB
298202011-09-09 Ulrich Drepper <drepper@gmail.com>
29821
29822 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29823
298242011-07-03 Andreas Jaeger <aj@suse.de>
29825
29826 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
29827 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
29828 regenerate with gen-libm-tests.pl.
29829
298302010-05-12 Petr Baudis <pasky@suse.cz>
29831
29832 [BZ #11589]
29833 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
29834 around j0() zero points by switching to j1().
29835 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29836 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29837 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29838 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29839
f22e1074
UD
298402011-09-09 Ulrich Drepper <drepper@gmail.com>
29841
f19009c1
UD
29842 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
29843 instead of 0.
29844 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 29845 instead of 0.
f19009c1
UD
29846 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29847 Patch in part by Pavel Roskin <proski@gnu.org>.
29848
3f8cc204
UD
29849 [BZ #13138]
29850 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
29851 realloc.
29852 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
29853 Free memory block if necessary.
29854
f22e1074
UD
29855 [BZ #12847]
29856 * libio/genops.c (INTDEF): For string streams the _lock pointer can
29857 be NULL. Don't lock in this case.
29858
0a2349f9
RM
298592011-09-09 Roland McGrath <roland@hack.frob.com>
29860
29861 * elf/elf.h (ELFOSABI_GNU): New macro.
29862 (ELFOSABI_LINUX): Define to that.
29863
f3cdd467
DZ
298642011-07-29 Denis Zaitceff <zaitceff@gmail.com>
29865
29866 * string/strncat.c (strncat): Undef the symbol in case it has been
29867 defined in bits/string.h.
29868
74718d13
UD
298692011-09-09 Ulrich Drepper <drepper@gmail.com>
29870
633e9e0f
UD
29871 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
29872
0a2349f9 29873 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
29874 link map.
29875
f9924780
AJ
298762011-08-17 Andreas Jaeger <aj@suse.de>
29877
29878 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
29879
7f5517aa
PP
298802011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
29881 Ian Lance Taylor <iant@google.com>
29882
29883 * math/libm-test.inc (lround_test): New testcase.
29884 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
29885
762011fe
UD
298862011-09-08 Ulrich Drepper <drepper@gmail.com>
29887
92963737
UD
29888 * Makefile: Remove support for automatic cvs check-ins.
29889 * Makerules: Likewise.
29890 * config.make.in: Likewise.
29891 * configure.in: Likewise.
29892 * intl/Makefile: Likewise.
29893 * locale/Makefile: Likewise.
29894 * po/Makefile: Likewise.
29895 * posix/Makefile: Likewise.
29896 * sysdeps/gnu/Makefile: Likewise.
29897 * sysdeps/mach/hurd/Makefile: Likewise.
29898 * sysdeps/sparc/sparc32/Makefile: Likewise.
29899
b0727fd8
JS
29900 [BZ #13118]
29901 * posix/Makefile (bug-regex32-ENV): Define.
29902 Patch by John Stanley <jpsinthemix@verizon.net>.
29903
a0f33f99
UD
29904 * misc/Makefile (headers): Add bits/select2.h.
29905 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
29906 * misc/bits/select2.h: New file.
29907 * include/bits/select2.h: New file.
29908 * debug/Makefile (routines): Add fdelt_chk.
29909 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
29910 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
29911 FD_ISSET.
29912 * debug/fdelt_chk.c: New file.
29913
762011fe
UD
29914 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
29915 * wcsmbs/test-wmemcmp.c: Likewise.
29916 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 29917 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
29918
299192011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29920
29921 * string/Makefile (strop-tests): Add memcmp.
29922 * string/test-wmemcmp.c: New file.
29923 * string/test-memcmp.c: Add wmemcmp support.
29924
7f513ec8
RM
299252011-09-08 Roland McGrath <roland@hack.frob.com>
29926
0442afb4
RM
29927 [BZ #13153]
29928 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
29929 2011-07-19 change.
29930
7f513ec8
RM
29931 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
29932 garbage value in a __mach_port_mod_refs call in the cases of the
29933 task-self and thread-self ports.
29934
a12b2239
ST
299352011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
29936
29937 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
29938
610f9ab4
AS
299392011-09-08 Andreas Schwab <schwab@redhat.com>
29940
7f513ec8 29941 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 29942
48882a1a
LD
299432011-09-07 Ulrich Drepper <drepper@gmail.com>
29944
b49865be
UD
29945 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
29946
fdc86bc9
UD
29947 * elf/dl-libc.c (dlerror_run): Pass back error code from
29948 dl_catch_error.
29949
c966526a
UD
29950 [BZ #13123]
29951 * elf/dl-load.c (lose): Free l_origin if it is valid.
29952
48882a1a
LD
29953 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
29954 names.
29955 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29956 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29957 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29958 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29959 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29960 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
29961
77a2a8b4
AZ
299622011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29963
29964 * sysdeps/powerpc/fpu/e_hypot.c: New file.
29965 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
29966 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
29967 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
29968 * sysdeps/powerpc/fpu/k_cosf.c: New file.
29969 * sysdeps/powerpc/fpu/k_sinf.c: New file.
29970 * sysdeps/powerpc/fpu/s_cosf.c: New file.
29971 * sysdeps/powerpc/fpu/s_sinf.c: New file.
29972 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
29973 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
29974
24f579d8
AM
299752011-08-15 Alan Modra <amodra@gmail.com>
29976
29977 [BZ #13092]
29978 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
29979 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
29980 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
29981 ppc_mcount to static-only-routines.
29982 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
29983 __mcount_internal.
29984 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
29985 __mcount_internal with usual JUMPTARGET. Remove useless nop.
29986
3d4837df
UD
299872011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
29988
29989 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
29990 for finite and infinity parameters.
29991
22700377
WS
299922011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29993
29994 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
29995 and add nop instructions for throughput optimization.
29996 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29997
5025581e
WS
299982011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
29999
30000 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
30001 aligned copy for power7 with vector-scalar instructions.
30002 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30003
08a300c9
L
300042011-07-24 H.J. Lu <hongjiu.lu@intel.com>
30005
30006 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
30007 AVX check.
30008
59178ef9
AS
300092011-09-07 Andreas Schwab <schwab@redhat.com>
30010
30011 [BZ #13144]
30012 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
30013 last change.
30014
e38ba7ab
UD
300152011-09-07 Ulrich Drepper <drepper@gmail.com>
30016
30017 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30018 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
30019 syscall wrapper around clock_gettime in __vdso_clock_gettime.
30020 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
30021 clock_gettime.
30022
d53a73ac
UD
300232011-09-06 Ulrich Drepper <drepper@gmail.com>
30024
fc8bffcc
UD
30025 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
30026 Forgot to demangle the pointer.
30027
ceaa0c5d
UD
30028 * sysdeps/i386/sysdep.h: Define atom_text_section.
30029 * sysdeps/x86_64/sysdep.h: Likewise.
30030 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
30031 section with atom_text_section.
30032 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30033 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30034 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30035 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30036 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
30037
a77d3c17
UD
30038 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
30039 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
30040 already be defined. Change to take two parameters and don't assign
30041 result to variable. Adjust all users.
30042 Define INTERNAL_GETTIME if not already defined.
30043 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
30044 call.
30045 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
30046 HAVE_CLOCK_GETTIME_VSYSCALL.
30047 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
30048
d53a73ac
UD
30049 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
30050 gettimeofday vsyscall, just use time.
30051
a8f84144
AS
300522011-09-06 Andreas Schwab <schwab@redhat.com>
30053
30054 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
30055 <errno.h>.
30056
ef606249
UD
300572011-09-06 Ulrich Drepper <drepper@gmail.com>
30058
30059 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
30060 syscall on x86-64.
30061 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
30062 syscall.
30063 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30064 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
30065 syscall if possible.
30066
6585cb60
UD
300672011-09-05 Ulrich Drepper <drepper@gmail.com>
30068
30069 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
30070 e_ident. Don't pass to find_mapsXX.
30071 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
30072
a5f524e4
LD
300732011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30074
30075 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30076 strchr-sse2-no-bsf strrchr-sse2-no-bsf
30077 * sysdeps/x86_64/multiarch/strchr.S: Update.
30078 Check bit_slow_BSF bit.
30079 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30080 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
30081 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
30082
554881ef
UD
300832011-09-05 Ulrich Drepper <drepper@gmail.com>
30084
d96de963
UD
30085 [BZ #13134]
30086 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
30087 before glibc 2.15.
30088 (tryshell): Define.
30089 (__spawni): Change last parameter to be flag. Test
30090 SPAWN_XFLAGS_USE_PATH flag to use path or not.
30091 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
30092 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
30093 * posix/spawni.c: Likewise.
30094 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
30095 * posix/spawnp.c: Likewise. Change normal version to use
30096 SPAWN_XFLAGS_USE_PATH.
30097 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
30098 SPAWN_XFLAGS_TRY_SHELL.
30099
d48e5868
UD
30100 [BZ #13150]
30101 * posix/glob.h: Remove gcc 1.x support.
30102
554881ef
UD
30103 [BZ #13068]
30104 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
30105
693fb948
LD
301062011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30107
30108 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30109 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
30110 strrchr-sse2-bsf
30111 * sysdeps/i386/i686/multiarch/strchr.S: New file.
30112 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
30113 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
30114 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
30115 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
30116 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
30117
1b48c537
UD
301182011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30119
49d42c37
UD
30120 * sysdeps/x86_64/wcscmp.S: New file.
30121
1b48c537
UD
30122 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
30123 wcscmp-c wcscmp-sse2
30124 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
30125 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
30126 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
30127 * wcsmbs/wcscmp.c: Allow renaming.
30128
15c95c5d
DM
301292011-09-05 David S. Miller <davem@davemloft.net>
30130
30131 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
30132 stack slot, rather than the struct return pointer slot.
30133 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
30134 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
30135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
30136 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
30137
2f0ad8f3
UD
301382011-09-05 Ulrich Drepper <drepper@gmail.com>
30139
d88ae418
UD
30140 * po/ja.po: Update from translation team.
30141
2f0ad8f3
UD
30142 [BZ #13144]
30143 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
30144 kernel in 64-bit binaries.
30145
5f4318d1
DM
301462011-09-01 David S. Miller <davem@davemloft.net>
30147
30148 * elf/elf.h (HWCAP_SPARC_*): Move to..
30149 * sysdeps/sparc/sysdep.h: this new file and add new values.
30150 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
30151 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
30152 _DL_HWCAP_COUNT to 24.
30153 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30154 entries.
30155 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
30156 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
30157 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
30158 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
30159 instead of magic constants.
30160 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30161
3ba57516
DM
301622011-08-31 David S. Miller <davem@davemloft.net>
30163
30164 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
30165 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
30166 Reimplement to do errno handling inline.
30167 (SYSCALL_ERROR_HANDLER): New macro.
30168 (__SYSCALL_STRING): Do not do errno handling in asm.
30169 (__CLONE_SYSCALL_STRING): Delete.
30170 (__INTERNAL_SYSCALL_STRING): Delete.
30171 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
30172 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
30173 (PSEUDO): Reimplement to do errno handling inline.
30174 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
30175 (SYSCALL_ERROR_HANDLER): New macro.
30176 (__SYSCALL_STRING): Do not do errno handling in asm.
30177 (__CLONE_SYSCALL_STRING): Delete.
30178 (__INTERNAL_SYSCALL_STRING): Delete.
30179 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
30180 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
30181 i386.
30182 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
30183 (inline_syscall*): Add 'err' argument.
30184 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
30185 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
30186 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
30187 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
30188
30189 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
30190 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30191
2bc17433
AS
301922011-08-30 Andreas Schwab <schwab@redhat.com>
30193
30194 * elf/rtld.c (dl_main): Relocate objects in dependency order.
30195
fbeb5f4d
JO
301962011-08-29 Jiri Olsa <jolsa@redhat.com>
30197
30198 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
30199 directive.
30200
ad69cc26
DM
302012011-08-24 David S. Miller <davem@davemloft.net>
30202
30203 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
30204
39dd69df
AS
302052011-08-24 Andreas Schwab <schwab@redhat.com>
30206
30207 * elf/Makefile: Add rules to build and run unload8 test.
30208 * elf/unload8.c: New file.
30209 * elf/unload8mod1.c: New file.
30210 * elf/unload8mod1x.c: New file.
30211 * elf/unload8mod2.c: New file.
30212 * elf/unload8mod3.c: New file.
30213
30214 * elf/dl-close.c (_dl_close_worker): Reset private search list if
30215 it wasn't used.
30216
2c0b250a
DM
302172011-08-23 David S. Miller <davem@davemloft.net>
30218
30219 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
30220 subtract stack bias.
30221 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
30222 %sp not %fp in calculations.
30223 (_JMPBUF_UNWINDS_ADJ): Likewise.
30224
22044b48
DM
30225 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
30226 (aio_suspend): Call it to force an exception region around the
30227 AIO_MISC_WAIT() invocation.
30228
2cae4995
AS
302292011-08-23 Andreas Schwab <schwab@redhat.com>
30230
30231 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
30232 backslash.
30233
873a772e
AJ
302342011-07-04 Aurelien Jarno <aurelien@aurel32.net>
30235
30236 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
30237 protection macro.
30238 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
30239 and <dl-machine.h>.
30240 (Elf64_FuncDesc): Remove.
30241
25ad0df1
DM
302422011-08-22 David S. Miller <davem@davemloft.net>
30243
30244 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
30245 sigaltstack check, add missing cfi directives.
30246 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
30247 missing cfi directives, and sigaltstack handling.
30248
e888bcbe
AS
302492011-08-16 Andreas Schwab <schwab@redhat.com>
30250
30251 [BZ #11724]
30252 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
30253 object is seen twice.
30254 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30255
30256 * elf/Makefile (distribute): Add tst-initorder2.c.
30257 (tests): Add tst-initorder2.
30258 (modules-names): Add tst-initorder2a tst-initorder2b
30259 tst-initorder2c tst-initorder2d. Add rules to build them.
30260 ($(objpfx)tst-initorder2.out): New rule.
30261 * elf/tst-initorder2.c: New file.
30262 * elf/tst-initorder2.exp: New file.
30263
87162f46
AS
302642011-08-22 Andreas Schwab <schwab@redhat.com>
30265
70538b7f
AS
30266 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
30267
f55ffe58
AS
30268 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
30269 dependencies back to end of function.
30270
87162f46
AS
30271 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30272 $(elfobjdir)/ld.so.
30273
91b392a4
UD
302742011-08-21 Ulrich Drepper <drepper@gmail.com>
30275
30276 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
30277 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
30278 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
30279 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
30280 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
30281 of __vdso_gettimeofday.
30282 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
30283 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
30284 attribute_hidden.
30285 (_libc_vdso_platform_setup): Remove initialization of
30286 __vdso_gettimeofday and __vdso_time.
30287
5c43483f
UD
302882011-08-20 Ulrich Drepper <drepper@gmail.com>
30289
775a77e7
UD
30290 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
30291 and fgetc_unlocked.
30292 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
30293 getc_unlocked.
89f447ed 30294
49c74ba9
UD
30295 * elf/dl-open.c (add_to_global): Report additions to the global scope
30296 for LD_DEBUG=scopes.
30297 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 30298 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 30299
5c43483f
UD
30300 [BZ #13114]
30301 * stdio-common/Makefile (tests): Add bug24.
30302 * stdio-common/bug24.c: New file.
30303
a101b025
AJ
303042011-08-19 Andreas Jaeger <aj@suse.de>
30305
30306 [BZ #13114]
30307 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
30308 non-existant file when using close-on-exec mode.
30309
c88f1766
UD
303102011-08-20 Ulrich Drepper <drepper@gmail.com>
30311
0276a718
UD
30312 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
30313 the very first instruction.
30314
c88f1766
UD
30315 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
30316 the CFI state in the end.
30317 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
30318 inclusion of dl-trampoline.h.
30319 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
30320
51ccffa0
AS
303212011-08-19 Andreas Schwab <schwab@redhat.com>
30322
94d7165f
AS
30323 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
30324 expectations for long double.
30325
51ccffa0
AS
30326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
30327 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
30328
fd708658 303292011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
30330
30331 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
30332 artificual limit depends upon the system page size.
30333
44f0a71e
UD
303342011-08-17 Ulrich Drepper <drepper@gmail.com>
30335
30336 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
30337 * resolv/Makefile: Define CFLAGS-libresolv.
30338
8de79a24
AS
303392011-08-17 Andreas Schwab <schwab@redhat.com>
30340
30341 * nss/makedb.c (compute_tables): Make variables used in nested
30342 function static.
30343
27724598
UD
303442011-08-17 Ulrich Drepper <drepper@gmail.com>
30345
c5305d88
UD
30346 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
30347 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
30348 if buffer was too small.
30349
27724598
UD
30350 * elf/pldd.c (main): Attach to all threads in the process.
30351 Rewrite /proc handling to use *at functions.
30352
076fe015
UD
303532011-08-16 Ulrich Drepper <drepper@gmail.com>
30354
174baab3
UD
30355 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
30356 specifies first scope to show.
30357 (dl_open_worker): Update callers. Move printing scope of new
30358 object to before the relocation.
44f0a71e 30359 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
30360 * sysdeps/generic/ldsodefs.h: Update declaration.
30361
076fe015
UD
30362 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
30363 string for the scope number.
30364
a60df2c3
UD
303652011-08-14 Ulrich Drepper <drepper@gmail.com>
30366
30367 * nscd/servicescache.c (cache_addserv): Make sure written is always
30368 initialized.
30369
5e4287d1
RM
303702011-08-14 Roland McGrath <roland@hack.frob.com>
30371
85ae0589
RM
30372 * sysdeps/i386/i486/bits/atomic.h
30373 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
30374 statement expression, so as to suppress "set but not used" warning.
30375 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
30376
69f63097
RM
30377 * string/strncat.c (STRNCAT): Use prototype definition.
30378
675456ef
RM
30379 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
30380 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
30381 -Iprograms here.
30382 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
30383 (localedef-modules): Add localedef.
30384 (locale-modules): Add locale.
30385
5e4287d1
RM
30386 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
30387 * elf/rtld.c (dl_main): Invert order of assignment in last change,
30388 to avoid a warning.
30389
9c96ff23
DM
303902011-08-14 David S. Miller <davem@davemloft.net>
30391
30392 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
30393 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
30394
f9ddf089
UD
303952011-08-13 Ulrich Drepper <drepper@gmail.com>
30396
44f0a71e 30397 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
30398 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
30399 * elf/rtld.c (dl_main): Set l_name of vDSO.
30400 Call _dl_show_scope when DL_DEBUG_SCOPES.
30401 (process_dl_debug): Recognize scopes flag and also set it for all.
30402 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
30403 Declare _dl_show_scope.
30404
1dc27704
UD
30405 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
30406 (do_dlopen): Pass caller_dlopen to dl_open.
30407 (__libc_dlopen_mode): Initialize caller_dlopen.
30408
f9ddf089
UD
30409 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
30410 of libc. Make tolower call locale-independent. Optimize a bit by
30411 using isdigit instead of isalnum.
30412 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
30413
9ac533d3
UD
304142011-08-12 Ulrich Drepper <drepper@gmail.com>
30415
30416 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
30417 was a dependency or dynamically loaded.
30418
89edf2e9
UD
304192011-08-11 Ulrich Drepper <drepper@gmail.com>
30420
8e999d29
UD
30421 * intl/l10nflist.c: Allow architecture-specific pop function.
30422 * sysdeps/x86_64/l10nflist.c: New file.
30423
89edf2e9
UD
30424 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
30425 classification.
30426
14d96785
AS
304272011-08-10 Andreas Schwab <schwab@redhat.com>
30428
30429 * include/dirent.h: Add libc_hidden_proto for scandirat and
30430 scandirat64. Don't declare __scandirat64.
30431 * dirent/scandirat.c: Add libc_hidden_def.
30432 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
30433 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
30434
6761ac04
DM
304352011-08-10 David S. Miller <davem@davemloft.net>
30436
30437 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
30438 enum.
30439 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30440 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30441 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30442
c55fbd1e
UD
304432011-08-09 Ulrich Drepper <drepper@gmail.com>
30444
30445 * Versions.def [libc]: Add GLIBC_2.15.
30446 * dirent/Makefile (routines): Add scandirat and scandirat64.
30447 * dirent/Versions [libc]: Export scandirat and scandirat64 for
30448 GLIBC_2.15.
30449 * dirent/dirent.h: Declare scandirat and scandirat64.
30450 * dirent/scandirat.c: New file.
30451 * dirent/scandirat64.c: New file.
30452 * sysdeps/wordsize-64/scandirat.c: New file.
30453 * sysdeps/wordsize-64/scandirat64.c: New file.
30454 * dirent/opendir.c: Define opendirat.
30455 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
30456 using scandirat.
30457 * dirent/scandir64.c: Adjust for scandir.c change.
30458 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
30459 __scandirat64, and __scandir_cancel_handler.
30460 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
30461 additional parameter and use openat instead of open (outside of ld.so).
30462 Add new __opendir as wrapper around __opendirat.
30463 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
30464 here without requiring old scandirat implementation.
30465
879165f2
UD
304662011-08-08 Ulrich Drepper <drepper@gmail.com>
30467
30468 * dirent/scandir.c (cancel_handler): Renamed to
30469 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
30470 defined. Adjust users.
30471 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
30472 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
30473
cb7e923b
UD
304742011-08-04 Ulrich Drepper <drepper@gmail.com>
30475
16292edd
UD
30476 * string/test-string.h (IMPL): Use __STRING to expand name and then
30477 stringify it.
30478
cb7e923b
UD
30479 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
30480 of cleanups.
30481
cff82933
LD
304822011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30483
30484 * string/Makefile: Update.
30485 (strop-tests): Append strncat.
30486 * string/test-wcscmp.c: New file.
30487 New comprehensive test for wcscmp.
30488 * string/test-strcmp.c: Update.
30489 (WIDE): New define.
30490
9be9bfcc
AS
304912011-07-22 Andreas Schwab <schwab@redhat.com>
30492
30493 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
30494 line.
30495
2e96f1c7
AS
304962011-07-26 Andreas Schwab <schwab@redhat.com>
30497
30498 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30499 encoding to ACE if AI_IDN.
30500
85188888
JJ
305012011-08-01 Jakub Jelinek <jakub@redhat.com>
30502
30503 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
30504 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
30505
5fa16e9b
LD
305062011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30507
30508 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
30509 Fix overflow bug in strncat.
30510 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30511
30512 * string/test-strncat.c: Update.
30513 Add new tests for checking overflow bugs.
30514
305152011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30516
30517 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30518 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
30519 * sysdeps/i386/i686/multiarch/strcat.S: New file.
30520 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
30521 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
30522 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
30523 * sysdeps/i386/i686/multiarch/strncat.S: New file.
30524 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
30525 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
30526
30527 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
30528 (USE_AS_STRCAT): Define.
30529 Add strcat and strncat support.
30530 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30531
8c1a459f
AS
305322011-07-25 Andreas Schwab <schwab@redhat.com>
30533
30534 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
30535 __n bigger than INT_MAX+1.
30536 (__strncmp_g): Likewise.
30537
bba33c28
UD
305382011-07-23 Ulrich Drepper <drepper@gmail.com>
30539
798be72d
UD
30540 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
30541 * libio/stido.h: Likewise.
30542
8accd4dc
UD
30543 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
30544 (AF_NFC): Define.
30545 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
30546 (AF_NFC): Define.
30547
cbff0d96
UD
30548 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
30549 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30550 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30551 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30552 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30553
9191c04a
UD
30554 [BZ #13021]
30555 * scripts/test-installation.pl: Don't expect libnss_test1 to be
30556 installed.
30557
bba33c28
UD
30558 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
30559 typo.
30560 (_dl_x86_64_save_sse): Likewise.
30561
90f139dd
UD
305622011-07-22 Ulrich Drepper <drepper@gmail.com>
30563
1aae088a
UD
30564 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
30565 OSXSAVE.
30566 (_dl_x86_64_save_sse): Likewise.
30567
8e2045f5
UD
30568 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
30569
90f139dd
UD
30570 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
30571
1d002f25
AS
305722011-07-21 Andreas Schwab <schwab@redhat.com>
30573
30574 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
30575 change.
30576 (_dl_x86_64_save_sse): Use correct AVX check.
30577
21137f89
UD
305782011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30579
30580 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
30581 bug in strncpy/strncat.
30582 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30583
a65c0b7a
UD
305842011-07-21 Ulrich Drepper <drepper@gmail.com>
30585
30586 * string/tester.c (test_strcat): Add tests for different alignments
30587 of source and destination.
30588 (test_strncat): Likewise.
30589
6986b98a
UD
305902011-07-20 Ulrich Drepper <drepper@gmail.com>
30591
90bb2039
UD
30592 [BZ #12852]
30593 * posix/glob.c (glob): Check passed in values before using them in
30594 expressions to avoid some overflows.
30595 (glob_in_dir): Likewise.
30596
5644ef54
UD
30597 [BZ #13007]
30598 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
30599 check for AVX enablement so that we don't crash with old kernels and
30600 new hardware.
30601 * elf/tst-audit4.c: Add same checks here.
30602 * elf/tst-audit6.c: Likewise.
30603
30604 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 30605
bfc9dc9b
AS
306062011-07-09 Andreas Schwab <schwab@linux-m68k.org>
30607
30608 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
30609
702e64bb
UD
306102011-07-20 Ulrich Drepper <drepper@gmail.com>
30611
30612 * po/cs.po: Update from translation team.
30613 * po/bg.po: Likewise.
30614
295e904f
MP
306152011-07-12 Marek Polacek <mpolacek@redhat.com>
30616
30617 * misc/sys/cdefs.h: Add support for const attribute.
30618 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
30619 to gnu_dev_{major,minor,makedev} functions.
30620
3ff94596
MP
306212011-07-20 Marek Polacek <mpolacek@redhat.com>
30622
30623 * intl/dcigettext.c (get_output_charset): Add missing bracket.
30624
28b59fca
AS
306252011-07-20 Andreas Schwab <schwab@redhat.com>
30626
30627 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
30628 strlen results.
30629
19df733e
AK
306302011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30631
30632 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30633 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
30634 register in order to avoid conflicts with the soft frame pointer
30635 being held in r11 when necessary.
30636 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30637 (INTERNAL_VSYSCALL_NCS): Likewise.
30638
c8835729
MP
306392011-07-14 Marek Polacek <mpolacek@redhat.com>
30640
30641 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
30642 * elf/dl-fini.c (_dl_fini): Adjust caller.
30643 * elf/dl-close.c (_dl_close_worker): Likewise.
30644 * sysdeps/generic/ldsodefs.h: Adjust declaration.
30645
b902330c
MP
306462011-07-15 Marek Polacek <mpolacek@redhat.com>
30647
8991e135
MP
30648 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
30649 "aux_cache->nlibs < 0".
30650
b902330c
MP
30651 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
30652 in the reload-count case.
30653
99710781
LD
306542011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30655
30656 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30657 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
30658 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
30659 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
30660 * sysdeps/x86_64/multiarch/strcat.S: New file.
30661 * sysdeps/x86_64/multiarch/strncat.S: New file.
30662 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
30663 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
30664 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
30665 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
30666 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
30667 (USE_AS_STRCAT): Define.
30668 Add strcat and strncat support.
30669 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30670 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30671 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
30672 * string/strncat.c: Update.
30673 (USE_AS_STRNCAT): Define.
30674 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30675 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
30676 and i7.
30677 * sysdeps/x86_64/multiarch/init-arch.h
30678 (bit_Prefer_PMINUB_for_stringop): New.
30679 (index_Prefer_PMINUB_for_stringop): Likewise.
30680 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
30681 bit_Prefer_PMINUB_for_stringop.
30682
7dc6bd90
UD
306832011-07-19 Ulrich Drepper <drepper@gmail.com>
30684
30685 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
30686 buffer64.
30687 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
30688 of casting of buffer.
30689 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
30690 buffer32 and buffer64.
30691 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
30692 writes instead of casting of buffer.
30693 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
30694 buffer32.
30695 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
30696 casting of buffer.
30697
e0e72284
AS
306982011-07-19 Andreas Schwab <schwab@redhat.com>
30699
30700 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
30701
feb1eb0b
UD
307022011-07-19 Ulrich Drepper <drepper@gmail.com>
30703
30704 * nscd/nscd.c (termination_handler): Don't do anything for a database
30705 if it has not yet been initialized.
30706
298711ff
UD
307072011-07-18 Ulrich Drepper <drepper@gmail.com>
30708
30709 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30710
307112011-07-15 Marek Polacek <mpolacek@redhat.com>
30712
30713 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30714
f9d68389
UD
307152011-07-18 Ulrich Drepper <drepper@gmail.com>
30716
30717 * po/nl.po: Update from translation team.
30718 * po/sv.po: Likewise.
30719
db290cf5
RM
307202011-07-16 Roland McGrath <roland@hack.frob.com>
30721
30722 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
30723 now disallowed by GCC.
5c550700 30724
fd5e21c7
RM
30725 * configure.in (use-default-link): Default to yes if a test -shared
30726 link meets our qualifications.
30727 * configure: Regenerated.
30728
5c550700
RM
30729 * config.make.in (output-format): New variable.
30730 * configure.in: Check for ld --print-output-format support.
30731 * configure: Regenerated.
30732 * Makerules ($(common-objpfx)format.lds)
30733 [$(output-format) != unknown]: Just use $(output-format),
30734 instead of the linker-script munging.
30735
9fa2c032
RM
307362011-07-14 Roland McGrath <roland@hack.frob.com>
30737
a6928d51
RM
30738 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
30739 of $(common-objpfx)shlib.lds.
30740 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
30741
661607b3
RM
30742 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
30743 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
30744
9fa2c032
RM
30745 * configure.in (-z relro check): Adjust test code to add a large
30746 writable data section after it.
30747 * configure: Regenerated.
30748
defe9061
RM
307492011-07-11 Roland McGrath <roland@hack.frob.com>
30750
30751 * configure.in (-z relro check): Fix test code to make the variable
30752 truly const.
30753 * configure: Regenerated.
30754
319b9ad4
UD
307552011-07-11 Ulrich Drepper <drepper@gmail.com>
30756
30757 * nscd/nscd.h (struct traced_file): Define.
30758 (struct database_dyn): Remove inotify_descr, reset_res, and filename
30759 elements. Add traced_files.
30760 (inotify_fd): Declare.
30761 (register_traced_file): Declare.
30762 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
30763 (inotify_fd): Export.
30764 (resolv_conf_descr): Remove.
30765 (nscd_init): Move inotify descriptor creation to main.
30766 Don't register files for notification here.
30767 (register_traced_file): New function.
30768 (invalidate_cache): Don't use reset_res to determine whether to call
30769 res_init, go through the list of registered files.
30770 (main_loop_poll): The inotify descriptors are now stored in the
30771 structures for the traced files.
30772 (main_loop_epoll): Likewise
30773 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
30774 to __nss_disable_nscd.
30775 * nscd/cache.c (prune_cache): There is no single inotify descriptor
30776 for a database anymore. Check the records for all the registered
30777 files instead.
30778 * nss/Makefile (libnss_files-routines): Add files-init.
30779 (libnss_db-routines): Add db-init.
30780 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
30781 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
30782 * nss/nss_db/db-init.c: New file.
30783 * nss/nss_files/files-init.c: New file.
30784 * nss/nsswitch.c (nss_load_library): New function. Broken out of
30785 __nss_lookup_function.
30786 (__nss_lookup_function): Call nss_load_library.
30787 (nss_load_all_libraries): New function.
30788 (__nss_disable_nscd): Take parameter with callback function for files
30789 to register. Set is_nscd. Load all the DSOs for the NSS modules
30790 used for the cached services.
30791 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
30792 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
30793 options for features to all the files in nscd.
30794
30795 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
30796
23bee3e8
RM
307972011-07-10 Roland McGrath <roland@hack.frob.com>
30798
30799 * csu/elf-init.c (__libc_csu_init): Comment typo.
30800
46a5b7f0
UD
308012011-07-09 Ulrich Drepper <drepper@gmail.com>
30802
30803 * po/pl.po: Update from translation team.
30804 * po/ja.po: Likewise.
30805 * po/ru.po: Likewise.
30806 * po/ko.po: Likewise.
30807 * po/fr.po: Likewise.
30808
d30cf5bb
RM
308092011-07-09 Roland McGrath <roland@hack.frob.com>
30810
113ddea4
RM
30811 * configure.in (.ctors/.dtors header and trailer check):
30812 Use an empirical test on a built program.
30813 * configure: Regenerated.
30814
574920b4
RM
30815 * configure.in (-z relro check): Use an empirical test on a built DSO.
30816 Detect, but do not require, on ia64.
30817 * configure: Regenerated.
30818
d30cf5bb
RM
30819 * configure.in (READELF): Find it with AC_CHECK_TOOL.
30820 Update tests that use readelf to use $READELF instead.
30821 * configure: Regenerated.
30822
8538fdb3
UD
308232011-07-08 Ulrich Drepper <drepper@gmail.com>
30824
30825 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
30826 if the result is not used.
30827
04d08991
AJ
308282011-07-05 Andreas Jaeger <aj@suse.de>
30829
30830 [BZ#9696]
30831 * stdlib/tst-strtod.c: Add testcase.
30832
de283087
AD
308332011-07-07 Ulrich Drepper <drepper@gmail.com>
30834
4e5f31c8 30835 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 30836 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
30837 The latter has a higher limit. Take additional parameter to pass to
30838 the new function.
30839 (__pathconf): Pass file to __statfs_link_max.
30840 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
30841 __statfs_link_max.
30842 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
30843 __statfs_link_max.
30844
de283087
AD
30845 [BZ #12868]
30846 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
30847 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30848 Handle Lustre.
30849 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
30850 (__statfs_filesize_max): Likewise.
30851 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
30852
c75fa153
AJ
308532011-07-05 Andreas Jaeger <aj@suse.de>
30854
30855 * resolv/res_comp.c (dn_skipname): Remove unused variable.
30856
1a544854
UD
308572011-07-06 Marek Polacek <mpolacek@redhat.com>
30858
30859 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
30860 `status' variable.
30861 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
30862 Likewise.
30863
6f0eec67
UD
308642011-07-04 H.J. Lu <hongjiu.lu@intel.com>
30865
30866 * Makefile (strop-tests): Add strncat.
30867 * string/test-strncat.c: New file.
30868
aae30307
UD
308692011-06-30 Marek Polacek <mpolacek@redhat.com>
30870
30871 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
30872
c0cfb5eb
UD
308732011-06-21 Andreas Jaeger <aj@suse.de>
30874
30875 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
30876 Copy rule from iconvdata/Makefile.
30877
01636b21
UD
308782011-07-06 Ulrich Drepper <drepper@gmail.com>
30879
30880 [BZ #12922]
30881 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
30882 but no long options are defined, just return 'W'.
30883
9895c8bc
UD
308842011-06-22 Marek Polacek <mpolacek@redhat.com>
30885
30886 [BZ #9696]
30887 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
30888
5d4cf042
UD
308892011-07-06 Ulrich Drepper <drepper@gmail.com>
30890
30891 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
30892 netgroups to read.
960e5535 30893 (innetgr): Likewise.
5d4cf042 30894
751eb97e
RM
308952011-07-05 Roland McGrath <roland@hack.frob.com>
30896
30897 * config.make.in (install_root): Default to $(DESTDIR).
30898
f15f1e45
UD
308992011-07-05 Ulrich Drepper <drepper@gmail.com>
30900
30901 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
30902
4e34ac6a
RM
309032011-07-02 Roland McGrath <roland@hack.frob.com>
30904
5e9b6af4
RM
30905 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
30906
84f9ea0f
RM
30907 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
30908 containing directory rather than embedding absolute directory names.
30909
ea5ee9f7
RM
30910 * scripts/check-local-headers.sh: Rewritten using awk.
30911 Match by word, not by line. Print error messages for matches.
30912 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
30913
1b74661a
RM
30914 * Makerules [shlib-lds-flags empty]:
30915 ($(common-objpfx)libc_pic.opts): New target.
30916 ($(common-objpfx)libc_pic.os.clean): New target.
30917 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
30918
30919 * config.make.in (OBJCOPY): New variable.
30920 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
30921 * configure: Regenerated.
30922
f781ef40
RM
30923 * config.make.in (use-default-link): New variable.
30924 * configure.in (use_default_link): Grok --with-default-link to set it.
30925 * configure: Regenerated.
30926 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
30927 (shlib-lds, shlib-lds-flags): Define to empty.
30928
2d4fa81e
RM
30929 * Makerules (shlib-lds): New variable.
30930 (shlib-lds-flags): New variable.
30931 (build-shlib, build-moduile, build-module-asneeded): Use it.
30932 ($(common-objpfx)libc.so): Use $(shlib-lds).
30933 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
30934 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
30935
31fffa6b
RM
30936 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
30937 DT_FLAGS/DT_FLAGS_1 with zero flags.
30938
4e34ac6a
RM
30939 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
30940 linker script munging.
30941
fcfc776b
UD
309422011-07-02 Ulrich Drepper <drepper@gmail.com>
30943
30944 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
30945 as 128-bit value.
30946 * crypt/sha512.c (sha512_process_block): Perform total addition using
30947 128-bit if possible.
30948 (__sha512_finish_ctx): Likewise.
30949 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
30950 as 64-bit value.
30951 * crypt/sha256.c (SWAP64): Define.
30952 (sha256_process_block): Perform total addition using 64-bit if
30953 possible.
30954 (__sha256_finish_ctx): Likewise.
30955
99231d9a
UD
309562011-07-01 Ulrich Drepper <drepper@gmail.com>
30957
30958 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
30959 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30960 * nscd/hstcache.c (cache_addhst): Likewise.
30961 * nscd/grpcache.c (cache_addgr): Likewise.
30962 * nscd/aicache.c (addhstaiX): Likewise
30963 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
30964
445b4a53
TK
309652011-07-01 Thorsten Kukuk <kukuk@suse.de>
30966
30967 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
30968 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30969 * nscd/hstcache.c (cache_addhst): Likewise.
30970 * nscd/grpcache.c (cache_addgr): Likewise.
30971 * nscd/aicache.c (addhstaiX): Likewise
30972
6d4d8e8e
AS
309732011-07-01 Andreas Schwab <schwab@redhat.com>
30974
30975 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
30976 domain only when needed.
30977
89f654c5
AS
309782011-06-30 Andreas Schwab <schwab@redhat.com>
30979
30980 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
30981 is always restored.
30982
cf3b23ff
UD
309832011-06-29 Ulrich Drepper <drepper@gmail.com>
30984
30985 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
30986 are re-adding the entry.
30987 * nscd/servicescache.c (cache_addserv): Likewise.
30988
751626f9
AJ
309892011-06-30 Aurelien Jarno <aurelien@aurel32.net>
30990
30991 * sysdeps/generic/dl-irel.h: fix protection against multiple
30992 inclusions.
30993 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
30994
9113ea1f
UD
309952011-06-28 Ulrich Drepper <drepper@gmail.com>
30996
5c0b8d90
UD
30997 [BZ #12935]
30998 * malloc/memusage.sh: Fix quoting in message.
30999 * debug/xtrace.sh: Likewise.
31000
9113ea1f
UD
31001 * configure.in: Remove support for --experimental-malloc option, make
31002 it the default.
31003 * config.make.in: Likewise.
31004 * malloc/Makefile: Likewise.
31005
a4172181
AS
310062011-06-27 Andreas Schwab <schwab@redhat.com>
31007
31008 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
31009 two-byte characters.
31010
78a7eee7
RM
310112011-06-27 Roland McGrath <roland@hack.frob.com>
31012
62bede13
RM
31013 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
31014 AC_CACHE_CHECK invocation.
31015 * configure: Regenerated.
31016
78a7eee7
RM
31017 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
31018
5ce33a62
UD
310192011-06-27 Ulrich Drepper <drepper@gmail.com>
31020
034807a9
UD
31021 [BZ #12350]
31022 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
31023 bit from old_res_options.
31024
4902da17
UD
31025 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
31026
5ce33a62
UD
31027 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
31028 value type for setfct.
31029
c2344f56
L
310302011-06-23 H.J. Lu <hongjiu.lu@intel.com>
31031
31032 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31033 __gettimeofday instead of gettimeofday.
31034
68468076
UD
310352011-06-26 Ulrich Drepper <drepper@gmail.com>
31036
31037 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
31038
acb0d739
L
310392011-06-24 H.J. Lu <hongjiu.lu@intel.com>
31040
31041 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
31042
31043 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
31044 info.
31045
8912479f
L
310462011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31047
31048 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31049 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31050 strcpy-sse2-unaligned strncpy-sse2-unaligned
31051 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
31052 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
31053 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
31054 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
31055 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
31056 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
31057 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
31058 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
31059 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
31060 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
31061 (STRCPY): Support SSE2 and SSSE3 versions.
31062
d5495a11
UD
310632011-06-24 Ulrich Drepper <drepper@gmail.com>
31064
31065 [BZ #12874]
31066 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
31067 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
31068 kernels which artificially limit size of requests.
31069
0b1cbaae
L
310702011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31071
31072 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31073 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31074 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
31075 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
31076 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
31077 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
31078 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
31079 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
31080 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
31081 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
31082 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
31083 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
31084 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
31085 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
31086 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
31087 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31088 Enable unaligned load optimization for Intel Core i3, i5 and i7
31089 processors.
31090 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
31091 Define.
31092 (index_Fast_Unaligned_Load): Define.
31093 (HAS_FAST_UNALIGNED_LOAD): Define.
31094
07f494a0
MP
310952011-06-23 Marek Polacek <mpolacek@redhat.com>
31096
31097 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
31098
fa3fc0fe
UD
310992011-06-22 Ulrich Drepper <drepper@gmail.com>
31100
31101 [BZ #12907]
31102 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
31103 until it is clear that the information is realy needed.
31104 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
31105
e12df166
AS
311062011-06-22 Andreas Schwab <schwab@redhat.com>
31107
31108 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
31109
852eb34d
UD
311102011-06-22 Ulrich Drepper <drepper@gmail.com>
31111
84e2a551
UD
31112 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31113 /sys/devices/system/cpu/online if it is usable.
31114
852eb34d
UD
31115 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
31116 reading the information from the /proc filesystem to once a second.
31117
6e502e19
UD
311182011-06-21 Andreas Jaeger <aj@suse.de>
31119
31120 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
31121 NULL after inclusion of kernel headers.
31122
75d39ff2
UD
311232011-06-21 Ulrich Drepper <drepper@gmail.com>
31124
51f9aa6a
UD
31125 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
31126 calls to internal_setent.
31127
c0244a9d
UD
31128 [BZ #12885]
31129 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
31130 addresses using gethostbyname4_r ignore IPv4 addresses.
31131
c5e3c2ae
UD
31132 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
31133 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
31134
75d39ff2
UD
31135 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
31136
42675c6f
DM
311372011-06-20 David S. Miller <davem@davemloft.net>
31138
31139 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
31140 inclusions.
31141 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
31142
31143 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
31144 (elf_irel): Use it.
31145 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
31146 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
31147 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
31148 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
31149 * sysdeps/x86_64/dl-irel.h: Likewise.
31150
31151 * elf/dl-runtime.c: Use elf_ifunc_invoke.
31152 * elf/dl-sym.c: Likewise.
31153
57912a71
UD
311542011-06-15 Ulrich Drepper <drepper@gmail.com>
31155
31156 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
31157 need to dereference resplen2.
31158
ee22793d
AS
311592011-06-14 Andreas Schwab <schwab@redhat.com>
31160
31161 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
31162
a9e836b0
UD
311632011-06-15 Ulrich Drepper <drepper@gmail.com>
31164
77fb9117
UD
31165 * Makeconfig: Define vardbdir and inst_vardbdir.
31166 * nss/Makefile: Add rules to install db-Makefile.
31167
40c1b22c
UD
31168 * nss/nss_db/db-XXX.c: Cleanup.
31169
9f2da732
UD
31170 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
31171 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
31172 GLIBC_PRIVATE.
31173 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
31174 * nss/makedb.c: Implement -g option to specify that value strings
31175 are generated and should not be added to table iterated over for
31176 get*ent calls.
31177 * nss/nss_db/db-initgroups.c: New file.
31178
82e9a1f7
UD
31179 * nss/getent.c: Add support for initgroups lookups through getgrouplist
31180 interface.
31181
c41af17e
UD
31182 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
31183 (internal_getgrouplist): Adjust to name change.
31184 Update use_initgroups_entry if this is not the first call.
31185 * nss/databases.def: Add initgroups entry.
31186
a9e836b0
UD
31187 * nss/makedb.c (compute_tables): Check result of multiple hash table
31188 sizes to minimize maximum chain length.
31189
2666d441
UD
311902011-06-14 Ulrich Drepper <drepper@gmail.com>
31191
31192 * Versions.def: Add entry for libnss_db.
31193 * shlib-versions: Likewise.
31194 * nss/Makefile: Add rules to build libnss_db.
31195 * nss/Versions: Add libnss_db information. Organize libnss_files
31196 entries better.
31197 * nss/db-Makefile: Add gshadow support. Change rules for the new
31198 makedb progra. Some minor improvements to generate smaller files.
31199 * nss/nss_db/nss_db.h: Move NSS database header data structures to
31200 here from...
31201 * nss/makedb.c: ...here.
31202 Improve database format to be smaller and require less memory at
31203 runtime.
31204 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
31205 db anymore.
31206 * nss/nss_db/db-netgrp.c: Likewise.
31207 * nss/nss_db/db-open.c: Likewise.
31208 * nss/nss_files/flies-XXX.x: Adjust comments.
31209 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
31210 * nss/nss_files/files-grp.c: Likewise.
31211 * nss/nss_files/files-hosts.c: Likewise.
31212 * nss/nss_files/files-network.c: Likewise.
31213 * nss/nss_files/files-proto.c: Likewise.
31214 * nss/nss_files/files-pwd.c: Likewise.
31215 * nss/nss_files/files-rpc.c: Likewise.
31216 * nss/nss_files/files-service.c: Likewise.
31217 * nss/nss_files/files-sgrp.c: Likewise.
31218 * nss/nss_files/files-spwd.c: Likewise.
31219 * nss/nss_db/db-alias.c: Removed.
31220 * nss/nss_db/dummy-db.h: Removed.
31221
9ee76b5a
UD
312222011-06-02 Ulrich Drepper <drepper@gmail.com>
31223
31224 * nss/makedb.c: Rewritten to not use database library.
31225 * nss/Makefile: Update to build new makedb program.
31226
c71ca1f8
AJ
312272011-06-14 Andreas Jaeger <aj@suse.de>
31228
31229 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
31230 memset declaration.
31231
3154bfb8
UD
312322011-06-10 Andreas Schwab <schwab@redhat.com>
31233
31234 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
31235 tmpbuf.
31236
b350afab
RM
312372011-06-10 Roland McGrath <roland@hack.frob.com>
31238
decd4e50
RM
31239 * Makerules (shlib.lds): Fail if the linker script comes out empty.
31240 * elf/Makefile ($(objpfx)ld.so): Likewise.
31241
5615eaf2
RM
31242 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
31243 Don't list ld.so twice in dependencies.
31244
31245 * posix/bug-regex31.c: Include <stdlib.h>.
31246
31247 * nscd/hstcache.c (cache_addhst): Remove unused variable.
31248
31249 * nis/nss_compat/compat-spwd.c
31250 (getspent_next_nss_netgr): Remove unused variable.
31251 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
31252
31253 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
31254 nonmembers" output to use the right array.
31255
31256 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
31257
31258 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
31259
31260 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
31261 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
31262 * catgets/gencat.c (read_input_file): Likewise.
31263 * locale/programs/locarchive.c (enlarge_archive): Likewise.
31264
31265 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
31266 variable definition inside #if's controlling its use.
31267
31268 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
31269
31270 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
31271
31272 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
31273
31274 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
31275 unreachable code.
31276
31277 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
31278
b68e08db
RM
31279 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
31280 * configure: Regenerated.
31281
b350afab
RM
31282 * Makerules: Revert last change.
31283 * elf/Makefile: Likewise.
31284
28368601
RM
312852011-06-09 Roland McGrath <roland@hack.frob.com>
31286
31287 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
31288 * elf/Makefile ($(objpfx)librtld.os): Likewise.
31289 (reloc-link): Likewise.
31290
11988f8f
UD
312912011-06-09 Ulrich Drepper <drepper@gmail.com>
31292
31293 * elf/Makefile: Add rules to build pldd.
31294 * elf/pldd.c: New file.
31295 * elf/pldd-xx.c: New file.
31296
e80fab37
UD
312972011-06-07 Ulrich Drepper <drepper@gmail.com>
31298
31299 * version.h: Update for 2.15 development version.
31300
9b849836
DM
313012011-06-07 David S. Miller <davem@davemloft.net>
31302
31303 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
31304 ifuncs.
31305 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
31306 elf_machine_lazy_rel): Likewise.
31307 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
31308 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
31309 elf_machine_lazy_rel): Likewise.
31310 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
31311 dl_hwcap via passed in argument.
31312 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
31313 Likewise.
31314
5a31b283
AK
313152011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31316
31317 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
31318
069e52f8
RM
313192011-06-06 Roland McGrath <roland@hack.frob.com>
31320
31321 [BZ #12849]
31322 * manual/fdl-1.1.texi: New file, verbatim from:
31323 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
31324 * manual/lgpl-2.1.texi: New file, verbatim from:
31325 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
31326 * manual/Makefile (licenses): New variable, list those new file names.
31327 (texis): Use it.
31328 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
31329
31330 * manual/fdl.texi: File removed.
31331 * manual/lesser.texi: File removed.
31332 * manual/libc.texinfo (Copying, Documentation License):
31333 Use new @include file names, put @appendix directive before @include.
31334
f16846a5
JJ
313352011-06-04 Jakub Jelinek <jakub@redhat.com>
31336
31337 [BZ #12841]
31338 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
31339 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
31340 (mq_open): Add __NTH.
31341
3d29045b
L
313422011-06-02 H.J. Lu <hongjiu.lu@intel.com>
31343
31344 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31345 Assume Intel Core i3/i5/i7 processor if AVX is available.
31346
8c297311
UD
313472011-05-31 Ulrich Drepper <drepper@gmail.com>
31348
31349 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
31350 typo.
31351
c8fc0c91
UD
313522011-05-31 Andreas Schwab <schwab@redhat.com>
31353
31354 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
31355 memory. Use alloca_account. Fix memory leak when retrying.
31356
5b27a807
UD
313572011-05-31 Ulrich Drepper <drepper@gmail.com>
31358
356f8bc6
UD
31359 * version.h (RELEASE): Bump for 2.14 release.
31360 * include/features.h (__GLIBC_MINOR__): Bump to 14.
31361
5b27a807
UD
31362 * config.make.in (RANLIB): Remove entry.
31363
01f16ab0
UD
313642011-05-30 Ulrich Drepper <drepper@gmail.com>
31365
41fce8bd
UD
31366 * po/Makefile (po-sed-cmd): Add ksh to extensions.
31367 (libc.pot): Work around missing support for .ksh extension in xgettext.
31368
4769ae77
UD
31369 [BZ #12684]
31370 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
31371 if both request failed.
31372 (send_dg): In case of server errors clear resplen or *resplen2.
31373
6b1e7d19
UD
31374 [BZ #12454]
31375 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
31376 when there are multiple maps.
31377 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
31378 (_dl_fini): Remove test here.
31379
01f16ab0
UD
31380 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
31381
b1ebd700
UD
313822011-05-29 Ulrich Drepper <drepper@gmail.com>
31383
7ae22829
UD
31384 [BZ #12350]
31385 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
31386 bit from old_res_options.
31387 (gaih_inet): Likewise.
31388
553149f6 31389 [BZ #11099]
18a84741 31390 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
31391 as signed.
31392
652ffab1
UD
31393 * resolv/res_init.c (res_setoptions): Make the code more compact.
31394
16985fd0
UD
31395 [BZ #11558]
31396 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
31397 set RES_USEVC.
31398
0464f746
UD
31399 [BZ #11634]
31400 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
31401
7d17596c
UD
31402 * malloc/malloc.h: Mark malloc hook variables as deprecated.
31403
cf6bbbd7
UD
31404 [BZ #11781]
31405 * malloc/malloc.h: Declare malloc hook variables as volatile.
31406
13f1ab36
UD
31407 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
31408 in last patch.
31409
b1ebd700
UD
31410 [BZ #11799]
31411 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 31412 raise in the comment.
80e2212d
UD
31413 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31414 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31415 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 31416
ce67228d
UD
314172011-05-28 Ulrich Drepper <drepper@gmail.com>
31418
8887a920
UD
31419 [BZ #12811]
31420 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
31421 grow the buffers more if it already has to be sufficient.
31422 (build_wcs_upper_buffer): Likewise.
31423 * posix/regexec.c (check_matching): Likewise.
31424 (clean_state_log_if_needed): Likewise.
31425 (extend_buffers): Don't enlarge buffers beyond size of the input
31426 buffer.
31427 Patches mostly by Emil Wojak <emil@wojak.eu>.
31428 * posix/bug-regex32.c: New file.
31429 * posix/Makefile (tests): Add bug-regex32.
31430
4f031072
UD
31431 * locale/findlocale.c (_nl_find_locale): Return right away if
31432 _nl_explode_name failed.
31433 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
31434
d0478f0c
UD
31435 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
31436
de81b246
UD
31437 * debug/xtrace.sh: Unify messages.
31438 * malloc/memusage.sh: Likewise.
31439
c738465a
UD
31440 [BZ #12813]
31441 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
31442 time symbol from vDSO. Substitute with vsyscall if not available.
31443 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
31444 __vdso_time.
31445
f1f929d7
UD
31446 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
31447 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
31448 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
31449 Add sendmmsg and internal_sendmmsg.
31450 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
31451 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
31452 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
31453
ce67228d
UD
31454 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
31455 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
31456 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
31457
e57420c6
UD
314582011-05-27 Ulrich Drepper <drepper@gmail.com>
31459
a8509ca5
UD
31460 [BZ #12813]
31461 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
31462 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
31463 available.
31464 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
31465 __vdso_getcpu.
31466
e57420c6
UD
31467 [BZ #12814]
31468 * iconvdata/Makefile (tests): Add bug-iconv9.
31469 * iconvdata/bug-iconv9.c: New file.
31470
4d07db15
AS
314712011-05-27 Andreas Schwab <schwab@redhat.com>
31472
31473 [BZ #12814]
31474 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
31475
ea486f69
JJ
314762011-05-25 Jakub Jelinek <jakub@redhat.com>
31477
31478 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31479 (struct user_regs_struct): Change intcs field back to cs.
31480
6f038433
UD
314812011-05-25 Ulrich Drepper <drepper@gmail.com>
31482
31483 * po/ja.po: Update from translation team.
31484
67f86a25
UD
314852011-05-23 Ulrich Drepper <drepper@gmail.com>
31486
31487 [BZ #12795]
31488 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
31489 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
31490
def7fbd6
AS
314912011-05-20 Andreas Schwab <schwab@redhat.com>
31492
31493 * stdlib/longlong.h: Update from GCC.
31494
f50ef8f1
AS
314952011-05-23 Andreas Schwab <schwab@redhat.com>
31496
31497 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
31498 parameter name.
31499 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
31500 Add parameter name.
31501 (__sysconf): Pass it down.
31502
de7ce8f1
UD
315032011-05-22 Ulrich Drepper <drepper@gmail.com>
31504
f2962a71
UD
31505 [BZ #12671]
31506 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
31507 some situations.
31508 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31509 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
31510 add in in __libc_use_alloca calls. Adjust callers.
31511 (glob): Use malloc in some situations.
31512
de7ce8f1
UD
31513 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
31514 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
31515 pltexit.
31516
aec84f53
UD
315172011-05-21 Ulrich Drepper <drepper@gmail.com>
31518
05bb4a68
UD
31519 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
31520 and CLOCK_BOOTTIME_ALARM.
31521
7ea72f99
UD
31522 [BZ #12782]
31523 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
31524 is returned.
31525
7e4afad5
UD
31526 * string/_strerror.c (__strerror_r): Print negative errors as signed
31527 numbers.
31528
8e211fec
UD
31529 [BZ #12777]
31530 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
31531 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
31532 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
31533
f7d82dc9
UD
31534 * configure.in: Fix typo in redirection and correct removal of test
31535 files in two cases.
31536
cc9e536d
UD
31537 [BZ #12788]
31538 * locale/setlocale.c (new_composite_name): Fix test to check for
31539 identical name of all categories.
31540
aec84f53
UD
31541 [BZ #12792]
31542 * libio/filedoalloc.c (local_isatty): New function.
31543 (_IO_file_doallocate): Use local_isatty.
31544 * stdio-common/perror.c (perror): In case a new stream is used
31545 forward the stream error.
31546 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
31547 error flag.
31548
78e64fdc
RT
315492011-05-20 Ulrich Drepper <drepper@gmail.com>
31550
34a9094f
UD
31551 [BZ #11869]
31552 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
31553 alloca.
31554 * include/alloca.h (extend_alloca_account): Define.
31555
78e64fdc
RT
31556 [BZ #11857]
31557 * posix/regex.h: Fix comments with documentation of user-accessible
31558 fields after compilation and describe correct free'ing of pattern
31559 after re_compile_pattern.
31560 Patch by Reuben Thomas <rrt@sc3d.org>.
31561
457bddfc
RA
315622011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
31563
31564 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
31565 and -mno-altivec to prevent the compiler from using Altivec and/or
31566 VSX instructions when the corresponding registers are not available.
31567
a4527b51
AS
315682011-05-19 Andreas Schwab <schwab@redhat.com>
31569
31570 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
31571
ed690b2f
UD
315722011-05-19 Ulrich Drepper <drepper@gmail.com>
31573
31574 * libio/freopen.c (freopen): Use __dup2, not dup2.
31575 * libio/freopen64.c (freopen64): Likewise.
31576
8db73634
L
315772011-05-17 H.J. Lu <hongjiu.lu@intel.com>
31578
31579 [BZ #12775]
31580 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
31581 * math/Makefile (tests): Add test-powl.
31582 (CFLAGS-test-powl.c): Define.
31583 * math/test-powl.c: New file.
31584
0a197a9d
L
315852011-05-16 H.J. Lu <hongjiu.lu@intel.com>
31586
31587 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
31588
ee30c380
UD
315892011-05-17 Ulrich Drepper <drepper@gmail.com>
31590
31591 [BZ #11837]
31592 * iconvdata/gb18030.c: Update to GB18020-2005.
31593
6ce75379
UD
315942011-05-16 Ulrich Drepper <drepper@gmail.com>
31595
a4b89fd8
AR
31596 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
31597 RE_SYNTAX_POSIX_AWK): Update to match recent development.
31598 Patch by Aharon Robbins <arnold@skeeve.com>.
31599
ea389b12
UD
31600 [BZ #11892]
31601 * stdlib/putenv.c (putenv): Don't always create copy of the variable
31602 on the stack.
31603
68a3f91f
UD
31604 [BZ #11895]
31605 * misc/pselect.c (__pselect): Handle timeout value errors hidden
31606 through underflows.
31607
15cc7dd1
UD
31608 [BZ #12766]
31609 * misc/error.c (error_at_line): Ensure file_name and old_file_name
31610 point to strings before performing equality test for error_one_per_line
31611 mode.
31612
f3799213
UD
31613 [BZ #11697]
31614 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
31615
d79a9c94
UD
31616 [BZ #11820]
31617 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31618 (struct user_fpregs_struct): Avoid __uint*_t types.
31619
56e5eb46
UD
31620 [BZ #6420]
31621 * malloc/mtrace.c (tr_where): Add additional parameter to point to
31622 symbol info. Use it instead of calling _dl_addr locally.
31623 (lock_and_info): New function.
31624 (tr_freehook): Call lock_and_info and pass symbol info as additional
31625 parameter to tr_where.
31626 (tr_mallochook): Likewise.
31627 (tr_reallochook): Likewise.
31628 (tr_memalignhook): Likewise.
31629
6ce75379
UD
31630 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
31631 used and couldn't be at all thread-safe.
31632
f8a3b5bf
UD
316332011-05-15 Ulrich Drepper <drepper@gmail.com>
31634
94b7cc37
UD
31635 * libio/freopen.c (freopen): Don't close old file descriptor
31636 before the new one is opened. Instead dup the new file descriptor
31637 to the old one after the new stream is created.
31638 * libio/freopen64.c (freopen64): Likewise.
31639 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
31640 * libio/fileops.c (_IO_new_file_close_it): Handle new
31641 _IO_FLAGS2_NOCLOSE flag.
31642 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
31643 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
31644 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
31645 _IO_FLAGS2_NOCLOSE flag.
31646 * include/unistd.h: Add hidden_proto for dup3.
31647 Define __have_dup3.
31648 * io/dup3.c: Define hidden symbol.
31649 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
31650
bd25564e
UD
31651 [BZ #7101]
31652 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
31653 when an incomplete long option is used.
31654 * posix/tst-getopt_long1.c: New file.
31655 * posix/Makefile (tests): Add tst-getopt_long1.
31656
c84cfef4
UD
31657 [BZ #10138]
31658 * scripts/config.guess: Update from autoconf-2.68.
31659 * scripts/config.sub: Likewise.
31660
3b85df27
UD
31661 [BZ #10157]
31662 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
31663 tests into ...
31664 (has_cpuclock): ...this. New function.
31665 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
31666 macro here based on has_cpuclock code.
31667
15a856b1
UD
31668 [BZ #10149]
31669 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31670 First byte (not low byte) is now always NUL.
31671 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
31672
05f399e6
UD
31673 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31674 Use non-cancelable interfaces.
31675
10a52685 31676 [BZ #9809]
94ecc67d
UD
31677 * locale/iso-639.def: Add entry for Sorani.
31678
f8a3b5bf
UD
31679 [BZ #11901]
31680 * include/stdlib.h: Move include protection to the right place.
31681 Define abort_msg_s. Declare __abort_msg with it.
31682 * stdlib/abort.c (__abort_msg): Adjust type.
31683 * assert/assert.c (__assert_fail_base): New function. Majority
31684 of code from __assert_fail. Allocate memory for __abort_msg with
31685 mmap.
31686 (__assert_fail): Now call __assert_fail_base.
31687 * assert/assert-perr.c: Remove bulk of implementation. Use
31688 __assert_fail_base.
31689 * include/assert.hL Declare __assert_fail_base.
31690 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
31691 mmap.
31692 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
31693
1af4e298
UD
316942011-05-14 Ulrich Drepper <drepper@gmail.com>
31695
f8a3b5bf 31696 [BZ #11952]
d26dfc60
MG
31697 [BZ #12453]
31698 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
31699 until all modules are registered in the DTV.
31700 * elf/Makefile: Add rules to build and run tst-tls19.
31701 * elf/tst-tls19.c: New file.
31702 * elf/tst-tls19mod1.c: New file.
31703 * elf/tst-tls19mod2.c: New file.
31704 * elf/tst-tls19mod3.c: New file.
31705 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
31706
2fc54d6f
UD
31707 [BZ #12083]
31708 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
31709 correctly.
31710
98d76b46
UD
31711 [BZ #12601]
31712 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
31713 two-byte sequence errors.
31714 * iconvdata/Makefile (tests): Add bug-iconv8.
31715 * iconvdata/bug-iconv8.c: New file.
31716
da3c19ef
UD
31717 [BZ #12626]
31718 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
31719 buf2 definition.
31720
ca408c15
UD
31721 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
31722
d6f67f7d
UD
31723 [BZ #12432]
31724 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
31725 (dummy_getcfa): New function.
31726 (init): Get _Unwind_GetCFA address, use dummy if not found.
31727 (backtrace_helper): In recursion check, also check whether CFA changes.
31728 (__backtrace): Completely initialize arg.
31729
1af4e298 31730 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
31731 storing incomplete byte sequence in state object. Avoid testing for
31732 guaranteed too small input if we know there is enough data available.
1af4e298 31733
da62f81b
AS
317342011-05-11 Andreas Schwab <schwab@redhat.com>
31735
31736 * Makeconfig (+link-pie): Indent.
31737 * Rules (binaries-pie): Define if $(have-fpie) and
31738 $(build-shared).
31739 (binaries-shared): Also filter out $(binaries-pie).
31740 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
31741 * nscd/Makefile (others-pie): Add nscd.
31742 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
31743 ($(objpfx)nscd): Remove command override.
31744 * login/Makefile (others-pie): Add pt_chown.
31745 ($(objpfx)pt_chown): Remove command override.
31746 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
31747 remove command overrides.
31748
fcabc0f8
UD
317492011-05-13 Ulrich Drepper <drepper@gmail.com>
31750
20030ae6
UD
31751 * libio/tst_putwc.c: Fix error messages.
31752
fcabc0f8
UD
31753 [BZ #12724]
31754 * libio/fileops.c (_IO_new_file_close_it): Always flush when
31755 currently writing and seek to current position when not.
31756 * libio/Makefile (tests): Add bug-fclose1.
31757 * libio/bug-fclose1.c: New file.
31758
320a5dc0
PB
317592011-05-12 Ulrich Drepper <drepper@gmail.com>
31760
31761 [BZ #12511]
31762 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
31763 don't set DF_1_NODELETE here.
31764 (do_lookup_x): When entering new entry test for copy relocation
31765 and if necessary set DF_1_NODELETE flag.
31766 * elf/tst-unique4.cc: New file.
31767 * elf/tst-unique4.h: New file.
31768 * elf/tst-unique4lib.cc: New file.
31769 * elf/Makefile: Add rules to build and run tst-unique4.
31770 Patch by Piotr Bury <pbury@goahead.com>.
31771
22836f52
UD
317722011-05-11 Ulrich Drepper <drepper@gmail.com>
31773
f574184a
UD
31774 [BZ #12052]
31775 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
31776
e1fb097f
UD
31777 [BZ #12625]
31778 * misc/mntent_r.c (addmntent): Flush the stream after the output
31779
22836f52
UD
31780 [BZ #12393]
31781 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
31782 (is_trusted_path_normalize): Skip initial colon. Append slash
31783 to empty buffer. Duplicate is_trusted_path code but allow
31784 constructed patch to be prefix.
31785 (is_dst): Allow $ORIGIN followed by /.
31786 (_dl_dst_substitute): Correct clearing of check_for_trusted.
31787 Correct testing of result of is_trusted_path_normalize
31788 (decompose_rpath): Fix warning.
31789
7b3b0b2a
UD
317902011-05-10 Ulrich Drepper <drepper@gmail.com>
31791
31792 [BZ #11257]
31793 * grp/initgroups.c (internal_getgrouplist): When we found the service
31794 list through the initgroups entry in nsswitch.conf do not always
31795 continue on a successful lookup. Don't always use the
eac80ce2 31796 __nss_group_database value if it is set.
7b3b0b2a
UD
31797 * nss/nsswitch.conf (initgroups): Change action for successful db
31798 lookup to continue for compatibility.
31799
2a81eaa5
UD
318002011-05-09 Ulrich Drepper <drepper@gmail.com>
31801
be97a69e
UD
31802 [BZ #11532]
31803 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
31804 and CP774 modules.
31805 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
31806 and CP774 modules.
31807 * iconvdata/tst-tables.sh: Likewise.
31808 * iconvdata/cp770.c: New file.
31809 * iconvdata/cp771.c: New file.
31810 * iconvdata/cp772.c: New file.
31811 * iconvdata/cp773.c: New file.
31812 * iconvdata/cp774.c: New file.
31813 * iconvdata/testdata/CP770: New file.
31814 * iconvdata/testdata/CP770..UTF8: New file.
31815 * iconvdata/testdata/CP771: New file.
31816 * iconvdata/testdata/CP771..UTF8: New file.
31817 * iconvdata/testdata/CP772: New file.
31818 * iconvdata/testdata/CP772..UTF8: New file.
31819 * iconvdata/testdata/CP773: New file.
31820 * iconvdata/testdata/CP773..UTF8: New file.
31821 * iconvdata/testdata/CP774: New file.
31822 * iconvdata/testdata/CP774..UTF8: New file.
31823
31824 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
31825 END CHARMAP line.
31826 * iconvdata/gen-8bit-gap.sh: Likewise.
31827 * iconvdata/gen-8bit.sh: Likewise.
31828
c1e9e399
UD
31829 * locale/iso-639.def: Add ary entry.
31830
24c55fb3 31831 [BZ #11258]
96b4b1b0
UD
31832 * locale/C-translit.h.in: Add U20A1 transliteration.
31833
bdc2f971
KB
31834 [BZ #12178]
31835 * locale/iso-639.def: Add wae entry.
31836 Patch by Kevin Bortis <bortis@translate-wae.ch>.
31837
2952b117
UD
31838 [BZ #12545]
31839 * locale/programs/localedef.c (construct_output_path): Use ssize_t
31840 for n.
31841
2a81eaa5
UD
31842 [BZ #12711]
31843 * locale/C-translit.h.in: Add entry for U20B9.
31844 Patch by pravin.d.s@gmail.com.
31845
28377d1b
UD
318462011-05-08 Ulrich Drepper <drepper@gmail.com>
31847
7fb90fb8
UD
31848 [BZ #12713]
31849 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
31850 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
31851 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
31852 in rtld. Use *stat64.
7fb90fb8 31853 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 31854 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 31855 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
31856 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
31857 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
31858 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
31859 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
31860 __fstatat64 macros.
7fb90fb8
UD
31861 * include/dirent.h: Add libc_hidden_proto for rewinddir.
31862 * dirent/rewinddir.c: Add libc_hidden_def.
31863 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 31864 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 31865
28377d1b
UD
31866 * include/dirent.h (__alloc_dir): Add flags parameter.
31867 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
31868 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
31869 __alloc_dir.
31870 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
31871 from fdopendir if O_CLOEXEC is already set.
31872
66bdbaa4
AM
318732011-03-15 Alan Modra <amodra@gmail.com>
31874
31875 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
31876 l_tls_firstbyte_offset non-zero. Save padding offset in
31877 l_tls_firstbyte_offset for later use.
31878 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
31879 freeing static tls block.
31880
95721191
JN
318812011-03-05 Jonathan Nieder <jrnieder@gmail.com>
31882
31883 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
31884 where #ifdef was intended. The intent is to prevent ARG_MAX from
31885 being defined by the kernel headers.
31886
f87dfb1f
UD
318872011-05-07 Ulrich Drepper <drepper@gmail.com>
31888
31889 [BZ #12734]
31890 * resolv/resolv.h: Define RES_NOTLDQUERY.
31891 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
31892 no-tld-query and set RES_NOTLDQUERY.
31893 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
31894 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
31895 modern BIND to search name as TLD unless forbidden.
31896
47c3cd7a
UD
318972011-05-07 Petr Baudis <pasky@suse.cz>
31898 Ulrich Drepper <drepper@gmail.com>
31899
31900 [BZ #12393]
31901 * elf/dl-load.c (fillin_rpath): Move trusted path check...
31902 (is_trusted_path): ...to here.
c1e9ea35 31903 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 31904 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 31905 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 31906
8a35c912
PP
319072011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31908
31909 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
31910 __BEGIN/__END_DECLS.
31911
acd41f47
UD
319122011-05-06 Ulrich Drepper <drepper@gmail.com>
31913
31914 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
31915 NSS_STATUS_NOTFOUND if no record was found.
31916
597df647
AS
319172011-05-05 Andreas Schwab <schwab@redhat.com>
31918
31919 * sunrpc/Makefile (headers): Add rpc/netdb.h.
31920 (headers-not-in-tirpc): Remove rpc/netdb.h
31921 * resolv/netdb.h: Revert last change.
31922
b9af1301
PP
319232011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31924
31925 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
31926 circular dependency between libgcc.a and libc.a.
31927
4e34d5f5
AS
319282011-05-05 Andreas Schwab <schwab@redhat.com>
31929
31930 * resolv/netdb.h: Don't include <rpc/netdb.h>.
31931 * nis/Makefile: Don't install rpcsvc/*.
31932 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
31933 instead of <rpc/types.h>.
31934 (MAXHOSTNAMELEN): Define.
31935
00ee369c
AS
319362011-05-03 Andreas Schwab <schwab@redhat.com>
31937
31938 * elf/ldconfig.c (add_dir): Don't crash on empty path.
31939
0b592a30
MB
319402011-04-28 Maciej Babinski <mbabinski@google.com>
31941
31942 [BZ #12714]
31943 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
31944 gethostbyname4_r when IPv6 results are possible.
31945
6e04cbbe
UD
319462011-05-02 Ulrich Drepper <drepper@gmail.com>
31947
31948 [BZ #12723]
31949 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
31950 _PC_PIPE_BUF handling.
31951
e4ecafe0
BH
319522011-04-30 Bruno Haible <bruno@clisp.org>
31953
31954 [BZ #12717]
31955 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
31956 * resolv/netdb.h (getnameinfo): Change type of flags parameter
31957 to 'int'.
31958 * inet/getnameinfo.c (getnameinfo): Likewise.
31959
125ee683
UD
319602011-04-29 Ulrich Drepper <drepper@gmail.com>
31961
31962 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
31963 to groups setting in database lookup.
31964 * nss/nsswitch.conf: Add initgroups entry.
31965
b722481a
EB
319662011-04-22 Ulrich Drepper <drepper@gmail.com>
31967
31968 [BZ #12685]
31969 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
31970 mode string.
31971 Patch by Eric Blake <eblake@redhat.com>.
31972
4df46dbd
L
319732011-04-20 H.J. Lu <hongjiu.lu@intel.com>
31974
31975 * sunrpc/Makefile (need-export-routines): Add svc_run.
31976 (routines): Remove svc_run.
31977 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
31978 * sunrpc/clnt_perr.c (clnt_perrno): Export.
31979 * sunrpc/svc_run.c (svc_run): Likewise.
31980 * sunrpc/svc_udp.c (svcudp_create): Likewise.
31981
e84142d2
UD
319822011-04-21 Ulrich Drepper <drepper@gmail.com>
31983
31984 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
31985 problem in reallocation in last patch.
31986
877175d8
UD
319872011-04-20 Ulrich Drepper <drepper@gmail.com>
31988
31989 * sunrpc/Makefile: Move inclusion of Rules.
31990
ab8eed78
UD
319912011-04-19 Ulrich Drepper <drepper@gmail.com>
31992
31993 * nss/nss_files/files-initgroups.c: New file.
31994 * nss/Makefile (libnss_files-routines): Add files-initgroups.
31995 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
31996 _nss_files_initgroups_dyn.
31997
e3d8f584
RS
319982011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
31999
32000 * elf/elf.h (R_ARM_IRELATIVE): Define.
32001
af190f45
UD
320022011-04-19 Ulrich Drepper <drepper@gmail.com>
32003
32004 * po/ru.po: Update from translation team.
32005
53cf59ef
UD
320062011-04-17 Ulrich Drepper <drepper@gmail.com>
32007
32008 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
32009 dependencies.
32010
4c559bcd
MF
320112011-02-06 Mike Frysinger <vapier@gentoo.org>
32012
32013 [BZ #12653]
32014 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
32015 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
32016 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32017 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32018 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32019
4420675c
AS
320202011-03-28 Andreas Schwab <schwab@linux-m68k.org>
32021
32022 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
32023 differing bytes.
32024 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32025 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32026 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32027
75ea32ab
UD
320282011-04-17 Ulrich Drepper <drepper@gmail.com>
32029
32030 [BZ #12420]
32031 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
32032 storing it.
32033 * stdlib/bug-getcontext.c: New file.
32034 * stdlib/Makefile: Add rules to build and run bug-getcontext.
32035
27390476
AK
320362011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32037
32038 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
32039 instructions into .machine "z9-109".
32040 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
32041 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
32042
10442705
AK
320432011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32044
32045 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
32046 between environment variables and auxiliary vector.
32047
7b57bfe5
UD
320482011-04-16 Ulrich Drepper <drepper@gmail.com>
32049
32050 * Makefile: Add rules to build linkobj/libc.so.
32051 * include/libc-symbols.h: Define libc_hidden_nolink.
32052 * include/rpc/auth.h: Mark functions which are to be hidden.
32053 * include/rpc/auth_des.h: Likewise.
32054 * include/rpc/auth_unix.h: Likewise.
32055 * include/rpc/clnt.h: Likewise.
32056 * include/rpc/des_crypt.h: Likewise.
32057 * include/rpc/key_prot.h: Likewise.
32058 * include/rpc/pmap_clnt.h: Likewise.
32059 * include/rpc/pmap_prot.h: Likewise.
32060 * include/rpc/pmap_rmt.h: Likewise.
32061 * include/rpc/rpc_msg.h: Likewise.
32062 * include/rpc/svc.h: Likewise.
32063 * include/rpc/svc_auth.h: Likewise.
32064 * include/rpc/xdr.h: Likewise.
32065 * nis/Makefile: Link all DSOs against linkobj/libc.so.
32066 * nss/Makefile: Likewise.
32067 * sunrpc/Makefile: Don't install headers. Build library with normal
32068 entry points. Don't build rpcinfo. Link RPC tests appropriately.
32069 * sunrpc/auth_des.c: Hide exported symbols by default, export some
32070 for the compat linking library. Remove use of INTDEF/INTUSE.
32071 * sunrpc/auth_none.c: Likewise.
32072 * sunrpc/auth_unix.c: Likewise.
32073 * sunrpc/authdes_prot.c: Likewise.
32074 * sunrpc/authuxprot.c: Likewise.
32075 * sunrpc/clnt_gen.c: Likewise.
32076 * sunrpc/clnt_perr.c: Likewise.
32077 * sunrpc/clnt_raw.c: Likewise.
32078 * sunrpc/clnt_simp.c: Likewise.
32079 * sunrpc/clnt_tcp.c: Likewise.
32080 * sunrpc/clnt_udp.c: Likewise.
32081 * sunrpc/clnt_unix.c: Likewise.
32082 * sunrpc/des_crypt.c: Likewise.
32083 * sunrpc/des_soft.c: Likewise.
32084 * sunrpc/get_myaddr.c: Likewise.
32085 * sunrpc/key_call.c: Likewise.
32086 * sunrpc/key_prot.c: Likewise.
32087 * sunrpc/netname.c: Likewise.
32088 * sunrpc/pm_getmaps.c: Likewise.
32089 * sunrpc/pm_getport.c: Likewise.
32090 * sunrpc/pmap_clnt.c: Likewise.
32091 * sunrpc/pmap_prot.c: Likewise.
32092 * sunrpc/pmap_prot2.c: Likewise.
32093 * sunrpc/pmap_rmt.c: Likewise.
32094 * sunrpc/publickey.c: Likewise.
32095 * sunrpc/rpc_cmsg.c: Likewise.
32096 * sunrpc/rpc_common.c: Likewise.
32097 * sunrpc/rpc_dtable.c: Likewise.
32098 * sunrpc/rpc_prot.c: Likewise.
32099 * sunrpc/rpc_thread.c: Likewise.
32100 * sunrpc/rtime.c: Likewise.
32101 * sunrpc/svc.c: Likewise.
32102 * sunrpc/svc_auth.c: Likewise.
32103 * sunrpc/svc_authux.c: Likewise.
32104 * sunrpc/svc_raw.c: Likewise.
32105 * sunrpc/svc_run.c: Likewise.
32106 * sunrpc/svc_simple.c: Likewise.
32107 * sunrpc/svc_tcp.c: Likewise.
32108 * sunrpc/svc_udp.c: Likewise.
32109 * sunrpc/svc_unix.c: Likewise.
32110 * sunrpc/svcauth_des.c: Likewise.
32111 * sunrpc/xcrypt.c: Likewise.
32112 * sunrpc/xdr.c: Likewise.
32113 * sunrpc/xdr_array.c: Likewise.
32114 * sunrpc/xdr_float.c: Likewise.
32115 * sunrpc/xdr_intXX_t.c: Likewise.
32116 * sunrpc/xdr_mem.c: Likewise.
32117 * sunrpc/xdr_rec.c: Likewise.
32118 * sunrpc/xdr_ref.c: Likewise.
32119 * sunrpc/xdr_sizeof.c: Likewise.
32120 * sunrpc/xdr_stdio.c: Likewise.
32121
e6c61494
UD
321222011-04-10 Ulrich Drepper <drepper@gmail.com>
32123
32124 [BZ #12650]
32125 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
32126 * sysdeps/ia64/dl-tls.h: Likewise.
32127 * sysdeps/powerpc/dl-tls.h: Likewise.
32128 * sysdeps/s390/dl-tls.h: Likewise.
32129 * sysdeps/sh/dl-tls.h: Likewise.
32130 * sysdeps/sparc/dl-tls.h: Likewise.
32131 * sysdeps/x86_64/dl-tls.h: Likewise.
32132 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
32133
34fe483e
AS
321342011-03-14 Andreas Schwab <schwab@redhat.com>
32135
32136 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
32137 rpath element also skip the following colon.
32138 (expand_dynamic_string_token): Add is_path parameter and pass
32139 down to DL_DST_REQUIRED and _dl_dst_substitute.
32140 (decompose_rpath): Call expand_dynamic_string_token with
32141 non-zero is_path. Ignore empty rpaths.
32142 (_dl_map_object_from_fd): Call expand_dynamic_string_token
32143 with zero is_path.
32144
f12a32e6
AS
321452011-04-08 Andreas Schwab <schwab@linux-m68k.org>
32146
32147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32148 Make cancelable.
32149
38a7d692
UD
321502011-04-09 Ulrich Drepper <drepper@gmail.com>
32151
32152 [BZ #12655]
32153 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
32154 Patch by Filipe David Manana <fdmanana@apache.org>.
32155
e451d22b
AS
321562011-04-07 Andreas Schwab <schwab@redhat.com>
32157
32158 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
32159 Maintain aligned stack.
32160 (CHECK_RSP): Remove unused macro.
32161
dedc7c7b
UD
321622011-04-03 Ulrich Drepper <drepper@gmail.com>
32163
32164 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
32165 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
32166
94521213
UD
321672011-04-02 Ulrich Drepper <drepper@gmail.com>
32168
32169 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
32170
8cb700c0 32171 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 32172
0354e355
L
321732011-03-26 H.J. Lu <hongjiu.lu@intel.com>
32174
32175 [BZ #12518]
32176 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
32177 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
32178 * sysdeps/x86_64/memmove.c: New file.
32179 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
32180 (memcpy): Renamed to ...
32181 (__new_memcpy): This.
32182 (memcpy): Provide GLIBC_2_14 memcpy.
32183 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
32184 (memcpy): Provide GLIBC_2_2_5 memcpy.
32185
8593482f
UD
321862011-04-01 Ulrich Drepper <drepper@gmail.com>
32187
32188 [BZ #12631]
32189 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
32190
81a5726b
AS
321912011-03-30 Andreas Schwab <schwab@redhat.com>
32192
32193 * misc/syncfs.c: New file.
32194 * misc/Makefile (routines): Add syncfs.
32195 * posix/unistd.h: Declare syncfs.
32196 * sysdeps/unix/syscalls.list: Add syncfs.
32197
00e5419f
AS
321982011-04-01 Andreas Schwab <schwab@redhat.com>
32199
32200 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
32201 open_by_handle_at.
32202 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32203 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32204 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32205 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32206 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32207 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
32208 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32209
748876bf
UD
322102011-04-01 Ulrich Drepper <drepper@gmail.com>
32211
658e451d
UD
32212 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
32213 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32214 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
32215 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32216 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32217 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32218 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32219
748876bf
UD
32220 * io/Makefile: Compile fallocate.c, fallocate64.c, and
32221 sync_file_range.c with -fexceptions.
32222 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
32223 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
32224 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32225 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32226 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
32227 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32228 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
32229 sync_file_range as cancellation point
32230 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
32231 now a wrapper around __call_sync_file_range with cancellation handling.
32232 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
32233 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
32234 function name to __call_sync_file_range.
32235 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
32236 Add call_sync_file_range.
748876bf 32237
6e63d5e1
AS
322382011-04-01 Andreas Schwab <schwab@redhat.com>
32239
32240 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 32241 bits/timex.h.
6e63d5e1 32242
46998f74
UD
322432011-04-01 Ulrich Drepper <drepper@gmail.com>
32244
4c1423ed
UD
32245 * iconv/iconv.h: Fix typo in comment.
32246 * io/fcntl.h: Likewise.
32247 * libio/stdio.h: Likewise.
32248 * posix/spawn.h: Likewise.
32249 * posix/unistd.h: Likewise.
32250 * stdlib/stdlib.h: Likewise.
32251 * time/time.h: Likewise.
32252 * wcsmbs/wchar.h: Likewise.
32253
158648c0
UD
32254 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
32255 open_by_handle): Add.
32256 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
32257 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
32258 Augment a few comments.
32259 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32260 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32261 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32262 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32263 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32264 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
32265 open_by_handle.
32266
46998f74
UD
32267 * io/fcntl.h (AT_EMPTY_PATH): Define.
32268
83fe108b
UD
322692011-03-30 Ulrich Drepper <drepper@gmail.com>
32270
32271 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
32272 * sysdeps/unix/sysv/linux/bits/time.h: New file.
32273 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
32274 to...
32275 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
32276 * Versions.def: Add GLIBC_2.14.
32277 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
32278 Export.
83fe108b 32279
bb242059
UD
322802011-03-22 Ulrich Drepper <drepper@gmail.com>
32281
32282 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
32283 round counter.
32284 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32285
c97a1282
L
322862011-03-20 H.J. Lu <hongjiu.lu@intel.com>
32287
32288 [BZ #12597]
32289 * string/test-strncmp.c (do_page_test): New function.
32290 (check2): Likewise.
32291 (test_main): Call check2.
32292 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
32293
2a115601
UD
322942011-03-20 Ulrich Drepper <drepper@gmail.com>
32295
32296 [BZ #12587]
32297 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
32298 Handle cache information in CPU leaf 4.
32299 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32300
8126d904
UD
323012011-03-18 Ulrich Drepper <drepper@gmail.com>
32302
042c49c6 32303 [BZ #12583]
8126d904
UD
32304 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
32305 character representation.
32306 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
32307
ccfe366e
RA
323082011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
32309
32310 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
32311 END(__isnan) to END(__isnanf) to match function entry point/label
32312 EALIGN(__isnanf,...).
32313
c6e13027
JJ
323142011-03-10 Jakub Jelinek <jakub@redhat.com>
32315
32316 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
32317
33f85a3f
UD
323182011-03-10 Ulrich Drepper <drepper@gmail.com>
32319
028478fa
UD
32320 [BZ #12510]
32321 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
32322 copy from the symbol referenced in the relocation to initialize the
32323 used variable.
32324 Patch by Piotr Bury <pbury@goahead.com>.
32325 * elf/Makefile: Add rules to build and tst-unique3.
32326 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
32327 * elf/tst-unique3.cc: New file.
32328 * elf/tst-unique3.h: New file.
32329 * elf/tst-unique3lib.cc: New file.
32330 * elf/tst-unique3lib2.cc: New file.
32331
33f85a3f
UD
32332 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
32333
03592fc7
MF
323342011-03-10 Mike Frysinger <vapier@gentoo.org>
32335
32336 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
32337 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
32338 to _start.
03592fc7 32339
6a5ee102
UD
323402011-03-06 Ulrich Drepper <drepper@gmail.com>
32341
32342 * elf/dl-load.c (_dl_map_object): If we are looking for the first
32343 to-be-loaded object along a path to loader is ld.so.
32344
7e4ba49c
HJ
323452011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32346 Ulrich Drepper <drepper@gmail.com>
32347
32348 * sysdeps/x86_64/memset.S: After aligning destination, code
32349 branches to different locations depending on the value of
32350 misalignment, when multiarch is enabled. Fix this.
32351
323522011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32353
32354 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
32355 Set _x86_64_preferred_memory_instruction for AMD processsors.
32356 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32357 Set bit_Prefer_SSE_for_memop for AMD processors.
32358
13a804de
UD
323592011-03-04 Ulrich Drepper <drepper@gmail.com>
32360
32361 * libio/fmemopen.c (fmemopen): Optimize a bit.
32362
9d25c392
AS
323632011-03-03 Andreas Schwab <schwab@redhat.com>
32364
32365 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
32366
a5543c6a
RM
323672011-03-03 Roland McGrath <roland@redhat.com>
32368
32369 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
32370
012d35f7
DM
323712011-02-28 Aurelien Jarno <aurelien@aurel32.net>
32372
7e4ba49c 32373 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
32374 __bzero_ultra1 instead of __memset_ultra1.
32375
4bff6e01
AS
323762011-02-23 Andreas Schwab <schwab@redhat.com>
32377 Ulrich Drepper <drepper@gmail.com>
32378
32379 [BZ #12509]
32380 * include/link.h (struct link_map): Add l_orig_initfini.
32381 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
32382 returning unsuccessfully.
32383 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
32384 close of a file loaded at startup, restore the original l_initfini
32385 list.
32386 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
32387 list, store the pointer.
32388 * elf/Makefile ($(objpfx)noload-mem): New rule.
32389 (noload-ENV): Define.
32390 (tests): Add $(objpfx)noload-mem.
32391 * elf/noload.c: Include <memcheck.h>.
32392 (main): Call mtrace. Close all opened handles.
32393
f2092faf
AS
323942011-02-17 Andreas Schwab <schwab@redhat.com>
32395
32396 [BZ #12454]
32397 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
32398 dependencies are missing.
32399
6c8a2e88
ST
324002011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
32401
f2092faf 32402 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
32403 Hurd needs munmap.
32404 * sysdeps/mach/hurd/ifreq.h: New file.
32405
84a42118
PB
324062011-01-27 Petr Baudis <pasky@suse.cz>
32407 Ulrich Drepper <drepper@gmail.com>
32408
071f805e 32409 [BZ 12445]#
84a42118
PB
32410 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
32411 to extend_alloca().
32412 * stdio-common/bug23.c: New file.
32413 * stdio-common/Makefile (tests): Add bug23.
32414
e23fe25b
AS
324152010-09-28 Andreas Schwab <schwab@redhat.com>
32416 Ulrich Drepper <drepper@gmail.com>
32417
32418 [BZ #12489]
32419 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
32420 before performing relro protection. At old place add assertion
32421 to make sure nothing changed.
32422
d3f02e10
NS
324232011-02-17 Nathan Sidwell <nathan@codesourcery.com>
32424 Glauber de Oliveira Costa <glommer@gmail.com>
32425
32426 * elf/elf.h: Add new ARM TLS relocs.
32427
d55fd7a5
RA
324282011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
32429
32430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32431 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
32432 cast from r3.
32433 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
32434 'tests' variable.
32435 * sysdeps/wordsize-64/tst-writev.c: New file.
32436
2206397e
RA
324372011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
32438
32439 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
32440 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
32441 insns in _dl_start to prevent a TOC reference before relocs are
32442 resolved.
32443
e9433893
UD
324442011-02-15 Ulrich Drepper <drepper@gmail.com>
32445
32446 [BZ #12469]
32447 * Makeconfig: Remove RANLIB definition.
32448 * Makerules: Don't use RANLIB.
32449 * aclocal.m4: Remove ranlib test.
32450 * configure.in: No need to check for ranlib.
32451 * elf/rtld-Rules: Don't use RANLIB.
32452
f75286c6
ST
324532011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
32454
8e31c82d
ST
32455 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
32456 protection macro.
32457 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
32458 inclusion protection macro.
32459
f75286c6
ST
32460 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
32461 SIGRTMIN and SIGRTMAX and print information in that case only when
32462 SIGRTMIN is defined.
32463
c1d0e639
JJ
324642011-02-11 Jakub Jelinek <jakub@redhat.com>
32465
32466 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
32467 arginfo fn returning -1.
32468
32469 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
32470 and thousands string is zero terminated.
32471
edf9294e
AS
324722011-02-03 Andreas Schwab <schwab@redhat.com>
32473
32474 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
32475 sysdeps/unix/sysv/linux/bits/socket.h.
32476
2b7e92df
ST
324772011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
32478
edf9294e
AS
32479 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
32480 (__CPU_COUNT): Remove old macros.
32481 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
32482 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
32483 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
32484 (__sched_cpualloc, __sched_cpufree): Add declarations.
32485
a4c7ea7b
UD
324862011-02-05 Ulrich Drepper <drepper@gmail.com>
32487
32488 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
32489 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
32490 * nscd/aicache.c (addhstaiX): Return timeout of added value.
32491 (readdhstai): Return value of addhstaiX call.
32492 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
32493 (addgrbyX): Return value returned by cache_addgr.
32494 (readdgrbyname): Return value returned by addgrbyX.
32495 (readdgrbygid): Likewise.
32496 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
32497 (addpwbyX): Return value returned by cache_addpw.
32498 (readdpwbyname): Return value returned by addhstbyX.
32499 (readdpwbyuid): Likewise.
32500 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
32501 (addservbyX): Return value returned by cache_addserv.
32502 (readdservbyname): Return value returned by addservbyX:
32503 (readdservbyport): Likewise.
32504 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
32505 (addhstbyX): Return value returned by cache_addhst.
32506 (readdhstbyname): Return value returned by addhstbyX.
32507 (readdhstbyaddr): Likewise.
32508 (readdhstbynamev6): Likewise.
32509 (readdhstbyaddrv6): Likewise.
32510 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
32511 (readdinitgroups): Return value returned by addinitgroupsX.
32512 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
32513 (prune_cache): Keep track of timeout value of re-added entries.
32514 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
32515 * nscd/nscd.h: Adjust prototypes of readd* functions.
32516
a0bf67cc
RM
325172011-02-04 Roland McGrath <roland@redhat.com>
32518
32519 * nis/nis_server.c (nis_servstate): Use the right name for 0.
32520 (nis_stats): Likewise.
32521 * nis/nis_modify.c (nis_modify): Likewise.
32522 * nis/nis_remove.c (nis_remove): Likewise.
32523 * nis/nis_add.c (nis_add): Likewise.
32524
32525 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
32526
32527 * posix/fnmatch_loop.c: Add some consts.
32528
32529 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
32530
435b95eb
L
325312011-02-02 H.J. Lu <hongjiu.lu@intel.com>
32532
32533 [BZ #12460]
32534 * config.make.in (config-cflags-novzeroupper): Define.
32535 * configure.in: Substitute libc_cv_cc_novzeroupper.
32536 * elf/Makefile (AVX-CFLAGS): Define.
32537 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
32538 (CFLAGS-tst-auditmod4a.c): Likewise.
32539 (CFLAGS-tst-auditmod4b.c): Likewise.
32540 (CFLAGS-tst-auditmod6b.c): Likewise.
32541 (CFLAGS-tst-auditmod6c.c): Likewise.
32542 (CFLAGS-tst-auditmod7b.c): Likewise.
32543 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
32544
8517b15e
UD
325452011-02-02 Ulrich Drepper <drepper@gmail.com>
32546
32547 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
32548 function to the callback.
32549 Patch partly by Jiri Olsa <jolsa@redhat.com>.
32550
10a656fe
AS
325512011-02-02 Andreas Schwab <schwab@redhat.com>
32552
32553 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
32554 of errno.
32555
968dad0a
UD
325562011-01-19 Ulrich Drepper <drepper@gmail.com>
32557
9f94d2ea 32558 [BZ #11724]
968dad0a
UD
32559 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
32560 of constructors.
32561 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
32562 of destructors.
32563 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
32564
32565 [BZ #11724]
32566 * elf/Makefile: Add rules to build and run new test.
32567 * elf/tst-initorder.c: New file.
32568 * elf/tst-initorder.exp: New file.
32569 * elf/tst-initordera1.c: New file.
32570 * elf/tst-initordera2.c: New file.
32571 * elf/tst-initordera3.c: New file.
32572 * elf/tst-initordera4.c: New file.
32573 * elf/tst-initorderb1.c: New file.
32574 * elf/tst-initorderb2.c: New file.
32575 * elf/tst-order-a1.c: New file.
32576 * elf/tst-order-a2.c: New file.
32577 * elf/tst-order-a3.c: New file.
32578 * elf/tst-order-a4.c: New file.
32579 * elf/tst-order-b1.c: New file.
32580 * elf/tst-order-b2.c: New file.
32581 * elf/tst-order-main.c: New file.
32582 New test case by George Gensure <werkt0@gmail.com>.
32583
86e92359
UD
325842010-10-01 Andreas Schwab <schwab@redhat.com>
32585
32586 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32587 decoding ACE if AI_CANONIDN.
32588
5d5732b0
UD
325892011-01-18 Ulrich Drepper <drepper@gmail.com>
32590
32591 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
32592
a77e8cbc
UD
325932011-01-17 Ulrich Drepper <drepper@gmail.com>
32594
6392473f
UD
32595 * version.h (RELEASE): Bump for 2.13 release.
32596 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
32597
620a0529
UD
32598 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
32599
18ba70a5
UD
32600 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
32601 MADV_NOHUGEPAGE.
32465c3e
UD
32602 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
32603 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
32604 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32605 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32606 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32607 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32608
c0dafcf1
UD
32609 * posix/getconf.c: Update copyright year.
32610 * catgets/gencat.c: Likewise.
32611 * csu/version.c: Likewise.
32612 * debug/catchsegv.sh: Likewise.
32613 * debug/xtrace.sh: Likewise.
32614 * elf/ldconfig.c: Likewise.
32615 * elf/ldd.bash.in: Likewise.
32616 * elf/sprof.c (print_version): Likewise.
32617 * iconv/iconv_prog.c: Likewise.
32618 * iconv/iconvconfig.c: Likewise.
32619 * locale/programs/locale.c: Likewise.
32620 * locale/programs/localedef.c: Likewise.
32621 * malloc/memusage.sh: Likewise.
32622 * malloc/mtrace.pl: Likewise.
32623 * nscd/nscd.c (print_version): Likewise.
32624 * nss/getent.c: Likewise.
32625
a77e8cbc
UD
32626 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
32627 PF_CAIF, and PF_ALG.
32628 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32629
77e8bddf
AS
326302011-01-16 Andreas Schwab <schwab@linux-m68k.org>
32631
1f20b93a
AS
32632 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
32633 (modules-names): Use them.
32634 (ifunc-test-modules, ifunc-pie-tests): Define.
32635 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
32636 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
32637 (test-extras): Likewise.
32638 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
32639 $(compile-command.c).
32640 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
32641 (all-built-dso): Define.
32642 (check-textrel.out, check-execstack.out): Depend on it.
32643
77e8bddf
AS
32644 * configure.in: Don't override --enable-multi-arch.
32645
bc425b33
UD
326462011-01-15 Ulrich Drepper <drepper@gmail.com>
32647
32648 [BZ #6812]
32649 * nscd/hstcache.c (tryagain): Define.
32650 (cache_addhst): Return tryagain not notfound for temporary errors.
32651 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
32652 failed.
32653
794c3ad3
UD
326542011-01-14 Ulrich Drepper <drepper@gmail.com>
32655
70181fdd
UD
32656 [BZ #10563]
32657 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
32658 to make the syscall.
32659 * sysdeps/unix/sysv/linux/setgroups.c: New file.
32660
794c3ad3
UD
32661 [BZ #12378]
32662 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
32663 and fall back to matching as normal character if the string ends before
32664 the matching ']' is found. This is what POSIX requires.
32665 * posix/testfnm.c: Adjust test result.
32666 * posix/globtest.sh: Adjust test result. Add new test.
32667 * posix/tst-fnmatch.input: Likewise.
32668 * posix/tst-fnmatch2.c: Add new test.
32669
68dc9497
AS
326702010-12-28 Andreas Schwab <schwab@linux-m68k.org>
32671
32672 * elf/Makefile (check-execstack): Revert last change. Depend on
32673 check-execstack.h.
32674 (check-execstack.h): New target.
32675 (generated): Add check-execstack.h.
32676 * elf/check-execstack.c: Include "check-execstack.h".
32677 (main): Revert last change.
32678 (handle_file): Return zero if GNU_STACK is absent and
32679 DEFAULT_STACK_PERMS doesn't include PF_X.
32680
451f001b
UD
326812011-01-13 Ulrich Drepper <drepper@gmail.com>
32682
cfa28e56
UD
32683 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
32684 in child fails because the descriptor is already closed.
8cf8ce17
UD
32685 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
32686 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
32687 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 32688
1086d70d
UD
32689 [BZ #12397]
32690 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
32691 syscall.
32692
451f001b
UD
32693 [BZ #10484]
32694 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
32695 temporary buffer used to handle multi lookups locally.
a85b5cb4 32696 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 32697
08769175
UD
326982011-01-12 Ulrich Drepper <drepper@gmail.com>
32699
32700 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
32701 loader is ld.so.
32702
5e49c52e
UD
327032011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
32704
32705 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
32706 alignment for SSE2.
32707
60522a5f
UD
327082011-01-12 Ulrich Drepper <drepper@gmail.com>
32709
32710 [BZ #12394]
32711 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
32712 characters. When rounding increased number of integer digits recompute
32713 number of groups.
32714 * stdio-common/tst-grouping.c: New file.
32715 * stdio-common/Makefile: Add rules to build and run tst-grouping.
32716
f257bbd7
UD
327172011-01-09 Ulrich Drepper <drepper@gmail.com>
32718
32719 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
32720 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
32721
32722 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
32723 void.
32724 * bits/select.h: Likewise.
32725
fa9c15cb
UD
327262011-01-08 Ulrich Drepper <drepper@gmail.com>
32727
32728 * po/ja.po: Update from translation team.
32729
16c2895f
DM
327302011-01-04 David S. Miller <davem@sunset.davemloft.net>
32731
32732 [BZ #11155]
32733 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
32734 implementation just like for lxstat, fxstatat, et al.
32735
2543fef2
JM
327362010-12-27 Jim Meyering <meyering@redhat.com>
32737
32738 [BZ #12348]
32739 * posix/regexec.c (build_trtable): Return failure indication upon
32740 calloc failure. Otherwise, re_search_internal could infloop on OOM.
32741
98727dbe
UD
327422010-12-25 Ulrich Drepper <drepper@gmail.com>
32743
5bd6dc5c
UD
32744 [BZ #12201]
32745 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
32746 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
32747 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
32748 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
32749
97983464
UD
32750 [BZ #12207]
32751 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
32752
98727dbe
UD
32753 [BZ #12204]
32754 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
32755 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
32756
4a531bb0
L
327572010-12-15 H.J. Lu <hongjiu.lu@intel.com>
32758
32759 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
32760 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
32761 script has SORT_BY_INIT_PRIORITY.
32762 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
32763 NO_CTORS_DTORS_SECTIONS is defined.
32764 * elf/soinit.c: Likewise.
32765 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
32766 NO_CTORS_DTORS_SECTIONS is defined.
32767 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
32768 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
32769 * sysdeps/sh/init-first.c: Likewise.
32770 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
32771
07eb4b71
UD
327722010-12-24 Ulrich Drepper <drepper@gmail.com>
32773
32774 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
32775 always use the slow path.
32776
30950a5f
RA
327772010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
32778
32779 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
32780 similar rule which adds the sysdep directories to the header search in
32781 order to pick up the correct platform stackinfo.h.
32782 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
32783 perform test if it is, otherwise return successfully without testing.
32784 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
32785 DEFAULT_STACK_PERMS define in stackinfo.h.
32786 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
32787 defined in stackinfo.h.
32788 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
32789 DEFAULT_STACK_PERMS defined in stackinfo.h.
32790 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
32791 * sysdeps/ia64/stackinfo.h: Likewise.
32792 * sysdeps/s390/stackinfo.h: Likewise.
32793 * sysdeps/sh/stackinfo.h: Likewise.
32794 * sysdeps/sparc/stackinfo.h: Likewise.
32795 * sysdeps/x86_64/stackinfo.h: Likewise.
32796 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
32797 PF_X for powerpc64. Retain PF_X for powerpc32.
32798
db753e2c
UD
327992010-12-19 Ulrich Drepper <drepper@gmail.com>
32800
14b697f7
UD
32801 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
32802 accurately.
db753e2c
UD
32803 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
32804 GETDENTS_64BIT_ALIGNED.
32805
28300719
UD
328062010-12-14 Ulrich Drepper <dreper@gmail.com>
32807
14b697f7 32808 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 32809
4f197237
AS
328102010-12-10 Andreas Schwab <schwab@redhat.com>
32811
dbb0472f
AS
32812 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
32813 _GNU_SOURCE.
32814
4f197237
AS
32815 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
32816 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
32817 Remove __restrict.
32818 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
32819 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
32820
fb88ac72
UD
328212010-12-09 Ulrich Drepper <drepper@gmail.com>
32822
32823 [BZ #11655]
32824 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
32825 are initialized.
32826
42acbb92
JJ
328272010-12-09 Jakub Jelinek <jakub@redhat.com>
32828
32829 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
32830
c038d98d
UD
328312010-12-03 Ulrich Drepper <drepper@gmail.com>
32832
32833 * po/it.po: Update from translation team.
32834
3a4a2499
L
328352010-12-01 H.J. Lu <hongjiu.lu@intel.com>
32836
32837 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
32838 unused codes.
32839
1e24cf6e
UD
328402010-11-30 Ulrich Drepper <drepper@gmail.com>
32841
32842 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
32843
a7690819
AS
328442010-11-24 Andreas Schwab <schwab@redhat.com>
32845
32846 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
32847 specially.
32848 (gaih_getanswer_slice): Likewise.
32849
3bf8d1b1
JJ
328502010-10-20 Jakub Jelinek <jakub@redhat.com>
32851
32852 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
32853
6db52fbb
PB
328542010-05-31 Petr Baudis <pasky@suse.cz>
32855
32856 [BZ #11149]
32857 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
32858 silently even in the chroot mode.
32859
eaca7569
UD
328602010-11-22 Ulrich Drepper <drepper@gmail.com>
32861
32862 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
32863 last patch a bit. Pretty printing
32864
3056dcdb
UD
328652010-05-31 Petr Baudis <pasky@suse.cz>
32866
32867 [BZ #10085]
32868 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
32869 initialization of skip_initgroups_dyn.
32870
cf7c9078
UD
328712010-11-19 Ulrich Drepper <drepper@gmail.com>
32872
32873 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
32874 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32875
a1fb5e3e
UD
328762010-11-16 Ulrich Drepper <drepper@gmail.com>
32877
32878 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
32879
3540d66b
AS
328802010-11-11 Andreas Schwab <schwab@redhat.com>
32881
32882 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
32883 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
32884 (tst-fnmatch-ENV): Set MALLOC_TRACE.
32885 ($(objpfx)tst-fnmatch-mem): New rule.
32886 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
32887 * posix/tst-fnmatch.c (main): Call mtrace.
32888
13b69574
L
328892010-11-11 H.J. Lu <hongjiu.lu@intel.com>
32890
32891 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32892 Support Intel processor model 6 and model 0x2c.
32893
da93d214
LM
328942010-11-10 Luis Machado <luisgpm@br.ibm.com>
32895
32896 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
32897 signed comparison.
32898
8ca52c6e
L
328992010-11-09 H.J. Lu <hongjiu.lu@intel.com>
32900
32901 [BZ #12205]
32902 * string/test-strncasecmp.c (check_result): New function.
32903 (do_one_test): Use it.
32904 (check1): New function.
32905 (test_main): Use it.
32906 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
32907 Support strcasecmp and strncasecmp.
32908
69da074d
UD
329092010-11-08 Ulrich Drepper <drepper@gmail.com>
32910
32911 [BZ #12194]
32912 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
32913 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32914
ff02d528
L
329152010-11-07 H.J. Lu <hongjiu.lu@intel.com>
32916
32917 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
32918 IFUNC support.
32919 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32920 memset-x86-64.
32921 * sysdeps/x86_64/multiarch/bzero.S: New file.
32922 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
32923 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
32924 * sysdeps/x86_64/multiarch/memset.S: New file.
32925 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
32926 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32927 Set bit_Prefer_SSE_for_memop for Intel processors.
32928 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
32929 Define.
32930 (index_Prefer_SSE_for_memop): Define.
32931 (HAS_PREFER_SSE_FOR_MEMOP): Define.
32932
344d0b54
LM
329332010-11-04 Luis Machado <luisgpm@br.ibm.com>
32934
32935 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
32936 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
32937
c0dde15b
UD
329382010-11-03 H.J. Lu <hongjiu.lu@intel.com>
32939
32940 [BZ #12191]
32941 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32942 (__x86_64_raw_data_cache_size_half): Likewise.
32943 (__x86_64_raw_shared_cache_size): Likewise.
32944 (__x86_64_raw_shared_cache_size_half): Likewise.
32945
32946 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32947 (__x86_64_raw_data_cache_size_half): Likewise.
32948 (__x86_64_raw_shared_cache_size): Likewise.
32949 (__x86_64_raw_shared_cache_size_half): Likewise.
32950 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
32951 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
32952 and __x86_64_raw_shared_cache_size_half. Round
32953 __x86_64_data_cache_size_half, __x86_64_data_cache_size
32954 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
32955 to multiple of 256 bytes.
32956
0e516e0e
MS
329572010-11-03 Ulrich Drepper <drepper@gmail.com>
32958
32959 [BZ #12167]
32960 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
32961 of inacessible symlinks. Verify result of symlink before returning it.
32962 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32963 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
32964
0e012e87
ER
329652010-10-28 Erich Ritz <erichritz@gmail.com>
32966
32967 * math/math.h (isinf): Fix typo in comment.
32968
de0ff7bc
UD
329692010-11-01 Ulrich Drepper <drepper@gmail.com>
32970
32971 * po/da.po: Update from translation team.
32972
fa41c84d
UD
329732010-10-26 Ulrich Drepper <drepper@gmail.com>
32974
32975 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
32976 is added to the list.
32977
f0967738
AK
329782010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32979 Ulrich Drepper <drepper@gmail.com>
32980
32981 * elf/dl-object.c (_dl_new_object): Don't append the new object to
32982 the global list here. Move code to...
32983 (_dl_add_to_namespace_list): ...here. New function.
32984 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
32985 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
32986 * elf/dl-load.c (lose): Don't remove the element from the list.
32987 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
32988 (_dl_map_object): Likewise.
32989
329902010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
32991
32992 [BZ #12159]
32993 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
32994 into all bytes of SSE register.
32995 Patch by Richard Li <richardpku@gmail.com>.
32996
f0967738 329972010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
32998
32999 [BZ #12140]
33000 * malloc/malloc.c (_int_free): Fill correct number of bytes when
33001 perturbing.
33002
d0b9e94f
MB
330032010-10-20 Michael B. Brutman <brutman@us.ibm.com>
33004
33005 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
33006 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
33007 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
33008 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
33009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
33010 submachine.
33011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
33012
8e9f92e9
AS
330132010-10-22 Andreas Schwab <schwab@redhat.com>
33014
33015 * include/dlfcn.h (__RTLD_SECURE): Define.
33016 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
33017 mode & __RTLD_SECURE instead.
33018 (open_path): Rename preloaded parameter to secure.
33019 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
33020 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
33021 * elf/dl-deps.c (openaux): Likewise.
33022 * elf/rtld.c (struct map_args): Remove is_preloaded.
33023 (map_doit): Don't use it.
33024 (dl_main): Likewise.
33025 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
33026 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
33027
bc96fbda
AS
330282010-09-09 Andreas Schwab <schwab@redhat.com>
33029
33030 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
33031 (sysd-rules-targets): Remove duplicates.
33032 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
33033 rtld-%.$o dependency.
33034
22cd1c9b
AS
330352010-10-18 Andreas Schwab <schwab@redhat.com>
33036
33037 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
33038 _dl_map_object do it.
33039
18edac48
UD
330402010-10-19 Ulrich Drepper <drepper@gmail.com>
33041
33042 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
33043 fast fma builtins, define the macros in the C99 standard.
33044 (FP_FAST_FMAF): Likewise.
33045 (FP_FAST_FMAL): Likewise.
33046 * sysdeps/x86_64/bits/mathdef.h: Likewise.
33047
33048 * bits/mathdef.h: Update copyright year.
33049 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33050
d2050124
MM
330512010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
33052
33053 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
33054 builtins, define the macros in the C99 standard.
33055 (FP_FAST_FMAF): Likewise.
33056 (FP_FAST_FMAL): Likewise.
33057 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
33058 multiply/add.
33059 (FP_FAST_FMAF): Likewise.
33060
475facd1
JJ
330612010-10-15 Jakub Jelinek <jakub@redhat.com>
33062
33063 [BZ #3268]
33064 * math/libm-test.inc (fma_test): Some new testcases.
33065 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
33066 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
33067 y and infinite z. Do multiplication by C already in long double.
33068 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
33069 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
33070 y and infinite z. Do bitwise or of inexact bit into u.d.
33071 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
33072 * sysdeps/i386/fpu/s_fmaf.S: Removed.
33073 * sysdeps/i386/fpu/s_fma.S: Removed.
33074 * sysdeps/i386/fpu/s_fmal.S: Removed.
33075
7c08a05c
JJ
330762010-10-16 Jakub Jelinek <jakub@redhat.com>
33077
33078 [BZ #3268]
33079 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
33080 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
33081 computation is not scheduled after fetestexcept. Fix value
33082 of minimum denormal long double.
33083
f3f7372d
JJ
330842010-10-14 Jakub Jelinek <jakub@redhat.com>
33085
33086 [BZ #3268]
33087 * math/libm-test.inc (fma_test): Add some more tests.
33088 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
33089 correctly.
33090
14d43591
AS
330912010-10-15 Andreas Schwab <schwab@redhat.com>
33092
33093 * scripts/data/localplt-s390-linux-gnu.data: New file.
33094 * scripts/data/localplt-s390x-linux-gnu.data: New file.
33095
5e908464
JJ
330962010-10-13 Jakub Jelinek <jakub@redhat.com>
33097
33098 [BZ #3268]
33099 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
33100 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
33101 instead of dbl-64.
33102 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
33103 inlines.
33104 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
33105 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
33106 if one of x and y is very large and the other is subnormal.
33107 * sysdeps/s390/fpu/s_fmaf.c: New file.
33108 * sysdeps/s390/fpu/s_fma.c: New file.
33109 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
33110 * sysdeps/powerpc/fpu/s_fma.S: New file.
33111 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
33112 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
33113 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
33114
331152010-10-12 Jakub Jelinek <jakub@redhat.com>
33116
33117 [BZ #3268]
33118 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
33119 fma tests.
33120 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
33121 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
33122 * sysdeps/i386/i686/multiarch/s_fma.c: Include
33123 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
33124 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
33125 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
33126 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
33127
b833d51f
UD
331282010-10-12 Ulrich Drepper <drepper@redhat.com>
33129
33130 [BZ #12078]
33131 * posix/regcomp.c (parse_branch): One more memory leak plugged.
33132 * posix/bug-regex31.input: Add test case.
33133
1751705d
UD
331342010-10-11 Ulrich Drepper <drepper@gmail.com>
33135
e9b9cbf5
UD
33136 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
33137 * posix/bug-regex31.input: New file.
33138
33139 [BZ #12078]
33140 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
33141 (parse_sub_exp): Fix last change, use postorder.
33142
ef06edbe
UD
33143 * posix/bug-regex31.c: New file.
33144 * posix/Makefile: Add rules to build and run bug-regex31.
33145
a129c80d
UD
33146 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
33147
33148 [BZ #12078]
33149 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
33150
b76b818e
UD
33151 [BZ #12108]
33152 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
33153 to have entries in sys_siglist.
33154
1751705d
UD
33155 [BZ #12093]
33156 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
33157 be NULL.
33158
9ff8d36f
JJ
331592010-10-07 Jakub Jelinek <jakub@redhat.com>
33160
33161 [BZ #3268]
33162 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
33163 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
33164 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
33165 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
33166 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33167 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
33168 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
33169 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
33170 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
33171 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
33172 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
33173 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
33174 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33175 * math/ftestexcept.c (fetestexcept): Likewise.
33176 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
33177 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
33178 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
33179 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
33180 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
33181 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
33182 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33183
af325969
UD
331842010-10-11 Ulrich Drepper <drepper@gmail.com>
33185
c579b202 33186 [BZ #12107]
af325969
UD
33187 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
33188 newline.
33189
67a67b95
UD
331902010-10-06 Ulrich Drepper <drepper@gmail.com>
33191
33192 * string/bug-strstr1.c: New file.
33193 * string/Makefile: Add rules to build and run bug-strstr1.
33194
5fb308bc
EB
331952010-10-05 Eric Blake <eblake@redhat.com>
33196
33197 [BZ #12092]
33198 * string/str-two-way.h (two_way_long_needle): Always clear memory
33199 when skipping input due to the shift table.
33200
45db99c7
UD
332012010-10-03 Ulrich Drepper <drepper@gmail.com>
33202
3b111893
UD
33203 [BZ #12005]
33204 * malloc/mcheck.c: Handle large requests.
33205
45db99c7
UD
33206 [BZ #12077]
33207 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
33208 for strncmp and strncasecmp.
33209 * string/stratcliff.c: Add tests for strcmp and strncmp.
33210 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
33211
cf7a1eb8
NI
332122010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33213
33214 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
33215 __set_fpscr.
33216
6484ba5e
AJ
332172010-09-30 Andreas Jaeger <aj@suse.de>
33218
33219 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
33220 (CGROUP_SUPER_MAGIC): Define.
33221 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33222 Handle btrfs and cgroup file systems.
33223 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33224 Likewise.
33225
91c42559
LM
332262010-09-27 Luis Machado <luisgpm@br.ibm.com>
33227
33228 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
33229 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
33230
87a97932
AK
332312010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33232
33233 [BZ #12067]
33234 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
33235 trying to locate the ELF header.
33236
c21cc9bc
AS
332372010-09-27 Andreas Schwab <schwab@redhat.com>
33238
33239 [BZ #11611]
33240 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
33241 Mask out sign-bit copies when constructing f_fsid.
33242
315970f6
PB
332432010-09-24 Petr Baudis <pasky@suse.cz>
33244
33245 * debug/stack_chk_fail_local.c: Add missing licence exception.
33246 * debug/warning-nop.c: Likewise.
33247
1ac7a2c7
JM
332482010-09-15 Joseph Myers <joseph@codesourcery.com>
33249
33250 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
33251 implementing getdents64 using getdents syscall, set d_type if
33252 __ASSUME_GETDENTS32_D_TYPE.
33253
56801c50
AS
332542010-09-16 Andreas Schwab <schwab@redhat.com>
33255
33256 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
33257 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
33258
dda51327
UD
332592010-09-21 Ulrich Drepper <drepper@redhat.com>
33260
33261 [BZ #12037]
33262 * posix/unistd.h: Undo change of feature selection for ftruncate from
33263 2010-01-11.
33264
8ffcee4a
UD
332652010-09-20 Ulrich Drepper <drepper@redhat.com>
33266
a545ecd9 33267 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
33268 detection.
33269
e24f0a8b
AS
332702010-09-20 Andreas Schwab <schwab@redhat.com>
33271
33272 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
33273 fanotify_mark.
33274 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33275
7291c56f
AS
332762010-09-14 Andreas Schwab <schwab@redhat.com>
33277
33278 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
33279 variables after CHECK_SP call.
33280 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
33281
bc5fb037
AS
332822010-09-13 Andreas Schwab <schwab@redhat.com>
33283 Ulrich Drepper <drepper@redhat.com>
33284
33285 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
33286 re-relocationg ld.so.
33287 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
33288 _dl_init_paths call.
33289 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
33290 here anymore.
33291
e66e7419
UD
332922010-09-14 Ulrich Drepper <drepper@redhat.com>
33293
33294 * resolv/res_init.c (__res_vinit): Count the default server we added.
33295
c044aa75
CLT
332962010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
33297 Ulrich Drepper <drepper@redhat.com>
33298
33299 [BZ #11968]
33300 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33301 (____longjmp_chk): Use %ebx for saving value across system call.
33302 Add unwind info.
33303
32cf4069
AS
333042010-09-06 Andreas Schwab <schwab@redhat.com>
33305
33306 * manual/Makefile: Don't mix pattern rules with normal rules.
33307
817328ee
AS
333082010-09-05 Andreas Schwab <schwab@linux-m68k.org>
33309
33310 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
33311 operation.
33312 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
33313 * libio/iofopncook.c (_IO_cookie_init): Likewise.
33314 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
33315 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
33316 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33317 Likewise.
33318
29fddf61
UD
333192010-09-04 Ulrich Drepper <drepper@redhat.com>
33320
33321 [BZ #11979]
33322 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
33323 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
33324
0959ffc9
UD
333252010-09-02 Ulrich Drepper <drepper@redhat.com>
33326
33327 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
33328 * sysdeps/x86_64/addmul_1.S: Likewise.
33329 * sysdeps/x86_64/lshift.S: Likewise.
33330 * sysdeps/x86_64/mul_1.S: Likewise.
33331 * sysdeps/x86_64/rshift.S: Likewise.
33332 * sysdeps/x86_64/sub_n.S: Likewise.
33333 * sysdeps/x86_64/submul_1.S: Likewise.
33334
ece29840
ST
333352010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
33336
0959ffc9
UD
33337 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
33338 Define __sched_param instead of SCHED_* and sched_param when
ece29840 33339 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 33340 * bits/sched.h [__need_schedparam]
ece29840 33341 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
33342 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
33343 (__defined_schedparam): Define to 1.
ece29840
ST
33344 (__sched_param): New structure, identical to sched_param.
33345 (__need_schedparam): Undefine.
33346
e53a31fe
MF
333472010-08-31 Mike Frysinger <vapier@gentoo.org>
33348
fdc0c10d
MF
33349 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
33350 (epoll_create1): Declare.
33351
e53a31fe
MF
33352 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
33353
a726d796
AS
333542010-08-31 Andreas Schwab <schwab@redhat.com>
33355
33356 [BZ #7066]
33357 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
33358 shifting retval into place.
33359
2f3e3dc7
UD
333602010-09-01 Ulrich Drepper <drepper@redhat.com>
33361
f2933da9
UD
33362 * nis/rpcsvc/nis.h: Update copyright notice.
33363 * nis/rpcsvc/nis.x: Likewise.
33364 * nis/rpcsvc/nis_callback.h: Likewise.
33365 * nis/rpcsvc/nis_callback.x: Likewise.
33366 * nis/rpcsvc/nis_object.x: Likewise.
33367 * nis/rpcsvc/nis_tags.h: Likewise.
33368 * nis/rpcsvc/yp.h: Likewise.
33369 * nis/rpcsvc/yp.x: Likewise.
33370 * nis/rpcsvc/ypupd.h: Likewise.
33371 * nis/yp_xdr.c: Likewise.
33372 * nis/ypupdate_xdr.c: Likewise.
33373
2f3e3dc7
UD
33374 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
33375 mainly the body of pmap_getport. Add parameters to specify timeouts.
33376 (pmap_getport): Use __libc_rpc_getport.
33377 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
33378 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
33379 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
33380
f3dcc2f9
AS
333812010-08-31 Andreas Schwab <schwab@linux-m68k.org>
33382
33383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
33384 fanotify_mark.
33385
6d34eb5b
RM
333862010-08-27 Roland McGrath <roland@redhat.com>
33387
33388 * sysdeps/i386/i686/multiarch/Makefile
33389 (CFLAGS-varshift.c): New variable.
33390
9ea3de11
UD
333912010-08-27 Ulrich Drepper <drepper@redhat.com>
33392
c96d23fc
UD
33393 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
33394 * sysdeps/i386/i686/multiarch/varshift.c: New file.
33395
9ea3de11
UD
33396 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
33397
33398 * sysdeps/x86_64/strlen.S: Minimal code improvement.
33399
623aac7f
L
334002010-08-26 H.J. Lu <hongjiu.lu@intel.com>
33401
33402 * sysdeps/x86_64/strlen.S: Unroll the loop.
33403 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33404 strlen-sse2 strlen-sse2-bsf.
33405 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
33406 __strlen_no_bsf if bit_Slow_BSF is set.
33407 (__strlen_sse42): Removed.
33408 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
33409 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
33410
8b2b7715
RM
334112010-08-25 Roland McGrath <roland@redhat.com>
33412
33413 * sysdeps/x86_64/multiarch/varshift.S: File removed.
33414 * sysdeps/x86_64/multiarch/varshift.c: New file.
33415 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
33416 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
33417 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
33418 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33419
e73015f2
L
334202010-08-25 H.J. Lu <hongjiu.lu@intel.com>
33421
33422 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33423 strlen-sse2 strlen-sse2-bsf.
33424 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
33425 __strlen_sse2_bsf if bit_Slow_BSF is unset.
33426 (__strlen_sse2): Removed.
33427 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
33428 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
33429 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33430 bit_Slow_BSF for Atom.
33431 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
33432 (index_Slow_BSF): Define.
33433 (HAS_SLOW_BSF): Define.
33434
df24a73e
UD
334352010-08-25 Ulrich Drepper <drepper@redhat.com>
33436
33437 [BZ #10851]
33438 * resolv/res_init.c (__res_vinit): When no server address at all
33439 is given default to loopback.
33440
f2ac4868
RM
334412010-08-24 Roland McGrath <roland@redhat.com>
33442
09055553
RM
33443 * configure.in: Remove config-name.h generation.
33444 * configure: Regenerated.
33445 * config-name.in: File removed.
33446 * scripts/config-uname.sh: New file.
33447 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
33448 ($(objdir)config-name.h): New target.
33449
f2ac4868
RM
33450 * sunrpc/rpc_parse.h: Avoid nested comment.
33451
73f27d5e
RH
334522010-08-24 Richard Henderson <rth@redhat.com>
33453 Ulrich Drepper <drepper@redhat.com>
33454 H.J. Lu <hongjiu.lu@intel.com>
33455
33456 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
33457 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
33458 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
33459 Replace _mm_srli_si128 with __m128i_shift_right. Replace
33460 _mm_alignr_epi8 with _mm_loadu_si128.
33461 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
33462 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
33463 (__m128i_shift_right): Removed.
33464 * sysdeps/i386/i686/multiarch/varshift.h: New file.
33465 * sysdeps/i386/i686/multiarch/varshift.S: New file.
33466 * sysdeps/x86_64/multiarch/varshift.h: New file.
33467 * sysdeps/x86_64/multiarch/varshift.S: New file.
33468
84b9230c
MF
334692010-08-21 Mike Frysinger <vapier@gentoo.org>
33470
33471 * configure.in: Move assembler checks to before sysdep dir checking.
33472
9bbd0ddc
PB
334732010-08-20 Petr Baudis <pasky@suse.cz>
33474
33475 * LICENSES: Sync the sunrpc license.
33476
9da4bb31
UD
334772010-08-19 Ulrich Drepper <drepper@redhat.com>
33478
a7ab6ec8
UD
33479 * sunrpc/auth_des.c: Update copyright notice once again.
33480 * sunrpc/auth_none.c: Likewise.
33481 * sunrpc/auth_unix.c: Likewise.
33482 * sunrpc/authdes_prot.c: Likewise.
33483 * sunrpc/authuxprot.c: Likewise.
33484 * sunrpc/bindrsvprt.c: Likewise.
33485 * sunrpc/clnt_gen.c: Likewise.
33486 * sunrpc/clnt_perr.c: Likewise.
33487 * sunrpc/clnt_raw.c: Likewise.
33488 * sunrpc/clnt_simp.c: Likewise.
33489 * sunrpc/clnt_tcp.c: Likewise.
33490 * sunrpc/clnt_udp.c: Likewise.
33491 * sunrpc/clnt_unix.c: Likewise.
33492 * sunrpc/des_crypt.c: Likewise.
33493 * sunrpc/des_soft.c: Likewise.
33494 * sunrpc/get_myaddr.c: Likewise.
33495 * sunrpc/getrpcport.c: Likewise.
33496 * sunrpc/key_call.c: Likewise.
33497 * sunrpc/key_prot.c: Likewise.
33498 * sunrpc/openchild.c: Likewise.
33499 * sunrpc/pm_getmaps.c: Likewise.
33500 * sunrpc/pm_getport.c: Likewise.
33501 * sunrpc/pmap_clnt.c: Likewise.
33502 * sunrpc/pmap_prot.c: Likewise.
33503 * sunrpc/pmap_prot2.c: Likewise.
33504 * sunrpc/pmap_rmt.c: Likewise.
33505 * sunrpc/rpc/auth.h: Likewise.
33506 * sunrpc/rpc/auth_unix.h: Likewise.
33507 * sunrpc/rpc/clnt.h: Likewise.
33508 * sunrpc/rpc/des_crypt.h: Likewise.
33509 * sunrpc/rpc/key_prot.h: Likewise.
33510 * sunrpc/rpc/netdb.h: Likewise.
33511 * sunrpc/rpc/pmap_clnt.h: Likewise.
33512 * sunrpc/rpc/pmap_prot.h: Likewise.
33513 * sunrpc/rpc/pmap_rmt.h: Likewise.
33514 * sunrpc/rpc/rpc.h: Likewise.
33515 * sunrpc/rpc/rpc_des.h: Likewise.
33516 * sunrpc/rpc/rpc_msg.h: Likewise.
33517 * sunrpc/rpc/svc.h: Likewise.
33518 * sunrpc/rpc/svc_auth.h: Likewise.
33519 * sunrpc/rpc/types.h: Likewise.
33520 * sunrpc/rpc/xdr.h: Likewise.
33521 * sunrpc/rpc_clntout.c: Likewise.
33522 * sunrpc/rpc_cmsg.c: Likewise.
33523 * sunrpc/rpc_common.c: Likewise.
33524 * sunrpc/rpc_cout.c: Likewise.
33525 * sunrpc/rpc_dtable.c: Likewise.
33526 * sunrpc/rpc_hout.c: Likewise.
33527 * sunrpc/rpc_main.c: Likewise.
33528 * sunrpc/rpc_parse.c: Likewise.
33529 * sunrpc/rpc_parse.h: Likewise.
33530 * sunrpc/rpc_prot.c: Likewise.
33531 * sunrpc/rpc_sample.c: Likewise.
33532 * sunrpc/rpc_scan.c: Likewise.
33533 * sunrpc/rpc_scan.h: Likewise.
33534 * sunrpc/rpc_svcout.c: Likewise.
33535 * sunrpc/rpc_tblout.c: Likewise.
33536 * sunrpc/rpc_util.c: Likewise.
33537 * sunrpc/rpc_util.h: Likewise.
33538 * sunrpc/rpcinfo.c: Likewise.
33539 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
33540 * sunrpc/rpcsvc/key_prot.x: Likewise.
33541 * sunrpc/rpcsvc/klm_prot.x: Likewise.
33542 * sunrpc/rpcsvc/mount.x: Likewise.
33543 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
33544 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
33545 * sunrpc/rpcsvc/rex.x: Likewise.
33546 * sunrpc/rpcsvc/rstat.x: Likewise.
33547 * sunrpc/rpcsvc/rusers.x: Likewise.
33548 * sunrpc/rpcsvc/sm_inter.x: Likewise.
33549 * sunrpc/rpcsvc/spray.x: Likewise.
33550 * sunrpc/rpcsvc/yppasswd.x: Likewise.
33551 * sunrpc/rtime.c: Likewise.
33552 * sunrpc/svc.c: Likewise.
33553 * sunrpc/svc_auth.c: Likewise.
33554 * sunrpc/svc_authux.c: Likewise.
33555 * sunrpc/svc_raw.c: Likewise.
33556 * sunrpc/svc_run.c: Likewise.
33557 * sunrpc/svc_simple.c: Likewise.
33558 * sunrpc/svc_tcp.c: Likewise.
33559 * sunrpc/svc_udp.c: Likewise.
33560 * sunrpc/svc_unix.c: Likewise.
33561 * sunrpc/svcauth_des.c: Likewise.
33562 * sunrpc/xcrypt.c: Likewise.
33563 * sunrpc/xdr.c: Likewise.
33564 * sunrpc/xdr_array.c: Likewise.
33565 * sunrpc/xdr_float.c: Likewise.
33566 * sunrpc/xdr_mem.c: Likewise.
33567 * sunrpc/xdr_rec.c: Likewise.
33568 * sunrpc/xdr_ref.c: Likewise.
33569 * sunrpc/xdr_sizeof.c: Likewise.
33570 * sunrpc/xdr_stdio.c: Likewise.
33571
9da4bb31
UD
33572 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
33573 handling.
33574
bdaa77bc
AS
335752010-08-19 Andreas Schwab <schwab@redhat.com>
33576
33577 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
33578
fe2f79db
LM
335792010-08-19 Luis Machado <luisgpm@br.ibm.com>
33580
33581 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
33582 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
33583 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
33584 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
33585 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
33586 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
33587 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
33588 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
33589 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
33590 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
33591 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
33592 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
33593 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
33594 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
33595
b9b42ee0
AB
335962010-07-26 Anton Blanchard <anton@samba.org>
33597
33598 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
33599 * malloc/arena.c (heap_trim): Likewise.
33600
1c06ba31
UD
336012010-08-16 Ulrich Drepper <drepper@redhat.com>
33602
33603 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
33604 here. Not...
33605 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
33606 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
33607
f8392f40
L
336082010-08-12 H.J. Lu <hongjiu.lu@intel.com>
33609
33610 * sysdeps/i386/elf/Makefile: New file.
33611
3162f12e
AS
336122010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33613
33614 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
33615 from fanotify_init.
33616 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
33617 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33618
28c90b2c
UD
336192010-08-15 Ulrich Drepper <drepper@redhat.com>
33620
33621 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
33622 of strncasecmp_l.
1feccb6c 33623 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 33624
ca6bb004
UD
336252010-08-14 Ulrich Drepper <drepper@redhat.com>
33626
e9f82e0d
UD
33627 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33628 strncase_l-nonascii.
33629 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33630 Add strncase_l-ssse3.
33631 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
33632 * sysdeps/x86_64/strcmp.S: Likewise.
33633 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
33634 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
33635 * sysdeps/x86_64/strncase.S: New file.
33636 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
33637 * sysdeps/x86_64/strncase_l.S: New file.
33638 * string/Makefile (strop-tests): Add strncasecmp.
33639 * string/test-strncasecmp.c: New file.
33640
33641 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
33642 warning.
33643
ca6bb004
UD
33644 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
33645 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
33646
052fa7b3
AS
336472010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33648
33649 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
33650
962dba78
UD
336512010-08-12 Ulrich Drepper <drepper@redhat.com>
33652
33653 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
33654 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
33655 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
33656
bebff237
AM
336572010-05-01 Alan Modra <amodra@gmail.com>
33658
33659 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
33660 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
33661 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
33662 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
33663 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
33664 tidying. Don't tail-call __sigjmp_save for static lib.
33665 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
33666 save location.
33667 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
33668 (CALL_MCOUNT): Add eh info, and nop after bl.
33669 (TAIL_CALL_SYSCALL_ERROR): New macro.
33670 (PSEUDO_RET): Use it.
33671 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
33672 Correct save location of integer regs and cr.
33673 (_dl_profile_resolve): Correct cr save location. Delete nops
33674 after bl when SHARED. Reduce cfi size a little by better
33675 placement of cfi directives.
33676 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
33677 make a stack frame. Instead use parm save area as a temp.
33678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
33679 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
33680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
33681 Don't make a stack frame for parent, use parm save area.
33682 Increase child stack frame to 112 bytes. Don't save unused reg,
33683 and adjust reg usage. Set up cfi on error recovery and
33684 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
33685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33686 (__makecontext): Add dummy nop after jump to exit.
33687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
33688 Use correct parm save area and cr save, reduce stack frame.
33689 Correct cfi for possible PSEUDO_RET frame setup.
33690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
33691 Branch to local label emitted by PSEUDO_RET rather than
33692 __syscall_error.
33693
02637374
AS
336942010-08-12 Andreas Schwab <schwab@redhat.com>
33695
33696 [BZ #11904]
33697 * locale/programs/locale.c (print_assignment): New function.
33698 (show_locale_vars): Use it.
33699
c3e2f19b
UD
337002010-08-11 Ulrich Drepper <drepper@redhat.com>
33701
3cdaa6ad
UD
33702 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
33703 field.
33704 (struct statfs64): Likewise.
33705 (_STATFS_F_FLAGS): Define.
33706 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
33707 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33708 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
33709 (ST_VALID): Define locally.
33710 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
33711 __statvfs_getflags, use the provided value.
33712 * sysdeps/unix/sysv/linux/kernel-features.h: Define
33713 __ASSUME_STATFS_F_FLAGS.
33714
754f7da3
UD
33715 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
33716
10b3bedc
UD
33717 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
33718 Add sys/fanotify.h.
33719 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
33720 fanotify_mask for GLIBC_2.13.
33721 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
33722 fanotify_init and fanotify_mark.
33723 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33724 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
33725
c08fb0d7
UD
33726 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
33727 Add prlimit.
33728 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
33729 prlimit64 for GLIBC_2.13.
33730 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
33731 prlimit64.
33732 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
33733 syscall.
33734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
33735 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33736 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
33737 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
33738 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
33739 add prlimit alias.
33740 * sysdeps/unix/sysv/linux/prlimit.c: New file.
33741
15bac72b
UD
33742 [BZ #11903]
33743 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
33744 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
33745
c3e2f19b
UD
33746 * nss/Makefile: Add rules to build and run tst-nss-test1.
33747 * shlib-versions: Add entry for libnss_test1.
33748 * nss/nss_test1.c: New file.
33749 * nss/tst-nss-test1.c: New file.
33750
33751 * nss/nsswitch.c (__nss_database_custom): Define new variable.
33752 (__nss_configure_lookup): Set appropriate entry in
33753 __nss_configure_lookup to true.
33754 * nss/nsswitch.h: Define enum with indeces of databases in
33755 databases and __nss_database_custom arrays. Declare
33756 __nss_database_custom.
33757 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
33758 to avoid using nscd when custom rules are installed.
33759 * nss/getXXbyYY_r.c: Likewise.
33760 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33761
33762 * nss/nss_files/files-parse.c: Whitespace fixes.
33763
f15ce4d8
UD
337642010-08-09 Ulrich Drepper <drepper@redhat.com>
33765
33766 [BZ #11883]
33767 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
33768 * posix/fnmatch_loop.c: Likewise.
33769
d22e4cc9
AK
337702010-07-17 Andi Kleen <ak@linux.intel.com>
33771
33772 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
33773 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
33774 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
33775 * Versions.def [GLIBC_2.13]: Add.
33776
805bc17d
UD
337772010-08-06 Ulrich Drepper <drepper@redhat.com>
33778
33779 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33780 Also fail if tpwd after pwuid call is NULL.
33781
5a42321d
ST
337822010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
33783
33784 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
33785 when converting to ms.
33786
fd3ebeda
ST
337872010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33788
33789 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
33790 EOPNOTSUPP errors with ENOTTY.
33791 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
33792 EOPNOTSUPP errors with ENOTTY.
33793
73507d3a
UD
337942010-07-31 Ulrich Drepper <drepper@redhat.com>
33795
33796 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33797 Add strcasecmp_l-ssse3.
33798 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
33799 strcasecmp.
33800 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
33801 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
33802 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
33803
fe36dd02
UD
338042010-07-30 Ulrich Drepper <drepper@redhat.com>
33805
66f6765a
UD
33806 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
33807
42e08a54
UD
33808 * string/Makefile (strop-tests): Add strcasecmp.
33809 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33810 strcasecmp_l-nonascii.
33811 (gen-as-const-headers): Add locale-defines.sym.
33812 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
33813 * sysdeps/x86_64/strcasecmp.S: New file.
33814 * sysdeps/x86_64/strcasecmp_l.S: New file.
33815 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
33816 * sysdeps/x86_64/locale-defines.sym: New file.
33817 * string/test-strcasecmp.c: New file.
33818
fe36dd02
UD
33819 * string/test-strcasestr.c: Test both ends of the range of characters.
33820 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
33821
48cbc0d6
RM
338222010-07-29 Roland McGrath <roland@redhat.com>
33823
76e6d6bc 33824 [BZ #11856]
48cbc0d6
RM
33825 * manual/locale.texi (Yes-or-No Questions): Fix example code.
33826
880113d9
UD
338272010-07-27 Ulrich Drepper <drepper@redhat.com>
33828
33829 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
33830 for ld.so.
33831
deb9cabb
AS
338322010-07-27 Andreas Schwab <schwab@redhat.com>
33833
33834 * manual/memory.texi (Malloc Tunable Parameters): Document
33835 M_PERTURB.
33836
1c7570ff
RM
338372010-07-26 Roland McGrath <roland@redhat.com>
33838
33839 [BZ #11840]
33840 * configure.in (-fgnu89-inline check): Set and substitute
33841 gnu89_inline, not libc_cv_gnu89_inline.
33842 * configure: Regenerated.
33843 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
33844
24fb0f88
UD
338452010-07-26 Ulrich Drepper <drepper@redhat.com>
33846
33847 * string/test-strnlen.c: New file.
33848 * string/Makefile (strop-tests): Add strnlen.
33849 * string/tester.c (test_strnlen): Add a few more test cases.
33850 * string/tst-strlen.c: Better error reporting.
33851
33852 * sysdeps/x86_64/strnlen.S: New file.
33853
8e96b93a
UD
338542010-07-24 Ulrich Drepper <drepper@redhat.com>
33855
33856 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
33857 lower-latency instructions.
33858
dbc676d4
UD
338592010-07-23 Ulrich Drepper <drepper@redhat.com>
33860
33861 * string/test-strcasestr.c: New file.
33862 * string/test-strstr.c: New file.
33863 * string/Makefile (strop-tests): Add strstr and strcasestr.
33864 * string/str-two-way.h: Don't undefine MAX.
33865 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
33866
f6a31e0e
AS
338672010-07-21 Andreas Schwab <schwab@redhat.com>
33868
33869 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33870 strcasestr-nonascii.
33871 (CFLAGS-strcasestr-nonascii.c): Define.
33872 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
33873 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
33874 Remove unused attribute.
33875
5dbc3b6c
RM
338762010-07-20 Roland McGrath <roland@redhat.com>
33877
33878 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
33879 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
33880 ld.so.cache was broken. With it, there is no way to disable dsocaps
33881 like LD_HWCAP_MASK can disable hwcaps.
33882
23d101d8
EPM
338832010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33884
33885 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
33886
cc9f2e47
UD
338872010-07-16 Ulrich Drepper <drepper@redhat.com>
33888
33889 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
33890 call in strcasestr.
33891 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
33892 __strcasestr_sse42_nonascii.
33893 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
33894 strcasestr-nonascii.c.
33895 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
33896
77c1b069
LM
338972010-06-15 Luis Machado <luisgpm@br.ibm.com>
33898
33899 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
33900 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
33901 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
33902 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
33903
440566c3
UD
339042010-07-09 Ulrich Drepper <drepper@redhat.com>
33905
33906 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
33907 fcntl.
33908
5be9d05d
AS
339092010-07-06 Andreas Schwab <schwab@redhat.com>
33910
c30b7ee2 33911 [BZ #11577]
5be9d05d
AS
33912 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
33913 dl_signal_cerror.
33914
8a492a67
UD
339152010-07-06 Ulrich Drepper <drepper@redhat.com>
33916
33917 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
33918 _PC_PIPE_BUF using F_GETPIPE_SZ.
33919
713df3d5
RM
339202010-07-05 Roland McGrath <roland@redhat.com>
33921
33922 * manual/arith.texi (Rounding Functions): Fix rint description
33923 implicit in round description.
33924
702e8f14
UD
339252010-07-02 Ulrich Drepper <drepper@redhat.com>
33926
33927 * elf/Makefile: Fix linking for a few tests to make recent linker
33928 happy.
33929
52ed8be9
AS
339302010-06-30 Andreas Schwab <schwab@redhat.com>
33931
33932 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33933 $(common-objpfx)libc_nonshared.a.
33934
f47c9a11
LM
339352010-06-21 Luis Machado <luisgpm@br.ibm.com>
33936
33937 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
33938 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
33939 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33940 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33941 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
33942 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
33943 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33944 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
33946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
33947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
33948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
33950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
33952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
33953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
33954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
33955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
33957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
33959 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
33960 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
33961 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
33962 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
33963 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
33964 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
33965 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
33966 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
33967 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
33968 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
33969 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
33970 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
33971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
33972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
33973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
33974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
33975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
33976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
33977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
33978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
33979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
33980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
33981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
33982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
33983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
33984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
33985
6fb8cbcb
L
339862010-06-25 H.J. Lu <hongjiu.lu@intel.com>
33987
33988 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
33989 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
33990 * string/memmove.c (memmove): Renamed to ...
33991 (MEMMOVE): ...this. Default to memmove.
33992 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
33993 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
33994 (END_CHK): Define.
33995 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33996 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
33997 mempcpy-ssse3-back memmove-ssse3-back.
33998 * sysdeps/x86_64/multiarch/bcopy.S: New file .
33999 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
34000 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
34001 * sysdeps/x86_64/multiarch/memcpy.S: New file.
34002 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
34003 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
34004 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
34005 * sysdeps/x86_64/multiarch/memmove.c: New file.
34006 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
34007 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
34008 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
34009 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
34010 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
34011 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
34012 Define.
34013 (index_Fast_Copy_Backward): Define.
34014 (HAS_ARCH_FEATURE): Define.
34015 (HAS_FAST_REP_STRING): Define.
34016 (HAS_FAST_COPY_BACKWARD): Define.
34017
4e733bac 340182010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
34019
34020 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34021 Restore proper fallback handling.
34022
63c4ed22
UD
340232010-06-19 Ulrich Drepper <drepper@redhat.com>
34024
ac2b484c
UD
34025 [BZ #11701]
34026 * posix/group_member.c (__group_member): Correct checking loop.
34027
63c4ed22
UD
34028 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
34029 OOM in getpwuid_r correctly. Return error number when the caller
34030 should return, otherwise -1.
34031 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
34032 call returning > 0 value.
34033 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
34034
765ade4b
AS
340352010-06-07 Andreas Schwab <schwab@redhat.com>
34036
34037 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
34038 libc_nonshared.a from targets in modules-names.
34039
80da2e09
KS
340402010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
34041
34042 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
34043 requires it.
34044
158db122
LM
340452010-06-10 Luis Machado <luisgpm@br.ibm.com>
34046
34047 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
34048 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
34049 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
34050 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
34051
caa78cf8
AS
340522010-06-02 Andreas Schwab <schwab@redhat.com>
34053
34054 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
34055
b2ef2c01
UD
340562010-06-14 Ulrich Drepper <drepper@redhat.com>
34057
34058 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
34059 and F_GETPIPE_SZ.
34060 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34061 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34062 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34063 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34064 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34065 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
34066
fbd643b6
RM
340672010-06-14 Roland McGrath <roland@redhat.com>
34068
34069 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
34070
f32f2869
JJ
340712010-06-07 Jakub Jelinek <jakub@redhat.com>
34072
34073 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
34074 __REDIRECT followed by __THROW.
34075 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
34076 * posix/getopt.h (getopt): Likewise.
34077
2a50c078
EPM
340782010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34079
34080 * hurd/lookup-at.c (__file_name_lookup_at): Accept
34081 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
34082 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
34083 in AT_FLAGS.
34084 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
34085 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
34086
eb5ad2eb
LM
340872010-05-28 Luis Machado <luisgpm@br.ibm.com>
34088
34089 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
34090
3c88fe1e
L
340912010-05-26 H.J. Lu <hongjiu.lu@intel.com>
34092
34093 [BZ #11640]
34094 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34095 Properly check family and model.
34096
d2f73151
TY
340972010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
34098
34099 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
34100
ebd2e13d
LM
341012010-05-24 Luis Machado <luisgpm@br.ibm.com>
34102
34103 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
34104
b32b8b45
UD
341052010-05-21 Ulrich Drepper <drepper@redhat.com>
34106
34107 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
34108 symbol reference.
34109
9acbe24d
AS
341102010-05-19 Andreas Schwab <schwab@redhat.com>
34111
34112 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
34113 symbol reference.
34114
f0ccf6ea
AS
341152010-05-21 Andreas Schwab <schwab@redhat.com>
34116
3d04ff3a
AS
34117 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
34118 and internal_recvmmsg.
34119 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
34120 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
34121 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
34122 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
34123
f0ccf6ea
AS
34124 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
34125 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34126 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34127
5b08ac57
AS
341282010-05-20 Andreas Schwab <schwab@redhat.com>
34129
34130 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
34131
4828935d
LM
341322010-05-17 Luis Machado <luisgpm@br.ibm.com>
34133
34134 POWER7 optimizations.
34135 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
34136 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
34137
373d545e
UD
341382010-05-19 Ulrich Drepper <drepper@redhat.com>
34139
34140 * version.h: Update for 2.13 development version.
34141
21a2b1ae
AS
341422010-05-12 Andrew Stubbs <ams@codesourcery.com>
34143
34144 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
34145 exceptions. Return 0.
34146
3f7dcb2b
RM
341472010-05-07 Roland McGrath <roland@redhat.com>
34148
34149 * elf/ldconfig.c (main): Add a const.
34150
5f24d53a 341512010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 34152
a160f8d8
UD
34153 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
34154 (args_options): Add no-idn option.
34155 (ahosts_keys_int): Add idn_flags to ai_flags.
34156 (parse_option): Handle 'i' option to clear idn_flags.
34157
5f24d53a
UD
34158 * malloc/malloc.c (_int_free): Possible race in the most recently
34159 added check. Only act on the data if no current modification
34160 happened.
265bb1ce
UD
34161
34162See ChangeLog.17 for earlier changes.