]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Extend powerpc-nofpu -fno-builtin-fabsl workaround to more files.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
6f10289e
JM
12013-10-10 Joseph Myers <joseph@codsourcery.com>
2
bd878fc0
JM
3 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
5 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
6 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
7 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
8 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
10
6f10289e
JM
11 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12 for NaNs before doing comparisons on argument.
13 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14 Likewise.
15
321e2684
WN
162013-10-10 Will Newton <will.newton@linaro.org>
17
18 * malloc/hooks.c (memalign_check): Ensure the value of bytes
19 passed to _int_memalign does not overflow.
20
40fefba1
TR
212013-10-10 Torvald Riegel <triegel@redhat.com>
22
23 * scripts/bench.pl: Add include-sources directive.
24 * benchtests/README: Update documentation.
25
2ae21ed2
JM
262013-10-10 Joseph Myers <joseph@codesourcery.com>
27
dcc2dd3f
JM
28 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
29 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
30 instead of FP_INIT_ROUNDMODE.
31 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
32 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
33
2ae21ed2
JM
34 [BZ #16034]
35 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
36 copy class of input value.
37 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
38 not handle exceptions.
39 * soft-fp/negsf2.c (__negsf2): Likewise.
40 * soft-fp/negtf2.c (__negtf2): Likewise.
41 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
42
cb8f9562
JM
432013-10-09 Joseph Myers <joseph@codesourcery.com>
44
45 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
46 semicolon. From Linux kernel.
47
5b60c59d
AB
482013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
49
50 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
51
b86835ca
YC
522013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
53
54 [BZ #156]
55 * manual/socket.texi: Added statement about buffer
56 for gethostbyname2_r.
57
e7044ea7
OB
582013-10-08 Ondřej Bílka <neleai@seznam.cz>
59
60 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
61 Use .p2align directive instead, throughout.
62 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
63 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
64 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
65 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
66 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
67 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
68 * sysdeps/x86_64/strchr.S: Likewise.
69 * sysdeps/x86_64/strrchr.S: Likewise.
70
09544cbc
SP
712013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
72
88576635
SP
73 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
74
e7b2d1dd
SP
75 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
76
09544cbc
SP
77 * sysdeps/generic/math_private.h (__mpsin1): Remove
78 declaration.
79 (__mpcos1): Likewise.
80 (__mpsin): New argument __range_reduce.
81 (__mpcos): Likewise.
82 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
83 (slow): Use __mpsin and __mpcos.
84 (slow1): Likewise.
85 (slow2): Likewise.
86 (sloww): Likewise.
87 (sloww1): Likewise.
88 (sloww2): Likewise.
89 (bsloww): Likewise.
90 (bsloww1): Likewise.
91 (bsloww2): Likewise.
92 (cslow2): Likewise.
93 (csloww): Likewise.
94 (csloww1): Likewise.
95 (csloww2): Likewise.
96 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
97 range_reduce. Merge in __mpsin1.
98 (__mpcos): Likewise.
99 (__mpsin1): Remove.
100 (__mpcos1): Likewise.
101
7602d070
JM
1022013-10-07 Joseph Myers <joseph@codesourcery.com>
103
104 * locale/loadlocale.c (_nl_intern_locale_data): Use
105 LOCFILE_ALIGNED_P.
106 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
107 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
108 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
109 obstack data is appropriately aligned.
110 (obstack_int32_grow_fast): Likewise.
111 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
112 * locale/programs/locfile.c (add_locale_uint32): Likewise.
113 (add_locale_uint32_array): Likewise.
114
a357259b
SP
1152013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
116
117 * benchtests/Makefile: Remove ARGLIST and RET variables.
118 ($(objpfx)bench-%.c): Pass only function name to the script.
119 * benchtests/README: Update documentation.
120 * benchtests/acos-inputs: Add new directives.
121 * benchtests/acosh-inputs: Likewise.
122 * benchtests/asin-inputs: Likewise.
123 * benchtests/asinh-inputs: Likewise.
124 * benchtests/atan-inputs: Likewise.
125 * benchtests/atanh-inputs: Likewise.
126 * benchtests/cos-inputs: Likewise.
127 * benchtests/cosh-inputs: Likewise.
128 * benchtests/exp-inputs: Likewise.
129 * benchtests/log-inputs: Likewise.
130 * benchtests/pow-inputs: Likewise.
131 * benchtests/rint-inputs: Likewise.
132 * benchtests/sin-inputs: Likewise.
133 * benchtests/sinh-inputs: Likewise.
134 * benchtests/tan-inputs: Likewise.
135 * benchtests/tanh-inputs: Likewise.
136 * scripts/bench.pl: Add support for new directives.
137
9ec1b13d
AM
1382013-10-07 Alan Modra <amodra@gmail.com>
139
140 * README: Fix careless merge.
141
8b7d57cd
AM
1422013-10-05 Alan Modra <amodra@gmail.com>
143
144 * NEWS: Mention powerpc64le support and bugs fixed.
145 * README: Both big-endian and little-endian powerpc64 supported.
146
7b7bab13
ST
1472013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
148
149 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
150 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
151 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
152 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
153
d39baad1
RA
1542013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
155
156 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
157 match prototype.
158
cd78f7e7
JM
1592013-10-04 Joseph Myers <joseph@codesourcery.com>
160
29d73d86
JM
161 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
162 Move -mhard-float appending from
163 ports/sysdeps/powerpc/powerpc32/Makefile.
164 [$(with-fp) = yes] (ASFLAGS): Likewise.
165 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
166 * sysdeps/powerpc/nofpu: Move directory from
167 ports/sysdeps/powerpc/nofpu.
168 * sysdeps/powerpc/soft-fp: Move directory from
169 ports/sysdeps/powerpc/soft-fp.
170 * sysdeps/powerpc/powerpc32/405: Move directory from
171 ports/sysdeps/powerpc/powerpc32/405.
172 * sysdeps/powerpc/powerpc32/440: Move directory from
173 ports/sysdeps/powerpc/powerpc32/440.
174 * sysdeps/powerpc/powerpc32/464: Move directory from
175 ports/sysdeps/powerpc/powerpc32/464.
176 * sysdeps/powerpc/powerpc32/476: Move directory from
177 ports/sysdeps/powerpc/powerpc32/476.
178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
179 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
181 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
183 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
185 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
187 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
188 * README: Update for powerpc-*-linux-gnu software floating point
189 support in libc.
190
e246b347
JM
191 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
192 case to powerpc/powerpc32*.
193 * sysdeps/unix/sysv/linux/configure: Regenerated.
194
89c2003e
JM
195 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
196 (_FPU_MASK_OM): Define as 0x04.
197 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
198 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
199 0x00c10080.
200 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
201 0x0000003c.
202 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
203
cd78f7e7
JM
204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
205 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
206 getcontext_e500.
207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
208 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
209 setcontext_e500.
210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
211 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
212 and setcontext_e500.
213
c755294d
CL
2142013-10-04 Chris Leonard <cjl@sugarlabs,.org>
215
216 * locale/iso-3166.def: Update iso-1366.def and related occurrences
217
e16d221c
SP
2182013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
219
220 * manual/threads.texi (Default Thread Attributes): Fix typo.
221
215c7d43
WN
2222013-10-04 Will Newton <will.newton@linaro.org>
223
224 * malloc/Makefile: Add tst-memalign.
225 * malloc/tst-memalign.c: New file.
226
27d0461b
WN
227 * malloc/tst-posix_memalign.c: Add comments.
228 (do_test): Add comments and call free on all potentially
229 allocated pointers. Add space after cast.
230
1bc92709
WN
231 * malloc/tst-pvalloc.c: Add comments.
232 (do_test): Add comments and call free on all potentially
233 allocated pointers. Remove duplicate check for NULL pointer.
234 Add space after cast.
235
66a9be9d
WN
236 * malloc/tst-valloc.c: Add comments.
237 (do_test): Add comments and call free on all potentially
238 allocated pointers. Remove duplicate check for NULL pointer.
239 Add space after cast.
240
4cb81307
AM
2412013-10-04 Alan Modra <amodra@gmail.com>
242
243 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
244 Use stdint types in rather than __attribute__((mode())).
245 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
246
f8e3e9f3
AM
2472013-10-04 Alan Modra <amodra@gmail.com>
248
249 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
250 Correct handling of unaligned relocs for little-endian.
251 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
252
8f9ebb08
AM
2532013-10-04 Alan Modra <amodra@gmail.com>
254
255 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
256 * configure: Regenerate.
257 * nptl/shlib-versions: Powerpc*le starts at 2.18.
258 * shlib-versions: Likewise.
259
0edf96c2
AM
2602013-10-04 Alan Modra <amodra@gmail.com>
261
262 * string/tester.c (test_memrchr): Increment reported test cycle.
263
e0f7a380
AM
2642013-10-04 Alan Modra <amodra@gmail.com>
265
266 * string/test-memcpy.c (do_one_test): When reporting errors, print
267 string address and don't overrun end of string.
268
466b0393
AM
2692013-10-04 Alan Modra <amodra@gmail.com>
270
271 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
272 insrdi. Make better use of reg selection to speed exit slightly.
273 Schedule entry path a little better. Remove useless "are we done"
274 checks on entry to main loop. Handle wrapping around zero address.
275 Correct main loop count. Handle single left-over word from main
276 loop inline rather than by using loop_small. Remove extra word
277 case in loop_small caused by wrong loop count. Add little-endian
278 support.
279 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
280 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
281 cache hint.
282 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
283 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
284 support. Avoid rlwimi.
285 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
286
3be87c77
AM
2872013-10-04 Alan Modra <amodra@gmail.com>
288
289 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 290 insrdi. Formatting.
3be87c77
AM
291 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
292 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
293 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
294 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
295 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
296 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
297
759cfef3
AM
2982013-10-04 Alan Modra <amodra@gmail.com>
299
300 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
301 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
302 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
303 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
304 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
305 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
306 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
307 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
308 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
309 use of regs. Use power7 mtocrf. Tidy function tails.
310
fe6e95d7
AM
3112013-10-04 Alan Modra <amodra@gmail.com>
312
313 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
314 Formatting. Consistently use rXXX register defines or rN defines.
315 Use early exit labels that avoid restoring unused non-volatile regs.
316 Make cr field use more consistent with rWORDn compares. Rename
317 regs used as shift registers for unaligned loop, using rN defines
318 for short lifetime/multiple use regs.
319 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
320 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
321 addi 1,1,64 to pop stack frame. Simplify return value code.
322 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
323
664318c3
AM
3242013-10-04 Alan Modra <amodra@gmail.com>
325
326 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
327 support. Correct typos, formatting. Optimize tail. Use insrdi
328 rather than rlwimi.
329 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
330 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
331 little-endian support. Correct typos.
332 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
333 rather than rlwimi.
334 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
335 in loop and entry code to keep "and." results.
336 (strchr): Add little-endian support. Comment. Move cntlzd
337 earlier in tail.
338 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
339
43b84013
AM
3402013-10-04 Alan Modra <amodra@gmail.com>
341
342 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
343 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
344 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
345 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
346
8a7413f9
AM
3472013-10-04 Alan Modra <amodra@gmail.com>
348
349 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
350 (rTMP): Define as r11.
351 (strcmp): Add little-endian support. Optimise tail.
352 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
353 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
354 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
355 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
356 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
357 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
358 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
359
33ee81de
AM
3602013-10-04 Alan Modra <amodra@gmail.com>
361
362 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
363 little-endian support. Remove unnecessary "are we done" tests.
364 Handle "s" wrapping around zero and extremely large "size".
365 Correct main loop count. Handle single left-over word from main
366 loop inline rather than by using small_loop. Correct comments.
367 Delete "zero" tail, use "end_max" instead.
368 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
369
db9b4570
AM
3702013-10-04 Alan Modra <amodra@gmail.com>
371
372 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
373 support. Don't branch over align.
374 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
375 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
376 support. Rearrange tmp reg use to suit. Comment.
377 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
378
f7c399cf
AM
3792013-10-04 Alan Modra <amodra@gmail.com>
380
381 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
382
0b2c2ace
AM
3832013-10-04 Alan Modra <amodra@gmail.com>
384
385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
386 conditional form of branch and link when obtaining pc.
387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
388
02f04a6c
AM
3892013-10-04 Alan Modra <amodra@gmail.com>
390
391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
392 HIWORD/LOWORD.
393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
395
9b874b2f
AM
3962013-10-04 Alan Modra <amodra@gmail.com>
397
398 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
399 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
400 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
401 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
402 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
403 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
404 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
405 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
406 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
407 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
408
be1e5d31
AB
4092013-10-04 Anton Blanchard <anton@au1.ibm.com>
410 Alistair Popple <alistair@ozlabs.au.ibm.com>
411 Alan Modra <amodra@gmail.com>
412
413 [BZ #15723]
414 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
415 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
416 _dl_hwcap access for little-endian.
417 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
418 destroy vmx regs when saving unaligned.
419 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
420 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
421 destroy vmx regs when saving unaligned.
422
fef13a78
AM
4232013-10-04 Alan Modra <amodra@gmail.com>
424
425 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
426 Don't use a union to pack hi/low value.
427
76a66d51
AB
4282013-10-04 Anton Blanchard <anton@au1.ibm.com>
429
430 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
431 for little-endian.
432 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
433 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
434 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
435 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
436 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
437
6a31fe7f
AM
4382013-10-04 Alan Modra <amodra@gmail.com>
439
440 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
441 constants to usual value for .cst8 section, and remove redundant
442 high address load.
443 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
444 constant for 0x1p52. Load little-endian words of double from
445 correct stack offsets.
446
7b88401f
AM
4472013-10-04 Alan Modra <amodra@gmail.com>
448
449 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
450 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
451 words of double from correct stack offsets.
452 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
453 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
454 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
455 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
456 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
457 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
458 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
459 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
460 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
461 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
462 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
463 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
464 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
465 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
466 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
467 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
468 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
469
9c008155
AM
4702013-10-04 Alan Modra <amodra@gmail.com>
471
472 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
473 64-bit int/double union.
474 (_FPU_SETCW): Likewise.
475 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
476 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
477
da13146d
AM
4782013-10-04 Alan Modra <amodra@gmail.com>
479
480 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
481 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
482
603e8410
AM
4832013-10-04 Alan Modra <amodra@gmail.com>
484
485 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
486 use vector int constants.
487 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
488
4a28b3ca
AB
4892013-10-04 Anton Blanchard <anton@au1.ibm.com>
490
491 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
492 array with long long.
493 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
494 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
495 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
496 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
497 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
498 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
499 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
500 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
501 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
502 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
503 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
504 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
505 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
506
2ca85d2b
AB
5072013-10-04 Anton Blanchard <anton@au1.ibm.com>
508
509 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
510 (__signbit): Likewise. Correct for little-endian.
511 (__signbitl): Call __signbit.
512 (lrint): Correct for little-endian.
513 (lrintf): Call lrint.
514
62a728ae
AM
5152013-10-04 Alan Modra <amodra@gmail.com>
516
517 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
518 union 32-bit int array member with 64-bit int array.
519 (t515, tm256): Double rather than long double.
520 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
521
32c301df
AM
5222013-10-04 Alan Modra <amodra@gmail.com>
523
524 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
525 Delete.
526 (IEEE854_LONG_DOUBLE_BIAS): Delete.
527 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
528 version of math_ldbl.h.
529
650ef4bd
AM
5302013-10-04 Alan Modra <amodra@gmail.com>
531
532 [BZ #15734], [BZ #15735]
533 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
534 all uses of ieee875 long double macros and unions. Simplify test
535 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
536 ldbl_extract_mantissa value for ix,iy exponents. Properly
537 normalize after ldbl_extract_mantissa, and don't add hidden bit
538 already handled. Don't treat low word of ieee854 mantissa like
539 low word of IBM long double and mask off bit when testing for
540 zero.
541 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
542 all uses of ieee875 long double macros and unions. Simplify tests
543 for 0.0L and inf. Correct double adjustment of k. Delete dead code
544 adjusting ha,hb. Simplify code setting kld. Delete two600 and
545 two1022, instead use their values. Recognise that tests for large
546 "a" and small "b" are mutually exclusive. Rename vars. Comment.
547 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
548 Rewrite all uses of ieee875 long double macros and unions. Simplify
549 test for 0.0L and nan. Correct negation.
550 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
551 ieee875 long double macros and unions. Correct output for large
552 magnitude x. Correct absolute value calculation.
553 (__erfcl): Likewise.
554 * math/libm-test.inc: Add tests for errors discovered in IBM long
555 double versions of fmodl, remainderl, erfl and erfcl.
556
765714ca
AM
5572013-10-04 Alan Modra <amodra@gmail.com>
558
559 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
560 all uses of ieee854 long double macros and unions. Simplify tests
561 for long doubles that are fully specified by the high double.
562 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
563 Likewise.
564 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
565 Remove dead code too.
566 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
567 (__ieee754_ynl): Likewise.
568 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
569 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
570 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
571 Remove dead code too.
572 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
573 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
574 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
575 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
576 Simplify.
577 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
578 Simplify.
579 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
580 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
581 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
582 Comment on variable precision.
583 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
584 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
585 Likewise.
586 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
587 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
588 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
589 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
590 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
591
4ebd120c
AM
5922013-10-04 Alan Modra <amodra@gmail.com>
593
594 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
595 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
596 all uses of ieee854 long double macros and unions.
597 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
598 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
599 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
600 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
601 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
602 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
603 Likewise.
604 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
605 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
606 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
607 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
608 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
609 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
610 Simplify sign and nan test too.
611 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
612 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
613 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
614 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
615 Likewise.
616 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
617 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
618 Likewise.
619 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
620 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
621 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
622 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
623 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
624 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
625
1b6adf88
AM
6262013-10-04 Alan Modra <amodra@gmail.com>
627
628 * stdio-common/printf_size.c (__printf_size): Don't use
629 union ieee854_long_double in fpnum union.
630 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
631 signbit macro to retrieve sign from long double.
632 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
633 retrieve sign from long double.
634 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
635 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
636 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
637 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
638 * math/test-misc.c (main): Don't use union ieee854_long_double.
639
4cf69995
AM
6402013-10-04 Alan Modra <amodra@gmail.com>
641
642 [BZ #15680]
643 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
644 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
645 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
646 calculation. Remove unnecessary test for denormal exponent.
647 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
648 Correct handling of denormals. Avoid undefined shift behaviour.
649 Correct normalisation of low mantissa when low double is denormal.
650 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
651 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
652 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
653 Correct normalisation of low mantissa. Test for overflow of high
654 mantissa and normalise.
655 (ldbl_nearbyint): Use more readable constant for two52.
656 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
657 (__mpn_construct_long_double): Fix test for overflow of high
658 mantissa and correct normalisation. Avoid undefined shift.
659
9605ca6c
AM
6602013-10-04 Alan Modra <amodra@gmail.com>
661
662 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
663 (union ibm_extended_long_double): Define as an array of ieee754_double.
664 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
665 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
666 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
667 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
668 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
669 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
670 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
671 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
672 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
673 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
674 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
675
975569d0
JM
6762013-10-03 Joseph Myers <joseph@codesourcery.com>
677
d3d23756
JM
678 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
679 page size instead of calling getpagesize.
680
975569d0
JM
681 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
682 (LOCFILE_ALIGN_MASK): Likewise.
683 (LOCFILE_ALIGN_UP): Likewise.
684 (LOCFILE_ALIGNED_P): Likewise.
685 * locale/programs/ld-collate.c (collate_output): Use the new
686 macros instead of __alignof__ (int32_t).
687 * locale/weight.h (findidx): Likewise.
688
b1fe1f2b
OB
6892013-10-03 Ondřej Bílka <neleai@seznam.cz>
690
691 [BZ #431]
692 * manual/string.texi: Fix strncat and wcsncat.
693
5f855e35
BM
6942013-10-03 Brooks Moses <bmoses@google.com>
695
696 [BZ #15915]
697 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
698 * Makerules: ...here, and adjust associated comments.
699
3cef6009
WN
7002013-10-02 Will Newton <will.newton@linaro.org>
701
702 * malloc/Makefile: Add tst-pvalloc.
703 * malloc/tst-pvalloc.c: New file.
704
7815420b
WN
7052013-10-02 Will Newton <will.newton@linaro.org>
706
707 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
708 improve test coverage.
709
4868b204
WN
7102013-10-02 Will Newton <will.newton@linaro.org>
711
712 * malloc/Makefile: Add tst-posix_memalign.
713 * malloc/tst-posix_memalign.c: New file.
714
29c793b3
EB
7152013-10-01 Eric Blake <eblake@redhat.com>
716
717 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
718 Use __THROWNL rather than __THROW on static functions.
719
fd967522
PM
7202013-09-30 Petr Machata <pmachata@redhat.com>
721
722 * elf/elf.h (R_AARCH64_ABS16): New macro.
723 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
724 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
725 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
726 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
727 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
728 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
729 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
730 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
731 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
732 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
733 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
734 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
735 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
736 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
737 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
738 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
739 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
740 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
741 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
742 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
743 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
744 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
745 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
746 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
747 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
748 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
749 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
750 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
751 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
752 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
753 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
754 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
755 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
756 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
757 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
758 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
759 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
760 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
761 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
762 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
763 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
764 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
765 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
766 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
767 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
768 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
769 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
770 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
771 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
772 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
773 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
774 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
775 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
776 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
777 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
778 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
779 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
780 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
781 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
782 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
783 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
784 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
785 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
786 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
787 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
788 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
789 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
790 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
791 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
792 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
793 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
794 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
795 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
796 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
797 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
798 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
799 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
800 (R_AARCH64_TLSDESC_LDR): Likewise.
801 (R_AARCH64_TLSDESC_ADD): Likewise.
802 (R_AARCH64_TLSDESC_CALL): Likewise.
803
b2179107
AS
8042013-09-30 Andreas Schwab <schwab@suse.de>
805
806 [BZ #15048]
807 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
808 the nss database lookup.
809 * nscd/initgrcache.c (addinitgroupsX): Likewise.
810 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
811
47f28d0a
MF
8122013-09-28 Mike Frysinger <vapier@gentoo.org>
813
814 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
815
8162013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
817
818 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
819 ${Bash-specific parameter/pattern/string} parameter expansion.
820 * sysdeps/unix/make-syscalls.sh: Likewise.
821
f4518a17
KK
8222013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
823
824 * sysdeps/sh/stackguard-macros.h: New file.
825
dc1a95c7
OB
8262013-09-26 Ondřej Bílka <neleai@seznam.cz>
827
828 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
829 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
830 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
831 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
832 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
833 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
834
5ebbff8f
AZ
8352013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
836
837 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
838 Fix thread ID register.
839
4fd2cf9f
JM
8402013-09-25 Joseph Myers <joseph@codesourcery.com>
841
842 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
843 [POSIX || UNIX98]: Require rather than permitting all symbols from
844 <time.h>.
845 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
846 element of struct sched_param.
847 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
848 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
849 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
850 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
851 constant.
852
12c22bc4
OL
8532013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
854
855 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
856 argument calculation.
857
a03d8ea7
JM
8582013-09-24 Joseph Myers <joseph@codesourcery.com>
859
860 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
861 Expect macro.
862 [POSIX] (pthread_attr_t): Do not require type.
863 [POSIX] (pthread_cond_t): Likewise.
864 [POSIX] (pthread_condattr_t): Likewise.
865 [POSIX] (pthread_key_t): Likewise.
866 [POSIX] (pthread_mutex_t): Likewise.
867 [POSIX] (pthread_mutexattr_t): Likewise.
868 [POSIX] (pthread_once_t): Likewise.
869 [POSIX] (pthread_t): Likewise.
870 [POSIX-based standards] (pthread_atfork): Expect function.
871
6055173a
JM
8722013-09-24 Joseph Myers <joseph@codesourcery.com>
873 Richard Sandiford <richard@codesourcery.com>
874
875 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
876 (swap_endianness_p): New extern variable.
877 (set_big_endian): New inline function.
878 (maybe_swap_uint32): Likewise.
879 (maybe_swap_uint32_array): Likewise.
880 (maybe_swap_uint32_obstack): Likewise.
881 * locale/programs/locfile.c: Include <stdbool.h>.
882 (swap_endianness_p): New variable.
883 (add_locale_uint32): Call maybe_swap_uint32.
884 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
885 (write_locale_data): Call maybe_swap_uint32_array.
886 * locale/programs/ld-collate.c (obstack_int32_grow): Call
887 maybe_swap_uint32.
888 (obstack_int32_grow_fast): Likewise.
889 (output_weightwc): Call maybe_swap_uint32_obstack.
890 (collate_output): Likewise.
891 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
892 (OPT_LITTLE_ENDIAN): Likewise.
893 (options): Add --little-endian and --big-endian options.
894 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
895 * locale/programs/locarchive.c: Include "locfile.h".
896 (GET): New macro.
897 (SET): Likewise.
898 (INC): Likewise.
899 (create_archive): Use the new macros to access fields of
900 structures directly mapped from or written to locale archives.
901 (oldlocrecentcmp): Likewise.
902 (enlarge_archive): Likewise.
903 (insert_name): Likewise.
904 (add_alias): Likewise.
905 (add_locale): Likewise.
906 (delete_locales_from_archive): Likewise.
907 (show_archive_content): Likewise.
908 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
909 locale data.
910
39bf0bb4
RM
9112013-09-24 Roland McGrath <roland@hack.frob.com>
912
913 * manual/freemanuals.texi: Updated from (newly) canonical copy at
914 http://www.gnu.org/doc/freemanuals.texi.
915 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
916
f02eed10
WN
9172013-09-24 Will Newton <will.newton@linaro.org>
918
919 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
920 macro.
921
a3a6c312
JM
9222013-09-23 Joseph Myers <joseph@codesourcery.com>
923
924 * locale/hashval.h (compute_hashval): Interpret bytes of key as
925 unsigned char.
926
107375ac
MR
9272013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
928
929 * manual/threads.texi (POSIX Threads): Fix a typo.
930
141f3a77
SP
9312013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
932
303e567a
SP
933 [BZ #14547]
934 * string/tst-strcoll-overflow.c: New test case.
935 * string/Makefile (xtests): Add tst-strcoll-overflow.
936 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
937 cache if string sizes may cause integer overflow.
938
141f3a77
SP
939 [BZ #14547]
940 * string/strcoll_l.c (coll_seq): New members rule, idx,
941 save_idx and back_us.
942 (get_next_seq_nocache): New function.
943 (do_compare_nocache): New function.
944 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
945 when malloc fails.
946
c61b4d41
CD
9472013-09-23 Carlos O'Donell <carlos@redhat.com>
948
0b1f8e35
CD
949 [BZ #15754]
950 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
951 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
952 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
953
c61b4d41
CD
954 [BZ #15754]
955 * elf/Makefile (tests): Add tst-ptrguard1.
956 (tests-static): Add tst-ptrguard1-static.
957 (tst-ptrguard1-ARGS): Define.
958 (tst-ptrguard1-static-ARGS): Define.
959 * elf/tst-ptrguard1.c: New file.
960 * elf/tst-ptrguard1-static.c: New file.
961 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
962 * sysdeps/i386/stackguard-macros.h: Likewise.
963 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
964 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
965 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
966 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
967 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
968 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
969
9702013-09-23 Hector Marco <hecmargi@upv.es>
971 Ismael Ripoll <iripoll@disca.upv.es>
972 Carlos O'Donell <carlos@redhat.com>
973
974 [BZ #15754]
975 * sysdeps/generic/stackguard-macros.h: Define
976 __pointer_chk_guard_local and POINTER_CHK_GUARD.
977 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
978 Define __pointer_chk_guard_local.
979 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
980 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
981
f5f4e7b4
VV
9822013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
983
984 [BZ #15859]
985 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
986
5bb43a43
AS
9872013-09-20 Andreas Schwab <schwab@linux-m68k.org>
988
989 * include/string.h (__ffs): Declare as hidden.
990 * string/ffs.c (__ffs): Define as hidden.
991 * sysdeps/i386/ffs.c (__ffs): Likewise.
992 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
993 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
994 * sysdeps/s390/ffs.c (__ffs): Likewise.
995 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
996
3ea5be54
AO
9972013-09-20 Alexandre Oliva <aoliva@redhat.com>
998
ffb89e53
AO
999 * NEWS: Mention malloc probes.
1000
322dea08
AO
1001 * malloc/arena.c (new_heap): New memory_heap_new probe.
1002 (grow_heap): New memory_heap_more probe.
1003 (shrink_heap): New memory_heap_less probe.
1004 (heap_trim): New memory_heap_free probe.
1005 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
1006 (systrim): New memory_sbrk_less probe.
1007 * manual/probes.texi: Document them.
1008
655673f3
AO
1009 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
1010 * manual/probes.texi: Document it.
1011
35fed6f1
AO
1012 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
1013 (__libc_realloc): Add memory_realloc_retry probe.
1014 (__libc_memalign): Add memory_memalign_retry probe.
1015 (__libc_valloc): Add memory_valloc_retry probe.
1016 (__libc_pvalloc): Add memory_pvalloc_retry probe.
1017 (__libc_calloc): Add memory_calloc_retry probe.
1018 * manual/probes.texi: Document them.
1019
6999d38c
AO
1020 * malloc/arena.c (get_free_list): Add probe
1021 memory_arena_reuse_free_list.
1022 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
1023 and memory_arena_reuse.
1024 (arena_get2) [!PER_THREAD]: Likewise.
1025 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
1026 memory_arena_reuse_realloc.
1027 * manual/probes.texi: Document them.
1028
0653427f
AO
1029 * malloc/malloc.c (__libc_free): Add
1030 memory_mallopt_free_dyn_thresholds probe.
1031 (__libc_mallopt): Add multiple memory_mallopt probes.
1032 * manual/probes.texi: Document them.
1033
3ea5be54
AO
1034 * malloc/malloc.c: Include stap-probe.h.
1035 (__libc_mallopt): Add memory_mallopt probe.
1036 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
1037 * manual/probes.texi: New.
1038 * manual/Makefile (chapters): Add probes.
1039 * manual/threads.texi: Set next node.
1040
e35696c3 10412013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 1042
e35696c3
CL
1043 [BZ #15963, #13985]
1044 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
1045 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
1046 Add `Chinese' to `nan' entry name.
1047
4aafb73c
SP
10482013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1049
1050 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
1051 (POLYNOMIAL): Likewise.
1052 (TAYLOR_SINCOS): Likewise.
1053 (TAYLOR_SLOW): Likewise.
1054 (__sin): Use TAYLOR_SINCOS.
1055 (__cos): Likewise.
1056 (slow): Use TAYLOR_SLOW.
1057 (sloww): Likewise.
1058 (bsloww): Likewise.
1059 (csloww): Likewise.
1060
d84f25c7
LD
10612013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1062
1063 * stdlib/strtod_l.c: Fix buffer overrun.
1064
5eea0404
SP
10652013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1066
7849ff93
SP
1067 * benchtests/Makefile (bench): Add sincos.
1068 * benchtests/bench-sincos.c: New file.
1069
cfa3c886
SP
1070 * math/libm-test.inc (cos_test_data): New test inputs.
1071 (sin_test_data): Likewise.
1072
b348e1e3
SP
1073 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
1074 macro.
1075 (__sin): Use it.
1076 (__cos): Likewise.
1077 (slow1): Likewise.
1078 (slow2): Likewise.
1079 (sloww1): Likewise.
1080 (sloww2): Likewise.
1081 (bsloww1): Likewise.
1082 (bsloww2): Likewise.
1083 (cslow2): Likewise.
1084 (csloww1): Likewise.
1085 (csloww2): Likewise.
1086
6cce25f8
SP
1087 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
1088 function.
1089 (__sin): Use it.
1090 (__cos): Likewise.
1091
5eea0404
SP
1092 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
1093 gotos.
1094 (__cos): Likewise.
1095
9c21573c
MR
10962013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
1097
1098 * config.h.in (HAVE_MIPS_NAN2008): New macro.
1099 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
1100 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
1101 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
1102 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
1103 * elf/cache.c (print_entry): Handle the new cache flags.
1104
24d22e65
JM
11052013-09-18 Joseph Myers <joseph@codesourcery.com>
1106 Aldy Hernandez <aldyh@redhat.com>
1107
1108 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
1109 Change condition to [_SOFT_FLOAT].
1110 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
1111 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
1112 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
1113 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
1114 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
1115 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
1116 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
1117 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
1118 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
1119 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
1120 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
1121 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
1122 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
1123 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
1124 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
1125 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
1126 declaration.
1127
d13ef066
JM
11282013-09-18 Joseph Myers <joseph@codesourcery.com>
1129
2e071de0
JM
1130 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
1131 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1132 (__longjmp): Use LOAD_GP to load saved GPRs.
1133 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
1134 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1135 (__sigsetjmp): Use SAVE_GP to save GPRs.
1136
d13ef066
JM
1137 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
1138 Do not append -msoft-float.
1139 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
1140
97a0650b
SP
11412013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1142
1143 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
1144
11ca09e9
JM
11452013-09-17 Joseph Myers <joseph@codesourcery.com>
1146
1147 [BZ #15966]
1148 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
1149 (_FPU_GETCW): Use initial "__" on variable and field names but not
1150 on macro parameter name.
1151 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
1152 parentheses around reference to macro parameter.
1153
08ffcf34
RS
11542013-09-13 Richard Sandiford <richard@codesourcery.com>
1155
1156 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
1157 prototype.
1158 (ctype_startup): Use uint32_t in cast and sizeof for
1159 ctype->charnames.
1160
ae7080d3
JL
11612013-09-11 Jia Liu <proljc@gmail.com>
1162
1163 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
1164 __daddr_t_defined.
1165 [__FreeBSD__]: Likewise.
1166
5905e7b3
OB
11672013-09-11 Ondřej Bílka <neleai@seznam.cz>
1168
1169 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1170 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
1171 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
1172 (strchr): Remove __strchr_sse42 ifunc selection.
1173 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
1174 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
1175
b987c776
WN
11762013-09-11 Will Newton <will.newton@linaro.org>
1177
1178 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
1179 parameter to RES. Remove hardcoded 1000 value.
1180 * benchtests/bench-skeleton.c (main): Pass RES parameter
1181 to TIMING_INIT and multiply result by 1000.
1182
ddf985af
AZ
11832013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1184
1185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1186
ffdd3181
AS
11872013-09-11 Andreas Schwab <schwab@suse.de>
1188
1189 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1190 if not defined.
1191 (O_TMPFILE) [__USE_GNU]: Define.
1192 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
1193 Define.
1194
b73ed247
WN
11952013-09-11 Will Newton <will.newton@linaro.org>
1196
1197 [BZ #15857]
1198 * malloc/malloc.c (__libc_memalign): Check the value of bytes
1199 does not overflow.
1200
55e17aad
WN
12012013-09-11 Will Newton <will.newton@linaro.org>
1202
1203 [BZ #15856]
1204 * malloc/malloc.c (__libc_valloc): Check the value of bytes
1205 does not overflow.
1206
1159a193
WN
12072013-09-11 Will Newton <will.newton@linaro.org>
1208
1209 [BZ #15855]
1210 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
1211 does not overflow.
1212
5905e7b3 12132013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
1214
1215 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
1216 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1217 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1218 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1219 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1220
cdfc721b
AM
12212013-09-10 Allan McRae <allan@archlinux.org>
1222
aa04af00
AM
1223 [BZ #15748]
1224 * manual/arith.texi (Parsing of Floats): Clarify
1225 cross-reference.
1226
cdfc721b
AM
1227 [BZ #15849]
1228 * manual/install.texi (Running make install): Mention
1229 --enable-pt-chown.
1230 * INSTALL: Regenerated.
1231
95e7cf29
MR
12322013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1233
1234 * csu/init-first.c (_init): Remove the !SHARED condition around
1235 FPU control word initialization.
1236 * elf/dl-support.c (_dl_fpu_control): New variable.
1237 (_dl_aux_init) <AT_FPUCW>: Initialize it.
1238 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
1239 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
1240 * math/test-fpucw-static.c: New file.
1241 * math/test-fpucw-ieee.c: New file.
1242 * math/test-fpucw-ieee-static.c: New file.
1243 * math/Makefile (tests): Add `test-fpucw-ieee' and
1244 `$(tests-static)'.
1245 (tests-static): New variable.
1246 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
1247 dependency to...
1248 [($(build-shared),yes)]
1249 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1250 ... this.
1251 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
1252 New dependency.
1253
83e43bf0
AM
12542013-09-09 Allan McRae <allan@archlinux.org>
1255
a9f5ce09
AM
1256 [BZ #15939]
1257 * manual/string.texi (Collation Functions): Fix typo in
1258 strcoll example.
1259 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
1260
34829bc2
AM
1261 [BZ #15893]
1262 * stdlib/isomac.c (get_null_defines): Fix memory leak.
1263
3932737d
AM
1264 [BZ #15892]
1265 * libio/memstream.c (open_memstream): Fix memory leak.
1266 * libio/wmemstream.c (open_wmemstream): Likewise.
1267
83e43bf0
AM
1268 [BZ #15895]
1269 * nscd/netgroupcache.c: Fix nesting of ifdefs.
1270
0c66b8e9
WN
12712013-09-09 Will Newton <will.newton@linaro.org>
1272
1273 * malloc/Makefile: Add tst-realloc to tests.
1274 * malloc/tst-realloc.c: New file.
1275
f6b00fd1
AM
12762013-09-09 Allan McRae <allan@archlinux.org>
1277
1278 [BZ #15844]
1279 * COPYING: Update from GNU website to fix FSF address.
1280 * COPYING.LIB: Likewise.
1281
eec55e16
DM
12822013-09-06 David S. Miller <davem@davemloft.net>
1283
1284 * po/zh_TW.po: Update Chinese (traditional) translation from
1285 translation project.
1286
1ecbb381
RS
12872013-09-06 Richard Sandiford <richard@codesourcery.com>
1288 Joseph Myers <joseph@codesourcery.com>
1289
1290 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
1291 "localeinfo.h".
1292 (obstack_chunk_alloc): New macro.
1293 (obstack_chunk_free): Likewise.
1294 (record_offset): New function.
1295 (init_locale_data): Likewise.
1296 (align_locale_data): Likewise.
1297 (add_locale_empty): Likewise.
1298 (add_locale_raw_data): Likewise.
1299 (add_locale_raw_obstack): Likewise.
1300 (add_locale_string): Likewise.
1301 (add_locale_wstring): Likewise.
1302 (add_locale_uint32): Likewise.
1303 (add_locale_uint32_array): Likewise.
1304 (add_locale_char): Likewise.
1305 (start_locale_structure): Likewise.
1306 (end_locale_structure): Likewise.
1307 (start_locale_prelude): Likewise.
1308 (end_locale_prelude): Likewise.
1309 (write_locale_data): Take locale_file structure rather than an
1310 iovec.
1311 * locale/programs/locfile.h: Include "obstack.h".
1312 (struct locale_file): Change to store locale file contents instead
1313 of header.
1314 (init_locale_data): New prototype.
1315 (align_locale_data): Likewise.
1316 (add_locale_empty): Likewise.
1317 (add_locale_raw_data): Likewise.
1318 (add_locale_raw_obstack): Likewise.
1319 (add_locale_string): Likewise.
1320 (add_locale_wstring): Likewise.
1321 (add_locale_uint32): Likewise.
1322 (add_locale_uint32_array): Likewise.
1323 (add_locale_char): Likewise.
1324 (start_locale_structure): Likewise.
1325 (end_locale_structure): Likewise.
1326 (start_locale_prelude): Likewise.
1327 (end_locale_prelude): Likewise.
1328 (write_locale_data): Update prototype.
1329 * locale/programs/3level.h (struct TABLE): Remove result field.
1330 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
1331 Use new locale_file interface.
1332 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
1333 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
1334 * locale/programs/ld-address.c (address_output): Use new
1335 locale_file interface.
1336 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
1337 NO_ADD_LOCALE.
1338 (collate_finish): Don't call collseq_table_finalize.
1339 (collate_output): Use new locale_file interface.
1340 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
1341 in file.
1342 (NO_FINALIZE): Change to NO_ADD_LOCALE.
1343 (TABLE): Move defines earlier in file.
1344 (ELEMENT): Likewise.
1345 (DEFAULT): Likewise.
1346 (wctrans_table_add): Move macro and inline function earlier in
1347 file.
1348 (struct wctype_table): Move type earlier in file.
1349 (add_locale_wctype_table): New static prototype.
1350 (struct locale_ctype_t): Use logical types instead of struct iovec
1351 pointers for members.
1352 (ctype_output): Use new locale_file interface.
1353 (wctype_table_finalize): Change to add_locale_wctype_table. Use
1354 new locale_file interface.
1355 (allocate_arrays): Update for use of new locale_file interface.
1356 * locale/programs/ld-identification.c (identification_output): Use
1357 new locale_file interface.
1358 * locale/programs/ld-measurement.c (measurement_output): Likewise.
1359 * locale/programs/ld-messages.c (messages_output): Likewise.
1360 * locale/programs/ld-monetary.c (monetary_output): Likewise.
1361 * locale/programs/ld-name.c (name_output): Likewise.
1362 * locale/programs/ld-numeric.c (numeric_output): Likewise.
1363 * locale/programs/ld-paper.c (paper_output): Likewise.
1364 * locale/programs/ld-telephone.c (telephone_output): Likewise.
1365 * locale/programs/ld-time.c (time_output): Likewise.
1366
e029e2e5
AZ
13672013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1368
1369 * benchtests/Makefile: Add memrchr benchmark.
1370 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
1371 benchmark as memrchr.
1372 * benchtests/bench-memrchr-ifunc.c: New file.
1373 * benchtests/bench-memrchr.c: New file.
1374
bbf6e8e4
WN
13752013-09-06 Will Newton <will.newton@linaro.org>
1376
1377 * benchtests/Makefile (string-bench): Add memcpy.
1378
6c82a2f8
CD
13792013-09-05 Carlos O'Donell <carlos@redhat.com>
1380 Cong Wang <amwang@redhat.com>
1381
1382 * sysdeps/unix/sysv/linux/bits/in.h
1383 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
1384 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
1385 before __USE_KERNEL_IPV6_DEFS uses.
1386 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
1387 IPPROTO_BEETPH.
1388 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
1389 sockaddr_in6, or ipv6_mreq.
1390
5430fc65
AZ
13912013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1392
1393 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
1394 memory access for final bytes in some large inputs.
1395 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
1396
4660856c
AZ
13972013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1398
1399 * string/test-memrchr.c: New file.
1400 * string/test-memrchr-ifunc.c: New file.
1401 * string/Makefile: Add new memrchr testcase.
1402
bb8ea713
MF
14032013-09-05 Mike Frysinger <vapier@gentoo.org>
1404
1405 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
1406 fanotify_init returns EPERM.
1407
b92a20b5
JM
14082013-09-04 Joseph Myers <joseph@codesourcery.com>
1409
1410 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
1411 errors.
1412 (top level): Treat second token from macro or constant entries for
1413 allowed headers as allowed.
1414 * include/complex.h: Condition internal declarations on
1415 [!_ISOMAC].
1416 * include/fenv.h: Condition include of <stdbool.h> and internal
1417 declarations on [!_ISOMAC].
7447ccd9
CL
1418
14192013-09-04 Chris Leonard <cjl@sugarlabs,.org>
1420
3e181dda 1421 [BZ #15923]
7447ccd9
CL
1422 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
1423
3f2e46a4
JM
14242013-09-04 Joseph Myers <joseph@codesourcery.com>
1425
1426 * configure.in (--enable-versioning): Remove configure option.
1427 (libc_cv_asm_symver_directive): Remove configure test.
1428 (libc_cv_ld_version_script_option): Likewise.
1429 (VERSIONING): Remove variable and AC_SUBST.
1430 (DO_VERSIONING): Remove AC_DEFINE.
1431 * configure: Regenerated.
1432 * config.h.in (DO_VERSIONING): Remove macro.
1433 * Makerules [$(versioning) = yes]: Change conditionals to
1434 [$(build-shared) = yes].
1435 * config.make.in (versioning): Remove variable.
1436 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
1437 [$(build-shared) = yes].
1438 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
1439 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
1440 * elf/Makefile [$(versioning) = yes]: Change conditionals to
1441 [$(build-shared) = yes].
1442 * extra-lib.mk [$(versioning) = yes]: Likewise.
1443 * hurd/Makefile [$(versioning) = yes]: Likewise.
1444 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
1445 [SHARED].
1446 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
1447 [SHARED].
1448 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1449 [SHARED && !NO_HIDDEN].
1450 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
1451 [SHARED].
1452 [SHARED && DO_VERSIONING]: Likewise..
1453 * libio/Makefile [$(versioning) = yes]: Change conditionals to
1454 [$(build-shared) = yes].
1455 * manual/install.texi (--disable-versioning): Remove
1456 documentation.
1457 * INSTALL: Regenerated.
1458 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
1459 to [SHARED].
1460 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
1461 [$(build-shared) = yes].
1462 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
1463 * sysdeps/i386/i686/multiarch/strstr-c.c
1464 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1465 [SHARED && !NO_HIDDEN].
1466 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
1467 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
1468 * sysdeps/powerpc/powerpc32/dl-machine.c
1469 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
1470 * sysdeps/powerpc/powerpc32/sysdep.h
1471 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
1472 to [SHARED && PIC && !NO_HIDDEN].
1473 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
1474 conditional to [SHARED].
1475
44558701
WN
14762013-09-04 Will Newton <will.newton@linaro.org>
1477
1478 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
1479 * benchtests/bench-string.h: Include bench-timing.h instead
1480 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
1481 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
1482 call to HP_TIMING_DIFF_INIT.
1483 * benchtests/bench-memccpy.c: Use bench-timing.h macros
1484 instead of hp-timing.h macros.
1485 * benchtests/bench-memchr.c: Likewise.
1486 * benchtests/bench-memcmp.c: Likewise.
1487 * benchtests/bench-memcpy.c: Likewise.
1488 * benchtests/bench-memmem.c: Likewise.
1489 * benchtests/bench-memmove.c: Likewise.
1490 * benchtests/bench-memset.c: Likewise.
1491 * benchtests/bench-rawmemchr.c: Likewise.
1492 * benchtests/bench-strcasecmp.c: Likewise.
1493 * benchtests/bench-strcasestr.c: Likewise.
1494 * benchtests/bench-strcat.c: Likewise.
1495 * benchtests/bench-strchr.c: Likewise.
1496 * benchtests/bench-strcmp.c: Likewise.
1497 * benchtests/bench-strcpy.c: Likewise.
1498 * benchtests/bench-strcpy_chk.c: Likewise.
1499 * benchtests/bench-strlen.c: Likewise.
1500 * benchtests/bench-strncasecmp.c: Likewise.
1501 * benchtests/bench-strncat.c: Likewise.
1502 * benchtests/bench-strncmp.c: Likewise.
1503 * benchtests/bench-strncpy.c: Likewise.
1504 * benchtests/bench-strnlen.c: Likewise.
1505 * benchtests/bench-strpbrk.c: Likewise.
1506 * benchtests/bench-strrchr.c: Likewise.
1507 * benchtests/bench-strspn.c: Likewise.
1508 * benchtests/bench-strstr.c: Likewise.
1509
cae16d66
WN
15102013-09-04 Will Newton <will.newton@linaro.org>
1511
1512 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
1513
ffa3cd7f
JM
15142013-09-03 Joseph Myers <joseph@codesourcery.com>
1515
1516 [BZ #15427]
1517 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1518 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
1519 * math/libm-test.inc (lgamma_test_data): Add more tests.
1520 * sysdeps/i386/fpu/libm-test-ulps: Update.
1521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1522
8f02859f
OB
15232013-09-03 Ondřej Bílka <neleai@seznam.cz>
1524
1525 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
1526 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1527 Add ifunc.
1528 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1529 Add strcmp-sse2-unaligned
1530 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
1531
18d43716
MF
15322013-09-02 Mike Frysinger <vapier@gentoo.org>
1533
1534 * Versions.def (libc): Add GLIBC_2.19.
1535
ac444012
MF
15362013-09-02 Mike Frysinger <vapier@gentoo.org>
1537
1538 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
1539 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
1540
b7835e32
JM
15412013-09-02 Joseph Myers <joseph@codesourcery.com>
1542
1543 [BZ #14155]
1544 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
1545 intermediate calculations in recurrence.
1546 (__ieee754_ynf): Likewise.
1547 * math/libm-test.inc (jn_test_data): Do not allow spurious
1548 underflow exception. Add more tests.
1549 (yn_test_data): Add more tests.
1550 * sysdeps/i386/fpu/libm-test-ulps: Update.
1551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1552
8220f4f0
OB
15532013-09-02 Ondřej Bílka <neleai@seznam.cz>
1554
1555 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
1556
f24a6d08
OB
15572013-08-30 Ondřej Bílka <neleai@seznam.cz>
1558
1559 * csu/init-first.c: Fix then/than typos.
1560 * locale/programs/ld-collate.c: Likewise.
1561 * locale/programs/linereader.h: Likewise.
1562 * manual/charset.texi: Likewise.
1563 * manual/filesys.texi: Likewise.
1564 * manual/stdio.texi: Likewise.
1565 * manual/string.texi: Likewise.
1566 * stdlib/fmtmsg.c: Likewise.
1567 * sysdeps/i386/stpncpy.S: Likewise.
1568 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1569 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1570 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1571 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1572
382466e0
OB
15732013-08-30 Ondřej Bílka <neleai@seznam.cz>
1574
1575 * elf/dl-open.c: Fix typos.
1576 * iconvdata/gbbig5.c: Likewise.
1577 * iconvdata/iso-2022-jp.c: Likewise.
1578 * iconv/gconv_int.h: Likewise.
1579 * iconv/loop.c: Likewise.
1580 * nis/rpcsvc/nis.h: Likewise.
1581 * resolv/ns_name.c: Likewise.
1582 * stdio-common/vfscanf.c: Likewise.
1583 * streams/stropts.h: Likewise.
1584 * sunrpc/rpc_thread.c: Likewise.
1585 * sysdeps/i386/strpbrk.S: Likewise.
1586 * sysdeps/ieee754/k_standard.c: Likewise.
1587 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1588 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1589 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1590 * sysdeps/mach/hurd/profil.c: Likewise.
1591 * sysdeps/s390/dl-procinfo.h: Likewise.
1592 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1593 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1594 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
1595 * sysdeps/x86_64/dl-trampoline.S: Likewise.
1596 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1597
0186c6e9
OB
15982013-08-30 Ondřej Bílka <neleai@seznam.cz>
1599
1600 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
1601 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
1602
d4e16af1
OB
16032013-08-29 Ondřej Bílka <neleai@seznam.cz>
1604
1605 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
1606 aix specific files.
1607 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
1608 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
1609 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
1610 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
1611 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
1612 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
1613 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
1614 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
1615
88335980
TS
16162013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1617 Roland McGrath <roland@hack.frob.com>
1618
1619 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
1620 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1621
ed479b02
ST
16222013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
1623
1624 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
1625 __executable_start symbol instead of _start.
1626
f1cc4c86
TS
16272013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1628
d821f07c
TS
1629 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
1630 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
1631 Move macros to...
1632 * sysdeps/gnu/ldsodefs.h: ... this new file.
1633
c54290cf
TS
1634 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
1635 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
1636 instead of ELFOSABI_LINUX.
1637
0007fc9b 1638 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
1639 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
1640 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
1641 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
1642 Likewise.
1643 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
1644 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
1645 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
1646 Likewise.
1647 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1648 (ibm_extended_long_double): Add ieee_nan member.
1649 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
1650 (do_test): New function.
1651
f1cc4c86
TS
1652 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
1653 TEST_TRUNC.
1654 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
1655 functions, renamed from truncdfsf_test, trunctfsf_test,
1656 trunctfdf_test.
1657 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
1658 functions.
1659 (do_test): Run all these.
1660
6f65e668
OB
16612013-08-29 Ondřej Bílka <neleai@seznam.cz>
1662
1663 * argp/argp-help.c: Fix typos.
1664 * argp/argp-parse.c: Likewise.
1665 * debug/backtracesyms.c: Likewise.
1666 * elf/elf.h: Likewise.
1667 * malloc/malloc.c: Likewise.
1668 * nis/nis_print.c: Likewise.
1669 * resolv/res_comp.c: Likewise.
1670 * stdlib/stdlib.h: Likewise.
1671 * sunrpc/clnt_tcp.c: Likewise.
1672 * sunrpc/clnt_udp.c: Likewise.
1673 * sunrpc/clnt_unix.c: Likewise.
1674 * sysdeps/unix/bsd/ptsname.c: Likewise.
1675 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1676 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
1677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
1678 Likewise.
1679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1680 Likewise.
1681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1682 Likewise.
6f65e668
OB
1683 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1684
3a309239
SP
16852013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1686
1687 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
1688 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1689
3b813b29
MF
16902013-08-27 Mike Frysinger <vapier@gentoo.org>
1691
1692 [BZ #15897]
1693 * dlfcn/Makefile (tests): Add bug-dl-leaf.
1694 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
1695 ($(objpfx)bug-dl-leaf): New rule.
1696 ($(objpfx)bug-dl-leaf.so): Likewise.
1697 ($(objpfx)bug-dl-leaf.out): Likewise.
1698 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
1699 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
1700 * dlfcn/bug-dl-leaf.c: New test.
1701 * dlfcn/bug-dl-leaf-lib.c: Likewise.
1702 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
1703 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
1704 (dlclose): Likewise.
1705 (dlmopen): Likewise.
1706
8cc3269f
RM
17072013-08-27 Roland McGrath <roland@hack.frob.com>
1708
7f9d0034
RM
1709 * include/netdb.h [!_ISOMAC]:
1710 Don't include <tls.h>.
1711 (h_errno, __libc_h_errno): Move declaration and macros out of
1712 [_LIBC_REENTRANT].
1713
fb431262
RM
1714 * include/resolv.h [_RESOLV_H_]:
1715 Don't include <tls.h>.
1716 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
1717 * resolv/res_libc.c: Don't include <tls.h>.
1718 (_res): Use __attribute__ ((nocommon)) in place of
1719 __attribute__ ((section (".bss"))).
1720
bd81123a
RM
1721 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
1722 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
1723
c4e42566
RM
1724 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
1725
f890a59b
RM
1726 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
1727 only under [SIOCGIFCONF && SIOCGIFNETMASK].
1728
1729 * resolv/res_mkquery.c: Include <sys/time.h>.
1730
5d1f0a09
RM
1731 * inet/ifreq.c: Moved to ...
1732 * sysdeps/unix/ifreq.c: ... here.
1733 * inet/ifreq.c: New file, true stub version.
1734
6fcf28b3
RM
1735 * socket/sa_len.c: New file.
1736 * socket/Makefile (aux): Add it.
1737 * sysdeps/unix/sysv/linux/Makefile
1738 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
1739 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
1740 and #include <socket/sa_len.c>.
1741 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
1742 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
1743
e041fb8b
RM
1744 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
1745 * bits/socket.h: ... here.
1746
8cc3269f
RM
1747 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
1748 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
1749 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
1750
5d228a43
AS
17512013-08-27 Andreas Schwab <schwab@suse.de>
1752
45b8accc
AS
1753 [BZ #15736]
1754 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
1755 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
1756 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
1757 * string/test-strcasecmp.c (test_main): Run tests in several
1758 locales.
1759 * string/test-strncasecmp.c (test_main): Likewise.
1760
5d228a43
AS
1761 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
1762 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
1763 to __strcasecmp_nonascii and __strncasecmp_nonascii.
1764 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
1765 (__strncasecmp_ssse3) [PIC]: Likewise.
1766
59d112a4
RM
17672013-08-26 Roland McGrath <roland@hack.frob.com>
1768
53234cc3
RM
1769 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
1770
59d112a4
RM
1771 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
1772 instead of explicitly declaring xdecrypt.
1773 * nis/nss_nis/nis-publickey.c: Likewise.
1774
595aba70
SP
17752013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1776
1777 [BZ #15890]
1778 * nscd/aicache.c: Include res_hconf.h.
1779 (addhstaiX): Initialize res_hconf.
1780
ffabd393
AS
17812013-08-26 Andreas Schwab <schwab@suse.de>
1782
1783 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
1784 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
1785
e0a69f5c
SP
17862013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1787
1788 * nscd/aicache.c (addhstaiX): Fix indentation.
1789
8c12f01d
MF
17902013-08-25 Mike Frysinger <vapier@gentoo.org>
1791
1792 * configure.ac: Quote $build_pt_chown test.
1793 * configure: Regenerated.
1794
8fe89494
JM
17952013-08-23 Joseph Myers <joseph@codesourcery.com>
1796
1797 [BZ #15532]
1798 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
1799 * math/s_cexpf.c (__cexpf): Likewise.
1800 * math/s_cexpl.c (__cexpl): Likewise.
1801 * math/libm-test.inc (cexp_test_data): Correct expected return
1802 value for NaN + i0. Add another test.
1803
75b181d6
DM
18042013-08-22 David S. Miller <davem@davemloft.net>
1805
1806 * po/ca.po: Update Catalan translation from translation project.
936241e4 1807 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 1808
acd06bb1
JM
18092013-08-21 Joseph Myers <joseph@codesourcery.com>
1810
1811 [BZ #15797]
1812 * math/s_fdim.c (__fdim): Check for infinite arguments if result
1813 is infinite, not alongside NaN test.
1814 * math/s_fdimf.c (__fdimf): Likewise.
1815 * math/s_fdiml.c (__fdiml): Likewise.
1816 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
1817 errno is unchanged.
1818
c0c3f78a
OB
18192013-08-21 Ondřej Bílka <neleai@seznam.cz>
1820
1821 * argp/argp-help.c: Fix typos.
1822 * crypt/speeds.c: Likewise.
1823 * csu/check_fds.c: Likewise.
1824 * elf/dl-load.c: Likewise.
1825 * elf/dl-open.c: Likewise.
1826 * elf/reldep3.c: Likewise.
1827 * elf/reldep.c: Likewise.
1828 * elf/sprof.c: Likewise.
1829 * iconv/iconv_charmap.c: Likewise.
1830 * iconv/skeleton.c: Likewise.
1831 * iconv/strtab.c: Likewise.
1832 * io/lockf64.c: Likewise.
1833 * libio/libioP.h: Likewise.
1834 * resolv/gai_notify.c: Likewise.
1835 * resolv/ns_name.c: Likewise.
1836 * resolv/ns_samedomain.c: Likewise.
1837 * resolv/res_send.c: Likewise.
1838 * stdlib/random.c: Likewise.
1839 * sunrpc/rpc/xdr.h: Likewise.
1840 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1841 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1842 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1843 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1844 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1845 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1846 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1847 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1848 * sysdeps/mach/hurd/check_fds.c: Likewise.
1849 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1850 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1851 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1852 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1853 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1854 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1855 * sysdeps/pthread/aio_notify.c: Likewise.
1856 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1857 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
1858 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
1859 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1860 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1861
46ed1038
LD
18622013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1863
1864 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
1865 version if bit_Slow_SSE4_2 is set.
1866 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1867 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1868
d400dcac
AZ
18692013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1870
1871 [BZ #15867]
1872 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
1873 trampoline stack frame information.
1874 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
1875 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
1876 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
1877 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
1878 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
1879 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1880 (_libc_vdso_platform_setup): Initialize the signal trampolines.
1881 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
1882 sa_flags value.
1883 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
1884 interrupting a syscall and set with option SA_SIGINFO.
1885
42c8fdd8
JM
18862013-08-20 Joseph Myers <joseph@codesourcery.com>
1887
c980f2f4
JM
1888 [BZ #15531]
1889 * math/s_cproj.c (__cproj): Only return an infinity if one part of
1890 argument is infinite.
1891 * math/s_cprojf.c (__cprojf): Likewise.
1892 * math/s_cprojl.c (__cprojl): Likewise.
1893 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
1894 * math/libm-test.inc (cproj_test_data): Add more tests.
1895
0716c4fc
JM
1896 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
1897
42c8fdd8
JM
1898 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
1899 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
1900 size. Use __ffs to determine corresponding shift.
1901
b31469d0
JM
19022013-08-20 Joseph Myers <joseph@codesourcery.com>
1903 Roland McGrath <roland@hack.frob.com>
1904
1905 * Makefile (INSTALL): Remove trailing blank lines from output of
1906 makeinfo.
1907
4e39af6e
AK
19082013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1909
1910 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
1911 Align 32 bit compat elf_greg to 8 bytes.
1912
f315524e
AA
19132013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1914
1915 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
1916
1326ba1a
SP
19172013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1918
1919 * string/strcoll_l.c (coll_seq): New structure.
1920 (get_next_seq_cached): New function.
1921 (get_next_seq): New function.
1922 (do_compare): New function.
1923 (STRCOLL): Use GNU style definition. Simplify implementation
1924 by using get_next_seq, get_next_seq_cached and do_compare.
1925
91ce4085
FW
19262013-08-16 Florian Weimer <fweimer@redhat.com>
1927
1928 [BZ #14699]
1929 CVE-2013-4237
1930 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
1931 member.
1932 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
1933 member.
1934 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
1935 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
1936 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
1937 conditional.
1938 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
1939 GETDENTS_64BIT_ALIGNED.
1940 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1941 * manual/filesys.texi (Reading/Closing Directory): Document
1942 ENAMETOOLONG return value of readdir_r. Recommend readdir more
1943 strongly.
1944 * manual/conf.texi (Limits for Files): Add portability note to
1945 NAME_MAX, PATH_MAX.
1946 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
1947
ca0a6bc4
AS
19482013-08-13 Andreas Schwab <schwab@suse.de>
1949
1950 [BZ #15749]
1951 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
1952 of fabs.
1953 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
1954 LDBL_MAX_EXP >= 16384]: Add tests for it.
1955
6c1fd795
DM
19562013-08-12 David S. Miller <davem@davemloft.net>
1957
1958 * version.h (RELEASE): Set to "development".
1959 (VERSION): Set to "2.18.90".
1960 * NEWS: Add 2.19 section.
1961
31ad488d
DM
19622013-08-03 David S. Miller <davem@davemloft.net>
1963
1964 * po/ko.po: Update Korean translation from translation project.
1965
db24e684
DM
19662013-08-01 David S. Miller <davem@davemloft.net>
1967
1968 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
1969 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
1970 Bilka.
1971
f723285b
DM
19722013-07-30 David S. Miller <davem@davemloft.net>
1973
1974 * po/fr.po: Update French translation from translation project.
1975
3cbc52db
DM
19762013-07-28 David S. Miller <davem@davemloft.net>
1977
30bbc0cc
DM
1978 * po/cs.po: Update Czech translation from translation project.
1979
3cbc52db
DM
1980 * po/sv.po: Update Swedish translation from translation project.
1981
d492e6d0
DM
19822013-07-27 David S. Miller <davem@davemloft.net>
1983
f1a7f492
DM
1984 * po/eo.po: Update Esperanto translation from translation project.
1985
90e62a4a
DM
1986 * po/vi.po: Update Vietnamese translation from translation project.
1987
d492e6d0
DM
1988 * po/de.po: Update German translation from translation project.
1989
d4baa62d
DM
19902013-07-26 David S. Miller <davem@davemloft.net>
1991
641aa7b4
DM
1992 * po/bg.po: Update Bulgarian translation from translation project.
1993
d4baa62d
DM
1994 * po/nl.po: Update Dutch translation from translation project.
1995 * po/pl.po: Update Polish translation from translation project.
1996 * po/ru.po: Update Russian translation from translation project.
1997
61a9dcb9
DM
19982013-07-24 David S. Miller <davem@davemloft.net>
1999
2000 * po/libc.pot: Update.
2001
7b1f8b58
AZ
20022013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2003
2004 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
2005 variable page size.
2006 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
2007 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
2008 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
2009
a8fc7a03
AK
20102013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2011
2012 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
2013
e4608715
CD
20142013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2015 Andreas Schwab <schwab@suse.de>
2016 Roland McGrath <roland@hack.frob.com>
2017 Joseph Myers <joseph@codesourcery.com>
2018 Carlos O'Donell <carlos@redhat.com>
2019
2020 [BZ #15755]
2021 * config.h.in: Define HAVE_PT_CHOWN.
2022 * config.make.in (build-pt-chown): New variable.
2023 * configure.in (--enable-pt_chown): New configure option.
2024 * configure: Regenerate.
2025 * login/Makefile: Include Makeconfig. Build pt_chown only if
2026 build-pt-chown is enabled.
2027 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
2028 pt_chown to fix pty ownership.
2029 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
2030 CLOSE_ALL_FDS.
2031 * manual/install.texi (Configuring and compiling): Mention
2032 --enable-pt_chown. Add @findex for grantpt.
2033 * INSTALL: Regenerate.
2034
da2d62df
DM
20352013-07-20 David S. Miller <davem@davemloft.net>
2036
2037 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
2038 difference between 32-bit and 64-bit.
2039
d7e06450
CD
20402013-07-15 Carlos O'Donell <carlos@redhat.com>
2041
2042 [BZ #15711]
2043 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
2044 Avoid system header dependency with -ffreestanding.
2045 ($(objpfx)bits/syscall%d): Likewise.
2046
f959cfd7
DM
20472013-07-13 David S. Miller <davem@davemloft.net>
2048
2049 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
2050 underflows from atanl/atan2l due to bug 15319.
2051 (casinh_test_data): Likewise.
2052
c61f8513
DM
20532013-07-07 David S. Miller <davem@davemloft.net>
2054
2055 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2056
72c90ed0
JA
20572013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
2058
2059 * sysdeps/i386/fpu/libm-test-ulps: Update.
2060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2061
52dfbe13
SP
20622013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2063
2064 * configure.in (--enable-lock-elision): Fix message text.
2065 * INSTALL: Regenerate.
2066 * configure: Regenerate.
2067
3f169543
AZ
20682013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2069
2070 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2071
521c6785
AJ
20722013-07-03 Andreas Jaeger <aj@suse.de>
2073
2074 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
2075 define.
2076 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
2077 (ptrace_peeksiginfo_args): Add.
2078 (__ptrace_peeksiginfo_flags): Add.
2079 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2080 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2081 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2082
d2cc15cb
AM
20832013-07-03 Allan McRae <allan@archlinux.org>
2084
2085 * sysdeps/i386/fpu/libm-test-ulps: Update.
2086
3aaeeca7
DM
20872013-07-02 David S. Miller <davem@davemloft.net>
2088
2089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2090
5314ed1a
MT
20912013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
2092
2093 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2094
67338156
JM
20952013-07-02 Joseph Myers <joseph@codesourcery.com>
2096
2097 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2099
1717da59
AK
21002013-07-02 Andi Kleen <ak@linux.intel.com>
2101
2102 * config.h.in (ENABLE_LOCK_ELISION): Add.
2103 * configure.in (--enable-lock-elision): Add option.
2104 * manual/install.texi: Document --enable lock elision.
2105 * configure: Regenerate
2106 * INSTALL: Regenerate.
2107
1c81621c
L
21082013-07-02 H.J. Lu <hongjiu.lu@intel.com>
2109
2110 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
2111 SSE4.2 strcasecmp for libc.a.
2112 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2113
77f01ab5
JM
21142013-07-02 Joseph Myers <joseph@codesourcery.com>
2115
2116 [BZ #13304]
2117 * soft-fp/op-common.h (_FP_FMA): New macro.
2118 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
2119 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
2120 (_FP_MUL_MEAT_1_imm): ... here.
2121 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
2122 (_FP_MUL_MEAT_1_wide): ... here.
2123 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
2124 (_FP_MUL_MEAT_1_hard): ... here.
2125 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
2126 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
2127 (_FP_MUL_MEAT_2_wide): ... here.
2128 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
2129 (_FP_MUL_MEAT_2_wide_3mul): ... here.
2130 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
2131 (_FP_MUL_MEAT_2_gmp): ... here.
2132 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
2133 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
2134 (_FP_MUL_MEAT_4_wide): ... here.
2135 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
2136 (_FP_MUL_MEAT_4_gmp): ... here.
2137 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
2138 (_FP_WFRACBITS_DW_S): Likewise.
2139 (_FP_WFRACXBITS_DW_S): Likewise.
2140 (_FP_HIGHBIT_DW_S): Likewise.
2141 (FP_FMA_S): Likewise.
2142 (_FP_FRAC_HIGH_DW_S): Likewise.
2143 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
2144 (_FP_WFRACBITS_DW_D): Likewise.
2145 (_FP_WFRACXBITS_DW_D): Likewise.
2146 (_FP_HIGHBIT_DW_D): Likewise.
2147 (FP_FMA_D): Likewise.
2148 (_FP_FRAC_HIGH_DW_D): Likewise.
2149 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
2150 (_FP_WFRACBITS_DW_E): Likewise.
2151 (_FP_WFRACXBITS_DW_E): Likewise.
2152 (_FP_HIGHBIT_DW_E): Likewise.
2153 (FP_FMA_E): Likewise.
2154 (_FP_FRAC_HIGH_DW_E): Likewise.
2155 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
2156 (_FP_WFRACBITS_DW_Q): Likewise.
2157 (_FP_WFRACXBITS_DW_Q): Likewise.
2158 (_FP_HIGHBIT_DW_Q): Likewise.
2159 (FP_FMA_Q): Likewise.
2160 (_FP_FRAC_HIGH_DW_Q): Likewise.
2161 * soft-fp/fmasf4.c: New file.
2162 * soft-fp/fmadf4.c: Likewise.
2163 * soft-fp/fmatf4.c: Likewise.
2164
6308fd9a
LD
21652013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2166
2167 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
2168 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
2169 Silvermont.
2170 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
2171 macro.
2172 (index_Slow_SSE4_2): Likewise.
2173 (index_Prefer_PMINUB_for_stringop): Likewise.
2174 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
2175 bit_Slow_SSE4_2 is set.
2176 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2177 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2178
89cd9569
RA
21792013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2180
2181 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
2182 rtld_global._dl_hwcap2.
2183 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
2184 POWER8.
2185 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
2186 POWER8 feature descriptions defined in _dl_hwcap2.
2187 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
2188 string handling for POWER8 feature bits.
2189 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
2190 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
2191 _dl_powerpc_cap_flags.
2192 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
2193 * sysdeps/powerpc/rtld-global-offsets.sym
2194 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
2195 _dl_hwcap2 in the rtld_global_ro structure.
2196
1ae8bfe0
RA
21972013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2198
2199 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
2200 hardware capabilities in support of AT_HWCAP2.
2201 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
2202 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
2203 GLRO(dl_hwcap2).
2204 (_dl_show_auxv): Add support for calling _dl_procinfo to display
2205 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
2206 explicitly the unknown a_type display mechanism is used.
2207 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
2208 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
2209 struct member.
2210 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
2211 to macro prototype for AT_HWCAP2 support.
2212 * sysdeps/i386/dl-procinfo.h: Likewise.
2213 * sysdeps/s390/dl-procinfo.h: Likewise.
2214 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
2215 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
2216 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
2217 return -1 for unknown a_type display fallback.
2218 * sysdeps/sparc/dl-procinfo.h: Likewise.
2219 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
2220 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
2221
8fbec010
JM
22222013-06-28 Joseph Myers <joseph@codesourcery.com>
2223
2224 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
2225 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
2226
0432680e
PY
22272013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
2228
2229 [BZ #12492]
2230 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
2231 mprotect making __stack_prot writable.
2232
ce61a2ad
NF
22332013-06-28 Nathan Froyd <froydnj@codesourcery.com>
2234 Joseph Myers <joseph@codesourcery.com>
2235
2236 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
2237 as being properly aligned.
2238
f91f1c0f
MR
22392013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
2240
3d0f5d0c
MR
2241 * dlfcn/modstatic5.c: New file.
2242 * dlfcn/tststatic5.c: New file.
2243 * dlfcn/Makefile (tests): Add tststatic5.
2244 (tests-static): Likewise.
2245 (modules-names): Add modstatic5.
2246 (tststatic5-ENV): New variable.
2247 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
2248
f91f1c0f
MR
2249 [BZ #15022]
2250 * elf/dl-support.c (_dl_main_map): New variable.
2251 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
2252 (_dl_nns, _dl_load_adds): Set to 1.
2253 (_dl_initial_searchlist): Refer to _dl_main_map.
2254 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
2255 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
2256 call to _dl_get_origin.
2257 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
2258 around call_map.
2259 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
2260 * dlfcn/modstatic3.c: New file.
2261 * dlfcn/tststatic3.c: New file.
2262 * dlfcn/tststatic4.c: New file.
2263 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
2264 (tests-static): Likewise.
2265 (modules-names): Add modstatic3.
2266 (tststatic3-ENV, tststatic4-ENV): New variables.
2267 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
2268 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
2269
cbe7d24b
JM
22702013-06-26 Joseph Myers <joseph@codesourcery.com>
2271
2272 * configure.in (CC): Require GCC version 4.4 or later.
2273 * configure: Regenerated.
2274 * manual/install.texi (Tools for Compilation): Update GCC version
2275 requirement.
2276 * INSTALL: Regenerated.
2277
11b8a0e1
LD
22782013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2279
2280 [BZ #15674]
bb5bb87c
L
2281 * string/test-memcmp.c (check2): New.
2282 (main): Call check2.
2283
11b8a0e1
LD
2284 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
2285
b0037103
MR
22862013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
2287
2288 [BZ #15022]
2289 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
2290 over to...
2291 (dl_open_worker) [!SHARED]: ... here.
2292
c18c701d
RA
22932013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2294
2295 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
2296
1d17fa5f
RH
22972013-06-25 Richard Henderson <rth@redhat.com>
2298
2299 * locale/programs/locarchive.c: Include <libc-internal.h>
2300
8fcb833a
JM
23012013-06-25 Joseph Myers <joseph@codesourcery.com>
2302
2303 * manual/texinfo.tex: Update to version 2013-06-21.17, with
2304 trailing whitespace removed.
2305
17db6e8d
MF
23062013-06-24 Mike Frysinger <vapier@gentoo.org>
2307
2308 [BZ #10283]
17db6e8d
MF
2309 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
2310 * locale/programs/locarchive.c: Include libc-mmap.h.
2311 (prepare_address_space): Take two new outputs (the mmap base and len).
2312 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
2313 values.
2314 (create_archive): Declare new mmap base and len values for
2315 prepare_address_space, and store the result in ah.
2316 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
2317 (enlarge_archive): If ah->mmap_base is not NULL, use that and
2318 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2319 Declare new mmap base and len values for
2320 prepare_address_space, and store the result in new_ah.
2321 (open_archive): Declare new mmap base and len values for
2322 prepare_address_space, and store the result in ah.
2323 (close_archive): If ah->mmap_base is not NULL, use that and
2324 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2325 * sysdeps/generic/libc-mmap.h: New file.
2326
d605071e
MF
23272013-06-24 Mike Frysinger <vapier@gentoo.org>
2328
2329 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
2330 (ALIGN_UP): Likewise.
2331 (PTR_ALIGN_DOWN): Likewise.
2332 (PTR_ALIGN_UP): Likewise.
2333
2f063a6e
RA
23342013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2335
2336 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
2337 entry mapped to PPC_PLATFORM_POWER8.
2338 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
2339 POWER8.
2340 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
2341 (_dl_string_platform): Add case for exporting platform position for
2342 POWER8.
2343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
2344 search path to sysdeps/powerpc/powerpc32/power8 directory.
2345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
2346 search path to sysdeps/powerpc/powerpc64/power8 directory.
2347 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
2348 power7 directories.
2349 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
2350 power7 directories.
2351
a31ee4b3
SP
23522013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2353
a74ca98f
SP
2354 * INSTALL: Regenerate.
2355
a31ee4b3
SP
2356 * nscd/connections.c (nscd_init): Fix comment.
2357
695c378f
JM
23582013-06-22 Joseph Myers <joseph@codesourcery.com>
2359
d8412221
JM
2360 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
2361
695c378f
JM
2362 [BZ #15667]
2363 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
2364 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
2365
d1d54715
MR
23662013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2367
2368 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
2369 DL_DST_REQ_STATIC.
2370 (DL_DST_REQ_STATIC): Remove macro.
2371
8fdda7af
JM
23722013-06-21 Joseph Myers <joseph@codesourcery.com>
2373
2374 [BZ #7006]
2375 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
2376 with a shift of 0 bits.
2377
f3bc5e5a
MR
23782013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2379
2380 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
2381 $(tststatic-ENV).
2382
be09e8c9
KK
23832013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2384
2385 [BZ #15655]
2386 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
2387
85c2e611
AZ
23882013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2389
2390 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
2391 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
2392 accepts -fno-tree-loop-distribute-patterns.
2393 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
2394 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
2395 recursive call.
2396 * string/memset.c (memset): Likewise.
2397 * string/test-memmove.c (simple_memmove): Disable loop transformation
2398 to library calls.
2399 * string/test-memset.c (simple_memset): Likewise.
2400 * benchtests/bench-memmove.c (simple_memmove): Likewise.
2401 * benchtests/bench-memset.c (simple_memset): Likewise.
2402 * configure: Regenerated.
2403
c91e0825
JM
24042013-06-20 Joseph Myers <joseph@codesourcery.com>
2405
b8c792af
JM
2406 * math/test-misc.c (main): Ignore fesetround failure when failures
2407 of subsequent rounding tests would be ignored.
2408
c91e0825
JM
2409 [BZ #15654]
2410 * math/fedisblxcpt.c (fedisableexcept): Return 0.
2411 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
2412 * math/fegetenv.c (__fegetenv): Return 0.
2413 * math/fegetexcept.c (fegetexcept): Return 0.
2414 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
2415 FE_TONEAREST.
2416 * math/feholdexcpt.c (feholdexcept): Return 0.
2417 * math/fesetenv.c (__fesetenv): Return 0.
2418 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
2419 argument FE_TONEAREST.
2420 * math/feupdateenv.c (__feupdateenv): Return 0.
2421 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
2422
bfcacbde
RM
24232013-06-18 Roland McGrath <roland@hack.frob.com>
2424
2425 * elf/rtld-Rules (rtld-compile-command.S): New variable.
2426 (rtld-compile-command.s, rtld-compile-command.c): New variables.
2427 ($(objpfx)rtld-%.os rules): Use them.
2428
e55a9b25
AZ
24292013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2430
2431 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
2432 fields.
2433
346d65b3
RM
24342013-06-17 Roland McGrath <roland@hack.frob.com>
2435
12086fb4
RM
2436 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
2437 length of target pattern, then descending length of dependency pattern.
2438 * configure.in (AWK): Require gawk 3.1.2 or newer.
2439 * manual/install.texi (Tools for Compilation): Say that we do.
2440 * configure: Regenerated.
2441
346d65b3
RM
2442 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
2443 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
2444 * scripts/sysd-rules.awk: ... this new script.
2445 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
2446 than a glob-style pattern.
2447
1a846317
JM
24482013-06-17 Joseph Myers <joseph@codesourcery.com>
2449
2450 * math/test-misc.c (main): Do not treat incorrectly rounded
2451 conversions as failure unless ROUNDING_TESTS passes.
2452
8fc75e6f
JM
24532013-06-15 Joseph Myers <joseph@codesourcery.com>
2454
3711a167
JM
2455 [BZ #15631]
2456 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
2457 restore exception state around main square root computation, then
2458 check for inexactness explicitly.
2459
8fc75e6f
JM
2460 * math/libm-test.inc (fma_test_data): Add another test.
2461
61dd6208
SP
24622013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2463
adf23d2c
SP
2464 * manual/threads.texi (Non-POSIX Extensions): New document
2465 node. Document pthread_getattr_default_np and
2466 pthread_setattr_default_np.
2467
61dd6208
SP
2468 * Versions.def (libpthread): Add GLIBC_2.18.
2469 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
2470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2471 Likewise.
2472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2473 Likewise.
2474 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2475 Likewise.
2476 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2477 Likewise.
2478 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
2479 Likewise.
2480 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2481 Likewise.
2482 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2483 Likewise.
2484 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2485 Likewise.
2486 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2487 Likewise.
2488
d086fc7b
LD
24892013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2490
2491 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2492 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
2493
747ef469
SP
24942013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2495 H.J. Lu <hjl.tools@gmail.com>
2496
2497 [BZ #15627]
2498 * sysdeps/x86_64/rtld-memset.c: Remove file.
2499 * sysdeps/x86_64/rtld-memset.S: New file.
2500
1b2feed2
JM
25012013-06-14 Joseph Myers <joseph@codesourcery.com>
2502
2503 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
2504 (test_in_one_mode): Take arguments for whether the rounding mode
2505 is supported for each floating-point type.
2506 (do_test): Pass new arguments to test_in_one_mode using
2507 ROUNDING_TESTS.
2508
a58ad3f8
RM
25092013-06-13 Roland McGrath <roland@hack.frob.com>
2510
2511 * posix/tst-waitid.c (do_test): Distinguish different instances of
2512 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
2513 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
2514 before entering the kernel for waitpid.
2515
c204ab28
SP
25162013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2517
2518 * NEWS: Fix note on clock function precision. Text by Roland
2519 McGrath.
2520
f4a29fba
RM
25212013-06-13 Roland McGrath <roland@hack.frob.com>
2522
2523 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
2524 it into place only when and if the sanity check passes.
2525
1f24b9ad
JM
25262013-06-13 Joseph Myers <joseph@codesourcery.com>
2527
2528 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
2529 output for whether conversion result is exact. Take argument
2530 indicating whether type is IBM long double.
2531 (round_for_all): Change need_exact field to ibm_ld.
2532 * stdlib/tst-strtod-round.c (struct exactness): New type.
2533 (struct test): Change bool ld_ok field to struct exactness exact.
2534 (TEST): Update all definitions for change to field.
2535 (tests): Regenerate array contents.
2536 (test_in_one_mode): Take pointer to new field instead of old ld_ok
2537 field value. Check for IBM long double here.
2538 (do_test): Update calls to test_in_one_mode.
2539
58206c68
SP
25402013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2541
2542 [BZ #12515]
2543 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
2544 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
2545
2d6f4c5b 25462013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
2547
2548 [BZ #15605]
2549 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
2550 generated by the compiler on loop optimizations.
2551 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
2552 general definitions.
2553
94f2c076
JM
25542013-06-12 Joseph Myers <joseph@codesourcery.com>
2555
2556 * math/bug-nextafter.c: Include <math-tests.h>.
2557 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2558 the relevant type.
2559 * math/bug-nexttoward.c: Include <math-tests.h>.
2560 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2561 the relevant type.
2562 * math/test-misc.c: Include <math-tests.h>.
2563 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2564 the relevant type.
2565
e0e50a0a
AJ
25662013-06-12 Andreas Jaeger <aj@suse.de>
2567
2568 * po/ia.po: Update Interlingua translation from translation
2569 project.
2570
25061094
SP
25712013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2572
2573 * include/fenv.h: Include stdbool.h.
2574 (struct rm_ctx): New structure.
2575 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
2576 Define macro.
2577 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
2578 (SET_RESTORE_ROUNDF): Likewise.
2579 (SET_RESTORE_ROUNDL): Likewise.
2580 (SET_RESTORE_ROUND_NOEX): Likewise.
2581 (SET_RESTORE_ROUND_NOEXF): Likewise.
2582 (SET_RESTORE_ROUND_NOEXL): Likewise.
2583 (SET_RESTORE_ROUND_53BIT): Likewise.
2584 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
2585 (libc_feresetround_noexf_ctx): Likewise.
2586 (libc_feresetround_noexl_ctx): Likewise.
2587 (libc_feholdsetround_53bit_ctx): Likewise.
2588 (libc_feresetround_53bit_ctx): Likewise.
2589 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
2590 (libc_feholdexcept_setround_sse_ctx): New function.
2591 (libc_fesetenv_sse_ctx): Likewise.
2592 (libc_feupdateenv_sse_ctx): Likewise.
2593 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
2594 (libc_feholdexcept_setround_387_ctx): Likewise.
2595 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
2596 (libc_feholdsetround_387_prec_ctx): Likewise.
2597 (libc_feholdsetround_387_ctx): Likewise.
2598 (libc_feholdsetround_387_53bit_ctx): Likewise.
2599 (libc_feholdsetround_sse_ctx): Likewise.
2600 (libc_feresetround_sse_ctx): Likewise.
2601 (libc_feresetround_387_ctx): Likewise.
2602 (libc_feupdateenv_387_ctx): Likewise.
2603 (libc_feholdexcept_setroundf_ctx): Define macro.
2604 (libc_fesetenvf_ctx): Likewise.
2605 (libc_feupdateenvf_ctx): Likewise.
2606 (libc_feholdsetroundf_ctx): Likewise.
2607 (libc_feresetroundf_ctx): Likewise.
2608 (libc_feholdexcept_setround_ctx): Likewise.
2609 (libc_fesetenv_ctx): Likewise.
2610 (libc_feupdateenv_ctx): Likewise.
2611 (libc_feholdsetround_ctx): Likewise.
2612 (libc_feresetround_ctx): Likewise.
2613 (libc_feholdexcept_setroundl_ctx): Likewise.
2614 (libc_feupdateenvl_ctx): Likewise.
2615 (libc_feholdsetroundl_ctx): Likewise.
2616 (libc_feresetroundl_ctx): Likewise.
2617 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
2618 (libc_feresetround_53bit_ctx): Likewise.
2619
59b30555
SP
26202013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2621
2622 * locale/iso-639.def: Convert to UTF-8.
2623
f1d73d30
JM
26242013-06-11 Joseph Myers <joseph@codesourcery.com>
2625
2626 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
2627 (EXCEPTION_TESTS_double): Likewise.
2628 (EXCEPTION_TESTS_long_double): Likewise.
2629 (EXCEPTION_TESTS): Likewise.
2630 * math/libm-test.inc (test_exceptions): Only test exceptions if
2631 EXCEPTION_TESTS (FLOAT).
2632
94aca5e7
SP
26332013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2634
2635 * benchtests/Makefile (string-bench): Add strcpy_chk and
2636 stpcpy_chk.
2637 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
2638 * benchtests/bench-stpcpy_chk.c: New file.
2639 * benchtests/bench-strcpy_chk-ifunc.c: New file.
2640 * benchtests/bench-strcpy_chk.c: New file.
2641 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
2642 code.
2643 (do_test): Likewise.
2644
fac0c5f2
RA
26452013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2646
2647 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
2648 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
2649 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
2650 with tabs where appropriate.
2651 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
2652 dl-procinfo.h.
2653 [PPC_PLATFORM_PPC440]: Likewise.
2654 [PPC_PLATFORM_PPC464]: Likewise.
2655 [PPC_PLATFORM_PPC476]: Likewise.
2656 (_dl_string_platform): Add support for detecting ppc405, ppc440,
2657 ppc464, and ppc476 platform strings merging from ports/
2658 dl-procinfo.h.
2659
f22bc486
AS
26602013-06-11 Andreas Schwab <schwab@suse.de>
2661
2662 [BZ #14991]
2663 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
2664 (from_ucs4_idx): Regenerate.
2665 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
2666 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
2667 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
2668 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
2669 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
2670 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
2671 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
2672 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
2673 from FROM_LOOP and TO_LOOP specific macros.
2674 (BODY): Handle combining characters.
2675 * iconvdata/BIG5HKSCS.irreversible: Update.
2676 * iconvdata/BIG5HKSCS.precomposed: New file.
2677 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
2678 characters.
2679 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
2680
c1f75dc3
SP
26812013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2682
4eacded2
SP
2683 * include/sys/time.h: Fix indentation and add copyright header.
2684
fec799f8
SP
2685 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
2686 (do_test): Likewise.
2687 * string/test-memchr.c (do_one_test): Likewise.
2688 (do_test): Likewise.
2689 * string/test-memcmp.c (do_one_test): Likewise.
2690 (do_test): Likewise.
2691 * string/test-memcpy.c (do_one_test): Likewise.
2692 (do_test): Likewise.
2693 * string/test-memmem.c (do_one_test): Likewise.
2694 (do_test): Likewise.
2695 (do_random_tests): Likewise.
2696 * string/test-memmove.c (do_one_test): Likewise.
2697 (do_test): Likewise.
2698 * string/test-memset.c (do_one_test): Likewise.
2699 (do_test): Likewise.
2700 * string/test-rawmemchr.c (do_one_test): Likewise.
2701 (do_test): Likewise.
2702 * string/test-strcasecmp.c (do_one_test): Likewise.
2703 (do_test): Likewise.
2704 * string/test-strcasestr.c (do_one_test): Likewise.
2705 (do_test): Likewise.
2706 * string/test-strcat.c (do_one_test): Likewise.
2707 (do_test): Likewise.
2708 * string/test-strchr.c (do_one_test): Likewise.
2709 (do_test): Likewise.
2710 * string/test-strcmp.c (do_one_test): Likewise.
2711 (do_test): Likewise.
2712 * string/test-strcpy.c (do_one_test): Likewise.
2713 (do_test): Likewise.
2714 * string/test-string.h: Likewise.
2715 (test_init): Likewise.
2716 * string/test-strlen.c (do_one_test): Likewise.
2717 (do_test): Likewise.
2718 * string/test-strncasecmp.c (do_one_test): Likewise.
2719 (do_test): Likewise.
2720 * string/test-strncat.c (do_one_test): Likewise.
2721 (do_test): Likewise.
2722 * string/test-strncmp.c (do_one_test): Likewise.
2723 (do_test_limit): Likewise.
2724 (do_test): Likewise.
2725 * string/test-strncpy.c (do_one_test): Likewise.
2726 (do_test): Likewise.
2727 * string/test-strnlen.c (do_one_test): Likewise.
2728 (do_test): Likewise.
2729 * string/test-strpbrk.c (do_one_test): Likewise.
2730 (do_test): Likewise.
2731 * string/test-strrchr.c (do_one_test): Likewise.
2732 (do_test): Likewise.
2733 * string/test-strspn.c (do_one_test): Likewise.
2734 (do_test): Likewise.
2735 * string/test-strstr.c (do_one_test): Likewise.
2736 (do_test): Likewise.
2737
97020474
SP
2738 * benchtests/Makefile (string-bench): Add string benchmarks.
2739 * benchtests/bench-bcopy-ifunc.c: New file.
2740 * benchtests/bench-bcopy.c: New file.
2741 * benchtests/bench-bzero-ifunc.c: New file.
2742 * benchtests/bench-bzero.c: New file.
2743 * benchtests/bench-memccpy-ifunc.c: New file.
2744 * benchtests/bench-memccpy.c: New file.
2745 * benchtests/bench-memchr-ifunc.c: New file.
2746 * benchtests/bench-memchr.c: New file.
2747 * benchtests/bench-memcmp-ifunc.c: New file.
2748 * benchtests/bench-memcmp.c: New file.
2749 * benchtests/bench-memmem-ifunc.c: New file.
2750 * benchtests/bench-memmem.c: New file.
2751 * benchtests/bench-memmove-ifunc.c: New file.
2752 * benchtests/bench-memmove.c: New file.
2753 * benchtests/bench-mempcpy-ifunc.c: New file.
2754 * benchtests/bench-mempcpy.c: New file.
2755 * benchtests/bench-memset-ifunc.c: New file.
2756 * benchtests/bench-memset.c: New file.
2757 * benchtests/bench-rawmemchr-ifunc.c: New file.
2758 * benchtests/bench-rawmemchr.c: New file.
2759 * benchtests/bench-stpcpy-ifunc.c: New file.
2760 * benchtests/bench-stpcpy.c: New file.
2761 * benchtests/bench-stpncpy-ifunc.c: New file.
2762 * benchtests/bench-stpncpy.c: New file.
2763 * benchtests/bench-strcasecmp-ifunc.c: New file.
2764 * benchtests/bench-strcasecmp.c: New file.
2765 * benchtests/bench-strcasestr-ifunc.c: New file.
2766 * benchtests/bench-strcasestr.c: New file.
2767 * benchtests/bench-strcat-ifunc.c: New file.
2768 * benchtests/bench-strcat.c: New file.
2769 * benchtests/bench-strchr-ifunc.c: New file.
2770 * benchtests/bench-strchr.c: New file.
2771 * benchtests/bench-strchrnul-ifunc.c: New file.
2772 * benchtests/bench-strchrnul.c: New file.
2773 * benchtests/bench-strcmp-ifunc.c: New file.
2774 * benchtests/bench-strcmp.c: New file.
2775 * benchtests/bench-strcpy-ifunc.c: New file.
2776 * benchtests/bench-strcpy.c: New file.
2777 * benchtests/bench-strcspn-ifunc.c: New file.
2778 * benchtests/bench-strcspn.c: New file.
2779 * benchtests/bench-strlen-ifunc.c: New file.
2780 * benchtests/bench-strlen.c: New file.
2781 * benchtests/bench-strncasecmp-ifunc.c: New file.
2782 * benchtests/bench-strncasecmp.c: New file.
2783 * benchtests/bench-strncat-ifunc.c: New file.
2784 * benchtests/bench-strncat.c: New file.
2785 * benchtests/bench-strncmp-ifunc.c: New file.
2786 * benchtests/bench-strncmp.c: New file.
2787 * benchtests/bench-strncpy-ifunc.c: New file.
2788 * benchtests/bench-strncpy.c: New file.
2789 * benchtests/bench-strnlen-ifunc.c: New file.
2790 * benchtests/bench-strnlen.c: New file.
2791 * benchtests/bench-strpbrk-ifunc.c: New file.
2792 * benchtests/bench-strpbrk.c: New file.
2793 * benchtests/bench-strrchr-ifunc.c: New file.
2794 * benchtests/bench-strrchr.c: New file.
2795 * benchtests/bench-strspn-ifunc.c: New file.
2796 * benchtests/bench-strspn.c: New file.
2797 * benchtests/bench-strstr-ifunc.c: New file.
2798 * benchtests/bench-strstr.c: New file.
2799
c1f75dc3
SP
2800 * benchtests/Makefile: Disable parallel execution of targets.
2801 (string-bench): Add memcpy.
2802 (benchset): New variable to store a list of benchmark sets.
2803 (bench-func): Renamed from bench.
2804 (bench-set): New target.
2805 (bench): Depend on bench-func and bench-set.
2806 * benchtests/README: Add section on benchmark sets.
2807 * benchtests/bench-memcpy-ifunc.c: New file.
2808 * benchtests/bench-memcpy.c: New file.
2809 * benchtests/bench-string.h: New file.
2810
50fd745b
AS
28112013-06-11 Andreas Schwab <schwab@suse.de>
2812
2813 [BZ #15577]
2814 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
2815 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
2816 values in the triple.
2817 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
2818 terminator in the group key.
2819
3ee7e9fe
AJ
28202013-06-11 Andreas Jaeger <aj@suse.de>
2821
2822 * po/zh_TW.po: Update Chinese (traditional) translation from
2823 translation project.
2824
89fb6835
SP
28252013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2826
2827 * include/time.h (__clock_gettime): Add libc_hidden_proto.
2828 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
2829 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
2830 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2831 (clock_getcpuclockid): Likewise.
2832 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
2833 Add weak_alias and libc_hidden_def.
2834 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
2835 * rt/clock_gettime.c (clock_gettime): Rename to
2836 __clock_gettime. Add weak_alias and libc_hidden_def.
2837 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
2838 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
2839 __clock_nanosleep. Add weak_alias and libc_hidden_def.
2840 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
2841 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
2842 Likewise.
2843 * rt/clock_settime.c (clock_settime): Rename to
2844 __clock_settime. Add weak_alias and libc_hidden_def.
2845 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
2846
0efa6f8b
JM
28472013-06-10 Joseph Myers <joseph@codesourcery.com>
2848
b8c61b4b
JM
2849 * mach/err_boot.sub: Remove trailing whitespace.
2850 * mach/err_ipc.sub: Likewise.
2851 * mach/err_mach.sub: Likewise.
2852
0efa6f8b
JM
2853 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
2854 (ROUNDING_TESTS_double): Likewise.
2855 (ROUNDING_TESTS_long_double): Likewise.
2856 (ROUNDING_TESTS): Likewise.
2857 * math/libm-test.inc: Include <math-tests.h>.
2858 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
2859 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2860 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2861 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2862
50b818bf
SP
28632013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2864
2865 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
2866 of assigning.
2867
60d2f8f3
JM
28682013-06-08 Joseph Myers <joseph@codesourcery.com>
2869
4902d2c3
JM
2870 * sysdeps/gnu/errlist.awk: Do not generate space at end of
2871 otherwise empty TRANS lines.
2872 * sysdeps/gnu/errlist.c: Regenerated.
2873
60d2f8f3
JM
2874 * catgets/gencat.c (error_print): Use (void) in function
2875 definition.
2876 * crypt/crypt_util.c (__init_des): Likewise.
2877 * crypt/speeds.c (Stop): Likewise.
2878 (main): Likewise.
2879 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
2880 * inet/ruserpass.c (token): Likewise.
2881 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
2882 * intl/localealias.c (extend_alias_table): Likewise.
2883 * intl/plural-exp.c (init_germanic_plural): Likewise.
2884 * libio/fcloseall.c (__fcloseall): Likewise.
2885 * libio/genops.c (_IO_flush_all): Likewise.
2886 (_IO_flush_all_linebuffered): Likewise.
2887 (_IO_cleanup): Likewise.
2888 (_IO_iter_begin): Likewise.
2889 (_IO_iter_end): Likewise.
2890 (_IO_list_lock): Likewise.
2891 (_IO_list_unlock): Likewise.
2892 (_IO_list_resetlock): Likewise.
2893 * libio/getchar.c (getchar): Likewise.
2894 * libio/getchar_u.c (getchar_unlocked): Likewise.
2895 * libio/getwchar.c (getwchar): Likewise.
2896 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2897 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
2898 * login/getpt.c (__getpt): Likewise.
2899 * login/tst-utmp.c (main): Likewise.
2900 * malloc/hooks.c (__malloc_check_init): Likewise.
2901 * malloc/malloc.c (__malloc_stats): Likewise.
2902 * malloc/mtrace.c (tr_break): Likewise.
2903 (mtrace): Likewise.
2904 (muntrace): Likewise.
2905 * misc/fstab.c (endfsent): Likewise.
2906 * misc/getclktck.c (__getclktck): Likewise.
2907 * misc/getdtsz.c (__getdtablesize): Likewise.
2908 * misc/gethostid.c (gethostid): Likewise.
2909 * misc/getpagesize.c (__getpagesize): Likewise.
2910 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
2911 (__get_nprocs): Likewise.
2912 (__get_phys_pages): Likewise.
2913 (__get_avphys_pages): Likewise.
2914 * misc/getttyent.c (getttyent): Likewise.
2915 (setttyent): Likewise.
2916 (endttyent): Likewise.
2917 * misc/getusershell.c (getusershell): Likewise.
2918 (endusershell): Likewise.
2919 (setusershell): Likewise.
2920 (initshells): Likewise.
2921 * misc/hsearch.c (__hdestroy): Likewise.
2922 * misc/sync.c (sync): Likewise.
2923 * misc/syslog.c (closelog_internal): Likewise.
2924 (closelog): Likewise.
2925 * misc/ttyslot.c (ttyslot): Likewise.
2926 * misc/vhangup.c (vhangup): Likewise.
2927 * posix/fork.c (__fork): Likewise.
2928 * posix/getegid.c (__getegid): Likewise.
2929 * posix/geteuid.c (__geteuid): Likewise.
2930 * posix/getgid.c (__getgid): Likewise.
2931 * posix/getpid.c (__getpid): Likewise.
2932 * posix/getppid.c (__getppid): Likewise.
2933 * posix/getuid.c (__getuid): Likewise.
2934 * posix/pause.c (pause): Likewise.
2935 * posix/setpgrp.c (setpgrp): Likewise.
2936 * posix/setsid.c (__setsid): Likewise.
2937 * posix/test-vfork.c (noop): Likewise.
2938 * resolv/gethnamaddr.c (_endhtent): Likewise.
2939 (_gethtent): Likewise.
2940 (ht_endhostent): Likewise.
2941 (gethostent): Likewise.
2942 (dns_service): Likewise.
2943 * stdlib/drand48.c (drand48): Likewise.
2944 * stdlib/lrand48.c (lrand48): Likewise.
2945 * stdlib/mrand48.c (mrand48): Likewise.
2946 * stdlib/rand.c (rand): Likewise.
2947 * stdlib/random.c (__random): Likewise.
2948 * stdlib/setenv.c (clearenv): Likewise.
2949 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
2950 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
2951 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
2952 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
2953 (__get_nprocs): Likewise.
2954 (__get_phys_pages): Likewise.
2955 (__get_avphys_pages): Likewise.
2956 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
2957 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
2958 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
2959 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
2960 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
2961 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
2962 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
2963 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
2964 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
2965 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
2966 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
2967 * sysdeps/mach/hurd/sync.c (sync): Likewise.
2968 * sysdeps/posix/clock.c (clock): Likewise.
2969 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
2970 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
2971 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
2972 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2973 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
2974 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2975 (__get_nprocs_conf): Likewise.
2976 (__get_phys_pages): Likewise.
2977 (__get_avphys_pages): Likewise.
2978 * time/clock.c (clock): Likewise.
2979 * time/tzset.c (__tzname_max): Likewise.
2980
2e09a79a
JM
29812013-06-07 Joseph Myers <joseph@codesourcery.com>
2982
2983 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
2984 (__bswap_32): Do not use "register".
2985 * crypt/crypt.c (_ufc_doit_r): Likewise.
2986 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2987 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2988 * gmon/gmon.c (__monstartup): Likewise.
2989 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
2990 * hurd/hurdmalloc.c (more_memory): Likewise.
2991 (malloc): Likewise.
2992 (free): Likewise.
2993 (realloc): Likewise.
2994 (malloc_fork_prepare): Likewise.
2995 (malloc_fork_parent): Likewise.
2996 (malloc_fork_child): Likewise.
2997 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
2998 (_svcauth_des): Likewise.
2999 * inet/inet_lnaof.c (inet_lnaof): Likewise.
3000 * inet/inet_net.c (inet_network): Likewise.
3001 * inet/inet_netof.c (inet_netof): Likewise.
3002 * inet/rcmd.c (__validuser2_sa): Likewise.
3003 * io/fts.c (fts_open): Likewise.
3004 (fts_load): Likewise.
3005 (fts_close): Likewise.
3006 (fts_read): Likewise.
3007 (fts_children): Likewise.
3008 (fts_build): Likewise.
3009 (fts_stat): Likewise.
3010 (fts_sort): Likewise.
3011 (fts_alloc): Likewise.
3012 (fts_lfree): Likewise.
3013 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
3014 (_IO_file_xsgetn): Likewise.
3015 (_IO_file_xsgetn_mmap): Likewise.
3016 * libio/iofopncook.c (_IO_cookie_read): Likewise.
3017 (_IO_cookie_write): Likewise.
3018 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
3019 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
3020 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
3021 * malloc/obstack.c (_obstack_begin): Likewise.
3022 (_obstack_begin_1): Likewise.
3023 (_obstack_newchunk): Likewise.
3024 (_obstack_allocated_p): Likewise.
3025 (obstack_free): Likewise.
3026 (_obstack_memory_used): Likewise.
3027 * misc/getttyent.c (getttynam): Likewise.
3028 (getttyent): Likewise.
3029 (skip): Likewise.
3030 (value): Likewise.
3031 * misc/getusershell.c (initshells): Likewise.
3032 * misc/syslog.c (__vsyslog_chk): Likewise.
3033 * misc/ttyslot.c (ttyslot): Likewise.
3034 * nis/nis_hash.c (__nis_hash): Likewise.
3035 * posix/fnmatch_loop.c (FCT): Likewise.
3036 * posix/getconf.c (print_all): Likewise.
3037 (main): Likewise.
3038 * posix/getopt.c (exchange): Likewise.
3039 * posix/glob.c (globfree): Likewise.
3040 (prefix_array): Likewise.
3041 (__glob_pattern_type): Likewise.
3042 * resolv/arpa/nameser.h (NS_GET16): Likewise.
3043 (NS_GET32): Likewise.
3044 (NS_PUT16): Likewise.
3045 (NS_PUT32): Likewise.
3046 * resolv/gethnamaddr.c (getanswer): Likewise.
3047 (gethostbyname2): Likewise.
3048 (gethostbyaddr): Likewise.
3049 (_gethtent): Likewise.
3050 (_gethtbyname2): Likewise.
3051 (_gethtbyaddr): Likewise.
3052 * resolv/ns_print.c (dst_s_get_int16): Likewise.
3053 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3054 * resolv/res_init.c (__res_vinit): Likewise.
3055 (net_mask): Likewise.
3056 * resolv/res_mkquery.c (outchar): Likewise.
3057 (PRINT): Likewise.
3058 * stdio-common/printf_fp.c (outchar): Likewise.
3059 (PRINT): Likewise.
3060 * stdio-common/printf_fphex.c (outchar): Likewise.
3061 (PRINT): Likewise.
3062 * stdio-common/printf_size.c (outchar): Likewise.
3063 (PRINT): Likewise.
3064 * stdio-common/test_rdwr.c (main): Likewise.
3065 * stdio-common/tfformat.c (matches): Likewise.
3066 * stdio-common/vfprintf.c (outchar): Likewise.
3067 (printf_unknown): Likewise.
3068 (buffered_vfprintf): Likewise.
3069 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3070 * stdio-common/xbug.c (AppendToBuffer): Likewise.
3071 (ReadFile): Likewise.
3072 * stdlib/qsort.c (SWAP): Likewise.
3073 (_quicksort): Likewise.
3074 * stdlib/setenv.c (__add_to_environ): Likewise.
3075 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3076 * stdlib/strtol_l.c (__strtol_l): Likewise.
3077 * stdlib/tst-strtod.c (main): Likewise.
3078 * stdlib/tst-strtol.c (main): Likewise.
3079 * stdlib/tst-strtoll.c (main): Likewise.
3080 * string/bits/string2.h (__strcmp_cc): Likewise.
3081 (__strcmp_cg): Likewise.
3082 (__strcspn_c1): Likewise.
3083 (__strcspn_c2): Likewise.
3084 (__strcspn_c3): Likewise.
3085 (__strspn_c1): Likewise.
3086 (__strspn_c2): Likewise.
3087 (__strspn_c3): Likewise.
3088 (__strsep_1c): Likewise.
3089 (__strsep_2c): Likewise.
3090 (__strsep_3c): Likewise.
3091 * string/memccpy.c (__memccpy): Likewise.
3092 * string/stpcpy.c (__stpcpy): Likewise.
3093 * string/strcmp.c (strcmp): Likewise.
3094 * string/strrchr.c (strrchr): Likewise.
3095 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
3096 Likewise.
3097 * sysdeps/mach/hurd/getcwd.c
3098 (_hurd_canonicalize_directory_name_internal): Likewise.
3099 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
3100 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
3101 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
3102 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
3103 Likewise, in both definitions.
3104 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
3105 definitions.
3106 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
3107 64] (__bswap_64): Likewise.
3108 * time/test_time.c (main): Likewise.
3109 * time/tzfile.c (__tzfile_read): Likewise.
3110 (__tzfile_compute): Likewise.
3111 * time/tzset.c (__tzset_parse_tz): Likewise.
3112 (tzset_internal): Likewise.
3113 (compute_change): Likewise.
3114 * wcsmbs/wcscat.c (__wcscat): Likewise.
3115 * wcsmbs/wcschr.c (wcschr): Likewise.
3116 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3117 * wcsmbs/wcscspn.c (wcscspn): Likewise.
3118 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3119 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
3120 * wcsmbs/wcsspn.c (wcsspn): Likewise.
3121 * wcsmbs/wcsstr.c (wcsstr): Likewise.
3122 * wcsmbs/wmemchr.c (wmemchr): Likewise.
3123 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3124 * wcsmbs/wmemset.c (wmemset): Likewise.
3125
9e54314b
JM
31262013-06-06 Joseph Myers <joseph@codesourcery.com>
3127
3128 * scripts/config.guess: Update to version 2013-05-16.
3129 * scripts/config.sub: Update to version 2013-04-24.
3130 * scripts/install-sh: Update to version 2011-11-20.07.
3131 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
3132 * scripts/move-if-change: Update to version 2012-01-06 07:23.
3133
350635a5
OB
31342013-06-06 Ondřej Bílka <neleai@seznam.cz>
3135
3136 * debug/fgetws_u_chk.c: Fix leading whitespaces.
3137 * elf/sln.c: Likewise.
3138 * hurd/hurd/ioctl.h: Likewise.
3139 * hurd/hurdmalloc.c: Likewise.
3140 * hurd/xattr.c: Likewise.
3141 * include/shlib-compat.h: Likewise.
3142 * inet/ruserpass.c: Likewise.
3143 * libio/iofgets_u.c: Likewise.
3144 * libio/iofgetws_u.c: Likewise.
3145 * locale/programs/ld-identification.c: Likewise.
3146 * locale/programs/ld-time.c: Likewise.
3147 * mach/msg-destroy.c: Likewise.
3148 * nss/nss_files/files-netgrp.c: Likewise.
3149 * resolv/res_data.c: Likewise.
3150 * soft-fp/op-1.h: Likewise.
3151 * soft-fp/op-2.h: Likewise.
3152 * soft-fp/op-4.h: Likewise.
3153 * soft-fp/op-common.h: Likewise.
3154 * stdio-common/printf_fphex.c: Likewise.
3155 * stdlib/strtod_l.c: Likewise.
3156 * sunrpc/rpc/clnt.h: Likewise.
3157 * sysdeps/generic/framestate.c: Likewise.
3158 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3159 * sysdeps/i386/bsd-setjmp.S: Likewise.
3160 * sysdeps/i386/__longjmp.S: Likewise.
3161 * sysdeps/i386/setjmp.S: Likewise.
3162 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3163 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3164 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3165 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3166 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3167 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3168 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3169 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3170 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3171 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3172 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3173 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3174 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3175 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3176 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3177 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3178 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3179 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
3180 * sysdeps/ieee754/support.c: Likewise.
3181 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3182 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
3183 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
3184 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
3185 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
3186 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
3187 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
3188 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
3189 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
3190 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
3191 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
3192 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
3193 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
3194 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
3195 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
3196 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
3197 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3199
44a988af
OB
32002013-06-05 Ondřej Bílka <neleai@seznam.cz>
3201
25506f09 3202 * posix/transbug.c: Remove executable mode.
44a988af 3203
9c84384c
JM
32042013-06-05 Joseph Myers <joseph@codesourcery.com>
3205
3206 * crypt/speeds.c: Remove trailing whitespace.
3207 * dlfcn/default.c: Likewise.
3208 * elf/ifuncdep2.c: Likewise.
3209 * elf/ifuncmain1.c: Likewise.
3210 * elf/ifuncmain1vis.c: Likewise.
3211 * elf/testobj.h: Likewise.
3212 * elf/tst-stackguard1.c: Likewise.
3213 * gmon/sys/gmon.h: Likewise.
3214 * hurd/hurdmsg.c: Likewise.
3215 * hurd/new-fd.c: Likewise.
3216 * hurd/ports-get.c: Likewise.
3217 * iconvdata/ibm1008_420.c: Likewise.
3218 * inet/tst-getni1.c: Likewise.
3219 * inet/tst-getni2.c: Likewise.
3220 * libio/ioungetc.c: Likewise.
3221 * libio/wfiledoalloc.c: Likewise.
3222 * manual/libm-err-tab.pl: Likewise.
3223 * math/w_dremf.c: Likewise.
3224 * misc/ftruncate.c: Likewise.
3225 * posix/bug-glob2.c: Likewise.
3226 * posix/tst-pcre.c: Likewise.
3227 * posix/wait4.c: Likewise.
3228 * resolv/README: Likewise.
3229 * resolv/res_debug.h: Likewise.
3230 * resolv/tst-inet_ntop.c: Likewise.
3231 * setjmp/bug269-setjmp.c: Likewise.
3232 * soft-fp/extended.h: Likewise.
3233 * soft-fp/op-1.h: Likewise.
3234 * soft-fp/op-2.h: Likewise.
3235 * soft-fp/op-4.h: Likewise.
3236 * soft-fp/op-8.h: Likewise.
3237 * soft-fp/testit.c: Likewise.
3238 * stdio-common/bug16.c: Likewise.
3239 * stdlib/random.c: Likewise.
3240 * sunrpc/rpcsvc/rquota.x: Likewise.
3241 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
3242 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3243 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3244 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3245 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3246 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3247 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3248 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3249 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3250 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3251 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3252 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3253 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3254 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3255 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3256 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3257 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3258 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3259 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3260 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3261 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3262 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3263 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3264 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3265 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3266 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3267 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3268 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3269 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3270 * sysdeps/ieee754/s_lib_version.c: Likewise.
3271 * sysdeps/mach/hurd/check_fds.c: Likewise.
3272 * sysdeps/mach/hurd/getsockname.c: Likewise.
3273 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
3274 * sysdeps/mach/hurd/recvfrom.c: Likewise.
3275 * sysdeps/powerpc/bits/link.h: Likewise.
3276 * sysdeps/powerpc/dl-procinfo.c: Likewise.
3277 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
3278 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
3279 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
3280 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3281 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3282 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
3283 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3284 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
3285 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3286 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3287 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3288 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
3289 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3290 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3291 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3292 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3293 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3294 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3295 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3296 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3297 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
3298 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3299 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3300 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
3301 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3302 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3303 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3304 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3305 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3306 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3307 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3308 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3309 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3310 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
3311 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3312 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3313 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3314 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3315 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
3316 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3317 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3318 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3319 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3320 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3321 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
3322 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3323 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3324 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
3325 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
3326 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3327 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3328 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3329 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3330 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3331 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3332 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3333 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3334 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
3335 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3336 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3337 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3338 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
3339 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3340 * sysdeps/powerpc/sysdep.h: Likewise.
3341 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3342 * sysdeps/s390/s390-64/sub_n.S: Likewise.
3343 * sysdeps/sh/dl-trampoline.S: Likewise.
3344 * sysdeps/sh/memset.S: Likewise.
3345 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
3346 * sysdeps/sh/strlen.S: Likewise.
3347 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
3348 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
3349 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
3350 * sysdeps/sparc/sparc32/rem.S: Likewise.
3351 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
3352 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
3353 * sysdeps/sparc/sparc32/strchr.S: Likewise.
3354 * sysdeps/sparc/sparc32/udiv.S: Likewise.
3355 * sysdeps/sparc/sparc32/urem.S: Likewise.
3356 * sysdeps/sparc/sparc64/add_n.S: Likewise.
3357 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3358 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
3359 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
3360 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
3361 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
3362 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3363 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
3364 * sysdeps/unix/bsd/times.c: Likewise.
3365 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
3366 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
3367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3370 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3371 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3372 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3373 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
3374 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
3375 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
3376 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3377 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
3378 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3379 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3380 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3381 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3382 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
3383 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
3384 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
3385 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3386 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
3387 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3388 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
3389 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
3390 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3391 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
3392 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3393 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
3394 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
3395 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
3396 * sysdeps/x86_64/strcspn.S: Likewise.
3397
869378a5
RA
33982013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3399
3400 * locale/C-translit.h: Revert #include <stdint.h> because this is a
3401 generated file. Regenerate properly from gen-translit.pl.
3402 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
3403 locale/C-translit.h.
3404
840e2943
AS
34052013-06-05 Andreas Schwab <schwab@suse.de>
3406
3407 [BZ #15100]
3408 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
3409 week as 6 instead of -1.
3410 * time/tst-strptime.c (day_tests): Add test case.
3411
4c60cb0c
SP
34122013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3413
3414 * sysdeps/generic/math_private.h
3415 (libc_feholdexcept_setround_53bit): Replace with
3416 libc_feholdsetround_53bit.
3417 (libc_feupdateenv_53bit): Replace with
3418 libc_feresetround_53bit.
3419 (SET_RESTORE_ROUND_53BIT): Adjust.
3420
d180203e
SP
34212013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3422
96df079a
SP
3423 * string/test-strchrnul.c: Add copyright header.
3424
d180203e
SP
3425 * posix/tst-getaddrinfo4.c: Increase test timeout.
3426
8b0ccb2d
CD
34272013-06-03 Carlos O'Donell <carlos@redhat.com>
3428
3429 [BZ #15536]
3430 * math/libm-test.inc (MAX_EXP): Remove
3431 (MIN_EXP): Define.
3432 (ulp): Use MIN_EXP - MANT_DIG.
3433 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
3434
3b3c4d40
CD
34352013-05-31 Carlos O'Donell <carlos@redhat.com>
3436
3437 * po/be.po: Revert last change.
3438 * po/zh_CN.po: Likewise.
3439 * po/header.pot: Likewise.
3440
fab7ce3f
JM
34412013-05-31 Joseph Myers <joseph@codesourcery.com>
3442
3443 * Makefile ($(common-objpfx)linkobj/libc.so): Define
3444 link-libc-deps to empty as target-specific variable.
3445 * Makerules (link-libc-args): New variable.
3446 (libc-for-link): Likewise.
3447 (link-libc-deps): Likewise.
3448 (lib%.so): Depend on $(link-libc-deps). Link with
3449 $(link-libc-args).
3450 (build-module): Link with $(link-libc-args).
3451 (build-module-asneeded): Likewise.
3452 (build-module-helper-objlist): Filter out $(link-libc-deps) from
3453 list of objects.
3454 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
3455 target-specific variable.
3456 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
3457 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
3458 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
3459 libc.
3460 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
3461 libc and ld.so.
3462 ($(objpfx)libpcprofile.so): Likewise.
3463 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
3464 libc_nonshared.a.
3465 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
3466 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
3467 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
3468 $(link-libc-deps).
3469 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
3470 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
3471 * login/Makefile ($(objpfx)libutil.so): Likewise.
3472 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
3473 * math/Makefile ($(objpfx)libm.so): Likewise.
3474 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
3475 $(objpfx)libnsl.so): Define libc-for-link as target-specific
3476 variable instead of depending directly on libc.
3477 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
3478 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
3479 $(link-libc-deps).
3480 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
3481 libc.
3482 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
3483 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
3484 ($(objpfx)libanl.so): Likewise.
3485 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
3486 ld.so.
3487 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
3488 $(link-libc-deps).
3489 * sysdeps/i386/fpu/Makefile: Remove file.
3490 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
3491 ($(objpfx)libm.so): Remove dependency on ld.so.
3492
eca5920c
PF
34932013-05-30 Patsy Franklin <pfrankli@redhat.com>
3494
3495 [BZ # 15553]
3496 * nis/yp_xdr.c (XDRMAXNAME): Define.
3497 (XDRMAXRECORD): Define.
3498 (xdr_domainname): Use XDRMAXNAME.
3499 (xdr_mapname): Likewise.
3500 (xdr_peername): Likewise.
3501 (xdr_keydat): Use XDRMAXRECORD.
3502 (xdr_valdat): Likewise.
3503
35042013-05-30 Jeff Law <law@redhat.com>
96945714
JL
3505
3506 [BZ #14256]
3507 * manual/errno.texi (ESTALE): Update to account for more than
3508 just NFS file systems.
3509 * sysdeps/gnu/errlist.c: Regenerated.
3510
b9375348
SP
35112013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3512
3513 [BZ #15465]
3514 * elf/Makefile (tests): Add tst-null-argv.
3515 (modules-names): Add tst-null-argv-lib.
3516 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
3517 (tst-null-argv-ENV): Set environment for tst-null-argv.
3518 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
3519 (RTLD_PROGNAME): New macro.
3520 * elf/tst-null-argv.c: New test case.
3521 * elf/tst-null-argv-lib.c: Library for test case.
3522 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
3523 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3524 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
3525 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
3526 * elf/dl-init.c (call_init): Likewise.
3527 (_dl_init): Likewise.
3528 * elf/dl-load.c (print_search_path): Likewise.
3529 (_dl_map_object): Likewise.
3530 * elf/dl-lookup.c (do_lookup_x): Likewise.
3531 (add_dependency): Likewise.
3532 (_dl_lookup_symbol_x): Likewise.
3533 (_dl_debug_bindings): Likewise.
3534 * elf/dl-open.c (_dl_show_scope): Likewise.
3535 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3536 * elf/dl-version.c (match_symbol): Likewise.
3537 (_dl_check_map_versions): Likewise.
3538 * elf/rtld.c (dl_main): Likewise.
3539 (print_unresolved): Use RTLD_PROGNAME.
3540 (print_missing_version): Likewise.
3541 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3542 (elf_machine_rela): Likewise.
3543 * sysdeps/powerpc/powerpc32/dl-machine.c
3544 (__process_machine_rela): Likewise.
3545 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3546 Likewise.
3547 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3548 Likewise.
3549 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3550 Likewise.
3551 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3552 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
3553 Likewise.
3554 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
3555 Likewise.
3556 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3557
8a9f20c8
CD
35582013-05-28 Carlos O'Donell <carlos@redhat.com>
3559
3560 * po/be.po: Add descriptive title.
3561 * po/zh_CN.po: Likewise.
3562 * po/header.pot: Likewise.
3563
0e60d68e
MF
35642013-05-28 Mike Frysinger <vapier@gentoo.org>
3565
3566 * locale/programs/locarchive.c (create_archive): Inlucde fname in
3567 error message.
3568 (enlarge_archive): Likewise.
3569
56b672e9
BN
35702013-05-28 Ben North <ben@redfrontdoor.org>
3571
3572 * manual/arith.texi (frexp): It is the magnitude of the return
3573 value which lies in [0.5, 1), not the return value itself.
3574
5e056687
AZ
35752013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3576
3577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3578
2b66ef5d
TS
35792013-05-26 Thomas Schwinge <thomas@codesourcery.com>
3580
528c2405
TS
3581 * stdio-common/bug26.c (main): Correct fscanf template.
3582
07b4c13d
TS
3583 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
3584 declare _dl_skip_args.
3585
ec9dd97c
TS
3586 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
3587 Don't declare.
3588
2b66ef5d
TS
3589 * manual/platform.texi: Add missing @end deftypefun.
3590
4f8dfe27
JM
35912013-05-24 Joseph Myers <joseph@codesourcery.com>
3592
0323d086
JM
3593 [BZ #15529]
3594 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
3595 bit of mantissa of 2^16382.
3596 * math/libm-test.inc (hypot_test_data): Add more tests.
3597
dd4259b9
JM
3598 * math/libm-test.inc: Add drem and pow10 to list of tested
3599 functions.
3600 (pow10_test): New function.
3601 (drem_test): Likewise.
3602 (drem_test_tonearest): Likewise.
3603 (drem_test_towardzero): Likewise.
3604 (drem_test_downward): Likewise.
3605 (drem_test_upward): Likewise.
3606 (main): Call the new functions.
3607
4f8dfe27
JM
3608 * math/libm-test.inc (finite_test_data): Remove.
3609 (finite_test): Run tests from isfinite_test_data.
3610 (gamma_test_data): Remove.
3611 (gamma_test): Run tests from lgamma_test_data.
3612 * sysdeps/i386/fpu/libm-test-ulps: Update.
3613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3614
d116b7c4
AZ
36152013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3616
3617 * manual/platform.texi: Add PowerPC PPR function set documentation.
3618 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
3619 implementation.
3620
e96e3767
CD
36212013-05-24 Carlos O'Donell <carlos@redhat.com>
3622
3623 * math/libm-test.inc (MAX_EXP): Define.
3624 (ULPDIFF): Define.
3625 (ulp): New function.
3626 (check_float_internal): Use ULPDIFF.
3627 (cpow_test): Disable failing test.
3628 (check_ulp): Test ulp() implemetnation.
3629 (main): Call check_ulp before starting tests.
3630
b679a606
JM
36312013-05-24 Joseph Myers <joseph@codesourcery.com>
3632
e8bdba36
JM
3633 * math/gen-libm-test.pl (generate_testfile): Do not handle
3634 START_DATA and END_DATA.
3635 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
3636 END_DATA.
3637 (acos_tonearest_test_data): Likewise.
3638 (acos_towardzero_test_data): Likewise.
3639 (acos_downward_test_data): Likewise.
3640 (acos_upward_test_data): Likewise.
3641 (acosh_test_data): Likewise.
3642 (asin_test_data): Likewise.
3643 (asin_tonearest_test_data): Likewise.
3644 (asin_towardzero_test_data): Likewise.
3645 (asin_downward_test_data): Likewise.
3646 (asin_upward_test_data): Likewise.
3647 (asinh_test_data): Likewise.
3648 (atan_test_data): Likewise.
3649 (atanh_test_data): Likewise.
3650 (atan2_test_data): Likewise.
3651 (cabs_test_data): Likewise.
3652 (cacos_test_data): Likewise.
3653 (cacosh_test_data): Likewise.
3654 (carg_test_data): Likewise.
3655 (casin_test_data): Likewise.
3656 (casinh_test_data): Likewise.
3657 (catan_test_data): Likewise.
3658 (catanh_test_data): Likewise.
3659 (cbrt_test_data): Likewise.
3660 (ccos_test_data): Likewise.
3661 (ccosh_test_data): Likewise.
3662 (ceil_test_data): Likewise.
3663 (cexp_test_data): Likewise.
3664 (cimag_test_data): Likewise.
3665 (clog_test_data): Likewise.
3666 (clog10_test_data): Likewise.
3667 (conj_test_data): Likewise.
3668 (copysign_test_data): Likewise.
3669 (cos_test_data): Likewise.
3670 (cos_tonearest_test_data): Likewise.
3671 (cos_towardzero_test_data): Likewise.
3672 (cos_downward_test_data): Likewise.
3673 (cos_upward_test_data): Likewise.
3674 (cosh_test_data): Likewise.
3675 (cosh_tonearest_test_data): Likewise.
3676 (cosh_towardzero_test_data): Likewise.
3677 (cosh_downward_test_data): Likewise.
3678 (cosh_upward_test_data): Likewise.
3679 (cpow_test_data): Likewise.
3680 (cproj_test_data): Likewise.
3681 (creal_test_data): Likewise.
3682 (csin_test_data): Likewise.
3683 (csinh_test_data): Likewise.
3684 (csqrt_test_data): Likewise.
3685 (ctan_test_data): Likewise.
3686 (ctan_tonearest_test_data): Likewise.
3687 (ctan_towardzero_test_data): Likewise.
3688 (ctan_downward_test_data): Likewise.
3689 (ctan_upward_test_data): Likewise.
3690 (ctanh_test_data): Likewise.
3691 (ctanh_tonearest_test_data): Likewise.
3692 (ctanh_towardzero_test_data): Likewise.
3693 (ctanh_downward_test_data): Likewise.
3694 (ctanh_upward_test_data): Likewise.
3695 (erf_test_data): Likewise.
3696 (erfc_test_data): Likewise.
3697 (exp_test_data): Likewise.
3698 (exp_tonearest_test_data): Likewise.
3699 (exp_towardzero_test_data): Likewise.
3700 (exp_downward_test_data): Likewise.
3701 (exp_upward_test_data): Likewise.
3702 (exp10_test_data): Likewise.
3703 (exp2_test_data): Likewise.
3704 (expm1_test_data): Likewise.
3705 (fabs_test_data): Likewise.
3706 (fdim_test_data): Likewise.
3707 (finite_test_data): Likewise.
3708 (floor_test_data): Likewise.
3709 (fma_test_data): Likewise.
3710 (fma_towardzero_test_data): Likewise.
3711 (fma_downward_test_data): Likewise.
3712 (fma_upward_test_data): Likewise.
3713 (fmax_test_data): Likewise.
3714 (fmin_test_data): Likewise.
3715 (fmod_test_data): Likewise.
3716 (fpclassify_test_data): Likewise.
3717 (frexp_test_data): Likewise.
3718 (gamma_test_data): Likewise.
3719 (hypot_test_data): Likewise.
3720 (ilogb_test_data): Likewise.
3721 (isfinite_test_data): Likewise.
3722 (isgreater_test_data): Likewise.
3723 (isgreaterequal_test_data): Likewise.
3724 (isinf_test_data): Likewise.
3725 (isless_test_data): Likewise.
3726 (islessequal_test_data): Likewise.
3727 (islessgreater_test_data): Likewise.
3728 (isnan_test_data): Likewise.
3729 (isnormal_test_data): Likewise.
3730 (issignaling_test_data): Likewise.
3731 (isunordered_test_data): Likewise.
3732 (j0_test_data): Likewise.
3733 (j1_test_data): Likewise.
3734 (jn_test_data): Likewise.
3735 (ldexp_test_data): Likewise.
3736 (lgamma_test_data): Likewise.
3737 (lrint_test_data): Likewise.
3738 (lrint_tonearest_test_data): Likewise.
3739 (lrint_towardzero_test_data): Likewise.
3740 (lrint_downward_test_data): Likewise.
3741 (lrint_upward_test_data): Likewise.
3742 (llrint_test_data): Likewise.
3743 (llrint_tonearest_test_data): Likewise.
3744 (llrint_towardzero_test_data): Likewise.
3745 (llrint_downward_test_data): Likewise.
3746 (llrint_upward_test_data): Likewise.
3747 (log_test_data): Likewise.
3748 (log10_test_data): Likewise.
3749 (log1p_test_data): Likewise.
3750 (log2_test_data): Likewise.
3751 (logb_test_data): Likewise.
3752 (logb_downward_test_data): Likewise.
3753 (lround_test_data): Likewise.
3754 (llround_test_data): Likewise.
3755 (modf_test_data): Likewise.
3756 (nearbyint_test_data): Likewise.
3757 (nextafter_test_data): Likewise.
3758 (nexttoward_test_data): Likewise.
3759 (pow_test_data): Likewise.
3760 (pow_tonearest_test_data): Likewise.
3761 (pow_towardzero_test_data): Likewise.
3762 (pow_downward_test_data): Likewise.
3763 (pow_upward_test_data): Likewise.
3764 (remainder_test_data): Likewise.
3765 (remainder_tonearest_test_data): Likewise.
3766 (remainder_towardzero_test_data): Likewise.
3767 (remainder_downward_test_data): Likewise.
3768 (remainder_upward_test_data): Likewise.
3769 (remquo_test_data): Likewise.
3770 (rint_test_data): Likewise.
3771 (rint_tonearest_test_data): Likewise.
3772 (rint_towardzero_test_data): Likewise.
3773 (rint_downward_test_data): Likewise.
3774 (rint_upward_test_data): Likewise.
3775 (round_test_data): Likewise.
3776 (scalb_test_data): Likewise.
3777 (scalbn_test_data): Likewise.
3778 (scalbln_test_data): Likewise.
3779 (signbit_test_data): Likewise.
3780 (sin_test_data): Likewise.
3781 (sin_tonearest_test_data): Likewise.
3782 (sin_towardzero_test_data): Likewise.
3783 (sin_downward_test_data): Likewise.
3784 (sin_upward_test_data): Likewise.
3785 (sincos_test_data): Likewise.
3786 (sinh_test_data): Likewise.
3787 (sinh_tonearest_test_data): Likewise.
3788 (sinh_towardzero_test_data): Likewise.
3789 (sinh_downward_test_data): Likewise.
3790 (sinh_upward_test_data): Likewise.
3791 (sqrt_test_data): Likewise.
3792 (tan_test_data): Likewise.
3793 (tan_tonearest_test_data): Likewise.
3794 (tan_towardzero_test_data): Likewise.
3795 (tan_downward_test_data): Likewise.
3796 (tan_upward_test_data): Likewise.
3797 (tanh_test_data): Likewise.
3798 (tgamma_test_data): Likewise.
3799 (trunc_test_data): Likewise.
3800 (y0_test_data): Likewise.
3801 (y1_test_data): Likewise.
3802 (yn_test_data): Likewise.
3803 (significand_test_data): Likewise.
3804
b679a606
JM
3805 * math/gen-libm-test.pl (@functions): Remove variable.
3806 (generate_testfile): Don't handle START and END lines.
3807 * math/libm-test.inc (START): New macro.
3808 (END): Likewise.
3809 (END_COMPLEX): Likewise.
3810 (acos_test): Use END macro without arguments.
3811 (acos_test_tonearest): Likewise.
3812 (acos_test_towardzero): Likewise.
3813 (acos_test_downward): Likewise.
3814 (acos_test_upward): Likewise.
3815 (acosh_test): Likewise.
3816 (asin_test): Likewise.
3817 (asin_test_tonearest): Likewise.
3818 (asin_test_towardzero): Likewise.
3819 (asin_test_downward): Likewise.
3820 (asin_test_upward): Likewise.
3821 (asinh_test): Likewise.
3822 (atan_test): Likewise.
3823 (atanh_test): Likewise.
3824 (atan2_test): Likewise.
3825 (cabs_test): Likewise.
3826 (cacos_test): Use END_COMPLEX macro without arguments.
3827 (cacosh_test): Likewise.
3828 (carg_test): Use END macro without arguments.
3829 (casin_test): Use END_COMPLEX macro without arguments.
3830 (casinh_test): Likewise.
3831 (catan_test): Likewise.
3832 (catanh_test): Likewise.
3833 (cbrt_test): Use END macro without arguments.
3834 (ccos_test): Use END_COMPLEX macro without arguments.
3835 (ccosh_test): Likewise.
3836 (ceil_test): Use END macro without arguments.
3837 (cexp_test): Use END_COMPLEX macro without arguments.
3838 (cimag_test): Use END macro without arguments.
3839 (clog_test): Use END_COMPLEX macro without arguments.
3840 (clog10_test): Likewise.
3841 (conj_test): Likewise.
3842 (copysign_test): Use END macro without arguments.
3843 (cos_test): Likewise.
3844 (cos_test_tonearest): Likewise.
3845 (cos_test_towardzero): Likewise.
3846 (cos_test_downward): Likewise.
3847 (cos_test_upward): Likewise.
3848 (cosh_test): Likewise.
3849 (cosh_test_tonearest): Likewise.
3850 (cosh_test_towardzero): Likewise.
3851 (cosh_test_downward): Likewise.
3852 (cosh_test_upward): Likewise.
3853 (cpow_test): Use END_COMPLEX macro without arguments.
3854 (cproj_test): Likewise.
3855 (creal_test): Use END macro without arguments.
3856 (csin_test): Use END_COMPLEX macro without arguments.
3857 (csinh_test): Likewise.
3858 (csqrt_test): Likewise.
3859 (ctan_test): Likewise.
3860 (ctan_test_tonearest): Likewise.
3861 (ctan_test_towardzero): Likewise.
3862 (ctan_test_downward): Likewise.
3863 (ctan_test_upward): Likewise.
3864 (ctanh_test): Likewise.
3865 (ctanh_test_tonearest): Likewise.
3866 (ctanh_test_towardzero): Likewise.
3867 (ctanh_test_downward): Likewise.
3868 (ctanh_test_upward): Likewise.
3869 (erf_test): Use END macro without arguments.
3870 (erfc_test): Likewise.
3871 (exp_test): Likewise.
3872 (exp_test_tonearest): Likewise.
3873 (exp_test_towardzero): Likewise.
3874 (exp_test_downward): Likewise.
3875 (exp_test_upward): Likewise.
3876 (exp10_test): Likewise.
3877 (exp2_test): Likewise.
3878 (expm1_test): Likewise.
3879 (fabs_test): Likewise.
3880 (fdim_test): Likewise.
3881 (finite_test): Likewise.
3882 (floor_test): Likewise.
3883 (fma_test): Likewise.
3884 (fma_test_towardzero): Likewise.
3885 (fma_test_downward): Likewise.
3886 (fma_test_upward): Likewise.
3887 (fmax_test): Likewise.
3888 (fmin_test): Likewise.
3889 (fmod_test): Likewise.
3890 (fpclassify_test): Likewise.
3891 (frexp_test): Likewise.
3892 (gamma_test): Likewise.
3893 (hypot_test): Likewise.
3894 (ilogb_test): Likewise.
3895 (isfinite_test): Likewise.
3896 (isgreater_test): Likewise.
3897 (isgreaterequal_test): Likewise.
3898 (isinf_test): Likewise.
3899 (isless_test): Likewise.
3900 (islessequal_test): Likewise.
3901 (islessgreater_test): Likewise.
3902 (isnan_test): Likewise.
3903 (isnormal_test): Likewise.
3904 (issignaling_test): Likewise.
3905 (isunordered_test): Likewise.
3906 (j0_test): Likewise.
3907 (j1_test): Likewise.
3908 (jn_test): Likewise.
3909 (ldexp_test): Likewise.
3910 (lgamma_test): Likewise.
3911 (lrint_test): Likewise.
3912 (lrint_test_tonearest): Likewise.
3913 (lrint_test_towardzero): Likewise.
3914 (lrint_test_downward): Likewise.
3915 (lrint_test_upward): Likewise.
3916 (llrint_test): Likewise.
3917 (llrint_test_tonearest): Likewise.
3918 (llrint_test_towardzero): Likewise.
3919 (llrint_test_downward): Likewise.
3920 (llrint_test_upward): Likewise.
3921 (log_test): Likewise.
3922 (log10_test): Likewise.
3923 (log1p_test): Likewise.
3924 (log2_test): Likewise.
3925 (logb_test): Likewise.
3926 (logb_test_downward): Likewise.
3927 (lround_test): Likewise.
3928 (llround_test): Likewise.
3929 (modf_test): Likewise.
3930 (nearbyint_test): Likewise.
3931 (nextafter_test): Likewise.
3932 (nexttoward_test): Likewise.
3933 (pow_test): Likewise.
3934 (pow_test_tonearest): Likewise.
3935 (pow_test_towardzero): Likewise.
3936 (pow_test_downward): Likewise.
3937 (pow_test_upward): Likewise.
3938 (remainder_test): Likewise.
3939 (remainder_test_tonearest): Likewise.
3940 (remainder_test_towardzero): Likewise.
3941 (remainder_test_downward): Likewise.
3942 (remainder_test_upward): Likewise.
3943 (remquo_test): Likewise.
3944 (rint_test): Likewise.
3945 (rint_test_tonearest): Likewise.
3946 (rint_test_towardzero): Likewise.
3947 (rint_test_downward): Likewise.
3948 (rint_test_upward): Likewise.
3949 (round_test): Likewise.
3950 (scalb_test): Likewise.
3951 (scalbn_test): Likewise.
3952 (scalbln_test): Likewise.
3953 (signbit_test): Likewise.
3954 (sin_test): Likewise.
3955 (sin_test_tonearest): Likewise.
3956 (sin_test_towardzero): Likewise.
3957 (sin_test_downward): Likewise.
3958 (sin_test_upward): Likewise.
3959 (sincos_test): Likewise.
3960 (sinh_test): Likewise.
3961 (sinh_test_tonearest): Likewise.
3962 (sinh_test_towardzero): Likewise.
3963 (sinh_test_downward): Likewise.
3964 (sinh_test_upward): Likewise.
3965 (sqrt_test): Likewise.
3966 (tan_test): Likewise.
3967 (tan_test_tonearest): Likewise.
3968 (tan_test_towardzero): Likewise.
3969 (tan_test_downward): Likewise.
3970 (tan_test_upward): Likewise.
3971 (tanh_test): Likewise.
3972 (tgamma_test): Likewise.
3973 (trunc_test): Likewise.
3974 (y0_test): Likewise.
3975 (y1_test): Likewise.
3976 (yn_test): Likewise.
3977 (significand_test): Likewise.
3978
bae143d2
OB
39792013-05-24 Ondřej Bílka <neleai@seznam.cz>
3980
3981 [BZ #15381]
3982 * libio/genops.c (_IO_no_init): Initialize wide struct info.
3983
9323d39b
EM
39842013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
3985
d4ea44a0 3986 [BZ #14894]
9323d39b
EM
3987 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
3988 __ppc_mdoio and __ppc_mdoom.
3989 * manual/platform.texi: Document new functions __ppc_yield,
3990 __ppc_mdoio and __ppc_mdoom.
3991
13e23af7
CD
39922013-05-22 Carlos O'Donell <carlos@redhat.com>
3993
3994 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
3995 (main): Mention "tls" pseudo-hwcap is legacy.
3996 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
3997
351fe550
JM
39982013-05-22 Joseph Myers <joseph@codesourcery.com>
3999
4000 * math/gen-libm-test.pl (parse_args): Output only string of
4001 arguments as text for test name, not full call or descriptions of
4002 tests for extra outputs.
4003 (generate_testfile): Do not pass function name to parse_args.
4004 Generate this_func variable from START.
4005 * math/libm-test.inc (struct test_f_f_data): Rename test_name
4006 field to arg_str.
4007 (struct test_ff_f_data): Likewise.
4008 (test_ff_f_data_nexttoward): Likewise.
4009 (struct test_fi_f_data): Likewise.
4010 (struct test_fl_f_data): Likewise.
4011 (struct test_if_f_data): Likewise.
4012 (struct test_fff_f_data): Likewise.
4013 (struct test_c_f_data): Likewise.
4014 (struct test_f_f1_data): Likewise. Remove field extra_name.
4015 (struct test_fF_f1_data): Likewise.
4016 (struct test_ffI_f1_data): Likewise.
4017 (struct test_c_c_data): Rename test_name field to arg_str.
4018 (struct test_cc_c_data): Likewise.
4019 (struct test_f_i_data): Likewise.
4020 (struct test_ff_i_data): Likewise.
4021 (struct test_f_l_data): Likewise.
4022 (struct test_f_L_data): Likewise.
4023 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
4024 and extra2_name.
4025 (COMMON_TEST_SETUP): New macro.
4026 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4027 (COMMON_TEST_CLEANUP): Likewise.
4028 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4029 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
4030 macros.
4031 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
4032 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
4033 macros.
4034 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
4035 (RUN_TEST_fff_f): Take argument string. Call new setup and
4036 cleanup macros.
4037 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
4038 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
4039 macros.
4040 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
4041 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
4042 macros.
4043 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4044 (RUN_TEST_fF_f1): Take argument string. Call new setup and
4045 cleanup macros.
4046 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4047 (RUN_TEST_fI_f1): Take argument string. Call new setup and
4048 cleanup macros.
4049 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4050 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
4051 cleanup macros.
4052 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4053 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
4054 macros.
4055 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
4056 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
4057 macros.
4058 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
4059 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
4060 macros.
4061 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
4062 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
4063 cleanup macros.
4064 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
4065 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
4066 cleanup macros.
4067 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
4068 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
4069 macros.
4070 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
4071 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
4072 cleanup macros.
4073 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
4074 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
4075 macros.
4076 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
4077 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
4078 macros.
4079 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
4080 (RUN_TEST_fFF_11): Take argument string. Call new setup and
4081 cleanup macros.
4082 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
4083
85118d4d
EBM
40842013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4085
4086 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
4087 to _sifields.sigfault.
4088 (si_addr_lsb): Define new macro.
4089 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4090 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4091 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
4092
7a44c18f
CD
40932013-05-03 Carlos O'Donell <carlos at redhat.com>
4094
4095 [BZ #15441]
4096 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
4097 returns -1.
4098 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
4099 null return -1.
4100 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
4101 loading the domain.
4102
b50a7181
JM
41032013-05-22 Joseph Myers <joseph@codesourcery.com>
4104
4105 * math/gen-libm-test.pl (parse_args): Do not include expected
4106 result in test name.
4107 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
4108 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4109 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4110 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4111 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4113
051063c8
SP
41142013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4115
3ce9e010
SP
4116 * benchtests/Makefile: Sort function entries.
4117
051063c8
SP
4118 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
4119 tanh, asinh, acosh, atanh.
4120 * benchtests/acos-inputs: New file.
4121 * benchtests/acosh-inputs: New file.
4122 * benchtests/asin-inputs: New file.
4123 * benchtests/asinh-inputs: New file.
4124 * benchtests/atanh-inputs: New file.
4125 * benchtests/cosh-inputs: New file.
4126 * benchtests/log-inputs: New file.
4127 * benchtests/sinh-inputs: New file.
4128 * benchtests/tanh-inputs: New file.
4129
47c22455
DL
41302013-05-21 Dmitry V. Levin <ldv@altlinux.org>
4131
4132 [BZ #15339]
4133 * posix/tst-getaddrinfo4.c: New test.
4134 * posix/Makefile (tests): Add it.
4135
3d04f5db
SP
41362013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4137
4138 [BZ #15339]
4139 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
4140 when no services were used.
4141 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
4142 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
4143
d5dd6189
AS
41442013-05-21 Andreas Schwab <schwab@suse.de>
4145
4146 [BZ #15014]
4147 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
4148 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
4149 successful.
4150 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
4151 redundant variable declarations and reallocation of buffer when
4152 parsing as IPv6 address. Always set NSS status when called from
4153 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
4154 buffer too small. Correct computation of needed size.
4155 * nss/Makefile (tests): Add test-digits-dots.
4156 * nss/test-digits-dots.c: New test.
4157
fef94eab
SP
41582013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4159
4160 * benchtests/Makefile: Remove instructions for adding
4161 benchmark tests.
4162 * benchtests/README: New file to explain how to execute and
4163 enhance the benchmark tests.
4164
e39adf43
AS
41652013-05-21 Andreas Schwab <schwab@suse.de>
4166
4167 [BZ #15493]
4168 * setjmp/Makefile (tests): Add tst-sigsetjmp.
4169 * setjmp/tst-sigsetjmp.c: New test.
4170
b2b671b6
OB
41712013-05-20 Ondřej Bílka <neleai@seznam.cz>
4172
4173 * sysdeps/x86_64/memset.S (memset): New implementation.
4174 (__bzero): Likewise.
4175 (__memset_tail): New function.
4176
2d48b41c
OB
41772013-05-20 Ondřej Bílka <neleai@seznam.cz>
4178
4179 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
4180 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
4181 __memcpy_sse2_unaligned ifunc selection.
4182 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4183 Add memcpy-sse2-unaligned.S.
4184 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4185 Add: __memcpy_sse2_unaligned.
4186
f16cc3eb
JM
41872013-05-19 Joseph Myers <joseph@codesourcery.com>
4188
3e694268
JM
4189 [BZ #15490]
4190 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4191 math_force_eval before restoring floating-point envrionment.
4192 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
4193 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4194 Likewise.
4195 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
4196 <math_private.h>.
4197 (__nearbyintl): Use math_force_eval before restoring
4198 floating-point environment.
4199 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
4200
db62a907
JM
4201 * math/gen-libm-test.pl (special_functions): Remove.
4202 (parse_args): Don't handle TEST_extra. Handle functions with no
4203 return value.
4204 * math/libm-test.inc (struct test_sincos_data): Replace with
4205 struct test_fFF_11_data.
4206 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
4207 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
4208 (sincos_test_data): Change element type to struct
4209 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
4210 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
4211 RUN_TEST_LOOP_sincos.
4212 * math/README.libm-test: Don't mention special handling of
4213 individual functions.
4214 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
4215 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4216 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4217 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4218 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4220
f16cc3eb
JM
4221 * math/gen-libm-test.pl (get_variable): Remove function.
4222 (parse_args): Don't show pointer parameters to call in test
4223 names. Use "extra output N" in test names for extra outputs
4224 rather than naming variables.
4225
3779b5b6
JM
42262013-05-18 Joseph Myers <joseph@codesourcery.com>
4227
2ee094ff
JM
4228 [BZ #15488]
4229 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
4230 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
4231 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
4232 double tests.
4233 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
4234 disable.
4235 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
4236 check_long_double.
4237
3779b5b6
JM
4238 * math/gen-libm-test.pl (@tests): Remove variable.
4239 ($count): Likewise.
4240 (new_test): Remove function.
4241 (show_exceptions): New function.
4242 (special_functions): Use show_exceptions instead of new_test.
4243 (parse_args): Likewise.
4244 (generate_testfile): Pass only function name in generated call to
4245 print_max_error or print_complex_max_error.
4246 (get_ulps): Do not handle complex tests specially.
4247 (output_test): Rename to ...
4248 (get_all_ulps_for_test): ... this. Return a string rather than
4249 printing to a file. Require ulps to be present.
4250 (output_ulps): Generate arrays rather than #defines.
4251 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
4252 (struct ulp_data): New type.
4253 (BUILD_COMPLEX_ULP): Remove macro.
4254 (compare_ulp_data): New function.
4255 (find_ulps): Likewise.
4256 (find_test_ulps): Likewise.
4257 (find_function_ulps): Likewise.
4258 (find_complex_function_ulps): Likewise.
4259 (print_max_error): Determine allowed ulps using
4260 find_function_ulps.
4261 (print_complex_max_error): Determine allowed ulps using
4262 find_complex_function_ulps.
4263 (check_float_internal): Determine max ulps using find_test_ulps.
4264 (check_float): Do not take max_ulp parameter. Update call to
4265 check_float_internal.
4266 (check_complex): Likewise.
4267 (check_int): Do not take max_ulp parameter.
4268 (check_long): Likewise.
4269 (check_bool): Likewise.
4270 (check_longlong): Likewise.
4271 (struct test_f_f_data): Remove max_ulp field.
4272 (struct test_ff_f_data): Likewise.
4273 (struct test_ff_f_data_nexttoward): Likewise.
4274 (struct test_fi_f_data): Likewise.
4275 (struct test_fl_f_data): Likewise.
4276 (struct test_if_f_data): Likewise.
4277 (struct test_fff_f_data): Likewise.
4278 (struct test_c_f_data): Likewise.
4279 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
4280 (struct test_fF_f1_data): Likewise.
4281 (struct test_ffI_f1_data): Likewise.
4282 (struct test_c_c_data): Remove max_ulp field.
4283 (struct test_cc_c_data): Likewise.
4284 (struct test_f_i_data): Likewise.
4285 (struct test_ff_i_data): Likewise.
4286 (struct test_f_l_data): Likewise.
4287 (struct test_f_L_data): Likewise.
4288 (struct test_sincos_data): Likewise.
4289 (RUN_TEST_f_f): Do not handle ulps.
4290 (RUN_TEST_LOOP_f_f): Likewise.
4291 (RUN_TEST_2_f): Likewise.
4292 (RUN_TEST_LOOP_2_f): Likewise.
4293 (RUN_TEST_fff_f): Likewise.
4294 (RUN_TEST_LOOP_fff_f): Likewise.
4295 (RUN_TEST_c_f): Likewise.
4296 (RUN_TEST_LOOP_c_f): Likewise.
4297 (RUN_TEST_f_f1): Likewise.
4298 (RUN_TEST_LOOP_f_f1): Likewise.
4299 (RUN_TEST_fF_f1): Likewise.
4300 (RUN_TEST_LOOP_fF_f1): Likewise.
4301 (RUN_TEST_fI_f1): Likewise.
4302 (RUN_TEST_LOOP_fI_f1): Likewise.
4303 (RUN_TEST_ffI_f1): Likewise.
4304 (RUN_TEST_LOOP_ffI_f1): Likewise.
4305 (RUN_TEST_c_c): Likewise.
4306 (RUN_TEST_LOOP_c_c): Likewise.
4307 (RUN_TEST_cc_c): Likewise.
4308 (RUN_TEST_LOOP_cc_c): Likewise.
4309 (RUN_TEST_f_i): Likewise.
4310 (RUN_TEST_LOOP_f_i): Likewise.
4311 (RUN_TEST_f_i_tg): Likewise.
4312 (RUN_TEST_LOOP_f_i_tg): Likewise.
4313 (RUN_TEST_ff_i_tg): Likewise.
4314 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4315 (RUN_TEST_f_b): Likewise.
4316 (RUN_TEST_LOOP_f_b): Likewise.
4317 (RUN_TEST_f_b_tg): Likewise.
4318 (RUN_TEST_LOOP_f_b_tg): Likewise.
4319 (RUN_TEST_f_l): Likewise.
4320 (RUN_TEST_LOOP_f_l): Likewise.
4321 (RUN_TEST_f_L): Likewise.
4322 (RUN_TEST_LOOP_f_L): Likewise.
4323 (RUN_TEST_sincos): Likewise.
4324 (RUN_TEST_LOOP_sincos): Likewise.
4325
8269107f
JM
43262013-05-17 Joseph Myers <joseph@codesourcery.com>
4327
bb38759d
JM
4328 [BZ #15480]
4329 [BZ #15485]
4330 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
4331 main case of finite arguments, set rounding mode to FE_TONEAREST
4332 and discard exceptions.
4333 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
4334 exceptions.
4335 (remainder_tonearest_test_data): New variable.
4336 (remainder_test_tonearest): New function.
4337 (remainder_towardzero_test_data): New variable.
4338 (remainder_test_towardzero): New function.
4339 (remainder_downward_test_data): New variable.
4340 (remainder_test_downward): New function.
4341 (remainder_upward_test_data): New variable.
4342 (remainder_test_upward): New function.
4343 (main): Call the new test functions.
4344
a00bdcf0
JM
4345 * math/libm-test.inc (struct test_f_f1_data): Remove field
4346 extra_init.
4347 (struct test_fF_f1_data): Likewise.
4348 (struct test_ffI_f1_data): Likewise.
4349 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
4350 based on value of EXTRA_EXPECTED.
4351 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4352 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
4353 EXTRA_VAR based on value of EXTRA_EXPECTED.
4354 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4355 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
4356 EXTRA_VAR based on value of EXTRA_EXPECTED.
4357 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4358 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
4359 EXTRA_VAR based on value of EXTRA_EXPECTED.
4360 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4361 * math/gen-libm-test.pl (parse_args): Don't output initializers
4362 for extra output values.
4363
de407f79
JM
4364 * math/libm-test.inc (check_int): Expect result to be exactly
4365 equal to expected value and do not handle ulps.
4366 (check_long): Likewise.
4367 (check_longlong): Likewise.
4368
8269107f
JM
4369 * math/libm-test.inc (ceil_test_data): Test for "inexact"
4370 exceptions.
4371 (cimag_test_data): Likewise.
4372 (conj_test_data): Likewise.
4373 (copysign_test_data): Likewise.
4374 (cproj_test_data): Likewise.
4375 (creal_test_data): Likewise.
4376 (fabs_test_data): Likewise.
4377 (fdim_test_data): Likewise.
4378 (finite_test_data): Likewise.
4379 (floor_test_data): Likewise.
4380 (fmax_test_data): Likewise.
4381 (fmin_test_data): Likewise.
4382 (fmod_test_data): Likewise.
4383 (fpclassify_test_data): Likewise.
4384 (frexp_test_data): Likewise.
4385 (ilogb_test_data): Likewise.
4386 (isfinite_test_data): Likewise.
4387 (isgreater_test_data): Likewise.
4388 (isgreaterequal_test_data): Likewise.
4389 (isinf_test_data): Likewise.
4390 (isless_test_data): Likewise.
4391 (islessequal_test_data): Likewise.
4392 (islessgreater_test_data): Likewise.
4393 (isnan_test_data): Likewise.
4394 (isnormal_test_data): Likewise.
4395 (issignaling_test_data): Likewise.
4396 (isunordered_test_data): Likewise.
4397 (ldexp_test_data): Likewise.
4398 (lrint_test_data): Likewise.
4399 (lrint_test_data) [TEST_FLOAT]: Disable one test.
4400 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
4401 (lrint_tonearest_test_data): Test for "inexact" exceptions.
4402 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4403 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
4404 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4405 test input.
4406 (lrint_towardzero_test_data): Test for "inexact" exceptions.
4407 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4408 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
4409 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
4410 that test input.
4411 (lrint_downward_test_data): Test for "inexact" exceptions.
4412 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4413 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
4414 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4415 test input.
4416 (lrint_upward_test_data): Test for "inexact" exceptions.
4417 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
4418 test input.
4419 (llrint_test_data): Test for "inexact" exceptions.
4420 (llrint_test_data) [TEST_FLOAT]: Disable one test.
4421 (llrint_tonearest_test_data): Test for "inexact" exceptions.
4422 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4423 (llrint_towardzero_test_data): Test for "inexact" exceptions.
4424 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4425 (llrint_downward_test_data): Test for "inexact" exceptions.
4426 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4427 (llrint_upward_test_data): Test for "inexact" exceptions.
4428 (logb_test_data): Likewise.
4429 (logb_downward_test_data): Likewise.
4430 (nextafter_test_data): Likewise.
4431 (nexttoward_test_data): Likewise.
4432 (remainder_test_data): Likewise.
4433 (remquo_test_data): Likewise.
4434 (scalbn_test_data): Likewise.
4435 (scalbln_test_data): Likewise.
4436 (signbit_test_data): Likewise.
4437 (sqrt_test_data): Likewise.
4438 (significand_test_data): Likewise.
4439
48a18de1
SP
44402013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4441
4442 [BZ #15424]
4443 * benchtests/bench-modf.c (struct args): Mark arg0 as
4444 volatile.
4445 * scripts/bench.pl: Mark members of struct args as volatile.
4446
13d3b41a
AZ
44472013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4448
68191c1d 4449 [BZ # 15497]
13d3b41a
AZ
4450 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
4451 negative infinity on POWER6 or lower.
4452 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
4453
2848b105
MR
44542013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4455
4456 [BZ #15442]
4457 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
4458 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
4459 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
4460 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
4461 (_FP_SETQNAN): New macro.
4462 (_FP_SETQNAN_SEMIRAW): Likewise.
4463 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
4464 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
4465 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
4466 (FP_EXTEND): Use _FP_FRAC_SNANP.
4467 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
4468 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
4469 into account.
4470 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4471 New macro.
4472 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4473 Likewise.
4474
323e5cb7
JM
44752013-05-16 Joseph Myers <joseph@codesourcery.com>
4476
c58b274f
JM
4477 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
4478 with DIVIDE_BY_ZERO_EXCEPTION.
4479 (gamma_test_data): Likewise.
4480 (lgamma_test_data): Likewise.
4481 (log_test_data): Likewise.
4482 (log10_test_data): Likewise.
4483 (log2_test_data): Likewise.
4484 (tgamma_test_data): Likewise.
4485
0ab34904
JM
4486 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
4487 (acos_test_tonearest): Likewise.
4488 (acos_test_towardzero): Likewise.
4489 (acos_test_downward): Likewise.
4490 (acos_test_upward): Likewise.
4491 (acosh_test): Likewise.
4492 (asin_test): Likewise.
4493 (asin_test_tonearest): Likewise.
4494 (asin_test_towardzero): Likewise.
4495 (asin_test_downward): Likewise.
4496 (asin_test_upward): Likewise.
4497 (asinh_test): Likewise.
4498 (atan_test): Likewise.
4499 (atanh_test): Likewise.
4500 (atan2_test): Likewise.
4501 (cabs_test): Likewise.
4502 (cacos_test): Likewise.
4503 (cacosh_test): Likewise.
4504 (casin_test): Likewise.
4505 (casinh_test): Likewise.
4506 (catan_test): Likewise.
4507 (catanh_test): Likewise.
4508 (cbrt_test): Likewise.
4509 (ccos_test): Likewise.
4510 (ccosh_test): Likewise.
4511 (cexp_test): Likewise.
4512 (clog_test): Likewise.
4513 (clog10_test): Likewise.
4514 (cos_test): Likewise.
4515 (cos_test_tonearest): Likewise.
4516 (cos_test_towardzero): Likewise.
4517 (cos_test_downward): Likewise.
4518 (cos_test_upward): Likewise.
4519 (cosh_test): Likewise.
4520 (cosh_test_tonearest): Likewise.
4521 (cosh_test_towardzero): Likewise.
4522 (cosh_test_downward): Likewise.
4523 (cosh_test_upward): Likewise.
4524 (cpow_test): Likewise.
4525 (csin_test): Likewise.
4526 (csinh_test): Likewise.
4527 (csqrt_test): Likewise.
4528 (ctan_test): Likewise.
4529 (ctan_test_tonearest): Likewise.
4530 (ctan_test_towardzero): Likewise.
4531 (ctan_test_downward): Likewise.
4532 (ctan_test_upward): Likewise.
4533 (ctanh_test): Likewise.
4534 (ctanh_test_tonearest): Likewise.
4535 (ctanh_test_towardzero): Likewise.
4536 (ctanh_test_downward): Likewise.
4537 (ctanh_test_upward): Likewise.
4538 (erf_test): Likewise.
4539 (erfc_test): Likewise.
4540 (exp_test): Likewise.
4541 (exp_test_tonearest): Likewise.
4542 (exp_test_towardzero): Likewise.
4543 (exp_test_downward): Likewise.
4544 (exp_test_upward): Likewise.
4545 (exp10_test): Likewise.
4546 (exp2_test): Likewise.
4547 (expm1_test): Likewise.
4548 (fmod_test): Likewise.
4549 (gamma_test): Likewise.
4550 (hypot_test): Likewise.
4551 (j0_test): Likewise.
4552 (j1_test): Likewise.
4553 (jn_test): Likewise.
4554 (lgamma_test): Likewise.
4555 (log_test): Likewise.
4556 (log10_test): Likewise.
4557 (log1p_test): Likewise.
4558 (log2_test): Likewise.
4559 (logb_test_downward): Likewise.
4560 (pow_test): Likewise.
4561 (pow_test_tonearest): Likewise.
4562 (pow_test_towardzero): Likewise.
4563 (pow_test_downward): Likewise.
4564 (pow_test_upward): Likewise.
4565 (remainder_test): Likewise.
4566 (remquo_test): Likewise.
4567 (sin_test): Likewise.
4568 (sin_test_tonearest): Likewise.
4569 (sin_test_towardzero): Likewise.
4570 (sin_test_downward): Likewise.
4571 (sin_test_upward): Likewise.
4572 (sincos_test): Likewise.
4573 (sinh_test): Likewise.
4574 (sinh_test_tonearest): Likewise.
4575 (sinh_test_towardzero): Likewise.
4576 (sinh_test_downward): Likewise.
4577 (sinh_test_upward): Likewise.
4578 (sqrt_test): Likewise.
4579 (tan_test): Likewise.
4580 (tan_test_tonearest): Likewise.
4581 (tan_test_towardzero): Likewise.
4582 (tan_test_downward): Likewise.
4583 (tan_test_upward): Likewise.
4584 (tanh_test): Likewise.
4585 (tgamma_test): Likewise.
4586 (y0_test): Likewise.
4587 (y1_test): Likewise.
4588 (yn_test): Likewise.
4589
323e5cb7
JM
4590 * math/gen-libm-test.pl (adjust_arg): Remove function.
4591 (special_function): Remove argument $in_func. Only handle
4592 generating output for tables of tests, not inside functions.
4593 (parse_args): Likewise.
4594 (generate_testfile): Remove variable $in_func. Update call to
4595 parse_args.
4596 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
4597 (MINUS_ZERO_INIT): Rename macro to minus_zero.
4598 (PLUS_INFTY_INIT): Rename macro to plus_infty.
4599 (MINUS_INFTY_INIT): Rename macro to minus_infty.
4600 (QNAN_VALUE_INIT): Rename macro to qnan_value.
4601 (MAX_VALUE_INIT): Rename macro to max_value.
4602 (MIN_VALUE_INIT): Rename macro to min_value.
4603 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
4604 (plus_zero): Remove variable.
4605 (minus_zero): Likewise.
4606 (plus_infty): Likewise.
4607 (minus_infty): Likewise.
4608 (qnan_value): Likewise.
4609 (max_value): Likewise.
4610 (min_value): Likewise.
4611 (min_subnorm_value): Likewise.
4612
e054f494
RA
46132013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4614
4615 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
4616 uint64_t or uint32_t usage.
4617 * crypt/sha256-block.c: Likewise.
4618 * crypt/sha256-crypt.c: Likewise.
4619 * crypt/sha256.c: Likewise.
4620 * crypt/sha512-block.c: Likewise.
4621 * crypt/sha512-crypt.c: Likewise.
4622 * crypt/sha512.c: Likewise.
4623 * debug/backtrace-tst.c: Likewise.
4624 * debug/pcprofiledump.c: Likewise.
4625 * elf/cache.c: Likewise.
4626 * elf/dl-cache.c: Likewise.
4627 * elf/dl-misc.c: Likewise.
4628 * elf/dl-profile.c: Likewise.
4629 * elf/dl-support.c: Likewise.
4630 * elf/ldconfig.c: Likewise.
4631 * elf/sprof.c: Likewise.
4632 * iconv/dummy-repertoire.c: Likewise.
4633 * iconv/iconv_charmap.c: Likewise.
4634 * iconv/skeleton.c: Likewise.
4635 * iconvdata/8bit-generic.c: Likewise.
4636 * iconvdata/cp737.h: Likewise.
4637 * iconvdata/cp775.h: Likewise.
4638 * iconvdata/ibm1008.h: Likewise.
4639 * iconvdata/ibm1025.h: Likewise.
4640 * iconvdata/ibm1046.h: Likewise.
4641 * iconvdata/ibm1097.h: Likewise.
4642 * iconvdata/ibm1112.h: Likewise.
4643 * iconvdata/ibm1122.h: Likewise.
4644 * iconvdata/ibm1123.h: Likewise.
4645 * iconvdata/ibm1124.h: Likewise.
4646 * iconvdata/ibm1129.h: Likewise.
4647 * iconvdata/ibm1130.h: Likewise.
4648 * iconvdata/ibm1132.h: Likewise.
4649 * iconvdata/ibm1133.h: Likewise.
4650 * iconvdata/ibm1137.h: Likewise.
4651 * iconvdata/ibm1140.h: Likewise.
4652 * iconvdata/ibm1141.h: Likewise.
4653 * iconvdata/ibm1142.h: Likewise.
4654 * iconvdata/ibm1143.h: Likewise.
4655 * iconvdata/ibm1144.h: Likewise.
4656 * iconvdata/ibm1145.h: Likewise.
4657 * iconvdata/ibm1146.h: Likewise.
4658 * iconvdata/ibm1147.h: Likewise.
4659 * iconvdata/ibm1148.h: Likewise.
4660 * iconvdata/ibm1149.h: Likewise.
4661 * iconvdata/ibm1153.h: Likewise.
4662 * iconvdata/ibm1154.h: Likewise.
4663 * iconvdata/ibm1155.h: Likewise.
4664 * iconvdata/ibm1156.h: Likewise.
4665 * iconvdata/ibm1157.h: Likewise.
4666 * iconvdata/ibm1158.h: Likewise.
4667 * iconvdata/ibm1160.h: Likewise.
4668 * iconvdata/ibm1161.h: Likewise.
4669 * iconvdata/ibm1162.h: Likewise.
4670 * iconvdata/ibm1163.h: Likewise.
4671 * iconvdata/ibm1164.h: Likewise.
4672 * iconvdata/ibm1166.h: Likewise.
4673 * iconvdata/ibm1167.h: Likewise.
4674 * iconvdata/ibm12712.h: Likewise.
4675 * iconvdata/ibm1390.h: Likewise.
4676 * iconvdata/ibm1399.h: Likewise.
4677 * iconvdata/ibm16804.h: Likewise.
4678 * iconvdata/ibm4517.h: Likewise.
4679 * iconvdata/ibm4899.h: Likewise.
4680 * iconvdata/ibm4909.h: Likewise.
4681 * iconvdata/ibm4971.h: Likewise.
4682 * iconvdata/ibm5347.h: Likewise.
4683 * iconvdata/ibm803.h: Likewise.
4684 * iconvdata/ibm856.h: Likewise.
4685 * iconvdata/ibm901.h: Likewise.
4686 * iconvdata/ibm902.h: Likewise.
4687 * iconvdata/ibm9030.h: Likewise.
4688 * iconvdata/ibm9066.h: Likewise.
4689 * iconvdata/ibm921.h: Likewise.
4690 * iconvdata/ibm922.h: Likewise.
4691 * iconvdata/ibm9448.h: Likewise.
4692 * iconvdata/isiri-3342.h: Likewise.
4693 * iconvdata/jis0201.h: Likewise.
4694 * include/link.h: Likewise.
4695 * include/netdb.h: Likewise.
4696 * inet/check_native.c: Likewise.
4697 * inet/check_pf.c: Likewise.
4698 * inet/getipv4sourcefilter.c: Likewise.
4699 * inet/getnameinfo.c: Likewise.
4700 * inet/getsourcefilter.c: Likewise.
4701 * inet/htonl.c: Likewise.
4702 * inet/setipv4sourcefilter.c: Likewise.
4703 * inet/setsourcefilter.c: Likewise.
4704 * inet/test-inet6_opt.c: Likewise.
4705 * inet/tst-network.c: Likewise.
4706 * locale/C-collate.c: Likewise.
4707 * locale/C-ctype.c: Likewise.
4708 * locale/C-time.c: Likewise.
4709 * locale/C-translit.h: Likewise.
4710 * locale/loadarchive.c: Likewise.
4711 * locale/programs/3level.h: Likewise.
4712 * locale/programs/charmap.c: Likewise.
4713 * locale/programs/charmap.h: Likewise.
4714 * locale/programs/ld-address.c: Likewise.
4715 * locale/programs/ld-collate.c: Likewise.
4716 * locale/programs/ld-ctype.c: Likewise.
4717 * locale/programs/ld-identification.c: Likewise.
4718 * locale/programs/ld-measurement.c: Likewise.
4719 * locale/programs/ld-messages.c: Likewise.
4720 * locale/programs/ld-monetary.c: Likewise.
4721 * locale/programs/ld-name.c: Likewise.
4722 * locale/programs/ld-numeric.c: Likewise.
4723 * locale/programs/ld-paper.c: Likewise.
4724 * locale/programs/ld-telephone.c: Likewise.
4725 * locale/programs/ld-time.c: Likewise.
4726 * locale/programs/linereader.c: Likewise.
4727 * locale/programs/locale.c: Likewise.
4728 * locale/programs/locarchive.c: Likewise.
4729 * locale/programs/locfile.h: Likewise.
4730 * locale/programs/repertoire.c: Likewise.
4731 * locale/programs/simple-hash.c: Likewise.
4732 * locale/programs/simple-hash.h: Likewise.
4733 * malloc/memusage.c: Likewise.
4734 * malloc/memusagestat.c: Likewise.
4735 * nis/nis_defaults.c: Likewise.
4736 * nis/nis_hash.c: Likewise.
4737 * nis/nis_print.c: Likewise.
4738 * nis/nis_xdr.c: Likewise.
4739 * nscd/connections.c: Likewise.
4740 * nscd/hstcache.c: Likewise.
4741 * nscd/nscd_gethst_r.c: Likewise.
4742 * nscd/nscd_getserv_r.c: Likewise.
4743 * nscd/nscd_helper.c: Likewise.
4744 * nscd/servicescache.c: Likewise.
4745 * nss/makedb.c: Likewise.
4746 * nss/nss_db/db-XXX.c: Likewise.
4747 * nss/nss_db/db-initgroups.c: Likewise.
4748 * nss/nss_db/db-netgrp.c: Likewise.
4749 * nss/nss_files/files-network.c: Likewise.
4750 * nss/nss_files/files-parse.c: Likewise.
4751 * posix/bug-regex5.c: Likewise.
4752 * posix/fnmatch_loop.c: Likewise.
4753 * posix/regcomp.c: Likewise.
4754 * posix/regexec.c: Likewise.
4755 * posix/tst-rfc3484-2.c: Likewise.
4756 * posix/tst-rfc3484-3.c: Likewise.
4757 * posix/tst-rfc3484.c: Likewise.
4758 * resolv/nss_dns/dns-canon.c: Likewise.
4759 * resolv/nss_dns/dns-network.c: Likewise.
4760 * resolv/res_init.c: Likewise.
4761 * resolv/res_mkquery.c: Likewise.
4762 * resolv/tst-aton.c: Likewise.
4763 * stdlib/cxa_atexit.c: Likewise.
4764 * stdlib/cxa_finalize.c: Likewise.
4765 * stdlib/gen-fpioconst.c: Likewise.
4766 * stdlib/strtol_l.c: Likewise.
4767 * string/tst-endian.c: Likewise.
4768 * sunrpc/auth_des.c: Likewise.
4769 * sunrpc/clnt_udp.c: Likewise.
4770 * sunrpc/rtime.c: Likewise.
4771 * sunrpc/svcauth_des.c: Likewise.
4772 * sunrpc/xdr.c: Likewise.
4773 * sunrpc/xdr_intXX_t.c: Likewise.
4774 * sunrpc/xdr_rec.c: Likewise.
4775 * sysdeps/generic/ldconfig.h: Likewise.
4776 * sysdeps/generic/ldsodefs.h: Likewise.
4777 * sysdeps/generic/memusage.h: Likewise.
4778 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4779 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
4780 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
4781 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4782 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4783 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4784 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4785 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4786 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4787 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4788 * sysdeps/posix/getaddrinfo.c: Likewise.
4789 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4790 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4791 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4792 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4793 * sysdeps/powerpc/test-gettimebase.c: Likewise.
4794 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4795 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
4796 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
4797 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4798 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
4799 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4800 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4801 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
4802 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
4803 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
4804 * sysdeps/x86_64/dl-tls.h: Likewise.
4805 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
4806 * time/alt_digit.c: Likewise.
4807 * time/era.c: Likewise.
4808 * wcsmbs/tst-c16c32-1.c: Likewise.
4809
8c75f674
JM
48102013-05-16 Joseph Myers <joseph@codesourcery.com>
4811
4812 * math/libm-test.inc (struct test_sincos_data): New type.
4813 (RUN_TEST_LOOP_sincos): New macro.
4814 (sincos_test_data): New variable.
4815 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
4816
e6e49e59
RH
48172013-05-16 Richard Henderson <rth@redhat.com>
4818
4819 * math/atest-exp2.c (LIMB64): New macro.
4820 (CONSTSZ): New macro.
4821 (mp_exp1, mp_exp_m1, mp_log2): New variables.
4822 (hexdig): Move ...
4823 (print_mpn_fp): ... to function scope.
4824 (read_mpn_hex): Remove.
4825 (get_log2): Remove.
4826 (exp2_mpn): Use mp_log2.
4827 (main): Use mp_exp1.
4828
15c7c18d
JM
48292013-05-16 Joseph Myers <joseph@codesourcery.com>
4830
105a07df
JM
4831 * math/libm-test.inc: Remove comment about not testing "inexact"
4832 exceptions.
4833 (INEXACT_EXCEPTION): New macro.
4834 (NO_INEXACT_EXCEPTION): Likewise.
4835 (INVALID_EXCEPTION_OK): Update value.
4836 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4837 (OVERFLOW_EXCEPTION_OK): Likewise.
4838 (UNDERFLOW_EXCEPTION_OK): Likewise.
4839 (IGNORE_ZERO_INF_SIGN): Likewise.
4840 (ERRNO_UNCHANGED): Likewise.
4841 (ERRNO_EDOM): Likewise.
4842 (ERRNO_ERANGE): Likewise.
4843 (test_exceptions): Handle testing "inexact" exceptions.
4844 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
4845 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
4846 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
4847 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
4848 INEXACT_EXCEPTION.
4849 (rint_towardzero_test_data): Likewise.
4850 (rint_downward_test_data): Likewise.
4851 (rint_upward_test_data): Likewise.
4852
e9eee333
JM
4853 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
4854 with OVERFLOW_EXCEPTION.
4855 (exp10_test_data): Likewise.
4856 (exp2_test_data): Likewise.
4857 (expm1_test_data): Likewise.
4858 (lgamma_test_data): Likewise.
4859 (pow_test_data): Likewise.
4860 (tgamma_test_data): Likewise.
4861 (yn_test_data): Remove duplicate test of overflow.
4862
1c38ff73
JM
4863 * math/libm-test.inc (struct test_cc_c_data): New type.
4864 (RUN_TEST_LOOP_cc_c): New macro.
4865 (cpow_test_data): New variable.
4866 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
4867
15c7c18d
JM
4868 * math/libm-test.inc (struct test_f_L_data): New type.
4869 (RUN_TEST_LOOP_f_L): New macro.
4870 (llrint_test_data): New variable.
4871 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
4872 (llrint_tonearest_test_data): New variable.
4873 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
4874 (llrint_towardzero_test_data): New variable.
4875 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
4876 (llrint_downward_test_data): New variable.
4877 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
4878 (llrint_upward_test_data): New variable.
4879 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
4880 (llround_test_data): New variable.
4881 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
4882
f137ff13
PC
48832013-05-13 Peter Collingbourne <pcc@google.com>
4884
4885 * math/atest-exp2.c (get_log2): Remove const attribute.
4886
3608cb24
JM
48872013-05-15 Joseph Myers <joseph@codesourcery.com>
4888
4889 * math/libm-test.inc (struct test_f_l_data): New type.
4890 (RUN_TEST_LOOP_f_l): New macro.
4891 (lrint_test_data): New variable.
4892 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
4893 (lrint_tonearest_test_data): New variable.
4894 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
4895 (lrint_towardzero_test_data): New variable.
4896 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
4897 (lrint_downward_test_data): New variable.
4898 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
4899 (lrint_upward_test_data): New variable.
4900 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
4901 (lround_test_data): New variable.
4902 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
4903
39b1f617
PC
49042013-05-15 Peter Collingbourne <pcc@google.com>
4905
1deff3dc
PC
4906 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
4907 (EXTRACT_WORDS64) Use where appropriate.
4908 (INSERT_WORDS64) Likewise.
4909
791f3ba0
PC
4910 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
4911 constraints with x constraints.
4912 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
4913
39b1f617
PC
4914 * malloc/obstack.c (_obstack_compat): Add initializer.
4915
12fba011
EM
49162013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
4917
4918 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
4919 si_trapno and add si_addr_lsb to _sifields.sigfault.
4920 (si_trapno): Remove macro.
4921 (si_addr_lsb): Define new macro.
4922 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4923
d369f531
JM
49242013-05-15 Joseph Myers <joseph@codesourcery.com>
4925
b861c6c4
JM
4926 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
4927 instead of TEST_f_l.
4928 (llrint_test_tonearest): Likewise.
4929 (llrint_test_towardzero): Likewise.
4930 (llrint_test_downward): Likewise.
4931 (llrint_test_upward): Likewise.
4932 (llround_test): Likewise.
4933
7abeee12
JM
4934 * math/libm-test.inc (struct test_f_i_data): Add comment.
4935 (RUN_TEST_LOOP_f_b): New macro.
4936 (RUN_TEST_LOOP_f_b_tg): Likewise.
4937 (finite_test_data): New variable.
4938 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
4939 (isfinite_test_data): New variable.
4940 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4941 (isinf_test_data): New variable.
4942 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4943 (isnan_test_data): New variable.
4944 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4945 (isnormal_test_data): New variable.
4946 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4947 (issignaling_test_data): New variable.
4948 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4949 (signbit_test_data): New variable.
4950 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4951
cbe8c4d3
JM
4952 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
4953 with INVALID_EXCEPTION.
4954 (acosh_test_data): Likewise.
4955 (asin_test_data): Likewise.
4956 (atanh_test_data): Likewise.
4957 (fmod_test_data): Likewise.
4958 (log_test_data): Likewise.
4959 (log10_test_data): Likewise.
4960 (log2_test_data): Likewise.
4961 (pow_test_data): Likewise.
4962 (sqrt_test_data): Likewise.
4963 (y0_test_data): Likewise.
4964 (y1_test_data): Likewise.
4965 (yn_test_data): Likewise.
4966
5575c0e5
JM
4967 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
4968 function contents.
4969
d369f531
JM
4970 * math/libm-test.inc (struct test_ff_i_data): New type.
4971 (RUN_TEST_LOOP_ff_i_tg): New macro.
4972 (isgreater_test_data): New variable.
4973 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4974 (isgreaterequal_test_data): New variable.
4975 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4976 (isless_test_data): New variable.
4977 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4978 (islessequal_test_data): New variable.
4979 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4980 (islessgreater_test_data): New variable.
4981 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4982 (isunordered_test_data): New variable.
4983 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4984
781fd748
DM
49852013-05-14 David S. Miller <davem@davemloft.net>
4986
4987 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4988
87aa21df
JM
49892013-05-14 Joseph Myers <joseph@codesourcery.com>
4990
5e908270
JM
4991 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4992
f71172e5
JM
4993 * math/libm-test.inc (struct test_fF_f1_data): Change type of
4994 extra_test to int.
4995 (struct test_f_i_data): Change type of max_ulp to int.
4996
8cfa635a
JM
4997 * math/libm-test.inc (test_ffI_f1_data): New type.
4998 (RUN_TEST_LOOP_ffI_f1): New macro.
4999 (remquo_test_data): New variable.
5000 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
5001
2bcb36b2
JM
5002 * setjmp/tst-setjmp-fp.c: New file.
5003 * setjmp/Makefile (tests): Add tst-setjmp-fp.
5004 (link-libm): New variable.
5005 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
5006
acbd839a
JM
5007 * math/libm-test.inc (struct test_f_i_data): New type.
5008 (RUN_TEST_LOOP_f_i): New macro.
5009 (RUN_TEST_LOOP_f_i_tg): Likewise.
5010 (fpclassify_test_data): New variable.
5011 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
5012 (ilogb_test_data): New variable.
5013 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
5014
e414d745
JM
5015 * math/libm-test.inc (scalbln_test): Correct function name in END
5016 call.
5017
d9c2a0fd
JM
5018 * math/libm-test.inc (struct test_f_f1_data): Add comment.
5019 (RUN_TEST_LOOP_fI_f1): New macro.
5020 (frexp_test_data): New variable.
5021 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
5022
9dc9095d
JM
5023 * math/libm-test.inc (struct test_fF_f1_data): New type.
5024 (RUN_TEST_LOOP_fF_f1): New macro.
5025 (modf_test_data): New variable.
5026 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
5027
87aa21df
JM
5028 * math/libm-test.inc (struct test_f_f1_data): New type.
5029 (RUN_TEST_LOOP_f_f1): New macro.
5030 (gamma_test_data): New variable.
5031 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5032 (lgamma_test_data): New variable.
5033 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5034
141af660
CD
50352013-05-13 Carlos O'Donell <carlos@redhat.com>
5036
5037 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
5038 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
5039 (main): Comment "tls" pseudo-hwcap.
5040
6d33265c
JM
50412013-05-13 Joseph Myers <joseph@codesourcery.com>
5042
68fc074c
JM
5043 * math/libm-test.inc (struct test_fl_f_data): New type.
5044 (RUN_TEST_LOOP_fl_f): New variable.
5045 (scalbln_test_data): New variable.
5046 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
5047
243216e1
JM
5048 * math/libm-test.inc (struct test_fi_f_data): New type.
5049 (RUN_TEST_LOOP_fi_f): New macro.
5050 (ldexp_test_data): New variable.
5051 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
5052 (scalbn_test_data): New variable.
5053 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
5054
6a1992e2
JM
5055 * math/libm-test.inc (struct test_c_f_data): New type.
5056 (RUN_TEST_LOOP_c_f): New macro.
5057 (cabs_test_data): New variable.
5058 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
5059 (carg_test_data): New variable.
5060 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
5061 (cimag_test_data): New variable.
5062 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
5063 (creal_test_data): New variable.
5064 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
5065
0e400df5
JM
5066 * math/libm-test.inc (struct test_if_f_data): New type.
5067 (RUN_TEST_LOOP_if_f): New macro.
5068 (jn_test_data): New variable.
5069 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
5070 (yn_test_data): New variable.
5071 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
5072
6d33265c
JM
5073 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
5074
f98ece5f
AZ
50752013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5076
5077 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
5078 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
5079
0f7d347b
SP
50802013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5081
43fe811b
SP
5082 * benchtests/Makefile (CPPFLAGS-nonlib): Add
5083 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
5084 (bench-deps): Add bench-timing.h.
5085 * benchtests-bench-skeleton.c: Include bench-timing.h.
5086 (main): Use TIMING_* macros instead of clock_gettime.
5087 * benchtests/bench-timing.h: New file.
5088
0f7d347b
SP
5089 [BZ #14582]
5090 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
5091 Renamed from _LIB_VERSION.
5092 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
5093
601a3a5f
JM
50942013-05-12 Joseph Myers <joseph@codesourcery.com>
5095
4f184d30
JM
5096 * math/libm-test.inc (struct test_fff_f_data): New type.
5097 (RUN_TEST_LOOP_fff_f): New macro.
5098 (fma_test_data): New variable.
5099 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
5100 (fma_towardzero_test_data): New variable.
5101 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
5102 (fma_downward_test_data): New variable.
5103 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
5104 (fma_upward_test_data): New variable.
5105 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
5106
08198877
JM
5107 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
5108 (struct test_c_c_data): New type.
5109 (RUN_TEST_LOOP_c_c): New macro.
5110 (cacos_test_data): New variable.
5111 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
5112 (cacosh_test_data): New variable.
5113 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
5114 (casin_test_data): New variable.
5115 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
5116 (casinh_test_data): New variable.
5117 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
5118 (catan_test_data): New variable.
5119 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
5120 (catanh_test_data): New variable.
5121 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
5122 (ccos_test_data): New variable.
5123 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
5124 (ccosh_test_data): New variable.
5125 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
5126 (cexp_test_data): New variable.
5127 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
5128 (clog_test_data): New variable.
5129 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
5130 (clog10_test_data): New variable.
5131 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
5132 (conj_test_data): New variable.
5133 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
5134 (cproj_test_data): New variable.
5135 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
5136 (csin_test_data): New variable.
5137 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
5138 (csinh_test_data): New variable.
5139 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
5140 (csqrt_test_data): New variable.
5141 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
5142 (ctan_test_data): New variable.
5143 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
5144 (ctan_tonearest_test_data): New variable.
5145 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5146 (ctan_towardzero_test_data): New variable.
5147 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5148 (ctan_downward_test_data): New variable.
5149 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5150 (ctan_upward_test_data): New variable.
5151 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5152 (ctanh_test_data): New variable.
5153 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
5154 (ctanh_tonearest_test_data): New variable.
5155 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5156 (ctanh_towardzero_test_data): New variable.
5157 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5158 (ctanh_downward_test_data): New variable.
5159 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5160 (ctanh_upward_test_data): New variable.
5161 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5162 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
5163 of BUILD_COMPLEX.
5164
601a3a5f
JM
5165 * math/libm-test.inc (struct test_ff_f_data): New type.
5166 (struct test_ff_f_data_nexttoward): Likewise.
5167 (RUN_TEST_LOOP_2_f): New macro.
5168 (RUN_TEST_LOOP_ff_f): Likewise.
5169 (atan2_test_data): New variable.
5170 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
5171 (copysign_test_data): New variable.
5172 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
5173 (fdim_test_data): New variable.
5174 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
5175 (fmax_test_data): New variable.
5176 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
5177 (fmin_test_data): New variable.
5178 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
5179 (fmod_test_data): New variable.
5180 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
5181 (hypot_test_data): New variable.
5182 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
5183 (nextafter_test_data): New variable.
5184 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
5185 (nexttoward_test_data): New variable.
5186 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
5187 (pow_test_data): New variable.
5188 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
5189 (pow_tonearest_test_data): New variable.
5190 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
5191 (pow_towardzero_test_data): New variable.
5192 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
5193 (pow_downward_test_data): New variable.
5194 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
5195 (pow_upward_test_data): New variable.
5196 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
5197 (remainder_test_data): New variable.
5198 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
5199 (scalb_test_data): New variable.
5200 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
5201 * sysdeps/i386/fpu/libm-test-ulps: Update.
5202
74c57478
JM
52032013-05-11 Joseph Myers <joseph@codesourcery.com>
5204
8329e4da
JM
5205 * math/libm-test.inc (fma_test): Use max_value instead of local
5206 variable fltmax.
5207 (nextafter_test): Likewise.
5208
74c57478
JM
5209 * math/libm-test.inc (acos_towardzero_test_data): New variable.
5210 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5211 (acos_downward_test_data): New variable.
5212 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5213 (acos_upward_test_data): New variable.
5214 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5215 (acosh_test_data): New variable.
5216 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
5217 (asin_test_data): New variable.
5218 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
5219 (asin_tonearest_test_data): New variable.
5220 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5221 (asin_towardzero_test_data): New variable.
5222 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5223 (asin_downward_test_data): New variable.
5224 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5225 (asin_upward_test_data): New variable.
5226 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5227 (asinh_test_data): New variable.
5228 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
5229 (atan_test_data): New variable.
5230 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
5231 (atanh_test_data): New variable.
5232 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
5233 (cbrt_test_data): New variable.
5234 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
5235 (ceil_test_data): New variable.
5236 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
5237 (cos_test_data): New variable.
5238 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
5239 (cos_tonearest_test_data): New variable.
5240 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5241 (cos_towardzero_test_data): New variable.
5242 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5243 (cos_downward_test_data): New variable.
5244 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5245 (cos_upward_test_data): New variable.
5246 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5247 (cosh_test_data): New variable.
5248 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
5249 (cosh_tonearest_test_data): New variable.
5250 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5251 (cosh_towardzero_test_data): New variable.
5252 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5253 (cosh_downward_test_data): New variable.
5254 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5255 (cosh_upward_test_data): New variable.
5256 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5257 (erf_test_data): New variable.
5258 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
5259 (erfc_test_data): New variable.
5260 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
5261 (exp_test_data): New variable.
5262 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
5263 (exp_tonearest_test_data): New variable.
5264 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5265 (exp_towardzero_test_data): New variable.
5266 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5267 (exp_downward_test_data): New variable.
5268 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5269 (exp_upward_test_data): New variable.
5270 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5271 (exp10_test_data): New variable.
5272 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
5273 (exp2_test_data): New variable.
5274 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
5275 (expm1_test_data): New variable.
5276 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
5277 (fabs_test_data): New variable.
5278 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
5279 (floor_test_data): New variable.
5280 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
5281 (j0_test_data): New variable.
5282 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
5283 (j1_test_data): New variable.
5284 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
5285 (log_test_data): New variable.
5286 (log_test): Run tests with RUN_TEST_LOOP_f_f.
5287 (log10_test_data): New variable.
5288 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
5289 (log1p_test_data): New variable.
5290 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
5291 (log2_test_data): New variable.
5292 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
5293 (logb_test_data): New variable.
5294 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
5295 (logb_downward_test_data): New variable.
5296 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5297 (nearbyint_test_data): New variable.
5298 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
5299 (rint_test_data): New variable.
5300 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
5301 (rint_tonearest_test_data): New variable.
5302 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5303 (rint_towardzero_test_data): New variable.
5304 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5305 (rint_downward_test_data): New variable.
5306 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5307 (rint_upward_test_data): New variable.
5308 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5309 (round_test_data): New variable.
5310 (round_test): Run tests with RUN_TEST_LOOP_f_f.
5311 (sin_test_data): New variable.
5312 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
5313 (sin_tonearest_test_data): New variable.
5314 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5315 (sin_towardzero_test_data): New variable.
5316 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5317 (sin_downward_test_data): New variable.
5318 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5319 (sin_upward_test_data): New variable.
5320 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5321 (sinh_test_data): New variable.
5322 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
5323 (sinh_tonearest_test_data): New variable.
5324 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5325 (sinh_towardzero_test_data): New variable.
5326 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5327 (sinh_downward_test_data): New variable.
5328 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5329 (sinh_upward_test_data): New variable.
5330 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5331 (sqrt_test_data): New variable.
5332 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
5333 (tan_test_data): New variable.
5334 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
5335 (tan_tonearest_test_data): New variable.
5336 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5337 (tan_towardzero_test_data): New variable.
5338 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5339 (tan_downward_test_data): New variable.
5340 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5341 (tan_upward_test_data): New variable.
5342 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5343 (tanh_test_data): New variable.
5344 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
5345 (tgamma_test_data): New variable.
5346 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
5347 (trunc_test_data): New variable.
5348 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
5349 (y0_test_data): New variable.
5350 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
5351 (y1_test_data): New variable.
5352 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
5353 (significand_test_data): New variable.
5354 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
5355
7187d844
CG
53562013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
5357
5358 [BZ #12387]
5359 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
5360
f63fae73
PT
53612013-05-10 Pino Toscano <toscano.pino@tiscali.it>
5362
5363 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
5364
8a67a4b3
AJ
53652013-05-10 Andreas Jaeger <aj@suse.de>
5366
5367 [BZ #15448]
5368 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
5369 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
5370
51df539d
JM
53712013-05-10 Joseph Myers <joseph@codesourcery.com>
5372
5373 * math/gen-libm-test.pl (adjust_arg): New function.
5374 (special_functions): Handle generating output in both functions
5375 and arrays.
5376 (parse_args): Likewise.
5377 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
5378 $in_func argument to parse_args.
5379 * math/libm-test.inc (struct test_f_f_data): New type.
5380 (IF_ROUND_INIT_): New macro.
5381 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
5382 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5383 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5384 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5385 (ROUND_RESTORE_): Likewise.
5386 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
5387 (ROUND_RESTORE_FE_TONEAREST): Likewise.
5388 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
5389 (ROUND_RESTORE_FE_UPWARD): Likewise.
5390 (RUN_TEST_LOOP_f_f): New macro.
5391 (acos_test_data): New variable.
5392 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
5393 (acos_tonearest_test_data): New variable.
5394 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5395
5c637fe5
SP
53962013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5397
5398 * benchtests/bench-skeleton.c (startup): Fix coding style.
5399
ab2b9461
JM
54002013-05-10 Joseph Myers <joseph@codesourcery.com>
5401
5402 [BZ #6809]
5403 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
5404 negative infinity argument.
5405 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
5406 negative infinity argument.
5407 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
5408 negative infinity argument.
5409 * math/libm-test.inc (tgamma_test): Expect errno to be set for
5410 domain errors.
5411
4c0fe6fe
FW
54122013-05-10 Florian Weimer <fweimer@redhat.com>
5413
5414 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
5415 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
5416 * iconv/iconv_prog.c (main): Likewise.
5417 * locale/programs/charmap-dir.c (charmap_readdir)
5418 (fopen_uncompressed): Likewise.
5419 * locale/programs/locfile.c (siblings_uncached)
5420 (write_locale_data): Use lstat64 instead of lstat.
5421 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
5422 stat.
5423
a3375d29
AJ
54242013-05-10 Andreas Jaeger <aj@suse.de>
5425
5426 [BZ #15395]
5427 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
5428 localization.
5429 Include <locale.h>.
5430
36129722
CD
54312013-05-09 Carlos O'Donell <carlos@redhat.com>
5432
5433 * elf/dl-close.c (_dl_close_worker): Add comments.
5434
faa7f811
JM
54352013-05-09 Joseph Myers <joseph@codesourcery.com>
5436
ed41ffef
JM
5437 [BZ #15359]
5438 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
5439 high part of pi/2.
5440 (__ieee754_rem_pio2l): Update comments.
5441
d0213cd0
JM
5442 [BZ #15429]
5443 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
5444 high part of pi/2.
5445 (__ieee754_rem_pio2l): Update comments.
5446
0d3e777a
JM
5447 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
5448 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
5449
24f56066
JM
5450 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
5451 M_PI_4l.
5452
faa7f811
JM
5453 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
5454 (M_PI_34_LOG10El): Likewise.
5455 (M_PI2_LOG10El): Likewise.
5456 (M_PI4_LOG10El): Likewise.
5457 (M_PI_LOG10El): Likewise.
5458
e9a5e0fd
AZ
54592013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5460
5461 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5462
d8cd06db
JM
54632013-05-08 Joseph Myers <joseph@codesourcery.com>
5464
a0d9f9d7
JM
5465 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
5466 (MINUS_ZERO_INIT): Likewise.
5467 (PLUS_INFTY_INIT): Likewise.
5468 (MINUS_INFTY_INIT): Likewise.
5469 (QNAN_VALUE_INIT): Likewise.
5470 (MAX_VALUE_INIT): Likewise.
5471 (MIN_VALUE_INIT): Likewise.
5472 (MIN_SUBNORM_VALUE_INIT): Likewise.
5473 (plus_zero): Initialize with PLUS_ZERO_INIT.
5474 (minus_zero): Initialize with MINUS_ZERO_INIT.
5475 (plus_infty): Initialize with PLUS_INFTY_INIT.
5476 (minus_infty): Initialize with MINUS_INFTY_INIT.
5477 (qnan_value): Initialize with QNAN_VALUE_INIT.
5478 (max_value): Initialize with MAX_VALUE_INIT.
5479 (min_value): Initialize with MIN_VALUE_INIT.
5480 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
5481
ae08db3b
JM
5482 * math/libm-test.inc (RUN_TEST_if_f): New macro.
5483 (jn_test): Use TEST_if_f instead of TEST_ff_f.
5484 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
5485 (yn_test): Use TEST_if_f instead of TEST_ff_f.
5486
f44bf14a
JM
5487 * math/libm-test.inc (RUN_TEST_f_f): New macro.
5488 (RUN_TEST_2_f): Likewise.
5489 (RUN_TEST_ff_f): Likewise.
5490 (RUN_TEST_fi_f): Likewise.
5491 (RUN_TEST_fl_f): Likewise.
5492 (RUN_TEST_fff_f): Likewise.
5493 (RUN_TEST_c_f): Likewise.
5494 (RUN_TEST_f_f1): Likewise.
5495 (RUN_TEST_fF_f1): Likewise.
5496 (RUN_TEST_fI_f1): Likewise.
5497 (RUN_TEST_ffI_f1): Likewise.
5498 (RUN_TEST_c_c): Likewise.
5499 (RUN_TEST_cc_c): Likewise.
5500 (RUN_TEST_f_i): Likewise.
5501 (RUN_TEST_f_i_tg): Likewise.
5502 (RUN_TEST_ff_i_tg): Likewise.
5503 (RUN_TEST_f_b): Likewise.
5504 (RUN_TEST_f_b_tg): Likewise.
5505 (RUN_TEST_f_l): Likewise.
5506 (RUN_TEST_f_L): Likewise.
5507 (RUN_TEST_sincos): Likewise.
5508 * math/gen-libm-test.pl (new_test): Take new argument to indicate
5509 whether to show exceptions. Do not include ");\n" in return
5510 value.
5511 (special_functions): Output call to RUN_TEST_sincos instead of
5512 check_float calls. Update calls to new_test.
5513 (parse_args): Output call to single RUN_TEST_* macro instead of
5514 check_* calls and other assignments. Update calls to new_test.
5515
d8cd06db
JM
5516 [BZ #2546]
5517 [BZ #2560]
5518 [BZ #5159]
5519 [BZ #15426]
5520 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
5521 input to result for tgamma overflow.
5522 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
5523 (gamma_coeff): New variable.
5524 (NCOEFF): New macro.
5525 (gamma_positive): New function.
5526 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
5527 underflow here. Use gamma_positive instead of exp (lgamma) for
5528 other arguments.
5529 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
5530 (gamma_coeff): New variable.
5531 (NCOEFF): New macro.
5532 (gammaf_positive): New function.
5533 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
5534 underflow here. Use gamma_positive instead of exp (lgamma) for
5535 other arguments.
5536 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
5537 (gamma_coeff): New variable.
5538 (NCOEFF): New macro.
5539 (gammal_positive): New function.
5540 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
5541 underflow here. Use gamma_positive instead of exp (lgamma) for
5542 other arguments.
5543 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
5544 (gamma_coeff): New variable.
5545 (NCOEFF): New macro.
5546 (gammal_positive): New function.
5547 (__ieee754_gammal_r): Handle positive infinity, overflow and
5548 underflow here. Handle NaN the same as positive infinity. Remove
5549 check x < 0xffffffff for negative integers. Use gamma_positive
5550 instead of exp (lgamma) for other arguments.
5551 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
5552 (gamma_coeff): New variable.
5553 (NCOEFF): New macro.
5554 (gammal_positive): New function.
5555 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
5556 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
5557 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5558 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
5559 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5560 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
5561 * sysdeps/generic/math_private.h (__gamma_productf): New
5562 prototype.
5563 (__gamma_product): Likewise.
5564 (__gamma_productl): Likewise.
5565 * math/Makefile (libm-calls): Add gamma_product.
5566 * math/libm-test.inc (tgamma_test): Add more tests.
5567 * sysdeps/i386/fpu/libm-test-ulps: Update.
5568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5569
bb7cf681
OB
55702013-05-08 Ondřej Bílka <neleai@seznam.cz>
5571
5572 * benchtests/bench-skeleton.c (main): Preheat CPU.
5573
ba853947
AJ
55742013-05-07 Aurelien Jarno <aurelien@aurel32.net>
5575
5576 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
5577
8347c74c
RM
55782013-05-07 Roland McGrath <roland@hack.frob.com>
5579
5580 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
5581 and _dl_skip_args_internal.
5582
e8dd4791
CD
55832013-05-07 Carlos O'Donell <carlos@redhat.com>
5584
5585 * manual/message.texi (Message Translation): Talk about users.
5586 Message to key mapping impacts design.
5587
c7405830
RM
55882013-05-06 Roland McGrath <roland@hack.frob.com>
5589
a9173057
RM
5590 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
5591
976e2f03
RM
5592 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
5593
9723ffc5
RM
5594 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
5595 * sysdeps/wordsize-64/glob64.c: ... here.
5596
962e6658
RM
5597 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
5598 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
5599 New macros.
5600
ee586a6d
RM
5601 * debug/getlogin_r_chk.c: Moved to ...
5602 * login/getlogin_r_chk.c: ... here.
5603 * debug/Makefile (routines): Move getlogin_r_chk to ...
5604 * login/Makefile (routines): ... here.
5605 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
5606 * login/Versions (libc: GLIBC_2.4): ... here.
5607
355f9165
RM
5608 * io/poll.c (__poll): Renamed from poll.
5609 Add libc_hidden_def.
5610 (poll): Define as weak alias.
5611
bd9ffde6
RM
5612 * debug/ptsname_r_chk.c: Moved to ...
5613 * login/ptsname_r_chk.c: ... here.
5614 * debug/Makefile (routines): Move ptsname_r_chk to ...
5615 * login/Makefile (routines): ... here.
5616 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
5617 * login/Versions (libc: GLIBC_2.4): ... here.
5618
8fb16a04
RM
5619 * posix/getlogin.c: Moved to ...
5620 * login/getlogin.c: ... here.
5621 * posix/getlogin_r.c: Moved to ...
5622 * login/getlogin_r.c: ... here.
5623 * posix/getlogin_r.c: Moved to ...
5624 * login/getlogin_r.c: ... here.
5625 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
5626 * login/Makefile (routines): ... here.
5627 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
5628 * login/Versions (libc: GLIBC_2.0): ... here.
5629
b99b892f
RM
5630 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
5631 (setrlimit): Define as weak alias.
5632
c7405830
RM
5633 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
5634 Call __ names for open, ftruncate, and close.
5635 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
5636 (truncate): Define as weak alias.
5637
5bf96de5
JM
56382013-05-06 Joseph Myers <joseph@codesourcery.com>
5639
9ea3513c
JM
5640 * math/gen-libm-test.pl (parse_args): Initialize x before each
5641 test of frexp, modf and remquo.
5642
5bf96de5
JM
5643 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
5644 test signgam value.
5645
16e616a7
AZ
56462013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5647
5648 [BZ #15418]
5649 [BZ #15419]
5650 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
5651 internal tests.
5652 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5653
d5e82754
RM
56542013-05-06 Roland McGrath <roland@hack.frob.com>
5655
5656 * elf/dl-writev.h: New file.
5657 * elf/dl-misc.c: Include it.
5658 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
5659 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
5660
a7548d41
JM
56612013-05-04 Joseph Myers <joseph@codesourcery.com>
5662
b7dab1e4
JM
5663 * math/libm-test.inc (noXFails): Remove variable.
5664 (noXPasses): Likewise.
5665 (BUILD_COMPLEX_INT): Remove macro.
5666 (print_screen): Remove xfail argument.
5667 (print_screen_max_error): Likewise.
5668 (update_stats): Likewise.
5669 (print_max_error): Likewise. Update calls to other affected
5670 functions.
5671 (print_complex_max_error): Likewise.
5672 (test_single_exception): Update calls to print_screen.
5673 (test_single_errno): Likewise.
5674 (check_float_internal): Remove xfail argument. Update calls to
5675 other affected functions.
5676 (check_float): Likewise.
5677 (check_complex): Likewise.
5678 (check_int): Likewise.
5679 (check_long): Likewise.
5680 (check_bool): Likewise.
5681 (check_longlong): Likewise.
5682 (main): Don't print noXFails and noXPasses.
5683 * math/gen-libm-test.pl (top level): Don't mention expected
5684 failure handling in comment.
5685 (new_test): Don't handle expected failures.
5686 (parse_args): Don't mention expected failure handling in comment.
5687 (generate_testfile): Don't handle expected failures.
5688 (parse_ulps): Likewise.
5689 (print_ulps_file): Likewise.
5690 (get_failure): Remove function.
5691 (output_test): Don't handle expected failures.
5692 * make/README.libm-test: Don't mention expected failure handling.
5693
a7548d41
JM
5694 * math/libm-test.inc (plus_zero): Make const. Add initializer.
5695 (minus_zero): Likewise.
5696 (plus_infty): Likewise.
5697 (minus_infty): Likewise.
5698 (qnan_value): Likewise.
5699 (max_value): Likewise.
5700 (min_value): Likewise.
5701 (min_subnorm_value): Likewise.
5702 (initialize): Do not initialize those variables dynamically.
5703
60bfd54c
RM
57042013-05-03 Roland McGrath <roland@hack.frob.com>
5705
cc0e6ed8
RM
5706 * io/open.c (__open_2): Moved to ...
5707 * io/open_2.c: ... this new file.
5708 * io/open64.c (__open64_2): Moved to ...
5709 * io/open64_2.c: ... this new file.
5710 * io/openat.c (__openat_2): Moved to ...
5711 * io/openat_2.c: ... this new file.
5712 * io/openat64.c (__openat64_2): Moved to ...
5713 * io/openat64_2.c: ... this new file.
5714 * io/Makefile (routines): Add them.
5715 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
5716 * sysdeps/unix/sysv/linux/open_2.c: File removed.
5717 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
5718 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
5719 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
5720 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
5721 (__openat64): Add hidden_ver.
5722 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
5723 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
5724
60bfd54c
RM
5725 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
5726 Separately conditionalize setting of GLRO(dl_sysinfo) so
5727 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
5728 as well, but the actual setting is only under [NEED_DL_SYSINFO].
5729
83e7640f
AZ
57302013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5731
5732 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
5733 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
5734 definition.
5735 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
5736 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5737 (_libc_vdso_platform_setup): Add __vdso_time initialization.
5738 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
5739 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
5740
d5dc2af3
JM
57412013-05-03 Joseph Myers <joseph@codesourcery.com>
5742
c31a5b1e
JM
5743 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
5744 test signgam value.
5745
d5dc2af3
JM
5746 * math/libm-test.inc (hypot_test): Do not use
5747 IGNORE_ZERO_INF_SIGN.
5748
164fd39d
AJ
57492013-05-03 Andreas Jaeger <aj@suse.de>
5750
5751 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
5752 Linux 3.9.
5753 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
5754 (PF_MAX): Adjust for VSOCK change.
5755
8237f48c
AZ
57562013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5757
5758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5759
9df02941
CD
57602013-05-02 Carlos O'Donell <carlos@redhat.com>
5761
5762 [BZ #15264]
5763 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
5764 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
5765 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
5766
d422395e
DM
57672013-05-02 David S. Miller <davem@davemloft.net>
5768
5769 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5770
a07c5731
OB
57712013-05-01 Ondřej Bílka <neleai@seznam.cz>
5772
5773 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
5774
1324e37f
RM
57752013-05-01 Roland McGrath <roland@hack.frob.com>
5776
5777 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
5778
0695940b
RS
57792013-05-01 Richard Smith <richard@metafoo.co.uk>
5780
bb5f27ad 5781 [BZ #14952]
0695940b
RS
5782 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
5783 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5784 Use __attribute__ ((__gnu_inline__)).
5785 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5786 Don't use __attribute__ ((__gnu_inline__)).
5787
10de07f5
JM
57882013-05-01 Joseph Myers <joseph@codesourcery.com>
5789
5790 [BZ #15423]
5791 * math/s_catan.c (__catan): Handle small real or imaginary part of
5792 input specially to avoid spurious underflow.
5793 * math/s_catanf.c (__catanf): Likewise.
5794 * math/s_catanh.c (__catanh): Likewise.
5795 * math/s_catanhf.c (__catanhf): Likewise.
5796 * math/s_catanhl.c (__catanhl): Likewise.
5797 * math/s_catanl.c (__catanl): Likewise.
5798 * math/libm-test.inc (catan_test): Add more tests.
5799 (catanh_test): Likewise.
5800 * sysdeps/i386/fpu/libm-test-ulps: Update.
5801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5802
cb4d5414
AZ
58032013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5804
5805 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5806
caf84319
JM
58072013-04-30 Joseph Myers <joseph@codesourcery.com>
5808
5809 [BZ #15416]
5810 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
5811 accurately for denominator in atan2.
5812 * math/s_catanf.c (__catanf): Likewise.
5813 * math/s_catanh.c (__catanh): Likewise.
5814 * math/s_catanhf.c (__catanhf): Likewise.
5815 * math/s_catanhl.c (__catanhl): Likewise.
5816 * math/s_catanl.c (__catanl): Likewise.
5817 * math/libm-test.inc (catan_test): Add more tests.
5818 (catanh_test): Likewise.
5819 * sysdeps/i386/fpu/libm-test-ulps: Update.
5820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5821
d569c6ee
SP
58222013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5823
6dbe713d
SP
5824 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
5825
f0ee064b
SP
5826 * benchtests/Makefile (bench): Remove slow benchmarks.
5827 * benchtests/atan-inputs: Add slow benchmark inputs.
5828 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
5829 (BENCH_FUNC): Accept variant offset.
5830 (VARIANT): Define.
5831 * benchtests/bench-skeleton.c (main): Run benchmark for each
5832 variant.
5833 * benchtests/cos-inputs: Add slow benchmark inputs.
5834 * benchtests/exp-inputs: Likewise.
5835 * benchtests/pow-inputs: Likewise.
5836 * benchtests/sin-inputs: Likewise.
5837 * benchtests/slowatan-inputs: Remove.
5838 * benchtests/slowatan.c: Remove.
5839 * benchtests/slowcos-inputs: Remove.
5840 * benchtests/slowcos.c: Remove.
5841 * benchtests/slowexp-inputs: Remove.
5842 * benchtests/slowexp.c: Remove.
5843 * benchtests/slowpow-inputs: Remove.
5844 * benchtests/slowpow.c: Remove.
5845 * benchtests/slowsin-inputs: Remove.
5846 * benchtests/slowsin.c: Remove.
5847 * benchtests/slowtan-inputs: Remove.
5848 * benchtests/slowtan.c: Remove.
5849 * benchtests/tan-inputs: Add slow benchmark inputs.
5850 * scripts/bench.pl: Parse comments and directives.
5851
d569c6ee
SP
5852 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
5853 in CPPFLAGS.
5854 ($(objpfx)bench-%.c): Remove *-ITER.
5855 * benchtests/bench-modf.c: Remove definition of ITER.
5856 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
5857 (main): Loop for DURATION seconds instead of fixed number of
5858 iterations.
5859 * scripts/bench.pl: Don't expect iterations in parameters.
5860
a6a242fe
RM
58612013-04-29 Roland McGrath <roland@hack.frob.com>
5862
5863 * io/fchdir.c (__fchdir): Renamed from fchdir.
5864 (fchdir): Define as weak alias.
5865
f2da7793
JM
58662013-04-29 Joseph Myers <joseph@codesourcery.com>
5867
5868 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
5869 (ERRNO_EDOM): Likewise.
5870 (ERRNO_ERANGE): Likewise.
5871 (noErrnoTests): New variable.
5872 (init_max_error): Set errno to 0.
5873 (test_single_errno): New function.
5874 (test_errno): Likewise.
5875 (check_float_internal): Call test_errno. Set errno to 0.
5876 (check_complex): Refer to errno tests in comment.
5877 (check_int): Call test_errno. Set errno to 0.
5878 (check_long): Likewise.
5879 (check_bool): Likewise.
5880 (check_longlong): Likewise.
5881 (cos_test): Use ERRNO_* flags for errno tests instead of
5882 check_int.
5883 (expm1_test): Likewise.
5884 (fmod_test): Likewise.
5885 (ilogb_test): Likewise.
5886 (lgamma_test): Likewise.
5887 (pow_test): Likewise.
5888 (remainder_test): Likewise.
5889 (sin_test): Likewise.
5890 (tan_test): Likewise.
5891 (yn_test): Likewise.
5892 (initialize): Set errno to 0.
5893 (main): Print number of errno tests.
5894 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
5895
b1a36ceb
AJ
58962013-04-29 Andreas Jaeger <aj@suse.de>
5897
c3ed8088
AJ
5898 [BZ #15084]
5899 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
5900 and RES_USEVC.
5901
f1a24198
AJ
5902 [BZ #15085]
5903 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
5904 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
5905 unimplemented.
5906
9ce3b2cb
AJ
5907 [BZ #15380]
5908 * stdlib/random.c (__initstate): Return NULL if
5909 __initstate fails.
5910
f1a24198 5911 [BZ #15086]
b1a36ceb
AJ
5912 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
5913 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
5914 RES_SNGLKUPREOP.
5915
7e7b6f36
AZ
59162013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5917
5918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5919
4d14f449
JM
59202013-04-29 Joseph Myers <joseph@codesourcery.com>
5921
5922 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
5923 of individual tests.
5924 (casin_test): Likewise.
5925 (casinh_test): Likewise.
5926
5b4217d7
JM
59272013-04-27 Joseph Myers <joseph@codesourcery.com>
5928
5929 [BZ #15409]
5930 * math/s_catan.c (__catan): Handle arguments with large real or
5931 imaginary part separately without squaring.
5932 * math/s_catanf.c (__catanf): Likewise.
5933 * math/s_catanh.c (__catanh): Likewise.
5934 * math/s_catanhf.c (__catanhf): Likewise.
5935 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5936 and redefine.
5937 (__catanhl): Handle arguments with large real or imaginary part
5938 separately without squaring.
5939 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5940 and redefine.
5941 (__catanl): Handle arguments with large real or imaginary part
5942 separately without squaring.
5943 * math/libm-test.inc (catan_test): Add more tests.
5944 (catanh_test): Likewise.
5945 * sysdeps/i386/fpu/libm-test-ulps: Update.
5946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5947
4220c3ef
AJ
59482013-04-27 Andreas Jaeger <aj@suse.de>
5949
5950 [BZ #15007]
5951 * stdlib/stdlib.h: Update guards for qecvt.
5952 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5953 <stdlib.h>.
5954
4721b2d1
AM
59552013-04-27 Allan McRae <allan@archlinux.org>
5956
5957 * sysdeps/i386/fpu/libm-test-ulps: Update.
5958
f0302940
JM
59592013-04-26 Joseph Myers <joseph@codesourcery.com>
5960
9457fd95
JM
5961 [BZ #15406]
5962 * math/s_catan.c: Include <float.h>.
5963 (__catan): Ensure underflow exception occurs for underflowed
5964 result.
5965 * math/s_catanf.c: Include <float.h>.
5966 (__catanf): Ensure underflow exception occurs for underflowed
5967 result.
5968 * math/s_catanh.c: Include <float.h>.
5969 (__catanh): Ensure underflow exception occurs for underflowed
5970 result.
5971 * math/s_catanhf.c: Include <float.h>.
5972 (__catanhf): Ensure underflow exception occurs for underflowed
5973 result.
5974 * math/s_catanhl.c: Include <float.h>.
5975 (__catanhl): Ensure underflow exception occurs for underflowed
5976 result.
5977 * math/s_catanl.c: Include <float.h>.
5978 (__catanl): Ensure underflow exception occurs for underflowed
5979 result.
5980 * math/libm-test.inc (catan_test): Add more tests.
5981 (catanh_test): Likewise.
5982
f0302940
JM
5983 [BZ #15405]
5984 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
5985 underflowed result.
5986 * math/s_ccoshf.c (__ccoshf): Likewise.
5987 * math/s_ccoshl.c (__ccoshl): Likewise.
5988 * math/s_csin.c (__csin): Likewise.
5989 * math/s_csinf.c (__csinf): Likewise.
5990 * math/s_csinh.c (__csinh): Likewise.
5991 * math/s_csinhf.c (__csinhf): Likewise.
5992 * math/s_csinhl.c (__csinhl): Likewise.
5993 * math/s_csinl.c (__csinl): Likewise.
5994 * math/libm-test.inc (ccos_test): Add more tests.
5995 (ccosh_test): Likewise.
5996 (csin_test): Likewise.
5997 (csinh_test): Likewise.
5998
aa630f59
AZ
59992013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6000
6001 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
6002 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
6003 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
6004 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
6005 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
6006 powerpc/power5+/fpu folders.
6007 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
6008
6009
1b835983
MT
60102013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6011
6012 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6013
73709b26
JM
60142013-04-25 Joseph Myers <joseph@codesourcery.com>
6015
6016 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
6017 additions to variable.
6018 [$(config-machine) = x86_64] (modules-names): Likewise.
6019 ($(objpfx)tst-audit3): Remove dependency.
6020 ($(objpfx)tst-audit3.out): Likewise.
6021 ($(objpfx)tst-audit4): Likewise.
6022 ($(objpfx)tst-audit4.out): Likewise.
6023 ($(objpfx)tst-audit5): Likewise.
6024 ($(objpfx)tst-audit5.out): Likewise.
6025 ($(objpfx)tst-audit6): Likewise.
6026 ($(objpfx)tst-audit6.out): Likewise.
6027 ($(objpfx)tst-audit7): Likewise.
6028 ($(objpfx)tst-audit7.out): Likewise.
6029 (tst-audit3-ENV): Remove variable.
6030 (tst-audit4-ENV): Likewise.
6031 (tst-audit5-ENV): Likewise.
6032 (tst-audit6-ENV): Likewise.
6033 (tst-audit7-ENV): Likewise.
6034 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
6035 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
6036 addition to variable.
6037 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
6038 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
6039 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
6040 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
6041 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
6042 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
6043 tst-audit3, tst-audit4 and tst-audit5.
6044 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
6045 tst-audit6 and tst-audit7.
6046 [$(subdir) = elf] (modules-names): Add audit modules for those
6047 tests.
6048 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
6049 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
6050 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
6051 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
6052 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
6053 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
6054 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
6055 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
6056 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
6057 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
6058 [$(subdir) = elf] (tst-audit3-ENV): New variable.
6059 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
6060 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
6061 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
6062 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
6063 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
6064 Likewise.
6065 [$(subdir) = elf && $(config-cflags-avx) = yes]
6066 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
6067 [$(subdir) = elf && $(config-cflags-avx) = yes]
6068 (CFLAGS-tst-auditmod4a.c): Likewise.
6069 [$(subdir) = elf && $(config-cflags-avx) = yes]
6070 (CFLAGS-tst-auditmod4b.c): Likewise.
6071 [$(subdir) = elf && $(config-cflags-avx) = yes]
6072 (CFLAGS-tst-auditmod6b.c): Likewise.
6073 [$(subdir) = elf && $(config-cflags-avx) = yes]
6074 (CFLAGS-tst-auditmod6c.c): Likewise.
6075 [$(subdir) = elf && $(config-cflags-avx) = yes]
6076 (CFLAGS-tst-auditmod7b.c): Likewise.
6077 * elf/tst-audit3.c: Move to ...
6078 * sysdeps/x86_64/tst-audit3.c: ... here.
6079 * elf/tst-audit4.c: Move to ...
6080 * sysdeps/x86_64/tst-audit4.c: ... here.
6081 * elf/tst-audit5.c: Move to ...
6082 * sysdeps/x86_64/tst-audit5.c: ... here.
6083 * elf/tst-audit6.c: Move to ...
6084 * sysdeps/x86_64/tst-audit6.c: ... here.
6085 * elf/tst-audit7.c: Move to ...
6086 * sysdeps/x86_64/tst-audit7.c: ... here.
6087 * elf/tst-auditmod3a.c: Move to ...
6088 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
6089 * elf/tst-auditmod3b.c: Move to ...
6090 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
6091 * elf/tst-auditmod4a.c: Move to ...
6092 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
6093 * elf/tst-auditmod4b.c: Move to ...
6094 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
6095 * elf/tst-auditmod5a.c: Move to ...
6096 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
6097 * elf/tst-auditmod5b.c: Move to ...
6098 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
6099 * elf/tst-auditmod6a.c: Move to ...
6100 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
6101 * elf/tst-auditmod6b.c: Move to ...
6102 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
6103 * elf/tst-auditmod6c.c: Move to ...
6104 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
6105 * elf/tst-auditmod7a.c: Move to ...
6106 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
6107 * elf/tst-auditmod7b.c: Move to ...
6108 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
6109
1ef74943
PP
61102013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
6111
6112 [BZ #15366]
6113 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
6114 define unconditionally.
6115 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
6116 define unconditionally.
6117 (INT8_C, INT16_C, etc.): Likewise.
6118
93fd48c5
MR
61192013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
6120
ae9552cf
MR
6121 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
6122 __ehdr_start with hidden visibility.
6123
93fd48c5
MR
6124 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
6125
418601aa
CD
61262013-04-24 Carlos O'Donell <carlos@redhat.com>
6127
6128 * math/libm-test.inc (cos_test): Use accurate hex constants.
6129 (sincost_test): Likewise.
6130
2f38fbfe
JM
61312013-04-24 Joseph Myers <joseph@codesourcery.com>
6132
5e221800
JM
6133 * math/libm-test.inc (catan_test): Add more tests.
6134 (catanh_test): Likewise.
6135
77f143fd
JM
6136 * math/s_catanf.c (__catanf): Use suffixed floating-point
6137 constants.
6138 * math/s_catanhf.c (__catanhf): Likewise.
6139 * math/s_catanhl.c (__catanhl): Likewise.
6140 * math/s_catanl.c (__catanl): Likewise.
6141
2f38fbfe
JM
6142 [BZ #15394]
6143 * math/s_catan.c (__catan): Calculate imaginary part of result
6144 with log1p not log unless computing log of number close to 0.
6145 * math/s_catanf.c (__catanf): Likewise.
6146 * math/s_catanl.c (__catanl): Likewise.
6147 * math/s_catanh.c (__catanh): Calculate real part of result with
6148 log1p not log unless computing log of number close to 0.
6149 * math/s_catanhf.c (__catanhf): Likewise.
6150 * math/s_catanhl.c (__catanhl): Likewise.
6151 * math/libm-test.inc (catan_test): Add more tests.
6152 (catanh_test): Likewise.
6153 * sysdeps/i386/fpu/libm-test-ulps: Update.
6154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6155
45d69176
SP
61562013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6157
6158 * benchtests/Makefile: Mention files in which fast and slow
6159 paths of math functions are implemented.
6160
87f51853
RM
61612013-04-23 Roland McGrath <roland@hack.frob.com>
6162
6163 * sysdeps/posix/timespec_get.c: New file.
6164
3c026539
AZ
61652013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6166
6167 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
6168 POWER.
6169 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
6170 for POWER.
6171 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
6172 powerpc/power5/fpu folders.
6173 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
6174 * benchtests/Makefile: Add modf testcase.
6175 * benchtests/bench-modf.c: New file: Benchmark test for mo
6176
ff491d14
SP
61772013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6178
6179 [BZ #14888]
6180 * time/Makefile (tests): Add tst-strptime-whitespace.
6181 * time/strptime_l.c (get_number): Use ISSPACE.
6182 (__strptime_internal): Likewise.
6183 * time/tst-strptime-whitespace.c: New test case.
6184
7ed3f4e8
AS
61852013-04-23 Andreas Schwab <schwab@linux-m68k.org>
6186
6187 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
6188 member.
6189 (_nss_files_init): Set it here.
6190
5c95f7b6
HC
61912013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
6192
6193 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
6194 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
6195 unsigned.
6196
d34c9158
JBG
61972013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
6198
6199 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
6200
2169712d
SP
62012013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6202
6203 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
6204 size just once.
6205
29c5de99
DM
62062013-04-21 David S. Miller <davem@davemloft.net>
6207
6208 * po/ru.po: Update Russion translation from translation project.
6209
ccdad15d
AC
62102013-04-17 Adam Conrad <adconrad@0c3.net>
6211
6212 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
6213 and setfsgid.
6214
0f122b8d
CD
62152013-04-17 Carlos O'Donell <carlos@redhat.com>
6216
5c5b07da 6217 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 6218 * configure: Regenerate.
5c5b07da 6219 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
6220 Add example to error message.
6221 * sysdeps/i386/configure: Regenerate.
6222
037714dd
SP
62232013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6224
6225 * benchtests/Makefile (bench): Add cos, tan, slowcos and
6226 slowtan.
6227 * benchtests/cos-inputs: New file.
6228 * benchtests/slowcos-inputs: New file.
6229 * benchtests/slowcos.c: New file.
6230 * benchtests/slowtan-inputs: New file.
6231 * benchtests/slowtan.c: New file.
6232 * benchtests/tan-inputs: New file.
6233
e913141d
RM
62342013-04-16 Roland McGrath <roland@hack.frob.com>
6235
6236 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
6237 considered kosher.
6238
a2964074
SP
62392013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6240
4856bcd2
SP
6241 * benchtests/Makefile: Include cppflags-iterator.mk to add
6242 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
6243
a2964074
SP
6244 * Makefile.in (bench-clean): New target.
6245 * benchtests/Makefile (bench-clean): Likewise.
6246
9fbf9aca
DH
62472013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
6248
6249 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
6250
207d1e2a
TS
62512013-04-15 Thomas Schwinge <thomas@codesourcery.com>
6252
6253 * stdio-common/tstdiomisc.c: Fix coding-style violation.
6254
306dfba9
AS
62552013-04-15 Andreas Schwab <schwab@suse.de>
6256
6257 * nscd/grpcache.c (cache_addgr): Properly check for short write.
6258 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6259 * nscd/pwdcache.c (cache_addpw): Likewise.
6260 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
6261 more than recsize.
6262
206a6699
SP
62632013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6264
6265 * benchtests/Makefile (bench): Write all output to
6266 bench-out.tmp together.
6267
0582f6b3
AS
62682013-04-15 Andreas Schwab <schwab@suse.de>
6269
6270 * nscd/nscd.c (main): Don't fork again after closing files.
6271
acb4325f
SP
62722013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6273
5cb26d0a
SP
6274 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
6275
acb4325f
SP
6276 * benchtests/Rules (bench-deps): Collect dependencies into a
6277 single variable. Add Makefile to dependencies.
6278 ($(objpfx)bench-%.c): Depend on bench-deps.
6279
47792506
RM
62802013-04-12 Roland McGrath <roland@hack.frob.com>
6281 Xavier Roche <roche+kml2@exalead.com>
6282
6283 [BZ #15361]
6284 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
6285 just that it's a file descriptor.
6286 * manual/llio.texi (Synchronizing AIO Operations): Update description
6287 for EBADF error from aio_fsync.
6288
8fc1bee5
SP
62892013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6290
6291 * Rules (bench): Move target definition...
6292 * benchtests/Makefile: ... here.
6293
aba5e333
CD
62942013-04-11 Carlos O'Donell <carlos@redhat.com>
6295
6296 * math/libm-test.inc (cos_test): Fix PI/2 test.
6297 (sincos_test): Likewise.
6298 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6299 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6300
273cdee8
AS
63012013-04-11 Andreas Schwab <schwab@suse.de>
6302
6ecec3b6
AS
6303 [BZ #13988]
6304 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
6305 accept exponent character only when digits were seen.
6306 * stdio-common/Makefile (tests): Add bug26.
6307 * stdio-common/bug26.c: New file.
6308
273cdee8
AS
6309 [BZ #14293]
6310 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
6311 non-freeable.
6312
8da491f5
SP
63132013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6314
01dc6df9
SP
6315 * Makeconfig (rtld-prefix): Define built linker prefix.
6316 * Rules (run-bench): Use it.
6317 * math/Makefile (run-regen-ulps): Likewise.
6318
8da491f5
SP
6319 * Rules (bench): Remove eval.
6320
abe7f530
SP
63212013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6322 Roland McGrath <roland@hack.frob.com>
6323 Ondrej Bilka <neleai@seznam.cz>
6324
6325 [BZ #15346]
6326 * time/getdate.c: Include ctype.h and alloca.h.
6327 (__getdate_r): Trim leading and trailing spaces of input.
6328 * time/tst-getdate.c (tests): Add tests with leading and
6329 trailing spaces.
6330
61c23e62
RM
63312013-04-08 Roland McGrath <roland@hack.frob.com>
6332
6333 [BZ #14280]
6334 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
6335 when computing value.
6336
7208a313
CD
63372013-04-06 Carlos O'Donell <carlos@redhat.com>
6338
085b2d41
CD
6339 * math/README.libm-test (How can I generate "libm-test-ulps"?):
6340 Use testrun.sh to run libm tests.
6341
7208a313
CD
6342 [BZ #15309]
6343 * elf/dl-open.c (dl_open_worker): memset all of seen array.
6344
872c0acd
MM
63452013-04-06 Marko Myllynen <myllynen@redhat.com>
6346
6347 [BZ #15264]
6348 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
6349
26510bdd
CD
63502013-04-06 Carlos O'Donell <carlos@redhat.com>
6351
6352 * Makefile.in (regen-ulps): New target.
6353 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
6354 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
6355 [ifneq (no,$(PERL)] (regen-ulps): New target.
6356 [ifeq (no,$(PERL)] (regen-ulps): New target.
6357 * math/libm-test.inc (ulps_file_name): Define.
6358 (output_dir): New variable.
6359 (options): Add "output-dir" option.
6360 (parse_opt): Handle 'o' case.
6361 (main): If output_dir is non-NULL use it as a prefix
6362 otherwise use "".
6363 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
6364
a01f19c8
CD
63652013-04-06 Carlos O'Donell <carlos@redhat.com>
6366
6367 [BZ #10060, #10062]
6368 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
6369 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
6370 fail configure if __sync_val_compare_and_swap is not inlined.
6371 * sysdeps/i386/configure: Regenerate.
6372 * configure.in: Build for i686 when configured for i386.
6373 * configure: Regenerate.
6374 * README: Remove i386 reference.
6375
b7a329a5
CD
63762013-04-06 Carlos O'Donell <carlos@redhat.com>
6377
6378 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
6379 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6380
bf0f50df
TS
63812013-04-05 Thomas Schwinge <thomas@codesourcery.com>
6382
ee091edf
TS
6383 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
6384 (lmsnanval): New variables.
6385 (F): Add conversion tests.
6386 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
6387 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
6388
a8b792d6
TS
6389 * stdio-common/tstdiomisc.c (F): Properly collect individual
6390 tests' results.
6391
a1cbf437
TS
6392 [BZ #14686, #15336]
6393 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
6394 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6395 Instead, use input NaN values or generate a qNaN by arithmetic
6396 operation. Also fix bugs to comply with the standard.
6397 * math/libm-test.inc (remainder_test): Add more tests.
6398
8b43a0c9
TS
6399 [BZ #15335, #15342]
6400 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
6401 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
6402 input NaN values or generate a qNaN by arithmetic operation.
6403
d91da4ce
TS
6404 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
6405 unreachable code.
6406
bf0f50df
TS
6407 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
6408 definitions.
6409
05e166c8
JM
64102013-04-03 Joseph Myers <joseph@codesourcery.com>
6411
6412 [BZ #14478]
6413 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
6414 underflowed result.
6415 * math/s_cexpf.c (__cexpf): Likewise.
6416 * math/s_cexpl.c (__cexpl): Likewise.
6417 * math/libm-test.inc (cexp_test): Add more tests.
6418
1cef1b19
AS
64192013-04-03 Andreas Schwab <schwab@suse.de>
6420
6421 [BZ #15330]
6422 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
6423 order arrays from heap if bigger than alloca cutoff.
6424
74d87055
TS
64252013-04-03 Thomas Schwinge <thomas@codesourcery.com>
6426
6427 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
6428 (SNAN_TESTS_double): Refer to GCC PR56831.
6429 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
6430 GCC PR56828.
6431
d755bba4
SP
64322013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6433
90d5d5bb
SP
6434 * Rules (bench): Move bench.out after the run is complete.
6435
73e0cd5d
SP
6436 * Rules (bench): Echo currently running benchmark.
6437
64aabd4b
SP
6438 * benchtests/Makefile (bench): Add atan and slowatan.
6439 * benchtests/atan-inputs: New file.
6440 * benchtests/slowatan-inputs: New file.
6441 * benchtests/slowatan.c: New file.
6442
c871eccd
SP
6443 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
6444 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
6445 its value.
6446
d755bba4
SP
6447 [BZ #15305]
6448 * sysdeps/unix/sysv/linux/kernel-features.h
6449 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
6450 __ASSUME_XFS_RESTRICTED_CHOWN.
6451 * sysdeps/unix/sysv/linux/pathconf.c
6452 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6453 Save and restore errno.
6454
52ce4860
JM
64552013-04-02 Joseph Myers <joseph@codesourcery.com>
6456
6457 [BZ #15327]
6458 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
6459 arguments using __kernel_casinh.
6460 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
6461 arguments using __kernel_casinhf.
6462 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
6463 arguments using __kernel_casinhl.
6464 * math/libm-test.inc (cacosh_test): Add more tests.
6465 * sysdeps/i386/fpu/libm-test-ulps: Update.
6466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6467
81f311c2
SP
64682013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6469
e7906a47
SP
6470 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
6471 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
6472
92e3664b
SP
6473 * bench/Makefile (bench): Add sin and slowsin.
6474 * benchtests/sin-inputs: New file.
6475 * benchtests/slowsin-inputs: New file.
6476 * benchtests/slowsin.c: New file.
6477
81f311c2
SP
6478 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
6479 (bench): Add slowexp and slowpow.
6480 (exp-ITER): Increase iterations.
6481 (pow-ITER): Likewise.
6482 * benchtests/exp-inputs: Change input.
6483 * benchtests/pow-inputs: Likewise.
6484 * benchtests/slowexp-inputs: New file.
6485 * benchtests/slowexp.c: New file.
6486 * benchtests/slowpow-inputs: New file.
6487 * benchtests/slowpow.c: New file.
6488
ab0f1aa9
AZ
64892013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6490
6491 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
6492 instructions.
6493 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6494 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
6495 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6496 * benchtests/Makefile: Add rint benchtest.
6497 * benchtests/rint-inputs: Input for rint benchtest.
6498
57267616
TS
64992013-04-02 Thomas Schwinge <thomas@codesourcery.com>
6500
6501 * Versions.def (libm): Add GLIBC_2.18.
6502 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
6503 hidden libm prototypes.
6504 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
6505 * math/Makefile (libm-calls): Add s_issignaling.
6506 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
6507 __issignalingf, __issignalingl. Adjust all libm.abilist files.
6508 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
6509 declaration.
6510 * math/math.h [__USE_GNU] (issignaling): New macro.
6511 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
6512 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
6513 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
6514 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
6515 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6516 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
6517 * manual/arith.texi (issignaling): New section.
6518 * manual/libm-err-tab.pl (@all_functions): Update comment.
6519 * math/gen-libm-test.pl (parse_args): Apply special handling for
6520 issignaling.
6521 * math/libm-test.inc (print_float, issignaling_test): New
6522 functions.
6523 (check_float_internal): Add issignaling checks.
6524 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
6525 default definition.
6526 * sysdeps/powerpc/math-tests.h: New file.
6527 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
6528 tests.
6529 * math/test-snan.c (TEST_FUNC): Likewise.
6530
6142896d
DM
65312013-03-30 David S. Miller <davem@davemloft.net>
6532
6533 * po/de.po: Update from translation team.
6534
ccc8cadf
JM
65352013-03-30 Joseph Myers <joseph@codesourcery.com>
6536
6537 [BZ #10357]
6538 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6539 imaginary part less than 1.0 and real part less than 0.5
6540 specially.
6541 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6542 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6543 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
6544 (cacos_test): Add more tests.
6545 (casin_test): Likewise.
6546 (casinh_test): Likewise.
6547 * sysdeps/i386/fpu/libm-test-ulps: Update.
6548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6549
0f6a8d4b
SP
65502013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6551
0d1029de
SP
6552 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
6553 ONE with its value.
6554
c2d94018
SP
6555 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
6556 (__pow_mp): Replace ONE and MONE with their values.
6557 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6558 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
6559 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6560 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
6561 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6562 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6563
27ec37f1
SP
6564 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
6565
a64d7e0e
SP
6566 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
6567 (__pow_mp): Replace ZERO and MZERO with their values.
6568 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6569 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6570 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6571 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6572 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6573 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
6574 (__sqr): Likewise.
6575
d26dd3eb
SP
6576 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
6577
0f6a8d4b
SP
6578 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
6579
e57b0c61
RM
65802013-03-28 Roland McGrath <roland@hack.frob.com>
6581
6582 * include/stdlib.h [!SHARED] (__call_tls_dtors):
6583 Declare with __attribute__ ((weak)).
6584 * stdlib/exit.c (__libc_atexit) [!SHARED]:
6585 Call __call_tls_dtors only if it's not NULL.
6586
356b3480
RM
65872013-03-28 Roland McGrath <roland@hack.frob.com>
6588
288f7d79
RM
6589 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
6590 didn't do it already, then set _dl_phdr and _dl_phnum based on the
6591 magic __ehdr_start linker symbol if it's defined.
6592 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
6593 them up here if it was already done.
6594
dc0a0263
RM
6595 * elf/dl-support.c (_dl_phdr): Make pointer to const.
6596 (_dl_aux_init): Use const in cast when setting it.
6597 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
6598 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
6599 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
6600
3d3436ae
RM
6601 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
6602 Declare them here.
6603 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
6604 * csu/libc-tls.c: Nor here.
6605 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
6606
356b3480
RM
6607 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
6608 (__libc_message): Never call vsyslog.
6609
b0f1246a
AM
66102013-03-28 Alan Modra <amodra@gmail.com>
6611
6612 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
6613 Define as empty.
6614 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
6615 Likewise.
6616
fbbe2b9a
AZ
66172013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6618
6619 [BZ #15214]
6620 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
6621 underflow.
6622 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6623
1728ab37
SP
66242013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6625
7a86be6e
SP
6626 [BZ #15304]
6627 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6628 Don't add gid passed as argument.
6629
1728ab37
SP
6630 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
6631
3a7182a1
JM
66322013-03-27 Joseph Myers <joseph@codesourcery.com>
6633
6634 [BZ #15307]
6635 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6636 imaginary part between 1.0 and 1.5 and real part less than 0.5
6637 specially.
6638 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6639 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6640 * math/libm-test.inc (cacos_test): Add more tests.
6641 (casin_test): Likewise.
6642 (casinh_test): Likewise.
6643 * sysdeps/i386/fpu/libm-test-ulps: Update.
6644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6645
6f2e90e7
SP
66462013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6647
5739f705
SP
6648 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
6649 constants.
6650 (norm): Likewise.
6651 (denorm): Likewise.
6652 (__dbl_mp): Likewise.
6653 (add_magnitudes): Likewise.
6654 (sub_magnitudes): Likewise.
6655 (__add): Likewise.
6656 (__sub): Likewise.
6657 (__mul): Likewise.
6658 (__sqr): Likewise.
6659 (__inv): Likewise.
6660 (__dvd): Likewise.
6661
e375e83d
SP
6662 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
6663 commented code.
6664 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
6665 (__dubcos): Likewise.
6666 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
6667 (__ieee754_acos): Likewise.
6668 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6669 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
6670 (__exp1): Likewise.
6671 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6672 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6673 (log1): Likewise.
6674 (my_log2): Likewise.
6675 (checkint): Likewise.
6676 * sysdeps/ieee754/dbl-64/e_remainder.c
6677 (__ieee754_remainder): Likewise.
6678 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6679 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6680 (bsloww): Likewise.
6681 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6682
6f2e90e7
SP
6683 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6684 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
6685 MANTISSA_STORE_T to store computations on mantissa. Use
6686 macros for rounding and division.
6687 (denorm): Likewise.
6688 (__dbl_mp): Likewise.
6689 (add_magnitudes): Likewise.
6690 (sub_magnitudes): Likewise.
6691 (__mul): Likewise.
6692 (__sqr): Likewise.
6693 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6694 powers of two in terms of TWOPOW macro.
6695 (mp_no): Make type of mantissa as MANTISSA_T.
6696 [!RADIXI]: Define RADIXI.
6697 [!TWO52]: Define TWO52.
6698 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6699
fce14d4e
AZ
67002013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6701
6702 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
6703 llroundl symbol when building for PPC32.
6704
9ad027fb
MW
67052013-03-24 Mark H Weaver <mhw@netris.org>
6706
6707 * manual/arith.texi (Normalization Functions): Fix prototypes for
6708 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
6709
e42a38dd
AZ
67102013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6711
6712 [BZ #13889]
6713 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
6714 high value to check if expl overflow.
6715 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
6716 to check for underflow and overflow.
6717 * math/libm-test.inc: Add exp test.
6718
2e0fb521
DL
67192013-03-21 Dmitry V. Levin <ldv@altlinux.org>
6720
6721 [BZ #11120]
6722 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
6723 with NOT_IN_libc.
6724
b5784d95
AZ
67252013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6726
6727 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6728 symbol.
6729
5aa4a1a1
TS
67302013-03-21 Thomas Schwinge <thomas@codesourcery.com>
6731
bdef0be7
TS
6732 * math/gen-libm-test.pl (parse_args, special_functions): Properly
6733 wrap blocks consisting of several statements.
6734
5aa4a1a1
TS
6735 * sysdeps/generic/math-tests.h: New file.
6736 * sysdeps/i386/fpu/math-tests.h: Likewise.
6737 * math/test-snan.c: Include it.
6738 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
6739
98c48fe5
JM
67402013-03-21 Joseph Myers <joseph@codesourcery.com>
6741
6742 [BZ #15285]
6743 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
6744 (__ieee754_j0l): Do not improve calculations using cos of twice
6745 input for inputs above LDBL_MAX / 2.0L.
6746 (__ieee754_y0l): Likewise.
6747 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
6748 (__ieee754_j1l): Do not improve calculations using cos of twice
6749 input for inputs above LDBL_MAX / 2.0L.
6750 (__ieee754_y1l): Likewise.
6751 * math/libm-test.inc (j0_test): Add another test.
6752 (j1_test): Likewise.
6753 (y0_test): Likewise.
6754 (y1_test): Likewise.
6755 * sysdeps/i386/fpu/libm-test-ulps: Update.
6756
3775a8bc
SP
67572013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6758
6759 * Rules ($(objpfx)bench-%.c): Include code from a C source
6760 file.
6761
0a1b2ae6
JM
67622013-03-21 Joseph Myers <joseph@codesourcery.com>
6763
6764 [BZ #15287]
6765 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6766 imaginary part 1.0 and real part less than 0.5 specially.
6767 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6768 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6769 * math/libm-test.inc (cacos_test): Add more tests.
6770 (casin_test): Likewise.
6771 (casinh_test): Likewise.
6772 * sysdeps/i386/fpu/libm-test-ulps: Update.
6773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6774
b33d4ce4
SP
67752013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6776
6777 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
6778 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
6779
bef0b507
JM
67802013-03-20 Joseph Myers <joseph@codesourcery.com>
6781
6782 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
6783 * config.make.in (config-cflags-sse4): Remove variable.
6784 (config-cflags-avx): Likewise.
6785 (config-cflags-sse2avx): Likewise.
6786 (config-cflags-novzeroupper): Likewise.
6787 (config-asflags-i686): Likewise.
6788 (have-mfma4): Likewise.
6789 (have-as-vis3): Likewise.
6790 (MIG): Likewise.
6791 * configure.in (MIG): Do not AC_SUBST.
6792 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
6793 (libc_cv_cc_sse4): Do not AC_SUBST.
6794 (libc_cv_cc_avx): Likewise.
6795 (libc_cv_cc_sse2avx): Likewise.
6796 (libc_cv_cc_novzeroupper): Likewise.
6797 (libc_cv_cc_fma4): Likewise.
6798 (libc_cv_as_i686): Likewise.
6799 (libc_cv_sparc_as_vis3): Likewise.
6800 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
6801 LIBC_CONFIG_VAR.
6802 (config-asflags-i686): Likewise.
6803 (config-cflags-avx): Likewise.
6804 (config-cflags-sse2avx): Likewise.
6805 (have-mfma4): Likewise.
6806 (config-cflags-novzeroupper): Likewise.
6807 * sysdeps/mach/configure.in (MIG): Likewise.
6808 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
6809 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
6810 LIBC_CONFIG_VAR.
6811 (config-cflags-avx): Likewise.
6812 (config-cflags-sse2avx): Likewise.
6813 (have-mfma4): Likewise.
6814 (config-cflags-novzeroupper): Likewise.
6815 * configure: Regenerated.
6816 * sysdeps/i386/configure: Likewise.
6817 * sysdeps/mach/configure: Likewise.
6818 * sysdeps/sparc/configure: Likewise.
6819 * sysdeps/x86_64/configure: Likewise.
6820
912cc4b3
RM
68212013-03-20 Roland McGrath <roland@hack.frob.com>
6822
6823 [BZ #14812]
6824 * locale/programs/localedef.c (options): Put N_ translation marker
6825 on argument names, not just descriptions.
6826
04eed2b0
MS
68272013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6828
6829 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
6830
a065ceff
OB
68312013-03-20 Ondřej Bílka <neleai@seznam.cz>
6832
9bb2a810 6833 [BZ #14176]
a065ceff
OB
6834 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
6835
a600e5ce
RM
68362013-03-19 Roland McGrath <roland@hack.frob.com>
6837
6838 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
6839 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
6840 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
6841 [!BEFORE_ABORT] (before_abort): New function.
6842 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
6843 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
6844 (writev_for_fatal): New function.
6845 (WRITEV_FOR_FATAL): New macro; call that.
6846 (backtrace_and_maps): New function.
6847 (BEFORE_ABORT): New macro; call that.
6848 (struct str_list): Type removed.
6849 (__libc_message, __libc_fatal): Functions removed.
6850 Include <sysdeps/posix/libc_fatal.c> instead.
6851
6b18bea6
JM
68522013-03-19 Joseph Myers <joseph@codesourcery.com>
6853
6854 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
6855 constants.
6856 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
6857 double constants.
6858
aaa8cb4b
AS
68592013-03-19 Andreas Schwab <schwab@suse.de>
6860
44673770
AS
6861 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
6862 * sysdeps/gnu/configure: Regenerate.
6863
aaa8cb4b
AS
6864 * configure.in: Substitute libc_cv_rtlddir.
6865 * configure: Regenerate.
6866 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
6867 * Makeconfig (rtlddir, inst_rtlddir): New variables.
6868 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
6869 * elf/Makefile (install-others, CFLAGS-interp.c)
6870 (ldso_install, common-ldd-rewrite): Likewise.
6871 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
6872 $(inst_slibdir)/$(rtld-installed-name).
6873 * scripts/rellns-sh: Add -p option.
6874 * Makerules (make-shlib-link): Use rellns-sh to get relative name
6875 for source.
6876
d3cfc668
SP
68772013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6878
6879 * manual/nptl.texi: Renamed to ...
6880 * manual/threads.texi: ... this.
6881 * manual/Makefile (chapters): Update.
6882
0e2b9cdd
RM
68832013-03-18 Roland McGrath <roland@hack.frob.com>
6884
6885 [BZ #14812]
6886 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
6887 on argument names, not just descriptions.
0e2b9cdd
RM
6888 * malloc/memusagestat.c (options): Likewise.
6889 * nss/getent.c (options): Likewise.
63270c24
RM
6890
68912013-03-18 Benno Schulenberg <bensberg@justemail.net>
6892
6893 [BZ #14812]
6894 * iconv/iconv_prog.c (options): Put N_ translation marker
6895 on argument names, not just descriptions.
6896 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 6897
b2e1393c
OB
68982013-03-18 Ondrej Bilka <neleai@seznam.cz>
6899
6900 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
6901 implementation which is faster on all x86_64 architectures.
6902 Tested on AMD, Intel Nehalem, SNB, IVB.
6903 * sysdeps/x86_64/strnlen.S: Likewise.
6904
6905 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6906 Remove all multiarch strlen and strnlen versions.
6907 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6908 Remove strlen and strnlen related parts.
6909
6910 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
6911 Inline strlen part.
6912 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6913
6914 * sysdeps/x86_64/multiarch/strlen.S: Remove.
6915 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
6916 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
6917 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
6918 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6919 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
6920
ec4ff04d
CD
69212013-03-17 Carlos O'Donell <carlos@redhat.com>
6922
6923 * manual/memory.texi (Malloc Tunable Parameters):
6924 Sort parameters alphabetically. Add comments for missing entries.
6925
cd18e90a
DM
69262013-03-17 David S. Miller <davem@davemloft.net>
6927
6928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6929
2a185d32
JM
69302013-03-16 Joseph Myers <joseph@codesourcery.com>
6931
d2f9799e
JM
6932 [BZ #15283]
6933 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
6934 for arguments at most half maximum finite value.
6935 * math/libm-test.inc (j0_test): Add more tests.
6936 (j1_test): Likewise.
6937 (y0_test): Likewise.
6938 (y1_test): Likewise.
6939 * sysdeps/i386/fpu/libm-test-ulps: Update.
6940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6941
2a185d32
JM
6942 [BZ #14155]
6943 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
6944 1 / x and functions P and Q for arguments above 0x1p256L.
6945 (__ieee754_y0l): Likewise.
6946 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6947 (__ieee754_y1l): Likewise.
6948 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
6949 (j1_test): Likewise.
6950 (y0_test): Likewise.
6951 (y1_test): Likewise.
6952
6cbec759
TS
69532013-03-16 Thomas Schwinge <thomas@codesourcery.com>
6954
6955 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6956 variable.
6957
bc16e260
RM
69582013-03-15 Roland McGrath <roland@hack.frob.com>
6959
aefc9b8c
RM
6960 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
6961 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
6962 zero since it's initialized to EXEC_PAGESIZE.
6963
bc16e260
RM
6964 * sysdeps/unix/sysv/linux/ldsodefs.h
6965 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
6966 * sysdeps/generic/ldsodefs.h: ... here.
6967
a57da955
TS
69682013-03-15 Thomas Schwinge <thomas@codesourcery.com>
6969
af00a34d
TS
6970 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
6971
495ded2c
TS
6972 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
6973 math/test-snan.c.
6974 * math/test-snan.c: Renamed from
6975 sysdeps/powerpc/fpu/test-powerpc-snan.c.
6976 * math/Makefile (tests): Add test-snan.
6977 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
6978 test-powerpc-snan.
6979
777b0332
TS
6980 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
6981 SUFFIX. Initialize qNaN_var with __builtin_nan family of
6982 functions.
6983 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
6984 __builtin_nan family of functions.
6985 * math/libm-test.inc (initialize): Initialize qnan_value with
6986 __builtin_nan family of functions.
6987 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
6988 Remove variables.
6989 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6990 Remove functions.
6991 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
6992 storage class. Initialize qNaN_var and sNaN_var with
6993 __builtin_nan and __builtin_nans families of functions,
6994 respectively.
6995
64d063b8
TS
6996 * math/libm-test.inc (acosh_test): Also test with qNaN input.
6997 (sqrt_test): Remove duplicate test with qNaN input.
6998 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
6999 (round_test, signbit_test, significand_test): Note missing +/-Inf
7000 as well as qNaN tests.
7001
67e971f1
TS
7002 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
7003 qNaN_var. Fix a few strings, too.
7004 * math/libm-test.inc (nan_value): Rename to qnan_value.
7005 * math/gen-libm-test.pl (%beautify): Adjust to that.
7006 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
7007 * math/test-misc.c (main): Likewise.
7008 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
7009 to __qnan_bytes, and __qnan_union, respectively.
7010 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
7011 Likewise.
7012 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
7013 and lqnanval, respectively.
7014 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
7015 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
7016 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
7017 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
7018
64487e12
TS
7019 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
7020 * math/test-misc.c (main) [__x86_64__]: Enable test for long
7021 doubles.
7022
e015e27b
TS
7023 * math/test-misc.c (main): Fix copy'n'pastos.
7024 * misc/tst-efgcvt.c (special): Likewise.
7025
a57da955
TS
7026 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
7027 Remove declarations.
7028
1e380345
SP
70292013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7030
7031 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
7032 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
7033 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
7034 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
7035
ef26eece
AZ
70362013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7037
7038 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
7039 macro to return vdso values correctly in IFUNC implementations.
7040 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7041 Optimization by using IFUNC.
7042
8cfdb7e0
SP
70432013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7044 Richard Henderson <rth@redhat.com>
7045 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7046
7047 * Makefile.in (bench): New target.
7048 * NEWS: Mention the benchmark framework.
7049 * Rules (bench): Likewise.
7050 (binaries-bench): Generate binaries for functions to
7051 benchmark.
7052 * benchtests/Makefile: New makefile for benchmark tests.
7053 * benchtests/bench-skeleton.c: New skeleton file for benchmark
7054 programs.
7055 * benchtests/exp-inputs: New input file for EXP function.
7056 * benchtests/pow-inputs: New input file for POW function.
7057 * scripts/bench.pl: New script to generate source files for
7058 benchmark programs.
7059
bcda9880
SP
70602013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7061
d22ca8cd
SP
7062 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7063 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
7064 computations on mantissa. Use macros for rounding and
7065 division.
7066 (denorm): Likewise.
7067 (__dbl_mp): Likewise.
7068 (add_magnitudes): Likewise.
7069 (sub_magnitudes): Likewise.
7070 (__mul): Likewise.
7071 (__sqr): Likewise.
7072 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7073 powers of two in terms of TWOPOW macro.
7074 (mp_no): Make type of mantissa as MANTISSA_T.
7075 [!RADIXI]: Define RADIXI.
7076 [!TWO52]: Define TWO52.
7077 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7078
bcda9880
SP
7079 * manual/nptl.texi (cindex): Modify threads to pthreads.
7080
06d5adfb
JM
70812013-03-15 Joseph Myers <joseph@codesourcery.com>
7082
7083 * sysdeps/x86_64/preconfigure: Regenerated.
7084
41c7328e
JM
70852013-03-14 Joseph Myers <joseph@codesourcery.com>
7086
7087 [BZ #14155]
7088 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
7089 0x1p28 and above.
7090 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
7091 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
7092 0x1p28 and above.
7093 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
7094 * math/libm-test.inc (j0_test): Do not allow one spurious
7095 underflow exception.
7096 (y1_test): Likewise.
7097
e25cfa60
SP
70982013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7099
0409959c
SP
7100 * manual/Makefile (chapters): Add nptl.
7101 * manual/debug.texi (Debugging Support): Add link to Threads
7102 chapter.
7103 * manual/nptl.texi: New file.
7104
e25cfa60
SP
7105 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
7106
58a1335e
PB
71072013-03-14 Petr Baudis <pasky@ucw.cz>
7108
7109 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
7110 for non-NULL pointer before the memory validity test. Pointed
7111 out by Holger Brunck <holger.brunck@keymile.com>.
7112
9dc7c64f
AS
71132013-03-13 Andreas Schwab <schwab@suse.de>
7114
7115 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
7116 instead of .os.
7117
54206aa6
JM
71182013-03-13 Joseph Myers <joseph@codesourcery.com>
7119
7120 * timezone/zic.c: Update from tzcode 2013b.
7121
e98cdb38
CD
71222013-03-12 Carlos O'Donell <carlos@redhat.com>
7123
7124 * manual/install.texi (Configuring and compiling):
7125 Mention i686 and i586.
7126 * INSTALL: Regenerate.
7127
9967e003
RM
71282013-03-12 Roland McGrath <roland@hack.frob.com>
7129
7130 * sysdeps/init_array/elf-init.c: New file.
7131 * csu/elf-init.c
7132 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
7133 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
7134
7135 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
7136 __gmon_start__ as global, but as static with a .preinit_array pointer.
7137 * sysdeps/init_array/gmon-start.c: New file. Use that.
7138 * sysdeps/init_array/crti.S: New file, empty except for comments.
7139 * sysdeps/init_array/crtn.S: Likewise.
7140
e6b5a293 71412013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
7142
7143 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
7144 definining bcopy.
80f844c9
OB
7145 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7146 Remove Prefer_SSE_for_memop.
7147 * sysdeps/x86_64/multiarch/init-arch.h: Remove
7148 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
7149 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
7150 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7151 memset-x86-64.
80f844c9 7152 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 7153 Remove bzero, memset ifunc support.
80f844c9
OB
7154 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
7155 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
7156 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7157 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7158
fb6b0fcb
AS
71592013-03-11 Andreas Schwab <schwab@suse.de>
7160
7161 [BZ #15234]
7162 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
7163 by SHLIB_COMPAT.
7164 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
7165 (GLIBC_2.16): Remove pthread_atfork.
7166
3e6bd4b1
PP
71672013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7168
7169 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
7170 (ptestcases.h): Likewise.
7171
222d7f00
RM
71722013-03-08 Roland McGrath <roland@hack.frob.com>
7173
7174 * Makeconfig ($(common-objpfx)config.status): Depend on
7175 sysdeps/*/preconfigure{,.in} too.
7176
1ba4f030
JM
71772013-03-08 Joseph Myers <joseph@codesourcery.com>
7178
a222d91a
JM
7179 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
7180 (__free_hook): Use void * instead of __malloc_ptr_t.
7181 (__malloc_hook): Likewise.
7182 (__realloc_hook): Likewise.
7183 (__memalign_hook): Likewise.
7184 (__after_morecore_hook): Likewise.
7185 * malloc/arena.c (save_malloc_hook): Likewise.
7186 (save_free_hook): Likewise.
7187 * malloc/hooks.c (malloc_hook_ini): Likewise.
7188 (realloc_hook_ini): Likewise.
7189 (memalign_hook_ini): Likewise.
7190 * malloc/malloc.c (malloc_hook_ini): Likewise.
7191 (realloc_hook_ini): Likewise.
7192 (memalign_hook_ini): Likewise.
7193 (__free_hook): Likewise.
7194 (__malloc_hook): Likewise.
7195 (__realloc_hook): Likewise.
7196 (__memalign_hook): Likewise.
7197 (__libc_malloc): Likewise.
7198 (__libc_free): Likewise.
7199 (__libc_realloc): Likewise.
7200 (__libc_memalign): Likewise.
7201 (__libc_valloc): Likewise.
7202 (__libc_pvalloc): Likewise.
7203 (__libc_calloc): Likewise.
7204 (__posix_memalign): Likewise.
7205 * malloc/morecore.c (__sbrk): Likewise.
7206 (__default_morecore): Likewise.
7207
5cc45e10
JM
7208 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
7209
dd54b864
JM
7210 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
7211 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
7212 __malloc_ptrdiff_t.
7213
1ba4f030
JM
7214 * malloc/malloc.h (__malloc_size_t): Remove macro.
7215 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
7216 __malloc_size_t.
7217 (old_memalign_hook): Likewise.
7218 (old_realloc_hook): Likewise.
7219 (struct hdr): Likewise.
7220 (flood): Likewise.
7221 (mallochook): Likewise.
7222 (memalignhook): Likewise.
7223 (reallochook): Likewise.
7224 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
7225 (tr_old_realloc_hook): Likewise.
7226 (tr_old_memalign_hook): Likewise.
7227 (tr_mallochook): Likewise.
7228 (tr_reallochook): Likewise.
7229 (tr_memalignhook): Likewise.
7230
edf66e57
AZ
72312013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7232
7233 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
7234 default_ldbl_pack and using as default implementation.
7235 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
7236 implementation.
7237 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
7238 redundant definition.
7239 (ldbl_insert_mantissa): Likewise.
7240 (ldbl_canonicalize): Likewise.
7241 (ldbl_nearbyint): Likewise.
7242 (ldbl_pack): Rename to ldbl_pack_ppc.
7243 (ldbl_unpack): Rename to ldbl_unpack_ppc.
7244 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
7245 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
7246
6d9145d8
SP
72472013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7248
7249 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
7250 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
7251 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
7252 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
7253 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
7254 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
7255 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
7256 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
7257
4dd4e157
AJ
72582013-03-07 Andreas Jaeger <aj@suse.de>
7259
7260 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7261 bits/mman-linux.h.
7262
adbb8027
SP
72632013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7264
ce544b5b
SP
7265 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
7266 Include mpa.h and declare __MPEXP.
7267 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
7268 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7269 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7270 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
7271 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7272 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7273 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
7274
4cc149fd
SP
7275 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
7276 (__slowpow): Use long double EXPL and LOGL functions to
7277 compute POW.
7278 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7279 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7280 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
7281 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7282 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7283 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
7284
e6ebd4a7
SP
7285 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
7286 intermediate variable to calculate exponent.
7287 (__sqr): Likewise.
7288 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7289 Likewise.
7290 (__sqr): Likewise.
7291
82a9811d
SP
7292 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
7293 [!NO__SQR]: Define __sqr.
7294 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
7295 and NO__SQR. Remove all code except __mul and __sqr. Include
7296 sysdeps/ieee754/dbl-64/mpa.c.
7297 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7298
adbb8027
SP
7299 [BZ #12723]
7300 * posix/Makefile (tests): Add tst-pathconf.
7301 * posix/tst-pathconf.c: New test case.
7302 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
7303 _PC_PIPE_BUF.
7304 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
7305
39120df9
PF
73062013-03-06 Patsy Franklin <pfrankli@redhat.com>
7307
7308 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
7309
67525cb8
AJ
73102013-03-06 Andreas Jaeger <aj@suse.de>
7311
664a9ce4
AJ
7312 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
7313 definition via __MAP_ANONYMOUS.
7314
8e39047d
AJ
7315 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
7316 it's not part of Linux headers.
7317
67525cb8
AJ
7318 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
7319 (MAP_HUGE_MASK): Define.
7320
7321 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7322 Define.
7323 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7324 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7325 Define.
7326 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7327 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7328 Define.
7329 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7330 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
7331 Define.
7332 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7333
7334 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
7335 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
7336 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
7337 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
7338 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
7339 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
7340
7341 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7342 Handle f2fs.
7343
7344 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7345 Handle f2fs and efivarfs.
7346
7347 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
7348 f2fs.
7349
7350 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
7351 (EFIVARFS_MAGIC): Add.
7352 (F2FS_LINK_MAX): Add.
7353
e1b42695
PP
73542013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7355
7356 * stdio-common/vfprintf.c: Replace __builtin_expect with
7357 __glibc_unlikely.
7358
2d67d91a
JM
73592013-03-06 Joseph Myers <joseph@codesourcery.com>
7360
7361 [BZ #13550]
7362 * sysdeps/generic/bp-sym.h: Remove file.
7363 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
7364 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
7365 <bp-sym.h> and <bp-asm.h>.
7366 (__longjmp): Don't use BP_SYM.
7367 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
7368 and <bp-asm.h>.
7369 (memcpy): Don't use BP_SYM.
7370 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
7371 <bp-sym.h> and <bp-asm.h>.
7372 (memcpy): Don't use BP_SYM.
7373 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
7374 <bp-asm.h>.
7375 (memcpy): Don't use BP_SYM.
7376 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
7377 <bp-asm.h>.
7378 (memset): Don't use BP_SYM.
7379 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7380 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7381 (__bzero): Don't use BP_SYM.
7382 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7383 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7384 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
7385 <bp-sym.h> and <bp-asm.h>.
7386 (memcmp): Don't use BP_SYM. Remove comment about bounded
7387 pointers.
7388 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
7389 <bp-sym.h> and <bp-asm.h>.
7390 (memcpy): Don't use BP_SYM.
7391 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
7392 <bp-sym.h> and <bp-asm.h>.
7393 (memset): Don't use BP_SYM.
7394 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7395 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7396 (__bzero): Don't use BP_SYM.
7397 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7398 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7399 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
7400 <bp-sym.h> and <bp-asm.h>.
7401 (strncmp): Don't use BP_SYM. Remove comment about bounded
7402 pointers.
7403 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
7404 <bp-sym.h> and <bp-asm.h>.
7405 (memcpy): Don't use BP_SYM.
7406 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
7407 <bp-sym.h> and <bp-asm.h>.
7408 (memset): Don't use BP_SYM.
7409 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7410 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7411 (__bzero): Don't use BP_SYM.
7412 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7413 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7414 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
7415 <bp-sym.h> and <bp-asm.h>.
7416 (__memchr): Don't use BP_SYM.
7417 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
7418 <bp-sym.h> and <bp-asm.h>.
7419 (memcmp): Don't use BP_SYM. Remove comment about bounded
7420 pointers.
7421 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
7422 <bp-sym.h> and <bp-asm.h>.
7423 (memcpy): Don't use BP_SYM.
7424 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
7425 <bp-sym.h> and <bp-asm.h>.
7426 (__mempcpy): Don't use BP_SYM.
7427 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
7428 <bp-sym.h> and <bp-asm.h>.
7429 (__memrchr): Don't use BP_SYM.
7430 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
7431 <bp-sym.h> and <bp-asm.h>.
7432 (memset): Don't use BP_SYM.
7433 (__bzero): Likewise.
7434 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
7435 <bp-sym.h> and <bp-asm.h>.
7436 (__rawmemchr): Don't use BP_SYM.
7437 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
7438 <bp-sym.h> and <bp-asm.h>.
7439 (__STRCMP): Don't use BP_SYM.
7440 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
7441 <bp-sym.h> and <bp-asm.h>.
7442 (strchr): Don't use BP_SYM.
7443 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
7444 <bp-sym.h> and <bp-asm.h>.
7445 (__strchrnul): Don't use BP_SYM.
7446 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
7447 <bp-sym.h> and <bp-asm.h>.
7448 (strlen): Don't use BP_SYM.
7449 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
7450 <bp-sym.h> and <bp-asm.h>.
7451 (strncmp): Don't use BP_SYM. Remove comment about bounded
7452 pointers.
7453 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
7454 <bp-sym.h> and <bp-asm.h>.
7455 (__strnlen): Don't use BP_SYM.
7456 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
7457 <bp-sym.h> and <bp-asm.h>.
7458 (__GI__setjmp): Don't use BP_SYM.
7459 (_setjmp): Likewise.
7460 (__sigsetjmp): Likewise.
7461 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
7462 (L(start_addresses)): Don't use BP_SYM.
7463 (_start): Likewise.
7464 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
7465 <bp-asm.h>.
7466 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
7467 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
7468 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7469 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7470 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
7471 <bp-asm.h>.
7472 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
7473 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
7474 about bounded pointers.
7475 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7476 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7477 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
7478 <bp-asm.h>.
7479 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7480 about bounded pointers. Remove GKM FIXME comments.
7481 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7482 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
7483 <bp-asm.h>.
7484 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
7485 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
7486 Remove GKM FIXME comments.
7487 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7488 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7489 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
7490 <bp-asm.h>.
7491 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7492 about bounded pointers. Remove GKM FIXME comment.
7493 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
7494 and <bp-asm.h>.
7495 (strncmp): Don't use BP_SYM. Remove comment about bounded
7496 pointers.
7497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
7498 <bp-sym.h> and <bp-asm.h>.
7499 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
7501 <bp-sym.h> and <bp-asm.h>.
7502 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7503 comment.
7504
cdcf361f
PP
75052013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7506
7507 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
7508 call free(NULL).
7509
3c4a2b15
DM
75102013-03-05 David S. Miller <davem@davemloft.net>
7511
7512 * po/es.po: Update from translation team.
7513
cdcf361f 75142013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
7515
7516 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
7517 <bits/mman-linux.h>.
7518 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7519 is fine.
7520 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
7521 <bits/mman-linux.h> to end of file.
7522 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7523 is fine.
7524 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
7525 <bits/mman-linux.h> to end of file.
7526 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7527 is fine.
7528 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
7529 <bits/mman-linux.h> to end of file.
7530
7531 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
7532 (MCL_CURRENT, MCL_FUTURE): Define here.
7533
5f67c04f
AK
75342013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7535
8a4473cc 7536 [BZ #15232]
5f67c04f
AK
7537 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
7538 attribute_hidden.
7539 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7540
c3e94a95
AK
75412013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7542
7543 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
7544 fourth parameter needed for rt_sigprocmask syscall.
7545 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7546 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7547 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7548 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7549 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7550 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
7551
cfb6382a
JM
75522013-03-04 Joseph Myers <joseph@codesourcery.com>
7553
7554 [BZ #13550]
7555 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
7556 comment about bounded pointers.
7557 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
7558 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
7559
539d8e01
AJ
75602013-03-04 Andreas Jaeger <aj@suse.de>
7561
7562 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
7563 common definitions.
7564
7565 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
7566 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
7567 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
7568 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7569 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
7570 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7571
2e167a70 75722013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
7573
7574 [BZ #15055]
7575 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7576 __ieee754_sqrl instead of __sqrl.
7577
68508633
JM
75782013-03-01 Joseph Myers <joseph@codesourcery.com>
7579
7580 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
7581 * sysdeps/powerpc/fpu_control.h: ... here.
7582 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
7583 * sysdeps/powerpc/bits/fenvinline.h: ... here.
7584 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
7585 * sysdeps/powerpc/bits/mathinline.h: ... here.
7586
7775448e
RM
75872013-03-01 Roland McGrath <roland@hack.frob.com>
7588
7589 * elf/dl-hwcaps.c (_dl_important_hwcaps):
7590 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
7591 to just [NEED_DL_SYSINFO_DSO].
7592 * elf/dl-support.c: Likewise.
7593 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7594 * elf/rtld.c (dl_main): Likewise.
7595 * elf/setup-vdso.h (setup_vdso): Likewise.
7596 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
7597 * sysdeps/unix/sysv/linux/dl-sysdep.c
7598 (_dl_discover_osversion): Likewise.
7599
4e9b5995
CD
76002013-03-01 Carlos O'Donell <carlos@redhat.com>
7601
7602 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
7603 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7604
e23872c8
SP
76052013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7606
e5c74c63
SP
7607 * NEWS: Mention libm performance improvements and non-x86 PI
7608 futex support.
7609
e23872c8
SP
7610 * csu/libc-start.c (__pthread_initialize_minimal): Change
7611 function arguments.
7612 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7613
b5510883
JM
76142013-02-28 Joseph Myers <joseph@codesourcery.com>
7615
7616 [BZ #13550]
7617 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
7618 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
7619 <bp-sym.h> and <bp-asm.h>.
7620 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7621 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
7622 and <bp-asm.h>.
7623 (memcpy): Don't use BP_SYM.
7624 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
7625 <bp-asm.h>.
7626 (__mpn_add_n): Don't use BP_SYM.
7627 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
7628 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
7629 and <bp-asm.h>.
7630 (__mpn_addmul_1): Don't use BP_SYM.
7631 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7632 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
7633 <bp-sym.h>.
7634 (_setjmp): Don't use BP_SYM.
7635 (__novmx_setjmp): Likewise.
7636 (__GI__setjmp): Likewise.
7637 (__vmx_setjmp): Likewise.
7638 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
7639 <bp-sym.h>.
7640 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
7641 (__bzero): Don't use BP_SYM.
7642 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7643 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7644 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
7645 <bp-sym.h> and <bp-asm.h>.
7646 (memcpy): Don't use BP_SYM.
7647 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
7648 <bp-sym.h> and <bp-asm.h>.
7649 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7650 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
7651 <bp-sym.h> and <bp-asm.h>.
7652 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7653 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
7654 <bp-asm.h>.
7655 (__mpn_lshift): Don't use BP_SYM.
7656 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7657 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
7658 <bp-asm.h>.
7659 (memset): Don't use BP_SYM.
7660 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7661 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7662 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
7663 <bp-asm.h>.
7664 (__mpn_mul_1): Don't use BP_SYM.
7665 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7666 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
7667 <bp-sym.h> and <bp-asm.h>.
7668 (memcmp): Don't use BP_SYM.
7669 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
7670 <bp-sym.h> and <bp-asm.h>.
7671 (memcpy): Don't use BP_SYM.
7672 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
7673 <bp-sym.h> and <bp-asm.h>.
7674 (memset): Don't use BP_SYM.
7675 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
7676 <bp-sym.h> and <bp-asm.h>.
7677 (strncmp): Don't use BP_SYM.
7678 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
7679 <bp-sym.h> and <bp-asm.h>.
7680 (memcpy): Don't use BP_SYM.
7681 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
7682 <bp-sym.h> and <bp-asm.h>.
7683 (memset): Don't use BP_SYM.
7684 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
7685 <bp-sym.h> and <bp-asm.h>.
7686 (__memchr): Don't use BP_SYM.
7687 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
7688 <bp-sym.h> and <bp-asm.h>.
7689 (memcmp): Don't use BP_SYM.
7690 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
7691 <bp-sym.h> and <bp-asm.h>.
7692 (memcpy): Don't use BP_SYM.
7693 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
7694 <bp-sym.h> and <bp-asm.h>.
7695 (__mempcpy): Don't use BP_SYM.
7696 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
7697 <bp-sym.h> and <bp-asm.h>.
7698 (__memrchr): Don't use BP_SYM.
7699 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
7700 <bp-sym.h> and <bp-asm.h>.
7701 (memset): Don't use BP_SYM.
7702 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
7703 <bp-sym.h> and <bp-asm.h>.
7704 (__rawmemchr): Don't use BP_SYM.
7705 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
7706 <bp-sym.h> and <bp-asm.h>.
7707 (__STRCMP): Don't use BP_SYM.
7708 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
7709 <bp-sym.h> and <bp-asm.h>.
7710 (strchr): Don't use BP_SYM.
7711 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
7712 <bp-sym.h> and <bp-asm.h>.
7713 (__strchrnul): Don't use BP_SYM.
7714 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
7715 <bp-sym.h> and <bp-asm.h>.
7716 (strlen): Don't use BP_SYM.
7717 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
7718 <bp-sym.h> and <bp-asm.h>.
7719 (strncmp): Don't use BP_SYM.
7720 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
7721 <bp-sym.h> and <bp-asm.h>.
7722 (__strnlen): Don't use BP_SYM.
7723 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
7724 <bp-asm.h>.
7725 (__mpn_rshift): Don't use BP_SYM.
7726 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7727 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
7728 <bp-sym.h> and <bp-asm.h>.
7729 (__sigsetjmp): Don't use BP_SYM.
7730 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
7731 (L(start_addresses)): Don't use BP_SYM.
7732 (_start): Likewise.
7733 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
7734 <bp-asm.h>.
7735 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
7736 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7737 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7738 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
7739 <bp-asm.h>.
7740 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
7741 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7742 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7743 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
7744 <bp-asm.h>.
7745 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7746 comments.
7747 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7748 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
7749 <bp-asm.h>.
7750 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
7751 FIXME comments.
7752 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7753 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7754 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
7755 <bp-asm.h>.
7756 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7757 comment.
7758 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
7759 and <bp-asm.h>.
7760 (strncmp): Don't use BP_SYM,
7761 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
7762 <bp-asm.h>.
7763 (__mpn_sub_n): Don't use BP_SYM.
7764 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7765 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
7766 and <bp-asm.h>.
7767 (__mpn_submul_1): Don't use BP_SYM.
7768 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
7770 <bp-sym.h> and <bp-asm.h>.
7771 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
7773 <bp-sym.h> and <bp-asm.h>.
7774 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7775 comment.
7776
8d19fe64
SP
77772013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7778
7779 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
7780 Use ZK to minimize writes to Z.
7781 (sub_magnitudes): Simplify code a bit.
7782 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7783 Use ZK to minimize writes to Z.
7784 (sub_magnitudes): Simplify code a bit.
7785
85bd816a
RM
77862013-02-27 Roland McGrath <roland@hack.frob.com>
7787
7788 * csu/gmon-start.c: Add special exception to license text.
7789
b5977bf2
RH
77902013-02-27 Richard Henderson <rth@redhat.com>
7791
7792 * scripts/config.guess: Update from config.git.
7793 * scripts/config.sub: Likewise.
7794
11d6e2f2
SP
77952013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7796
09c14ed2
SP
7797 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
7798
a688864e
SP
7799 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
7800
6295157a
SP
7801 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
7802
b8de2202
SP
7803 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
7804
11d6e2f2
SP
7805 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
7806
7e80ddb8
RM
78072013-02-26 Roland McGrath <roland@hack.frob.com>
7808
7809 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
7810 [$(build-shared = yes].
7e80ddb8 7811
7da6d9ed
SP
78122013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7813
45f05884
SP
7814 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
7815 (__mul): Reduce iterations for calculating mantissa.
7816
2236d359
SP
7817 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
7818 MPTWO.
7819 (__mpranred): Likewise.
7820
7da6d9ed
SP
7821 [BZ #15160]
7822 * malloc/memusagestat.c (main): Draw graphs for heap and stack
7823 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
7824
b7688c42
PE
78252013-02-26 Paul Eggert <eggert@cs.ucla.edu>
7826
7827 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
7828 Define __attribute__.
7829
53a5c423
SP
78302013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7831
7832 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
7833 unused.
7834 * posix/regex_internal.h (__attribute): Remove.
7835 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
7836 (re_string_context_at): Likewise.
7837 (bitset_not): Use __attribute__ and mark function as possibly
7838 unused.
7839 (bitset_merge): Likewise.
7840 (bitset_mask): Likewise.
7841 (re_string_char_size_at): Likewise.
7842 (re_string_wchar_at): Likewise.
7843 (re_string_elem_size_at): Likewise.
7844
60f5a8b5
SP
78452013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7846
2a983a2e
SP
7847 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
7848 code.
7849 (cc32): Likewise.
7850
e69804d1
SP
7851 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
7852 (__acr): Likewise.
7853 (__cpy): Likewise.
7854 (norm): Likewise.
7855 (denorm): Likewise.
7856 (__dbl_mp): Likewise.
7857 (add_magnitudes): Likewise.
7858 (sub_magnitudes): Likewise.
7859 (__mul): Likewise.
7860 (__inv): Likewise.
7861
2f22a1e8
SP
7862 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
7863 style.
7864
8930ddc7
SP
7865 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
7866 style.
7867
dc60cb11
SP
7868 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
7869 code.
7870
60f5a8b5
SP
7871 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
7872 up changes with default code.
7873 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
7874 Likewise.
7875
b4d1fd33
AM
78762013-02-24 Allan McRae <allan@archlinux.org>
7877
faf6f8bc
AM
7878 * manual/socket.texi (The Internet Namespace): Order menu items
7879 to match that in the file.
7880
b4d1fd33
AM
7881 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
7882 node listing of the info page menu.
7883
2366713d
JM
78842013-02-21 Joseph Myers <joseph@codesourcery.com>
7885
7886 [BZ #13550]
7887 * sysdeps/i386/bp-asm.h: Remove file.
7888 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7889 (PARMS): Do not use macros from bp-asm.h.
7890 (S1): Likewise.
7891 (S2): Likewise.
7892 (SIZE): Likewise.
7893 (__mpn_add_n): Do not use BP_SYM
7894 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
7895 "bp-asm.h".
7896 (PARMS): Do not use macros from bp-asm.h.
7897 (S1): Likewise.
7898 (SIZE): Likewise.
7899 (__mpn_addmul_1): Do not use BP_SYM
7900 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
7901 "bp-asm.h".
7902 (PARMS): Do not use macros from bp-asm.h.
7903 (SIGMSK): Likewise.
7904 (_setjmp): Likewise. Do not use BP_SYM.
7905 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
7906 "bp-asm.h".
7907 (PARMS): Do not use macros from bp-asm.h.
7908 (SIGMSK): Likewise.
7909 (setjmp): Likewise. Do not use BP_SYM.
7910 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
7911 "bp-asm.h".
7912 (PARMS): Do not use macros from bp-asm.h.
7913 (__frexp): Do not use BP_SYM.
7914 (frexp): Likewise.
7915 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
7916 "bp-asm.h".
7917 (PARMS): Do not use macros from bp-asm.h.
7918 (__frexpf): Do not use BP_SYM.
7919 (frexpf): Likewise.
7920 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
7921 "bp-asm.h".
7922 (PARMS): Do not use macros from bp-asm.h.
7923 (__frexpl): Do not use BP_SYM.
7924 (frexpl): Likewise.
7925 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
7926 "bp-asm.h".
7927 (PARMS): Do not use macros from bp-asm.h.
7928 (__remquo): Do not use BP_SYM.
7929 (remquo): Likewise.
7930 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
7931 "bp-asm.h".
7932 (PARMS): Do not use macros from bp-asm.h.
7933 (__remquof): Do not use BP_SYM.
7934 (remquof): Likewise.
7935 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
7936 "bp-asm.h".
7937 (PARMS): Do not use macros from bp-asm.h.
7938 (__remquol): Do not use BP_SYM.
7939 (remquol): Likewise.
7940 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
7941 "bp-asm.h".
7942 (PARMS): Do not use macros from bp-asm.h.
7943 (DEST): Likewise.
7944 (SRC): Likewise.
7945 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
7946 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
7947 "bp-asm.h".
7948 (PARMS): Do not use macros from bp-asm.h.
7949 (strlen): Do not use BP_SYM.
7950 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
7951 "bp-asm.h".
7952 (PARMS): Do not use macros from bp-asm.h.
7953 (S1): Likewise.
7954 (S2): Likewise.
7955 (SIZE): Likewise.
7956 (__mpn_add_n): Do not use BP_SYM.
7957 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
7958 "bp-asm.h".
7959 (PARMS): Do not use macros from bp-asm.h.
7960 (S1): Likewise.
7961 (SIZE): Likewise.
7962 (__mpn_addmul_1): Do not use BP_SYM.
7963 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
7964 weak_alias.
7965 (bzero): Likewise.
7966 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
7967 "bp-asm.h".
7968 (PARMS): Do not use macros from bp-asm.h.
7969 (S): Likewise.
7970 (SIZE): Likewise.
7971 (__mpn_lshift): Do not use BP_SYM.
7972 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
7973 "bp-asm.h".
7974 (PARMS): Do not use macros from bp-asm.h.
7975 (DEST): Likewise.
7976 (SRC): Likewise.
7977 (LEN): Likewise.
7978 (memcpy): Likewise. Do not use BP_SYM.
7979 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
7980 libc_hidden_def and weak_alias.
7981 (mempcpy): Do not use BP_SYM in weak_alias.
7982 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
7983 "bp-asm.h".
7984 (PARMS): Do not use macros from bp-asm.h.
7985 (DEST): Likewise.
7986 (LEN): Likewise.
7987 [!BZERO_P] (CHR): Likewise.
7988 (memset): Likewise. Do not use BP_SYM.
7989 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
7990 "bp-asm.h".
7991 (PARMS): Do not use macros from bp-asm.h.
7992 (S1): Likewise.
7993 (SIZE): Likewise.
7994 (__mpn_mul_1): Do not use BP_SYM.
7995 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
7996 "bp-asm.h".
7997 (PARMS): Do not use macros from bp-asm.h.
7998 (S): Likewise.
7999 (SIZE): Likewise.
8000 (__mpn_rshift): Do not use BP_SYM.
8001 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
8002 "bp-asm.h".
8003 (PARMS): Do not use macros from bp-asm.h.
8004 (STR): Likewise.
8005 (CHR): Likewise.
8006 (strchr): Likewise. Do not use BP_SYM.
8007 (index): Do not use BP_SYM in weak_alias.
8008 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
8009 "bp-asm.h".
8010 (PARMS): Do not use macros from bp-asm.h.
8011 (DEST): Likewise.
8012 (SRC): Likewise.
8013 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
8014 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
8015 "bp-asm.h".
8016 (PARMS): Do not use macros from bp-asm.h.
8017 (strlen): Do not use BP_SYM.
8018 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
8019 "bp-asm.h".
8020 (PARMS): Do not use macros from bp-asm.h.
8021 (S1): Likewise.
8022 (S2): Likewise.
8023 (SIZE): Likewise.
8024 (__mpn_sub_n): Do not use BP_SYM.
8025 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
8026 "bp-asm.h".
8027 (PARMS): Do not use macros from bp-asm.h.
8028 (S1): Likewise.
8029 (SIZE): Likewise.
8030 (__mpn_submul_1): Do not use BP_SYM.
8031 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
8032 "bp-asm.h".
8033 (PARMS): Do not use macros from bp-asm.h.
8034 (S1): Likewise.
8035 (S2): Likewise.
8036 (SIZE): Likewise.
8037 (__mpn_add_n): Do not use BP_SYM.
8038 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
8039 weak_alias.
8040 (bzero): Likewise.
8041 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
8042 "bp-asm.h".
8043 (PARMS): Do not use macros from bp-asm.h.
8044 (BLK2): Likewise.
8045 (LEN): Likewise.
8046 (memcmp): Do not use BP_SYM.
8047 (bcmp): Do not use BP_SYM in weak_alias.
8048 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
8049 "bp-asm.h".
8050 (PARMS): Do not use macros from bp-asm.h.
8051 (DEST): Likewise.
8052 (SRC): Likewise.
8053 (LEN): Likewise.
8054 (memcpy): Likewise. Do not use BP_SYM.
8055 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
8056 "bp-asm.h".
8057 (PARMS): Do not use macros from bp-asm.h.
8058 (DEST): Likewise.
8059 (SRC): Likewise.
8060 (LEN): Likewise.
8061 (memmove): Likewise. Do not use BP_SYM.
8062 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
8063 "bp-asm.h".
8064 (PARMS): Do not use macros from bp-asm.h.
8065 (DEST): Likewise.
8066 (SRC): Likewise.
8067 (LEN): Likewise.
8068 (__mempcpy): Likewise. Do not use BP_SYM.
8069 (mempcpy): Do not use BP_SYM in weak_alias.
8070 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
8071 "bp-asm.h".
8072 (PARMS): Do not use macros from bp-asm.h.
8073 (DEST): Likewise.
8074 (LEN): Likewise.
8075 [!BZERO_P] (CHR): Likewise.
8076 (memset): Likewise. Do not use BP_SYM.
8077 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
8078 "bp-asm.h".
8079 (PARMS): Do not use macros from bp-asm.h.
8080 (STR2): Likewise.
8081 (strcmp): Do not use BP_SYM.
8082 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
8083 "bp-asm.h".
8084 (PARMS): Do not use macros from bp-asm.h.
8085 (STR): Likewise.
8086 (DELIM): Likewise.
8087 [USE_AS_STRTOK_R] (SAVE): Likewise.
8088 (FUNCTION): Likewise. Do not use BP_SYM.
8089 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
8090 aliases.
8091 (strtok_r): Likewise.
8092 (__GI___strtok_r): Likewise.
8093 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8094 (PARMS): Do not use macros from bp-asm.h.
8095 (S): Likewise.
8096 (SIZE): Likewise.
8097 (__mpn_lshift): Do not use BP_SYM.
8098 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8099 (PARMS): Do not use macros from bp-asm.h.
8100 (STR): Likewise.
8101 (CHR): Likewise.
8102 (__memchr): Do not use BP_SYM.
8103 (memchr): Do not use BP_SYM in weak_alias.
8104 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8105 (PARMS): Do not use macros from bp-asm.h.
8106 (BLK2): Likewise.
8107 (LEN): Likewise.
8108 (memcmp): Do not use BP_SYM.
8109 (bcmp): Do not use BP_SYM in weak_alias.
8110 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
8111 (PARMS): Do not use macros from bp-asm.h.
8112 (S1): Likewise.
8113 (SIZE): Likewise.
8114 (__mpn_mul_1): Do not use BP_SYM.
8115 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
8116 "bp-asm.h".
8117 (PARMS): Do not use macros from bp-asm.h.
8118 (STR): Likewise.
8119 (CHR): Likewise.
8120 (__rawmemchr): Do not use BP_SYM.
8121 (rawmemchr): Do not use BP_SYM in weak_alias.
8122 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8123 (PARMS): Do not use macros from bp-asm.h.
8124 (S): Likewise.
8125 (SIZE): Likewise.
8126 (__mpn_rshift): Do not use BP_SYM.
8127 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8128 (PARMS): Do not use macros from bp-asm.h.
8129 (SIGMSK): Likewise.
8130 (__sigsetjmp): Likewise. Do not use BP_SYM.
8131 * sysdeps/i386/start.S: Do not include "bp-sym.h".
8132 (_start): Do not use BP_SYM.
8133 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
8134 (PARMS): Do not use macros from bp-asm.h.
8135 (DEST): Likewise.
8136 (SRC): Likewise.
8137 (__stpcpy): Likewise. Do not use BP_SYM.
8138 (stpcpy): Do not use BP_SYM in weak_alias.
8139 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
8140 "bp-asm.h".
8141 (PARMS): Do not use macros from bp-asm.h.
8142 (DEST): Likewise.
8143 (SRC): Likewise.
8144 (LEN): Likewise.
8145 (__stpncpy): Likewise. Do not use BP_SYM.
8146 (stpncpy): Do not use BP_SYM in weak_alias.
8147 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8148 (PARMS): Do not use macros from bp-asm.h.
8149 (STR): Likewise.
8150 (CHR): Likewise.
8151 (strchr): Likewise. Do not use BP_SYM.
8152 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
8153 "bp-asm.h".
8154 (PARMS): Do not use macros from bp-asm.h.
8155 (STR): Likewise.
8156 (CHR): Likewise.
8157 (__strchrnul): Likewise. Do not use BP_SYM.
8158 (strchrnul): Do not use BP_SYM in weak_alias.
8159 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
8160 "bp-asm.h".
8161 (PARMS): Do not use macros from bp-asm.h.
8162 (STOP): Likewise.
8163 (strcspn): Do not use BP_SYM.
8164 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
8165 "bp-asm.h".
8166 (PARMS): Do not use macros from bp-asm.h.
8167 (STR): Likewise.
8168 (STOP): Likewise.
8169 (strpbrk): Likewise. Do not use BP_SYM.
8170 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
8171 "bp-asm.h".
8172 (PARMS): Do not use macros from bp-asm.h.
8173 (STR): Likewise.
8174 (CHR): Likewise.
8175 (strrchr): Likewise. Do not use BP_SYM.
8176 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
8177 (PARMS): Do not use macros from bp-asm.h.
8178 (SKIP): Likewise.
8179 (strspn): Do not use BP_SYM.
8180 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
8181 (PARMS): Do not use macros from bp-asm.h.
8182 (STR): Likewise.
8183 (DELIM): Likewise.
8184 (SAVE): Likewise.
8185 (FUNCTION): Likewise. Do not use BP_SYM.
8186 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
8187 aliases.
8188 (strtok_r): Likewise.
8189 (__GI___strtok_r): Likewise.
8190 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8191 (PARMS): Do not use macros from bp-asm.h.
8192 (S1): Likewise.
8193 (S2): Likewise.
8194 (SIZE): Likewise.
8195 (__mpn_sub_n): Do not use BP_SYM.
8196 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
8197 "bp-asm.h".
8198 (PARMS): Do not use macros from bp-asm.h.
8199 (S1): Likewise.
8200 (SIZE): Likewise.
8201 (__mpn_submul_1): Do not use BP_SYM.
8202 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
8203 <bp-sym.h>.
8204 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
8205 and <bp-asm.h>.
8206 (PARMS): Do not use macros from bp-asm.h.
8207 (FLAGS): Likewise.
8208 (PTID): Likewise.
8209 (TLS): Likewise.
8210 (CTID): Likewise.
8211 (__clone): Do not use BP_SYM.
8212 (clone): Do not use BP_SYM in weak_alias.
8213 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
8214 and <bp-asm.h>.
8215 (PARMS): Do not use macros from bp-asm.h.
8216 (LEN): Likewise.
8217 (__mmap64): Do not use BP_SYM.
8218 (mmap64): Do not use BP_SYM in weak_alias.
8219 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8220 <bp-sym.h> and <bp-asm.h>.
8221 (PARMS): Do not use macros from bp-asm.h.
8222 (__posix_fadvise64_l64): Do not use BP_SYM.
8223 * sysdeps/unix/sysv/linux/i386/semtimedop.S
8224 (PARMS): Do not use macros from bp-asm.h.
8225 (NSOPS): Likewise.
8226 (semtimedop): Do not use BP_SYM.
8227 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
8228 and <bp-asm.h>.
8229
582a3cff
AM
82302013-02-21 Allan McRae <allan@archlinux.org>
8231
8232 * manual/message.texi (Charset conversion in gettext):
8233 Move @end statement to beginning of line.
8234
bab8a695
SP
82352013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8236
80945231
SP
8237 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
8238 static.
8239 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8240 Likewise.
8241
bab8a695
SP
8242 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
8243 (denorm): Likewise.
8244 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
8245 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
8246
e21d7aa7
AK
82472013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8248
8249 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
8250 tail-call to the resolved function if pltexit isn't needed.
8251
4c7a4263
SP
82522013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8253
8254 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
8255 or Y being zero as being unlikely.
8256 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8257 Likewise.
8258
41f49342
CD
82592013-02-20 Carlos O'Donell <carlos@redhat.com>
8260
8261 * manual/nss.texi (System Databases and Name Service Switch):
8262 Remove frobnicate @pxref.
8263
50022a93
TS
82642013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8265
8266 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8267 __attribute__ ((unused)) to __attribute__ ((__unused__)).
8268
08cbd996
PM
82692013-02-20 Petr Machata <pmachata@redhat.com>
8270
8271 * elf/elf.h (R_ARM_TARGET1): New macro.
8272 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
8273 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
8274 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
8275 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
8276 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
8277 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
8278 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
8279 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
8280 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
8281 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
8282 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
8283 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
8284 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
8285 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
8286 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
8287 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
8288 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
8289 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
8290 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
8291 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
8292 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
8293 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
8294 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
8295 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
8296 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
8297 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
8298 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
8299 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
8300 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
8301 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
8302 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
8303 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
8304 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
8305 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
8306 (R_ARM_THM_GOT_BREL12): Likewise.
8307 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
8308 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
8309 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
8310 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
8311 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
8312 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
8313 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
8314 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
8315 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
8316
c7b275d6
TS
83172013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8318
8319 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8320 __attribute_used__ to __attribute__ ((unused)).
8321
20cd7fb3
SP
83222013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8323
8324 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
8325 powerpc mpa.c.
8326 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
8327 comment formatting.
8328 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
8329
92945b52
JM
83302013-02-19 Joseph Myers <joseph@codesourcery.com>
8331
8332 [BZ #13550]
8333 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
8334 Remove macro.
8335 (ENTER): Remove both macro definitions.
8336 (LEAVE): Likewise.
8337 (CHECK_BOUNDS_LOW): Likewise.
8338 (CHECK_BOUNDS_HIGH): Likewise.
8339 (CHECK_BOUNDS_BOTH): Likewise.
8340 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
8341 (RETURN_BOUNDED_POINTER): Likewise.
8342 (RETURN_NULL_BOUNDED_POINTER): Likewise.
8343 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
8344 (POP_ERRNO_LOCATION_RETURN): Likewise.
8345 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
8346 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8347 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
8348 macros.
8349 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8350 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
8351 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
8352 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
8353 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
8354 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
8355 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
8356 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
8357 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
8358 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
8359 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
8360 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
8361 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8362 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
8363 removed macros.
8364 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8365 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
8366 macros.
8367 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8368 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
8369 * sysdeps/i386/i586/memset.S (memset): Likewise.
8370 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
8371 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8372 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
8373 macros.
8374 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8375 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
8376 Change uses of L(2) to L(out).
8377 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
8378 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
8379 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
8380 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8381 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
8382 removed macros.
8383 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8384 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
8385 macros.
8386 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8387 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
8388 (RETURN): Do not use macro LEAVE.
8389 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
8390 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
8391 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
8392 * sysdeps/i386/i686/memset.S (memset): Likewise.
8393 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
8394 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
8395 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8396 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
8397 Likewise.
8398 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8399 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
8400 L(1_2) and L(1_3) into L(1).
8401 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8402 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
8403 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8404 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
8405 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8406 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
8407 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
8408 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8409 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
8410 macros.
8411 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
8412 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8413 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
8414 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
8415 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
8416 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8417 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
8418 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
8419 * sysdeps/i386/strcspn.S (strcspn): Likewise.
8420 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
8421 * sysdeps/i386/strrchr.S (strrchr): Likewise.
8422 * sysdeps/i386/strspn.S (strspn): Likewise.
8423 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
8424 conditional code.
8425 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8426 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
8427 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8428 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
8429 L(1_3) into L(1_1).
8430 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
8431 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8432 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
8433 macros.
8434 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8435
2389741a
JJ
84362013-02-19 Jakub Jelinek <jakub@redhat.com>
8437
8438 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
8439 macro.
8440
2016b3cd
SP
84412013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8442
e4f22324
SP
8443 * math/atest-exp.c (exp_mpn): Remove ROUND.
8444 * math/atest-exp2.c (exp_mpn): Likewise.
8445 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
8446
2016b3cd
SP
8447 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
8448 * stdlib/tst-tls-atexit-lib.c: Likewise.
8449 * stdlib/tst-tls-atexit.c: Likewise.
8450
4be9b544
MF
84512013-02-18 Mike Frysinger <vapier@gentoo.org>
8452
8453 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
8454 and __attribute_alloc_size__.
8455
2f62b9ee
MF
84562013-02-18 Mike Frysinger <vapier@gentoo.org>
8457
8458 * include/programs/xmalloc.h: Change __attribute_alloc_size to
8459 __attribute_alloc_size__.
8460 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
8461 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
8462
6ff444c4
MF
84632013-02-18 Mike Frysinger <vapier@gentoo.org>
8464
8465 * include/programs/xmalloc.h: New file.
8466 * catgets/gencat.c: Include it.
8467 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
8468 * elf/pldd.c: Likewise.
8469 * iconv/iconv_charmap.c: Likewise.
8470 * iconv/iconvconfig.c: Likewise.
8471 * iconv/strtab.c: Likewise.
8472 * locale/programs/locale.c: Likewise.
8473 * locale/programs/localedef.h: Likewise.
8474 * locale/programs/simple-hash.c: Likewise.
8475 * nscd/nscd.h: Likewise.
8476 * nss/makedb.c: Likewise.
8477 * sysdeps/generic/ldconfig.h: Likewise.
8478
be179c8a
SP
84792013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8480
ba384f6e
SP
8481 * Versions.def: Add GLIBC_2.18.
8482 * include/link.h (struct link_map): New member l_tls_dtor_count.
8483 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
8484 (__call_tls_dtors): Likewise.
8485 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
8486 __cxa_thread_atexit_impl.
8487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8488 Likewise.
8489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8490 Likewise.
8491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8492 Likewise.
8493 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8494 Likewise.
8495 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8496 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
8497 Likewise.
8498 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
8499 Likewise.
8500 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8501 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8502 Likewise.
8503 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
8504 (tests): Add test case tst-tls-atexit.
8505 (modules-names): Add shared library for tst-tls-atexit.
85891aca 8506 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
8507 (GLIBC_PRIVATE): Add __call_tls_dtors.
8508 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
8509 for libstdc++.
8510 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
8511 * stdlib/tst-tls-atexit.c: New test case.
8512 * stdlib/tst-tls-atexit-lib.c: New test case.
8513
ffaa74cf 8514 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 8515
be179c8a
SP
8516 * elf/Versions (ld): Add _dl_find_dso_for_object.
8517 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
8518 * elf/dl-open.c (_dl_find_dso_for_object): New function.
8519 (dl_open_worker): Use _dl_find_dso_for_object.
8520 * elf/dl-sym.c (do_sym): Likewise.
8521 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
8522
f78b5caa
AK
85232013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8524
8525 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
8526 Syntactic changes only.
8527 (_dl_runtime_profile): Do a tail-call to the resolved function.
8528
29691210
JM
85292013-02-17 Joseph Myers <joseph@codesourcery.com>
8530
8531 [BZ #13550]
8532 * sysdeps/x86_64/bp-asm.h: Remove file.
8533 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
8534 <bp-sym.h> and <bp-asm.h>.
8535 (__clone): Do not use BP_SYM.
8536 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
8537 <bp-sym.h> and <bp-asm.h>.
8538 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8539 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
8540 "bp-asm.h".
8541 (_setjmp): Do not use BP_SYM.
8542 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
8543 "bp-asm.h".
8544 (setjmp): Do not use BP_SYM.
8545 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
8546 libc_hidden_def.
8547 (mempcpy): Do not use BP_SYM in weak_alias.
8548 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
8549 "bp-asm.h".
8550 (strchr): Do not use BP_SYM.
8551 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
8552 "bp-asm.h".
8553 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
8554 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
8555 (_start): Do not use BP_SYM.
8556 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
8557 "bp-asm.h".
8558 (strcat): Do not use BP_SYM.
8559 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
8560 "bp-asm.h".
8561 (STRCMP): Do not use BP_SYM.
8562 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
8563 "bp-asm.h".
8564 (STRCPY): Do not use BP_SYM.
8565 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
8566 "bp-asm.h".
8567 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
8568 "bp-asm.h".
8569 (FUNCTION): Do not use BP_SYM.
8570 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
8571 weak_alias.
8572 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
8573
f238fd19
AJ
85742013-02-17 Andreas Jaeger <aj@suse.de>
8575
8576 * time/Versions: Sort entries.
8577 * string/Versions: Likewise.
8578 * resolv/Versions: Likewise.
8579 * posix/Versions: Likewise.
8580 * iconv/Versions: Likewise.
8581 * elf/Versions: Likewise.
8582 * wcsmbs/Versions: Likewise.
8583
bd07f23c 85842013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 8585
22af19f9
SP
8586 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
8587 loop termination condition.
8588
4709fe76
SP
8589 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
8590 variable to calculate EZ.
8591 (__sqr): Likewise.
2d0e0f29
SP
8592
8593 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
8594 the lower precision input.
8595
daaa7713
JM
85962013-02-15 Joseph Myers <joseph@codesourcery.com>
8597
8598 [BZ #13550]
8599 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
8600 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
8601 (run-via-rtld-prefix): Do not handle %-bp tests.
8602 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
8603 (all-object-suffixes): Remove .ob.
8604 (bppfx): Remove variable.
8605 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
8606 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
8607 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
8608 [$(build-bounded) = yes] (libtype.ob): Likewise.
8609 * Makerules (elide-routines.ob): Remove variable.
8610 (do-tests-clean): Do not handle *-bp.out.
8611 (common-mostlyclean): Do not handle *-bp and *-bp.out.
8612 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
8613 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
8614 (tests): Do not include $(tests-bp.out).
8615 (xtests): Do not include $(xtests-bp.out).
8616 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
8617 [$(build-bounded) = yes] ($(addprefix
8618 $(objpfx),$(binaries-bounded))): Remove rule.
8619 ($(objpfx)%-bp.out): Remove rule.
8620 * config.make.in (build-bounded): Remove variable.
8621 * crypt/Makefile [$(build-bounded) = yes]
8622 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
8623 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
8624 append to variable.
8625 [$(build-bounded) = yes] (install-lib): Likewise.
8626 [$(build-bounded) = yes] (generated): Likewise.
8627 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
8628 Remove rule.
8629 * intl/Makefile [$(build-bounded) = yes]
8630 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
8631 * math/Makefile [$(build-bounded) = yes]
8632 ($(tests:%=$(objpfx)%-bp): Likewise.
8633 * misc/Makefile [$(build-bounded) = yes]
8634 ($(objpfx)tst-tsearch-bp): Likewise.
8635 * nptl/Makeconfig (bounded-thread-library): Remove variable.
8636 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
8637 Remove dependency.
8638 * string/Makefile (o-objects.ob): Remove variable.
8639 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
8640 (CFLAGS-.ob): Remove variable.
8641 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
8642 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
8643 both definitions of variable.
8644 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
8645 (ASFLAGS-.ob): Remove variable.
8646
e97ed6dd
JM
86472013-02-14 Joseph Myers <joseph@codesourcery.com>
8648
2bdd4ca6
JM
8649 [BZ #13550]
8650 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
8651 Remove __BOUNDED_POINTERS__ from condition.
8652 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
8653 * string/bits/string2.h [!__NO_STRING_INLINES &&
8654 !__BOUNDED_POINTERS__]: Likewise.
8655 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
8656 Likewise.
8657 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
8658 Remove conditional code.
8659 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
8660 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
8661 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
8662 condition.
8663
e97ed6dd
JM
8664 [BZ #13550]
8665 * csu/libc-start.c: Do not include <bp-sym.h>.
8666 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
8667 * elf/dl-open.c: Do not include <bp-sym.h>.
8668 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
8669 * math/fegetenv.c: Do not include <bp-sym.h>.
8670 (fegetenv): Do not use BP_SYM in versioned symbols.
8671 * nptl/sysdeps/pthread/bits/libc-lockP.h
8672 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
8673 <bp-sym.h>.
8674 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8675 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
8676 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8677 (__pthread_mutex_destroy): Likewise.
8678 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8679 (__pthread_mutex_lock): Likewise.
8680 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8681 (__pthread_mutex_trylock): Likewise.
8682 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8683 (__pthread_mutex_unlock): Likewise.
8684 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8685 (__pthread_mutexattr_init): Likewise.
8686 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8687 (__pthread_mutexattr_destroy): Likewise.
8688 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8689 (__pthread_mutexattr_settype): Likewise.
8690 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8691 (__pthread_rwlock_init): Likewise.
8692 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8693 (__pthread_rwlock_destroy): Likewise.
8694 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8695 (__pthread_rwlock_rdlock): Likewise.
8696 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8697 (__pthread_rwlock_tryrdlock): Likewise.
8698 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8699 (__pthread_rwlock_wrlock): Likewise.
8700 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8701 (__pthread_rwlock_trywrlock): Likewise.
8702 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8703 (__pthread_rwlock_unlock): Likewise.
8704 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8705 (__pthread_key_create): Likewise.
8706 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8707 (__pthread_setspecific): Likewise.
8708 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8709 (__pthread_getspecific): Likewise.
8710 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
8711 Likewise.
8712 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8713 (_pthread_cleanup_push_defer): Likewise.
8714 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8715 (_pthread_cleanup_pop_restore): Likewise.
8716 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8717 (pthread_setcancelstate): Likewise.
8718 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
8719 <bp-sym.h>.
8720 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
8721 (memchr): Do not use BP_SYM in weak_alias.
8722 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
8723 (fegetenv): Do not use BP_SYM in versioned symbols.
8724 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
8725 (fesetenv): Do not use BP_SYM in versioned symbols.
8726 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8727 (feupdateenv): Do not use BP_SYM in versioned symbols.
8728 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8729 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8730 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
8731 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
8732 (open64): Do not use BP_SYM in weak_alias.
8733 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
8734 (fegetenv): Do not use BP_SYM in versioned symbols.
8735 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
8736 (fesetenv): Do not use BP_SYM in versioned symbols.
8737 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8738 (feupdateenv): Do not use BP_SYM in versioned symbols.
8739 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
8740 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
8741 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
8742 (feraiseexcept): Do not use BP_SYM in versioned symbols.
8743 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8744 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8745 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
8746 <bp-sym.h>.
8747 (__libc_start_main): Do not use BP_SYM.
8748
d6752ccd
SP
87492013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8750
cb57ce60
SP
8751 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
8752 redundant return line.
8753 (norm): Likewise.
8754 (denorm): Likewise.
8755 (dbl_mp): Likewise.
8756 (sub_magnitudes): Likewise.
8757 (__add): Likewise.
8758 (__sub): Likewise.
8759 (__mul): Likewise.
8760 (__inv): Likewise.
8761 (__dvd): Likewise.
8762 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
8763 (norm): Likewise.
8764 (denorm): Likewise.
8765 (dbl_mp): Likewise.
8766 (sub_magnitudes): Likewise.
8767 (__add): Likewise.
8768 (__sub): Likewise.
8769 (__mul): Likewise.
8770 (__inv): Likewise.
8771 (__dvd): Likewise.
8772
f414520d
SP
8773 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
8774 instead of __mul.
8775 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8776 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
8777 (cc32): Likewise.
8778
d6752ccd
SP
8779 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
8780 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
8781 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
8782 of __mul for squares.
8783 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
8784 function
8785 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
8786 Likewise.
8787 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
8788 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8789
70d9946a
JM
87902013-02-13 Joseph Myers <joseph@codesourcery.com>
8791
8792 [BZ #13550]
8793 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
8794 code.
8795 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
8796 prototype or function definition. Rename ubp_* variables and
8797 parameters. Remove argv definitions conditional on
8798 [__BOUNDED_POINTERS__].
8799 * debug/backtrace.c (__backtrace): Do not use __unbounded.
8800 * elf/dl-runtime.c (_dl_fixup): Likewise.
8801 * include/set-hooks.h (RUN_HOOK): Likewise.
8802 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
8803 definition.
8804 * string/strcpy.c (strcpy): Do not use __unbounded.
8805 * sysdeps/generic/frame.h (struct layout): Likewise.
8806 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
8807 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
8808 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
8809 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
8810 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
8811 (__backtrace): Likewise.
8812 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
8813 use __ptrvalue.
8814 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8815 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8816 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8817 Likewise.
8818 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
8819 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
8820 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8821 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8822 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
8823 Do not use __unbounded.
8824 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
8825 Rename __unboundedrlimits parameter to rlimits in prototype.
8826 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
8827 Do not use __unbounded.
8828 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
8829 not use __ptrvalue.
8830 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8831 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
8832 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8833 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
8834 __ptrvalue or __unbounded.
8835 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
8836 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
8837 use __unbounded.
8838 (__new_msgctl): Do not use __ptrvalue.
8839 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
8840 __unbounded.
8841 (__libc_msgrcv): Do not use __ptrvalue.
8842 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
8843 startup_info): Do not use __unbounded.
8844 (__libc_start_main): Likewise. Rename ubp_* variables and
8845 parameters. Remove argv definitions conditional on
8846 [__BOUNDED_POINTERS__].
8847 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
8848 __ptrvalue.
8849 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
8850 use __unbounded.
8851 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
8852 or __ptrvalue.
8853 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
8854 use __unbounded.
8855 (__new_shmctl): Do not use __ptrvalue.
8856 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8857 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8858 Likewise.
8859 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8860 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
8861 (__libc_sigaction): Likewise.
8862 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
8863 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
8864 Likewise.
8865 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8866
cc7834d6
OB
88672013-02-13 Ondřej Bílka <neleai@seznam.cz>
8868
ffb1ec7b 8869 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
8870
8871 * string/mempcpy.c: Implement by calling memcpy.
8872
bdf02814
SP
88732013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8874
c2af38aa
SP
8875 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
8876
4e92d59e
SP
8877 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
8878 evaluation.
8879
909279a5
SP
8880 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
8881 values in the mantissa.
8882
bdf02814
SP
8883 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
8884 minimize writes to Z.
8885 (sub_magnitudes): Simplify code a bit.
8886
cd525923
RM
88872013-02-12 Roland McGrath <roland@hack.frob.com>
8888
8889 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
8890 from the message. The linker prefixes all warnings with that already.
8891
7e2f0d2d
AS
88922013-02-12 Andreas Schwab <schwab@suse.de>
8893
a445af0b
AS
8894 [BZ #15078]
8895 * posix/regexec.c (extend_buffers): Add parameter min_len.
8896 (check_matching): Pass minimum needed length.
8897 (clean_state_log_if_needed): Likewise.
8898 (get_subexp): Likewise.
8899 * posix/Makefile (tests): Add bug-regex34.
8900 (bug-regex34-ENV): Define.
8901 * posix/bug-regex34.c: New file.
8902
7e2f0d2d
AS
8903 [BZ #11561]
8904 * posix/regcomp.c (parse_bracket_exp): When looking up collating
8905 elements compare against the byte sequence of it, not its name.
8906 * posix/Makefile (tests): Add bug-regex35.
8907 (bug-regex35-ENV): Define.
8908 * posix/bug-regex35.c: New file.
8909
a175b684
TV
89102013-02-11 Tom de Vries <tom@codesourcery.com>
8911
8912 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
8913 comment.
8914 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
8915 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
8916 (CHECK_EOL): Add undef.
8917
310998fe 89182013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
8919
8920 * bits/stdlib-bsearch.h: New file.
8921 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 8922 * stdlib/stdlib.h: Likewise.
41eda41d 8923
8ded91fb
RM
89242013-02-11 Roland McGrath <roland@hack.frob.com>
8925
8926 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
8927 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
8928 declaration.
8929 * manual/search.texi (Array Search Function): Add missing const in
8930 lfind prototype.
8931 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
8932 declaration to use rlim_t.
8933 (Basic Scheduling Functions): Remove erroneous const from
8934 sched_getparam prototype. Remove erroneous * from
8935 sched_get_priority_max and sched_get_priority_min prototypes.
8936 (Resource Usage): Fix summary @comment on vtimes to refer to
8937 sys/vtimes.h rather than vtimes.h.
8938 Add missing *s in vtimes prototype.
8939 (Limits on Resources): Fix ulimit prototype to return long int.
8940 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
8941 prototypes to use long int rather than double.
8942 (BSD Random): Fix initstate and setstate to use char *, not void *.
8943 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
8944 prototype to make second argument 'struct aiocb64 *const[]'.
8945 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
8946 (Status of AIO Operations): Remove erroneous const in aio_return and
8947 aio_return64 prototypes.
8948 (Synchronizing I/O): Fix sync prototype to return void.
8949 * manual/startup.texi (Suboptions): Remove an erroneous const in
8950 getsubopt prototype.
8951 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
8952 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
8953 use size_t rather than int.
8954 (Scanning All Users): Likewise for getpwent_r.
8955 (Setting Groups): Add missing const to setgroups prototype.
8956 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
8957 * manual/socket.texi (Host Names): Fix gethostbyaddr and
8958 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
8959 'const void *' rather than 'const char *'.
8960 (Host Address Functions): Likewise for inet_ntop.
8961 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
8962 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
8963 ssize_t for return value.
8964 (Sending Data): Likewise for send, sendto, sendmsg.
8965 (Socket Option Functions): Add a missing const in setsockopt prototype.
8966 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
8967 use wchar_t for the argument.
8968 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
8969 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
8970 take no arguments.
8971 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
8972 double/float/long double for second argument.
8973 Fix return types of significand, significandf, significandl.
8974 * manual/filesys.texi (Setting Permissions): Use mode_t for second
8975 argument in fchmod prototype.
8976 (File Owner): Use uid_t and gid_t in fchown prototype.
8977 (File Times): Add const to utimes, futimes, and lutimes prototypes.
8978 (Making Special Files): Use mode_t and dev_t in mknod prototype.
8979 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
8980 use 'const struct dirent **' as argument types to CMP function pointer
8981 argument.
8982 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
8983 (File Times): Fix summary magic @comment for struct utimbuf and utime
8984 to refer to utime.h, not time.h.
8985 * manual/string.texi (Argz Functions): Add missing const in
8986 argz_extract and argz_next prototypes.
8987 (Finding Tokens in a String): Likewise for basename.
8988 (String/Array Comparison): Fix typo in wcscasecmp prototype.
8989 (Copying and Concatenation): Fix typo in wmemmove prototype.
8990 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
8991 (Signal Stack): Remove erroneous const in sigstack prototype.
8992 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
8993 prototype.
8994 (Simple Calendar Time): Likewise for stime.
8995 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8996 prototype.
8997 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
8998 say sys/sysctl.h instead.
8999 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
9000 and vsyslog prototypes.
9001
fe77fe6d
TV
90022013-02-11 Tom de Vries <tom@codesourcery.com>
9003
9004 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
9005 Remove.
9006
3a09b620
RM
90072013-02-11 Roland McGrath <roland@hack.frob.com>
9008
9009 * misc/sys/mman.h: Fix typo in mremap comment.
9010
550a0b89
RM
90112013-02-08 Roland McGrath <roland@hack.frob.com>
9012
9013 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
9014 the '\0' terminator.
9015
a2da1673
JM
90162013-02-08 Joseph Myers <joseph@codesourcery.com>
9017
9018 [BZ #13550]
9019 * debug/segfault.c: Don't include <bp-checks.h>.
9020 * sysdeps/generic/bp-checks.h: Remove file.
9021 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
9022 (__GETDENTS): Don't use CHECK_N.
9023 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
9024 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9025 (__getgroups): Don't use CHECK_N.
9026 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
9027 (setgroups): Don't use CHECK_N.
9028 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
9029 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
9030 (__libc_msgrcv): Don't use CHECK_N.
9031 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
9032 (__libc_msgsnd): Don't use CHECK_N.
9033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
9034 <bp-checks.h>.
9035 (__libc_pread): Don't use CHECK_N.
9036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
9037 include <bp-checks.h>.
9038 (__libc_pread64): Don't use CHECK_N.
9039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
9040 include <bp-checks.h>.
9041 (__libc_pwrite): Don't use CHECK_N.
9042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
9043 include <bp-checks.h>.
9044 (__libc_pwrite64): Don't use CHECK_N.
9045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
9046 <bp-checks.h>.
9047 (__libc_pread): Don't use CHECK_N.
9048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
9049 include <bp-checks.h>.
9050 (__libc_pread64): Don't use CHECK_N.
9051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
9052 include <bp-checks.h>.
9053 (__libc_pwrite): Don't use CHECK_N.
9054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
9055 include <bp-checks.h>.
9056 (__libc_pwrite64): Don't use CHECK_N.
9057 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
9058 (do_pread): Don't use CHECK_N.
9059 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
9060 (do_pread64): Don't use CHECK_N.
9061 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
9062 (do_pwrite): Don't use CHECK_N.
9063 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
9064 (do_pwrite64): Don't use CHECK_N.
9065 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
9066 (__libc_readv): Don't use CHECK_N.
9067 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
9068 (semop): Don't use CHECK_N.
9069 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
9070 <bp-checks.h>.
9071 (semtimedop): Don't use CHECK_N.
9072 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
9073 (__libc_pread): Don't use CHECK_N.
9074 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
9075 <bp-checks.h>.
9076 (__libc_pread64): Don't use CHECK_N.
9077 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
9078 <bp-checks.h>.
9079 (__libc_pwrite): Don't use CHECK_N.
9080 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
9081 <bp-checks.h>.
9082 (__libc_pwrite64): Don't use CHECK_N.
9083 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
9084 <bp-checks.h>.
9085 (__libc_msgrcv): Don't use CHECK_N.
9086 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
9087 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
9088 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
9089 (__libc_writev): Don't use CHECK_N.
9090
b84660a8
RM
90912013-02-08 Roland McGrath <roland@hack.frob.com>
9092
7f3e75f8
RM
9093 * string/strcpy.c: Removed unused variable.
9094
b84660a8
RM
9095 * Makeconfig (+sysdep-includes): Define with := rather than =.
9096 Use an existing include/ subdir of each sysdeps dir before it.
9097
471514d3
CD
90982013-02-08 Carlos O'Donell <carlos@redhat.com>
9099
9100 * nscd/connection.c (register_traced_file): Comment function.
9101 [HAVE_INOTIFY] (union __inev): Define.
9102 [HAVE_INOTIFY] (inotify_check_files): New function.
9103 [HAVE_INOTIFY] (clear_db_cache): Likewise.
9104 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
9105 clear_db_cache.
9106 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
9107
b2d3c3be
CD
91082013-02-08 Carlos O'Donell <carlos@redhat.com>
9109
9110 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
9111 loaded if not already and that a failure is permanent.
9112
b39949d2
CD
91132013-02-08 Carlos O'Donell <carlos@redhat.com>
9114
ddacd1db 9115 [BZ #15006]
b39949d2
CD
9116 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
9117 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
9118
b2c9eff4
JM
91192013-02-08 Joseph Myers <joseph@codesourcery.com>
9120
f3aae3f3
JM
9121 [BZ #13550]
9122 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
9123 (CHECK_1_NULL_OK): Likewise.
9124 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
9125 (__fxstat): Do not use CHECK_1.
9126 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
9127 <bp-checks.h>.
9128 (___fxstat64): Do not use CHECK_1.
9129 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9130 <bp-checks.h>.
9131 (__fxstatat): Do not use CHECK_1.
9132 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9133 <bp-checks.h>.
9134 (__fxstatat64): Do not use CHECK_1.
9135 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
9136 <bp-checks.h>.
9137 (__fxstat): Do not use CHECK_1.
9138 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9139 <bp-checks.h>.
9140 (__fxstatat): Do not use CHECK_1.
9141 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9142 <bp-checks.h>.
9143 (__getresgid): Do not use CHECK_1.
9144 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9145 <bp-checks.h>.
9146 (__getresuid): Do not use CHECK_1.
9147 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
9148 <bp-checks.h>.
9149 (__lxstat): Do not use CHECK_1.
9150 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9151 <bp-checks.h>.
9152 (__old_msgctl): Do not use CHECK_1.
9153 (__new_msgctl): Likewise.
9154 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
9155 <bp-checks.h>.
9156 (__new_setrlimit): Do not use CHECK_1.
9157 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9158 <bp-checks.h>.
9159 (__old_shmctl): Do not use CHECK_1.
9160 (__new_shmctl): Likewise.
9161 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
9162 <bp-checks.h>.
9163 (__xstat): Do not use CHECK_1.
9164 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
9165 (__lxstat): Do not use CHECK_1.
9166 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
9167 <bp-checks.h>.
9168 (___lxstat64): Do not use CHECK_1.
9169 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
9170 (__old_msgctl): Do not use CHECK_1.
9171 (__new_msgctl): Likewise.
9172 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
9173 <bp-checks.h>.
9174 (__gettimeofday): Do not use CHECK_1.
9175 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
9176 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
9177 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
9178 <bp-checks.h>.
9179 (__gettimeofday): Do not use CHECK_1.
9180 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
9181 (__old_shmctl): Do not use CHECK_1_NULL_OK.
9182 (__new_shmctl): Do not use CHECK_1.
9183 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
9184 <bp-checks.h>.
9185 (do_sigtimedwait): Do not use CHECK_1.
9186 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
9187 <bp-checks.h>.
9188 (do_sigwaitinfo): Do not use CHECK_1.
9189 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
9190 <bp-checks.h>.
9191 (msgctl): Do not use CHECK_1.
9192 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
9193 <bp-checks.h>.
9194 (shmctl): Do not use CHECK_1.
9195 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
9196 (ustat): Do not use CHECK_1.
9197 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
9198 <bp-checks.h>.
9199 (__fxstat): Do not use CHECK_1.
9200 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9201 <bp-checks.h>.
9202 (__fxstatat): Do not use CHECK_1.
9203 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
9204 <bp-checks.h>.
9205 (__lxstat): Do not use CHECK_1.
9206 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
9207 <bp-checks.h>.
9208 (__xstat): Do not use CHECK_1.
9209 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
9210 (__xstat): Do not use CHECK_1.
9211 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
9212 (___xstat64): Do not use CHECK_1.
9213
b2c9eff4
JM
9214 [BZ #13550]
9215 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
9216 definitions.
9217 (CHECK_BOUNDS_HIGH): Likewise.
9218 * string/strcpy.c: Do not include <bp-checks.h>.
9219 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
9220
f1d70dad
RM
92212013-02-07 Roland McGrath <roland@hack.frob.com>
9222
9223 * nscd/nscd-client.h (__nscd_drop_map_ref):
9224 Add __attribute__ ((unused)).
9225 * nis/nss-nisplus.h (niserr2nss): Likewise.
9226
9227 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
9228 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
9229
9230 * csu/libc-tls.c (init_static_tls, init_slotinfo):
9231 Remove inline keyword.
9232 * include/rounding-mode.h (round_away): Likewise.
9233 * libio/wfileops.c (adjust_wide_data): Likewise.
9234 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
9235 (__m128i_strloadu_tolower): Likewise.
9236 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
9237 (__m128i_strloadu_tolower): Likewise.
9238 * time/mktime.c (ydhms_diff): Likewise.
9239 * locale/elem-hash.h (elem_hash): Likewise.
9240 * locale/setlocale.c (setdata): Likewise.
9241 * posix/regex_internal.h (re_string_char_size_at): Likewise.
9242 (re_string_wchar_at): Likewise.
9243 (bitset_not, bitset_merge, bitset_mask): Likewise.
9244 [!(__GNUC__ > 3)] (inline): Remove macro.
9245 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
9246 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
9247 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
9248 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
9249 * string/memcmp.c (memcmp_bytes): Likewise.
9250 * locale/programs/locarchive.c (compute_hashval): Likewise.
9251 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
9252 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
9253 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
9254 * nss/getent.c (print_rpc, print_protocols): Likewise.
9255 (print_passwd, print_group, print_aliases): Likewise.
9256 * nis/nss-nisplus.h (niserr2nss): Likewise.
9257 * nscd/connections.c (restart_p): Likewise.
9258 Change return type to bool.
9259
eab55bfb
RM
92602013-02-05 Roland McGrath <roland@hack.frob.com>
9261
7bd642f5
RM
9262 * Makeconfig (all-Depend-files): Add existing
9263 $(sorted-subdirs:=/Depend) files.
9264 (all-subdirs): Remove nss.
9265 * sysdeps/unix/inet/Subdirs: Add it here instead.
9266 * hesiod/Depend: New file.
9267
573c29b2
RM
9268 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
9269 instead of calling alloca.
9270
b2e25af0
RM
9271 * io/lseek.c (__lseek): Rename to __libc_lseek.
9272 Define __lseek as an alias.
9273
eab55bfb
RM
9274 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
9275
9a0d1941
CD
92762013-02-04 Carlos O'Donell <carlos@redhat.com>
9277
9278 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
9279 else clause and remove check for non-standard endianness.
9280
b83bbec4
DM
92812013-02-04 David S. Miller <davem@davemloft.net>
9282
9283 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9284
6277fdab
JM
92852013-02-04 Joseph Myers <joseph@codesourcery.com>
9286
9287 [BZ #13550]
9288 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
9289 (__ubp_memchr): Remove prototype.
9290 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
9291 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9292 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
9293 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9294 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
9295 Remove alias.
9296 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
9297 (__ubp_memchr): Likewise.
9298 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
9299 (__ubp_memchr): Likewise.
9300 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
9301 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
9302 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
9303 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
9304 CHECK_STRING.
9305 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9306 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
9307 (__getcwd): Do not use CHECK_STRING.
9308 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9309 <bp-checks.h>.
9310 (__real_chown): Do not use CHECK_STRING.
9311 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
9312 <bp-checks.h>.
9313 (fchownat): Do not use CHECK_STRING.
9314 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
9315 CHECK_STRING.
9316 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9317 <bp-checks.h>.
9318 (__lchown): Do not use CHECK_STRING.
9319 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9320 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9321 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9322 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9324 include <bp-checks.h>.
9325 (truncate64): Do not use CHECK_STRING.
9326 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9327 <bp-checks.h>.
9328 (__real_chown): Do not use CHECK_STRING.
9329 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9330 <bp-checks.h>.
9331 (__lchown): Do not use CHECK_STRING.
9332 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9333 <bp-checks.h>.
9334 (__chown): Do not use CHECK_STRING.
9335 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
9336 <bp-checks.h>.
9337 (truncate64): Do not use CHECK_STRING.
9338 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
9339 Likewise.
9340 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
9341 (__xmknod): Do not use CHECK_STRING.
9342 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9343 <bp-checks.h>.
9344 (__xmknodat): Do not use CHECK_STRING.
9345 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9346 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9347
903ae060
AS
93482013-02-04 Andreas Schwab <schwab@suse.de>
9349
9350 [BZ #14142]
9351 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
9352 * include/netdb.h: Likewise for h_errno.
9353 * elf/tst-stackguard1.c: Include <tls.h>.
9354
542f9466
JK
93552013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9356
9357 * elf/link.h (struct link_map): Extend the l_addr comment.
9358 * include/link.h (struct link_map): Likewise.
9359
e782a927
JM
93602013-02-01 Joseph Myers <joseph@codesourcery.com>
9361
9362 [BZ #13550]
9363 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
9364 (BOUNDED_1): Remove macro.
9365 * debug/backtrace.c: Don't include <bp-checks.h>.
9366 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
9367 (__backtrace): Likewise.
9368 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
9369 <bp-checks.h>.
9370 (__backtrace): Don't use BOUNDED_1.
9371 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
9372 <bp-checks.h>.
9373 (__backtrace): Don't use BOUNDED_1.
9374 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
9375 (__backtrace): Don't use BOUNDED_1.
9376 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
9377 (shmat): Don't use BOUNDED_N.
9378
8cf28c5e
JM
93792013-01-31 Joseph Myers <joseph@codesourcery.com>
9380
3a7ac8a0
JM
9381 [BZ #13550]
9382 * sysdeps/generic/bp-start.h: Remove file.
9383 * csu/libc-start.c: Don't include <bp-start.h>.
9384 (LIBC_START_MAIN): Set up __environ directly instead of using
9385 INIT_ARGV_and_ENVIRON.
9386 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
9387 <bp-start.h>.
9388
f3499f95
JM
9389 [BZ #13550]
9390 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
9391 definitions.
9392 (CHECK_FCNTL): Likewise.
9393 (CHECK_N_PAGES): Likewise.
9394
32a45bea
JM
9395 [BZ #13550]
9396 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
9397 definitions.
9398 (CHECK_SIGSET_NULL_OK): Likewise.
9399 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
9400 <bp-checks.h>.
9401 (sigpending): Don't use CHECK_SIGSET.
9402 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
9403 <bp-checks.h>.
9404 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9405 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
9406 <bp-checks.h>.
9407 (do_sigsuspend): Don't use CHECK_SIGSET.
9408 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
9409 use CHECK_SIGSET.
9410 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
9411 (do_sigwait): Don't use CHECK_SIGSET.
9412 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
9413 use CHECK_SIGSET.
9414 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
9415 include <bp-checks.h>.
9416 (sigpending): Don't use CHECK_SIGSET.
9417 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
9418 include <bp-checks.h>.
9419 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9420 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
9421 <bp-checks.h>.
9422 (sigpending): Don't use CHECK_SIGSET.
9423 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
9424 <bp-checks.h>.
9425 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9426
2e8a5c8c
JM
9427 [BZ #13550]
9428 * sysdeps/generic/bp-semctl.h: Remove file.
9429 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
9430 <bp-checks.h> and <bp-semctl.h>.
9431 (__old_semctl): Don't use CHECK_SEMCTL.
9432 (__new_semctl): Likewise.
9433 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
9434 and <bp-semctl.h>.
9435 (__old_semctl): Don't use CHECK_SEMCTL.
9436 (__new_semctl): Likewise.
9437 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
9438 <bp-checks.h> and <bp-semctl.h>.
9439 (__old_semctl): Don't use CHECK_SEMCTL.
9440 (__new_semctl): Likewise.
9441 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
9442 <bp-checks.h> and <bp-semctl.h>.
9443 (semctl): Don't use CHECK_SEMCTL.
9444
c2d54929
JM
9445 [BZ #13550]
9446 * Makerules (elide-bp-thunks): Remove variable.
9447 (elide-routines.oS): Don't use $(elide-bp-thunks).
9448 (elide-routines.os): Likewise.
9449 (elide-routines.o): Likewise.
9450 (elide-routines.op): Likewise.
9451 (elide-routines.og): Likewise.
9452 (objects): Don't use $(bp-thunks).
9453 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
9454 include.
9455 (common-generated): Do not add s-proto-bp.d.
9456 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
9457 (int): Likewise.
9458 (typ): Likewise.
9459 Do not generate makefile rules for bounded-pointer thunks.
9460 * sysdeps/generic/bp-thunks.h: Remove file.
9461 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
9462 * sysdeps/unix/s-proto-bp.S: Likewise.
9463
8cf28c5e
JM
9464 [BZ #15062]
9465 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
9466 parts of result separately when argument is not close to line from
9467 -i to i and one part of argument is small.
9468 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9469 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9470 * math/libm-test.inc (cacos_test): Add more tests.
9471 (casin_test): Likewise.
9472 (casinh_test): Likewise.
9473 * sysdeps/i386/fpu/libm-test-ulps: Update.
9474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9475
c4e33b8d
DM
94762013-01-31 David S. Miller <davem@davemloft.net>
9477
9478 * po/de.po: Update from translation team.
9479
3b60b421
MK
94802013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
9481
9482 * time/tzfile.c: Include stdint.h for SIZE_MAX.
9483
bb931195
TS
94842013-01-25 Thomas Schwinge <thomas@codesourcery.com>
9485
b5a5da23
TS
9486 * configure.in (_AC_PROG_CC_C89): New definition.
9487 * configure: Regenerate.
9488
bb931195
TS
9489 * configure.in (AC_PROG_CPP): New definition.
9490 * configure: Regenerate.
9491
8c53a12c
JM
94922013-01-23 Joseph Myers <joseph@codesourcery.com>
9493
9494 * debug/tst-backtrace.h: New file.
9495 * debug/tst-backtrace2.c: Include tst-backtrace.h.
9496 (ret): Remove variable.
9497 (x): Likewise.
9498 (FAIL): Remove macro.
9499 (NO_INLINE): Likewise.
9500 (fn1): Use match function instead of strstr.
9501 * debug/tst-backtrace3.c: Include tst-backtrace.h.
9502 (ret): Remove variable.
9503 (x): Likewise.
9504 (FAIL): Remove macro.
9505 (NO_INLINE): Likewise.
9506 (fn): Use match function instead of strstr.
9507 * debug/tst-backtrace4.c: Include tst-backtrace.h.
9508 (ret): Remove variable.
9509 (x): Likewise.
9510 (FAIL): Remove macro.
9511 (NO_INLINE): Likewise.
9512 (handle_signal): Use match function instead of strstr.
9513 * debug/tst-backtrace5.c: Include tst-backtrace.h.
9514 (ret): Remove variable.
9515 (x): Likewise.
9516 (FAIL): Remove macro.
9517 (NO_INLINE): Likewise.
9518 (handle_signal): Use match function instead of strstr.
9519
4858fa2a
RM
95202013-01-23 Roland McGrath <roland@hack.frob.com>
9521
9522 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
9523
bae8e7f5
DM
95242013-01-23 David S. Miller <davem@davemloft.net>
9525
9526 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
9527 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
9528 argument of CAS if possible.
9529 * sysdeps/sparc/sparc64/bits/atomic.h
9530 (__arch_compare_and_exchange_val_32_acq): Likewise.
9531 (__arch_compare_and_exchange_val_64_acq): Likewise.
9532
9cbbc4ae
PT
95332013-01-23 Pino Toscano <toscano.pino@tiscali.it>
9534
9535 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
9536 * sysdeps/posix/ulimit.c: ... this.
92a601b8 9537 Include <limits.h>.
67b3f58c 9538 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 9539
5655a0b5
AC
95402013-01-23 Adam Conrad <adconrad@0c3.net>
9541
9542 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
9543 (LDFLAGS-tst-array5): Likewise.
9544
052aff95
JM
95452013-01-23 Joseph Myers <joseph@codesourcery.com>
9546
9547 [BZ #15036]
9548 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
9549 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
9550 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
9551 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
9552
7c1e01aa
DM
95532013-01-21 David S. Miller <davem@davemloft.net>
9554
9555 * sysdeps/sparc/backtrace.c: New file.
9556 * sysdeps/sparc/sparc32/backtrace.h: New file.
9557 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
9558 * sysdeps/sparc/sparc64/backtrace.h: New file.
9559 * sysdeps/sparc/sparc64/backtrace.c: Delete.
9560 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
9561 -funwind-tables.
9562
ab087e0a
AS
95632013-01-21 Andreas Schwab <schwab@suse.de>
9564
9565 [BZ #15020]
9566 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
9567 closed its stdout.
9568
ed689c2f
AS
95692013-01-20 Andreas Schwab <schwab@linux-m68k.org>
9570
9571 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
9572 "mpa2.h".
9573 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9574
31d470ac
JM
95752013-01-18 Joseph Myers <joseph@codesourcery.com>
9576 Mark Mitchell <mark@codesourcery.com>
9577 Tom de Vries <tom@codesourcery.com>
9578 Paul Pluzhnikov <ppluzhnikov@google.com>
9579
9580 * debug/tst-backtrace2.c: New file.
9581 * debug/tst-backtrace3.c: Likewise.
9582 * debug/tst-backtrace4.c: Likewise.
9583 * debug/tst-backtrace5.c: Likewise.
9584 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
9585 (CFLAGS-tst-backtrace3.c): Likewise.
9586 (CFLAGS-tst-backtrace4.c): Likewise.
9587 (CFLAGS-tst-backtrace5.c): Likewise.
9588 (LDFLAGS-tst-backtrace2): Likewise.
9589 (LDFLAGS-tst-backtrace3): Likewise.
9590 (LDFLAGS-tst-backtrace4): Likewise.
9591 (LDFLAGS-tst-backtrace5): Likewise.
9592 (tests): Add new tests tst-backtrace2, tst-backtrace3,
9593 tst-backtrace4 and tst-backtrace5.
9594
90567f30 95952013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
9596 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9597
9598 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
9599 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
9600 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
9601 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
9602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9603 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
9604 "+r" and remove output regs list as redundant. Add explicit inline
9605 asm to specify register of return val to work around compiler codegen
9606 bug. Remove (int) cast on return value. Add return type parameter to
9607 use in macro so that this macro does not truncate return value for
9608 64-bit values.
9609 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
9610 pass to INTERNAL_VSYSCALL_NCS.
9611 (INLINE_VSYSCALL): Add 'long int' as return type to
9612 INTERNAL_VSYSCALL_NCS macro invocation.
9613 (INTERNAL_VSYSCALL): Add 'long int' as return type to
9614 INTERNAL_VSYSCALL_NCS macro invocation.
9615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9616
d3b9ea61
SP
96172013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9618
0b57daeb
SP
9619 [BZ #14496]
9620 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
9621 Fix application of SIMD FP exception mask.
9622
caa99d06
SP
9623 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
9624 mp_no from a power of two.
9625 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
9626 __mpexp_twomm1. Use __pow_mp.
9627
d3b9ea61
SP
9628 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
9629 multiplication.
9630
1dbaee3c
DM
96312013-01-17 David S. Miller <davem@davemloft.net>
9632
9633 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9634
728d7b43
JM
96352013-01-17 Joseph Myers <joseph@codesourcery.com>
9636
9637 [BZ #15023]
9638 * include/complex.h: Condition contents on [!_COMPLEX_H].
9639 (__kernel_casinhf): New prototype.
9640 (__kernel_casinh): Likewise.
9641 (__kernel_casinhl): Likewise.
9642 * math/Makefile (libm_calls): Add k_casinh.
9643 * math/k_casinh.c: New file.
9644 * math/k_casinhf.c: Likewise.
9645 * math/k_casinhl.c: Likewise.
9646 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
9647 finite nonzero arguments.
9648 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
9649 finite nonzero arguments.
9650 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
9651 finite nonzero arguments.
9652 * math/s_casinh.c: Do not include <float.h>.
9653 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
9654 * math/s_casinhf.c: Do not include <float.h>.
9655 (__casinhf): Move code for finite nonzero arguments to
9656 k_casinhf.c.
9657 * math/s_casinhl.c: Do not include <float.h>.
9658 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
9659 redefine.
9660 (__casinhl): Move code for finite nonzero arguments to
9661 k_casinhl.c.
9662 * math/libm-test.inc (cacos_test): Add more tests.
9663 * sysdeps/i386/fpu/libm-test-ulps: Update.
9664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9665
2a26ef3a
PT
96662013-01-17 Pino Toscano <toscano.pino@tiscali.it>
9667
9668 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
9669 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
9670 [!HAVE_MREMAP]: Remove [defined linux] case.
9671 * malloc/arena.c: Do not include <malloc-sysdep.h>.
9672
a897655d
SP
96732013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9674
9675 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
9676
881ebe89 96772013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
9678
9679 * elf/elf.h (R_386_SIZE32): New relocation.
9680 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
9681 R_386_SIZE32.
9682 (elf_machine_rela): Likewise.
9683 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9684 R_X86_64_SIZE64 and R_X86_64_SIZE32.
9685
59981e9b
JM
96862013-01-17 Joseph Myers <joseph@codesourcery.com>
9687
9688 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
9689 (FP_FAST_FMA): Do not define.
9690 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
9691 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
9692 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
9693 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
9694 !_SOFT_FLOAT]: Likewise.
9695 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
9696 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
9697 value.
9698 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
9699 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
9700 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
9701 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
9702 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
9703 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
9704 file.
9705
cfa8054f
AS
97062013-01-16 Andreas Schwab <schwab@suse.de>
9707
9708 [BZ #14327]
9709 * include/stdlib.h (__mktemp): Add declaration.
9710 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
9711 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
9712
dd930cc5
SP
97132013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9714
881ebe89
SP
9715 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
9716 definitions.
9717 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9718 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
9719 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
9720 definitions here.
9721 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
9722 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
9723 definitions.
9724 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
9725 and ONE.
9726 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
9727 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
9728 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
9729 definitions.
9730 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
9731 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
9732 definitions.
9733 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 9734
dd930cc5
SP
9735 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
9736
c19a9f89
DM
97372013-01-15 David S. Miller <davem@davemloft.net>
9738
1aa61767
DM
9739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9740 trunc{,f} to libm-sysdep_routes.
9741 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
9743 file.
9744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
9746 file.
9747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
9748 file.
9749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
9750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
9751 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
9752 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
9753 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
9754 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
9755 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
9756 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
9757
c42d5e98
DM
9758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9759 nearbyint{,f} to libm-sysdep_routes.
9760 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
9762 New file.
9763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
9764 file.
9765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
9766 New file.
9767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
9768 file.
9769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
9770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
9771 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
9772 file.
9773 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
9774 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
9775 file.
9776 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
9777 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
9778 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
9779
c19a9f89
DM
9780 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9781 libc_feholdexcept and libc_fesetenv.
9782
357679d2
MF
97832013-01-15 Mike Frysinger <vapier@gentoo.org>
9784
9785 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
9786
65a82e3d
DM
97872013-01-14 David S. Miller <davem@davemloft.net>
9788
8b954ab9
DM
9789 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
9790 (SPARC_ASM_VIS2_IFUNC): Likewise.
9791 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
9792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
9793 use of 'siam' instruction.
9794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
9795 Likewise.
9796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
9797 Likewise.
9798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
9799 Likewise.
9800 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9801 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9802 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9803 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
9805 file.
9806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
9807 file.
9808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
9809 file.
9810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
9811 file.
9812 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
9813 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
9814 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
9815 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
9816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
9817 new VIS2 routines.
9818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9821 Likewise.
9822 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9823 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9824 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9825 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
9827 routines to libm-sysdep_routines.
9828 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9829
65a82e3d
DM
9830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9831 fdim/fdimf to libm-sysdep_routines.
9832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
9833 file.
9834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
9835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
9836 file.
9837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
9838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
9839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
9840 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
9841 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
9842 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
9843 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
9844
e34ab705
SP
98452013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9846
2a91b573
SP
9847 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
9848 to optimize copies.
9849
1066a534
SP
9850 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
9851 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9852 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9853
e34ab705
SP
9854 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
9855 local variable MPTWO.
9856 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9857 Likewise.
9858
aba5e596
MF
98592013-01-13 Mike Frysinger <vapier@gentoo.org>
9860
9861 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
9862 GLOB_NOESCAPE.
9863
e557e9e5
MF
98642013-01-13 Mike Frysinger <vapier@gentoo.org>
9865
9866 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
9867
0428cec9
MF
98682013-01-13 Mike Frysinger <vapier@gentoo.org>
9869
9870 * manual/pattern.texi (glob_t): Document gl_flags.
9871 (glob64_t): Likewise.
9872
8794a964
DM
98732013-01-11 David S. Miller <davem@davemloft.net>
9874
66438c3f
RM
9875 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
9876 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
9877 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
9878 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
9879 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
9880 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
9881 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
9882 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
9883 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
9884 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
9885 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
9886 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
9887 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
9888
4ae4244d
DM
9889 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9890 sparc V9 rather than using V8 code.
9891 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9892 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9893
8794a964
DM
9894 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9895 Move to...
9896 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
9897 Here.
9898
6270516e
RM
98992013-01-11 Roland McGrath <roland@hack.frob.com>
9900
9901 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
9902 not in the main loop.
9903 * configure: Regenerated.
9904
6a57d931
JM
99052013-01-11 Joseph Myers <joseph@codesourcery.com>
9906
9907 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
9908 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
9909 to just #else.
9910 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
9911 [!__GLIBC_HAVE_LONG_LONG] case.
9912 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
9913 condition to just #else.
9914 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
9915 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
9916 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
9917 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
9918 unconditional.
9919 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
9920 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9921 #elif condition to just #else.
9922 * sysdeps/unix/sysv/linux/sys/sysmacros.h
9923 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
9924 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9925 #elif condition to just #else.
9926
0e8529e9
SE
99272013-01-11 Steve Ellcey <sellcey@mips.com>
9928
9929 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
9930 (EF_MIPS_ARCH_64): Fix value.
9931 (EF_MIPS_ARCH_32R2): New.
9932 (EF_MIPS_ARCH_64R2): New.
9933
740b3dbe
L
99342013-01-11 H.J. Lu <hongjiu.lu@intel.com>
9935
9936 * Makeconfig (+link-pie-before-libc): New.
9937 (+link-pie-after-libc): Likewise.
9938 (+link-pie-tests): Likewise.
9939 (+link-pie): Rewritten.
9940 (link-before-libc): Remove $(config-LDFLAGS).
9941 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
9942 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
9943 (config-LDFLAGS): Renamed to ...
9944 (rtld-LDFLAGS): This.
9945 (rtld-tests-LDFLAGS): New macro.
9946 (link-libc-rpath-link): Likewise.
9947 (link-libc-tests-rpath-link): Likewise.
9948 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
9949 (link-libc): Prepand $(link-libc-rpath-link).
9950 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
9951 (test-program-prefix): New macro.
9952 (test-via-rtld-prefix): Likewise.
9953 (test-program-cmd): Likewise.
9954 (host-test-program-cmd): Likewise.
9955 * Makefile ($(common-objpfx)testrun.sh): Replace
9956 $(run-program-prefix) with $(test-program-prefix).
9957 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
9958 $(rtld-LDFLAGS).
9959 ($(common-objpfx)shlib.lds): Likewise.
9960 (build-module-helper): Likewise.
9961 ($(common-objpfx)format.lds): Likewise.
9962 * Rules (binaries-pie-tests): New.
9963 (binaries-pie-notests): Likewise.
9964 (binaries-pie): Rewritten.
9965 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
9966 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
9967 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
9968 (make-test-out): Replace $(host-built-program-cmd) with
9969 $(host-test-program-cmd).
9970 * config.make.in (build-hardcoded-path-in-tests): New variable.
9971 * configure.in (--enable-hardcoded-path-in-tests): New configure
9972 option.
9973 (hardcoded_path_in_tests): New AC_SUBST.
9974 * configure: Regenerated.
9975 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
9976 $(built-program-cmd) with $(test-program-cmd).
9977 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
9978 (test_program_cmd): This.
9979 * elf/Makefile ($(objpfx)order.out): Run test with
9980 $(test-program-prefix).
9981 ($(objpfx)order2.out): Likewise.
9982 ($(objpfx)tst-initorder.out): Likewise.
9983 ($(objpfx)tst-initorder2.out): Likewise.
9984 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
9985 $(test-program-cmd).
9986 ($(objpfx)tst-array1-static.out): Likewise.
9987 ($(objpfx)tst-array2.out): Likewise.
9988 ($(objpfx)tst-array3.out): Likewise.
9989 ($(objpfx)tst-array4.out): Likewise.
9990 ($(objpfx)tst-array5.out): Likewise.
9991 ($(objpfx)tst-array5-static.out): Likewise.
9992 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
9993 $(test-program-cmd).
9994 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
9995 $(run-program-prefix) with $(test-program-prefix).
9996 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
9997 (test_program_prefix): This.
9998 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
9999 $(run-program-prefix) with $(test-program-prefix).
10000 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
10001 (test_program_prefix): This.
10002 * iconvdata/tst-tables.sh: Likewise.
10003 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
10004 $(run-program-prefix) with $(test-program-prefix).
10005 ($(objpfx)tst-translit.out): Likewise.
10006 ($(objpfx)tst-gettext2.out): Likewise.
10007 ($(objpfx)tst-gettext4.out): Likewise.
10008 ($(objpfx)tst-gettext6.out): Likewise.
10009 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
10010 (test_program_prefix): This.
10011 * intl/tst-gettext2.sh: Likewise.
10012 * intl/tst-gettext4.sh Likewise.
10013 * intl/tst-gettext6.sh: Likewise.
10014 * intl/tst-translit.sh: Likewise.
10015 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
10016 with $(test-program-cmd).
10017 * libio/Makefile ($(objpfx)test-freopen.out): Replace
10018 $(run-program-prefix) with $(test-program-prefix).
10019 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
10020 (test_program_prefix): This.
10021 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
10022 $(run-program-prefix) with $(test-program-prefix).
10023 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
10024 (test_program_prefix): This.
10025 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
10026 * posix/Makefile ($(objpfx)globtest.out): Replace
10027 $(run-via-rtld-prefix) and $(test-wrapper) with
10028 $(test-program-prefix) and $(test-via-rtld-prefix).
10029 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
10030 $(test-program-prefix).
10031 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
10032 $(host-test-program-cmd).
10033 (tst-spawn-ARGS): Likewise.
10034 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
10035 $(test-program-prefix).
10036 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
10037 (test_via_rtld_prefix): This.
10038 (test_wrapper): Renamed to ...
10039 (test_program_prefix): This.
10040 (run_program_prefix): Replaced by test_program_prefix.
10041 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
10042 (test_program_prefix): This.
10043 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
10044 with $(host-test-program-cmd).
10045 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
10046 $(run-program-prefix) with $(test-program-prefix).
10047 ($(objpfx)tst-printf.out): Likewise.
10048 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
10049 $(test-program-cmd).
10050 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
10051 (test_program_prefix): This.
10052 * stdio-common/tst-unbputc.sh: Likewise.
10053 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
10054 $(run-program-prefix) with $(test-program-prefix).
10055 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
10056 (test_program_prefix): This.
10057 * string/Makefile ($(objpfx)tst-svc.out): Replace
10058 $(built-program-cmd) with $(test-program-cmd).
10059
c6fe55cf
AJ
100602013-01-11 Andreas Jaeger <aj@suse.de>
10061
10062 [BZ #15003]
10063 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
10064 value. Sync with Linux 3.7.
10065
9e6919c8
DM
100662013-01-10 David S. Miller <davem@davemloft.net>
10067
10068 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
10069 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10070 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10071
1c9f1a02
RM
100722013-01-10 Roland McGrath <roland@hack.frob.com>
10073
10074 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
10075 never set.
10076 * configure: Regenerated.
10077
b9de2dde
DM
100782013-01-10 David S. Miller <davem@davemloft.net>
10079
10080 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10081 sparc V9 rather than using V8 code.
10082 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10083 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10084
e7f68ef4
RM
100852013-01-10 Roland McGrath <roland@hack.frob.com>
10086
10087 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
10088 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
10089 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
10090 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
10091 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
10092 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
10093 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
10094 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
10095 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
10096 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
10097 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
10098 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
10099 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
10100 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
10101 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
10102 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
10103 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
10104 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
10105 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
10106 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
10107 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
10108 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
10109 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
10110 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
10111 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
10112 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
10113 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
10114
5a47cc9c
DM
101152013-01-10 David S. Miller <davem@davemloft.net>
10116
10117 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10118
4cf8f209
L
101192013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10120
10121 * posix/Makefile (tests-static): New variable.
10122 (tests): Add $(tests-static).
10123 (tst-exec-static-ARGS): New variable.
10124 (tst-spawn-static-ARGS): Likewise.
10125 * posix/tst-exec-static.c: New file.
10126 * posix/tst-spawn-static.c: Likewise.
10127 * posix/tst-exec.c: Support run directly.
10128 * posix/tst-spawn.c: Likewise.
10129
fed0faa1
JM
101302013-01-10 Joseph Myers <joseph@codesourcery.com>
10131
828beb13
JM
10132 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
10133 long.
10134 * math/bits/mathcalls.h (llrint): Likewise.
10135 (llround): Likewise.
10136 * stdlib/stdlib.h (struct drand48_data): Likewise.
10137 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
10138 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
10139 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
10140 Likewise.
10141 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
10142 Likewise.
10143 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
10144 (elf_greg_t): Likewise.
10145 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
10146 (__jmp_buf): Likewise.
10147 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
10148 definitions.
10149 (llrint): Likewise, for all definitions.
10150 (llrintl): Likewise.
10151
fed0faa1
JM
10152 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
10153 Remove [__GNUC__] condition.
10154 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
10155 condition to just [__USE_ISOC99].
10156 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
10157
1a20cb20
L
101582013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10159
10160 [BZ #14200]
10161 * sysdeps/unix/sysv/linux/x86/bits/environments.h
10162 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
10163 defined.
10164 (_POSIX_V6_ILP32_OFF32): Likewise.
10165 (_XBS5_ILP32_OFF32): Likewise.
10166 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
10167 (__ILP32_OFFBIG_LDFLAGS): Likewise.
10168
751b85f7
SP
101692013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10170
7490eb81
SP
10171 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
10172
751b85f7
SP
10173 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
10174 doubles __mpexp_twomm1. Adjust usage.
10175 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
10176 Remove.
10177
988197f0
AS
101782013-01-10 Andreas Schwab <schwab@suse.de>
10179
10180 [BZ #14964]
10181 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
10182 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
10183
e83d7298
DM
101842013-01-09 David S. Miller <davem@davemloft.net>
10185
034ed64b 10186 [BZ #15003]
e83d7298
DM
10187 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
10188 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
10189 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
10190 TCP_FASTOPEN): Define.
10191 (tcp_repair_opt): New structure.
10192 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
10193 enum values.
10194 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
10195 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
10196 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
10197 (tcp_cookie_transactions): New structure.
10198
d5e0b9bd
AB
101992013-01-09 Anton Blanchard <anton@samba.org>
10200
10201 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
10202 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
10203 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
10204 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
10205
0c07e3ea
JM
102062013-01-09 Joseph Myers <joseph@codesourcery.com>
10207
10208 * include/features.h (__USE_ANSI): Remove.
10209
232f7002
RM
102102013-01-09 Roland McGrath <roland@hack.frob.com>
10211
ad98e30c
RM
10212 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
10213
232f7002
RM
10214 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
10215
950c99ca
SP
102162013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
10217
b5792741
SP
10218 * sysdeps/s390/fpu/libm-test-ulps: Update.
10219
47cf2278
SP
10220 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10221
950c99ca
SP
10222 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
10223 (__acr): Likewise.
10224 (__cpy): Likewise.
10225 (norm): Likewise.
10226 (denorm): Likewise.
10227 (__mp_dbl): Likewise.
10228 (__dbl_mp): Likewise.
10229 (add_magnitudes): Likewise.
10230 (sub_magnitudes): Likewise.
10231 (__add): Likewise.
10232 (__sub): Likewise.
10233 (__mul): Likewise.
10234 (__inv): Likewise.
10235 (__dvd): Likewise.
10236 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
10237 (__acr): Likewise.
10238 (__cpy): Likewise.
10239 (norm): Likewise.
10240 (denorm): Likewise.
10241 (__mp_dbl): Likewise.
10242 (__dbl_mp): Likewise.
10243 (add_magnitudes): Likewise.
10244 (sub_magnitudes): Likewise.
10245 (__add): Likewise.
10246 (__sub): Likewise.
10247 (__mul): Likewise.
10248 (__inv): Likewise.
10249 (__dvd): Likewise.
10250 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
10251 (__acr): Likewise.
10252 (__cpy): Likewise.
10253 (norm): Likewise.
10254 (denorm): Likewise.
10255 (__mp_dbl): Likewise.
10256 (__dbl_mp): Likewise.
10257 (add_magnitudes): Likewise.
10258 (sub_magnitudes): Likewise.
10259 (__add): Likewise.
10260 (__sub): Likewise.
10261 (__mul): Likewise.
10262 (__inv): Likewise.
10263 (__dvd): Likewise.
10264
eede9df9
JM
102652013-01-08 Joseph Myers <joseph@codesourcery.com>
10266
10267 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
10268 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
10269 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
10270 2 && __USE_EXTERN_INLINES]: Likewise.
10271
c40ea3d9
AJ
102722013-01-08 Andreas Jaeger <aj@suse.de>
10273
10274 [BZ# 14985]
10275 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
10276 Remove.
10277 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10278 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10279
2ccdea26
AB
102802013-01-07 Anton Blanchard <anton@samba.org>
10281
10282 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
10283 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
10284 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
10285 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
10286 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10287 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10288 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
10289 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10290 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10291 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10292 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10293 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10294 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10295 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10296 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10297 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10298 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10299 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10300 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10301 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10302 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10303 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
10304 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10305 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10306 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
10307 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10308 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10309 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
10310 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
10311 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10312 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10313 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10314 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10315 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10316 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10317 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10318 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10319 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10320 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
10321 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10322 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
10323 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10324 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10325
a9708fed
JM
103262013-01-07 Joseph Myers <joseph@codesourcery.com>
10327
375607b9
JM
10328 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
10329 (__MALLOC_PMT): Likewise.
10330 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
10331 [__GNUC__], only on [_LIBC].
10332 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10333 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
10334 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10335 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
10336 forward declaration.
10337 (realloc_hook_ini): Likewise.
10338 (memalign_hook_ini): Likewise.
10339 (__libc_memalign): Do not use __MALLOC_PMT in variable
10340 declaration.
10341 (__libc_valloc): Likewise.
10342 (__libc_pvalloc): Likewise.
10343 (__libc_calloc): Likewise.
10344 (__posix_memalign): Likewise.
10345
a9708fed
JM
10346 [BZ #14996]
10347 * math/s_casinh.c: Include <float.h>.
10348 (__casinh): Do not do computation with squaring and square root
10349 for large arguments.
10350 * math/s_casinhf.c: Include <float.h>.
10351 (__casinhf): Do not do computation with squaring and square root
10352 for large arguments.
10353 * math/s_casinhl.c: Include <float.h>.
10354 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
10355 (__casinhl): Do not do computation with squaring and square root
10356 for large arguments.
10357 * math/libm-test.inc (casin_test): Add more tests.
10358 (casinh_test): Likewise.
10359 * sysdeps/i386/fpu/libm-test-ulps: Update.
10360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10361
afec409a
L
103622013-01-04 H.J. Lu <hongjiu.lu@intel.com>
10363
10364 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
10365 (__x86_64_raw_data_cache_size): Likewise.
10366 (__x86_64_data_cache_size_half): Likewise.
10367 (__x86_64_raw_data_cache_size_half): Likewise.
10368 (__x86_64_shared_cache_size): Likewise.
10369 (__x86_64_raw_shared_cache_size): Likewise.
10370 (__x86_64_shared_cache_size_half): Likewise.
10371 (__x86_64_raw_shared_cache_size_half): Likewise.
10372 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
10373 to ...
10374 (__x86_data_cache_size): This.
10375 (__x86_64_raw_data_cache_size): Renamed to ...
10376 (__x86_raw_data_cache_size): This.
10377 (__x86_64_data_cache_size_half): Renamed to ...
10378 (__x86_data_cache_size_half): This.
10379 (__x86_64_raw_data_cache_size_half): Renamed to ...
10380 (__x86_raw_data_cache_size_half): This.
10381 (__x86_64_shared_cache_size): Renamed to ...
10382 (__x86_shared_cache_size): This.
10383 (__x86_64_raw_shared_cache_size): Renamed to ...
10384 (__x86_raw_shared_cache_size): This.
10385 (__x86_64_shared_cache_size_half): Renamed to ...
10386 (__x86_shared_cache_size_half): This.
10387 (__x86_64_raw_shared_cache_size_half): Renamed to ...
10388 (__x86_raw_shared_cache_size_half): This.
10389 * sysdeps/x86_64/memcpy.S: Updated.
10390 * sysdeps/x86_64/memset.S: Likewise.
10391 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10392 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10393 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10394
0b3986d0
DM
103952013-01-04 David S. Miller <davem@davemloft.net>
10396
10397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10398
e47686e9
AS
103992013-01-04 Andreas Schwab <schwab@linux-m68k.org>
10400
d643bac1
AS
10401 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
10402 1 to avoid redefinition warning.
10403 (__USE_GNU): Don't define.
10404 (init_signaling_nan): Protoize.
10405
e47686e9
AS
10406 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10407
b18decba
SP
104082013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10409
fffb407f
SP
10410 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
10411 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
10412 (__cpymn): Likewise.
10413 (norm): Remove commented code.
10414 (denorm): Likewise.
10415 (__mp_dbl): Likewise.
10416 (__inv): Likewise.
10417 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
10418 (__cpymn): Likewise.
10419 (norm): Remove commented code.
10420 (denorm): Likewise.
10421 (__mp_dbl): Likewise.
10422 (__inv): Likewise.
10423
b18decba
SP
10424 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
10425 mp_no value for 1.0 and 2.0.
10426 (norm): Use RADIXI instead of radixi.d.
10427 (denorm): Likewise.
10428 (__mul): Use 0.0 instead of zero.d.
10429 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
10430 mp_no value for 1.0 and 2.0.
10431 (norm): Use RADIXI instead of radixi.d.
10432 (denorm): Likewise.
10433 (__mul): Use 0.0 instead of zero.d.
10434
cdc1c96f
JM
104352013-01-04 Joseph Myers <joseph@codesourcery.com>
10436
10437 [BZ #14994]
10438 * math/s_casinh.c (__casinh): Reduce finite argument to first
10439 quadrant then set signs of results at the end.
10440 * math/s_casinhf.c (__casinhf): Likewise.
10441 * math/s_casinhl.c (__casinhl): Likewise.
10442 * math/libm-test.inc (casin_test): Add more tests.
10443 (casinh_test): Likewise.
10444 * sysdeps/i386/fpu/libm-test-ulps: Update.
10445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10446
302913e1
SP
104472013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10448
6420d207
SP
10449 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
10450
a9e48ab4
SP
10451 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
10452
b7837264
SP
10453 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
10454 declarations.
10455 (denorm): Likewise.
10456 (__mp_dbl): Likewise.
10457 (__inv): Likewise.
10458
f8af25d2
SP
10459 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
10460 and adjust the header comment.
10461
302913e1
SP
10462 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
10463 variable name from declaration.
10464
5d7dd1ca
L
104652013-01-03 H.J. Lu <hongjiu.lu@intel.com>
10466
10467 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10468 Initialize COMMON_CPUID_INDEX_7 element.
10469 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
10470 (CPUID_RTM): Likewise.
10471 (HAS_RTM): Likewise.
10472 (COMMON_CPUID_INDEX_7): New enum.
10473
2f5f40f4
AS
104742013-01-03 Andreas Schwab <schwab@linux-m68k.org>
10475
10476 [BZ #14981]
10477 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
10478 size is zero, record memory as freed.
10479
4056f4a0
AJ
104802013-01-03 Andreas Jaeger <aj@suse.de>
10481
10482 * po/ia.po: Add new Interlingua translation.
10483
ab15736f 104842012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
10485
10486 * locale/programs/localedef.c: Fix description of '--posix' flag.
10487
568035b7
JM
104882013-01-02 Joseph Myers <joseph@codesourcery.com>
10489
e6898b8d
JM
10490 * NEWS: Update dates in second copyright notice.
10491 * README: Update copyright dates in example.
10492 * manual/libc.texinfo: Update copyright dates.
10493 * scripts/test-installation.pl: Update copyright date in --version
10494 output.
10495
0e2f9562
JM
10496 * hurd/ctty-input.c: Fix copyright notice formatting.
10497 * hurd/ctty-output.c: Likewise.
10498 * hurd/dtable.c: Likewise.
10499 * hurd/hurd-raise.c: Likewise.
10500 * hurd/hurdprio.c: Likewise.
10501 * hurd/msgportdemux.c: Likewise.
10502 * misc/sys/file.h: Likewise.
10503 * misc/sys/ioctl.h: Likewise.
10504 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10505 * sysdeps/mach/hurd/chdir.c: Likewise.
10506 * sysdeps/mach/hurd/fchdir.c: Likewise.
10507 * sysdeps/mach/hurd/rename.c: Likewise.
10508 * sysdeps/mach/hurd/rmdir.c: Likewise.
10509 * sysdeps/mach/hurd/seekdir.c: Likewise.
10510 * sysdeps/mach/hurd/setsid.c: Likewise.
10511 * sysdeps/posix/wait3.c: Likewise.
10512
568035b7
JM
10513 * All files with FSF copyright notices: Update copyright dates
10514 using scripts/update-copyrights.
10515 * intl/plural.c: Regenerated.
10516 * locale/programs/charmap-kw.h: Likewise.
10517 * locale/programs/locfile-kw.h: Likewise.
10518
da08f647
SP
105192013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10520
0f5477af
SP
10521 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
10522 four values.
10523
44e0d4c2
SP
10524 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
10525 calculation loop and add branch prediction.
10526
4d55b4e5
SP
10527 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
10528 check access beyond bounds of m1np.
10529
da08f647
SP
10530 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10531 MPTWO.
10532 (__inv): Remove local variable MPTWO to use the global
10533 constant.
10534 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
10535 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10536 variable MPTWO.
10537 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
10538 MP3HALFS static const.
10539
8e051029
DM
105402013-01-01 David S. Miller <davem@davemloft.net>
10541
10542 * po/ca.po: Update from translation team.
10543
f4cf5f2d
JM
105442013-01-01 Joseph Myers <joseph@codesourcery.com>
10545
10546 * scripts/update-copyrights: New file.
10547 * Makeconfig: Reformat copyright notice.
10548 * ctype/ctype.h: Likewise.
10549 * debug/swprintf_chk.c: Likewise.
10550 * elf/dl-cache.c: Likewise.
10551 * elf/dl-debug.c: Likewise.
10552 * elf/dl-object.c: Likewise.
10553 * grp/initgroups.c: Likewise.
10554 * hurd/Makefile: Likewise.
10555 * hurd/hurd/signal.h: Likewise.
10556 * hurd/hurdfault.c: Likewise.
10557 * hurd/hurdioctl.c: Likewise.
10558 * hurd/hurdlookup.c: Likewise.
10559 * hurd/intr-msg.c: Likewise.
10560 * iconv/gconv_open.c: Likewise.
10561 * libio/swprintf.c: Likewise.
10562 * locale/lc-ctype.c: Likewise.
10563 * locale/nl_langinfo.c: Likewise.
10564 * mach/Machrules: Likewise.
10565 * mach/Makefile: Likewise.
10566 * malloc/obstack.h: Likewise.
10567 * manual/Makefile: Likewise.
10568 * manual/tsort.awk: Likewise.
10569 * misc/bits/stab.def: Likewise.
10570 * nis/nis_print_group_entry.c: Likewise.
10571 * nis/nis_table.c: Likewise.
10572 * nis/nss_compat/compat-pwd.c: Likewise.
10573 * nis/nss_compat/compat-spwd.c: Likewise.
10574 * po/Makefile: Likewise.
10575 * posix/fnmatch.c: Likewise.
10576 * posix/regex.h: Likewise.
10577 * resolv/Makefile: Likewise.
10578 * resolv/nss_dns/dns-network.c: Likewise.
10579 * resolv/res_hconf.c: Likewise.
10580 * scripts/gen-sorted.awk: Likewise.
10581 * soft-fp/soft-fp.h: Likewise.
10582 * stdio-common/printf.h: Likewise.
10583 * stdlib/monetary.h: Likewise.
10584 * stdlib/random.c: Likewise.
10585 * stdlib/random_r.c: Likewise.
10586 * sysdeps/generic/Makefile: Likewise.
10587 * sysdeps/gnu/Makefile: Likewise.
10588 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10589 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10590 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10591 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10592 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10593 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10594 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10595 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10596 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10597 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10598 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10599 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10600 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10601 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10602 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
10603 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10604 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10605 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10606 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10607 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10608 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10609 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10610 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10611 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
10612 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
10613 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10614 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10615 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
10616 * sysdeps/mach/hurd/errnos.awk: Likewise.
10617 * sysdeps/mach/hurd/fork.c: Likewise.
10618 * sysdeps/mach/hurd/getcwd.c: Likewise.
10619 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
10620 * sysdeps/mach/hurd/mmap.c: Likewise.
10621 * sysdeps/mach/hurd/utimes.c: Likewise.
10622 * sysdeps/mach/hurd/xmknod.c: Likewise.
10623 * sysdeps/posix/profil.c: Likewise.
10624 * sysdeps/posix/readdir_r.c: Likewise.
10625 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10626 * sysdeps/powerpc/bits/setjmp.h: Likewise.
10627 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
10628 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10629 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10630 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10631 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10632 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10633 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10634 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10635 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10636 * sysdeps/pthread/lio_listio.c: Likewise.
10637 * sysdeps/sparc/dl-procinfo.h: Likewise.
10638 * sysdeps/unix/i386/sysdep.S: Likewise.
10639 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
10640 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
10641 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
10642 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
10643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10644 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10645 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10646 * sysdeps/unix/sysv/linux/speed.c: Likewise.
10647 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10648 * sysdeps/wordsize-32/divdi3.c: Likewise.
10649 * time/sys/time.h: Likewise.
10650 * wcsmbs/Makefile: Likewise.
10651
0549fbba
DM
106522013-01-01 David S. Miller <davem@davemloft.net>
10653
a141f1a7
DM
10654 * po/fr.po: Update from translation team.
10655
0549fbba
DM
10656 * catgets/gencat.c: Update copyright year.
10657 * csu/version.c: Likewise.
10658 * debug/catchsegv.sh: Likewise.
10659 * debug/pcprofiledump.c: Likewise.
10660 * debug/xtrace.sh: Likewise.
10661 * elf/ldconfig.c: Likewise.
10662 * elf/ldd.bash.in: Likewise.
10663 * elf/pldd.c: Likewise.
10664 * elf/sotruss.ksh: Likewise.
10665 * elf/sprof.c: Likewise.
10666 * iconv/iconv_prog.c: Likewise.
10667 * iconv/iconvconfig.c: Likewise.
10668 * locale/programs/locale.c: Likewise.
10669 * locale/programs/localedef.c: Likewise.
10670 * login/programs/pt_chown.c: Likewise.
10671 * malloc/memusage.sh: Likewise.
10672 * malloc/memusagestat.c: Likewise.
10673 * malloc/mtrace.pl: Likewise.
10674 * nscd/nscd.c: Likewise.
10675 * nss/getent.c: Likewise.
10676 * nss/makedb.c: Likewise.
10677 * posix/getconf.c: Likewise.
10678
18ea052c
SP
106792012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10680
10681 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
10682 numbers.
10683
9c89fca6
MF
106842012-12-30 Mike Frysinger <vapier@gentoo.org>
10685
10686 * math/bits/mathcalls.h (modf): Use __nonnull.
10687
085ec079
SP
106882012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10689
10690 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
10691 (split): Use macro CN instead of the bare value.
10692 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
10693 could be used.
10694 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
10695 instead of the bare value.
10696 (power1): Likewise.
10697
6d9f97e1
SP
106982012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10699
d63f73be
SP
10700 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
10701 __ATAN_TWOM.
10702 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10703
6d9f97e1
SP
10704 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
10705 their values.
10706 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10707 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10708 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
10709 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10710
4c4febf5
AJ
107112012-12-28 Andreas Jaeger <aj@suse.de>
10712
af5843ef
AJ
10713 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
10714 values are from Linux 3.7.
10715
4c4febf5
AJ
10716 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
10717 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
10718
99136f82
SP
107192012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10720
2f216c3c 10721 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
10722 TRUE case.
10723
99136f82
SP
10724 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
10725 (norm): Likewise.
10726 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
10727 variables with preprocessor constants.
10728 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10729 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10730 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10731
7fffbdff
BH
107322012-12-27 Bruno Haible <bruno@clisp.org>
10733
10734 [BZ #14317]
10735 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
10736 only if needed.
10737
b76eb5f0
SP
107382012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10739
31a7fe5c
SP
10740 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
10741 and use variable directly.
10742 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
10743
b76eb5f0
SP
10744 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10745 MPONE.
10746 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10747 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10748 variable MPONE.
10749 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10750 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10751 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
10752 include directive. Remove local variable MPONE.
10753 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
10754 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
10755 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10756
2c8bfe7d
DM
107572012-12-25 David S. Miller <davem@davemloft.net>
10758
10759 * version.h (RELEASE): Set to "development".
10760 (VERSION): Set to "2.17.90".
10761 * NEWS: Add 2.18 section.
10762
147d03b0
DM
107632012-12-21 David S. Miller <davem@davemloft.net>
10764
10765 * po/hr.po: Update from translation team.
10766
a8ebb2b9
AK
107672012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10768
10769 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
10770
95b4f1b6
SE
107712012-12-19 Steve Ellcey <sellcey@mips.com>
10772
b2d94007 10773 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 10774
cedb2a90
MS
107752012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10776
10777 * manual/contrib.texi (Contributors): Spelling correction.
10778
bbf527d6
DM
107792012-12-15 David S. Miller <davem@davemloft.net>
10780
10781 * po/ru.po: Update from translation team.
10782
bc38c906
DM
107832012-12-13 David S. Miller <davem@davemloft.net>
10784
85429b1a
DM
10785 * NEWS: Mention IFUNC testsuite enhancements.
10786
d283e353
DM
10787 * po/pl.po: Update from translation team.
10788 * po/bg.po: Likewise.
10789
bc38c906
DM
10790 * manual/contrib.texi (Contributors): Update entries for Hongjiu
10791 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
10792
a181b0d7
DM
107932012-12-11 David S. Miller <davem@davemloft.net>
10794
4641d57e
DM
10795 * po/sv.po: Update from translation team.
10796
f7bc6495
DM
10797 * po/vi.po: Update from translation team.
10798
6fc9048f
DM
10799 * po/cs.po: Update from translation team.
10800
a181b0d7
DM
10801 * po/de.po: Update from translation team.
10802 * po/eo.po: Likewise.
10803 * po/nl.po: Likewise.
10804
f70bfe80
SP
108052012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10806
3c8b4190
SP
10807 [BZ #14246]
10808 * manual/argp.texi (Argp Helper Functions): Move node to follow
10809 Argp Parsing State.
10810
f70bfe80
SP
10811 [BZ #14872]
10812 * manual/conf.texi (Limits on File System Capacity): Mention if
10813 terminating null is included in the max size.
10814
188f0adf
AJ
108152012-12-10 Andreas Jaeger <aj@suse.de>
10816
10817 * po/cs.po: Update from translation team.
10818
56e7d3ad
SP
108192012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10820
10821 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
10822 void pointer and cast to uintptr_t.
10823 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
10824 path.
10825 * sysdeps/s390/s390-64/memcpy.S: Likewise.
10826 * sysdeps/s390/s390-64/memset.S: Likewise.
10827
76f2d2ea 108282012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
10829
10830 [BZ #14833]
10831 * menual/message.texi (Message Translation): Fix typos.
10832 (Helper programs for gettext): Likewise.
10833
67cbf9a2
AS
108342012-12-07 Andreas Schwab <schwab@linux-m68k.org>
10835
10836 [BZ #14898]
10837 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
10838 Change to -1.
10839
682d0e9a
DM
108402012-12-07 David S. Miller <davem@davemloft.net>
10841
10842 * po/libc.pot: Update.
10843
573cd484
RH
108442012-12-07 Richard Henderson <rth@redhat.com>
10845
7e9da188 10846 [BZ #10114]
573cd484
RH
10847 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
10848 normal/normal case to before the switch.
10849 (_FP_DIV): Likewise.
10850
e933a943
MF
108512012-12-06 Carlos O'Donell <carlos@systemhalted.org>
10852 Mike Frysinger <vapier@gentoo.org>
10853
10854 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
10855 check for __NR_fadvise64_64.
10856
82123268
CM
108572012-12-06 Chris Metcalf <cmetcalf@tilera.com>
10858
10859 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
10860 0, not just to plain "0" as a statement.
10861 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
10862 with cw.
10863
d9814526
JM
108642012-12-06 Joseph Myers <joseph@codesourcery.com>
10865
10866 * NEWS: Use sourceware.org in Bugzilla URL.
10867
7728c574
SP
108682012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10869
f16946dd
SP
10870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10871 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10872
5704bbcb
SP
10873 * stdio-common/tst-put-error.c (do_test): Add newline to the
10874 padded test to ensure flush.
10875
17aa0516
JL
108762012-12-05 Jeff Law <law@redhat.com>
10877
10878 * sunrpc/etc.rpc (fedfs_admin): Add entry.
10879
363313b5
JM
108802012-12-05 Joseph Myers <joseph@codesourcery.com>
10881
effbd42a
JM
10882 * README: Don't refer to ports add-on as distributed separately.
10883 Mention AArch64 in list of systems supported in the ports add-on.
10884
87600365
JM
10885 * LICENSES: Add more non-FSF copyright and license notices.
10886
a0d7066a
JM
10887 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
10888 ((unused)).
10889
66ca5a5b
JM
10890 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
10891
363313b5
JM
10892 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
10893 10000 as width of padded output.
10894
b37984ad
JM
108952012-12-04 Joseph Myers <joseph@codesourcery.com>
10896
9003570a
JM
10897 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
10898
b37984ad
JM
10899 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
10900 variable LX with __attribute__ ((unused)).
10901 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10902 Likewise.
10903 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10904 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10905 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
10906 with __attribute__ ((unused)).
10907
c8df52ec
DM
109082012-12-04 David S. Miller <davem@abraco.davemloft.net>
10909
10910 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
10911
b3b099af
JM
109122012-12-04 Joseph Myers <joseph@codesourcery.com>
10913
c33aa6e3
JM
10914 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
10915 (CFLAGS-nldbl-acos.c): New variable.
10916 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
10917 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
10918 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
10919 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
10920 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
10921 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
10922 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
10923 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
10924 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
10925 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
10926 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
10927 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
10928 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
10929 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
10930 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
10931 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
10932 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
10933 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
10934 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
10935 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
10936 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
10937 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
10938 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
10939 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
10940 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
10941 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
10942 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
10943 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
10944 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
10945 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
10946 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
10947 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
10948 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
10949 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
10950 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
10951 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
10952 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
10953 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
10954 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
10955 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
10956 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
10957 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
10958 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
10959 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
10960 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
10961 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
10962 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
10963 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
10964 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
10965 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
10966 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
10967 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
10968 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
10969 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
10970 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
10971 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
10972 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
10973 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
10974 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
10975 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
10976 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
10977 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
10978 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
10979 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
10980 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
10981 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
10982 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
10983 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
10984 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
10985 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
10986 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
10987 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
10988 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
10989 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
10990 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
10991 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
10992 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
10993 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
10994 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
10995 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
10996 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
10997 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
10998 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
10999 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
11000 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
11001 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
11002 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
11003 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
11004 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
11005 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
11006 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
11007 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
11008 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
11009 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
11010 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
11011 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
11012 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
11013
20f0018d
JM
11014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11015 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11016
b3b099af
JM
11017 [BZ #14914]
11018 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
11019 whole low double instead of just low 47 bits when splitting values
11020 into two parts.
11021
029264d1
AM
110222012-12-03 Allan McRae <allan@archlinux.org>
11023
11024 * manual/stdio.texi (Predefined Printf Handlers): Remove
11025 @hsep and @vsep usage.
11026
c9d6789e
MF
110272012-12-03 Mike Frysinger <vapier@gentoo.org>
11028
11029 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
11030 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
11031
4b7634a5
JL
110322012-12-03 Jeff Law <law@redhat.com>
11033
11034 * time/sys/time.h (settimeofday): Do not mark TV argument
11035 as __nonnull.
11036
eb6cbd24
MF
110372012-12-01 Mike Frysinger <vapier@gentoo.org>
11038
11039 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
11040 when currently writing and seek to current position when not.
11041 * libio/Makefile (tests): Remove bug-fclose1.
11042 * libio/bug-fclose1.c: Delete.
11043
f638872a
JM
110442012-12-01 Joseph Myers <joseph@codesourcery.com>
11045
11046 * manual/arith.texi (feenableexcept): Fix typo.
11047 (fedisableexcept): Likewise.
11048
48085d14
RM
110492012-11-30 Roland McGrath <roland@hack.frob.com>
11050
11051 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
11052 second, differently-typed declaration, rather than a cast.
11053
1a538b9f
SP
110542012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11055
11056 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
11057 * include/rpc/svc.h: ... here.
11058
d07f2ff1 110592012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
11060
11061 [BZ #13013]
11062 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
11063 depending n and resplen2 to catch cases where answer
11064 equals answerp2.
11065
c93ec1f0
CD
110662012-11-29 Carlos O'Donell <carlos@systemhalted.org>
11067
11068 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
11069 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
11070
37db69de
MF
110712012-11-29 Mike Frysinger <vapier@gentoo.org>
11072
11073 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
11074
e10c4e4f
RM
110752012-11-29 Roland McGrath <roland@hack.frob.com>
11076
11077 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
11078
2af1b328
JL
110792012-11-28 Jeff Law <law@redhat.com>
11080
11081 [BZ #13761]
11082 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
11083 dataset_temporary. Track alloca usage into alloca_used.
11084 If dataset is large allocate and release it via malloc/free.
11085
111db5b1
FW
110862012-06-04 Florian Weimer <fweimer@redhat.com>
11087
f06cc227 11088 [BZ #14197]
111db5b1
FW
11089 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
11090
dd694abd
DM
110912012-11-28 David S. Miller <davem@davemloft.net>
11092
11093 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11094
9984dd01
JM
110952012-11-28 Joseph Myers <joseph@codesourcery.com>
11096
11097 [BZ #14803]
11098 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
11099 of pi/2 rounded to nearest to 64 bits.
11100 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
11101 nearest to 64 bits.
11102 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
11103 bits.
11104
14bc93a9
JL
111052012-11-28 Jeff Law <law@redhat.com>
11106 Martin Osvald <mosvald@redhat.com>
11107
11108 [BZ #14889]
11109 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
11110 * sunrpc/svc.c: Include time.h.
11111 (__svc_accept_failed): New function.
11112 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
11113 any reason other than EINTR, call __svc_accept_failed.
11114 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
11115 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
11116
e3c6aa3a
AS
111172012-11-28 Andreas Schwab <schwab@suse.de>
11118
11119 * scripts/abilist.awk: Also handle indirect functions in .opd
11120 section.
11121
1bead169
JM
111222012-11-28 Joseph Myers <joseph@codesourcery.com>
11123
11124 [BZ #13881]
11125 * sysdeps/x86/fpu/powl_helper.c: New file.
11126 * sysdeps/x86/fpu/Makefile: Likewise.
11127 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
11128 (p3): New object.
11129 (__ieee754_powl): Use __powl_helper for finite arguments except
11130 integer exponents below 8.
11131 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
11132 (p3): New object.
11133 (__ieee754_powl): Use __powl_helper for finite arguments except
11134 integer exponents below 8.
11135 * math/libm-test.inc (pow_test): Add more tests and enable some
11136 previously disabled tests.
11137 * sysdeps/i386/fpu/libm-test-ulps: Update.
11138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11139
0817d63d
SP
111402012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11141 Carlos O'Donell <carlos_odonell@mentor.com>
11142
11143 * nss/makedb.c (is_prime): Assert that input is odd and greater
11144 than 4. Note that fact in a comment too.
11145 (next_prime): Add 4 to input.
11146
de2fd463
SP
111472012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11148
11149 [BZ #11741]
11150 * libio/Makefile (tests): Add test case tst-fwrite-error.
11151 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
11152 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11153 * libio/tst-fwrite-error.c: New test case.
11154
c515fb51
L
111552012-11-26 H.J. Lu <hongjiu.lu@intel.com>
11156
11157 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
11158 before casting to void *.
11159 * include/libc-internal.h (__pointer_type): New macro.
11160 (__integer_if_pointer_type_sub): Likewise.
11161 (__integer_if_pointer_type): Likewise.
11162 (cast_to_integer): Likewise.
11163 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
11164 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
11165 before casting to atomic64_t.
11166 (atomic_exchange_acq): Likewise.
11167 (__arch_exchange_and_add_body): Likewise.
11168 (__arch_add_body): Likewise.
11169 (atomic_add_negative): Likewise.
11170 (atomic_add_zero): Likewise.
11171
4cf77aa9
JM
111722012-11-26 Joseph Myers <joseph@codesourcery.com>
11173
11174 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
11175 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
11176 (add_fdes): Likewise.
11177 (linear_search_fdes): Likewise.
11178 (binary_search_unencoded_fdes): Likewise.
11179
d260b3b4
AS
111802012-11-26 Andreas Schwab <schwab@linux-m68k.org>
11181
11182 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
11183
67060746
AC
111842012-11-24 Adam Conrad <adconrad@0c3.net>
11185
11186 * configure.in: Autodetect C++ header directories.
11187 * configure: Regenerated.
11188
800938a1
MF
111892012-11-23 Mike Frysinger <vapier@gentoo.org>
11190
11191 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
11192
4e6e34e6
AS
111932012-11-23 Andreas Schwab <schwab@linux-m68k.org>
11194
11195 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11196
7c7feb47
JM
111972012-11-22 Joseph Myers <joseph@codesourcery.com>
11198
7184dcdf
JM
11199 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
11200 LDBL_MANT_DIG == 106]: Disable some tests.
11201 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11202 Likewise.
11203 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11204 Likewise.
11205
0a42601f
JM
11206 [BZ #14871]
11207 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
11208 input for small inputs. Return +/- pi/2 for large inputs.
11209 * math/libm-test.inc (atan_test): Add more tests.
11210
79c9b9fe
JM
11211 * sysdeps/generic/unwind-dw2-fde-glibc.c
11212 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
11213 __attribute__ ((unused)).
11214
c60d3bf2
JM
11215 [BZ #14645]
11216 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
11217 x * y if x and y are nonzero and z is zero.
11218
ef1e0867
JM
11219 [BZ #14811]
11220 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
11221 nonzero exponents with absolute value below 0x1p-117 to +/-
11222 0x1p-117.
11223
1468ded3
JM
11224 [BZ #14869]
11225 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
11226 up arguments below 2**-450, not just those below 2**-500.
11227 * math/libm-test.inc (hypot_test): Add another test.
11228
8e27e3cc
JM
11229 [BZ #14868]
11230 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11231 Return a+b for ratio over 2**120, not 2**60.
11232 * math/libm-test.inc (hypot_test): Add another test.
11233
c9c0279b
JM
11234 * math/libm-test.inc (clog_test): Use
11235 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
11236 (clog10_test): Likewise.
11237
7c7feb47
JM
11238 [BZ #6778]
11239 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
11240
fff1530e
AS
112412012-11-22 Andreas Schwab <schwab@suse.de>
11242
11243 * sysdeps/i386/fpu/libm-test-ulps: Update.
11244
94558d30
PT
112452012-11-22 Pino Toscano <toscano.pino@tiscali.it>
11246
11247 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
11248 printf output with newline.
11249
7e1be741
L
112502012-11-21 H.J. Lu <hongjiu.lu@intel.com>
11251
6bfea974
L
11252 [BZ #14865]
11253 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
11254 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
11255 -z nodlopen, -z initfirst and -z execstack support.
11256 * configure: Regenerated.
11257
7e1be741
L
11258 * elf/elf.h (DF_1_NODIRECT): New macro.
11259 (DF_1_IGNMULDEF): Likewise.
11260 (DF_1_NOKSYMS): Likewise.
11261 (DF_1_NOHDR): Likewise.
11262 (DF_1_EDITED): Likewise.
11263 (DF_1_NORELOC): Likewise.
11264 (DF_1_SYMINTPOSE): Likewise.
11265 (DF_1_GLOBAUDIT): Likewise.
11266 (DF_1_SINGLETON): Likewise.
11267 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
11268 DT_1_SUPPORTED_MASK bits.
11269 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
11270
105ce2ce
CD
112712012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
11272
11273 * sysdeps/unix/make-syscalls.sh: Document prefixes.
11274
123be9de
TS
112752012-11-20 Thomas Schwinge <thomas@codesourcery.com>
11276
d072f3f7
TS
11277 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
11278 macro.
11279
123be9de
TS
11280 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
11281 (sendmmsg): Move declarations...
11282 * socket/sys/socket.h: ... here.
11283 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
11284 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
11285 include it from...
11286 * socket/recvmmsg.c: ... this new file.
11287 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
11288 (sendmmsg): Rename to __sendmmsg, create weak alias and make
11289 definition of __sendmmsg hidden.
11290 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11291 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
11292 Move ENOSYS stub into and include it from...
11293 * socket/sendmmsg.c: ... this new file.
11294 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
11295 (sysdep_routines): Move recvmmsg and sendmmsg...
11296 * socket/Makefile (routines): ... here.
11297 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
11298 (GLIBC_PRIVATE): Add __sendmmsg.
11299 * include/sys/socket.h (__sendmmsg): Add declarations.
11300 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
11301 sendmmsg.
11302
cf9a5d18
JM
113032012-11-20 Joseph Myers <joseph@codesourcery.com>
11304
11305 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
11306 variable I1 with __attribute__ ((unused)).
11307 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11308
ecd4caf9
JM
113092012-11-19 Joseph Myers <joseph@codesourcery.com>
11310
be14d48f
JM
11311 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
11312 DUMMY variables with __attribute__ ((unused)).
11313
ecd4caf9
JM
11314 * bits/byteswap.h: Include <bits/types.h>.
11315 (__bswap_64): Use __uint64_t instead of unsigned long long int.
11316
986cab95
PT
113172012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11318
11319 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
11320 string_t. Do not manually set errno.
11321 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
11322 length with __strnlen. Make sure to both set errno and return it on
11323 failure.
11324
6d33cc9d
DM
113252012-11-19 David S. Miller <davem@davemloft.net>
11326
11327 With help from Joseph Myers.
11328 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
11329 very large arguments properly.
11330 * math/libm-test.inc (atan_test): New tests.
11331 (atan2_test): New tests.
11332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11333 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11334
ee663277
JM
113352012-11-19 Joseph Myers <joseph@codesourcery.com>
11336
877f2d8e
JM
11337 [BZ #14856]
11338 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
11339 Define to 3.
11340
116fc08a
JM
11341 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
11342 [POSIX] (EADDRNOTAVAIL): Likewise.
11343 [POSIX] (EAFNOSUPPORT): Likewise.
11344 [POSIX] (EALREADY): Likewise.
11345 [POSIX] (ECONNABORTED): Likewise.
11346 [POSIX] (ECONNREFUSED): Likewise.
11347 [POSIX] (ECONNRESET): Likewise.
11348 [POSIX] (EDESTADDRREQ): Likewise.
11349 [POSIX] (EDQUOT): Likewise.
11350 [POSIX] (EHOSTUNREACH): Likewise.
11351 [POSIX] (EIDRM): Likewise.
11352 [POSIX] (EISCONN): Likewise.
11353 [POSIX] (ELOOP): Likewise.
11354 [POSIX] (EMULTIHOP): Likewise.
11355 [POSIX] (ENETDOWN): Likewise.
11356 [POSIX] (ENETUNREACH): Likewise.
11357 [POSIX] (ENOBUFS): Likewise.
11358 [POSIX] (ENODATA): Likewise.
11359 [POSIX] (ENOLINK): Likewise.
11360 [POSIX] (ENOMSG): Likewise.
11361 [POSIX] (ENOPROTOOPT): Likewise.
11362 [POSIX] (ENOSR): Likewise.
11363 [POSIX] (ENOSTR): Likewise.
11364 [POSIX] (ENOTCONN): Likewise.
11365 [POSIX] (ENOTSOCK): Likewise.
11366 [POSIX] (EOPNOTSUPP): Likewise.
11367 [POSIX] (EOVERFLOW): Likewise.
11368 [POSIX] (EPROTO): Likewise.
11369 [POSIX] (EPROTONOSUPPORT): Likewise.
11370 [POSIX] (EPROTOTYPE): Likewise.
11371 [POSIX] (ESTALE): Likewise.
11372 [POSIX] (ETIME): Likewise.
11373 [POSIX] (ETXTBSY): Likewise.
11374 [POSIX] (EWOULDBLOCK): Likewise.
11375 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
11376 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
11377 [POSIX] (SEEK_CUR): Likewise.
11378 [POSIX] (SEEK_END): Likewise.
11379 [POSIX || UNIX98] (mode_t): Do not require.
11380 [POSIX] (off_t): Likewise.
11381 [POSIX] (pid_t): Likewise.
11382 [POSIX] (sys/stat.h): Do not allow header.
11383 [POSIX] (unistd.h): Likewise.
11384 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
11385 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
11386 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
11387 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
11388 require.
11389 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
11390 sigevent): Specify elements.
11391 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
11392 entry.
11393 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
11394 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
11395
a483863f
JM
11396 * conform/data/cpio.h-data [POSIX]: Disable whole file.
11397 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
11398 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
11399 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
11400 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
11401 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
11402 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
11403 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
11404 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
11405 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
11406 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
11407 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
11408 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
11409 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
11410 Likewise.
11411 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
11412 Likewise.
11413 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
11414 Likewise.
11415 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
11416 Likewise.
11417 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
11418 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
11419 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
11420 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
11421 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
11422 Specify lower bound on value.
11423 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
11424 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
11425 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
11426 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
11427 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
11428 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
11429 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
11430 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
11431 value.
11432 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
11433 as optional.
11434 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
11435 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
11436 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
11437 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
11438 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
11439 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
11440 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
11441 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
11442 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
11443 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
11444 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
11445 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
11446 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
11447 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
11448 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
11449 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
11450 entry.
11451 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
11452 optional.
11453 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
11454 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
11455 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
11456 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
11457 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
11458 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
11459 Likewise.
11460 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
11461 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
11462 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
11463 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
11464 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
11465 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
11466 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
11467 as optional.
11468 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
11469 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
11470 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
11471 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
11472 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
11473 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
11474 specify as optional.
11475 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
11476 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
11477 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
11478 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
11479 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
11480 [XPG3] (NL_LANGMAX): Likewise.
11481 [POSIX || XPG3] (NL_MSGMAX): Likewise.
11482 [POSIX || XPG3] (NL_NMAX): Likewise.
11483 [POSIX || XPG3] (NL_SETMAX): Likewise.
11484 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
11485 [XPG3] (NZERO): Likewise.
11486 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
11487 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
11488 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
11489 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
11490 (REG_ERANGE): Expect.
11491 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
11492 optional-constant.
11493 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
11494 Use (void) in prototype.
11495 [POSIX] (*_t): Allow.
11496 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
11497 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
11498 (WRDE_BADVAL): Expect.
11499
5ba924e3
JM
11500 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
11501 expect.
11502 [XPG3 || XPG4] (O_RSYNC): Likewise.
11503 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
11504 Likewise.
11505 [XPG3 || XPG4] (pthread_sigmask): Likewise.
11506 [XPG3 || XPG4] (sigqueue): Likewise.
11507 [XPG3 || XPG4] (sigtimedwait): Likewise.
11508 [XPG3 || XPG4] (sigwaitinfo): Likewise.
11509 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
11510 [XPG3 || XPG4] (vsnprintf): Likewise.
11511 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
11512 Likewise.
11513 [XPG3 || XPG4] (blksize_t): Likewise.
11514 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
11515 Likewise.
11516 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
11517 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11518 [XPG3 || XPG4] (struct itimerspec): Likewise.
11519 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
11520 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
11521 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
11522 [XPG3 || XPG4] (clockid_t): Likewise.
11523 [XPG3 || XPG4] (timer_t): Likewise.
11524 [XPG3 || XPG4] (clock_getres): Likewise.
11525 [XPG3 || XPG4] (clock_gettime): Likewise.
11526 [XPG3 || XPG4] (clock_settime): Likewise.
11527 [XPG3 || XPG4] (nanosleep): Likewise.
11528 [XPG3 || XPG4] (timer_create): Likewise.
11529 [XPG3 || XPG4] (timer_delete): Likewise.
11530 [XPG3 || XPG4] (timer_gettime): Likewise.
11531 [XPG3 || XPG4] (timer_getoverrun): Likewise.
11532 [XPG3 || XPG4] (timer_settime): Likewise.
11533 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
11534 [XPG3 || XPG4] (getlogin_r): Likewise.
11535 [XPG3 || XPG4] (pread): Likewise.
11536 [XPG3 || XPG4] (pthread_atfork): Likewise.
11537 [XPG3 || XPG4] (pwrite): Likewise.
11538
ee663277
JM
11539 [BZ #14835]
11540 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
11541 <bits/siginfo.h>.
11542
942caa16
PT
115432012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11544
e19af380
PT
11545 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
11546 finalizing MALLSTREAM.
11547
942caa16
PT
11548 * sysdeps/mach/hurd/syncfs.c: New file.
11549
cfde9b46
SP
115502012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11551
11552 [BZ #14719]
11553 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
11554 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
11555 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
11556 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
11557 (_nss_dns_gethostbyname4_r): Likewise.
11558 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
11559 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
11560
f6da27e5
PH
115612012-11-19 Peng Haitao <penght@cn.fujitsu.com>
11562
11563 [BZ #13763]
11564 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
11565
6665d4a2
SM
115662012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
11567
1f51ee92
SM
11568 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
11569 * elf/cache.c (print_entry): Print ",AArch64" for
11570 FLAG_AARCH64_LIB64
11571
6665d4a2
SM
11572 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
11573 * elf/cache.c (print_entry): Print ",hard-float" for
11574 FLAG_ARM_LIBHF.
11575
05b227bd
DM
115762012-11-18 David S. Miller <davem@davemloft.net>
11577
11578 With help from Joseph Myers.
11579 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
11580 cutoff to 2**-13.
11581 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
11582 cutoff to 2**-25.
11583 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
11584 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
11585 small.
11586 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
11587 * math/libm-test.inc (y0_test): New tests.
11588 (y1_test): New tests.
11589 * sysdeps/i386/fpu/libm-test-ulps: Update.
11590 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11591 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11592
786b0b67
AS
115932012-11-18 Andreas Schwab <schwab@linux-m68k.org>
11594
11595 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
11596 64-bit targets.
11597 * configure: Regenerated.
11598
8e18b86d
DM
115992012-11-17 David S. Miller <davem@davemloft.net>
11600
11601 [BZ #14811]
11602 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
11603 nonzero exponents with absolute value below 0x1p-128 to +/-
11604 0x1p-128.
11605
531f1ae0
JM
116062012-11-17 Joseph Myers <joseph@codesourcery.com>
11607
12df29e2
JM
11608 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
11609
150dc1a0
JM
11610 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
11611
531f1ae0
JM
11612 * posix/getconf-speclist.c: New file.
11613 * posix/posix-envs.def: Likewise.
11614 * posix/confstr.c (START_ENV_GROUP): New macro.
11615 (END_ENV_GROUP): Likewise.
11616 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11617 (KNOWN_PRESENT_ENV_STRING): Likewise.
11618 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11619 (UNKNOWN_ENVIRONMENT): Likewise.
11620 (confstr): Include posix-envs.def instead of handling
11621 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
11622 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
11623 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
11624 (END_ENV_GROUP): Likewise.
11625 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11626 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11627 (UNKNOWN_ENVIRONMENT): Likewise.
11628 (__sysconf): Include posix-envs.def instead of handling associated
11629 cases directly here.
11630 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
11631 preprocessing getconf-speclist.c rather than running getconf or
11632 generating empty file.
11633
a93f9cbc
PT
116342012-11-16 Pino Toscano <toscano.pino@tiscali.it>
11635
11636 * scripts/check-local-headers.sh: Ignore 'mach' headers.
11637
d64d9f87
AL
116382012-11-16 Andrej Lajovic <natrij@gmail.com>
11639
11640 [BZ #14672]
11641 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
11642
447885eb
DM
116432012-11-16 David S. Miller <davem@davemloft.net>
11644
11645 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
11646 smaller than LDBL_EPSILON/2.0L, just return xm1.
11647
bcbf9830
L
116482012-11-16 H.J. Lu <hongjiu.lu@intel.com>
11649
11650 * elf/tst-array1.c (init): Set constructor priority to 1000.
11651 (fini): Set destructor priority to 1000.
11652 * elf/tst-array2dep.c: Likewise.
11653
2b766585
SP
116542012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11655
11656 [BZ #11741]
11657 * libio/fileops.c (_IO_new_file_write): Correctly return error.
11658 (_IO_new_file_xsputn): Also return EOF if none of the input
11659 data was written when overflow failed.
11660 * libio/iopadn.c (_IO_padn): Likewise.
11661 * libio/iowpadn.c (_IO_wpadn): Likewise.
11662 * stdio-common/tst-put-error.c: Add copyright notice.
11663 (do_test): Add case for printing padded string.
11664 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
11665 _IO_padn returned error.
11666 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
11667 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
11668 return EOF.
11669
b1848fde
SP
116702012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11671
11672 * libio/libioP.h: Add comment note that the references to C++
11673 bits are now obsolete.
11674
2fd89785
MS
116752012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11676
11677 * math/libm-test.inc (check_complex): Use asprintf.
11678
e3ea5409
JM
116792012-11-14 Joseph Myers <joseph@codesourcery.com>
11680
11681 * debug/pcprofiledump.c (print_version): Update copyright year.
11682 * malloc/memusagestat.c (print_version): Likewise.
11683
2e64d265
L
116842012-11-14 H.J. Lu <hongjiu.lu@intel.com>
11685
11686 [BZ #14831]
11687 * elf/Makefile (tests): Add tst-audit8.
11688 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
11689 ($(objpfx)tst-audit8.out): New target.
11690 (tst-audit8-ENV): New variable.
11691 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
11692 audit if l_reloc_result is NULL.
11693 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
11694 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
11695 * elf/tst-audit8.c: New file.
11696
c485e4d2
MS
116972012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11698
11699 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
11700 * misc/Makefile (CFLAGS-select.c): Define.
11701 * posix/Makefile (CFLAGS-pause.c): Define.
11702
3a0d900a
DM
117032012-11-13 David S. Miller <davem@davemloft.net>
11704
11705 * crypt/Makefile: Move test targets after toplevel Rules
11706 inclusion. Grab any necessary sysdep routines when linking.
11707 * crypt/md5.c (md5_process_block): Remove define, we will always
11708 name it __md5_process_block.
11709 (md5_finish_ctx): Update md5_process_block call.
11710 (md5_stream): Likewise.
11711 (md5_process_bytes): Likewise.
11712 (md5_process_block): Rename to __md5_process_block and move to ...
11713 * crypt/md5-block.c: ... here.
11714 * crypt/sha256.c (sha256_process_block): Move to ...
11715 * crypt/sha256-block.c: ... here.
11716 * crypt/sha512.c (sha512_process_block): Move to ...
11717 * crypt/sha512-block.c: ... here.
11718 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
11719 path.
11720 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
11721 * sysdeps/sparc/sparc64/multiarch/Makefile
11722 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
11723 crypt subdir.
11724 (localedef-aux): Add md5 crypto assembler when in locale subdir.
11725 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
11726 multiarch changes.
11727 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
11728 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
11729 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
11730 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
11731 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
11732 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
11733 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
11734 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
11735 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
11736 file.
11737 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
11738 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
11739 file.
11740 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
11741
8ca89318
JM
117422012-11-13 Joseph Myers <joseph@codesourcery.com>
11743
e27d476a
JM
11744 * timezone/tzselect.ksh: Update from tzcode git revision
11745 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
11746 * timezone/zdump.c: Likewise.
11747 * timezone/zic.c: Likewise.
11748 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
11749 in TZVERSION setting, not $(PKGVERSION).
11750 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
11751 REPORT_BUGS_TO settings.
11752
8ca89318
JM
11753 [BZ #14838]
11754 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
11755 macro.
11756
47594329
MS
117572012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11758
11759 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
11760 detection to immediately after _FP_ROUND().
11761 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
11762 bits are 0.
11763
640ac3f1
DM
117642012-11-11 David S. Miller <davem@davemloft.net>
11765
11766 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11767 inttypes.h
11768 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
11769 __close rather than their public counterparts.
11770
3d2577bb
JM
117712012-11-10 Joseph Myers <joseph@codesourcery.com>
11772
11773 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
11774 file.
11775 [UNIX98] (sem_timedwait): Do not expect.
11776 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
11777 [XPG4 || UNIX98] (sockatmark): Do not expect.
11778 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
11779 (clock_getcpuclockid): Do not expect.
11780 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
11781 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
11782 Do not expect.
11783 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
11784 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
11785 [UNIX98] (vwscanf): Likewise.
11786 [UNIX98] (vswscanf): Likewise.
11787
fb1ae1ee
JM
117882012-11-09 Joseph Myers <joseph@codesourcery.com>
11789
9ec6f8bd
JM
11790 * timezone/version.h: Remove file.
11791 * timezone/README: Do not refer to version.h.
11792 * timezone/Makefile ($(objpfx)zic.o): New dependency on
11793 $(objpfx)version.h.
11794 ($(objpfx)zdump.o): Likewise.
c3f81911 11795 ($(objpfx)version.h): New target.
9ec6f8bd 11796
0aa8f8a1
JM
11797 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
11798 2012i.
11799 * timezone/README: Don't mention modification to tzselect.ksh.
11800 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
11801 work on unmodified tzselect.ksh. Substitute version numbers in
11802 tzselect.ksh.
11803
4e87147f
JM
11804 * Makefile (format-me): Remove.
11805 (INSTALL): Adjust indentation. Use commands directly instead of
11806 using $(format-me).
11807
8b748aed
JM
11808 * aclocal.m4 (ACX_PKGVERSION): New macro.
11809 (ACX_BUGURL): Likewise.
11810 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
11811 (PKGVERSION): New AC_DEFINE_UNQUOTED.
11812 (REPORT_BUGS_TO): Likewise.
11813 * configure: Regenerated.
11814 * config.h.in (PKGVERSION): New macro.
11815 (REPORT_BUGS_TO): Likewise.
11816 * config.make.in (PKGVERSION): New variable.
11817 (PKGVERSION_TEXI): Likewise.
11818 (REPORT_BUGS_TO): Likewise.
11819 (REPORT_BUGS_TEXI): Likewise.
11820 * Makefile (format-me): Use -I$(common-objpfx)manual.
11821 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
11822 ($(common-objpfx)manual/%): New target.
11823 (manual/%): Remove target.
11824 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
11825 (print_version): Use PKGVERSION.
11826 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
11827 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
11828 and REPORT_BUGS_TO.
11829 ($(objpfx)xtrace): Likewise.
11830 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
11831 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
11832 (print_version): Use PKGVERSION.
11833 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
11834 (do_version): Use PKGVERSION.
11835 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
11836 REPORT_BUGS_TO.
11837 (common-ldd-rewrite): Likewise.
11838 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
11839 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
11840 (print_version): Use PKGVERSION.
11841 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
11842 * elf/pldd.c (argp_program_bug_address): Remove variable.
11843 (more_help): New function.
11844 (argp): Use more_help.
11845 (print_version): Use PKGVERSION.
11846 * elf/sln.c (main): Use PKGVERSION.
11847 (usage): Use REPORT_BUGS_TO.
11848 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
11849 (top level): Use PKGVERSION.
11850 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
11851 (print_version): Use PKGVERSION.
11852 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
11853 (print_version): Use PKGVERSION.
11854 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
11855 (print_version): Use PKGVERSION.
11856 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
11857 (print_version): Use PKGVERSION.
11858 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
11859 (print_version): Use PKGVERSION.
11860 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
11861 (print_version): Use PKGVERSION.
11862 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
11863 and BUGURL.
11864 ($(objpfx)memusage): Likewise.
11865 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
11866 (do_version): Use PKGVERSION.
11867 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
11868 (print_version): Use PKGVERSION.
11869 * malloc/mtrace.pl ($PACKAGE): Remove variable.
11870 ($PKGVERSION): New variable.
11871 ($REPORT_BUGS_TO): Likewise.
11872 (usage): Use $REPORT_BUGS_TO.
11873 (top level): Use $PKGVERSION.
11874 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
11875 ($(objpfx)pkgvers.texi): New rule.
11876 ($(objpfx)stamp-pkgvers): Likewise.
11877 * manual/install.texi: Include pkgvers.texi.
11878 (--with-pkgversion): Document new configure option.
11879 (--with-bugurl): Likewise.
11880 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
11881 than necessarily for this particular distribution. Use
11882 REPORT_BUGS_TO for where to report bugs.
11883 * INSTALL: Regenerated.
11884 * manual/libc.texinfo: Include pkgvers.texi.
11885 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
11886 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
11887 (print_version): Use PKGVERSION.
11888 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
11889 (print_version): Use PKGVERSION.
11890 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
11891 (print_version): Use PKGVERSION.
11892 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
11893 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
11894 macro.
11895 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
11896 (print_version): Use PKGVERSION.
11897 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
11898 (print_version): Use PKGVERSION.
11899 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
11900 and PKGVERSION.
11901
92e4b6a9
JM
11902 * timezone/checktab.awk: Update from tzcode 2012i.
11903 * timezone/ialloc.c: Likewise.
11904 * timezone/private.h: Likewise.
11905 * timezone/scheck.c: Likewise.
11906 * timezone/tzfile.h: Likewise.
11907 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
11908 (TZVERSION): Hardcode tzcode version number.
11909 * timezone/zdump.c: Update from tzcode 2012i.
11910 * timezone/zic.c: Likewise.
11911 * timezone/version.h: New file.
11912 * timezone/README: Describe version.h. Update upstream location.
11913
9bde902c
JM
11914 [BZ #14824]
11915 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
11916 (mktemp): Enable declaration.
11917 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
11918 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
11919 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
11920 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
11921 Likewise.
11922 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
11923 Likewise.
11924 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
11925 Likewise.
11926 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
11927 Likewise.
11928 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
11929 Likewise.
11930 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
11931 Likewise.
11932
fb1ae1ee
JM
11933 [BZ #14821]
11934 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
11935 offset in buffer as u_int32_t not u_long. Consistently use memcpy
11936 for copies of such integer values.
11937 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11938 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11939
2c1adbcb
AJ
119402012-11-09 Andreas Jaeger <aj@suse.de>
11941
11942 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
11943 definitions and declarations that are provided by
11944 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11945
d0f8457e
AK
119462012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11947
3a235abb 11948 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
11949 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
11950 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
11951 definition.
11952
57241e26
MS
119532012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11954
11955 * elf/elf.h: Update comment before AArch64 relocations.
11956
60e8270d
DM
119572012-11-07 David S. Miller <davem@davemloft.net>
11958
11959 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
11960 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11961 (__start_context): Declare.
11962 (__makecontext_ret): Delete.
11963 (__makecontext): Hook up __start_context instead of
11964 __makecontext_ret.
11965 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11966 (sysdep_routines): Add __start_context when in stdlib.
11967
0fbb0fbc
JM
119682012-11-07 Joseph Myers <joseph@codesourcery.com>
11969
11970 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
11971 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
11972 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
11973 hardcoded "nm".
11974 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
11975 (READELF): New variable. Use it instead of hardcoded "readelf".
11976
eb48db7e
L
119772012-11-07 H.J. Lu <hongjiu.lu@intel.com>
11978
11979 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
11980 * sysdeps/x86/Makefile: Here.
11981 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
11982 * sysdeps/x86/tst-xmmymm.sh: This.
11983
05bcf62a
JM
119842012-11-07 Joseph Myers <joseph@codesourcery.com>
11985
c4b6cf53
JM
11986 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11987 expectations.
11988 [UNIX98] (pthread_barrier_t): Do not expect.
11989 [UNIX98] (pthread_barrierattr_t): Likewise.
11990 [UNIX98] (pthread_spinlock_t): Likewise.
11991 [UNIX98] (pthread_barrier_destroy): Likewise.
11992 [UNIX98] (pthread_barrier_init): Likewise.
11993 [UNIX98] (pthread_barrier_wait): Likewise.
11994 [UNIX98] (pthread_barrierattr_destroy): Likewise.
11995 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
11996 [UNIX98] (pthread_barrierattr_init): Likewise.
11997 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
11998 [UNIX98] (pthread_getcpuclockid): Likewise.
11999 [UNIX98] (pthread_mutex_timedlock): Likewise.
12000 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
12001 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
12002 [UNIX98] (pthread_sigmask): Likewise.
12003 [UNIX98] (pthread_spin_destroy): Likewise.
12004 [UNIX98] (pthread_spin_init): Likewise.
12005 [UNIX98] (pthread_spin_lock): Likewise.
12006 [UNIX98] (pthread_spin_trylock): Likewise.
12007 [UNIX98] (pthread_spin_unlock): Likewise.
12008 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
12009 Do not expect.
12010 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
12011 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
12012 [XPG3 || XPG4] (pthread_cond_t): Likewise.
12013 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
12014 [XPG3 || XPG4] (pthread_key_t): Likewise.
12015 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
12016 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
12017 [XPG3 || XPG4] (pthread_once_t): Likewise.
12018 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
12019 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
12020 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
12021 [XPG3 || XPG4] (pthread_t): Likewise.
12022
cbe6e120
JM
12023 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
12024 not expect.
12025 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
12026
1b126443
JM
12027 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
12028 Change function return type to int.
12029
b961a573
JM
12030 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
12031 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
12032 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
12033 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
12034 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
12035 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
12036 [!POSIX] (posix_madvise): Likewise.
12037 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
12038 && !UNIX98].
12039 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
12040 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
12041 (mode_t): Likewise.
12042 (posix_mem_offset): Likewise.
12043 (posix_typed_mem_get_info): Likewise.
12044 (posix_typed_mem_open): Likewise.
12045
9e188909
JM
12046 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
12047 Change condition to [XOPEN2K8].
12048
05bcf62a
JM
12049 * conform/conformtest.pl: Preprocess allow-header data with -x c
12050 instead of from stdin.
12051 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
12052 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
12053 [C99-based standards] (cerfc): Likewise.
12054 [C99-based standards] (cexp2): Likewise.
12055 [C99-based standards] (cexpm1): Likewise.
12056 [C99-based standards] (clog10): Likewise.
12057 [C99-based standards] (clog1p): Likewise.
12058 [C99-based standards] (clog2): Likewise.
12059 [C99-based standards] (clgamma): Likewise.
12060 [C99-based standards] (ctgamma): Likewise.
12061 [C99-based standards] (cerff): Likewise.
12062 [C99-based standards] (cerfcf): Likewise.
12063 [C99-based standards] (cexp2f): Likewise.
12064 [C99-based standards] (cexpm1f): Likewise.
12065 [C99-based standards] (clog10f): Likewise.
12066 [C99-based standards] (clog1pf): Likewise.
12067 [C99-based standards] (clog2f): Likewise.
12068 [C99-based standards] (clgammaf): Likewise.
12069 [C99-based standards] (ctgammaf): Likewise.
12070 [C99-based standards] (cerfl): Likewise.
12071 [C99-based standards] (cerfcl): Likewise.
12072 [C99-based standards] (cexp2l): Likewise.
12073 [C99-based standards] (cexpm1l): Likewise.
12074 [C99-based standards] (clog10l): Likewise.
12075 [C99-based standards] (clog1pl): Likewise.
12076 [C99-based standards] (clog2l): Likewise.
12077 [C99-based standards] (clgammal): Likewise.
12078 [C99-based standards] (ctgammal): Likewise.
12079 * conform/data/inttypes.h-data [C99-based standards]: Include
12080 stdint.h-data. Remove all expectations for stdint.h contents.
12081 [C99-based standards] (PRI*): Do not allow.
12082 [C99-based standards] (SCN*): Likewise.
12083 [C99-based standards] (*_t): Likewise.
12084 [C99-based-standards] (PRId8): Expect macro.
12085 [C99-based-standards] (PRIi8): Likewise.
12086 [C99-based-standards] (PRIo8): Likewise.
12087 [C99-based-standards] (PRIu8): Likewise.
12088 [C99-based-standards] (PRIx8): Likewise.
12089 [C99-based-standards] (PRIX8): Likewise.
12090 [C99-based-standards] (SCNd8): Likewise.
12091 [C99-based-standards] (SCNi8): Likewise.
12092 [C99-based-standards] (SCNo8): Likewise.
12093 [C99-based-standards] (SCNu8): Likewise.
12094 [C99-based-standards] (SCNx8): Likewise.
12095 [C99-based-standards] (PRIdLEAST8): Likewise.
12096 [C99-based-standards] (PRIiLEAST8): Likewise.
12097 [C99-based-standards] (PRIoLEAST8): Likewise.
12098 [C99-based-standards] (PRIuLEAST8): Likewise.
12099 [C99-based-standards] (PRIxLEAST8): Likewise.
12100 [C99-based-standards] (PRIXLEAST8): Likewise.
12101 [C99-based-standards] (SCNdLEAST8): Likewise.
12102 [C99-based-standards] (SCNiLEAST8): Likewise.
12103 [C99-based-standards] (SCNoLEAST8): Likewise.
12104 [C99-based-standards] (SCNuLEAST8): Likewise.
12105 [C99-based-standards] (SCNxLEAST8): Likewise.
12106 [C99-based-standards] (PRIdFAST8): Likewise.
12107 [C99-based-standards] (PRIiFAST8): Likewise.
12108 [C99-based-standards] (PRIoFAST8): Likewise.
12109 [C99-based-standards] (PRIuFAST8): Likewise.
12110 [C99-based-standards] (PRIxFAST8): Likewise.
12111 [C99-based-standards] (PRIXFAST8): Likewise.
12112 [C99-based-standards] (SCNdFAST8): Likewise.
12113 [C99-based-standards] (SCNiFAST8): Likewise.
12114 [C99-based-standards] (SCNoFAST8): Likewise.
12115 [C99-based-standards] (SCNuFAST8): Likewise.
12116 [C99-based-standards] (SCNxFAST8): Likewise.
12117 [C99-based-standards] (PRId16): Likewise.
12118 [C99-based-standards] (PRIi16): Likewise.
12119 [C99-based-standards] (PRIo16): Likewise.
12120 [C99-based-standards] (PRIu16): Likewise.
12121 [C99-based-standards] (PRIx16): Likewise.
12122 [C99-based-standards] (PRIX16): Likewise.
12123 [C99-based-standards] (SCNd16): Likewise.
12124 [C99-based-standards] (SCNi16): Likewise.
12125 [C99-based-standards] (SCNo16): Likewise.
12126 [C99-based-standards] (SCNu16): Likewise.
12127 [C99-based-standards] (SCNx16): Likewise.
12128 [C99-based-standards] (PRIdLEAST16): Likewise.
12129 [C99-based-standards] (PRIiLEAST16): Likewise.
12130 [C99-based-standards] (PRIoLEAST16): Likewise.
12131 [C99-based-standards] (PRIuLEAST16): Likewise.
12132 [C99-based-standards] (PRIxLEAST16): Likewise.
12133 [C99-based-standards] (PRIXLEAST16): Likewise.
12134 [C99-based-standards] (SCNdLEAST16): Likewise.
12135 [C99-based-standards] (SCNiLEAST16): Likewise.
12136 [C99-based-standards] (SCNoLEAST16): Likewise.
12137 [C99-based-standards] (SCNuLEAST16): Likewise.
12138 [C99-based-standards] (SCNxLEAST16): Likewise.
12139 [C99-based-standards] (PRIdFAST16): Likewise.
12140 [C99-based-standards] (PRIiFAST16): Likewise.
12141 [C99-based-standards] (PRIoFAST16): Likewise.
12142 [C99-based-standards] (PRIuFAST16): Likewise.
12143 [C99-based-standards] (PRIxFAST16): Likewise.
12144 [C99-based-standards] (PRIXFAST16): Likewise.
12145 [C99-based-standards] (SCNdFAST16): Likewise.
12146 [C99-based-standards] (SCNiFAST16): Likewise.
12147 [C99-based-standards] (SCNoFAST16): Likewise.
12148 [C99-based-standards] (SCNuFAST16): Likewise.
12149 [C99-based-standards] (SCNxFAST16): Likewise.
12150 [C99-based-standards] (PRId32): Likewise.
12151 [C99-based-standards] (PRIi32): Likewise.
12152 [C99-based-standards] (PRIo32): Likewise.
12153 [C99-based-standards] (PRIu32): Likewise.
12154 [C99-based-standards] (PRIx32): Likewise.
12155 [C99-based-standards] (PRIX32): Likewise.
12156 [C99-based-standards] (SCNd32): Likewise.
12157 [C99-based-standards] (SCNi32): Likewise.
12158 [C99-based-standards] (SCNo32): Likewise.
12159 [C99-based-standards] (SCNu32): Likewise.
12160 [C99-based-standards] (SCNx32): Likewise.
12161 [C99-based-standards] (PRIdLEAST32): Likewise.
12162 [C99-based-standards] (PRIiLEAST32): Likewise.
12163 [C99-based-standards] (PRIoLEAST32): Likewise.
12164 [C99-based-standards] (PRIuLEAST32): Likewise.
12165 [C99-based-standards] (PRIxLEAST32): Likewise.
12166 [C99-based-standards] (PRIXLEAST32): Likewise.
12167 [C99-based-standards] (SCNdLEAST32): Likewise.
12168 [C99-based-standards] (SCNiLEAST32): Likewise.
12169 [C99-based-standards] (SCNoLEAST32): Likewise.
12170 [C99-based-standards] (SCNuLEAST32): Likewise.
12171 [C99-based-standards] (SCNxLEAST32): Likewise.
12172 [C99-based-standards] (PRIdFAST32): Likewise.
12173 [C99-based-standards] (PRIiFAST32): Likewise.
12174 [C99-based-standards] (PRIoFAST32): Likewise.
12175 [C99-based-standards] (PRIuFAST32): Likewise.
12176 [C99-based-standards] (PRIxFAST32): Likewise.
12177 [C99-based-standards] (PRIXFAST32): Likewise.
12178 [C99-based-standards] (SCNdFAST32): Likewise.
12179 [C99-based-standards] (SCNiFAST32): Likewise.
12180 [C99-based-standards] (SCNoFAST32): Likewise.
12181 [C99-based-standards] (SCNuFAST32): Likewise.
12182 [C99-based-standards] (SCNxFAST32): Likewise.
12183 [C99-based-standards] (PRId64): Likewise.
12184 [C99-based-standards] (PRIi64): Likewise.
12185 [C99-based-standards] (PRIo64): Likewise.
12186 [C99-based-standards] (PRIu64): Likewise.
12187 [C99-based-standards] (PRIx64): Likewise.
12188 [C99-based-standards] (PRIX64): Likewise.
12189 [C99-based-standards] (SCNd64): Likewise.
12190 [C99-based-standards] (SCNi64): Likewise.
12191 [C99-based-standards] (SCNo64): Likewise.
12192 [C99-based-standards] (SCNu64): Likewise.
12193 [C99-based-standards] (SCNx64): Likewise.
12194 [C99-based-standards] (PRIdLEAST64): Likewise.
12195 [C99-based-standards] (PRIiLEAST64): Likewise.
12196 [C99-based-standards] (PRIoLEAST64): Likewise.
12197 [C99-based-standards] (PRIuLEAST64): Likewise.
12198 [C99-based-standards] (PRIxLEAST64): Likewise.
12199 [C99-based-standards] (PRIXLEAST64): Likewise.
12200 [C99-based-standards] (SCNdLEAST64): Likewise.
12201 [C99-based-standards] (SCNiLEAST64): Likewise.
12202 [C99-based-standards] (SCNoLEAST64): Likewise.
12203 [C99-based-standards] (SCNuLEAST64): Likewise.
12204 [C99-based-standards] (SCNxLEAST64): Likewise.
12205 [C99-based-standards] (PRIdFAST64): Likewise.
12206 [C99-based-standards] (PRIiFAST64): Likewise.
12207 [C99-based-standards] (PRIoFAST64): Likewise.
12208 [C99-based-standards] (PRIuFAST64): Likewise.
12209 [C99-based-standards] (PRIxFAST64): Likewise.
12210 [C99-based-standards] (PRIXFAST64): Likewise.
12211 [C99-based-standards] (SCNdFAST64): Likewise.
12212 [C99-based-standards] (SCNiFAST64): Likewise.
12213 [C99-based-standards] (SCNoFAST64): Likewise.
12214 [C99-based-standards] (SCNuFAST64): Likewise.
12215 [C99-based-standards] (SCNxFAST64): Likewise.
12216 [C99-based-standards] (PRIdMAX): Likewise.
12217 [C99-based-standards] (PRIiMAX): Likewise.
12218 [C99-based-standards] (PRIoMAX): Likewise.
12219 [C99-based-standards] (PRIuMAX): Likewise.
12220 [C99-based-standards] (PRIxMAX): Likewise.
12221 [C99-based-standards] (PRIXMAX): Likewise.
12222 [C99-based-standards] (SCNdMAX): Likewise.
12223 [C99-based-standards] (SCNiMAX): Likewise.
12224 [C99-based-standards] (SCNoMAX): Likewise.
12225 [C99-based-standards] (SCNuMAX): Likewise.
12226 [C99-based-standards] (SCNxMAX): Likewise.
12227 [C99-based-standards] (PRIdPTR): Likewise.
12228 [C99-based-standards] (PRIiPTR): Likewise.
12229 [C99-based-standards] (PRIoPTR): Likewise.
12230 [C99-based-standards] (PRIuPTR): Likewise.
12231 [C99-based-standards] (PRIxPTR): Likewise.
12232 [C99-based-standards] (PRIXPTR): Likewise.
12233 [C99-based-standards] (SCNdPTR): Likewise.
12234 [C99-based-standards] (SCNiPTR): Likewise.
12235 [C99-based-standards] (SCNoPTR): Likewise.
12236 [C99-based-standards] (SCNuPTR): Likewise.
12237 [C99-based-standards] (SCNxPTR): Likewise.
12238 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
12239 allow.
12240 * conform/data/stdint.h-data: Update comments to clarify
12241 requirements.
12242 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
12243 type.
12244 [C99-based standards] (INT8_MAX): Likewise.
12245 [C99-based standards] (INT16_MIN): Likewise.
12246 [C99-based standards] (INT16_MAX): Likewise.
12247 [C99-based standards] (INT32_MIN): Likewise.
12248 [C99-based standards] (INT32_MAX): Likewise.
12249 [C99-based standards] (INT64_MIN): Likewise.
12250 [C99-based standards] (INT64_MAX): Likewise.
12251 [C99-based standards] (UINT8_MAX): Likewise.
12252 [C99-based standards] (UINT16_MAX): Likewise.
12253 [C99-based standards] (UINT32_MAX): Likewise.
12254 [C99-based standards] (UINT64_MAX): Likewise.
12255 [C99-based standards] (INT_LEAST8_MIN): Likewise.
12256 [C99-based standards] (INT_LEAST8_MAX): Likewise.
12257 [C99-based standards] (INT_LEAST16_MIN): Likewise.
12258 [C99-based standards] (INT_LEAST16_MAX): Likewise.
12259 [C99-based standards] (INT_LEAST32_MIN): Likewise.
12260 [C99-based standards] (INT_LEAST32_MAX): Likewise.
12261 [C99-based standards] (INT_LEAST64_MIN): Likewise.
12262 [C99-based standards] (INT_LEAST64_MAX): Likewise.
12263 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
12264 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
12265 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
12266 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
12267 [C99-based standards] (INT_FAST8_MIN): Likewise.
12268 [C99-based standards] (INT_FAST8_MAX): Likewise.
12269 [C99-based standards] (INT_FAST16_MIN): Likewise.
12270 [C99-based standards] (INT_FAST16_MAX): Likewise.
12271 [C99-based standards] (INT_FAST32_MIN): Likewise.
12272 [C99-based standards] (INT_FAST32_MAX): Likewise.
12273 [C99-based standards] (INT_FAST64_MIN): Likewise.
12274 [C99-based standards] (INT_FAST64_MAX): Likewise.
12275 [C99-based standards] (UINT_FAST8_MAX): Likewise.
12276 [C99-based standards] (UINT_FAST16_MAX): Likewise.
12277 [C99-based standards] (UINT_FAST32_MAX): Likewise.
12278 [C99-based standards] (UINT_FAST64_MAX): Likewise.
12279 [C99-based standards] (INTPTR_MIN): Likewise.
12280 [C99-based standards] (INTPTR_MAX): Likewise.
12281 [C99-based standards] (UINTPTR_MAX): Likewise.
12282 [C99-based standards] (INTMAX_MIN): Likewise.
12283 [C99-based standards] (INTMAX_MAX): Likewise.
12284 [C99-based standards] (UINTMAX_MAX): Likewise.
12285 [C99-based standards] (PTRDIFF_MIN): Likewise.
12286 [C99-based standards] (PTRDIFF_MAX): Likewise.
12287 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
12288 [C99-based standards] (SIZE_MAX): Likewise.
12289 [C99-based standards] (WCHAR_MAX): Likewise.
12290 [C99-based standards] (WINT_MAX): Likewise.
12291 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
12292 constraint on value.
12293 [C99-based standards] (WCHAR_MIN): Likewise.
12294 [C99-based standards] (WINT_MIN): Likewise.
12295 [C99-based standards] (*_t): Allow.
12296 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
12297 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
12298 Include math.h-data and complex.h-data. Remove all expectations
12299 of math.h and complex.h contents.
12300 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
12301 at end of line.
12302 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
12303 (struct tm): Expect tag.
12304 [C99-based-standards] (wcstof): Expect function.
12305 [C99-based-standards] (wcstold): Likewise.
12306 [C99-based-standards] (wcstoll): Likewise.
12307 [C99-based-standards] (wcstoull): Likewise.
12308 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
12309 macro-int-constant. Specify type.
12310 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
12311 constraint on value.
12312 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12313 Specify type.
12314 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
12315 Specify value.
12316 [ISO C standards]: Do not allow headers.
12317 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
12318 wcs[abcdefghijklmnopqrstuvwxyz]*.
12319 [ISO C standards] (*_t): Do not allow.
12320 * conform/data/wctype.h-data [C99-based standards] (iswblank):
12321 Expect function.
12322 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
12323 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12324 Specify type.
12325 [ISO C standards]: Do not allow headers.
12326 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
12327 is[abcdefghijklmnopqrstuvwxyz]*.
12328 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
12329 to[abcdefghijklmnopqrstuvwxyz]*.
12330 [ISO C standards] (*_t): Do not allow.
12331 * conform/data/stdalign.h-data: New file.
12332 * conform/data/stdbool.h-data: Likewise.
12333 * conform/data/stdnoreturn.h-data: Likewise.
12334
7514feb8
RM
123352012-11-07 Roland McGrath <roland@hack.frob.com>
12336
12337 [BZ #14815]
12338 * manual/filesys.texi (Directory Entries): Typo fix.
12339 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
12340
19b2ecfc
MS
123412012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12342
12343 * elf/elf.h (EM_AARCH64): New macro.
12344 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
12345 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
12346 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
12347 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
12348 (R_AARCH64_TLSDESC): Likewise.
12349 (NT_ARM_TLS): Likewise.
12350 (NT_ARM_HW_BREAK): Likewise.
12351 (NT_ARM_HW_WATCH): Likewise.
12352
60e235ee
JM
123532012-11-07 Joseph Myers <joseph@codesourcery.com>
12354
12355 [BZ #14811]
12356 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
12357 (__ieee754_powl): Saturate nonzero exponents with absolute value
12358 below 0x1p-79 to +/- 0x1p-79.
12359 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
12360 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
12361 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
12362 nonzero exponents with absolute value below 0x1p-32 to +/-
12363 0x1p-32.
12364 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
12365 (__ieee754_powl): Saturate nonzero exponents with absolute value
12366 below 0x1p-79 to +/- 0x1p-79.
12367 * math/libm-test.inc (pow_test): Add more tests.
12368
0ab234b7
AK
123692012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12370
12371 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
12372 _dl_s390_cap_flags with kernel. Increase string length.
12373 (_dl_s390_platforms): Add z196 and zEC12.
12374
45832f74
JM
123752012-11-07 Joseph Myers <joseph@codesourcery.com>
12376
12377 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
12378 Change XOPEN21K to XOPEN2K.
12379
19218757
MK
123802012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
12381
12382 * string/memmove.c: Use memcpy when possible.
12383
c5f45721
AJ
123842012-11-06 Andreas Jaeger <aj@suse.de>
12385
12386 * po/eo.po: Update from translation team.
12387
82477c28
JM
123882012-11-06 Joseph Myers <joseph@codesourcery.com>
12389
12390 [BZ #14793]
12391 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
12392 exponent and small x and y exponents, scale x or y up. Increase
12393 by 2 the exponent used in scaling up.
12394 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12395 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12396 * math/libm-test.inc (fma_test): Add more tests.
12397 (fma_test_towardzero): Likewise.
12398 (fma_test_downward): Likewise.
12399 (fma_test_upward): Likewise.
12400
99252c8c
JM
124012012-11-05 Joseph Myers <joseph@codesourcery.com>
12402
acfa885f
JM
12403 [BZ #14805]
12404 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
12405 fenv_t *.
12406
99252c8c
JM
12407 [BZ #14801]
12408 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
12409 namespace for names of struct fields.
12410 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
12411 fenv_t fields.
12412 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
12413 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
12414
d6d98dea
ST
124152012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12416
12417 [BZ #3665]
12418 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
12419
e10bb107
TS
124202012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12421
12422 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
12423 PTR_DEMANGLE.
12424
12425 [BZ #5246]
12426 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
12427 PTR_DEMANGLE.
12428
a0c2940d
JM
124292012-11-04 Joseph Myers <joseph@codesourcery.com>
12430
12431 [BZ #14797]
12432 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
12433 definitely overflow as x * y not x * y + z.
12434 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12435 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12436 * math/libm-test.inc (fma_test): Add more tests.
12437 (fma_test_towardzero): Likewise.
12438 (fma_test_downward): Likewise.
12439 (fma_test_upward): Likewise.
12440
b830319d
TS
124412012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12442
12443 [BZ #157]
12444
12445 * include/stub-tag.h: Remove file.
12446 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
12447 '#include' of it.
12448 * manual/maint.texi (Porting): Don't reference it.
12449 * Makerules ($(objpfx)stubs): Likewise.
12450 * dirent/closedir.c: Don't include <stub-tag.h>.
12451 * dirent/dirfd.c: Likewise.
12452 * dirent/fdopendir.c: Likewise.
12453 * dirent/getdents.c: Likewise.
12454 * dirent/getdents64.c: Likewise.
12455 * dirent/opendir.c: Likewise.
12456 * dirent/readdir.c: Likewise.
12457 * dirent/readdir64.c: Likewise.
12458 * dirent/readdir64_r.c: Likewise.
12459 * dirent/readdir_r.c: Likewise.
12460 * dirent/rewinddir.c: Likewise.
12461 * dirent/seekdir.c: Likewise.
12462 * dirent/telldir.c: Likewise.
12463 * gmon/profil.c: Likewise.
12464 * grp/setgroups.c: Likewise.
12465 * inet/if_index.c: Likewise.
12466 * io/access.c: Likewise.
12467 * io/chdir.c: Likewise.
12468 * io/chmod.c: Likewise.
12469 * io/chown.c: Likewise.
12470 * io/close.c: Likewise.
12471 * io/dup.c: Likewise.
12472 * io/dup2.c: Likewise.
12473 * io/dup3.c: Likewise.
12474 * io/euidaccess.c: Likewise.
12475 * io/faccessat.c: Likewise.
12476 * io/fchdir.c: Likewise.
12477 * io/fchmod.c: Likewise.
12478 * io/fchmodat.c: Likewise.
12479 * io/fchown.c: Likewise.
12480 * io/fchownat.c: Likewise.
12481 * io/fcntl.c: Likewise.
12482 * io/flock.c: Likewise.
12483 * io/fstatfs.c: Likewise.
12484 * io/fstatfs64.c: Likewise.
12485 * io/fstatvfs.c: Likewise.
12486 * io/fstatvfs64.c: Likewise.
12487 * io/futimens.c: Likewise.
12488 * io/fxstat.c: Likewise.
12489 * io/fxstat64.c: Likewise.
12490 * io/fxstatat.c: Likewise.
12491 * io/fxstatat64.c: Likewise.
12492 * io/getcwd.c: Likewise.
12493 * io/isatty.c: Likewise.
12494 * io/lchmod.c: Likewise.
12495 * io/lchown.c: Likewise.
12496 * io/link.c: Likewise.
12497 * io/linkat.c: Likewise.
12498 * io/lseek.c: Likewise.
12499 * io/lseek64.c: Likewise.
12500 * io/lxstat64.c: Likewise.
12501 * io/mkdir.c: Likewise.
12502 * io/mkdirat.c: Likewise.
12503 * io/mkfifo.c: Likewise.
12504 * io/mkfifoat.c: Likewise.
12505 * io/open.c: Likewise.
12506 * io/open64.c: Likewise.
12507 * io/openat.c: Likewise.
12508 * io/openat64.c: Likewise.
12509 * io/pipe.c: Likewise.
12510 * io/pipe2.c: Likewise.
12511 * io/poll.c: Likewise.
12512 * io/posix_fadvise.c: Likewise.
12513 * io/posix_fadvise64.c: Likewise.
12514 * io/posix_fallocate.c: Likewise.
12515 * io/posix_fallocate64.c: Likewise.
12516 * io/read.c: Likewise.
12517 * io/readlink.c: Likewise.
12518 * io/readlinkat.c: Likewise.
12519 * io/rmdir.c: Likewise.
12520 * io/sendfile.c: Likewise.
12521 * io/sendfile64.c: Likewise.
12522 * io/statfs.c: Likewise.
12523 * io/statfs64.c: Likewise.
12524 * io/statvfs.c: Likewise.
12525 * io/statvfs64.c: Likewise.
12526 * io/symlink.c: Likewise.
12527 * io/symlinkat.c: Likewise.
12528 * io/ttyname.c: Likewise.
12529 * io/ttyname_r.c: Likewise.
12530 * io/umask.c: Likewise.
12531 * io/unlink.c: Likewise.
12532 * io/unlinkat.c: Likewise.
12533 * io/utime.c: Likewise.
12534 * io/utimensat.c: Likewise.
12535 * io/write.c: Likewise.
12536 * io/xmknod.c: Likewise.
12537 * io/xmknodat.c: Likewise.
12538 * io/xstat.c: Likewise.
12539 * io/xstat64.c: Likewise.
12540 * login/getpt.c: Likewise.
12541 * login/grantpt.c: Likewise.
12542 * login/unlockpt.c: Likewise.
12543 * math/e_acoshl.c: Likewise.
12544 * math/e_acosl.c: Likewise.
12545 * math/e_asinl.c: Likewise.
12546 * math/e_atan2l.c: Likewise.
12547 * math/e_atanhl.c: Likewise.
12548 * math/e_coshl.c: Likewise.
12549 * math/e_expl.c: Likewise.
12550 * math/e_fmodl.c: Likewise.
12551 * math/e_gammal_r.c: Likewise.
12552 * math/e_hypotl.c: Likewise.
12553 * math/e_j0l.c: Likewise.
12554 * math/e_j1l.c: Likewise.
12555 * math/e_jnl.c: Likewise.
12556 * math/e_lgammal_r.c: Likewise.
12557 * math/e_log10l.c: Likewise.
12558 * math/e_log2l.c: Likewise.
12559 * math/e_logl.c: Likewise.
12560 * math/e_powl.c: Likewise.
12561 * math/e_rem_pio2l.c: Likewise.
12562 * math/e_sinhl.c: Likewise.
12563 * math/e_sqrtl.c: Likewise.
12564 * math/fclrexcpt.c: Likewise.
12565 * math/fedisblxcpt.c: Likewise.
12566 * math/feenablxcpt.c: Likewise.
12567 * math/fegetenv.c: Likewise.
12568 * math/fegetexcept.c: Likewise.
12569 * math/fegetround.c: Likewise.
12570 * math/feholdexcpt.c: Likewise.
12571 * math/fesetenv.c: Likewise.
12572 * math/fesetround.c: Likewise.
12573 * math/feupdateenv.c: Likewise.
12574 * math/fgetexcptflg.c: Likewise.
12575 * math/fraiseexcpt.c: Likewise.
12576 * math/fsetexcptflg.c: Likewise.
12577 * math/ftestexcept.c: Likewise.
12578 * math/k_cosl.c: Likewise.
12579 * math/k_rem_pio2l.c: Likewise.
12580 * math/k_sinl.c: Likewise.
12581 * math/k_tanl.c: Likewise.
12582 * math/s_asinhl.c: Likewise.
12583 * math/s_atanl.c: Likewise.
12584 * math/s_cbrtl.c: Likewise.
12585 * math/s_erfl.c: Likewise.
12586 * math/s_expm1l.c: Likewise.
12587 * math/s_log1pl.c: Likewise.
12588 * math/s_tanhl.c: Likewise.
12589 * misc/acct.c: Likewise.
12590 * misc/brk.c: Likewise.
12591 * misc/chflags.c: Likewise.
12592 * misc/chroot.c: Likewise.
12593 * misc/fchflags.c: Likewise.
12594 * misc/fgetxattr.c: Likewise.
12595 * misc/flistxattr.c: Likewise.
12596 * misc/fremovexattr.c: Likewise.
12597 * misc/fsetxattr.c: Likewise.
12598 * misc/fsync.c: Likewise.
12599 * misc/ftruncate.c: Likewise.
12600 * misc/futimes.c: Likewise.
12601 * misc/futimesat.c: Likewise.
12602 * misc/getdomain.c: Likewise.
12603 * misc/getdtsz.c: Likewise.
12604 * misc/gethostid.c: Likewise.
12605 * misc/gethostname.c: Likewise.
12606 * misc/getloadavg.c: Likewise.
12607 * misc/getpagesize.c: Likewise.
12608 * misc/getsysstats.c: Likewise.
12609 * misc/getxattr.c: Likewise.
12610 * misc/gtty.c: Likewise.
12611 * misc/ioctl.c: Likewise.
12612 * misc/lgetxattr.c: Likewise.
12613 * misc/listxattr.c: Likewise.
12614 * misc/llistxattr.c: Likewise.
12615 * misc/lremovexattr.c: Likewise.
12616 * misc/lsetxattr.c: Likewise.
12617 * misc/lutimes.c: Likewise.
12618 * misc/madvise.c: Likewise.
12619 * misc/mincore.c: Likewise.
12620 * misc/mlock.c: Likewise.
12621 * misc/mlockall.c: Likewise.
12622 * misc/mmap.c: Likewise.
12623 * misc/mprotect.c: Likewise.
12624 * misc/msync.c: Likewise.
12625 * misc/munlock.c: Likewise.
12626 * misc/munlockall.c: Likewise.
12627 * misc/munmap.c: Likewise.
12628 * misc/preadv.c: Likewise.
12629 * misc/preadv64.c: Likewise.
12630 * misc/ptrace.c: Likewise.
12631 * misc/pwritev.c: Likewise.
12632 * misc/pwritev64.c: Likewise.
12633 * misc/readv.c: Likewise.
12634 * misc/reboot.c: Likewise.
12635 * misc/remap_file_pages.c: Likewise.
12636 * misc/removexattr.c: Likewise.
12637 * misc/revoke.c: Likewise.
12638 * misc/select.c: Likewise.
12639 * misc/setdomain.c: Likewise.
12640 * misc/setegid.c: Likewise.
12641 * misc/seteuid.c: Likewise.
12642 * misc/sethostid.c: Likewise.
12643 * misc/sethostname.c: Likewise.
12644 * misc/setregid.c: Likewise.
12645 * misc/setreuid.c: Likewise.
12646 * misc/setxattr.c: Likewise.
12647 * misc/sstk.c: Likewise.
12648 * misc/stty.c: Likewise.
12649 * misc/swapoff.c: Likewise.
12650 * misc/swapon.c: Likewise.
12651 * misc/sync.c: Likewise.
12652 * misc/syncfs.c: Likewise.
12653 * misc/syscall.c: Likewise.
12654 * misc/truncate.c: Likewise.
12655 * misc/ualarm.c: Likewise.
12656 * misc/usleep.c: Likewise.
12657 * misc/ustat.c: Likewise.
12658 * misc/utimes.c: Likewise.
12659 * misc/vhangup.c: Likewise.
12660 * misc/writev.c: Likewise.
12661 * posix/_exit.c: Likewise.
12662 * posix/alarm.c: Likewise.
12663 * posix/execve.c: Likewise.
12664 * posix/fexecve.c: Likewise.
12665 * posix/fork.c: Likewise.
12666 * posix/fpathconf.c: Likewise.
12667 * posix/getaddrinfo.c: Likewise.
12668 * posix/getegid.c: Likewise.
12669 * posix/geteuid.c: Likewise.
12670 * posix/getgid.c: Likewise.
12671 * posix/getgroups.c: Likewise.
12672 * posix/getlogin.c: Likewise.
12673 * posix/getlogin_r.c: Likewise.
12674 * posix/getpgid.c: Likewise.
12675 * posix/getpid.c: Likewise.
12676 * posix/getppid.c: Likewise.
12677 * posix/getresgid.c: Likewise.
12678 * posix/getresuid.c: Likewise.
12679 * posix/getsid.c: Likewise.
12680 * posix/getuid.c: Likewise.
12681 * posix/glob64.c: Likewise.
12682 * posix/nanosleep.c: Likewise.
12683 * posix/pathconf.c: Likewise.
12684 * posix/pause.c: Likewise.
12685 * posix/posix_madvise.c: Likewise.
12686 * posix/pread.c: Likewise.
12687 * posix/pread64.c: Likewise.
12688 * posix/pwrite.c: Likewise.
12689 * posix/pwrite64.c: Likewise.
12690 * posix/sched_getaffinity.c: Likewise.
12691 * posix/sched_getp.c: Likewise.
12692 * posix/sched_gets.c: Likewise.
12693 * posix/sched_primax.c: Likewise.
12694 * posix/sched_primin.c: Likewise.
12695 * posix/sched_rr_gi.c: Likewise.
12696 * posix/sched_setaffinity.c: Likewise.
12697 * posix/sched_setp.c: Likewise.
12698 * posix/sched_sets.c: Likewise.
12699 * posix/sched_yield.c: Likewise.
12700 * posix/setgid.c: Likewise.
12701 * posix/setlogin.c: Likewise.
12702 * posix/setpgid.c: Likewise.
12703 * posix/setresgid.c: Likewise.
12704 * posix/setresuid.c: Likewise.
12705 * posix/setsid.c: Likewise.
12706 * posix/setuid.c: Likewise.
12707 * posix/sleep.c: Likewise.
12708 * posix/spawni.c: Likewise.
12709 * posix/sysconf.c: Likewise.
12710 * posix/times.c: Likewise.
12711 * posix/wait.c: Likewise.
12712 * posix/wait3.c: Likewise.
12713 * posix/wait4.c: Likewise.
12714 * posix/waitpid.c: Likewise.
12715 * resolv/gai_sigqueue.c: Likewise.
12716 * resource/getpriority.c: Likewise.
12717 * resource/getrlimit.c: Likewise.
12718 * resource/getrusage.c: Likewise.
12719 * resource/nice.c: Likewise.
12720 * resource/setpriority.c: Likewise.
12721 * resource/setrlimit.c: Likewise.
12722 * resource/ulimit.c: Likewise.
12723 * rt/aio_cancel.c: Likewise.
12724 * rt/aio_fsync.c: Likewise.
12725 * rt/aio_read.c: Likewise.
12726 * rt/aio_sigqueue.c: Likewise.
12727 * rt/aio_suspend.c: Likewise.
12728 * rt/aio_write.c: Likewise.
12729 * rt/clock_getres.c: Likewise.
12730 * rt/clock_gettime.c: Likewise.
12731 * rt/clock_nanosleep.c: Likewise.
12732 * rt/clock_settime.c: Likewise.
12733 * rt/lio_listio.c: Likewise.
12734 * rt/mq_close.c: Likewise.
12735 * rt/mq_getattr.c: Likewise.
12736 * rt/mq_notify.c: Likewise.
12737 * rt/mq_open.c: Likewise.
12738 * rt/mq_receive.c: Likewise.
12739 * rt/mq_send.c: Likewise.
12740 * rt/mq_setattr.c: Likewise.
12741 * rt/mq_timedreceive.c: Likewise.
12742 * rt/mq_timedsend.c: Likewise.
12743 * rt/mq_unlink.c: Likewise.
12744 * rt/shm_open.c: Likewise.
12745 * rt/shm_unlink.c: Likewise.
12746 * rt/timer_create.c: Likewise.
12747 * rt/timer_delete.c: Likewise.
12748 * rt/timer_getoverr.c: Likewise.
12749 * rt/timer_gettime.c: Likewise.
12750 * rt/timer_settime.c: Likewise.
12751 * setjmp/__longjmp.c: Likewise.
12752 * setjmp/setjmp.c: Likewise.
12753 * signal/kill.c: Likewise.
12754 * signal/killpg.c: Likewise.
12755 * signal/raise.c: Likewise.
12756 * signal/sigaction.c: Likewise.
12757 * signal/sigaltstack.c: Likewise.
12758 * signal/sigblock.c: Likewise.
12759 * signal/sigignore.c: Likewise.
12760 * signal/sigintr.c: Likewise.
12761 * signal/signal.c: Likewise.
12762 * signal/sigpause.c: Likewise.
12763 * signal/sigpending.c: Likewise.
12764 * signal/sigqueue.c: Likewise.
12765 * signal/sigreturn.c: Likewise.
12766 * signal/sigset.c: Likewise.
12767 * signal/sigsetmask.c: Likewise.
12768 * signal/sigstack.c: Likewise.
12769 * signal/sigsuspend.c: Likewise.
12770 * signal/sigtimedwait.c: Likewise.
12771 * signal/sigvec.c: Likewise.
12772 * signal/sigwait.c: Likewise.
12773 * signal/sigwaitinfo.c: Likewise.
12774 * signal/sysv_signal.c: Likewise.
12775 * socket/accept.c: Likewise.
12776 * socket/accept4.c: Likewise.
12777 * socket/bind.c: Likewise.
12778 * socket/connect.c: Likewise.
12779 * socket/getpeername.c: Likewise.
12780 * socket/getsockname.c: Likewise.
12781 * socket/getsockopt.c: Likewise.
12782 * socket/isfdtype.c: Likewise.
12783 * socket/listen.c: Likewise.
12784 * socket/recv.c: Likewise.
12785 * socket/recvfrom.c: Likewise.
12786 * socket/recvmsg.c: Likewise.
12787 * socket/send.c: Likewise.
12788 * socket/sendmsg.c: Likewise.
12789 * socket/sendto.c: Likewise.
12790 * socket/setsockopt.c: Likewise.
12791 * socket/shutdown.c: Likewise.
12792 * socket/sockatmark.c: Likewise.
12793 * socket/socket.c: Likewise.
12794 * socket/socketpair.c: Likewise.
12795 * stdio-common/ctermid.c: Likewise.
12796 * stdio-common/cuserid.c: Likewise.
12797 * stdio-common/remove.c: Likewise.
12798 * stdio-common/rename.c: Likewise.
12799 * stdio-common/renameat.c: Likewise.
12800 * stdio-common/tempname.c: Likewise.
12801 * stdlib/getcontext.c: Likewise.
12802 * stdlib/makecontext.c: Likewise.
12803 * stdlib/setcontext.c: Likewise.
12804 * stdlib/swapcontext.c: Likewise.
12805 * stdlib/system.c: Likewise.
12806 * streams/fattach.c: Likewise.
12807 * streams/fdetach.c: Likewise.
12808 * streams/getmsg.c: Likewise.
12809 * streams/getpmsg.c: Likewise.
12810 * streams/putmsg.c: Likewise.
12811 * streams/putpmsg.c: Likewise.
12812 * sysdeps/unix/bsd/getpt.c: Likewise.
12813 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
12814 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
12815 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12817 Likewise.
12818 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
12819 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12820 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12821 * sysvipc/msgctl.c: Likewise.
12822 * sysvipc/msgget.c: Likewise.
12823 * sysvipc/msgrcv.c: Likewise.
12824 * sysvipc/msgsnd.c: Likewise.
12825 * sysvipc/semctl.c: Likewise.
12826 * sysvipc/semget.c: Likewise.
12827 * sysvipc/semop.c: Likewise.
12828 * sysvipc/semtimedop.c: Likewise.
12829 * sysvipc/shmat.c: Likewise.
12830 * sysvipc/shmctl.c: Likewise.
12831 * sysvipc/shmdt.c: Likewise.
12832 * sysvipc/shmget.c: Likewise.
12833 * termios/tcdrain.c: Likewise.
12834 * termios/tcflow.c: Likewise.
12835 * termios/tcflush.c: Likewise.
12836 * termios/tcgetattr.c: Likewise.
12837 * termios/tcgetpgrp.c: Likewise.
12838 * termios/tcsendbrk.c: Likewise.
12839 * termios/tcsetattr.c: Likewise.
12840 * termios/tcsetpgrp.c: Likewise.
12841 * time/adjtime.c: Likewise.
12842 * time/clock.c: Likewise.
12843 * time/getitimer.c: Likewise.
12844 * time/gettimeofday.c: Likewise.
12845 * time/setitimer.c: Likewise.
12846 * time/settimeofday.c: Likewise.
12847 * time/stime.c: Likewise.
12848 * time/time.c: Likewise.
12849
128502012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 12851
a20492cf
PT
12852 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
12853 /usr/old/bin.
12854
72e182e3
PT
12855 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
12856 instead of spaces.
12857 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
12858
fbeafede
JM
128592012-11-03 Joseph Myers <joseph@codesourcery.com>
12860
5b5b04d6
JM
12861 [BZ #14796]
12862 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
12863 FE_TONEAREST before applying Dekker multiplication and Knuth
12864 addition. Clear inexact exceptions and check for exact zero
12865 results afterwards.
12866 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12867 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12868 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12869 * math/libm-test.inc (fma_test): Add more tests.
12870 (fma_test_towardzero): Likewise.
12871 (fma_test_downward): Likewise.
12872 (fma_test_upward): Likewise.
12873 * sysdeps/generic/math_private.h (default_libc_fesetround): New
12874 function.
12875 (libc_fesetround): New macro.
12876 (libc_fesetroundf): Likewise.
12877 (libc_fesetroundl): Likewise.
12878 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
12879 function.
12880 (libc_fesetround_387): Likewise.
12881 (libc_fesetroundf): New macro.
12882 (libc_fesetround): Likewise.
12883 (libc_fesetroundl): Likewise.
12884 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
12885 function.
12886 (libc_fesetroundf): New macro.
12887 (libc_fesetround): Likewise.
12888 (libc_fesetroundl): Likewise.
12889 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
12890 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
12891 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
12892 libm_hidden_ver.
12893 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
12894 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
12895 libm_hidden_def.
12896 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
12897 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
12898 libm_hidden_ver.
12899 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
12900 libm_hidden_def.
12901
fbeafede
JM
12902 [BZ #3439]
12903 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
12904 integer constant usable in #if and use that to give value to enum
12905 constant.
12906 (FE_DIVBYZERO): Likewise.
12907 (FE_UNDERFLOW): Likewise.
12908 (FE_OVERFLOW): Likewise.
12909 (FE_INVALID): Likewise.
12910 (FE_INVALID_SNAN): Likewise.
12911 (FE_INVALID_ISI): Likewise.
12912 (FE_INVALID_IDI): Likewise.
12913 (FE_INVALID_ZDZ): Likewise.
12914 (FE_INVALID_IMZ): Likewise.
12915 (FE_INVALID_COMPARE): Likewise.
12916 (FE_INVALID_SOFTWARE): Likewise.
12917 (FE_INVALID_SQRT): Likewise.
12918 (FE_INVALID_INTEGER_CONVERSION): Likewise.
12919 (FE_TONEAREST): Likewise.
12920 (FE_TOWARDZERO): Likewise.
12921 (FE_UPWARD): Likewise.
12922 (FE_DOWNWARD): Likewise.
12923 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
12924 (FE_DIVBYZERO): Likewise.
12925 (FE_OVERFLOW): Likewise.
12926 (FE_UNDERFLOW): Likewise.
12927 (FE_INEXACT): Likewise.
12928 (FE_TONEAREST): Likewise.
12929 (FE_DOWNWARD): Likewise.
12930 (FE_UPWARD): Likewise.
12931 (FE_TOWARDZERO): Likewise.
12932 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
12933 (FE_UNDERFLOW): Likewise.
12934 (FE_OVERFLOW): Likewise.
12935 (FE_DIVBYZERO): Likewise.
12936 (FE_INVALID): Likewise.
12937 (FE_TONEAREST): Likewise.
12938 (FE_TOWARDZERO): Likewise.
12939 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
12940 (FE_OVERFLOW): Likewise.
12941 (FE_UNDERFLOW): Likewise.
12942 (FE_DIVBYZERO): Likewise.
12943 (FE_INEXACT): Likewise.
12944 (FE_TONEAREST): Likewise.
12945 (FE_TOWARDZERO): Likewise.
12946 (FE_UPWARD): Likewise.
12947 (FE_DOWNWARD): Likewise.
12948 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
12949 (FE_DIVBYZERO): Likewise.
12950 (FE_OVERFLOW): Likewise.
12951 (FE_UNDERFLOW): Likewise.
12952 (FE_INEXACT): Likewise.
12953 (FE_TONEAREST): Likewise.
12954 (FE_DOWNWARD): Likewise.
12955 (FE_UPWARD): Likewise.
12956 (FE_TOWARDZERO): Likewise.
12957
105ca950
CM
129582012-11-02 Chris Metcalf <cmetcalf@tilera.com>
12959
12960 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
12961
a542b389
AS
129622012-11-03 Andreas Schwab <schwab@linux-m68k.org>
12963
12964 * scripts/cross-test-ssh.sh (command): Use newlines to separate
12965 commands. Quote $PWD.
12966 (blacklist_exports): Don't use remove_newlines. Replace "declare
12967 -x" by "export".
12968 (remove_newlines): Remove.
12969
f62c8abc
L
129702012-11-02 H.J. Lu <hongjiu.lu@intel.com>
12971
12972 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
12973 * stdlib/stdlib.h (atof): Moved to ...
12974 * include/bits/stdlib-float.h: Here. New file.
12975 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
12976 * stdlib/bits/stdlib-float.h: New file.
12977 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
12978 -mno-sse -mno-mmx.
12979 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
12980 <xmmintrin.h>.
12981
0155d5b2
JM
129822012-11-02 Joseph Myers <joseph@codesourcery.com>
12983
a68d0680
JM
12984 * conform/conformtest.pl (@headers): Add fenv.h.
12985 * conform/data/fenv.h-data: New file.
12986 * include/fenv.h [_ISOMAC]: Disable all contents of file except
12987 include of <math/fenv.h>.
12988
caf7f573
JM
12989 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
12990 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
12991 && !UNIX98]. Enables tests for XOPEN2K8.
12992 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
12993 POSIX2008]: Likewise.
12994
6c073ad6
JM
12995 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12996 (struct rusage): Do not expect type or its members.
12997
0155d5b2
JM
12998 [BZ #3439]
12999 * math/math.h (FP_NAN): Define macro to integer constant usable in
13000 #if and use that to give value to enum constant.
13001 (FP_INFINITE): Likewise.
13002 (FP_ZERO): Likewise.
13003 (FP_SUBNORMAL): Likewise.
13004 (FP_NORMAL): Likewise.
13005
b5dcacb4
AS
130062012-11-02 Andreas Schwab <schwab@linux-m68k.org>
13007
13008 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
13009 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
13010 arguments.
13011
f7934be8
RM
130122012-11-02 Roland McGrath <roland@hack.frob.com>
13013
13014 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
13015 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
13016 autoconf-time if not.
13017 * configure.in: Remove AC_PREREQ.
13018
d7d08bde
TMQMF
130192012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13020
13021 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
13022 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
13023 of the internal implementation.
13024
dcdae19a
JM
130252012-11-02 Joseph Myers <joseph@codesourcery.com>
13026
13027 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
13028 except include of <misc/sys/syslog.h>.
13029
d6cffd3e
AS
130302012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13031
13032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
13033 function returns with a NULL context exit with zero.
13034
b3563932
TMQMF
130352012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13036
13037 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
13038
b288a93d
L
130392012-11-01 H.J. Lu <hongjiu.lu@intel.com>
13040
13041 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
13042 (run_program_cmd): This.
13043 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
13044 (tst_langinfo): New variable. Use it.
13045
a2421a68
SAS
130462012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
13047
13048 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
13049 floating point opcodes.
13050
6f796e1b
TS
130512012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13052
7402596b
TS
13053 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
13054 variable.
13055
d0d4f868
TS
13056 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
13057
6f796e1b
TS
13058 * sysdeps/mach/hurd/powerpc: Remove directory.
13059 * sysdeps/mach/powerpc: Likewise.
13060
4da224a2
AS
130612012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13062
13063 * scripts/check-local-headers.sh: Ignore c++ headers.
13064
341dd673
TS
130652012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13066
13067 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
13068 __libc_cleanup_region_start argument.
13069
473611b2
JM
130702012-11-01 Joseph Myers <joseph@codesourcery.com>
13071
13072 [BZ #14784]
13073 [BZ #14785]
13074 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
13075 x * y using scaling, not as x * y + z.
13076 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13077 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13078 * math/libm-test.inc (fma_test): Add more tests.
13079 (fma_test_towardzero): Likewise.
13080 (fma_test_downward): Likewise.
13081 (fma_test_upward): Likewise.
13082
4078da3d
TS
130832012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13084
13085 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
13086
903252aa
JM
130872012-10-31 Joseph Myers <joseph@codesourcery.com>
13088
13089 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
13090 New variable.
13091
cbc818d0
TS
130922012-10-31 Thomas Schwinge <thomas@codesourcery.com>
13093
13094 * rt/tst-shm.c (worker): Correct checking for mmap failure.
13095
5a03cb1e
AS
130962012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13097
13098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13099 Fix sort order.
13100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13101 Likewise.
13102
90aff2ff
TMQMF
131032012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13104
13105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13106 Fix the order of the list for glibc 2.17.
13107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13108 Likewise.
13109
1818fcb7
AS
131102012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13111
13112 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13113
ef82f4da
JM
131142012-10-31 Joseph Myers <joseph@codesourcery.com>
13115
16a0e2ec
JM
13116 [BZ #14610]
13117 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
13118 for low part of x being zero before using __atanl (y).
13119 * math/libm-test.inc (atan2_test): Add another test.
13120
0eb69512
JM
13121 * manual/install.texi (Configuring and compiling): Document
13122 general use of test-wrapper and test-wrapper-env.
13123 * INSTALL: Regenerated.
13124
ef82f4da
JM
13125 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
13126 (__fma): Do not extract and scale down low bits on after-rounding
13127 systems when result rounded to normal precision would have normal
13128 exponent.
13129 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
13130 (__fmal): Do not extract and scale down low bits on after-rounding
13131 systems when result rounded to normal precision would have normal
13132 exponent.
13133 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
13134 (__fmal): Do not extract and scale down low bits on after-rounding
13135 systems when result rounded to normal precision would have normal
13136 exponent.
13137 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
13138 macro.
13139 (fma_test): Add more tests.
13140 (fma_test_towardzero): Likewise.
13141 (fma_test_downward): Likewise.
13142 (fma_test_upward): Likewise.
13143
954ef0d9
L
131442012-10-30 H.J. Lu <hongjiu.lu@intel.com>
13145
13146 * sysdeps/i386/tininess.h: Renamed to ...
13147 * sysdeps/x86/tininess.h: This.
13148 * sysdeps/x86_64/tininess.h: Removed.
13149
df61ffb2
JM
131502012-10-30 Joseph Myers <joseph@codesourcery.com>
13151
13152 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
13153 input. Use $(build-program-cmd).
13154 ($(objpfx)tst-array1-static.out): Likewise.
13155 ($(objpfx)tst-array2.out): Likewise.
13156 ($(objpfx)tst-array3.out): Likewise.
13157 ($(objpfx)tst-array4.out): Likewise.
13158 ($(objpfx)tst-array5.out): Likewise.
13159 ($(objpfx)tst-array5-static.out): Likewise.
13160
01767843
CM
131612012-10-30 Chris Metcalf <cmetcalf@tilera.com>
13162
47cc1490
CM
13163 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
13164 if defined.
13165
01767843
CM
13166 * nss/nsswitch.h (nss_interface_function): Provide new
13167 macro for use with NSS functions.
13168 * grp/initgroups.c: Use new macro.
13169 * nss/getXXbyYY.c: Likewise.
13170 * nss/getXXbyYY_r.c: Likewise.
13171 * nss/getXXent.c: Likewise.
13172 * nss/getXXent_r.c: Likewise.
13173 * sysdeps/posix/getaddrinfo.c: Likewise.
13174
8321aa97
AJ
131752012-10-30 Andreas Jaeger <aj@suse.de>
13176
13177 * po/ru.po: Update Russion translation from translation project.
13178
2a27fd6d
JM
131792012-10-30 Joseph Myers <joseph@codesourcery.com>
13180
8627a232
JM
13181 [BZ #14152]
13182 [BZ #14783]
13183 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
13184 result and shift together with sticky bit instead of replicating
13185 round-to-nearest rounding.
13186 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13187 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13188 * math/libm-test.inc (fma_test): Add more tests. Do not permit
13189 missing underflow exceptions.
13190 (fma_test_towardzero): Add more tests.
13191 (fma_test_downward): Likewise.
13192 (fma_test_upward): Likewise.
13193
2a27fd6d
JM
13194 [BZ #14047]
13195 * sysdeps/generic/tininess.h: New file.
13196 * sysdeps/i386/tininess.h: Likewise.
13197 * sysdeps/sh/tininess.h: Likewise.
13198 * sysdeps/x86_64/tininess.h: Likewise.
13199 * stdlib/tst-strtod-underflow.c: Likewise.
13200 * stdlib/tst-tininess.c: Likewise.
13201 * stdlib/strtod_l.c: Include <tininess.h>.
13202 (round_and_return): Do not set errno for exact underflow cases.
13203 Force an underflow exception when setting errno for underflow.
13204 Determine underflow based on rounding to normal precision if
13205 TININESS_AFTER_ROUNDING.
13206 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
13207 ERANGE for exact underflow cases.
13208 * stdlib/Makefile (tests): Add tst-tininess and
13209 tst-strtod-underflow.
13210 ($(objpfx)tst-tininess): Use $(link-libm).
13211 ($(objpfx)tst-strtod-underflow): Likewise.
13212
e7170363
AJ
132132012-10-30 Andreas Jaeger <aj@suse.de>
13214
e5088dc6
AJ
13215 [BZ#14767]
13216 * elf/Makefile (tests): Remove conditional for have-initfini-array
13217 since this is now always required and the variable does not exist
13218 anymore.
13219 (tests-static): Likewise.
13220 (modules-names): Likewise.
13221
e7170363 13222 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
13223
13224 * elf/tst-array1.c (fini_array): Make writeable so that it can be
13225 merged with constructor/destructor.
13226 (init_array): Likewise.
13227 * elf/tst-array2dep.c (fini_array): Likewise.
13228 (init_array): Likewise.
13229
60457d8a
MF
132302012-10-29 Mike Frysinger <vapier@gentoo.org>
13231
13232 * manual/message.texi: Delete @cartouche tags.
13233
8bece752
PT
132342012-10-29 Pino Toscano <toscano.pino@tiscali.it>
13235
94ce799f
PT
13236 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
13237 EOPNOTSUPP.
13238 * sysdeps/mach/hurd/fsync.c: Likewise.
13239
8bece752
PT
13240 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
13241 [_POSIX_REALTIME_SIGNALS]: Change condition to
13242 [_POSIX_REALTIME_SIGNALS > 0].
13243
86ebe6b1
AJ
132442012-10-27 Andreas Jaeger <aj@suse.de>
13245
13246 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
13247 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
13248 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
13249 [__WORDSIZE != 64]: Likewise.
13250
54399c08
L
132512012-10-26 H.J. Lu <hongjiu.lu@intel.com>
13252
13253 * iconvdata/tst-table.sh: Remove ${SHELL}.
13254 * iconvdata/tst-tables.sh: Likewise.
13255
e2211bed
DM
132562012-10-25 David S. Miller <davem@davemloft.net>
13257
13258 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13259 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
13260 of strtoull.
13261
f303f97c
DM
13262 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
13263 ifunc-impl-list.c
13264 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13265 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
13266 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
13267 file.
13268
1e9d84cd
RM
132692012-10-25 Roland McGrath <roland@hack.frob.com>
13270
13271 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13272 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
13273 __getdirentries.
13274
df381762
JM
132752012-10-25 Joseph Myers <joseph@codesourcery.com>
13276 Jim Blandy <jimb@codesourcery.com>
13277
13278 * scripts/cross-test-ssh.sh: New file.
13279 * manual/install.texi (Configuring and compiling): Document use of
13280 cross-test-ssh.sh.
13281 * INSTALL: Regenerated.
13282
bff64913
PT
132832012-10-25 Pino Toscano <toscano.pino@tiscali.it>
13284
13285 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
13286 EOPNOTSUPP.
13287
25fe8932
JM
132882012-10-25 Joseph Myers <joseph@codesourcery.com>
13289
13290 * Makeconfig (run-program-prefix): Fix comment.
13291
cc1290d0
JM
132922012-10-24 Joseph Myers <joseph@codesourcery.com>
13293 Jim Blandy <jimb@codesourcery.com>
13294
13295 * Makeconfig (test-wrapper): New variable,
13296 (test-wrapper-env): Likewise.
13297 [$(cross-compiling) = yes && $(test-wrapper) != ""]
13298 (run-built-tests): Define to yes.
13299 (run-program-prefix): Use $(test-wrapper).
13300 (built-program-cmd): Likewise.
13301 * Rules (make-test-out): Use $(test-wrapper-env) and
13302 $(host-built-program-cmd).
13303 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
13304 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
13305 tst-pathopt.sh.
13306 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
13307 $(test-wrapper-env) to tst-rtld-load-self.sh.
13308 ($(objpfx)order2.out): Use $(test-wrapper).
13309 ($(objpfx)tst-initorder.out): Likewise.
13310 ($(objpfx)tst-initorder2.out): Likewise.
13311 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
13312 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
13313 (test_wrapper_env): New variable. Use it to run ld.so.
13314 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
13315 Use it to run ld.so.
13316 (test_wrapper_env): Likewise.
13317 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
13318 $(test-wrapper) to run-iconv-test.sh.
13319 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
13320 (ICONV): Use $test_wrapper.
13321 * posix/Makefile ($(objpfx)globtest.out): Pass
13322 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
13323 globtest.sh, not $(run-program-prefix).
13324 * posix/globtest.sh (run_via_rtld_prefix): New variable.
13325 (test_wrapper): Likewise.
13326 (test_wrapper_env): Likewise. Use it to run globtest with HOME
13327 set together with run_via_rtld_prefix.
13328 (run_program_prefix): Define in terms of test_wrapper and
13329 run_via_rtld_prefix.
13330
6e6249d0
RM
133312012-10-24 Roland McGrath <roland@hack.frob.com>
13332
13333 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
13334 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
13335 Targets removed.
13336
13337 [BZ #14743]
13338 * include/time.h: Remove librt_hidden_proto (clock_gettime).
13339 Declare __clock_getres, __clock_gettime, __clock_settime,
13340 __clock_nanosleep, and __clock_getcpuclockid.
13341 * rt/clock_gettime.c: Define __clock_gettime as an alias.
13342 Remove librt_hidden_def (clock_gettime).
13343 * sysdeps/unix/clock_gettime.c: Likewise.
13344 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
13345 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13346 * rt/clock_getres.c: Define __clock_getres as an alias.
13347 * sysdeps/posix/clock_getres.c: Likewise.
13348 * rt/clock_settime.c: Define __clock_settime as an alias.
13349 * sysdeps/unix/clock_settime.c: Likewise.
13350 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
13351 * sysdeps/unix/clock_nanosleep.c: Likewise.
13352 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13353 * rt/clock-compat.c: New file.
13354 * rt/Makefile (librt-routines): Add clock-compat and move
13355 $(clock-routines) to ...
13356 (routines): ... here, new variable.
13357 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
13358 Don't add get_clockfreq here.
13359 * rt/Versions (libc: GLIBC_2.17): New version set.
13360 Add clock_* symbols here.
13361 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
13362 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
13363 (GLIBC_2.17): Add clock_* symbols.
13364 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13365 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13366 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13368 Likewise.
13369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13370 Likewise.
13371 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13372 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13375 * NEWS: Mention the move.
13376
13377 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13378 Use __open, __read, __close rather than their public counterparts.
13379 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13380 (__get_clockfreq_via_cpuinfo): Likewise.
13381 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
13382 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
13383
13384 * config.h.in (HAVE_IFUNC): New #undef.
13385 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
13386 was successful.
13387 * configure: Regenerated.
13388
0cae3f4b
MF
133892012-10-24 Mike Frysinger <vapier@gentoo.org>
13390
13391 * configure.in: Move READELF check to start of file.
13392 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
13393 libc_cv_asm_gnu_indirect_function in the process.
13394 * configure: Regenerated.
13395
8175a253
MF
133962012-10-24 Mike Frysinger <vapier@gentoo.org>
13397
13398 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
13399 send the output to /dev/null.
13400 (libc_cv_cc_with_libunwind): Likewise.
13401 (libc_cv_as_noexecstack): Likewise.
13402 * configure: Regenerate.
13403
0708a7d1
JM
134042012-10-24 Joseph Myers <joseph@codesourcery.com>
13405
10b40d85
JM
13406 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
13407
0708a7d1
JM
13408 * posix/globtest.sh (TMPDIR): Do not set.
13409 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
13410 (testout): Likewise.
13411
9fddec1a
AJ
134122012-10-24 Andreas Jaeger <aj@suse.de>
13413
3a8db22f
AJ
13414 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
13415 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
13416 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
13417 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
13418 posix_fadvise64, posix_fallocate64.
13419
9fddec1a
AJ
13420 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
13421 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
13422 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
13423 Likewise.
13424 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
13425 Likewise.
13426 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
13427
13428 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
13429 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
13430 <bits/fcntl-linux.h>.
13431 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
13432
13433 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
13434 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
13435 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
13436 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
13437 [__WORDSIZE != 64]: Likewise.
13438
ebfd1bbd
JM
134392012-10-23 Joseph Myers <joseph@codesourcery.com>
13440
03ac099f
JM
13441 * Makeconfig (run-built-tests): New variable.
13442 * Rules [$(cross-compiling) = yes]: Change condition to
13443 [$(run-built-tests) = no].
13444 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
13445 to [$(run-built-tests) = yes].
13446 * elf/Makefile [$(cross-compiling) = no]: Likewise
13447 * grp/Makefile [$(cross-compiling) = no]: Likewise.
13448 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
13449 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
13450 * intl/Makefile [$(cross-compiling) = no]: Likewise.
13451 * io/Makefile [$(cross-compiling) = no]: Likewise.
13452 * libio/Makefile [$(cross-compiling) = no]: Likewise.
13453 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
13454 * misc/Makefile [$(cross-compiling) = no]: Likewise.
13455 * posix/Makefile [$(cross-compiling) = no]: Likewise.
13456 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
13457 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
13458 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
13459 * string/Makefile [$(cross-compiling) = no]: Likewise.
13460
ebfd1bbd
JM
13461 * posix/Makefile ($(objpfx)globtest.out): Pass
13462 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
13463 $(rtld-installed-name).
13464 * posix/globtest.sh (elf_objpfx): Remove variable.
13465 (rtld_installed_name): Likewise.
13466 (library_path): Likewise.
13467 (run_program_prefix): New variable. Use for running globtest
13468 binary.
13469
166bca24
JB
134702012-10-23 Jim Blandy <jimb@codesourcery.com>
13471 Joseph Myers <joseph@codesourcery.com>
13472
13473 * Makeconfig (host-built-program-cmd): New variable.
13474 * elf/Makefile (tst-stackguard1-ARGS): Use
13475 $(host-built-program-cmd).
13476 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
13477 (tst-spawn-ARGS): Likewise.
13478 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
13479
88866099
JM
134802012-10-23 Joseph Myers <joseph@codesourcery.com>
13481 Jim Blandy <jimb@codesourcery.com>
13482
13483 * Makeconfig (run-via-rtld-prefix): New variable.
13484 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
13485 (built-program-cmd): Likewise.
13486
b4b4c296
AJ
134872012-10-22 Andreas Jaeger <aj@suse.de>
13488
13489 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
13490 __O_RSYNC if it exists, otherwise to O_SYNC.
13491
6fb54a22
JB
134922012-10-22 Jim Blandy <jimb@codesourcery.com>
13493 Joseph Myers <joseph@codesourcery.com>
13494
13495 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
13496 /dev/null.
13497 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
13498 from /dev/null
13499 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
13500 /dev/null.
13501
481b90b9
AJ
135022012-10-22 Andreas Jaeger <aj@suse.de>
13503
2a0e2669
AJ
13504 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
13505 Define always.
13506 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
13507
76e38f9a
AJ
13508 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13509 bits/fcntl-linux.h.
13510
7cd37b43
AJ
13511 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
13512 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
13513
481b90b9
AJ
13514 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
13515 to __O_LARGEFILE.
13516 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
13517 to __O_LARGEFILE.
13518
aba75984
JB
135192012-10-21 Jim Blandy <jimb@codesourcery.com>
13520 Joseph Myers <joseph@codesourcery.com>
13521
13522 * config.make.in (NM): New variable.
13523
88d4247f
AJ
135242012-10-21 Andreas Jaeger <aj@suse.de>
13525
13526 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
13527 definitions and declarations that are provided by
13528 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13529
f2eed205
L
135302012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13531
13532 [BZ #14683]
13533 * elf/Makefile (tests-static): Add tst-leaks1-static.
13534 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
13535 ($(objpfx)tst-leaks1-static): New rule.
13536 ($(objpfx)tst-leaks1-static-mem): Likewise.
13537 (tst-leaks1-static-ENV): New macro.
13538 * elf/dl-open.c (dl_open_worker): Check the main application
13539 only if SHARED is defined.
13540 * elf/tst-leaks1-static.c: New file.
13541
335e6931
AJ
135422012-10-20 Andreas Jaeger <aj@suse.de>
13543
13544 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
13545 generic values for Linux.
13546 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
13547 and declarations that are provided by <bits/fcntl-linux.h> and
13548 include <bits/fcntl-linux.h>.
13549 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13550 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13551
ac5c94d3
RM
135522012-10-20 Roland McGrath <roland@hack.frob.com>
13553
13554 * io/fcntl.h: Move include of <bits/types.h> to the top and
13555 include it unconditionally.
13556
de54b33a
L
135572012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13558
228cfb01
L
13559 * wcsmbs/Makefile (tests-ifunc): New variable.
13560 (tests): Add $(tests-ifunc).
13561 * wcsmbs/test-wcschr-ifunc.c: New file.
13562 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13563 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13564 * wcsmbs/test-wcslen-ifunc.c: Likewise.
13565 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13566 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13567
69f07e5f
L
13568 * string/Makefile (tests-ifunc): New variable.
13569 (tests): Add $(tests-ifunc).
13570 * string/test-memccpy.c (TEST_NAME): New macro.
13571 * string/test-memchr.c (TEST_NAME): Likewise.
13572 * string/test-memcmp.c (TEST_NAME): Likewise.
13573 * string/test-memcpy.c (TEST_NAME): Likewise.
13574 * string/test-memmem.c (TEST_NAME): Likewise.
13575 * string/test-memmove.c (TEST_NAME): Likewise.
13576 * string/test-memset.c (TEST_NAME): Likewise.
13577 * string/test-rawmemchr.c (TEST_NAME): Likewise.
13578 * string/test-stpcpy.c (TEST_NAME): Likewise.
13579 * string/test-stpncpy.c (TEST_NAME): Likewise.
13580 * string/test-strcasecmp.c (TEST_NAME): Likewise.
13581 * string/test-strcasestr.c (TEST_NAME): Likewise.
13582 * string/test-strcat.c (TEST_NAME): Likewise.
13583 * string/test-strchr.c (TEST_NAME): Likewise.
13584 * string/test-strcmp.c(TEST_NAME): Likewise.
13585 * string/test-strcpy.c (TEST_NAME): Likewise.
13586 * string/test-strcspn.c (TEST_NAME): Likewise.
13587 * string/test-strlen.c (TEST_NAME): Likewise.
13588 * string/test-strncasecmp.c (TEST_NAME): Likewise.
13589 * string/test-strncmp.c (TEST_NAME): Likewise.
13590 * string/test-strncpy.c (TEST_NAME): Likewise.
13591 * string/test-strnlen.c (TEST_NAME): Likewise.
13592 * string/test-strpbrk.c (TEST_NAME): Likewise.
13593 * string/test-strrchr.c (TEST_NAME): Likewise.
13594 * string/test-strspn.c (TEST_NAME): Likewise.
13595 * string/test-strstr.c (TEST_NAME): Likewise.
13596 * string/test-bcopy-ifunc.c: New file.
13597 * string/test-bzero-ifunc.c: Likewise.
13598 * string/test-memccpy-ifunc.c: Likewise.
13599 * string/test-memchr-ifunc.c: Likewise.
13600 * string/test-memcmp-ifunc.c: Likewise.
13601 * string/test-memcpy-ifunc.c: Likewise.
13602 * string/test-memmem-ifunc.c: Likewise.
13603 * string/test-memmove-ifunc.c: Likewise.
13604 * string/test-mempcpy-ifunc.c: Likewise.
13605 * string/test-memset-ifunc.c: Likewise.
13606 * string/test-rawmemchr-ifunc.c: Likewise.
13607 * string/test-stpcpy-ifunc.c: Likewise.
13608 * string/test-stpncpy-ifunc.c: Likewise.
13609 * string/test-strcasecmp-ifunc.c: Likewise.
13610 * string/test-strcasestr-ifunc.c: Likewise.
13611 * string/test-strcat-ifunc.c: Likewise.
13612 * string/test-strchr-ifunc.c: Likewise.
13613 * string/test-strchrnul-ifunc.c: Likewise.
13614 * string/test-strcmp-ifunc.c: Likewise.
13615 * string/test-strcpy-ifunc.c: Likewise.
13616 * string/test-strcspn-ifunc.c: Likewise.
13617 * string/test-strlen-ifunc.c: Likewise.
13618 * string/test-strncasecmp-ifunc.c: Likewise.
13619 * string/test-strncat-ifunc.c: Likewise.
13620 * string/test-strncmp-ifunc.c: Likewise.
13621 * string/test-strncpy-ifunc.c: Likewise.
13622 * string/test-strnlen-ifunc.c: Likewise.
13623 * string/test-strpbrk-ifunc.c: Likewise.
13624 * string/test-strrchr-ifunc.c: Likewise.
13625 * string/test-strspn-ifunc.c: Likewise.
13626 * string/test-strstr-ifunc.c: Likewise.
13627
de54b33a
L
13628 * debug/Makefile (tests-ifunc): New variable.
13629 (tests): Add $(tests-ifunc).
13630 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
13631 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
13632 * debug/test-stpcpy_chk-ifunc.c: New file.
13633 * debug/test-strcpy_chk-ifunc.c: Likewise.
13634
88481c16
SP
136352012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13636
13637 [BZ #13601]
13638 * elf/dl-load.c (open_verify): Retry read if the entire ELF
13639 header is not read in.
13640
135948bd
JM
136412012-10-19 Joseph Myers <joseph@codesourcery.com>
13642
89f1c388
JM
13643 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
13644 script to $(SHELL) as $<. Pass $(common-objpfx) to script
13645 directly. Pass built executable to script as
13646 $(built-program-cmd).
13647 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
13648 $testprogram without using LD_LIBRARY_PATH and $ldso.
13649
e40a0d21
JM
13650 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
13651 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
13652 $(rtld-installed-name).
13653 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
13654 (rtld_installed_name): Likewise.
13655 (library_path): Likewise.
13656 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
13657 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
13658 $(run-program-prefix) to tst-tables.sh.
13659 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
13660 it to run tst-table-from and tst-table-to.
13661 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
13662 Pass it to tst-table.sh.
13663 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
13664 $(run-program-prefix) to tst-gettext.sh.
13665 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
13666 tst-translit.sh.
13667 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
13668 tst-gettext2.sh.
13669 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
13670 to run tst-gettext.
13671 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
13672 to run tst-gettext2.
13673 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
13674 to run tst-translit.
13675 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
13676 $(run-program-prefix) to tst-mtrace.sh.
13677 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
13678 to run tst-mtrace.
13679 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
13680 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
13681 $(rtld-installed-name).
13682 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
13683 (rtld_installed_name): Likewise.
13684 (run_program_prefix): New variable. Use it to run wordexp-test.
13685
728e272a
JM
13686 * Makeconfig (ARCH): Remove all definitions.
13687 (machine): Likewise.
13688 [ARCH]: Remove conditional code.
13689 [!objdir]: Give error.
13690 [!objdir] (objpfx): Remove.
13691 [!objdir] (common-objpfx): Likewise.
13692 [!objdir] (common-objdir): Likewise.
13693 * configure.in (config_makefile): Remove. Hardcode Makefile in
13694 AC_CONFIG_FILES call.
13695 * configure: Regenerated.
13696
d528cdcf
JM
13697 [BZ #13888]
13698 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
13699 or TMPDIR.
13700 (testout): Likewise.
13701
135948bd
JM
13702 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
13703 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
13704 $(rtld-installed-name).
13705 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
13706 (rtld_installed_name): Likwise.
13707 (runit): Remove function.
13708 (run_getconf): New variable, Use it for running getconf binary.
13709
38c78296
L
137102012-10-18 H.J. Lu <hongjiu.lu@intel.com>
13711
13712 [BZ #14716]
13713 * string/test-memmem.c (check_result): New function.
13714 (do_one_test): Use it.
13715 (check1): New function.
13716 (test_main): Use it.
13717
d077f65f
MT
137182012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
13719
13720 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
13721
ced52c71
JM
137222012-10-18 Joseph Myers <joseph@codesourcery.com>
13723
13724 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
13725 (_G_LSEEK64): Likewise.
13726 (_G_MMAP64): Likewise.
13727 (_G_FSTAT64): Likewise.
13728 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
13729 (_G_LSEEK64): Likewise.
13730 (_G_MMAP64): Likewise.
13731 (_G_FSTAT64): Likewise.
13732 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
13733 unconditional. Call __mmap64 directly.
13734 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
13735 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
13736 __lseek64 directly.
13737 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
13738 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
13739 __mmap64 directly.
13740 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
13741 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
13742 __lseek64 directly.
13743 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
13744 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
13745 __lseek64 directly.
13746 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
13747 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
13748 __lseek64 directly.
13749 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
13750 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
13751 __fxstat64 directly.
13752 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
13753 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
13754 unconditional.
13755 (freopen64) [!_G_OPEN64]: Remove conditional code.
13756 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
13757 unconditional.
13758 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
13759 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
13760 unconditional.
13761 (ftello64) [!_G_LSEEK64]: Remove conditional code.
13762 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
13763 unconditional.
13764 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13765 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
13766 unconditional.
13767 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
13768 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
13769 unconditional.
13770 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13771 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
13772 unconditional.
13773 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13774 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
13775 unconditional.
13776 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13777
b741de23
SP
137782012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13779
13780 [BZ #12140]
13781 * manual/memory.texi (Malloc Tunable Parameters): Add note
13782 about free list pointers overwriting some perturb bytes.
13783 Wording suggested by Roland McGrath.
13784
f9b9d9c9
JM
137852012-10-17 Joseph Myers <joseph@codesourcery.com>
13786
13787 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
13788 (lgamma_test): Likewise.
13789 (tgamma_test): Likewise.
13790
172a631a
FW
137912012-10-16 Florian Weimer <fweimer@redhat.com>
13792
13793 [BZ #14700]
13794 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
13795 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
13796
e9f37252
MK
137972012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
13798
13799 * NEWS: Mention BZ #14716.
13800 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
13801 when removing AVAILABLE1_USES_J macro.
13802
d394eb74
L
138032012-10-12 H.J. Lu <hongjiu.lu@intel.com>
13804
13805 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
13806 (__bswap_64): __uint64_t for unsigned 64-bit int.
13807
ca38dc17
AS
138082012-10-12 Andreas Schwab <schwab@linux-m68k.org>
13809
13810 * include/string.h (memmem): Declare libc hidden alias.
13811 * string/memmem.c (memmem): Define libc hidden alias.
13812 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
13813 __read, __close instead of open, read, close.
13814
9a387d1f
L
138152012-10-11 H.J. Lu <hongjiu.lu@intel.com>
13816
ac49ecaf
L
13817 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
13818 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
13819 global and hidden.
13820 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
13821 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
13822 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
13823 Likewise.
13824 (__rawmemchr_sse2): Likewise.
13825 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
13826 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
13827 (__strchr_sse2): Likewise.
13828 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
13829 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
13830 (__strcasecmp_sse2): Likewise.
13831 (__strncasecmp_sse2): Likewise.
13832 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
13833 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
13834 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
13835 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
13836 (__strrchr_sse2): Likewise.
13837 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
13838 ifunc-impl-list.c.
13839 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13840 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13841 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13842 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13843 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13844 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13845 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13846 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13847 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
13848 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
13849 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
13850 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
13851 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
13852 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13853 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13854 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13855 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13856 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13857 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
13858 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
13859 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
13860 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
13861 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
13862 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13863 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
13864 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13865 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13866 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13867 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13868 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13869
b090e8ea
L
13870 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
13871 global and hidden.
13872 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
13873 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
13874 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
13875 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
13876 Likewise.
13877 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
13878 Likewise.
13879 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
13880 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
13881 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
13882 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
13883 ifunc-impl-list.c.
13884 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13885 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13886 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13887 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13888 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13889 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13890 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13891 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13892 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13893 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13894 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13895 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13896 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13897 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13898 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13899 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13900 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13901 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
13902 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13903 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13904 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13905 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13906 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13907 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13908 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13909 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13910 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13911 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13912 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13913 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13914 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13915 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13916 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13917 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
13918 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13919 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13920 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13921 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13922 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13923 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13924 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
13925
11dd4af6
L
13926 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
13927 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
13928 * include/ifunc-impl-list.h: New file.
13929 * misc/ifunc-impl-list.c: Likewise.
13930 * misc/Makefile (routines): Add ifunc-impl-list.
13931 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
13932 * string/test-string.h: Include <ifunc-impl-list.h>.
13933 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
13934 impl_array): New variables.
13935 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
13936 are defined.
13937 (test_init): Call __libc_ifunc_impl_list to initialize
13938 func_list if TEST_IFUNC and TEST_NAME are defined.
13939
9a387d1f
L
13940 * string/Makefile (strop-tests): Add bcopy and bzero.
13941 * string/test-bcopy.c: New file.
13942 * string/test-bzero.c: Likewise.
13943 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
13944 defined.
13945 * string/test-memset.c: Support bzero test if TEST_BZERO is
13946 defined.
13947 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
13948 __libc_memmove.
13949 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13950 __libc_memset.
13951 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13952 of memset.
13953
472371b9
JM
139542012-10-10 Joseph Myers <joseph@codesourcery.com>
13955
1e4a9536
JM
13956 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13957 * configure: Regenerated.
13958
d173d12e
JM
13959 * Makeconfig (+link-static-before-libc): Don't include
13960 $(link-static-libc).
13961
472371b9
JM
13962 * libio/libio.h (_IO_pos_t): Remove.
13963
89a3ad0b
AO
139642012-10-10 Alexandre Oliva <aoliva@redhat.com>
13965
13966 * NEWS: Add note about FIPS mode. Wording suggested by Roland
13967 McGrath.
13968
e7451425
AO
139692012-10-10 Alexandre Oliva <aoliva@redhat.com>
13970
13971 * crypt/crypt-entry.c: Include fips-private.h.
13972 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
13973 * crypt/md5c-test.c (main): Tolerate disabled MD5.
13974 * sysdeps/unix/sysv/linux/fips-private.h: New file.
13975 * sysdeps/generic/fips-private.h: New file, dummy fallback.
13976
4ba74a35
AO
139772012-10-10 Alexandre Oliva <aoliva@redhat.com>
13978
13979 * crypt/crypt-private.h: Include stdbool.h.
13980 (_ufc_setup_salt_r): Return bool.
13981 * crypt/crypt-entry.c: Include errno.h.
13982 (__crypt_r): Return NULL with EINVAL for bad salt.
13983 * crypt/crypt_util.c (bad_for_salt): New.
13984 (_ufc_setup_salt_r): Check that salt is long enough and within
13985 the specified alphabet.
13986 * crypt/badsalttest.c: New file.
13987 * crypt/Makefile (tests): Add it.
13988 ($(objpfx)badsalttest): New.
13989
f96f1242
MK
139902012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
13991
13992 * NEWS: Add entry for BZ #14602.
13993
0e8e0c1c
JM
139942012-10-09 Joseph Myers <joseph@codesourcery.com>
13995
13996 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13997 type-generic.
13998 * math/libm-test.inc: Update comment listing what functions and
13999 macros are tested.
14000 (isgreater_test): New function.
14001 (isgreaterequal_test): Likewise.
14002 (isless_test): Likewise.
14003 (islessequal_test): Likewise.
14004 (islessgreater_test): Likewise.
14005 (isunordered_test): Likewise.
14006 (main): Call the new functions.
14007
273edc5e
RM
140082012-10-09 Roland McGrath <roland@hack.frob.com>
14009
b8493de0
RM
14010 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
14011 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
14012 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
14013 * sysdeps/i386/configure: Regenerated.
14014 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
14015 * sysdeps/mach/configure: Regenerated.
14016 * sysdeps/mach/hurd/configure: Regenerated.
14017 * sysdeps/powerpc/configure: Regenerated.
14018 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14019 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14020 * sysdeps/s390/s390-32/configure: Regenerated.
14021 * sysdeps/s390/s390-64/configure: Regenerated.
14022 * sysdeps/sh/configure: Regenerated.
14023 * sysdeps/sparc/configure: Regenerated.
14024 * sysdeps/unix/sysv/linux/configure: Regenerated.
14025 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14026 * sysdeps/x86_64/configure: Regenerated.
14027
273edc5e
RM
14028 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
14029 defined. Don't check if MAP is NULL.
14030
c8450f70
JM
140312012-10-09 Joseph Myers <joseph@codesourcery.com>
14032
14033 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
14034 (_G_stat64): Likewise.
14035 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
14036 (_G_stat64): Likewise.
14037 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
14038 instead of struct _G_stat64.
14039 * libio/fileops.c (mmap_remap_check): Likewise.
14040 (decide_maybe_mmap): Likewise.
14041 (_IO_new_file_seekoff): Likewise.
14042 (_IO_file_stat): Likewise.
14043 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
14044 _G_off64_t.
14045 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
14046 instead of struct _G_stat64.
14047 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14048
57e605ba
MK
140492012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
14050
14051 [BZ #14602]
14052 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14053 Replace with ...
14054 (CHECK_EOL): New macro.
14055 (two_way_short_needle): Check beginning of haystack for EOL. Use
14056 CHECK_EOL.
14057 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14058 Replace with CHECK_EOL.
14059 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14060 Replace with CHECK_EOL.
14061
ef1bb361
JM
140622012-10-08 Joseph Myers <joseph@codesourcery.com>
14063
14064 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
14065 type-generic.
14066 * math/libm-test.inc: Update comment listing what functions and
14067 macros are tested.
14068 (finite_test): New function.
14069 (isinf_test): Likewise.
14070 (isnan_test): Likewise.
14071 (fpclassify_test): Test subnormal input.
14072 (isfinite_test): Likewise.
14073 (isnormal_test): Likewise.
14074 (main): Call the new functions.
14075
55f11534
JN
140762012-10-08 Jonathan Nieder <jrnieder@gmail.com>
14077
14078 [BZ #14660]
14079 * Makerules (%.dynsym): Force C locale when running
14080 $(OBJDUMP) --dynamic-syms.
14081
1ab29350
AS
140822012-10-08 Andreas Schwab <schwab@linux-m68k.org>
14083
14084 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
14085 <stdint.h>.
14086
f1ecb7ef
DM
140872012-10-06 David S. Miller <davem@davemloft.net>
14088
14089 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
14090 upper 32-bits of the length value in %o2 since we use branch-on-register
14091 tests which consider the entire 64-bit register.
14092
5d41d91a
L
140932012-10-06 H.J. Lu <hongjiu.lu@intel.com>
14094
14095 * string/test-strstr.c (check2): Add a test for page boundary.
14096
3baddb72
DM
140972012-10-05 David S. Miller <davem@davemloft.net>
14098
14099 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
14100 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
14101 file.
14102 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14103 sysdep_routines.
14104 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14105 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
14106 and bzero when HWCAP_SPARC_CRYPTO is present.
14107
9cee5585
L
141082012-10-05 H.J. Lu <hongjiu.lu@intel.com>
14109
d7e0dab9
L
14110 [BZ #14602]
14111 * string/test-strstr.c (check2): New function.
14112 (test_main): Call check2.
14113
03759f47
L
14114 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
14115 and bug-strchr1.
14116 * string/bug-strcasestr1.c (do_test): Moved to ...
14117 * string/test-strcasestr.c (check1): Here. New function.
14118 (do_one_test): Break out result checking code into ...
14119 (check_result): This. New function.
14120 (do_one_test): Call check_result.
14121 (test_main): Call check1.
14122 * string/bug-strchr1.c (do_test): Moved to ...
14123 * string/test-strchr.c (check1): Here. New function.
14124 (do_one_test): Break out result checking code into ...
14125 (check_result): This. New function.
14126 (do_one_test): Call check_result.
14127 (test_main): Call check1.
14128 * string/bug-strstr1.c (main): Moved to ...
046f153e 14129 * string/test-strstr.c (check1): Here. New function.
03759f47
L
14130 (do_one_test): Break out result checking code into ...
14131 (check_result): This. New function.
14132 (do_one_test): Call check_result.
14133 (test_main): Call check1.
14134 * string/bug-strcasestr1.c: Removed.
14135 * string/bug-strchr1.c: Likewise.
14136 * string/bug-strstr1.c: Likewise.
14137
53cea63e
L
14138 * elf/Makefile (dl-routines): Add hwcaps.
14139 * elf/dl-support.c (_dl_important_hwcaps): Removed.
14140 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
14141 (_dl_important_hwcaps): Moved to ...
14142 * elf/dl-hwcaps.c: Here. New file.
14143 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
14144
9cee5585 14145 [BZ #14557]
bb859b06
L
14146 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
14147 if IS_IN_rtld isn't defined.
14148
9cee5585
L
14149 * elf/dl-support.c (_dl_sysinfo_map): New.
14150 Include "get-dynamic-info.h" and "setup-vdso.h".
14151 (_dl_non_dynamic_init): Call setup_vdso.
14152 * elf/dynamic-link.h: Don't include <assert.h>.
14153 (elf_get_dynamic_info): Moved to ...
14154 * elf/get-dynamic-info.h: Here. New file.
14155 * elf/dynamic-link.h: Include "get-dynamic-info.h".
14156 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
14157 * elf/setup-vdso.h: Here. New file.
14158 * elf/rtld.c: Include "setup-vdso.h".
14159 (dl_main): Call setup_vdso.
14160
23c31b76
JM
141612012-10-05 Joseph Myers <joseph@codesourcery.com>
14162
28234b07
JM
14163 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
14164 creal in comment listing functions tested. List finite, isinf,
14165 isnan, isless, islessequal, isgreater, isgreaterequal,
14166 islessgreater, isunordered, lgamma_r and pow10 as functions and
14167 macros not tested. Mention which functions not tested are aliases
14168 for other functions. Fix typo. Note that signs of NaNs are not
14169 tested.
14170
23c31b76
JM
14171 * scripts/config.guess: Update from config.git.
14172 * scripts/config.sub: Likewise.
14173
9043e228
RM
141742012-10-04 Roland McGrath <roland@hack.frob.com>
14175
14176 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
14177 * misc/madvise.c (madvise): Renamed to __madvise.
14178 Make madvise a weak alias.
14179 * include/sys/mman.h: Declare __madvise.
14180 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
14181 * sysdeps/unix/syscalls.list
14182 (madvise): Make __madvise the strong name, and madvise a weak alias.
14183 * sysdeps/unix/sysv/linux/syscalls.list
14184 (madvise, mmap): Remove redundant entries.
14185 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
14186 * malloc/malloc.c (mtrim): Likewise.
14187 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
14188
f57f8055
RM
141892012-10-03 Roland McGrath <roland@hack.frob.com>
14190
14191 * sysdeps/mach/hurd/dl-cache.c: File removed.
14192 * config.h.in (USE_LDCONFIG): New #undef.
14193 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
14194 * configure: Regenerated.
14195 * elf/Makefile (dl-routines): Add dl-cache only under
14196 [$(use-ldconfig) = yes].
14197 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
14198 cache on [USE_LDCONFIG].
14199 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
14200 [USE_LDCONFIG].
14201 * elf/rtld.c (dl_main): Likewise.
14202
5bb0c10a
PT
142032012-10-03 Pino Toscano <toscano.pino@tiscali.it>
14204
14205 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
14206 _SC_LEVEL4_CACHE_LINESIZE.
14207
010188c6
RM
142082012-10-03 Roland McGrath <roland@hack.frob.com>
14209
14210 * sysdeps/unix/bsd/confstr.h: File removed.
14211
b6c5ec07
AO
142122012-10-02 Alexandre Oliva <aoliva@redhat.com>
14213
14214 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
14215 sys/sdt-config.h.
14216
408223d4
RM
142172012-10-02 Roland McGrath <roland@hack.frob.com>
14218
14219 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
14220 Make 'mapoff' field ElfW(Off) rather than off_t.
14221
bb9510dc
DL
142222012-10-02 Dmitry V. Levin <ldv@altlinux.org>
14223
fc997c6e
DL
14224 * nscd/Makefile: Remove nscd-cflags and all its users.
14225 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
14226 (CFLAGS-nonlib): Add compiler flags for nscd modules.
14227
bb9510dc
DL
14228 [BZ #10631]
14229 * malloc.c (malloc_printerr): Clarify error message.
14230
05699367
L
142312012-10-02 H.J. Lu <hongjiu.lu@intel.com>
14232
14233 [BZ #14648]
14234 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14235 Set bit_FMA_Usable if FMA is supported.
14236 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
14237 macro.
14238 (bit_FMA4_Usable): Updated.
14239 (index_FMA_Usable): New macro.
14240 (CPUID_FMA): Likewise
14241 (HAS_FMA): Defined with bit_FMA_Usable.
14242
51367701
RM
142432012-10-01 Roland McGrath <roland@hack.frob.com>
14244
14245 * bits/types.h (__swblk_t): Type removed.
14246 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
14247 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
14248 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14249 (__SWBLK_T_TYPE): Likewise.
14250 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14251 (__SWBLK_T_TYPE): Likewise.
14252 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14253 (__SWBLK_T_TYPE): Likewise.
14254 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14255 (__SWBLK_T_TYPE): Likewise.
14256
4d57bf63 142572012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 14258 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
14259
14260 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
14261 (xdr_mapname): Use YPMAXMAP as maxsize.
14262 (xdr_peername): Use YPMAXPEER as maxsize.
14263 (xdr_keydat): Use YPAXRECORD as maxsize.
14264 (xdr_valdat): Use YPMAXRECORD as maxsize.
14265
93c65d43
RM
142662012-10-01 Roland McGrath <roland@hack.frob.com>
14267
497a03d6
RM
14268 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
14269
93c65d43
RM
14270 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
14271 * csu/init-first.c: ... here.
14272 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
14273 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
14274 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14275 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14276 * sysdeps/i386/init-first.c: File removed.
14277 * sysdeps/sh/init-first.c: File removed.
14278
bec749fd
JM
142792012-10-01 Joseph Myers <joseph@codesourcery.com>
14280
14281 [BZ #14645]
14282 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
14283 if x * y might underflow to zero and z is zero.
14284 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14285 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14286 * math/libm-test.inc (min_subnorm_value): New variable.
14287 (fma_test): Add more tests.
14288 (fma_test_towardzero): Likewise.
14289 (fma_test_downward): Likewise
14290 (fma_test_upward): Likewise.
14291 (initialize): Set min_subnorm_value.
14292
8ec5b013
JM
142932012-09-29 Joseph Myers <joseph@codesourcery.com>
14294
14295 [BZ #14638]
14296 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
14297 0 + 0.
14298 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
14299 mode for addition resulting in exact zero.
14300 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
14301 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
14302 exact 0 + 0.
14303 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14304 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14305 * math/libm-test.inc (fma_test): Add more tests.
14306 (fma_test_towardzero): New function.
14307 (fma_test_downward): Likewise.
14308 (fma_test_upward): Likewise.
14309 (main): Call the new functions.
14310
b1fa802e
DM
143112012-09-28 David S. Miller <davem@davemloft.net>
14312
14313 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
14314
d3b9fd9e
RM
143152012-09-28 Roland McGrath <roland@hack.frob.com>
14316
ea4d37b3
RM
14317 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
14318 instead of SIGALRM.
14319
ac51c949
RM
14320 * sysdeps/gnu/_G_config.h: Moved to ...
14321 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
14322 * sysdeps/mach/hurd/_G_config.h: Moved to ...
14323 * sysdeps/generic/_G_config.h: ... here.
14324
28c195f7
RM
14325 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
14326
848917f9
RM
14327 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
14328
6bacf05b
RM
14329 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
14330 Conditionalize target on [libnss_test1.so-version].
14331
91363dbb
RM
14332 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
14333
cc87f7d8
RM
14334 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
14335 (elfobjdir): Move out of conditionals.
14336
b1c608fe
RM
14337 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
14338 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
14339 (__nss_lookup_function): Conditionalize label remove_from_tree on
14340 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 14341
1d9a6d96
DM
143422012-09-28 David S. Miller <davem@davemloft.net>
14343
14344 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
14345 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
14346 file.
14347 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14348 sysdep_routines.
14349 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14350 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
14351 when HWCAP_SPARC_CRYPTO is present.
14352
72581615
PT
143532012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14354
14355 * io/tst-mknodat.c: Create a FIFO instead of a socket.
14356
715a900c
JL
143572012-09-28 Andreas Schwab <schwab@linux-m68k.org>
14358
14359 [BZ #6530]
14360 * stdio-common/vfprintf.c (process_string_arg): Revert
14361 2000-07-22 change.
14362
143632011-09-28 Jonathan Nieder <jrnieder@gmail.com>
14364
14365 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
14366 for testcase.
14367 * stdio-common/tst-sprintf.c: Include <locale.h>
14368 (main): Test sprintf's handling of incomplete multibyte
14369 characters.
14370
9bac1d86
L
143712012-09-28 H.J. Lu <hongjiu.lu@intel.com>
14372
14373 * elf/dl-runtime.c (VERSYMIDX): Removed.
14374 * elf/dl-version.c (VERSYMIDX): Likewise.
14375 * elf/do-rel.h (VERSYMIDX): Likewise.
14376 (VALIDX): Likewise.
14377 * elf/dynamic-link.h (VERSYMIDX): Likewise.
14378 * elf/rtld.c (VALIDX): Likewise.
14379 (ADDRIDX): Likewise.
9bac1d86
L
14380 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
14381 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
14382 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
14383 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
14384 (VALIDX): Likewise.
14385 (ADDRIDX): Likewise.
9bac1d86 14386
b31606c0
PT
143872012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14388
14389 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
14390
11541177
JL
143912012-09-28 Dmitry V. Levin <ldv@altlinux.org>
14392
14393 [BZ #11438]
14394 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
14395 to global scope.
14396 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
14397 addresses are in the same scope as 192.0.2/24.
14398 * posix/gai.conf: Document new scope table defaults.
14399
adb26fae
SP
144002012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14401
14402 [BZ #5298]
14403 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
14404 for ftell. Compute offsets from write pointers instead.
14405 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14406
4573c6b0
SP
144072012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14408
14409 [BZ #14543]
14410 * libio/Makefile (tests): New test case tst-fseek.
14411 * libio/tst-fseek.c: New test case to verify that fseek/ftell
14412 combination works in wide mode.
14413 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
14414 state when the external buffer state changes.
14415
aa9bbfe6
DM
144162012-09-27 David S. Miller <davem@davemloft.net>
14417
14418 [BZ #14376]
14419 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
14420 pass reloc->r_addend in as the 'high' argument to
14421 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
14422
784421e7
DM
14423 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14424
c39bc8b8
PT
144252012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14426
14427 * rt/tst-aio2.c: Include <pthread.h>.
14428 * rt/tst-aio3.c: Likewise.
14429
1ccc2399
SE
144302012-09-27 Steve Ellcey <sellcey@mips.com>
14431
14432 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
14433
31ed4153
L
144342012-09-27 H.J. Lu <hongjiu.lu@intel.com>
14435
25f5f885
L
14436 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
14437 contents on [SHARED].
31ed4153 14438
b7bfe116
MP
144392012-09-26 Marek Polacek <polacek@redhat.com>
14440
14441 [BZ #14530]
14442 [BZ #13741]
14443 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
14444 for C++ and GCC <4.3 as well as for non GCC compilers.
14445
43c4edba
MT
144462012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14447
14448 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14449
6a1bf82f
RM
144502012-09-25 Roland McGrath <roland@hack.frob.com>
14451
14452 * Makefile.in (all, install): Declare with .PHONY.
14453 Reported by Michael Hope <michael.hope@linaro.org>.
14454
8ad11b9a
TMQMF
144552012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14456
14457 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
14458 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
14459 system header.
14460 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
14461 Likewise.
14462 (sydep_routines): Add the new and the internal functions.
14463 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
14464 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
14465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
14466 (GLIBC_2.17): Add the new function.
14467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14468 (GLIBC_2.17): Likewise.
14469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14470 (GLIBC_2.17): Likewise.
14471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
14472 (GLIBC_2.17): Likewise.
14473 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
14474
7e2fca8d
AM
144752012-09-25 Alan Modra <amodra@gmail.com>
14476
14477 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
14478 Add release barrier before setting once_control to say
14479 initialisation is done. Add hints on lwarx. Use macro in
14480 place of isync.
14481 (clear_once_control): Add release barrier.
14482
b87c4b24
JM
144832012-09-25 Joseph Myers <joseph@codesourcery.com>
14484
d032e0d2
JM
14485 [BZ #13629]
14486 * math/s_clog.c (__clog): Handle more values close to |z| = 1
14487 specially.
14488 * math/s_clog10.c (__clog10): Likewise.
14489 * math/s_clog10f.c (__clog10f): Likewise.
14490 * math/s_clog10l.c (__clog10l): Likewise.
14491 * math/s_clogf.c (__clogf): Likewise.
14492 * math/s_clogl.c (__clogl): Likewise.
14493 * math/Makefile (libm-calls): Add x2y2m1.
14494 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
14495 (__x2y2m1): Likewise.
14496 (__x2y2m1l): Likewise.
14497 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
14498 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
14499 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14500 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14501 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
14502 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
14503 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
14504 * sysdeps/i386/fpu/libm-test-ulps: Update.
14505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14506
b87c4b24
JM
14507 [BZ #14621]
14508 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
14509 int as type of variable DEPTH.
14510 (glob): Use size_t instead of int as type of variables NEWCOUNT
14511 and OLD_PATHC.
14512
6d3bf199
LD
145132012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14514
22bf5c17
LD
14515 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14516 Add s_sincosf-sse2.
14517 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
14518 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
14519 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
14520 macros for using routine as __sincosf_ia32.
14521 Use macro for function declaration and weak_alias.
14522 * sysdeps/i386/fpu/libm-test-ulps: Update.
14523
14524 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
14525 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14526
14527 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
14528 subnormal argument.
14529 * math/s_cexpf.c (__cexpf): Likewise.
14530 * math/s_csinf.c (__csinf): Likewise.
14531 * math/s_csinhf.c (__csinhf): Likewise.
14532 * math/s_ctanf.c (__ctanf): Likewise.
14533 * math/s_ctanhf.c (__ctanhf): Likewise.
14534 * math/s_ccosh.c (__ccoshf): Likewise.
14535 * math/s_cexp.c (__cexpl): Likewise.
14536 * math/s_csin.c (__csin): Likewise.
14537 * math/s_csinh.c (__csinh): Likewise.
14538 * math/s_ctan.c (__ctan): Likewise.
14539 * math/s_ctanh.c (ctanh): Likewise.
14540 * math/s_ccoshl.c (__ccoshl): Likewise.
14541 * math/s_cexpl.c (__cexpl): Likewise.
14542 * math/s_csinl.c (__csinl): Likewise.
14543 * math/s_csinhl.c (__csinhl): Likewise.
14544 * math/s_ctanl.c (__ctanl): Likewise.
14545 * math/s_ctanhl.c (__ctanhl): Likewise.
14546
203e5603
JM
145472012-09-25 Joseph Myers <joseph@codesourcery.com>
14548
14549 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
14550 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
14551 (_IO_off_t): Define to __off_t, not _G_off_t.
14552 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
14553 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
14554 (_IO_wint_t): Define to wint_t, not _G_wint_t.
14555 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
14556 type of __dummy and __dummy2 fields.
14557 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
14558 (_G_ssize_t): Likewise.
14559 (_G_off_t): Likewise.
14560 (_G_pid_t): Likewise.
14561 (_G_uid_t): Likewise.
14562 (_G_wchar_t): Likewise.
14563 (_G_wint_t): Likewise.
14564 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
14565 (_G_ssize_t): Likewise.
14566 (_G_off_t): Likewise.
14567 (_G_pid_t): Likewise.
14568 (_G_uid_t): Likewise.
14569 (_G_wchar_t): Likewise.
14570 (_G_wint_t): Likewise.
14571 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
14572 (_G_ssize_t): Likewise.
14573 (_G_off_t): Likewise.
14574 (_G_pid_t): Likewise.
14575 (_G_uid_t): Likewise.
14576 (_G_wchar_t): Likewise.
14577 (_G_wint_t): Likewise.
14578
9fab36eb
SP
145792012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14580
14581 * malloc/arena.c: Include malloc-sysdep.h.
14582 (shrink_heap): Use check_may_shrink_heap to decide if madvise
14583 is sufficient to shrink the heap or an unmap is needed.
14584 * sysdeps/generic/malloc-sysdep.h: New file. Define
14585 new function check_may_shrink_heap.
14586 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
14587 new function check_may_shrink_heap.
14588
2b4f00d1
SP
145892012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14590
14591 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
14592 comments.
14593
9a9028b1
DL
145942012-09-24 Dmitry V. Levin <ldv@altlinux.org>
14595
57c69bef
DL
14596 * catgets/test-gencat.sh: Add "set -e".
14597 * elf/tst-pathopt.sh: Likewise.
14598 * grp/tst_fgetgrent.sh: Likewise.
14599 * iconvdata/run-iconv-test.sh: Likewise.
14600 * intl/tst-gettext.sh: Likewise.
14601 * intl/tst-gettext2.sh: Likewise.
14602 * intl/tst-gettext4.sh: Likewise.
14603 * intl/tst-gettext6.sh: Likewise.
14604 * intl/tst-translit.sh: Likewise.
14605 * io/ftwtest-sh: Likewise.
14606 * libio/test-freopen.sh: Likewise.
14607 * malloc/tst-mtrace.sh: Likewise.
14608 * posix/globtest.sh: Likewise.
14609 * posix/tst-getconf.sh: Likewise.
14610 * posix/wordexp-tst.sh: Likewise.
14611 * stdio-common/tst-printf.sh: Likewise.
14612 * stdio-common/tst-unbputc.sh: Likewise.
14613 * stdlib/tst-fmtmsg.sh: Likewise.
14614 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14615 * catgets/Makefile: Do not specify -e option when running
14616 testsuite shell scripts.
14617 * elf/Makefile: Likewise.
14618 * grp/Makefile: Likewise.
14619 * iconvdata/Makefile: Likewise.
14620 * intl/Makefile: Likewise.
14621 * io/Makefile: Likewise.
14622 * libio/Makefile: Likewise.
14623 * malloc/Makefile: Likewise.
14624 * posix/Makefile: Likewise.
14625 * stdio-common/Makefile: Likewise.
14626 * stdlib/Makefile: Likewise.
14627 * sysdeps/x86_64/Makefile: Likewise.
14628
9a9028b1
DL
14629 * io/ftwtest-sh: Add copyright header.
14630 * posix/globtest.sh: Likewise.
14631 * posix/tst-getconf.sh: Likewise.
14632 * posix/wordexp-tst.sh: Likewise.
14633 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14634
ced6f16e
L
146352012-09-24 H.J. Lu <hongjiu.lu@intel.com>
14636
94b32c39
L
14637 [BZ #13679]
14638 * Makeconfig (+link): Defined as $(+link-static) if
14639 $(build-shared) isn't yes.
14640 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
14641 isn't yes.
14642 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
14643
189e935b
L
14644 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
14645
ced6f16e
L
14646 [BZ #14562]
14647 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
14648 new chunk size with MALLOC_ALIGN_MASK.
14649
a9f8e53a
JM
146502012-09-24 Joseph Myers <joseph@codesourcery.com>
14651
14652 [BZ #5044]
14653 * stdio-common/printf_fphex.c: Include <stdbool.h> and
14654 <rounding-mode.h>.
14655 (__printf_fphex): Determine rounding using get_rounding_mode and
14656 round_away.
14657 * stdio-common/tst-printf-round.c (struct hex_test): New
14658 structure.
14659 (hex_tests): New variable.
14660 (test_hex_in_one_mode): New function.
14661 (do_test): Also run tests for hex float output.
14662
43153109
JM
146632012-09-21 Joseph Myers <joseph@codesourcery.com>
14664
14665 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14666 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14667 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
14668 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14669 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14670 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
14671 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14672 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14673
8a26625d
JM
146742012-09-20 Joseph Myers <joseph@codesourcery.com>
14675
14676 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
14677 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
14678 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
14679 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
14680
f3fd569c
DL
146812012-09-19 Dmitry V. Levin <ldv@altlinux.org>
14682
14683 [BZ #14579]
14684 * elf/rtld.c (dl_main): Limit the check for self loading to normal
14685 mode only.
14686 * elf/tst-rtld-load-self.sh: New test.
14687 * elf/Makefile: Run it.
14688
63bbedd4
JM
146892012-09-18 Joseph Myers <joseph@codesourcery.com>
14690
14691 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
14692 (tst-writev-ENV): Remove.
14693 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
14694
626f8b6a
CM
146952012-09-17 Chris Metcalf <cmetcalf@tilera.com>
14696
14697 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
14698
b7aaa4d6
JM
146992012-09-17 Joseph Myers <joseph@codesourcery.com>
14700
14701 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
14702 unconditional.
14703 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
14704 Likewise.
14705 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
14706 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
14707 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
14708 Likewise.
14709
65513990
L
147102012-09-14 H.J. Lu <hongjiu.lu@intel.com>
14711
14712 [BZ #14587]
14713 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
14714 * config.make.in (have-cpp-asm-debuginfo): Removed.
14715 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
14716 * configure: Regenerated.
14717
784761be
JM
147182012-09-14 Joseph Myers <joseph@codesourcery.com>
14719
14720 [BZ #5044]
14721 * stdio-common/printf_fp.c: Include <stdbool.h> and
14722 <rounding-mode.h>.
14723 (___printf_fp): Determine rounding using get_rounding_mode and
14724 round_away.
14725 * stdio-common/tst-printf-round.c: New file.
14726 * stdio-common/Makefile (tests): Add tst-printf-round.
14727 (link-libm): New variable.
14728 ($(objpfx)tst-printf-round): Depend in $(link-libm).
14729
9503345f
L
147302012-09-13 H.J. Lu <hongjiu.lu@intel.com>
14731
14732 [BZ #14576]
14733 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
14734 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
14735 Likewise.
14736 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
14737 Likewise.
14738
ad35fc00
JM
147392012-09-13 Joseph Myers <joseph@codesourcery.com>
14740
14741 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
14742 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14743 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14744 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14745
6c9b0f68
JM
147462012-09-12 Joseph Myers <joseph@codesourcery.com>
14747
14748 [BZ #14518]
14749 * include/rounding-mode.h: New file.
14750 * sysdeps/generic/get-rounding-mode.h: Likewise.
14751 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
14752 * stdlib/strtod_l.c: Include <rounding-mode.h>.
14753 (MAX_VALUE): New macro.
14754 (MIN_VALUE): Likewise.
14755 (overflow_value): New function.
14756 (underflow_value): Likewise.
14757 (round_and_return): Use overflow_value and underflow_value to
14758 determine return values in overflow and underflow cases. Use
14759 round_away to determine rounding depending on rounding mode.
14760 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
14761 determine return values in overflow and underflow cases.
14762 * stdlib/tst-strtod-round.c: Include <fenv.h>.
14763 (struct test_results): New structure.
14764 (struct test): Use struct test_results to store expected results
14765 for all rounding modes.
14766 (TEST): Include expected results for all rounding modes.
14767 (test_in_one_mode): New function.
14768 (do_test): Use test_in_one_mode to compute and check results.
14769 Check results for all rounding modes.
14770 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
14771 $(link-libm).
14772
19fcedd5
AM
147732012-12-09 Allan McRae <allan@archlinux.org>
14774
1e9d84cd 14775 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 14776
8bbfd2f1
JM
147772012-09-11 Joseph Myers <joseph@codesourcery.com>
14778
14779 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
14780 (_G_int32_t): Likewise.
14781 (_G_uint16_t): Likewise.
14782 (_G_uint32_t): Likewise.
14783 (_G_HAVE_BOOL): Likewise.
14784 (_G_HAVE_ATEXIT): Likewise.
14785 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14786 (_G_HAVE_IO_FILE_OPEN): Likewise.
14787 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
14788 (_G_int32_t): Likewise.
14789 (_G_uint16_t): Likewise.
14790 (_G_uint32_t): Likewise.
14791 (_G_HAVE_BOOL): Likewise.
14792 (_G_HAVE_ATEXIT): Likewise.
14793 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14794 (_G_HAVE_IO_FILE_OPEN): Likewise.
14795 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
14796 (_G_int32_t): Likewise.
14797 (_G_uint16_t): Likewise.
14798 (_G_uint32_t): Likewise.
14799 (_G_HAVE_BOOL): Likewise.
14800 (_G_HAVE_ATEXIT): Likewise.
14801 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14802 (_G_HAVE_IO_FILE_OPEN): Likewise.
14803
b1dc5912
L
148042012-09-11 H.J. Lu <hongjiu.lu@intel.com>
14805
14806 * csu/libc-tls.c: Update copyright years.
14807
0e886ef9
JM
148082012-09-10 Joseph Myers <joseph@codesourcery.com>
14809
28361c5e
JM
14810 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
14811 [!_G_USING_THUNKS]: Remove conditional code.
14812 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
14813 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
14814
0e886ef9
JM
14815 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
14816 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
14817 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14818 (_G_VTABLE_LABEL_PREFIX): Likewise.
14819 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14820 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14821 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14822 (_G_VTABLE_LABEL_PREFIX): Likewise.
14823 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14824 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14825 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14826 (_G_VTABLE_LABEL_PREFIX): Likewise.
14827 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14828
bcba7aa2
L
148292012-09-10 H.J. Lu <hongjiu.lu@intel.com>
14830
14831 * libio/Makefile: Include ../Makeconfig before tests.
14832 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
14833 only if $(build-shared) is yes.
14834
06585ee8
L
14835 * iconv/gconv_db.c: Update copyright years.
14836
80ccd52c
LD
148372012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14838
14839 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
14840 unwind info if defined PIC. Fix special cases description.
14841 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
14842
14843 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
14844 DP_HI_MASK entry.
14845 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
14846
691bc9c1
L
148472012-09-07 H.J. Lu <hongjiu.lu@intel.com>
14848
3d9b46b3
L
14849 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
14850
de2139a9
L
14851 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
14852 is NULL.
14853
5ca78dd0
L
14854 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
14855 (LDLIBS-tst-chk4): This.
14856 (LDFLAGS-tst-chk5): Renamed to ...
14857 (LDLIBS-tst-chk5): This.
14858 (LDFLAGS-tst-chk6): Renamed to ...
14859 (LDLIBS-tst-chk6): This.
14860 (LDFLAGS-tst-lfschk4): Renamed to ...
14861 (LDLIBS-tst-lfschk4): This.
14862 (LDFLAGS-tst-lfschk5): Renamed to ...
14863 (LDLIBS-tst-lfschk5): This.
14864 (LDFLAGS-tst-lfschk6): Renamed to ...
14865 (LDLIBS-tst-lfschk6): This.
14866
691bc9c1
L
14867 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
14868 on $(common-objpfx)soversions.mk.
14869
65cafb1c
JM
148702012-09-07 Joseph Myers <joseph@codesourcery.com>
14871
14872 [BZ #10014]
14873 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
14874 example host name.
14875
c78ab094
SP
148762012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14877
14878 * malloc/arena.c (arena_get_retry): New function that gets
14879 another arena for the caller to try its request on.
14880 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
14881 current arena cannot fulfill the request.
14882 (__libc_memalign): Likewise.
14883 (__libc_memalign): Likewise.
14884 (__libc_pvalloc): Likewise.
14885 (__libc_calloc): Likewise.
14886
01f49f59
JT
148872012-09-05 John Tobey <john.tobey@gmail.com>
14888
14889 [BZ #13542]
14890 * manual/arith.texi (Operations on Complex): Fix description
14891 of carg branch cut.
14892
4c23fed5
JM
148932012-09-06 Joseph Myers <joseph@codesourcery.com>
14894
1d3c8572
JM
14895 [BZ #10014]
14896 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
14897 host name.
14898
4c23fed5
JM
14899 [BZ #10038]
14900 * manual/memory.texi (Memory): Make order of menu items match
14901 order of sections.
14902
04570aaa
L
149032012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14904
14905 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
14906 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
14907 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
14908
b80af2f4
L
149092012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14910
14911 * csu/libc-tls.c (static_dtv): Renamed to ...
14912 (_dl_static_dtv): This. Make it global.
14913 (_dl_initial_dtv): Removed.
14914 (__libc_setup_tls): Updated.
14915 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
14916 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
14917 DL_INITIAL_DTV.
14918
2abe9f15
PM
149192012-09-06 Petr Machata <pmachata@redhat.com>
14920
14921 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
14922 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
14923 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
14924 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
14925
0948c3af
L
149262012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14927
14928 [BZ #14545]
14929 * csu/libc-tls.c (_dl_initial_dtv): New variable.
14930 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
14931 freeing dtv[-1].
14932
a5055ad1
L
149332012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14934
14935 [BZ #14544]
14936 * Makeconfig (link-static-before-libc): Replace $(+prector)
14937 with $(+prectorT).
14938 (link-static-after-libc): Replace $(+postctor) with
14939 $(+postctorT).
14940 (link-bounded): Replace $(+prector)/$(+postctor) with
14941 $(+prectorT)/$(+postctorT).
14942 (+prectorT): New macro.
14943 (+postctorT): Likewise.
14944
ed8c2ecd
JM
149452012-09-06 Joseph Myers <joseph@codesourcery.com>
14946
14947 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
14948 (round_str): Handle values above the maximum for IBM long double
14949 as inexact.
14950 * stdlib/tst-strtod-round.c (tests): Regenerated.
14951
14c996c8
AK
149522012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14953
14954 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14955 assembler flag.
14956 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
14957 zarch_nohighgprs around the zarch optimized routines.
14958 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14959 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14960 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
14961 for zarch.
14962
430d6ce6
DM
149632012-09-05 David S. Miller <davem@davemloft.net>
14964
14965 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14966
ff04dda4
DM
14967 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
14968 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
14969 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
14970 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14971 entries.
14972
24d4e01b
AO
149732012-09-05 Alexandre Oliva <aoliva@redhat.com>
14974
14975 * malloc/arena.c: Fold copyright years.
14976 * malloc/mcheck.c, malloc/memusage.c: Likewise.
14977
61d58174
AO
149782012-09-05 Alexandre Oliva <aoliva@redhat.com>
14979
14980 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14981
20196a5e
AO
149822012-09-05 Alexandre Oliva <aoliva@redhat.com>
14983
14984 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
14985
5c447383
AO
149862012-09-05 Alexandre Oliva <aoliva@redhat.com>
14987
14988 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14989 change internal state upon failure.
14990
fad64255
AO
149912012-09-05 Alexandre Oliva <aoliva@redhat.com>
14992
14993 * malloc/mcheck.c (mcheck_check_all): Fix typo.
14994 * malloc/memusage.c (mmap): Likewise.
14995 (mmap64, mremap): Likewise. Adjust name in comment.
14996
1ffb8c90
SP
149972012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14998
14999 * libio/fileops.c: Fix typos in comments.
15000 * libio/oldfileops.c: Likewise.
15001 * libio/wfileops.c: Likewise.
15002
6ef9cc37
SP
150032012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15004
15005 [BZ #1349]
15006 * malloc/Makefile (tests): Add tst-malloc-usable test case.
15007 (tst-malloc-usable-ENV): Set environment for test case.
15008 * malloc/hooks.c (malloc_check_get_size): New function to get
15009 requested size.
15010 * malloc/malloc.c (musable): Use malloc_check_get_size.
15011 * malloc/tst-malloc-usable.c: New test case.
15012
4d038ae3
AS
150132012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15014
15015 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
15016
c4e85184
AM
150172012-09-05 Allan McRae <allan@archlinux.org>
15018
b9dafc56 15019 [BZ #13966]
c4e85184
AM
15020 * configure.in (CXX_SYSINCLUDES): Use compiler output to
15021 determine header location.
15022 * configure: Regenerated.
15023
e1343020
AS
150242012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15025
15026 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
15027 float format.
15028 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
15029 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
15030 format.
e1343020
AS
15031 (test): Regenerate.
15032
0a9f1987
DM
150332012-09-04 David S. Miller <davem@davemloft.net>
15034
15035 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
15036 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
15037 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
15038
29237804
FW
150392012-09-04 Florian Weimer <fweimer@redhat.com>
15040
15041 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
15042 failures.
15043
edb3cb88
FW
15044 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
15045
60160d83
JM
150462012-09-04 Joseph Myers <joseph@codesourcery.com>
15047
15048 [BZ #9914]
15049 * libio/iogetdelim.c: Include <limits.h>.
15050 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
15051 + len + 1 would overflow.
15052
bcd6c8dc
AJ
150532012-09-03 Andreas Jaeger <aj@suse.de>
15054
15055 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15056 * sysdeps/i386/fpu/libm-test-ulps: Update.
15057
4ffffbd2
LD
150582012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15059
15060 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15061 Add s_sinf-sse2, s_conf-sse2.
15062
15063 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
15064 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
15065 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
15066 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
15067
15068 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
15069 for using routine as __sinf_ia32.
15070 Use macro for function declaration and weak_alias.
15071 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
15072 for using routine as __cosf_ia32.
15073 Use macro for function declaration and weak_alias.
15074
15075 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
15076 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
15077
15078 * sysdeps/x86_64/fpu/s_sinf.S: New file.
15079 * sysdeps/x86_64/fpu/s_cosf.S: New file.
15080 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15081
15082 * math/libm-test.inc (cos_test): Add more test cases.
15083 (sin_test): Likewise.
15084 (sincos_test): Likewise.
15085
511fa286
AK
150862012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15087
15088 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15089 (IFUNC_RESOLVE): Make pointers to the specialized implementations
15090 hidden.
15091 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15092
5f30cfec
L
150932012-09-02 H.J. Lu <hongjiu.lu@intel.com>
15094
15095 [BZ #14538]
15096 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
15097 first element of the GOT.
15098 (elf_machine_load_address): Return the difference between
15099 the runtime address of _DYNAMIC and elf_machine_dynamic ().
15100
0786794f
AM
151012012-09-01 Allan McRae <allan@archlinux.org>
15102
5f30cfec
L
15103 [BZ #13412]
15104 * configure.in (AWK): Require gawk version 3.0 or later.
15105 * configure: Regenerated.
0786794f 15106
26889eac
JM
151072012-09-01 Joseph Myers <joseph@codesourcery.com>
15108
15109 * sysdeps/unix/sysv/linux/kernel-features.h
15110 (__ASSUME_POSIX_CPU_TIMERS): Remove.
15111 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15112 [__NR_clock_getres]: Make code unconditional.
15113 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
15114 (clock_getcpuclockid): Remove code left unreachable by removal of
15115 conditionals.
15116 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
15117 code unconditional.
15118 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15119 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15120 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
15121 Make code unconditional.
15122 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15123 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15124 * sysdeps/unix/sysv/linux/clock_settime.c
15125 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
15126 conditional code.
15127 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
15128 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15129
d22e28b0
L
151302012-08-29 H.J. Lu <hongjiu.lu@intel.com>
15131
15132 [BZ #14476]
15133 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
15134 scripts/test-installation.pl.
15135
15136 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
15137 and $ld_so_version if it is set.
15138
050af9c4
SP
151392012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15140
15141 [BZ #14516]
15142 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
15143 failure if reading from procfs failed.
15144 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
15145
ad845c0b
JM
151462012-08-27 Joseph Myers <joseph@codesourcery.com>
15147
15148 * sysdeps/unix/sysv/linux/kernel-features.h
15149 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
15150 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15151 Remove conditional code.
15152 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15153 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
15154 Remove conditional code.
15155 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15156 * sysdeps/unix/sysv/linux/i386/fxstat.c
15157 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15158 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15159 * sysdeps/unix/sysv/linux/i386/fxstatat.c
15160 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15161 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15162 * sysdeps/unix/sysv/linux/i386/lxstat.c
15163 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15164 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15165 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
15166 Remove conditional code.
15167 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15168 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15169 Remove conditional code.
15170 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15171 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
15172 <kernel-features.h>.
15173 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
15174 Remove.
15175 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
15176 Remove conditional code.
15177 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15178 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
15179 Remove conditional.
15180
5dbf56af
MF
151812012-08-27 Mike Frysinger <vapier@gentoo.org>
15182
15183 [BZ #5400]
15184 * NEWS: Add fixed bug number.
15185
d6e70f43
JM
151862012-08-27 Joseph Myers <joseph@codesourcery.com>
15187
7efb4737
JM
15188 [BZ #14519]
15189 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
15190 underflowing exponent in case of negative sign.
15191 * stdlib/tst-strtod-round-data: Add more tests.
15192 * stdlib/tst-strtod-round.c (tests): Regenerated.
15193
af92131a
JM
15194 [BZ #3479]
15195 * stdlib/strtod_l.c (NDIG): Remove.
15196 (HEXNDIG): Likewise.
15197 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
15198 smallest representable value.
15199 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
15200 lie within an exact representation of 1/2 ulp of the result.
15201 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
15202 unconditionally.
15203 (TENS_P9_IDX): Define unconditionally.
15204 (TENS_P9_SIZE): Likewise.
15205 (TENS_P10_IDX): Likewise.
15206 (TENS_P10_SIZE): Likewise.
15207 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
15208 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
15209 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
15210 entries for 10^2^13 and 10^2^14.
15211 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
15212 (TENS_P13_IDX): Define.
15213 (TENS_P13_SIZE): Likewise.
15214 (TENS_P14_IDX): Likewise.
15215 (TENS_P14_SIZE): Likewise.
15216 (_fpioconst_pow10): Change array size to
15217 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
15218 unconditional.
15219 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
15220 1024]: Add entries for 10^2^13 and 10^2^14.
15221 [LAST_POW10 > _LAST_POW10]: Remove #error.
15222 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
15223 (_fpioconst_pow10): Change array size to
15224 FPIOCONST_POW10_ARRAY_SIZE.
15225 * stdlib/gen-fpioconst.c: New file.
15226 * stdlib/gen-tst-strtod-round.c: Likewise.
15227 * stdlib/tst-strtod-round-data: Likewise.
15228 * stdlib/tst-strtod-round.c: Likewise.
15229 * stdlib/Makefile (tests): Add tst-strtod-round.
15230
d6e70f43
JM
15231 [BZ #14459]
15232 * stdlib/strtod_l.c: Include <stdint.h>.
15233 (NDEBUG): Do not define.
15234 (round_and_return): Change EXPONENT parameter to type intmax_t.
15235 Rearrange calculations to avoid internal overflow possibilities.
15236 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
15237 Rearrange calculations to avoid internal overflow possibilities.
15238 Assert that number fits inside MPNSIZE limbs.
15239 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
15240 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
15241 calculations and add assertions to avoid internal overflow
15242 possibilities. Add casts to avoid signed/unsigned operations.
15243 * stdlib/tst-strtod-overflow.c: New file.
15244 * stdlib/Makefile (tests): Add tst-strtod-overflow.
15245
1f529f7d
MP
152462012-08-25 Marek Polacek <polacek@redhat.com>
15247
15248 * time/time.h: Fix some typos in comments.
15249
59a629f1
RM
152502012-08-23 Roland McGrath <roland@hack.frob.com>
15251
15252 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
15253 * posix/tst-rfc3484-2.c: Likewise.
15254 * posix/tst-rfc3484-3.c: Likewise.
15255
d3bafbc9
SM
152562012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
15257
15258 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
15259 (EF_ARM_ABI_FLOAT_HARD): Likewise.
15260
4efcc022
JM
152612012-08-23 Joseph Myers <joseph@codesourcery.com>
15262
15263 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
15264 #include of fxstatat64.c.
15265
3cc3ef96
RM
152662012-08-22 Roland McGrath <roland@hack.frob.com>
15267
f04e2132
RM
15268 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
15269 * shadow/getspent_r.c: Likewise.
15270 * shadow/getspnam.c: Likewise.
15271 * shadow/getspnam_r.c: Likewise.
15272 * gshadow/getsgent.c: Likewise.
15273 * gshadow/getsgent_r.c: Likewise.
15274 * gshadow/getsgnam.c: Likewise.
15275 * gshadow/getsgnam_r.c: Likewise.
15276 * inet/getnetbyad.c: Likewise.
15277 * inet/getnetbyad_r.c: Likewise.
15278 * inet/getnetbynm.c: Likewise.
15279 * inet/getnetbynm_r.c: Likewise.
15280 * inet/getnetent.c: Likewise.
15281 * inet/getnetent_r.c: Likewise.
15282 * inet/getproto.c: Likewise.
15283 * inet/getproto_r.c: Likewise.
15284 * inet/getprtent.c: Likewise.
15285 * inet/getprtent_r.c: Likewise.
15286 * inet/getprtname.c: Likewise.
15287 * inet/getprtname_r.c: Likewise.
15288 * inet/getrpcbyname.c: Likewise.
15289 * inet/getrpcbyname_r.c: Likewise.
15290 * inet/getrpcbynumber.c: Likewise.
15291 * inet/getrpcbynumber_r.c: Likewise.
15292 * inet/getrpcent.c: Likewise.
15293 * inet/getrpcent_r.c: Likewise.
15294 * inet/getaliasent.c: Likewise.
15295 * inet/getaliasent_r.c: Likewise.
15296 * inet/getaliasname.c: Likewise.
15297 * inet/getaliasname_r.c: Likewise.
15298 * nscd/getgrgid_r.c: Likewise.
15299 * nscd/getgrnam_r.c: Likewise.
15300 * nscd/gethstbyad_r.c: Likewise.
15301 * nscd/gethstbynm3_r.c: Likewise.
15302 * nscd/getpwnam_r.c: Likewise.
15303 * nscd/getpwuid_r.c: Likewise.
15304 * nscd/getsrvbynm_r.c: Likewise.
15305 * nscd/getsrvbypt_r.c: Likewise.
15306 * nscd/gai.c: Likewise.
15307
c53d909c
RM
15308 * configure.in (build_nscd): New substituted variable, set
15309 by --disable-build-nscd and defaults to $use_nscd.
15310 * configure: Regenerated.
15311 * config.make.in (build-nscd): New substituted variable.
15312 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
15313 Change conditional to require [$(build-nscd) = yes] as well.
15314 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
15315
3cc3ef96
RM
15316 [BZ# 13696]
15317 * configure.in (use_nscd): New substituted variable, set by
15318 --disable-nscd. If enabled, define USE_NSCD.
15319 * configure: Regenerated.
15320 * config.h.in: Add USE_NSCD.
15321 * config.make.in (use-nscd): New substituted variable.
15322 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
15323 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
15324 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
15325 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
15326 (CFLAGS-getgrnam_r.c): Likewise.
15327 (CFLAGS-initgroups.c): Likewise.
15328 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
15329 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
15330 Variables removed.
15331 * inet/getnetgrent_r.c
15332 (nscd_setnetgrent): New function, broken out of ...
15333 (setnetgrent): ... here. Call it.
15334 (innetgr): Conditionalize nscd bits on [USE_NSCD].
15335 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
15336 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
15337 * nscd/Makefile (routines, aux): Move definitions after include of
15338 Makeconfig. Conditionalize on [$(use-nscd) != no].
15339 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
15340 Conditionalize on [USE_NSCD].
15341 (is_nscd, nscd_init_cb): Likewise.
15342 (nss_load_library): Conditionalize init callback on [USE_NSCD].
15343 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
15344 * nss/nss_db/db-init.c: Likewise.
15345 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
15346 [USE_NSCD].
15347 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
15348 (make_request): Use it.
15349 (cache_valid_p): New function.
15350 (__check_pf): Use it.
15351 * NEWS: Add item for --disable-nscd.
15352
07e51550
DL
153532012-08-22 Dmitry V. Levin <ldv@altlinux.org>
15354
15355 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
15356 to support sed >= 4.2.1-20-ga9bf076.
15357 * configure: Regenerated.
15358
35a5b08b
RM
153592012-08-22 Roland McGrath <roland@hack.frob.com>
15360
15361 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
15362 Conditionalize whole body on [IREL].
15363
8479f23a
JL
153642012-08-22 Jeff Law <law@redhat.com>
15365
15366 [BZ #14505]
15367 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
15368 if the family is PF_UNSPEC.
15369
48da0b21
MF
153702012-08-22 Mike Frysinger <vapier@gentoo.org>
15371
15372 * Makerules (lib-version): Rename from V.
15373 (install-lib-nosubdir): Change V to lib-version.
15374
15d0da8c
WS
153752012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
15376
15377 [BZ #14252]
15378 * powerpc32/power6/wcschr.c: New file.
15379 * powerpc32/power6/wcscpy.c: New file.
15380 * powerpc32/power6/wcsrchr.c: New file.
15381 * powerpc64/power6/wcschr.c: New file.
15382 * powerpc64/power6/wcscpy.c: New file.
15383 * powerpc64/power6/wcsrchr.c: New file.
15384
bcca0895
MK
153852012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15386
15387 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
15388 (two_way_short_needle): Use it.
5a4aaa33
RM
15389 * string/strstr.c (AVAILABLE1_USES_J): Define.
15390 * string/strcasestr.c: Likewise.
99677e57
MK
15391
15392 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
15393 array references.
15394 * string/strcasestr.c (TOLOWER): Make side-effect safe.
15395
400726de
MK
15396 [BZ #11607]
15397 * NEWS: Add an entry.
15398 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
15399 define their defaults.
15400 (two_way_short_needle): Detect end-of-string on-the-fly.
15401 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
15402 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
15403 * string/bug-strcasestr1.c: New test.
15404 * string/Makefile: Run it.
15405
20a71f2c
MK
154062012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15407
15408 [BZ #11607]
15409 * string/str-two-way.h (two_way_short_needle): Optimize matching of
15410 the first character.
15411
21ad0558
RM
154122012-08-21 Roland McGrath <roland@hack.frob.com>
15413
15414 * csu/elf-init.c (__libc_csu_irel): Function removed.
15415 * csu/libc-start.c (apply_irel): New function.
15416 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
15417
0e1d9911
JM
154182012-08-21 Joseph Myers <joseph@codesourcery.com>
15419
15420 * sysdeps/unix/sysv/linux/kernel-features.h
15421 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
15422 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
15423 <kernel-features.h>.
15424 [__NR_fadvise64_64]: Make code unconditional.
15425 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
15426 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15427 !__NR_fadvise64_64)]: Likewise.
15428 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15429 !__NR_fadvise64_64))]: Likewise.
15430 [__NR_fadvise64]: Make code unconditional.
15431 [!__NR_fadvise64]: Remove conditional code.
15432 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
15433 <kernel-features.h>.
15434 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15435 unconditional.
15436 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15437 conditional code.
15438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
15439 not include <kernel-features.h>.
15440 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15441 unconditional.
15442 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15443 conditional code.
15444 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
15445 include <kernel-features.h>.
15446 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15447 unconditional.
15448 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15449 conditional code.
15450
14a50c9d
WS
154512012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15452
15453 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
15454 slight instruction rearrangements per scrollpipe analysis.
15455 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15456
c0f4faf0
RM
154572012-08-20 Roland McGrath <roland@hack.frob.com>
15458
696da859
RM
15459 * manual/syslog.texi (syslog; vsyslog, closelog):
15460 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
15461 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
15462
c0f4faf0
RM
15463 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
15464 DSOCAPS to match condition on defining it.
15465
348363b2
JM
154662012-08-20 Joseph Myers <joseph@codesourcery.com>
15467
a35cbf28
JM
15468 * sysdeps/unix/sysv/linux/kernel-features.h
15469 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
15470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
15471 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15472 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
15474 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15475 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
15477 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15478 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15479
445f7ecd
JM
15480 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
15481 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
15482
348363b2
JM
15483 * sysdeps/unix/sysv/linux/kernel-features.h
15484 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
15485 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
15486 unconditional.
15487 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15488 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
15489 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15490 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15491 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
15492 Make code unconditional.
15493 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15494 (__mmap64) [!__NR_mmap2]: Likewise.
15495 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
15496 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15497 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15498 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
15499 [__NR_mmap2]: Make code unconditional.
15500 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15501 (__mmap64) [!__NR_mmap2]: Likewise.
15502
bc5bc0e5
AK
155032012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15504
15505 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
15506
88d506de
AJ
155072012-08-18 Andreas Jaeger <aj@suse.de>
15508
15509 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
15510
493387d2
MF
155112012-08-18 Mike Frysinger <vapier@gentoo.org>
15512
15513 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
15514 * include/unistd.h (__have_sock_cloexec): Likewise.
15515 (__have_pipe2): Likewise.
15516 (__have_dup3): Likewise.
15517
a277af22
MF
155182012-08-18 Mike Frysinger <vapier@gentoo.org>
15519
15520 [BZ #9685]
15521 * include/unistd.h (__have_pipe2): Change define into an extern int.
15522 (__have_dup3): Likewise.
15523 * socket/have_sock_cloexec.c: Include fcntl.h.
15524 (__have_pipe2): New variable.
15525 (__have_dup3): Likewise.
15526
fdab8fd3
MF
155272012-08-17 Mike Frysinger <vapier@gentoo.org>
15528
15529 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
15530
31035e80
MP
155312012-08-17 Marek Polacek <polacek@redhat.com>
15532
15533 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
15534 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
15535
3bd9e993
RM
155362012-08-17 Roland McGrath <roland@hack.frob.com>
15537
c91c505f
RM
15538 * configure.in: Add AC_SUBST for sysheaders.
15539 * configure: Regenerated.
15540 * config.make.in (sysheaders): New substituted variable.
15541
7c6f9d53
RM
15542 * sysdeps/unix/mkfifo.c: Moved ...
15543 * sysdeps/posix/mkfifo.c: ... here.
15544 * sysdeps/unix/mkfifoat.c: Moved ...
15545 * sysdeps/posix/mkfifoat.c: ... here.
15546
15547 * sysdeps/unix/utime.c: Moved ...
15548 * sysdeps/posix/utime.c: ... here.
15549
15550 * sysdeps/unix/time.c: Moved ...
15551 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
15552 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
15553 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
15554
15555 * sysdeps/unix/nice.c: Moved ...
15556 * sysdeps/posix/nice.c: ... here.
15557
15558 * sysdeps/unix/alarm.c: Moved ...
15559 * sysdeps/posix/alarm.c: ... here.
15560
3bd9e993
RM
15561 * intl/Makefile ($(codeset_mo)): Depend on the input file.
15562
d1f09384
JL
155632012-08-17 Jeff Law <law@redhat.com>
15564
15565 * intl/Makefile (codeset_mo): New variable.
15566 ($(codeset_mo)): New target.
15567 (tst-codeset.out): Depend on that. Remove explicit rule.
15568 (tst-gettext3.out, tst-gettext5.out): Likewise.
15569 (LOCPATH-ENV, tst-codeset-ENV): New variables.
15570 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
15571 * intl/tst-codeset.sh: Remove.
15572 * intl/tst-gettext3.sh: Likewise.
15573 * intl/tst-gettext5.sh: Likewise.
15574
2ae1ae5c
RM
155752012-08-17 Roland McGrath <roland@hack.frob.com>
15576
c31fdb83
RM
15577 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
15578 * sysdeps/unix/syscalls.list: ... here.
15579
a0844057
RM
15580 * sysdeps/posix/getaddrinfo.c
15581 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
15582 (gaiconf_init, gaiconf_reload): Use them.
15583 [!_STATBUF_ST_NSEC]
15584 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
15585 Define using time_t rather than struct timespec.
15586
750c1f2a
RM
15587 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
15588 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
15589 Macros removed.
15590 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
15591 [!NO_THREADS].
15592 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
15593 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
15594 Likewise.
15595
2ae1ae5c
RM
15596 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
15597 __libc_cleanup_push argument.
15598
e66a42f5
RM
15599 * bits/param.h: New file.
15600 * misc/sys/param.h: New file.
15601 * include/sys/param.h: New file.
15602 * misc/Makefile (headers): Add bits/param.h.
15603 * sysdeps/generic/sys/param.h: File removed.
15604 * sysdeps/unix/sysv/linux/bits/param.h: New file.
15605 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
15606 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 15607 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 15608
b7c08a66
RM
15609 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
15610 last change.
15611
b2e1c562
RM
15612 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
15613 [_IO_MTSAFE_IO].
15614 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
15615 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
15616 New macros.
15617
c75ccd4c
RM
15618 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
15619 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
15620 rather than -D_IO_MTSAFE_IO conditionally.
15621 * stdio-common/Makefile (CPPFLAGS): Likewise.
15622 * wcsmbs/Makefile (CPPFLAGS): Likewise.
15623 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
15624 Use $(libio-mtsafe).
15625 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
15626 of -D_IO_MTSAFE_IO.
15627 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
15628 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
15629 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
15630 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
15631 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
15632 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
15633 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
15634 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
15635 (CFLAGS-fread_u_chk.c): Likewise.
15636 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
15637 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
15638 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
15639 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
15640 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
15641 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
15642 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
15643 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
15644 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
15645
15646 * libio/Makefile: Test [$(libc-reentrant) = yes]
15647 instead of [$(filter %REENTRANT, $(defines)) nonempty].
15648
15649 * Makeconfig
15650 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
15651 * sysdeps/pthread/configure: File removed.
15652 * sysdeps/pthread/Makeconfig: New file.
15653 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
15654 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
15655
d9195db8
GB
156562012-08-16 Gary Benson <gbenson@redhat.com>
15657
15658 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
15659 unmapping the first object in a namespace.
15660
86466cd9
RM
156612012-08-16 Roland McGrath <roland@hack.frob.com>
15662
15663 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
15664 (__internal_setnetgrent): ... this. Add internal_function to
15665 definition. Add libc_hidden_def.
15666 (setnetgrent): Update caller.
15667 (internal_endnetgrent): Renamed to ...
15668 (__internal_endnetgrent): ... this. Add internal_function to
15669 definition. Add libc_hidden_def.
15670 (endnetgrent): Update caller.
15671 (internal_getnetgrent_r): Renamed to ...
15672 (__internal_getnetgrent_r): ... this. Add internal_function to
15673 definition. Add libc_hidden_def.
15674 (__getnetgrent_r): Update caller.
15675 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
15676
c3c8283c
JM
156772012-08-16 Joseph Myers <joseph@codesourcery.com>
15678
15679 * stdlib/longlong.h: Update from GCC.
15680
db1ee0a8
RM
156812012-08-16 Roland McGrath <roland@hack.frob.com>
15682
15683 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
15684 on _QL, which is set by umul_ppmm but never used.
15685 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
15686 variables, which are set by GMP macros but never used.
15687 * stdio-common/_itowa.c (_itowa): Likewise.
15688 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
15689 * stdlib/mod_1.c (mpn_mod_1): Likewise.
15690
30f69637
CD
156912012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
15692
15693 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
15694 struct La_sh_regs is not constant.
15695 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
15696 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
15697 and struct La_sparc64_regs are not constant.
15698
93a78ac4
JM
156992012-08-16 Joseph Myers <joseph@codesourcery.com>
15700
15701 * sysdeps/unix/sysv/linux/kernel-features.h
15702 (__ASSUME_POSIX_TIMERS): Remove.
15703 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15704 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15705 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
15706 Make code unconditional.
15707 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15708 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
15709 Make code unconditional.
15710 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15711 * sysdeps/unix/sysv/linux/clock_nanosleep.c
15712 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
15713 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15714 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
15715 Make code unconditional.
15716 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15717 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
15718 (__libc_missing_posix_timers): Remove.
15719
dd924cd7
RM
157202012-08-15 Roland McGrath <roland@hack.frob.com>
15721
4b4f2771
RM
15722 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
15723 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
15724
601c888b
RM
15725 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
15726
176790a7
RM
15727 * elf/dl-sym.c: Include <stdlib.h>.
15728
329bc018
RM
15729 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
15730 constants, which avoids warnings in 32-bit builds.
15731
e04e272d
RM
15732 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
15733 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
15734
952bf94a
RM
15735 * misc/lseek.c: File moved to ...
15736 * io/lseek.c: ... here.
15737
7c99b50a
RM
15738 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
15739
dd924cd7
RM
15740 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
15741 shifting LEN more than 31 bits at once.
15742
b3f479a8
LD
157432012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15744
15745 [BZ #14195]
8c4ae0d4
RM
15746 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
15747 segmentation fault for a case of two empty input strings.
b3f479a8
LD
15748 * string/test-strncasecmp.c (check1): Renamed to...
15749 (bz12205): ...this.
15750 (bz14195): Add new testcase for two empty input strings and N > 0.
15751 (test_main): Call new testcase, adapt for renamed function.
15752
9c55864e
AJ
157532012-08-15 Andreas Jaeger <aj@suse.de>
15754
15755 [BZ #14090]
15756 * crypt/md5test2.c: New test, based on test supplied by Serge
15757 Belyshev <belyshev@depni.sinp.msu.ru>.
15758 * crypt/Makefile (xtests): Add md5test-giant..
15759 * crypt/Makefile ($(objpfx)md5test-giant): Add.
15760
02dcb6c5
PE
157612012-08-15 Paul Eggert <eggert@cs.ucla.edu>
15762
15763 [BZ #14090]
15764 * crypt/md5.c (md5_process_block): Don't assume the buffer
15765 length is less than 2**32.
15766 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
15767 length is less than 2**64.
15768
a3f95dcc
RM
157692012-08-15 Roland McGrath <roland@hack.frob.com>
15770
be75d758
RM
15771 * string/str-two-way.h: Include <sys/param.h>.
15772 (MAX): Macro removed.
15773
7312ca90
RM
15774 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
15775 Move #define and #undef of memmove to just before and after
15776 including <string.h>.
15777
9a0a5486
RM
15778 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
15779 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
15780 and after including <string.h>. Move declarations of
15781 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
15782 to before #include "string/memmove.c".
15783
67cc348d
RM
15784 * include/dirent.h: Declare __getdirentries.
15785
a3f95dcc
RM
15786 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
15787 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
15788
ca98e171
MF
157892012-08-14 Mike Frysinger <vapier@gentoo.org>
15790
15791 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
15792 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
15793 * sysdeps/i386/configure: Regenerated.
15794 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
15795 STABS_CURRENT_FILE, and STABS_FUN.
15796 (END): Remove call to STABS_FUN_END.
15797 (STABS_CURRENT_FILE1): Delete.
15798 (STABS_CURRENT_FILE): Likewise.
15799 (STABS_FUN): Likewise.
15800 (STABS_FUN_END): Likewise.
15801 (STABS_FUN2): Likewise.
15802 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
15803 * sysdeps/x86_64/configure: Regenerated.
15804
5908bf46
RM
158052012-08-14 Roland McGrath <roland@hack.frob.com>
15806
15807 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 15808 * elf/dl-lookup.c: Likewise.
5908bf46 15809
f2c05b9e
JM
158102012-08-14 Joseph Myers <joseph@codesourcery.com>
15811
15812 * sysdeps/unix/sysv/linux/kernel-features.h
15813 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
15814 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
15815 unconditionally.
15816 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
15817 unconditionally.
15818 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
15819 condition on __ASSUME_CLONE_THREAD_FLAGS.
15820
e11f5155
AJ
158212012-08-14 Andreas Jaeger <aj@suse.de>
15822
15823 * sysdeps/i386/fpu/libm-test-ulps: Update.
15824
51a9ba86
MK
158252012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
15826
2fdd4f78
AJ
15827 * include/atomic.h (atomic_exchange_and_add): Split into ...
15828 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
15829 New atomic macros.
51a9ba86 15830
ba6cba9e
MT
158312012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
15832
15833 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15834
42443a47
JL
158352012-08-13 Jeff Law <law@redhat.com>
15836
15837 * manual/stdio.texi (snprintf): Clarify handling of the trailing
15838 null byte in the output string.
15839
121dce05
JM
158402012-08-10 Joseph Myers <joseph@codesourcery.com>
15841
15842 * sysdeps/unix/sysv/linux/kernel-features.h
15843 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
15844 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
15845 (__ASSUME_ARG_MAX_STACK_BASED): Define.
15846 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15847 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
15848 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
15849 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
15850
bf51f568
JL
158512012-08-09 Jeff Law <law@redhat.com>
15852
15853 [BZ #13939]
15854 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
15855 When avoid_arena is set, don't retry in the that arena. Pick the
15856 next one, whatever it might be.
15857 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
15858 (arena_lock): Pass in new parameter to arena_get2.
15859 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
15860 arena_get2.
15861 (__libc_malloc): Unify retrying after main arena failure with
15862 __libc_memalign version.
15863 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
15864
f85fa270
L
158652012-08-09 H.J. Lu <hongjiu.lu@intel.com>
15866
15867 [BZ #14166]
15868 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
15869 to __redirect_strstr.
15870 (__strstr_sse42): Use typeof __redirect_strstr.
15871 (__strstr_ia32): Likewise.
15872 (__libc_strstr): New prototype.
15873 (strstr): Renamed to ...
15874 (__libc_strstr): This.
15875 (strstr): New strong alias of __libc_strstr.
15876 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15877 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
15878 __redirect_time.
15879 Include <time.h>.
15880 (__libc_time): New prototype.
15881 (time_ifunc): Replace time with __libc_time.
15882 (time): New strong alias and hidden definition of __libc_time.
15883 (__GI_time): Remove strong alias.
15884 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
15885 Include <stddef.h>.
15886 (memmove): Redefined to __redirect_memmove.
15887 (__memmove_sse2): Use typeof __redirect_memmove.
15888 (__memmove_ssse3): Likewise.
15889 (__memmove_ssse3_back): Likewise.
15890 (__libc_memmove): New prototype.
15891 (memmove): Renamed to ...
15892 (__libc_memmove): This.
15893 (memmove): New strong alias of __libc_memmove.
15894
33b4a91e
MS
158952012-08-08 Mark Salter <msalter@redhat.com>
15896
15897 * elf/elf.h
15898 (R_MN10300_TLS_GD): Define.
15899 (R_MN10300_TLS_LD): Likewise.
15900 (R_MN10300_TLS_LDO): Likewise.
15901 (R_MN10300_TLS_GOTIE): Likewise.
15902 (R_MN10300_TLS_IE): Likewise.
15903 (R_MN10300_TLS_LE): Likewise.
15904 (R_MN10300_TLS_DTPMOD): Likewise.
15905 (R_MN10300_TLS_DTPOFF): Likewise.
15906 (R_MN10300_TLS_TPOFF): Likewise.
15907 (R_MN10300_SYM_DIFF): Likewise.
15908 (R_MN10300_ALIGN): Likewise.
15909 (R_MN10300_NUM): Update.
15910
b36137f1
JM
159112012-08-08 Joseph Myers <joseph@codesourcery.com>
15912
15913 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
15914 Remove.
15915
cdd915fd
RM
159162012-08-08 Roland McGrath <roland@hack.frob.com>
15917
a2433aac
RM
15918 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
15919
cdd915fd
RM
15920 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
15921 sysdeps/unix -> sysdeps/posix move.
15922 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15923
bf9b740a
AM
159242012-08-07 Allan McRae <allan@archlinux.org>
15925
15926 [BZ #14303]
15927 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
15928 (SUNOS_CPP): Likewise.
15929 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
15930 not found.
15931 (open_input): Call CPP using execvp.
15932
93df14ee
JM
159332012-08-07 Joseph Myers <joseph@codesourcery.com>
15934
15935 * sysdeps/unix/sysv/linux/kernel-features.h
15936 (__ASSUME_PROT_GROWSUPDOWN): Remove.
15937 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15938 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15939 (__ASSUME_WAITID_SYSCALL): Likewise.
15940 * sysdeps/unix/sysv/linux/dl-execstack.c
15941 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
15942 code unconditional.
15943 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
15944 conditional code.
15945 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
15946 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
15947 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
15948 code.
15949 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15950 unconditional.
15951 [__ASSUME_WAITID_SYSCALL]: Likewise.
15952 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15953
d34689de
RM
159542012-08-07 Roland McGrath <roland@hack.frob.com>
15955
a281decc
RM
15956 * sysdeps/unix/closedir.c: Renamed to ...
15957 * sysdeps/posix/closedir.c: ... here.
15958 * sysdeps/unix/dirfd.c: Renamed to ...
15959 * sysdeps/posix/dirfd.c: ... here.
15960 * sysdeps/unix/dirstream.h: Renamed to ...
15961 * sysdeps/posix/dirstream.h: ... here.
15962 * sysdeps/unix/fdopendir.c: Renamed to ...
15963 * sysdeps/posix/fdopendir.c: ... here.
15964 * sysdeps/unix/opendir.c: Renamed to ...
15965 * sysdeps/posix/opendir.c: ... here.
15966 * sysdeps/unix/readdir.c: Renamed to ...
15967 * sysdeps/posix/readdir.c: ... here.
15968 * sysdeps/unix/readdir_r.c: Renamed to ...
15969 * sysdeps/posix/readdir_r.c: ... here.
15970 * sysdeps/unix/rewinddir.c: Renamed to ...
15971 * sysdeps/posix/rewinddir.c: ... here.
15972 * sysdeps/unix/seekdir.c: Renamed to ...
15973 * sysdeps/posix/seekdir.c: ... here.
15974 * sysdeps/unix/telldir.c: Renamed to ...
15975 * sysdeps/posix/telldir.c: ... here.
15976 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
15977 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
15978 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15979 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15980
22895b47
RM
15981 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
15982 * bits/fcntl.h: ... here.
15983
707a53b6
RM
15984 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
15985 not 0.
15986 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
15987 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
15988 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
15989 (struct flock): Move l_start, l_len to the beginning.
15990 Use __pid_t for l_pid.
15991 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
15992 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
15993 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
15994 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
15995 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
15996 [__USE_LARGEFILE64] (struct flock64): New type.
15997 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
15998
f0bd3e25
RM
15999 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
16000 * bits/dirent.h: ... here.
16001
d34689de
RM
16002 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
16003 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
16004
6dad2c06
JM
160052012-08-07 Joseph Myers <joseph@codesourcery.com>
16006
16007 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16008 Change from 2.6.0 to 2.6.16.
16009 * sysdeps/unix/sysv/linux/configure: Regenerated.
16010 * sysdeps/unix/sysv/linux/kernel-features.h
16011 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
16012 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
16013 version.
16014 (__ASSUME_UTIMES): Likewise.
16015 (__ASSUME_CLONE_STOPPED): Remove.
16016 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
16017 architectures, not kernel version.
16018 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
16019 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16020 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16021 (__ASSUME_WAITID_SYSCALL): Likewise.
16022 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
16023 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
16024 * README: State 2.6.16 as minimum Linux kernel version. Do not
16025 refer to older versions.
16026
03af9520
RM
160272012-08-06 Roland McGrath <roland@hack.frob.com>
16028
8e49df1d
RM
16029 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
16030 Define alphasort64 as an alias.
16031 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
16032 Define versionsort64 as an alias.
16033 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
16034 Define scandir64 as an alias.
16035 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
16036 Define scandirat64 as an alias.
16037 * dirent/alphasort64.c (alphasort64):
16038 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
16039 * dirent/versionsort64.c: Likewise.
16040 * dirent/scandir64.c: Likewise.
16041 * dirent/scandirat64.c: Likewise.
16042 * sysdeps/wordsize-64/alphasort.c: File removed.
16043 * sysdeps/wordsize-64/alphasort64.c: File removed.
16044 * sysdeps/wordsize-64/scandir.c: File removed.
16045 * sysdeps/wordsize-64/scandir64.c: File removed.
16046 * sysdeps/wordsize-64/scandirat.c: File removed.
16047 * sysdeps/wordsize-64/scandirat64.c: File removed.
16048 * sysdeps/wordsize-64/versionsort.c: File removed.
16049 * sysdeps/wordsize-64/versionsort64.c: File removed.
16050 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
16051 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
16052 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
16053 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
16054 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
16055 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
16056 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
16057 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
16058
16059 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
16060 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16061 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
16062 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16063 [defined __arch64__ || defined __sparcv9]
16064 (__INO_T_MATCHES_INO64_T): New macro.
16065 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16066 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
16067 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
16068 * sysdeps/unix/sysv/linux/bits/dirent.h
16069 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
16070 (_DIRENT_MATCHES_DIRENT64): New macro.
16071
03af9520
RM
16072 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
16073 Define lockf64 as an alias.
16074 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
16075 Define fseeko64 as an alias.
16076 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
16077 Define ftello64 as an alias.
16078 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
16079 Define _IO_fgetpos64 and fgetpos64 as aliases.
16080 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
16081 Define _IO_fsetpos64 and fsetpos64 as aliases.
16082 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
16083 Conditionalize body on this.
16084 * libio/fseeko64.c: Likewise.
16085 * libio/ftello64.c: Likewise.
16086 * libio/iofgetpos64.c: Likewise.
16087 * libio/iofsetpos64.c: Likewise.
16088 * sysdeps/wordsize-64/lockf.c: File removed.
16089 * sysdeps/wordsize-64/lockf64.c: File removed.
16090 * sysdeps/wordsize-64/fseeko.c: File removed.
16091 * sysdeps/wordsize-64/fseeko64.c: File removed.
16092 * sysdeps/wordsize-64/ftello.c: File removed.
16093 * sysdeps/wordsize-64/ftello64.c: File removed.
16094 * sysdeps/wordsize-64/iofgetpos.c: File removed.
16095 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
16096 * sysdeps/wordsize-64/iofsetpos.c: File removed.
16097 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
16098 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
16099 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
16100 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
16101 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
16102 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
16103 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
16104 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
16105 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
16106 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
16107 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
16108
16109 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16110 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16111 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
16112 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16113 [defined __arch64__ || defined __sparcv9]
16114 (__OFF_T_MATCHES_OFF64_T): New macro.
16115 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16116 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16117 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16118 (__OFF_T_MATCHES_OFF64_T): New macro.
16119
c5757acd
L
161202012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16121
16122 * stdlib/secure-getenv.c (__secure_getenv): Replace
16123 GLIBC_2_16 with GLIBC_2_17.
16124
3a31811e
L
161252012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16126
16127 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
16128 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16129
faa2bccb
DM
161302012-08-03 David S. Miller <davem@davemloft.net>
16131
16132 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16133
85fe1997
JM
161342012-08-03 Joseph Myers <joseph@codesourcery.com>
16135
16136 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
16137 Remove.
16138 (__ASSUME_CORRECT_SI_PID): Likewise.
16139 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
16140 (__ASSUME_TMPFS_NAME): Likewise.
16141 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
16142 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
16143 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
16144 (HAVE_AUX_SECURE): Make definition unconditional.
16145 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
16146 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
16147
4f75b7a0
RM
161482012-08-03 Roland McGrath <roland@hack.frob.com>
16149
16150 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
16151 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
16152 * sysdeps/mach/hurd/eloop-threshold.h: New file.
16153 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16154 __eloop_threshold instead of SYMLOOP_MAX.
16155
16156 * sysdeps/generic/eloop-threshold.h: New file.
16157 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
16158 of MAXSYMLINKS.
16159 * elf/chroot_canon.c (chroot_canon): Likewise.
16160
7aab07e4
JM
161612012-08-03 Joseph Myers <joseph@codesourcery.com>
16162
16163 [BZ #13717]
16164 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16165 Change to 2.6.0 everywhere.
16166 * sysdeps/unix/sysv/linux/configure: Regenerated.
16167 * sysdeps/unix/sysv/linux/kernel-features.h
16168 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
16169 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
16170 kernel versions.
16171 (__ASSUME_POSIX_TIMERS): Define unconditionally.
16172 (__ASSUME_FUTEX_REQUEUE): Remove.
16173 (__ASSUME_STATFS64): Define unconditionally.
16174 (__ASSUME_AT_SECURE): Likewise.
16175 (__ASSUME_CORRECT_SI_PID): Likewise.
16176 (__ASSUME_TGKILL): Define without depending on kernel version for
16177 i386.
16178 (__ASSUME_UTIMES): Likewise.
16179 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
16180 kernel version.
16181 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
16182 (__ASSUME_TMPFS_NAME): Likewise.
16183 * README: Update reference to Linux kernel versions.
16184
b67e9372
MP
161852012-08-02 Marek Polacek <polacek@redhat.com>
16186
1f529f7d 16187 [BZ# 14150]
b67e9372
MP
16188 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
16189 libc_cv_asm_type_prefix with %.
16190 * configure: Regenerated.
d2441631
RM
16191 * include/libc-symbols.h: Remove comment about
16192 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
16193 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
16194 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
16195 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
16196 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
16197 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16198 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
16199 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
16200 * elf/tst-unique2mod1.c: Likewise.
16201 * elf/tst-unique1mod2.c: Likewise.
16202 * elf/tst-unique1mod1.c: Likewise.
16203 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
16204 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
16205 Replace ASM_TYPE_DIRECTIVE with .type.
16206 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16207 * sysdeps/i386/sysdep.h: Likewise.
16208 * sysdeps/x86_64/sysdep.h: Likewise.
16209 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
16210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16211 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 16212 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
16213 * sysdeps/powerpc/powerpc32/sysdep.h:
16214 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
16215 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16216 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16217 * sysdeps/i386/fpu/e_powf.S: Likewise.
16218 * sysdeps/i386/fpu/e_expl.S: Likewise.
16219 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16220 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16221 * sysdeps/i386/fpu/e_pow.S: Likewise.
16222 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16223 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16224 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16225 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16226 * sysdeps/i386/fpu/e_log2.S: Likewise.
16227 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16228 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16229 * sysdeps/i386/fpu/e_powl.S: Likewise.
16230 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16231 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16232 * sysdeps/i386/fpu/e_logl.S: Likewise.
16233 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16234 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16235 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16236 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16237 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16238 * sysdeps/i386/fpu/e_log.S: Likewise.
16239 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16240 * sysdeps/i386/fpu/e_logf.S: Likewise.
16241 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16242 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16243 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16244 * sysdeps/i386/fpu/e_log10.S: Likewise.
16245 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16246 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16247 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16248 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16249 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16250 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
16251 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16252 * sysdeps/i386/i686/strtok.S: Likewise.
16253 * sysdeps/i386/i386-mcount.S: Likewise.
16254 * sysdeps/i386/strtok.S: Likewise.
16255 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
16256 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16257 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16258 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16259 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16260 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16261 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16262 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16263 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16264 * sysdeps/x86_64/_mcount.S: Likewise.
16265 * sysdeps/x86_64/strtok.S: Likewise.
16266 * sysdeps/sh/_mcount.S: Likewise.
16267
2747bf9a
RM
162682012-08-01 Roland McGrath <roland@hack.frob.com>
16269
16270 * libio/iofopen.c: Include <fcntl.h>.
16271 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
16272 (_IO_fopen64, fopen64): Define as aliases.
16273 * libio/iofopen64.c: Include <fcntl.h>.
16274 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
16275 Conditionalize body on this.
16276 * sysdeps/wordsize-64/iofopen.c: File removed.
16277 * sysdeps/wordsize-64/iofopen64.c: File removed.
16278
3fb791b8
MP
162792012-08-01 Marek Polacek <polacek@redhat.com>
16280
16281 * libc/Makeconfig: Use elf in place of binfmt-subdir.
16282 Use dlfcn directly instead of a variable.
16283 (binfmt-subdir): Do not define.
16284 (dlfcn): Likewise.
16285
a9f1039f
JM
162862012-08-01 Joseph Myers <joseph@codesourcery.com>
16287
23bddc06
JM
16288 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
16289 Remove all definitions.
16290 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
16291 <kernel-features.h>.
16292 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16293 (miss_F_GETOWN_EX): Remove all definitions.
16294 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
16295 macro definition.
16296 [!__ASSUME_FCNTL64]: Remove conditional code.
16297 [__ASSUME_FCNTL64]: Make code unconditional.
16298 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
16299 <kernel-features.h>.
16300 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16301 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
16302 (lockf64) [__NR_fcntl64]: Make code unconditional.
16303 (lockf64) [__ASSUME_FCNTL64]: Likewise.
16304
a9f1039f
JM
16305 * sysdeps/unix/sysv/linux/kernel-features.h
16306 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
16307 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
16308 Make code unconditional.
16309 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16310 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
16312 [__NR_vfork]: Make code unconditional.
16313 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16314 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
16316 [__NR_vfork]: Make code unconditional.
16317 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16318 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16319
09c0ee5f
RM
163202012-08-01 Roland McGrath <roland@hack.frob.com>
16321
48aec5b9
RM
16322 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
16323 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
16324
cd97c966
RM
16325 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16326 Define mkstemp64 as an alias.
3f55550c
RM
16327 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16328 Define mkstemps64 as an alias.
cd97c966
RM
16329 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16330 Define mkostemp64 as an alias.
b8625cfc
RM
16331 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16332 Define mkostemps64 as an alias.
cd97c966
RM
16333 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
16334 Conditionalize body on this.
16335 * misc/mkostemp64.c: Likewise.
b8625cfc 16336 * misc/mkostemps64.c: Likewise.
3f55550c 16337 * misc/mkstemps64.c: Likewise.
cd97c966
RM
16338 * sysdeps/wordsize-64/mkstemp64.c: File removed.
16339 * sysdeps/wordsize-64/mkostemp64.c: File removed.
16340 * sysdeps/wordsize-64/mkostemp.c: File removed.
16341 * sysdeps/wordsize-64/mkstemp.c: File removed.
16342 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
16343 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
16344 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
16345 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
16346
09c0ee5f
RM
16347 [BZ #14138]
16348 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
16349 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
16350 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
16351 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
16352
16353 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
16354 compat_symbol macros from <shlib-compat.h> rather than the underlying
16355 default_symbol_version and symbol_version macros, so that DEFAULT
16356 lines in shlib-versions are respected.
16357 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
16358
7e66ee51
FW
163592012-08-01 Florian Weimer <fweimer@redhat.com>
16360
16361 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
16362 Declare with warn_unused_result.
16363 (setgid, setregid, setegid, setresgid): Likewise.
16364 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
16365 Likewise.
16366 * WUR-REPORT: Remove set*id functions.
16367
d2a54255
PT
163682012-07-31 Pino Toscano <toscano.pino@tiscali.it>
16369
16370 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
16371
7ecdb005
RM
163722012-07-31 Roland McGrath <roland@hack.frob.com>
16373
b4180a5e 16374 [BZ #10191]
789bd351
RM
16375 * include/sys/socket.h (__libc_accept, __libc_accept4):
16376 Add attribute_hidden.
16377 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
16378
40ce302d
RM
16379 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
16380 use of PTR_MANGLE.
16381 * inet/getnetgrent_r.c (setup): Likewise.
16382
7ecdb005
RM
16383 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
16384
e2eabb2c
DM
163852012-07-31 David S. Miller <davem@davemloft.net>
16386
16387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16388
d0419dbf
JM
163892012-07-31 Joseph Myers <joseph@codesourcery.com>
16390
16391 [BZ #13629]
16392 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
16393 value between 1.0 and 2.0 and smaller part has absolute value less
16394 than 1.0.
16395 * math/s_clog10.c (__clog10): Likewise.
16396 * math/s_clog10f.c (__clog10f): Likewise.
16397 * math/s_clog10l.c (__clog10l): Likewise.
16398 * math/s_clogf.c (__clogf): Likewise.
16399 * math/s_clogl.c (__clogl): Likewise.
16400 * math/libm-test.inc (clog_test): Add more tests.
16401 (clog10_test): Likewise.
16402 * sysdeps/i386/fpu/libm-test-ulps: Update.
16403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16404
2bc13872
FW
164052012-07-31 Florian Weimer <fweimer@redhat.com>
16406
16407 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
16408 Exit with zero in case no suitable GID is found, and write a
16409 message to standard error.
16410
bea9b193
RM
164112012-07-30 Roland McGrath <roland@hack.frob.com>
16412
16413 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
16414 rather than to 1.
16415 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
16416 (MAXPATHLEN): Removed.
16417 (NOGROUP, NODEV): New macros.
16418 (setbit, clrbit, isset, isclr): New macros.
16419 (howmany, roundup, powerof2): New macros.
16420 (DEV_BSIZE): New macro.
16421
16422 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
16423 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
16424
16425 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
16426 definition on [!__NO_LONG_DOUBLE_MATH].
16427
16428 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
16429 PTR_MANGLE and PTR_DEMANGLE.
16430
16431 * socket/accept4.c (accept4): Rename to __libc_accept4.
16432 Define accept4 as a weak alias.
16433
16434 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
16435 on [_DIRENT_HAVE_D_TYPE].
16436 * io/ftw.c (ftw_dir): Likewise.
16437
16438 * io/xmknod.c (__xmknod): Don't check PATH for being null.
16439
16440 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
16441
16442 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
16443 Use the BSD numbers rather than the arbitrary ones we had.
16444 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
16445 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
16446 (SIGXCPU, SIGXFSZ): New macros.
16447 (_NSIG): Now 32.
16448
16449 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
16450 initializer on [_LIBC_REENTRANT].
16451
16452 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
16453 definitions inside [_POSIX_MAPPED_FILES].
16454
16455 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
16456
16457 * dirent/opendir.c: Include <fcntl.h>.
16458
16459 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
16460 (__libc_getspecific): Likewise.
16461 (__libc_key_create): Likewise.
16462
16463 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
16464 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
16465 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
16466 (tmpfile64): Define as alias.
16467 * sysdeps/wordsize-64/tmpfile.c: File removed.
16468 * sysdeps/wordsize-64/tmpfile64.c: File removed.
16469 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
16470 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
16471
16472 * stdio-common/vfscanf.c: Include <stdbool.h>.
16473 * nss/makedb.c: Likewise.
16474 * stdio-common/_i18n_number.h: Likewise.
16475 * argp/argp-help.c: Likewise.
16476 * posix/wordexp.c: Likewise.
16477 * sysdeps/posix/spawni.c: Likewise.
16478 * nss/nss_files/files-initgroups.c: Likewise.
16479 * stdio-common/reg-modifier.c: Include <stdlib.h>.
16480 * nss/nss_files/files-initgroups.c: Likewise.
16481 * nss/nss_db/db-netgrp.c: Likewise.
16482 * nss/nss_db/db-initgroups.c: Likewise.
16483 * io/fchmodat.c: Include <sys/stat.h>.
16484
16485 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
16486 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
16487
16488 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
16489 [HAVE_MMAP].
16490
16491 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
16492 Add multiple inclusion protection.
16493
e5abc686
DM
164942012-07-27 David S. Miller <davem@davemloft.net>
16495
16496 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16497
815e6fa3
GB
164982012-07-27 Gary Benson <gbenson@redhat.com>
16499
16500 [BZ #14298]
16501 * elf/rtld.c: Include <stap-probe.h>.
16502 (dl_main): Added static probes "init_start" and "init_complete".
16503 * elf/dl-load.c: Include <stap-probe.h>.
16504 (lose): Take new parameter "nsid".
16505 Added static probe "map_failed".
16506 (_dl_map_object_from_fd): Pass namespace id to lose.
16507 Added static probe "map_start".
16508 (open_verify): Pass namespace id to lose.
16509 * elf/dl-open.c: Include <stap-probe.h>.
16510 (dl_open_worker) Added static probes "map_complete", "reloc_start"
16511 and "reloc_complete".
16512 * elf/dl-close.c: Include <stap-probe.h>.
16513 (_dl_close_worker): Added static probes "unmap_start" and
16514 "unmap_complete".
16515 * elf/rtld-debugger-interface.txt: New file documenting the above.
16516
9f98c16c
RM
165172012-07-26 Roland McGrath <roland@hack.frob.com>
16518
16519 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
16520 rather than a string variable.
16521 * sunrpc/rpc_main.c (h_output): Likewise.
16522 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
16523
f3c22df3
PT
165242012-07-26 Pino Toscano <toscano.pino@tiscali.it>
16525
16526 * inet/check_native.c: New file.
16527
3129cfc6
JM
165282012-07-26 Joseph Myers <joseph@codesourcery.com>
16529
da865e95
JM
16530 [BZ #13629]
16531 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
16532 if larger part has absolute value 1.0.
16533 * math/s_clog10.c (__clog10): Likewise.
16534 * math/s_clog10f.c (__clog10f): Likewise.
16535 * math/s_clog10l.c (__clog10l): Likewise.
16536 * math/s_clogf.c (__clogf): Likewise.
16537 * math/s_clogl.c (__clogl): Likewise.
16538 * math/libm-test.inc (clog_test): Add more tests.
16539 (clog10_test): Likewise.
16540 * sysdeps/i386/fpu/libm-test-ulps: Update.
16541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16542
3129cfc6
JM
16543 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
16544 (pltexit): Likewise.
16545 (La_regs): Likewise.
16546 (La_retval): Likewise.
16547 (int_retval): Likewise.
16548 Update #error for removed macros to refer only to definitions in
16549 tst-audit.h.
16550 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
16551 macro.
16552 (pltexit): Likewise.
16553 (La_regs): Likewise.
16554 (La_retval): Likewise.
16555 (int_retval): Likewise.
16556 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
16557 macro.
16558 (pltexit): Likewise.
16559 (La_regs): Likewise.
16560 (La_retval): Likewise.
16561 (int_retval): Likewise.
16562 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
16563 macro.
16564 (pltexit): Likewise.
16565 (La_regs): Likewise.
16566 (La_retval): Likewise.
16567 (int_retval): Likewise.
16568 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
16569 macro.
16570 (pltexit): Likewise.
16571 (La_regs): Likewise.
16572 (La_retval): Likewise.
16573 (int_retval): Likewise.
16574 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
16575 macro.
16576 (pltexit): Likewise.
16577 (La_regs): Likewise.
16578 (La_retval): Likewise.
16579 (int_retval): Likewise.
16580 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
16581 macro.
16582 (pltexit): Likewise.
16583 (La_regs): Likewise.
16584 (La_retval): Likewise.
16585 (int_retval): Likewise.
16586 * sysdeps/generic/tst-audit.h: Update comment to refer only to
16587 macro definitions in tst-audit.h.
16588 * sysdeps/i386/tst-audit.h: New file.
16589 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
16590 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
16591 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
16592 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
16593 * sysdeps/sh/tst-audit.h: Likewise.
16594 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
16595 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
16596 * sysdeps/x86_64/tst-audit.h: Likewise.
16597
bfc07087
AJ
165982012-07-26 Andreas Jaeger <aj@suse.de>
16599
b1b2aaf8
AJ
16600 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
16601 ptrace.
16602
16603 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
16604 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
16605 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
16606 PTRACE_O_MASK.
16607 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
16608 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
16609 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
16610
bfc07087
AJ
16611 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
16612 value.
16613
16614 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
16615 _sigsys.
16616 (si_call_addr, si_syscall, si_arch): Define new macro.
16617 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
16618 _sigsys.
16619 (si_call_addr, si_syscall, si_arch): Define new marcro.
16620 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
16621 _sigsys.
16622 (si_call_addr, si_syscall, si_arch): Define new macro.
16623 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
16624 _sigsys.
16625 (si_call_addr, si_syscall, si_arch): Define new macro.
16626
89b4b02f
JM
166272012-07-25 Joseph Myers <joseph@codesourcery.com>
16628
16629 [BZ #13717]
16630 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16631 Change to 2.4.21 where previously 2.4.1.
16632 * sysdeps/unix/sysv/linux/configure: Regenerated.
16633 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
16634 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
16635 Linux kernel version.
16636 (__ASSUME_STD_AUXV): Remove.
16637 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
16638 kernel version.
16639 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
16640 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
16641 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
16642 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
16643 (__ASSUME_NETLINK_SUPPORT): Likewise.
16644 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
16645 (__no_netlink_support): Remove conditional definition.
16646 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
16647 Remove.
16648 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16649 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
16650 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
16651 (if_nameindex_ioctl): Remove.
16652 (if_nameindex_netlink): Do not handle __no_netlink_support.
16653 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16654 code.
16655 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
16656 Remove conditional code.
16657 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16658 code.
16659 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
16660 unconditional.
16661 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16662 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
16663 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
16664 Remove.
16665 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
16666 [!__ASSUME_STD_AUXV]: Remove conditional code.
16667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
16668 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
16669 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
16670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
16671 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
16672 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16673 code.
16674 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16676 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
16677 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16678 conditional code.
16679 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16681 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16682 code.
16683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16684 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16685 conditional code.
16686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
16687 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16688 code unconditional.
16689 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16690 conditional code.
16691 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16692 unconditional.
16693 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16694 conditional code.
16695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16696 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16697 unconditional.
16698 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16699 conditional code.
16700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16701 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16702 code unconditional.
16703 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16704 conditional code.
16705 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16706 unconditional.
16707 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16708 conditional code.
16709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16710 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16711 code unconditional.
16712 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16713 conditional code.
16714 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16715 unconditional.
16716 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16717 conditional code.
16718
842a39cd
AS
167192012-07-25 Andreas Schwab <schwab@linux-m68k.org>
16720
16721 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
16722 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
16723 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16724 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
16725 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
16726 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16727 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16728 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16729 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
16730 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16731 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
16732 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
16733 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16734 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16735 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
16736 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
16737 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
16738 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
16739 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
16740 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
16741 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
16742 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
16743 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16744
84b3fd84
FW
167452012-07-25 Florian Weimer <fweimer@redhat.com>
16746
16747 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
16748 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
16749 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
16750 Introduce __libc_secure_getenv.
0c7936d5
FW
16751 * stdlib/Versions (2.17): Add secure_getenv
16752 (GLIBC_PRIVATE): Add __libc_secure_getenv.
16753 * stdlib/secure-getenv.c: Rename __secure_getenv to
16754 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
16755 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
16756 * stdlib/tst-secure-getenv.c: New.
16757 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
16758 * manual/startup.texi (Environment Access): Document
16759 secure_getenv.
84b3fd84
FW
16760 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
16761 __libc_secure_getenv.
16762 * inet/ruserpass.c (ruserpass): Likewise.
16763 * malloc/mtrace.c (mtrace): Likewise.
16764 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 16765 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
16766 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
16767 * sysdeps/posix/tempname.c: Likewise. Evaluate
16768 HAVE_SECURE_GETENV.
16769 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 16770 __secure_getenv to __libc_secure_getenv.
84b3fd84 16771 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
16772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16773 Likewise.
16774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16775 Likewise.
16776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16777 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16778 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16779 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16780 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16781 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16782 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 16783
56e49b71
JM
167842012-07-25 Joseph Myers <joseph@codesourcery.com>
16785
16786 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
16787 (struct La_i86_retval): Likewise.
16788 (struct La_x86_64_regs): Likewise.
16789 (struct La_x86_64_retval): Likewise.
16790 (struct La_x32_regs): Likewise.
16791 (struct La_x32_retval): Likewise.
16792 (struct La_ppc32_regs): Likewise.
16793 (struct La_ppc32_retval): Likewise.
16794 (struct La_ppc64_regs): Likewise.
16795 (struct La_ppc64_retval): Likewise.
16796 (struct La_sh_regs): Likewise.
16797 (struct La_sh_retval): Likewise.
16798 (struct La_s390_32_regs): Likewise.
16799 (struct La_s390_32_retval): Likewise.
16800 (struct La_s390_64_regs): Likewise.
16801 (struct La_s390_64_retval): Likewise.
16802 (struct La_sparc32_regs): Likewise.
16803 (struct La_sparc32_retval): Likewise.
16804 (struct La_sparc64_regs): Likewise.
16805 (struct La_sparc64_retval): Likewise.
16806 (struct audit_ifaces): Remove architecture-specific pltenter and
16807 pltexit members.
16808 * sysdeps/i386/ldsodefs.h: New file.
16809 * sysdeps/powerpc/ldsodefs.h: Likewise.
16810 * sysdeps/s390/ldsodefs.h: Likewise.
16811 * sysdeps/sh/ldsodefs.h: Likewise.
16812 * sysdeps/sparc/ldsodefs.h: Likewise.
16813 * sysdeps/x86_64/ldsodefs.h: Likewise.
16814
354691b7
MP
168152012-07-25 Marek Polacek <polacek@redhat.com>
16816
16817 [BZ #6808]
16818 * math/libm-test.inc (yn_test): Add another test.
16819 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
16820 to ERANGE when the result is +-Inf.
16821 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16822 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16823 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
16824 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
16825
bf9e2071
JM
168262012-07-24 Joseph Myers <joseph@codesourcery.com>
16827
16828 * conform/data/time.h-data (NULL): Use macro-constant. Require
16829 equal to 0.
16830 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
16831 clock_t.
16832 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
16833
57633811
TS
168342012-07-23 Thomas Schwinge <thomas@codesourcery.com>
16835
16836 * configure.in <sysdeps resolving>: Correct printing
16837 Implies_before.
16838 * configure: Regenerate.
16839
c23c33b0
TS
168402012-07-22 Thomas Schwinge <thomas@codesourcery.com>
16841
16842 * math/w_ilogb.c: Include <limits.h>.
16843 * math/w_ilogbl.c: Likewise.
16844
b5982523
JM
168452012-07-20 Joseph Myers <joseph@codesourcery.com>
16846
16847 * manual/lang.texi (__va_copy): Document primarily as ISO C99
16848 va_copy. Document allowing for unavailable va_copy only as
16849 pre-C99 compatibility.
16850 * manual/string.texi (Copying and Concatenation): Use va_copy
16851 instead of __va_copy in concat example.
16852
ac4ea442
PT
168532012-07-20 Pino Toscano <toscano.pino@tiscali.it>
16854
16855 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
16856 (__sendto): Use create_address_port. Initialize APORT and deallocate
16857 it if not null.
16858
f98eafbd
PT
16859 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
16860 with O_NOLINK passed to __file_name_lookup.
16861
898c7aab
PT
16862 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
16863 with O_NOLINK passed to __file_name_lookup.
16864
0ced335a
PT
16865 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
16866 negative N or less than NGIDS.
16867
b3404dbd
PT
16868 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
16869 type to string_t. Set ERANGE as errno and return it if NAME is not big
16870 enough. Use memcpy instead of strncpy.
16871
0f48659e
JM
168722012-07-20 Joseph Myers <joseph@codesourcery.com>
16873
16874 * elf/Makefile (check-data): Remove.
16875 (localplt.data): New vpath directive.
16876 ($(objpfx)check-localplt.out): Use localplt.data from vpath
16877 instead of $(check-data).
16878 * scripts/data/localplt-generic.data: Move to ...
16879 * sysdeps/generic/localplt.data: ... here.
16880 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
16881 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
16882 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
16883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16884 ... here.
16885 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
16886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16887 ... here.
16888 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
16889 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
16890 ... here.
16891 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
16892 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16893 ... here.
16894 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
16895 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
16896 ... here.
16897 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
16898 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
16899 ... here.
16900
d37cbdaa
AZ
169012012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16902
16903 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
16904 PPC32 and PPC64 files.
16905 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
16906 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
16907
46f85fc2
AK
169082012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16909
16910 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
16911 __makecontext_ret to ...
16912 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16913 ... here and call exit if uc_link is NULL. New file.
16914 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
16915 __makecontext_ret.S.
16916 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
16917 __makecontext_ret to ...
16918 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16919 ... here and call exit if uc_link is NULL. New file.
16920 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
16921 __makecontext_ret.S.
16922
08f43f9b
AK
169232012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16924
16925 * elf/elf.h (R_390_IRELATIVE): New definition.
16926 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
16927 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
16928 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
16929 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16930 (elf_machine_lazy_rel): Likewise.
16931 * sysdeps/s390/dl-irel.h: New file.
16932 * sysdeps/s390/s390-64/memcpy.S: New asm code.
16933 * sysdeps/s390/s390-64/memset.S: New asm code.
16934 * sysdeps/s390/s390-64/memcmp.S: New asm code.
16935 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
16936 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
16937 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
16938 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
16939 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
16940 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
16941 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
16942 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
16943 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
16944 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
16945 * sysdeps/s390/s390-32/memcpy.S: New asm code.
16946 * sysdeps/s390/s390-32/memset.S: New asm code.
16947 * sysdeps/s390/s390-32/memcmp.S: New asm code.
16948
3b05db33
MP
169492012-07-17 Marek Polacek <polacek@redhat.com>
16950
16951 [BZ #14349]
16952 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
16953 * sysdeps/s390/s390-64/configure.in: Likewise.
16954 * sysdeps/sparc/configure.in: Likewise.
16955 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
16956 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
16957 * sysdeps/i386/configure.in: Likewise.
16958 * sysdeps/x86_64/configure.in: Likewise.
16959 * sysdeps/sh/configure.in: Likewise.
16960 * sysdeps/s390/s390-32/configure: Regenerated.
16961 * sysdeps/s390/s390-64/configure: Likewise.
16962 * sysdeps/x86_64/configure: Likewise.
16963 * sysdeps/sh/configure: Likewise.
16964 * sysdeps/powerpc/powerpc64/configure: Likewise.
16965 * sysdeps/powerpc/powerpc32/configure: Likewise.
16966 * sysdeps/sparc/configure: Likwise.
16967 * sysdeps/i386/configure: Likewise.
16968
a66877c6
MP
16969 * elf/dl-open.c: Comment fixes.
16970
cfc82fd8
JM
169712012-07-17 Joseph Myers <joseph@codesourcery.com>
16972
bd29910a
JM
16973 * Makefile [CXX] (check-data): Remove.
16974 [CXX] (c++-types.data): New vpath directive.
16975 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
16976 vpath. Do not allow for C++ type data being missing.
16977 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
16978 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
16979 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
16980 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
16981 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
16982 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
16983 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
16984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16985 ... here.
16986 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16988 ... here.
16989 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16990 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16991 ... here.
16992 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16993 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16994 ... here.
16995 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16996 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16997 ... here.
16998 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16999 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
17000 ... here.
17001 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
17002 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
17003 ... here.
17004 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
17005 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
17006
cfc82fd8
JM
17007 * elf/tls-macros.h (TLS_LE): Move architecture-specific
17008 definitions to architecture-specific files.
17009 (TLS_IE): Likewise.
17010 (TLS_LD): Likewise.
17011 (TLS_GD): Likewise.
17012 * sysdeps/i386/tls-macros.h: New file.
17013 * sysdeps/powerpc/tls-macros.h: Likewise.
17014 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17015 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17016 * sysdeps/sh/tls-macros.h: Likewise.
17017 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
17018 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
17019 * sysdeps/x86_64/tls-macros.h: Likewise.
17020
f7db3170
TS
170212012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17022
07cbfc23
TS
17023 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
17024 zero value for regular exit case.
17025
f7db3170
TS
17026 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17027 (__start_context): Preserve zero value for regular exit case.
17028
dc97c227
TS
170292012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17030 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17031
17032 * manual/setjmp.texi (setcontext): Clarify normal process
17033 termination when uc_link is the null pointer.
17034 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
17035 exit call.
17036
d0cd7d02
AS
170372012-07-16 Andreas Schwab <schwab@linux-m68k.org>
17038
17039 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
17040 preprocessor. Test for each exception mask separately.
17041
dd318934
AJ
170422012-07-16 Andreas Jaeger <aj@suse.de>
17043
17044 * po/ru.po: Update from translation team.
17045
8048311a
JM
170462012-07-15 Joseph Myers <joseph@codesourcery.com>
17047
17048 * conform/data/string.h-data (NULL): Use macro-constant. Require
17049 equal to 0.
17050 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17051 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17052 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
17053 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
17054 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17055
b637d46e
AJ
170562012-07-13 Andreas Jaeger <aj@suse.de>
17057
17058 * po/fr.po: Update from translation team.
17059
541428fe
MP
170602012-07-12 Marek Polacek <polacek@redhat.com>
17061
17062 [BZ #14173]
17063 * math/libm-test.inc (yn_test): Add test for BZ #14173.
17064 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
17065 loop condition.
17066
ec332e94
JM
170672012-07-12 Joseph Myers <joseph@codesourcery.com>
17068
17069 [BZ #13717]
17070 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17071 Change to 2.4.1 where previously 2.4.0.
17072 * sysdeps/unix/sysv/linux/configure: Regenerated.
17073 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
17074 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
17075 version.
17076 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
17077 (__ASSUME_AT_CLKTCK): Remove.
17078 (__ASSUME_AT_PAGESIZE): Likewise.
17079 (__ASSUME_AT_XID): Likewise.
17080 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
17081 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
17082 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
17083 unconditionally.
17084 (HAVE_AUX_PAGESIZE): Likewise.
17085 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
17086 [__ASSUME_AT_CLKTCK]: Make code unconditional.
17087 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
17088
7b6e99be
JB
170892012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
17090
17091 [BZ #14307]
17092 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
17093 the temporary buffer used to invoke __gethostbyname2_r,
17094 __gethostbyaddr_r and gethostbyname4_r to make room for struct
17095 host_data / struct gaih_addrtuple.
17096 * resolv/nss_dns/dns-host.c (global scope): Move definition of
17097 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
17098 header file nss/nsswitch.h.
17099 * nss/nsswitch.h (global scope): Add definition of implementation
17100 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
17101 resolv/nss_dns/dns-host.c).
17102
608404eb
AJ
171032012-07-11 Andreas Jaeger <aj@suse.de>
17104
17105 * po/fr.po: Update from translation team.
17106
71220aca
AJ
17107 * po/sv.po: Update from translation team
17108 * po/fr.po: Another update from translation team.
17109
28cfe843
AZ
171102012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17111
17112 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
17113 for subnormals or multiply small sinh result by itself.
17114 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17115 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17116
6b90f981
DM
171172012-07-11 David S. Miller <davem@davemloft.net>
17118
17119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17120
c6825772
AS
171212012-07-10 Andreas Schwab <schwab@linux-m68k.org>
17122
17123 [BZ #14347]
17124 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
17125 (INTERNAL_MARK): Shift it here.
17126
7b8e0d49
MP
171272012-07-10 Marek Polacek <polacek@redhat.com>
17128
17129 [BZ #14151]
17130 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
17131 libc_cv_asm_global_directive with .globl.
17132 * configure: Regenerated.
17133 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
17134 with .globl.
17135 * sysdeps/i386/configure: Regenerated.
17136 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
17137 with .globl.
17138 * sysdeps/x86_64/configure: Regenerated.
17139 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
17140 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
17141 * elf/tst-unique2mod2.c: Likewise.
17142 * elf/tst-unique2mod1.c: Likewise.
17143 * elf/tst-unique1mod2.c: Likewise.
17144 * elf/tst-unique1mod1.c: Likewise.
17145 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17146 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17147 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17148 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17149 * sysdeps/mach/sysdep.h: Likewise.
17150 * sysdeps/i386/sysdep.h: Likewise.
17151 * sysdeps/i386/i386-mcount.S: Likewise.
17152 * sysdeps/x86_64/_mcount.S: Likewise.
17153 * sysdeps/x86_64/sysdep.h: Likewise.
17154 * sysdeps/sh/_mcount.S: Likewise.
17155 * sysdeps/sh/sysdep.h: Likewise.
17156 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
17157 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
17158 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
17159 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17160 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
17161 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
17162 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
17163 * locale/localeinfo.h: Likewise.
17164 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
17165 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
17166
6c55cda3
RM
171672012-07-09 Roland McGrath <roland@hack.frob.com>
17168
17169 [BZ #14336]
17170 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
17171 system".
17172 * manual/message.texi (The Uniforum approach): Likewise.
17173 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
17174 (glibc iconv Implementation): Likewise.
17175
638a572e
JM
171762012-07-09 Joseph Myers <joseph@codesourcery.com>
17177
17178 [BZ #14337]
17179 * math/s_clog.c (__clog): Avoid scaling a value down where that
17180 could result in underflow.
17181 * math/s_clog10.c (__clog10): Likewise.
17182 * math/s_clog10f.c (__clog10f): Likewise.
17183 * math/s_clog10l.c (__clog10l): Likewise.
17184 * math/s_clogf.c (__clogf): Likewise.
17185 * math/s_clogl.c (__clogl): Likewise.
17186 * math/libm-test.inc (clog_test): Add more tests.
17187 (clog10_test): Likewise.
17188 * sysdeps/i386/fpu/libm-test-ulps: Update.
17189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17190
261f4859
AS
171912012-07-06 Andreas Schwab <schwab@linux-m68k.org>
17192
0abaf3e4
AS
17193 [BZ #14283]
17194 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
17195 by 7 not 8 to examine high bit of fractional part.
17196
261f4859
AS
17197 [BZ #14042]
17198 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
17199 for call to __mcount_internal.
17200 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
17201 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
17202 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
17203
f17ac40d
JM
172042012-07-06 Joseph Myers <joseph@codesourcery.com>
17205
9ad63c23
JM
17206 [BZ #14154]
17207 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
17208 approximation for values within 0x1p-13f of an odd multiple of
17209 pi/4.
17210 * math/libm-test.inc (tan_test): Do not allow spurious underflow
17211 exception. Add more tests.
17212 * sysdeps/i386/fpu/libm-test-ulps: Update.
17213
f17ac40d
JM
17214 [BZ #6778]
17215 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
17216 inputs and return -1 for them. Do not check for +Inf in case not
17217 reachable for +Inf.
17218 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17219 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
17220 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17221 and return -1 for them. Do not check for +Inf in case not
17222 reachable for +Inf.
17223 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
17224 define.
17225 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17226 and return -1 for them. Do not check for +Inf in case not
17227 reachable for +Inf.
17228 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
17229 spurious underflow.
17230 * sysdeps/i386/fpu/libm-test-ulps: Update.
17231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17232
fb21f89b
MF
172332012-07-06 Mike Frysinger <vapier@gentoo.org>
17234
17235 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
17236
cdfe2c5e
JM
172372012-07-05 Joseph Myers <joseph@codesourcery.com>
17238
17239 [BZ #14157]
17240 [BZ #14331]
17241 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
17242 could result in spurious underflow. Scale down values above
17243 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
17244 * math/s_csqrtf.c (__csqrtf): Likewise.
17245 * math/s_csqrtl.c (__csqrtl): Likewise.
17246 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
17247 spurious underflow.
17248 * sysdeps/i386/fpu/libm-test-ulps: Update.
17249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17250
70d35b67
AS
172512012-07-04 Andreas Schwab <schwab@linux-m68k.org>
17252
704bc459
AS
17253 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
17254 xopen-msg.sed.
17255 * catgets/xopen-msg.awk: New file.
17256 * catgets/xopen-msg.sed: Removed.
17257
70d35b67
AS
17258 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
17259 po2text.sed.
17260 * intl/po2test.awk: New file.
17261 * intl/po2test.sed: Removed.
17262
ca61cf32
JM
172632012-07-04 Joseph Myers <joseph@codesourcery.com>
17264
17265 [BZ #14328]
17266 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
17267 or multiply small sinh result by itself.
17268 * math/s_ctanf.c (__ctanf): Likewise.
17269 * math/s_ctanh.c (__ctanh): Likewise.
17270 * math/s_ctanhf.c (__ctanhf): Likewise.
17271 * math/s_ctanhl.c (__ctanhl): Likewise.
17272 * math/s_ctanl.c (__ctanl): Likewise.
17273 * math/libm-test.inc (ctan_test_tonearest): New function.
17274 (ctan_test_towardzero): Likewise.
17275 (ctan_test_downward): Likewise.
17276 (ctan_test_upward): Likewise.
17277 (ctanh_test_tonearest): Likewise.
17278 (ctanh_test_towardzero): Likewise.
17279 (ctanh_test_downward): Likewise.
17280 (ctanh_test_upward): Likewise.
17281 (main): Call these new functions.
17282 * sysdeps/i386/fpu/libm-test-ulps: Update.
17283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17284
ca48a46a
MF
172852012-07-03 Mike Frysinger <vapier@gentoo.org>
17286
17287 * .gitignore: Delete /ports entry.
17288
9d63d37d
AJ
172892012-07-03 Andreas Jaeger <aj@suse.de>
17290
17291 * po/bg.po: Update from translation team.
17292 * po/cs.po: Likewise.
17293 * po/de.po: Likewise.
17294 * po/hr.po: Likewise.
17295 * po/nl.pl: Likewise.
17296 * po/pl.po: Likewise.
17297 * po/vi.po: Likewise.
17298
370ca3d2
JM
172992012-07-03 Joseph Myers <joseph@codesourcery.com>
17300
95f5a9a8
JM
17301 * Makeconfig [!+link] (+link-before-libc): New variable.
17302 [!+link] (+link-after-libc): Likewise.
17303 [!+link] (+link-tests): Likewise.
17304 [!+link] (+link): Define in terms of $(+link-before-libc) and
17305 $(+link-after-libc).
17306 [!+link-static] (+link-static-before-libc): New variable.
17307 [!+link-static] (+link-static-after-libc): Likewise.
17308 [!+link-static] (+link-static-tests): Likewise.
17309 [!+link-static] (+link-static): Define in terms of
17310 $(+link-static-before-libc) and $(+link-static-after-libc).
17311 [build-shared] (link-libc-before-gnulib): New variable.
17312 [build-shared] (link-libc-tests): Likewise.
17313 [build-shared] (link-libc): Define in terms of
17314 $(link-libc-before-gnulib).
17315 [!build-shared] (link-libc-tests): New variable.
17316 (link-libc-static-tests): New variable.
17317 [!gnulib] (gnulib-arch): New variable.
17318 [!gnulib] (gnulib-tests): Likewise.
17319 [!gnulib] (static-gnulib-arch): Likewise.
17320 [!gnulib] (static-gnulib-tests): Likewise.
17321 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
17322 Define with "=" instead of ":=".
17323 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
17324 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
17325 * Rules (binaries-all-notests): New variable.
17326 (binaries-all-tests): Likewise.
17327 (binaries-static-notests): Likewise.
17328 (binaries-static-tests): Likewise.
17329 (binaries-all): Define using $(binaries-all-notests) and
17330 $(binaries-all-tests).
17331 (binaries-static): Define using $(binaries-static-notests) and
17332 $(binaries-static-tests).
17333 (binaries-shared-tests): New variable.
17334 (binaries-shared-notests): Likewise.
17335 (binaries-shared): Remove variable.
17336 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
17337 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
17338 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
17339 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
17340 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
17341 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
17342 * elf/Makefile (sln-modules): New variable.
17343 (extra-objs): Add $(sln-modules:=.o).
17344 (ldconfig-modules): Add static-stubs.
17345 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
17346 * elf/static-stubs.c: New file.
17347
7a845b2c
JM
17348 [BZ #14283]
17349 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
17350 by 7 not 8 to examine high bit of fractional part. Use volatile
17351 variables when splitting into final array of floats if
17352 __FLT_EVAL_METHOD__ != 0.
17353 * math/libm-test.inc (cos_test): Add another test.
17354 (sin_test): Likewise.
17355 * sysdeps/i386/fpu/libm-test-ulps: Update.
17356
e2283f38
JM
17357 [BZ #14273]
17358 * math/libm-test.inc (cosh_test): Add more tests.
17359
370ca3d2
JM
17360 * version.h (RELEASE): Set to "development".
17361 (VERSION): Set to "2.16.90".
17362
ee9247c3
CD
173632012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
17364
17365 * NEWS: Update copyright. Remove last-updated date.
17366 Mention math library bug fixes and timezone data changes.
17367 * README: Mention GNU/Hurd, x32, and HPPA support status.
17368
4648c381
TS
173692012-06-28 Thomas Schwinge <thomas@codesourcery.com>
17370
17371 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
17372
aac78a43
AJ
173732012-06-27 Andreas Jaeger <aj@suse.de>
17374
17375 * manual/contrib.texi (Contributors): Add Samuel Thibault.
17376
ed3dbfad
AJ
173772012-06-25 Andreas Jaeger <aj@suse.de>
17378
17379 * sysdeps/s390/fpu/libm-test-ulps: Update.
17380
4d0ee855
AS
173812012-06-23 Andreas Schwab <schwab@linux-m68k.org>
17382 Thomas Schwinge <thomas@codesourcery.com>
17383
17384 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
17385 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
17386 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
17387 fanotify_mark.
17388
af1bce34
TS
173892012-06-23 Thomas Schwinge <thomas@codesourcery.com>
17390
a9fa33ba
TS
17391 * sysdeps/mach/start.c: Remove file.
17392 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
17393 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
17394 * sysdeps/sh/init-first.c: Likewise.
17395
58f902b8
TS
17396 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
17397 registers for frame unwinding purposes, add CFI directives.
17398 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17399 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
17400 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
17401 Likewise.
17402
1518f58b
TS
17403 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
17404 __fortify_fail returning.
17405 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17406
db9b5059
TS
17407 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
17408 sysdeps/sh/____longjmp_chk.S.
17409 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
17410 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
17411 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
17412 (gen-as-const-headers): Append sigaltstack-offsets.sym.
17413
967705fe
TS
17414 * sysdeps/sh/abort-instr.h: New file.
17415 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
17416 process in case exit returns.
17417
a9def8c4
TS
17418 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
17419 initialize the GOT register before use.
17420
2a649725
TS
17421 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
17422 calculation of ARGC > 4.
17423
af1bce34
TS
17424 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
17425 meaningful names to some local labels.
17426
d230f50a
KK
174272012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17428 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17429
17430 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
17431 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
17432 (__arch_compare_and_exchange_val_16_acq): Likewise.
17433 (__arch_compare_and_exchange_val_32_acq): Likewise.
17434 (atomic_exchange_and_add): Fix gUSA sequence.
17435 (atomic_add): Likewise.
17436 (atomic_add_negative): Likewise.
17437 (atomic_add_zero): Likewise.
17438 (atomic_bit_test_set): Likewise.
17439
0479b305
AS
174402012-06-22 Andreas Schwab <schwab@redhat.com>
17441
17442 [BZ #13579]
17443 * include/link.h (struct link_map): Add l_free_initfini.
17444 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
17445 l_initfini.
17446 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
17447 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
17448 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
17449 set.
17450
0e3933b9
CD
174512012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
17452
17453 * configure.in: Use AC_LANG_SOURCE.
17454 * configure: Regenerate.
17455
4248b1b1
RM
174562012-06-22 Roland McGrath <roland@hack.frob.com>
17457
17458 * configure.in (libc_cv_localstatedir): New substituted variable.
17459 * configure: Regenerated.
17460 * config.make.in (localstatedir): New variable, substituted from
17461 libc_cv_localstatedir.
17462 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
17463 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
17464 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
17465 * sysdeps/gnu/configure: Regenerated.
17466
006dd861
JL
174672012-06-21 Jeff Law <law@redhat.com>
17468
17469 [BZ #14277]
17470 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
17471 free. Simplify list management for _LIBC case.
17472
79662d42
JM
174732012-06-21 Joseph Myers <joseph@codesourcery.com>
17474
b7abb4bf
JM
17475 [BZ #14273]
17476 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17477 Clear sign bit of 64-bit integer value before comparing against
17478 overflow value.
17479
79662d42
JM
17480 * sysdeps/mach/configure: Regenerated.
17481
1f150908
L
174822012-06-21 H.J. Lu <hongjiu.lu@intel.com>
17483
17484 [BZ #14278]
17485 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
17486
28363bbf
JL
174872012-06-21 Jeff Law <law@redhat.com>
17488
17489 [BZ #13882]
17490 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
17491 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 17492 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
17493 * elf/dl-open.c (dl_open_worker): Likewise.
17494
09615db4
CD
174952012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
17496
17497 * scripts/list-sources.sh: Scan PORTS for translations.
17498 * po/libc.pot: Regenerated.
17499
2174c6dd
AJ
175002012-06-21 Andreas Jaeger <aj@suse.de>
17501
17502 [BZ #12194]
17503 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
17504 warning.
17505 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
17506 * bits/byteswap-16.h (__bswap_16): Likewise.
17507 * bits/byteswap.h (__bswap_constant_16): Likewise.
17508
3ee947b1
L
175092012-06-18 H.J. Lu <hongjiu.lu@intel.com>
17510
17511 [BZ #14117]
a2f34833
L
17512 * sysdeps/i386/fpu_control.h: Removed.
17513 * sysdeps/x86_64/fpu_control.h: Moved to ...
17514 * sysdeps/x86/fpu_control.h: Here.
17515
3ee947b1
L
17516 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
17517 (_FPU_SETCW): Likewise.
17518
ed1825f8
L
175192012-06-15 H.J. Lu <hongjiu.lu@intel.com>
17520
25f1282a
L
17521 [BZ #14117]
17522 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
17523 * sysdeps/x86/fpu/bits/mathinline.h: This.
17524 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
17525
ed1825f8
L
17526 [BZ #14050]
17527 [BZ #14117]
17528 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
17529 functions if __x86_64__ is defined.
17530
36d54b74
CLT
175312012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
17532
17533 * string/endian.h: Add !__ASSEMBLER__ condition for including
17534 conversion interfaces.
17535
10285c21
JM
175362012-06-15 Joseph Myers <joseph@codesourcery.com>
17537
17538 [BZ #14241]
17539 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
17540 of ABS(x) in calculating zero to negative powers other than odd
17541 integers.
17542 * math/libm-test.inc (pow_test): Add more tests.
17543
06c5abbd
AJ
175442012-06-15 Andreas Jaeger <aj@suse.de>
17545
17546 * manual/contrib.texi (Contributors): Update entry of Liubov
17547 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
17548 Machado Filho.
17549
a3aeac40
CH
175502012-06-15 Cyril Hrubis <metan@ucw.cz>
17551
17552 * string/string.h: Add __wur to GNU version of strerror_r.
17553
49bdf4c1
L
175542012-06-14 H.J. Lu <hongjiu.lu@intel.com>
17555
17556 [BZ #14229]
17557 * string/Makefile (tests): Add tst-strtok_r.
17558 * string/tst-strtok_r.c: New file.
17559 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
17560 RAX_LP/RDX_LP on SAVE_PTR.
17561
834f9b8d
RM
175622012-06-14 Roland McGrath <roland@hack.frob.com>
17563
17564 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
17565
75fa1921
JM
175662012-06-14 Joseph Myers <joseph@codesourcery.com>
17567
17568 * libm_test.inc (csqrt_test): Allow more spurious underflow
17569 exceptions.
17570 (j0_test): Likewise.
17571 (j1_test): Likewise.
17572 (y0_test): Likewise.
17573 (y1_test): Likewise.
17574
771766df
CD
175752012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
17576
17577 * po/Makefile (libc.pot): Use UTF-8 charset.
17578
ceb9e56b
PP
175792012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
17580
17581 [BZ #14210]
17582 Suppress sign-conversion warning from FD_SET.
17583 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
17584 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
17585 not unsigned long int.
17586 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
17587
ddb28975
L
175882012-06-12 H.J. Lu <hongjiu.lu@intel.com>
17589
17590 [BZ #14050]
17591 [BZ #14117]
17592 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
17593 __extern_always_inline instead of __extern_inline.
17594 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
17595 (__signbit): Likewise.
17596 (__signbitl): Support C++ namespace.
17597 (lrintf): New inline function.
17598 (lrint): Likewise.
17599 (llrintf): Likewise.
17600 (llrint): Likewise.
17601 (fmaxf): Likewise.
17602 (fmax): Likewise.
17603 (fminf): Likewise.
17604 (fmin): Likewise.
17605 (rint): Likewise.
17606 (rintf): Likewise.
17607 (ceil): Likewise.
17608 (ceilf): Likewise.
17609 (floor): Likewise.
17610 (floorf): Likewise.
17611 (nearbyint): Likewise.
17612 (nearbyintf): Likewise.
17613
d7b4fb26
TS
176142012-06-12 Thomas Schwinge <thomas@codesourcery.com>
17615
17616 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
17617 non-default versions.
17618
eb55f5c2
RM
176192012-06-11 Roland McGrath <roland@hack.frob.com>
17620
17621 [BZ #14218]
17622 * manual/argp.texi (Argp): Reword argp_parse description slightly.
17623
366af02c
TS
176242012-06-09 Thomas Schwinge <thomas@codesourcery.com>
17625
99ff6e5c
TS
17626 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
17627 (FE_UPWARD, FE_DOWNWARD): Don't define.
17628 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
17629 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17630
366af02c
TS
17631 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
17632 reading it.
17633 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17634 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17635
793ea851
KK
176362012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17637
17638 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17639 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
17640 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
17641 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
17642
a728a38f
L
176432012-06-06 H.J. Lu <hongjiu.lu@intel.com>
17644
17645 [BZ #14117]
c08010c7
L
17646 * sysdeps/i386/fpu/bits/fenv.h: Removed.
17647 * sysdeps/i386/fpu/Implies: New file.
17648 * sysdeps/x86_64/fpu/Implies: Likewise.
17649 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
17650 * sysdeps/x86/fpu/bits/fenv.h: This.
17651
a728a38f
L
17652 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
17653 __SSE_MATH__.
17654
6e230d11
SP
176552012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17656
17657 [BZ #14134]
17658 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
17659 character 0xffff that matches the last element of the
17660 conversion table.
17661
1b671feb
AZ
176622012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17663
17664 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
17665 fmodl commit.
17666
6043738b
AZ
176672012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17668
17669 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
17670 values higher than 25.6283.
17671
34ae0b32
AZ
176722012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17673
17674 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
17675 subnormal exponent extraction and add some __builtin_expect.
17676 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
17677 Fix for subnormal mantissa calculation.
17678
1214ec8f
MF
176792012-06-04 Mike Frysinger <vapier@gentoo.org>
17680
17681 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
17682 cpu2 is -1 and errno is not ENOSYS.
17683
f3d1f93c
L
176842012-06-04 H.J. Lu <hongjiu.lu@intel.com>
17685
17686 [BZ #14117]
0e4a3cd7
L
17687 * sysdeps/i386/i486/bits/string.h: Renamed to ...
17688 * sysdeps/x86/bits/string.h: This.
17689 * sysdeps/x86_64/bits/string.h: Removed.
17690
6704c645
L
17691 * sysdeps/i386/i486/bits/string.h: Define inline functions only
17692 if not compiling for x86-64, but compiling for >= i486.
17693
48495318
L
17694 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
17695 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
17696
14adcbfc
L
17697 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
17698 New macro from Linux kernel 3.4.0.
17699 (FP_XSTATE_MAGIC2): Likewise.
17700 (FP_XSTATE_MAGIC2_SIZE): Likewise.
17701 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
17702 (struct _fpx_sw_bytes): New struct.
17703 (struct _xsave_hdr): Likewise.
17704 (struct _ymmh_state): Likewise.
17705 (struct _xstate): Likewise.
17706
68e408ab
L
17707 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
17708 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
17709 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
17710 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
17711 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
17712 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
17713
f3d1f93c
L
17714 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
17715 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
17716 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
17717 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
17718 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
17719 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
17720
d9dc34cd
TMQMF
177212012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17722
17723 [BZ #13743]
17724 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
17725 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
17726 (sysdep_headers): Include sys/platform/ppc.h.
17727 * sysdeps/powerpc/test-gettimebase.c: Test for
17728 __ppc_get_timebase() to catch future ISA opcode/insn changes.
17729 * manual/Makefile (appendices): Include platform.texi.
17730 * manual/contrib.texi (Contributors): Update @node pointers.
17731 * manual/maint.texi (Maintenance): Likewise.
17732 (Platform): New node.
17733 * manual/platform.texi: New file. Document the new features.
17734
4af3879c
SP
177352012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17736 Jakub Jelinek <jakub@redhat.com>
17737
17738 [BZ #14188]
17739 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
17740 where __builtin_expect is unavailable.
17741
2fd6ff13
DM
177422012-06-03 David S. Miller <davem@davemloft.net>
17743
17744 * stdlib/longlong.h: Updated from GCC.
17745
173f7220
AS
177462012-06-02 Andreas Schwab <schwab@linux-m68k.org>
17747
17748 [BZ #14042]
17749 * sysdeps/powerpc/powerpc32/mcount.c: New file.
17750 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17751 __mcount_internal.
17752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17753 (GLIBC_2.16): Likewise.
17754
f34a1c6f
L
177552012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17756
17757 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
17758
88a4576f
JM
177592012-06-01 Joseph Myers <joseph@codesourcery.com>
17760
ea32bcdd
JM
17761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
17762 (default-abi): New variable.
17763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
17764 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
17765 variable.
17766 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
17767 Likewise.
17768 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
17769 Likewise.
17770 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
17771 Likewise.
17772
88a4576f
JM
17773 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
17774 definition. Document in comment.
17775
402fe938
DM
177762012-06-01 David S. Miller <davem@davemloft.net>
17777
17778 * stdlib/longlong.h: Updated from GCC.
17779
3553723f
L
177802012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17781
17782 [BZ #14117]
3bd872c4
L
17783 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
17784 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
17785 sys/debugreg.h sys/io.h here.
17786 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
17787 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
17788 sys/io.h.
17789 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
17790 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
17791 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
17792 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
17793 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
17794 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
17795
3553723f
L
17796 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
17797 Define only if __x86_64__ is defined.
17798
4842e4fe
JM
177992012-06-01 Joseph Myers <joseph@codesourcery.com>
17800
c5bfe3d5
JM
17801 [BZ #14048]
17802 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
17803 Use int64_t for variable i.
17804 * math/libm-test.inc (fmod_test): Add more tests.
17805
4842e4fe
JM
17806 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
17807 z computation is not scheduled after fetestexcept.
17808 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
17809 Use math_force_eval instead of asm to ensure calculation scheduled
17810 before exception test.
17811 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
17812 Ensure a1 + u.d computation is not scheduled after fetestexcept.
17813
efb73488
AJ
178142012-06-01 Aurelien Jarno <aurelien@aurel32.net>
17815
17816 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
17817 computation is not scheduled after fetestexcept.
17818
29bcce7c
L
178192012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17820
17821 [BZ #14117]
17822 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
17823 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
17824
73a68f94
AZ
178252012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17826
17827 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
17828 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17829
67b6df78
L
178302012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17831
edf2933a 17832 [BZ #14117]
ebc64a18
L
17833 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
17834 <bits/wordsize.h>.
17835 (__WCHAR_MIN): Support __WORDSIZE == 64.
17836 (__WCHAR_MAX): Likewise.
17837
edf2933a
L
17838 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
17839 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
17840
57c6cf40
L
17841 [BZ #14183]
17842 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
17843 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
17844
67b6df78 17845 [BZ #14117]
8eb6281e
L
17846 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
17847 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
17848
aac639f4
L
17849 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
17850 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
17851
67b6df78
L
17852 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
17853 Defined to 1 if __x86_64__ isn't defined.
17854 (_STAT_VER_LINUX_OLD): New.
17855 (st_atime): Remove duplicate.
17856 (st_mtime): Likewise.
17857 (st_ctime): Likewise.
17858
1c2cfe81
DM
178592012-05-31 David S. Miller <davem@davemloft.net>
17860
17861 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
17862 entries.
17863
5be8418c
AS
178642012-06-01 Andreas Schwab <schwab@linux-m68k.org>
17865
e7725326
AS
17866 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
17867 gen-libm-test.pl.
17868
5be8418c
AS
17869 [BZ #14132]
17870 * elf/dl-reloc.c: Include <_itoa.h>.
17871 (_dl_reloc_bad_type): Remove use of INTUSE.
17872 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
17873 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
17874 * stdio-common/psiginfo.c (psiginfo): Likewise.
17875 * stdio-common/psignal.c (psignal): Likewise.
17876 * string/strsignal.c (strsignal): Likewise.
17877 * include/signal.h (_sys_siglist): Declare hidden proto.
17878 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
17879 INTVARDEF with libc_hidden_data_def.
17880 * stdio-common/itoa-udigits.c: Likewise.
17881 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
17882 (_itoa_lower_digits_internal): Remove declaration.
17883 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
17884 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
17885 (_sys_sigabbrev_internal): Remove aliases.
17886 (_sys_siglist): Define hidden alias.
17887
507352f1
MT
178882012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
17889
17890 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17891 bits/sysctl.h.
17892
42bbb1c3
L
178932012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17894
17895 [BZ #14117]
6bd784b6
L
17896 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
17897 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
17898
8bca20f0
L
17899 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
17900 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
17901 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
17902 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
17903 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
17904 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
17905
f9e890a9
L
17906 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
17907 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
17908 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
17909
471101a1
L
17910 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
17911 with __addr.
17912 (insw): Likewise.
17913 (insl): Likewise.
17914 (outsb): Likewise.
17915 (outsw): Likewise.
17916 (outsl): Likewise.
17917
6451c862
L
17918 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
17919 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
17920 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
17921
a254b8c9
L
17922 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
17923 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
17924 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
17925 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
17926 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
17927 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
17928
b8dfdd92
L
17929 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
17930 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
17931
578cd270
L
17932 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
17933 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17934
de662f5f
L
17935 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
17936 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
17937 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
17938
25653439
L
17939 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
17940 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
17941 to ...
17942 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
17943
6bad24a0
L
17944 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
17945 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
17946 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
17947
42bbb1c3
L
17948 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
17949 for x86-64.
17950 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17951
2d10d547
JM
179522012-05-31 Joseph Myers <joseph@codesourcery.com>
17953
17954 * math/math.h (M_El): Use two more decimal places.
17955 (M_LOG2El): Likewise.
17956 (M_LOG10El): Likewise.
17957 (M_LN2l): Likewise.
17958 (M_LN10l): Likewise.
17959 (M_PIl): Likewise.
17960 (M_PI_2l): Likewise.
17961 (M_PI_4l): Likewise.
17962 (M_1_PIl): Likewise.
17963 (M_2_PIl): Likewise.
17964 (M_2_SQRTPIl): Likewise.
17965 (M_SQRT2l): Likewise.
17966 (M_SQRT1_2l): Likewise.
17967
f230c29b
DM
179682012-05-31 David S. Miller <davem@davemloft.net>
17969
17970 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
17971 values between float registers.
17972 * sysdeps/sparc/sparc64/memset.S: Likewise.
17973 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17974
fed806c3
MF
179752012-05-31 Mike Frysinger <vapier@gentoo.org>
17976
17977 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
17978 -D_FORTIFY_SOURCE=1.
17979 (CPPFLAGS-tst-longjmp_chk.c): Define.
17980 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
17981 (CPPFLAGS-tst-longjmp_chk2.c): Define.
17982 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
17983 CFLAGS-tst-wchar-h.c.
17984
30917259
MP
179852012-05-31 Marek Polacek <polacek@redhat.com>
17986
17987 [BZ #14132]
17988 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
17989 __endmntent_internal): Remove declaration.
17990 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
17991 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
17992 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
17993
1c58d5dc
DM
179942012-05-30 David S. Miller <davem@davemloft.net>
17995
17996 * sysdeps/sparc/sparc32/soft-fp/q_util.c
17997 (___Q_simulate_exceptions): Use real FP ops rather than writing
17998 into the %fsr.
17999 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
18000 Likewise.
18001
7dc00e0d
L
180022012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18003
18004 [BZ #14117]
0bd53985
L
18005 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
18006 * sysdeps/x86/bits/xtitypes.h: This.
18007
3a257e66
L
18008 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
18009 * sysdeps/x86/bits/wordsize.h: This.
18010
62f62904
L
18011 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
18012 * sysdeps/x86/bits/huge_vall.h: This.
18013
404fe9d9
L
18014 * sysdeps/i386/bits/select.h: Removed.
18015 * sysdeps/x86_64/bits/select.h: Renamed to ...
18016 * sysdeps/x86/bits/select.h: This.
18017
d48d0446
L
18018 * sysdeps/i386/bits/setjmp.h: Removed.
18019 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
18020 * sysdeps/x86/bits/setjmp.h: This.
18021
7dc00e0d
L
18022 * sysdeps/i386/bits/mathdef.h: Removed.
18023 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
18024 * sysdeps/x86/bits/mathdef.h: This.
18025
03277f8f
AS
180262012-05-30 Andreas Schwab <schwab@linux-m68k.org>
18027
18028 [BZ #14132]
18029 * include/sys/socket.h (__connect_internal)
18030 (__libc_sa_len_internal): Remove declaration.
18031 (__connect, __libc_sa_len): Declare hidden_proto.
18032 (SA_LEN): Remove use of INTUSE.
18033 * socket/connect.c: Add libc_hidden_def.
18034 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
18035 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
18036 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
18037 alias.
18038 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18039 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
18040 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
18041 of adding _internal alias.
18042
13764867
L
180432012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18044
18045 [BZ #14117]
6bd97696
L
18046 * sysdeps/i386/bits/link.h: Removed.
18047 * sysdeps/i386/bits/linkmap.h: Likewise.
18048 * sysdeps/x86_64/bits/link.h: Renamed to ...
18049 * sysdeps/x86/bits/link.h: This.
18050 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
18051 * sysdeps/x86/bits/linkmap.h: This.
18052
f726f0bb
L
18053 * sysdeps/i386/bits/endian.h: Removed.
18054 * sysdeps/x86_64/bits/endian.h: Renamed to ...
18055 * sysdeps/x86/bits/endian.h: This.
18056
13764867
L
18057 * sysdeps/i386/bits/byteswap.h: Removed.
18058 * sysdeps/i386/bits/byteswap-16.h: Likewise.
18059 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
18060 * sysdeps/x86/bits/byteswap.h: This.
18061 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
18062 * sysdeps/x86/bits/byteswap-16.h: This.
18063 * sysdeps/i386/Implies: Add x86.
18064 * sysdeps/x86_64/Implies: Likewise.
18065
ae251b0b
DM
180662012-05-30 David S. Miller <davem@davemloft.net>
18067
18068 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
18069 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
18070 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18071 (FP_TRAPPING_EXCEPTIONS): Define.
18072 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18073 (FP_TRAPPING_EXCEPTIONS): Define.
18074 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
18075 subnormals only when inexact has been signalled or underflow
18076 exceptions are enabled.
18077 (_FP_PACK_CANONICAL): Likewise.
18078
d5c90867
L
180792012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18080
18081 [BZ #14183]
18082 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
18083 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
18084
63f1549e
RH
180852012-05-30 Richard Henderson <rth@twiddle.net>
18086
8d8f2279
RH
18087 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
18088 with #ifndef NOT_IN_libc.
18089
63f1549e
RH
18090 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
18091 marked to avoid plt entry.
18092
0ab0291b
L
180932012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18094
18095 [BZ #14112]
18096 * Makeconfig (default-abi): New macro.
18097 (abi-includes): Likewise.
18098 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
18099 $(abi-$(default-abi)-lib-soname) for soname if defined.
18100 ($(common-objpfx)gnu/lib-names.stmp): Generate from
18101 abi-variants.
18102 * Makefile (installed-stubs): Likewise.
18103 * include/stubs-biarch.h: Removed.
18104 * scripts/lib-names.awk: Only handle one library at a time.
18105 * scripts/soversions.awk: Remove WORDSIZE support.
18106 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
18107 entries.
18108 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
18109 Removed.
18110 (syscall-list-default-condition): Likewise.
18111 (syscall-list-default-condition): Likewise.
18112 (syscall-list-includes): Likewise.
18113 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
18114 syscall-list-* with abi-*. Handle undefined abi-variants.
18115 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
18116 * sysdeps/unix/sysv/linux/i386/Implies: New file.
18117 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
18118 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
18119 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
18120 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
18121 Removed.
18122 (syscall-list-32-options): Likewise.
18123 (syscall-list-32-condition): Likewise.
18124 (syscall-list-64-options): Likewise.
18125 (syscall-list-64-condition): Likewise.
18126 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
18127 macro.
18128 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
18129 Renamed to ...
18130 (abi-*): This.
18131 (abi-64-ld-soname): New macro.
18132 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
18133 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
18134 Renamed to ...
18135 (abi-*): This.
18136 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
18137 * sysdeps/x86_64/x32/shlib-versions: Likewise.
18138
4da0431d
JM
181392012-05-30 Joseph Myers <joseph@codesourcery.com>
18140
3a85279c
JM
18141 * sysdeps/unix/sysv/linux/kernel-features.h
18142 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
18143 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
18144 include <kernel-features.h>.
18145 [!__NR_ftruncate64]: Remove conditional code.
18146 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18147 [__NR_ftruncate64]: Make code unconditional.
18148 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18149 * sysdeps/unix/sysv/linux/truncate64.c: Do not
18150 include <kernel-features.h>.
18151 [!__NR_ftruncate64]: Remove conditional code.
18152 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18153 [__NR_ftruncate64]: Make code unconditional.
18154 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
18156 include <kernel-features.h>.
18157 [!__NR_ftruncate64]: Remove conditional code.
18158 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18159 [__NR_ftruncate64]: Make code unconditional.
18160 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18162 include <kernel-features.h>.
18163 [!__NR_ftruncate64]: Remove conditional code.
18164 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18165 [__NR_ftruncate64]: Make code unconditional.
18166 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18167
4da0431d
JM
18168 * configure.in (libc_cv_fpie): Weaken to a compile test using
18169 LIBC_TRY_CC_OPTION.
18170 * configure: Regenerated.
18171
11ef492c
AK
181722012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18173
18174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
18175 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
18176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
18177 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18178 Refreshed.
18179 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
18180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
18181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
18182 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
18183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
18184 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18185 Refreshed.
18186
d66ef399
DM
181872012-05-27 David S. Miller <davem@davemloft.net>
18188
18189 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
18190 (___Q_zero): New.
18191 (__Q_simulate_exceptions): Return void. Change to simulate
18192 exceptions by writing into the %fsr.
18193 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
18194 (__Qp_handle_exceptions): Likewise.
18195 (numbers): Delete.
18196 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
18197 __Qp_handle_exceptions.
18198 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
18199 __Qp_handle_exceptions.
18200 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18201 as unused and give dummy FP_RND_NEAREST initializer.
18202 (FP_INHIBIT_RESULTS): Define.
18203 (___Q_simulate_exceptions): Update declaration.
18204 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
18205 formatting.
18206 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18207 as unused and give dummy FP_RND_NEAREST initializer.
18208 (__Qp_handle_exceptions): Update declaration.
18209 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
18210 formatting.
18211
04fb54b5
TS
182122012-05-27 Thomas Schwinge <thomas@codesourcery.com>
18213
18214 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
18215 the temporary FPU control word.
18216 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18217 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
18218 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18219 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18220 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18221 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18222 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18223 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18224 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18225 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
18226 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18227
3f99608f
KK
182282012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18229
18230 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
18231 fields.
18232
65a4de4e
CLT
182332012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
18234
18235 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
18236 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
18237 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
18238 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
18239 Likewise.
18240 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
18241 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
18242 Likewise.
18243
15749d40
UD
182442012-05-27 Ulrich Drepper <drepper@gmail.com>
18245
18246 * po/h.po: Update from translation team.
18247
25dbcb27
AS
182482012-05-26 Andreas Schwab <schwab@linux-m68k.org>
18249
3d3f8e55
AS
18250 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
18251
25dbcb27
AS
18252 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
18253 handling of denormals.
18254 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18255 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18256 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18257 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18258 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18259 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
18260 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
18261 Likewise.
18262
7ad47a80 182632012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
18264
18265 [BZ #14152]
18266 * math/libm-test.inc (fma_test): Don't always expect underflow
18267 exception.
18268
9c6ea9fa
SP
182692012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18270
18271 [BZ #12416]
18272 * elf/tst-execstack.c: Include stackinfo.h.
18273 (do_test): Adjust test case to ensure that pthread_getattr_np
18274 behaviour remains the same after marking stack executable.
18275
a8239222
JM
182762012-05-25 Joseph Myers <joseph@codesourcery.com>
18277
18278 * sysdeps/unix/sysv/linux/kernel-features.h
18279 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
18280 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
18281 kernel-features.h.
18282 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18283 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18284 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
18285 kernel-features.h.
18286 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18287 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18288
918b5606
L
182892012-05-25 H.J. Lu <hongjiu.lu@intel.com>
18290
18291 * configure.in: Define the default includes to being none.
18292 * configure: Regenerated.
18293
3a097cc7
RM
182942012-05-25 Roland McGrath <roland@hack.frob.com>
18295
8422c9a5
RM
18296 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
18297 * sysdeps/x86_64/setjmp.S: Likewise.
18298 * sysdeps/i386/bsd-setjmp.S: Likewise.
18299 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18300 * sysdeps/i386/setjmp.S: Likewise.
18301 * sysdeps/i386/__longjmp.S: Likewise.
18302 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18303 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
18304
3a097cc7
RM
18305 * include/stap-probe.h: New file.
18306 * configure.in: Handle --enable-systemtap.
18307 * configure: Regenerated.
18308 * config.h.in (USE_STAP_PROBE): New #undef.
18309 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
18310 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
18311 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18312
21708942
JM
183132012-05-25 Joseph Myers <joseph@codesourcery.com>
18314
18315 [BZ #13717]
18316 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18317 to 2.4.0 where earlier.
18318 * sysdeps/unix/sysv/linux/configure: Regenerated.
18319 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18320 <kernel-features.h>.
18321 [__ASSUME_32BITUIDS]: Make code unconditional.
18322 [!__ASSUME_32BITUIDS]: Remove conditional code.
18323 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
18324 <kernel-features.h>.
18325 [__ASSUME_32BITUIDS]: Make code unconditional.
18326 [!__ASSUME_32BITUIDS]: Remove conditional code.
18327 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
18328 [__ASSUME_32BITUIDS]: Make code unconditional.
18329 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
18330 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
18331 <kernel-features.h>.
18332 [__ASSUME_32BITUIDS]: Make code unconditional.
18333 [!__ASSUME_32BITUIDS]: Remove conditional code.
18334 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
18335 <kernel-features.h>.
18336 [__ASSUME_32BITUIDS]: Make code unconditional.
18337 [!__ASSUME_32BITUIDS]: Remove conditional code.
18338 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
18339 <kernel-features.h>.
18340 [__ASSUME_32BITUIDS]: Make code unconditional.
18341 [!__ASSUME_32BITUIDS]: Remove conditional code.
18342 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
18343 <kernel-features.h>.
18344 [__ASSUME_32BITUIDS]: Make code unconditional.
18345 [!__ASSUME_32BITUIDS]: Remove conditional code.
18346 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18347 <kernel-features.h>.
18348 [__ASSUME_32BITUIDS]: Make code unconditional.
18349 [!__ASSUME_32BITUIDS]: Remove conditional code.
18350 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18351 <kernel-features.h>.
18352 [__ASSUME_32BITUIDS]: Make code unconditional.
18353 [!__ASSUME_32BITUIDS]: Remove conditional code.
18354 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
18355 <kernel-features.h>.
18356 [__ASSUME_32BITUIDS]: Make code unconditional.
18357 [!__ASSUME_32BITUIDS]: Remove conditional code.
18358 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18359 <kernel-features.h>.
18360 [__ASSUME_32BITUIDS]: Make code unconditional.
18361 [!__ASSUME_32BITUIDS]: Remove conditional code.
18362 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18363 <kernel-features.h>.
18364 [__ASSUME_32BITUIDS]: Make code unconditional.
18365 [!__ASSUME_32BITUIDS]: Remove conditional code.
18366 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
18367 <kernel-features.h>.
18368 [__ASSUME_32BITUIDS]: Make code unconditional.
18369 [!__ASSUME_32BITUIDS]: Remove conditional code.
18370 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
18371 <kernel-features.h>.
18372 [__NR_setresgid] (__setresgid): Do not declare.
18373 [__ASSUME_32BITUIDS]: Make code unconditional.
18374 [!__ASSUME_32BITUIDS]: Remove conditional code.
18375 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
18376 <kernel-features.h>.
18377 [__NR_setresuid] (__setresuid): Do not declare.
18378 [__ASSUME_32BITUIDS]: Make code unconditional.
18379 [!__ASSUME_32BITUIDS]: Remove conditional code.
18380 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
18381 <kernel-features.h>.
18382 [__ASSUME_32BITUIDS]: Make code unconditional.
18383 [!__ASSUME_32BITUIDS]: Remove conditional code.
18384 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
18385 <kernel-features.h>.
18386 [__ASSUME_32BITUIDS]: Make code unconditional.
18387 [!__ASSUME_32BITUIDS]: Remove conditional code.
18388 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
18389 <kernel-features.h>.
18390 [__ASSUME_32BITUIDS]: Make code unconditional.
18391 [!__ASSUME_32BITUIDS]: Remove conditional code.
18392 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
18393 <kernel-features.h>.
18394 [__ASSUME_32BITUIDS]: Make code unconditional.
18395 [!__ASSUME_32BITUIDS]: Remove conditional code.
18396 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
18397 <kernel-features.h>.
18398 [__ASSUME_32BITUIDS]: Make code unconditional.
18399 [!__ASSUME_32BITUIDS]: Remove conditional code.
18400 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
18401 <kernel-features.h>.
18402 [__ASSUME_32BITUIDS]: Make code unconditional.
18403 [!__ASSUME_32BITUIDS]: Remove conditional code.
18404 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
18405 <kernel-features.h>.
18406 [__ASSUME_32BITUIDS]: Make code unconditional.
18407 [!__ASSUME_32BITUIDS]: Remove conditional code.
18408 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
18409 <kernel-features.h>.
18410 [__ASSUME_32BITUIDS]: Make code unconditional.
18411 [!__ASSUME_32BITUIDS]: Remove conditional code.
18412 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
18413 <kernel-features.h>.
18414 [__ASSUME_32BITUIDS]: Make code unconditional.
18415 [!__ASSUME_32BITUIDS]: Remove conditional code.
18416 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18417 <kernel-features.h>.
18418 [__ASSUME_32BITUIDS]: Make code unconditional.
18419 [!__ASSUME_32BITUIDS]: Remove conditional code.
18420 * sysdeps/unix/sysv/linux/kernel-features.h
18421 (__ASSUME_SETRESUID_SYSCALL): Remove.
18422 (__ASSUME_SETRESGID_SYSCALL): Likewise.
18423 (__ASSUME_32BITUIDS): Likewise.
18424 (__ASSUME_LDT_WORKS): Likewise.
18425 (__ASSUME_O_DIRECTORY): Likewise.
18426 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
18427 architecture but not kernel version.
18428 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18429 (__ASSUME_MMAP2_SYSCALL): Likewise.
18430 (__ASSUME_STAT64_SYSCALL): Likewise.
18431 (__ASSUME_IPC64): Likewise.
18432 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
18433 <kernel-features.h>.
18434 [__ASSUME_32BITUIDS]: Make code unconditional.
18435 [!__ASSUME_32BITUIDS]: Remove conditional code.
18436 * sysdeps/unix/sysv/linux/opendir.c: Do not include
18437 <kernel-features.h>.
18438 [__ASSUME_O_DIRECTORY]: Make code unconditional.
18439 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
18440 132096]: Remove conditional code.
18441 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
18442 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
18451 <kernel-features.h>.
18452 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
18453 unconditional.
18454 (__setresgid): Do not declare.
18455 [__ASSUME_32BITUIDS]: Make code unconditional.
18456 [!__ASSUME_32BITUIDS]: Remove conditional code.
18457 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
18458 <kernel-features.h>.
18459 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
18460 unconditional.
18461 (__setresuid): Do not declare.
18462 [__ASSUME_32BITUIDS]: Make code unconditional.
18463 [!__ASSUME_32BITUIDS]: Remove conditional code.
18464 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18465 <kernel-features.h>.
18466 [__ASSUME_32BITUIDS]: Make code unconditional.
18467 [!__ASSUME_32BITUIDS]: Remove conditional code.
18468 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
18469 <kernel-features.h>.
18470 [__ASSUME_32BITUIDS]: Make code unconditional.
18471 [!__ASSUME_32BITUIDS]: Remove conditional code.
18472
a386f1cc
RH
184732012-05-25 Richard Henderson <rth@twiddle.net>
18474
18475 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
18476 dl_hwcap to ifunc resolver.
18477 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
18478 elf_ifunc_invoke.
18479 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
18480 dl_hwcap to ifunc resolver.
18481 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
18482
b6550497
JM
184832012-05-24 Joseph Myers <joseph@codesourcery.com>
18484
18485 [BZ #14153]
18486 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
18487 for |x| <= 2**-26, not 2**-57.
18488 * math/libm-test.inc (acos_test): Do not allow spurious underflow
18489 exception.
18490
b0bc23a1
JL
184912012-05-24 Jeff Law <law@redhat.com>
18492
18493 * stdio-common/Makefile (tests): Add bug25.
18494 * stdio-common/bug25.c: New test.
18495
347c92e9
L
184962012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18497
18498 [BZ #13576]
18499 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
18500 multiple of MALLOC_ALIGNMENT in size.
18501 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
18502
6bcc8b3f
JM
185032012-05-24 Joseph Myers <joseph@codesourcery.com>
18504
18505 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
18506 Require >= 256.
18507 (FILENAME_MAX): Use macro-int-constant.
18508 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
18509 (_IOFBF): Use macro-int-constant.
18510 (_IOLBF): Likewise.
18511 (_IONBF): Likewise.
18512 (SEEK_CUR): Likewise.
18513 (SEEK_END): Likewise.
18514 (SEEK_SET): Likewise.
18515 (TMP_MAX): Likewise.
18516 (EOF): Use macro-int-constant. Require < 0.
18517 (NULL): Use macro-constant. Require == 0.
18518 (stdin): Require type to be FILE *.
18519 (stdout): Likewise.
18520 (stderr): Likewise.
18521 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
18522 macro-int-constant.
18523 (EXIT_SUCCESS): Likewise.
18524 (NULL): Use macro-constant. Require == 0.
18525 (RAND_MAX): Use macro-int-constant.
18526 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
18527 [C99-based standards] (strtof): Require function.
18528 [C99-based standards] (strtold): Likewise.
18529 [C99-based standards] (strtoll): Likewise.
18530 [C99-based standards] (strtoull): Likewise.
18531 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18532 [ISO || ISO99 || ISO11] (limits.h): Likewise.
18533 [ISO || ISO99 || ISO11] (math.h): Likewise.
18534 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
18535 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18536 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18537
d18ea0c5
AS
185382012-05-24 Andreas Schwab <schwab@linux-m68k.org>
18539
18540 [BZ #14132]
56d25bb8
AS
18541 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
18542 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
18543 * intl/dgettext.c (DCGETTEXT): Likewise.
18544 * intl/gettext.c (DCGETTEXT): Likewise.
18545 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
18546 * posix/regex_internal.h (gettext): Likewise.
18547 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
18548 Remove declaration.
18549 * include/argz.h (__argz_count_internal)
18550 (__argz_stringify_internal): Remove declaration.
18551 (__argz_count, __argz_stringify): Declare hidden proto.
18552 * intl/dcgettext.c: Remove use of INTDEF.
18553 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
18554 * string/argz-stringify.c: Likewise.
18555 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18556 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18557 Declare hidden proto.
d18ea0c5
AS
18558 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18559 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18560 Declare hidden proto.
18561 * include/stdio.h (__asprintf_internal): Don't declare.
18562 (__asprintf): Don't define as macro. Declare hidden proto.
18563 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
18564 (__fsetlocking): Declare hidden proto.
18565 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
18566 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
18567 hidden proto.
18568 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
18569 (_IO_setlinebuf): Remove use of INTUSE.
18570 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
18571 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
18572 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
18573 Remove declaration.
18574 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
18575 (_IO_do_flush): Remove use of INTUSE.
18576 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
18577 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
18578 (_IO_adjust_column, _IO_least_wmarker)
18579 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
18580 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
18581 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
18582 (_IO_default_doallocate, _IO_wdefault_doallocate)
18583 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
18584 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
18585 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
18586 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
18587 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
18588 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
18589 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
18590 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
18591 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
18592 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
18593 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
18594 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
18595 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
18596 proto.
18597 (_IO_flush_all_internal, _IO_adjust_column_internal)
18598 (_IO_default_uflow_internal, _IO_default_finish_internal)
18599 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
18600 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
18601 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
18602 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
18603 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
18604 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
18605 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
18606 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
18607 (_IO_file_close_internal, _IO_file_close_it_internal)
18608 (_IO_file_underflow_internal, _IO_file_overflow_internal)
18609 (_IO_file_init_internal, _IO_file_attach_internal)
18610 (_IO_file_fopen_internal, _IO_file_read_internal)
18611 (_IO_file_sync_internal, _IO_file_seek_internal)
18612 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
18613 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
18614 (_IO_str_underflow_internal, _IO_str_overflow_internal)
18615 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
18616 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
18617 (_IO_list_all_internal, _IO_link_in_internal)
18618 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
18619 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
18620 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
18621 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
18622 (_IO_do_write_internal, _IO_padn_internal)
18623 (_IO_getline_info_internal, _IO_getline_internal)
18624 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
18625 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
18626 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
18627 (_IO_vfscanf_internal, _IO_vfprintf_internal)
18628 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
18629 (_IO_init_internal, _IO_un_link_internal): Don't declare.
18630 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
18631 with libc_hidden_ver, remove use of INTUSE.
18632 * libio/genops.c: Likewise.
18633 * libio/freopen.c: Likewise.
18634 * libio/freopen64.c: Likewise.
18635 * libio/iofclose.c: Likewise.
18636 * libio/iofdopen.c: Likewise.
18637 * libio/iofflush.c: Likewise.
18638 * libio/iofflush_u.c: Likewise.
18639 * libio/iofgets.c: Likewise.
18640 * libio/iofgets_u.c: Likewise.
18641 * libio/iofopen.c: Likewise.
18642 * libio/iofopncook.c: Likewise.
18643 * libio/iofread.c: Likewise.
18644 * libio/iofread_u.c: Likewise.
18645 * libio/ioftell.c: Likewise.
18646 * libio/iofwrite.c: Likewise.
18647 * libio/iogetline.c: Likewise.
18648 * libio/iogets.c: Likewise.
18649 * libio/iogetwline.c: Likewise.
18650 * libio/iopadn.c: Likewise.
18651 * libio/iopopen.c: Likewise.
18652 * libio/ioseekoff.c: Likewise.
18653 * libio/ioseekpos.c: Likewise.
18654 * libio/iosetbuffer.c: Likewise.
18655 * libio/iosetvbuf.c: Likewise.
18656 * libio/ioungetc.c: Likewise.
18657 * libio/ioungetwc.c: Likewise.
18658 * libio/iovdprintf.c: Likewise.
18659 * libio/iovsprintf.c: Likewise.
18660 * libio/iovsscanf.c: Likewise.
18661 * libio/memstream.c: Likewise.
18662 * libio/obprintf.c: Likewise.
18663 * libio/oldfileops.c: Likewise.
18664 * libio/oldiofclose.c: Likewise.
18665 * libio/oldiofdopen.c: Likewise.
18666 * libio/oldiofopen.c: Likewise.
18667 * libio/oldiopopen.c: Likewise.
18668 * libio/oldstdfiles.c: Likewise.
18669 * libio/putc.c: Likewise.
18670 * libio/setbuf.c: Likewise.
18671 * libio/setlinebuf.c: Likewise.
18672 * libio/stdfiles.c: Likewise.
18673 * libio/strops.c: Likewise.
18674 * libio/vasprintf.c: Likewise.
18675 * libio/vscanf.c: Likewise.
18676 * libio/vsnprintf.c: Likewise.
18677 * libio/vswprintf.c: Likewise.
18678 * libio/wfiledoalloc.c: Likewise.
18679 * libio/wfileops.c: Likewise.
18680 * libio/wgenops.c: Likewise.
18681 * libio/wmemstream.c: Likewise.
18682 * libio/wstrops.c: Likewise.
18683 * libio/__fpurge.c: Likewise.
18684 * libio/__fsetlocking.c: Likewise.
18685 * assert/assert.c: Likewise.
18686 * debug/fgets_chk.c: Likewise.
18687 * debug/fgets_u_chk.c: Likewise.
18688 * debug/fread_chk.c: Likewise.
18689 * debug/fread_u_chk.c: Likewise.
18690 * debug/gets_chk.c: Likewise.
18691 * debug/obprintf_chk.c: Likewise.
18692 * debug/vasprintf_chk.c: Likewise.
18693 * debug/vdprintf_chk.c: Likewise.
18694 * debug/vsnprintf_chk.c: Likewise.
18695 * debug/vsprintf_chk.c: Likewise.
18696 * malloc/mtrace.c: Likewise.
18697 * misc/error.c: Likewise.
18698 * misc/syslog.c: Likewise.
18699 * stdio-common/asprintf.c: Likewise.
18700 * stdio-common/fxprintf.c: Likewise.
18701 * stdio-common/getw.c: Likewise.
18702 * stdio-common/isoc99_fscanf.c: Likewise.
18703 * stdio-common/isoc99_scanf.c: Likewise.
18704 * stdio-common/isoc99_vfscanf.c: Likewise.
18705 * stdio-common/isoc99_vscanf.c: Likewise.
18706 * stdio-common/isoc99_vsscanf.c: Likewise.
18707 * stdio-common/printf-prs.c: Likewise.
18708 * stdio-common/printf_fp.c: Likewise.
18709 * stdio-common/printf_fphex.c: Likewise.
18710 * stdio-common/printf_size.c: Likewise.
18711 * stdio-common/putw.c: Likewise.
18712 * stdio-common/scanf.c: Likewise.
18713 * stdio-common/sprintf.c: Likewise.
18714 * stdio-common/tmpfile.c: Likewise.
18715 * stdio-common/vfprintf.c: Likewise.
18716 * stdio-common/vfscanf.c: Likewise.
18717 * stdlib/strfmon_l.c: Likewise.
18718 * sunrpc/openchild.c: Likewise.
18719 * sunrpc/xdr_stdio.c: Likewise.
18720 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18721 * sysdeps/mach/hurd/tmpfile.c: Likewise.
18722
d6c33fda
RM
187232012-05-24 Roland McGrath <roland@hack.frob.com>
18724
c1487492
RM
18725 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18726
18727 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
18728 in the third column, to generate for the shared library an IFUNC
18729 that uses _dl_vdso_vsym.
18730 * Makerules (COMPILE.c, compile-stdin.c): New variables.
18731 * Makeconfig (object-suffixes-noshared): New variable.
18732
18733 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
18734 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
18735 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
18736 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
18737
d6c33fda
RM
18738 [BZ #14132]
18739 * include/sys/time.h (__gettimeofday): Remove macro.
18740 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
18741 * time/gettimeofday.c (__gettimeofday): Remove #undef.
18742 Remove INTDEF.
18743 (__gettimeofday): Add libc_hidden_def.
18744 (gettimeofday): Add libc_hidden_weak.
18745 * sysdeps/mach/gettimeofday.c: Likewise.
18746 * sysdeps/posix/gettimeofday.c: Likewise.
18747 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18748 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18749 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
18750 (__gettimeofday_internal): Remove strong_alias.
18751 (__gettimeofday): Add libc_hidden_def.
18752 (gettimeofday): Add libc_hidden_weak.
18753 * sysdeps/unix/syscalls.list (gettimeofday):
18754 Remove __gettimeofday_internal alias.
18755
b5a2bbe6
L
187562012-05-24 Daniel Jacobowitz <drow@false.org>
18757 H.J. Lu <hongjiu.lu@intel.com>
18758
18759 [BZ #12495]
18760 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
18761 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
18762 (largebin_index_32_big): New.
18763 (largebin_index): Use it for 16-byte alignment.
18764 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
18765 correction with front_misalign.
18766
cfba4fda
L
187672012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18768
7f907421
L
18769 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
18770 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18771 Likewise.
18772 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
18773 Likewise.
18774 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18775 Likewise.
18776 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
18777 Likewise.
18778 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
18779 Likewise.
18780 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
18781 Likewise.
18782 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
18783 Likewise.
18784 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18785 Likewise.
18786 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
18787 Likewise.
18788 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
18789 Likewise.
18790 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18791 Likewise.
18792 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
18793 Likewise.
18794
cfba4fda
L
18795 * scripts/data/c++-types-x32-linux-gnu.data: New file.
18796 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
18797
80bad0cc
JM
187982012-05-24 Joseph Myers <joseph@codesourcery.com>
18799
7a25eb06
JM
18800 [BZ #10846]
18801 [BZ #14036]
18802 * math/libm-test.inc (exp_test): Add test from bug 14036.
18803 (pow_test): Add test from bug 10846.
18804
795405f9
JM
18805 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
18806 and other flags.
18807 (special_function): Do not include flags in test name.
18808 (parse_args): Likewise.
18809 * sysdeps/i386/fpu/libm-test-ulps: Update.
18810 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18811 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18812 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18814
80bad0cc
JM
18815 * math/gen-libm-test.pl (%beautify): Add entries for underflow
18816 exceptions.
18817 * math/libm-test.inc ("Philosophy"): Update comment about
18818 exception testing.
18819 (UNDERFLOW_EXCEPTION): New macro.
18820 (UNDERFLOW_EXCEPTION_OK): Likewise.
18821 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
18822 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
18823 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
18824 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
18825 (INVALID_EXCEPTION_OK): Update value.
18826 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18827 (OVERFLOW_EXCEPTION_OK): Likewise.
18828 (IGNORE_ZERO_INF_SIGN): Likewise.
18829 (test_exceptions): Handle underflow exceptions.
18830 (acos_test): Update for underflow exception expectations.
18831 (cexp_test): Likewise.
18832 (clog_test): Likewise.
18833 (clog10_test): Likewise.
18834 (csqrt_test): Likewise.
18835 (ctan_test): Likewise.
18836 (ctanh_test): Likewise.
18837 (exp_test): Likewise.
18838 (exp10_test): Likewise.
18839 (exp2_test): Likewise.
18840 (expm1_test): Likewise.
18841 (fma_test): Likewise.
18842 (j0_test): Likewise.
18843 (jn_test): Likewise.
18844 (nexttoward_test): Likewise.
18845 (pow_test): Likewise.
18846 (scalbn_test): Likewise.
18847 (scalbln_test): Likewise.
18848 (tan_test): Likewise.
18849 (y1_test): Likewise.
18850 * sysdeps/i386/fpu/libm-test-ulps: Update.
18851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18852
9e0e3d0b
DM
188532012-05-23 David S. Miller <davem@davemloft.net>
18854
18855 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18856 (__libc_sigaction): Remove unused local variables.
18857
ccd0a08f
L
188582012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18859
18860 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
18861
62bdf9a6
PE
188622012-05-23 Paul Eggert <eggert@cs.ucla.edu>
18863
f8591f80
PE
18864 mktime: avoid signed integer overflow
18865 * time/mktime.c (__mktime_internal): Do not mishandle the case
18866 where diff == INT_MIN.
18867
94c7d826
PE
18868 mktime: simplify computation of average
18869 * time/mktime.c (ranged_convert): Use new time_t_avg function
18870 instead of rolling our own (probably-slower) code.
18871
ce73d683
PE
18872 mktime: do not assume signed right shift propagates sign bit
18873 * time/mktime.c (isdst_differ): New static function.
18874 (__mktime_internal): No need to normalize tm_isdst now.
18875 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
18876 tm_isdst values.
18877
72a22e59
PE
18878 mktime: merge another wrapv change from gnulib
18879 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
18880 from some compilers.
18881
68605433
PE
18882 mktime: remove incorrect attempt at unusual arithmetics
18883 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
18884 The code didn't really work on such machines anyway.
18885 (TYPE_MINIMUM): Assume two's complement.
18886 (twos_complement_arithmetic): Verify that long_int and time_t
18887 are two's complement (or unsigned, in the latter case).
18888
03cf7fe3
PE
18889 mktime: check signed shifts on long_int and time_t, too
18890 * time/mktime.c (SHR): Check that shifts work as desired
18891 on the types long_int and time_t too, as SHR is used on
18892 such types.
18893
f04dfbc2
PE
18894 mktime: do not assume 'long' is wide enough
18895 * time/mktime.c (verify): Move decl up.
18896 (long_int): New type.
18897 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
18898 to remove assumption in the code that 'long' is wide enough to
18899 store year values. This assumption is not true on x32 and on
18900 some non-glibc platforms.
18901
62bdf9a6
PE
18902 mktime: merge wrapv change from gnulib
18903 * time/mktime.c (WRAPV): New macro.
18904 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
18905 (guess_time_tm, __mktime_internal): Do not assume that signed
18906 integer overflow wraps around; modern compilers generate code
18907 where this assumption is no longer valid.
18908
5e292e4f
L
189092012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18910
18911 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18912 Replace "jmp L(pseudo_end)" with "ret".
18913 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
18914 Likewise.
18915
8caf8c87
AJ
189162012-05-23 Andreas Jaeger <aj@suse.de>
18917
18918 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
18919 * sysdeps/unix/sysv/linux/poll.c: Remove file.
18920
1a09dc56
AJ
189212012-05-23 Andreas Jaeger <aj@suse.de>
18922 Maximilian Attems <max@stro.at>
18923
18924 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
18925 New macros.
18926
1c87aba0
L
189272012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18928
18929 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
18930 code so that pseudo_end is just ret and the stack pointer is
18931 correct also for static library in error case.
18932
40e45bd5
JM
189332012-05-23 Joseph Myers <joseph@codesourcery.com>
18934
c2670533
JM
18935 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
18936 move to syscalls.list.
18937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18941
40e45bd5
JM
18942 * manual/install.texi (Running make install): Do not mention Linux
18943 kernel version for which pt_chown is not needed.
18944 (Linux): Do not mention problems with nscd with 2.0 kernels.
18945 * INSTALL: Regenerated.
18946
be08eda5
AJ
189472012-05-23 Andreas Jaeger <aj@suse.de>
18948
18949 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
18950 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18951 macro.
18952 * sysdeps/unix/sysv/linux/s390/bits/mman.h
18953 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18954 * sysdeps/unix/sysv/linux/sh/bits/mman.h
18955 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18956 * sysdeps/unix/sysv/linux/i386/bits/mman.h
18957 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18958 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
18959 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18960 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
18961 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18962 * sysdeps/unix/sysv/linux/bits/in.h
18963 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
18964
a6a056bb
RM
189652012-05-22 Roland McGrath <roland@hack.frob.com>
18966
18967 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
18968 (PREPARE_VERSION): Just use assert instead, it will be elided
18969 under [NDEBUG] anyway.
18970
c9009328
L
189712012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18972
18973 * sysdeps/unix/sysv/linux/Makefile: Include
18974 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 18975 (sysdep_routines): Remove sysctl.
c9009328
L
18976 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
18977 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
18978 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
18979 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
18980 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
18981
73338355
AJ
189822012-05-22 Andreas Jaeger <aj@suse.de>
18983
18984 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
18985 that pseudo_end is just ret and the stack pointer is correct also
18986 for static library in error case.
18987
d44638b0
PP
189882012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
18989
18990 [BZ #14122]
18991 * nss/nsswitch.c (defconfig_entries): New variable.
18992 (__nss_database_lookup): Don't leak defconfig entries.
18993 (nss_parse_service_list): Don't leak on error paths.
18994 (free_database_entries): New function.
18995 (free_defconfig): New function.
18996 (free_mem): Move common code to free_database_entries.
18997
31a39bd8
L
189982012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18999
da0331a8
L
19000 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
19001 Add arch_prctl.
19002 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
19003
31a39bd8
L
19004 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19005 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
19006 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
19007 New macro.
19008 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19009 (INTERNAL_SYSCALL_TYPES): Likewise.
19010 (LOAD_ARGS_TYPES_[1-6]): Likewise.
19011 (LOAD_REGS_TYPES_[1-6]): Likewise.
19012 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
19013 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
19014
45470df3
AZ
190152012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19016
19017 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
19018 copysignl for GLIBC_2_0.
19019 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
19020 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
19021 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
19022 logbl for GLIBC_2_0.
19023 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19024 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19025
98a61bcb
L
190262012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19027
a4f6e481
L
19028 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
19029 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19030
f63d5db6
L
19031 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19032 Use "neg %eax".
19033
98a61bcb
L
19034 * time/mktime.c: Update copyright years.
19035
95770f14
PE
190362012-05-22 Paul Eggert <eggert@cs.ucla.edu>
19037
6226efbd
PE
19038 mktime: merge comment-quoting-style change from gnulib
19039 * time/mktime.c: Quote 'like this' in comments.
19040 The GNU coding standards suggest that we no longer quote `like this',
19041 as "`" and "'" are typically rendered asymmetrically nowadays.
19042 The typical gnulib style is to quote 'like this' when quoting
19043 code, and "like this" when quoting English.
19044
b99e4f78
PE
19045 * time/mktime.c (compile-command): Add "-I.".
19046
643e01e6
PE
19047 mktime: merge mktime-internal.h change from gnulib
19048 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
19049
2554247d
PE
19050 mktime: merge time_r change from gnulib
19051 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
19052
826dd0ab
PE
19053 mktime: merge DEBUG change from gnulib
19054 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
19055 case system <time.h> has a #define.
19056
bd83aabe
PE
19057 mktime: merge <sys/types.h> change from gnulib
19058 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
19059 since <time.t> is now guaranteed to define time_t.
19060
95770f14
PE
19061 mktime: merge HAVE_CONFIG_H change from gnulib
19062 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
19063
5e1a27a9
L
190642012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19065
0e44a77e
L
19066 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19067 Use "neg %eax".
19068
5e1a27a9
L
19069 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
19070 __rlim_t cast.
19071 (struct rusage): Use anonymous union to pad each field to
19072 __syscall_slong_t.
19073
46259bec
DM
190742012-05-21 David S. Miller <davem@davemloft.net>
19075
19076 * Makefules (o-iterator): Remove .s cases.
19077 (compile-command.s): Delete.
19078 (COMPILE.s): Delete.
19079 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
19080
59f0c22e
JM
190812012-05-21 Joseph Myers <joseph@codesourcery.com>
19082
19083 * configure.in (libc_cv_predef_stack_protector): Only consider
19084 "foobar" and "__stack_chk_fail" lines in libc_undefs.
19085 * configure: Regenerated.
19086
20c07380
L
190872012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19088
bbb3154b
L
19089 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19090 New macro. Use R*LP on int and pointer.
19091 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
19092 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
19093 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
19094 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
19095
20c07380
L
19096 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
19097 [__WORDSIZE_TIME64_COMPAT32] instead of
19098 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
19099 (struct utmp): Likewise.
19100 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
19101 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
19102 Renamed to ...
19103 (__WORDSIZE_TIME64_COMPAT32): This.
19104 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
19105 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
19106 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
19107 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
19108 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
19109 (__WORDSIZE_TIME64_COMPAT32): New macro.
19110
d8d1017e
AJ
191112012-05-21 Andreas Jaeger <aj@suse.de>
19112
19113 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
19114 only if [SHARED]. Add prototype for __wcschr_ia32.
19115
6c7fb145
RM
191162012-05-21 Roland McGrath <roland@hack.frob.com>
19117
19118 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
19119 of %rbp unmolested in the jmp_buf while mangling the low bits.
19120 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
19121 unmolested high bits of %rbp while demangling the low bits.
19122 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19123
66274218
AJ
191242012-05-21 Andreas Jaeger <aj@suse.de>
19125
07c58f8f
AJ
19126 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
19127 * sunrpc/svc_simple.c: Use it for registerrpc.
19128 * sunrpc/xcrypt.c: Use it for passwd2des.
19129
66274218
AJ
19130 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
19131
61f65140
L
191322012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19133
19134 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
19135 Don't define if [__SYSCALL_WORDSIZE != 32].
19136 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
19137 New macro.
19138
5fefb436
AJ
191392012-05-21 Bruno Haible <bruno@clisp.org>
19140 Andreas Jaeger <aj@suse.de>
19141
19142 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
19143 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
19144 inptr and inend for must_buffer_ch.
19145 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
19146 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
19147 * stdio-common/Makefile (tests): Remove bug15.
19148 (bug15-ENV): Remove macro.
19149 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
19150 anymore.
19151
d8e272ab
AJ
191522012-05-19 Andreas Jaeger <aj@suse.de>
19153 Roland McGrath <roland@hack.frob.com>
19154
19155 * manual/contrib.texi: Completely rewritten. It contains now an
19156 alphabetical list of contributors and their contributions.
19157
4a56a162
RH
191582012-05-21 Richard Henderson <rth@twiddle.net>
19159
19160 * misc/getauxval.c (__getauxval): Use unsigned long int.
19161 * misc/sys/auxv.h: Include <sys/cdefs.h>.
19162 (getauxval): Use unsigned long int.
19163
d024d23c
L
191642012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19165
19166 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19167
cbc00a03
RM
191682012-05-21 Roland McGrath <roland@hack.frob.com>
19169
19170 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
19171 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
19172 __alignof__ (long double).
19173
478143fa
AZ
191742012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19175
19176 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19177
c7683a6d
RH
191782012-05-20 Richard Henderson <rth@twiddle.net>
19179
19180 * misc/getauxval.c: New file.
19181 * misc/sys/auxv.h: New file.
19182 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
19183 (routines): Add getauxval.
19184 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
19185 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
19186 * elf/dl-sysdep.c (_dl_auxv): Remove.
19187 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
19188 * elf/dl-support.c (_dl_auxv): New variable.
19189 (_dl_aux_init): Initialize it.
19190 * manual/startup.texi (Auxiliary Vector): New node.
19191 * sysdeps/generic/bits/hwcap.h: New file.
19192 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
19193 * sysdeps/powerpc/sysdep.h: ... here. Include it.
19194 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
19195 * sysdeps/sparc/sysdep.h: ... here. Include it.
19196 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
19197 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
19198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19199 Update.
c7683a6d
RH
19200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
19201 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
19202 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
19203 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
19204 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19205 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
19207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
19208
a6f1845d
AZ
192092012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19210
19211 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19212
cbcbe830
DM
192132012-05-19 David S. Miller <davem@davemloft.net>
19214
19215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19216
e0b16cc2
JM
192172012-05-19 Joseph Myers <joseph@codesourcery.com>
19218
19219 [BZ #14123]
19220 * math/s_ccosh.c: Include <float.h>
19221 (__ccosh): Avoid internal overflow calculating sinh and cosh
19222 values before multiplying by sin and cos values.
19223 * math/s_ccoshf.c: Likewise.
19224 * math/s_ccoshl.c: Likewise.
19225 * math/s_csin.c: Likewise.
19226 * math/s_csinf.c: Likewise.
19227 * math/s_csinl.c: Likewise.
19228 * math/s_csinh.c: Likewise.
19229 * math/s_csinhf.c: Likewise.
19230 * math/s_csinhl.c: Likewise.
19231 * math/libm-test.inc (ccos_test): Add more tests.
19232 (ccosh_test): Likewise.
19233 (csin_test): Likewise.
19234 (csinh_test): Likewise.
19235 * sysdeps/i386/fpu/libm-test-ulps: Update.
19236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19237
6ad13e08
L
192382012-05-19 H.J. Lu <hongjiu.lu@intel.com>
19239
f66f0ce8
L
19240 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
19241 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
19242
6ad13e08
L
19243 * sysdeps/x86_64/x32/_itoa.h: Add comment.
19244
b1d072a7
JM
192452012-05-19 Joseph Myers <joseph@codesourcery.com>
19246
19247 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
19248 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
19249 * sysdeps/powerpc/soft-fp/Versions: Likewise.
19250 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
19251 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
19252 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
19253 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
19254 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
19255 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
19256 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
19257 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
19258 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
19259 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
19260 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
19261 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
19262 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
19263 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
19264 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
19265 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
19266 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
19267 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
19268 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
19269 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
19270 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
19271 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
19272 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
19273 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
19274 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
19275 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
19276 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
19277 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
19278
9eae47cb
AJ
192792012-05-18 Andreas Jaeger <aj@suse.de>
19280
19281 * csu/.gitignore: Delete.
19282
bb07f69f
L
192832012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19284
19285 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
19286 (timex): Use __syscall_slong_t.
19287
e6bdb741
AJ
192882012-05-18 Andreas Jaeger <aj@suse.de>
19289 Carlos O'Donell <carlos_odonell@mentor.com>
19290
19291 * manual/install.texi (Configuring and compiling): Update
19292 description about files modified in the source directory.
d6c33fda 19293 * INSTALL: Regenerated.
e6bdb741 19294
1b74487e
L
192952012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19296
19297 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
19298 value. Use "or" to set return value to -1.
19299 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
19300 negate return value.
19301
a88b64b9
TMQMF
193022012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19303
19304 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
19305 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
19306 failure if the compiler has Graphite support disabled.
19307 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
19308 Likewise.
19309 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
19310 CFLAGS-memmove.c): Likewise.
19311 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
19312 Likewise.
19313
3707636e
L
193142012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19315
610b8622
L
19316 * sysdeps/x86_64/x32/_itoa.h: New file.
19317
7cd195df
L
19318 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
19319 getdents system call only if kernel and user dirents have the
19320 same d_ino and d_off.
19321
94b07d20
L
19322 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19323 LLONG_MAX != LONG_MAX.
19324 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19325 (_fitoa_word): Likewise.
19326
18298070
L
19327 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
19328 years.
19329 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
19330 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
19331 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
19332
553c7ea4
L
19333 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
19334 include <bits/wordsize.h>. Check __x86_64__ instead of
19335 __WORDSIZE.
19336 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
19337 if __x86_64__ is defined. Use anonymous union on fpstate.
19338
3707636e
L
19339 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
19340 anonymous union.
19341
b53ef01a
AS
193422012-05-18 Andreas Schwab <schwab@linux-m68k.org>
19343
37fb1dc0
AS
19344 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19345 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
19346 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
19347 Refer to _rtld_local_ro instead of _rtld_global_ro.
19348 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
19349 Likewise.
19350 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
19351 Likewise.
19352 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
19353 Likewise.
19354 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
19355 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
19356 of _rtld_global, and rtld_progname instead of _dl_argv[0].
19357
b53ef01a
AS
19358 * sysdeps/powerpc/powerpc32/dl-machine.c
19359 (__elf_machine_runtime_setup) [PROF]: Don't reference
19360 _dl_prof_resolve.
19361
7a185db2
AJ
193622012-05-18 Andreas Jaeger <aj@suse.de>
19363
19364 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
19365 function only available for GCCs before 3.4 since GCC 3.4
19366 introduced a builtin.
19367 (lrint): Likewise.
19368 (llrintf): Likewise.
19369 (llrint): Likewise.
19370 (fmaxf): Likewise.
19371 (fmax): Likewise.
19372 (fminf): Likewise.
19373 (fmin): Likewise.
19374 (rint): Likewise.
19375 (rintf): Likewise.
19376 (nearbyint): Likewise.
19377 (nearbyintf): Likewise.
19378 (ceil): Likewise.
19379 (ceilf): Likewise.
19380 (floor): Likewise.
19381 (floorf): Likewise.
19382
3e5aef87
L
193832012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19384
428bd707
L
19385 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
19386 on both fields and cast pointer to __syscall_ulong_t.
19387
3e5aef87
L
19388 * bits/types.h (__fsword_t): New type.
19389 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
19390 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
19391 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19392 (__FSWORD_T_TYPE): Likewise.
19393 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19394 (__FSWORD_T_TYPE): Likewise.
19395 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19396 (__FSWORD_T_TYPE): Likewise.
19397 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
19398 (__FSWORD_T_TYPE): Likewise.
19399 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
19400 __SWORD_TYPE with __fsword_t.
19401 (statfs64): Likewise.
19402
1ba7c3dc
DM
194032012-05-17 David S. Miller <davem@davemloft.net>
19404
19405 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
19406
59910343
AJ
194072012-05-17 Andreas Jaeger <aj@suse.de>
19408
19409 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
19410 warning.
19411
2e4c1e9e
L
194122012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19413
19414 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
19415
de7f5ce7
AJ
194162012-05-17 Andreas Jaeger <aj@suse.de>
19417
19418 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
19419 when it is used.
19420
286abc3d
CM
194212012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19422
19423 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
19424
477cc68e
L
194252012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19426
19427 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
19428 * sysdeps/x86_64/tst-mallocalign1.c: New file.
19429
1a0994f5
CD
194302012-05-17 Andreas Jaeger <aj@suse.de>
19431 Carlos O'Donell <carlos_odonell@mentor.com>
19432
19433 [BZ #14059]
19434 * sysdeps/x86_64/multiarch/init-arch.h
19435 (bit_YMM_Usable): Rename to...
19436 (bit_AVX_Usable): ... this.
19437 (bit_FMA4_Usable): New macro.
19438 (bit_XMM_state): New macro.
19439 (bit_YMM_state): New macro.
19440 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
19441 [__ASSEMBLER__] (index_AVX_Usable): ... this.
19442 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
19443 (CPUID_OSXSAVE): New macro.
19444 (CPUID_AVX): New macro.
19445 (CPUID_FMA4): New macro.
19446 (index_YMM_Usable): Rename to...
19447 (index_AVX_Usable): ... this.
19448 (HAS_AVX): Use HAS_ARCH_FEATURE.
19449 (HAS_FMA4): Likewise.
19450 (HAS_YMM_USABLE): Remove.
19451 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19452 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
19453 are present.
19454 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
19455 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
19456 * sysdeps/x86_64/multiarch/Makefile: Likewise.
19457 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
19458 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
19459
0af797de
CM
194602012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19461
19462 * math/libm-test.c: Support platforms without multiple rounding modes.
19463 * math/bug-nextafter.c: Support platforms without FP exceptions.
19464 * math/bug-nexttoward.c: Likewise.
19465 * math/test-fenv.c: Likewise.
19466 * math/test-misc.c: Likewise.
19467 * stdlib/bug-getcontext.c: Likewise.
19468
e39745ff
AJ
194692012-05-17 Andreas Jaeger <aj@suse.de>
19470
19471 * manual/examples/search.c (critter_cmp): Change signature to
19472 avoid warnings.
19473 * manual/string.texi (Collation Functions): Likewise.
19474
48970aba
L
194752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19476
19477 * bits/types.h: Fold copyright years.
19478 * bits/typesizes.h: Likewise.
19479 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
19480 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19481 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
19482 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
19483 * time/time.h: Likewise.
19484
bedee953
PP
194852012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
19486
19487 [BZ #208]
19488 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
19489 in instead of returning them. Return void.
19490 (__libc_mallinfo): Accumulate over all arenas.
19491 (__malloc_stats): Adjust for change in int_mallinfo interface.
19492
61653dfb
RM
194932012-05-16 Roland McGrath <roland@hack.frob.com>
19494
30b99d79
RM
19495 [BZ #10375]
19496 * configure.in (NM): Add AC_CHECK_TOOL for it.
19497 (libc_extra_cflags): New substituted variable.
19498 Check for -fstack-protector being used implicitly.
19499 * configure: Regenerated.
19500 * config.make.in (config-extra-cflags): New variable,
19501 gets @libc_extra_cflags@.
19502 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
19503
61653dfb
RM
19504 [BZ #10375]
19505 * configure.in: Check for _FORTIFY_SOURCE being predefined.
19506 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
19507 * configure: Regenerated.
19508 * config.make.in (CPPUNDEFS): New substituted variable.
19509 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
19510 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
19511 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
19512
661768bb
L
195132012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19514
19515 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
19516 (mq_attr): Use __syscall_slong_t.
19517
d4261567
L
195182012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19519
19520 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
19521 Check __x86_64__ instead of __WORDSIZE.
19522 (_STAT_VER_LINUX): Likewise.
19523 (stat): Check __x86_64__ instead of __WORDSIZE. Use
19524 __syscall_ulong_t and __syscall_slong_t.
19525 (stat64): Likewise.
19526
cf3ff365
L
195272012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19528
19529 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
19530
76cf3e4d
L
195312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19532
19533 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
19534
a637753a
L
195352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19536
19537 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
19538 __syscall_ulong_t.
19539
d5e05119
L
19540 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
19541 include <bits/wordsize.h>. Check __x86_64__ instead of
19542 __WORDSIZE.
19543 (greg_t): Use "__extension__ long long int" if __x86_64__ is
19544 defined.
19545 (mcontext_t): Replace "unsigned long" with "unsigned long long".
19546
f62ee380
L
19547 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
19548 include <bits/wordsize.h>. Check __x86_64__ instead of
19549 __WORDSIZE.
19550 (user_regs_struct): Use "__extension__ unsigned long long"
19551 instead of "unsigned long" if __x86_64__ is defined.
19552 (user): Likewise. Pad after pointer field if __ILP32__ is
19553 defined.
19554
4e124ced
JM
195552012-05-16 Joseph Myers <joseph@codesourcery.com>
19556
6a3951a0
JM
19557 * configure.in (makeinfo): Require version 4.5 or later. Allow
19558 versions 5 to 9.
19559 * configure: Regenerated.
19560 * manual/install.texi (texinfo): Increase version requirement to
19561 4.5 or later.
19562 * INSTALL: Regenerated.
19563
4e124ced
JM
19564 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
19565
953ca31a
L
195662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19567
19568 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
19569
617aca05
L
19570 * sysdeps/x86_64/x32/ffs.c: New file.
19571
5762f7ae
L
19572 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
19573 __syscall_ulong_t.
19574 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
19575 defined. Use __syscall_ulong_t.
19576 (shminfo): Use __syscall_ulong_t.
19577 (shm_info): Likewise.
19578
a26b6856
L
19579 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
19580 __syscall_ulong_t.
19581
cb2b9ef7
L
19582 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
19583 <bits/wordsize.h>.
19584 (msgqnum_t): Use __syscall_ulong_t.
19585 (msglen_t): Likewise.
19586 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
19587 __syscall_ulong_t.
19588
34683bb0
L
19589 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
19590 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19591
84a68786
L
19592 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
19593
48baa5f1
L
19594 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
19595 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
19596
180be88b
L
19597 * sysvipc/sys/msg.h (msgbuf): Replace long int with
19598 __syscall_slong_t.
19599
5e90c8ad
L
19600 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
19601 include <bits/wordsize.h>. Check __x86_64__ instead of
19602 __WORDSIZE.
19603
23dfb58b
L
19604 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
19605 "unsigned long long int" if __x86_64__ is defined.
19606 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
19607
ce5d54b0
L
19608 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
19609 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19610 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
19611
13dc9eac
L
19612 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
19613 <stdint.h>.
19614 (GET_PC): Cast to uintptr_t first.
19615 (GET_FRAME): Likewise.
19616 (GET_STACK): Likewise.
19617
a7895d15
L
19618 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
19619 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
19620 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
19621 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
19622 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
19623 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
19624 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
19625 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
19626 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
19627 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
19628 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
19629 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
19630 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19631 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
19632 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
19633 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
19634 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
19635 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
19636 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
19637 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
19638 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
19639 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
19640 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
19641 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
19642 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
19643 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
19644 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
19645 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
19646 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
19647
656416c9
AS
196482012-05-16 Andreas Schwab <schwab@linux-m68k.org>
19649
5bd66283
AS
19650 * Makerules (+depfiles): Also collect depfiles from .oS in
19651 $(extra-objs).
19652 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
19653 .oS, $(libnldbl-routines)).
19654
656416c9
AS
19655 * Makerules (native-compile-mkdep-flags): Define.
19656 * sunrpc/Makefile (extra-objs): Add $(addprefix
19657 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
19658 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
19659 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
19660 calling $(make-target-directory).
19661
a46f2169
L
196622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19663
19664 * bits/types.h (__snseconds_t): Removed.
19665 * time/time.h (struct timespec): Replace __snseconds_t with
19666 __syscall_slong_t.
19667 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
19668 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
19669 Likewise.
19670 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19671 (__SNSECONDS_T_TYPE): Likewise.
19672 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19673 (__SNSECONDS_T_TYPE): Likewise.
19674 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19675 (__SNSECONDS_T_TYPE): Likewise.
19676
6af6528b
L
196772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19678
19679 * sysdeps/mach/hurd/bits/typesizes.h
19680 (__SYSCALL_SLONG_TYPE): New macro.
19681 (__SYSCALL_ULONG_TYPE): Likewise.
19682
de986b56
L
196832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19684
19685 * bits/types.h (__syscall_slong_t): New type.
19686 (__syscall_ulong_t): Likewise.
19687
19688 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
19689 (__SYSCALL_ULONG_TYPE): Likewise.
19690 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19691 (__SYSCALL_SLONG_TYPE): Likewise.
19692 (__SYSCALL_ULONG_TYPE): Likewise.
19693 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19694 (__SYSCALL_SLONG_TYPE): Likewise.
19695 (__SYSCALL_ULONG_TYPE): Likewise.
19696 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19697 (__SYSCALL_SLONG_TYPE): Likewise.
19698 (__SYSCALL_ULONG_TYPE): Likewise.
19699
85736dc7
L
197002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19701
19702 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
19703 Add sigaltstack-offsets.sym.
19704 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
19705 <sigaltstack-offsets.h>.
19706 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
19707 longjmp_msg pointer.
19708 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
19709 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
19710 signal stack.
19711 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
19712
cc03b296
JM
197132012-05-15 Joseph Myers <joseph@codesourcery.com>
19714
a9538892
JM
19715 * elf/stackguard-macros.h: Remove file.
19716 * sysdeps/generic/stackguard-macros.h: New file.
19717 * sysdeps/i386/stackguard-macros.h: Likewise.
19718 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19719 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19720 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19721 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19722 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19723 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19724 * sysdeps/x86_64/stackguard-macros.h: Likewise.
19725 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
19726 <elf/stackguard-macros.h>.
19727
cc03b296
JM
19728 [BZ #14109]
19729 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
19730 __aligned__ in attribute.
19731 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
19732 (gregset_t): Likewise.
19733
93171016
L
197342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19735
19736 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
19737 * sysdeps/x86_64/64/Implies-after: Here. New file.
19738 * sysdeps/x86_64/x32/Implies-after: New file.
19739
d86813a0
L
197402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19741
19742 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
19743 and access return value for _dl_profile_fixup. Use R10_LP to
19744 load frame size.
19745
2953ec75
L
197462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19747
19748 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
19749
3b550e9e
L
197502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19751
19752 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
19753 * sysdeps/x86_64/x32/sysdep.h: New file.
19754
eda41706
L
197552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19756
19757 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19758 * sysdeps/x86_64/setjmp.S: Likewise.
19759
9ea01d93
AZ
197602012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19761
19762 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
19763 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
19764 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
19765 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
19766 remove unused global constant.
19767
02a91938
CM
197682012-05-15 Chris Metcalf <cmetcalf@tilera.com>
19769
19770 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
19771 include of <not-cancel.h>.
19772
6540185f
RM
197732012-05-15 Roland McGrath <roland@hack.frob.com>
19774
19775 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
19776
509072a0
AJ
197772012-05-15 Jeff Law <law@redhat.com>
19778 Andreas Jaeger <aj@suse.de>
19779
19780 [BZ #13594]
19781 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
19782 out from...
19783 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
19784 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
19785 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
19786 code changing __hst_map_handle.map.
19787
ba75122d
RM
197882012-05-15 Roland McGrath <roland@hack.frob.com>
19789
19790 * configure.in (sysnames): Look for Implies-before and Implies-after
19791 files.
19792 * configure: Regenerated.
19793
890d8bd8
L
197942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19795
19796 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
19797 8-byte data alignment with LP_SIZE alignment.
19798
f6ee6623
L
197992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19800
19801 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
19802 into R10_LP.
19803
ea2626f6
L
198042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19805
19806 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
19807
085f715e
L
198082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19809
19810 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
19811 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
19812 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
19813 Likewise.
19814 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19815
be8498fc
L
198162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19817
19818 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
19819 (stackinfo_sub_sp): Likewise.
19820
70bc83b9
L
198212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19822
19823 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
19824 RAX_LP.
19825
9bc0b730
L
198262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19827
19828 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
19829 into R*_LP.
19830
6d2850e7
L
198312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19832
19833 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
19834 sizes into R*_LP.
19835
3cb84561
L
198362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19837
19838 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
19839
54e2ed81
L
198402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19841
19842 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
19843 into R11_LP and load __x86_64_shared_cache_size_half into
19844 R8_LP.
19845
8a17f349
L
198462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19847
19848 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
19849 R8_LP.
19850
777b1eea
AZ
198512012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19852
19853 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
19854 logb for POWER7.
19855 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
19856 logbf for POWER7.
19857 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
19858 logbl for POWER7.
19859 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
19860 powerpc32/power7/fpu/s_logb.c via #include.
19861 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
19862 powerpc32/power7/fpu/s_logbf.c via #include.
19863 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
19864 powerpc32/power7/fpu/s_logbl.c via #include.
19865
d20d4ac2
JM
198662012-05-15 Joseph Myers <joseph@codesourcery.com>
19867
19868 * README.libm: Remove file.
19869
6cdef1ab
L
198702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19871
19872 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
19873 count for x32. Use R*_LP and omit operand-size suffix.
19874
0b254d8f
L
198752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19876
19877 * shlib-versions: Move x86_64-.*-linux.* entries to ...
19878 * sysdeps/x86_64/64/shlib-versions: Here. New file.
19879 * sysdeps/x86_64/x32/shlib-versions: New file.
19880
ceb809dc
RM
198812012-05-14 Roland McGrath <roland@hack.frob.com>
19882
19883 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
19884 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
19885 Use _dl_fatal_printf instead.
19886
37f1abd4
JM
198872012-05-14 Joseph Myers <joseph@codesourcery.com>
19888
19889 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
19890 set if not set by the user. Do not allow for being unset.
19891 * sysdeps/unix/sysv/linux/configure: Regenerated.
19892
11de3a33
L
198932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19894
19895 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
19896 the `q' suffix from lea and replace .quad with ASM_ADDR.
19897
e02f153a
L
198982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19899
19900 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
19901 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
19902 instead of $17.
19903 (PTR_DEMANGLE): Likewise.
19904
520ae0fd
L
199052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19906
19907 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
19908 (LP_OP): Likewise.
19909 (ASM_ADDR): Likewise.
19910 (RAX_LP): Likewise.
19911 (RBP_LP): Likewise.
19912 (RBX_LP): Likewise.
19913 (RCX_LP): Likewise.
19914 (RDI_LP): Likewise.
19915 (RSI_LP): Likewise.
19916 (RSP_LP): Likewise.
19917 (R8_LP): Likewise.
19918 (R9_LP): Likewise.
19919 (R10_LP): Likewise.
19920 (R10_LP): Likewise.
19921 (R11_LP): Likewise.
19922 (R12_LP): Likewise.
19923 (R13_LP): Likewise.
19924 (R14_LP): Likewise.
19925 (R15_LP): Likewise.
19926
b985be81
L
199272012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19928
19929 * sysdeps/x86_64/x32/dl-machine.h: New file.
19930
6a4888ff
AJ
199312012-05-14 Andreas Jaeger <aj@suse.de>
19932
19933 * manual/Makefile (subdir): Remove export of subdir.
19934 (all): Remove target.
19935 (.PHONY): Remove all from list.
19936 (mkinstalldirs): Remove.
19937 (.PHONY): Remove installdirs from list.
19938 ($(inst_infodir)/libc.info): Use make-target-directory.
19939 (installdirs): Remove.
19940 (subdir_%): Remove.
19941 (glibc-targets): Remove.
19942 (lib): Remove.
19943 (stubs): Remove.
19944 ($(objpfx)stubs ../po/manual.pot): Remove.
19945 ($(objpfx)stamp%): Remove.
19946 (make-target-directory): Remove.
19947 (subdir_install): Remove.
19948 (routines): Remove.
19949 (aux): Remove.
19950 (sources): Remove.
19951 (objects): Remove.
19952 (headers): Remove.
19953
19954 [BZ #13750]
19955 * manual/.gitignore: Remove, it's not needed anymore.
19956 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19957 all files in it.
19958 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
19959 directory.
19960 (texis): Renamed to $(objpfx)texis.
19961 (texis-path): New, contains path to generated files.
19962 (chapters.%): Use texis-path for complete path, add extra argument
19963 libc-texinfo.sh.
19964 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
19965 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
19966 (summary,texi, stamp-summary): Use complete path of
19967 files. Generate files in build dir.
19968 (dir-add.texi): Build in build dir.
19969 (libm-err.texi,stamp-libm-err): Likewise.
19970 (version.texi, stamp-version): Likewise.
19971 (.%c.texi): Likewise.
19972 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
19973 (mostlyclean): Remove target.
19974 (realclean): Remove target.
19975 (generated): Add new variable with contents from mostlyclean and
19976 realclean, remove entries duplicated in common-mostlyclean, add
19977 stamp-libm-err and stamp-version.
19978 (generated-dirs): Add libc directory.
19979 ($(inst_infodir)/libc.info): Install files from build dir.
19980
19981 * manual/install.texi (Configuring and compiling): Adjust since
19982 the info files are not part of the tar ball anymore.
19983
7ac77294
AJ
199842012-05-14 Andreas Jaeger <aj@suse.de>
19985
19986 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19987 variable.
19988
ffb7875d
JM
199892012-05-14 Joseph Myers <joseph@codesourcery.com>
19990
19991 [BZ #13717]
19992 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19993 to 2.2.0 where earlier.
19994 * sysdeps/unix/sysv/linux/configure: Regenerated.
19995 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
19996 Remove conditional code.
19997 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
19998 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
19999 Remove conditional code.
20000 [!__NR_lchown]: Likewise.
20001 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20002 [__NR_lchown]: Likewise.
20003 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
20004 comment referencing __ASSUME_LCHOWN_SYSCALL.
20005 * sysdeps/unix/sysv/linux/i386/sigaction.c
20006 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20007 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20008 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
20009 Remove conditional code.
20010 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
20011 (__protocol_available): Remove #if 0 code.
20012 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
20013 conditional code.
20014 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
20015 * sysdeps/unix/sysv/linux/kernel-features.h
20016 (__ASSUME_GETCWD_SYSCALL): Don't define.
20017 (__ASSUME_REALTIME_SIGNALS): Likewise.
20018 (__ASSUME_PREAD_SYSCALL): Likewise.
20019 (__ASSUME_PWRITE_SYSCALL): Likewise.
20020 (__ASSUME_POLL_SYSCALL): Likewise.
20021 (__ASSUME_LCHOWN_SYSCALL): Likewise.
20022 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
20023 non-SPARC.
20024 (__ASSUME_SIOCGIFNAME): Don't define.
20025 (__ASSUME_MSG_NOSIGNAL): Likewise.
20026 (__ASSUME_SENDFILE): Define unconditionally.
20027 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
20028 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
20029 conditional code.
20030 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
20031 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
20032 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20033 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20034 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
20035 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20036 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
20038 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20039 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20041 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20042 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
20044 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20045 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20047 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20048 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
20050 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20051 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20053 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20054 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
20056 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20057 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20059 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20060 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20061 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
20062 Remove conditional code.
20063 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20064 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20065 Remove conditional code.
20066 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20067 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
20068 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
20069 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20070 Remove conditional code.
20071 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20072 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
20073 Remove conditional code.
20074 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20075 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
20076 Remove conditional code.
20077 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20078 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20079 Remove conditional code.
20080 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20081 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20082 Remove conditional code.
20083 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20084 * sysdeps/unix/sysv/linux/sh/pwrite64.c
20085 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20086 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20087 * sysdeps/unix/sysv/linux/sigaction.c
20088 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20089 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20090 * sysdeps/unix/sysv/linux/sigpending.c
20091 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20092 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20093 * sysdeps/unix/sysv/linux/sigprocmask.c
20094 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20095 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20096 * sysdeps/unix/sysv/linux/sigsuspend.c
20097 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20098 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20099 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20100 (__libc_missing_rt_sigs): Remove.
20101 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
20102 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
20103 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
20104 Remove conditional code.
20105 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
20106 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
20107 return 1.
20108 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
20109 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
20110 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
20111 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
20112
1bfb7291
AJ
201132012-05-14 Andreas Jaeger <aj@suse.de>
20114
caae5a81
AJ
20115 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
20116 it's not used in glibc.
20117 (__coshm1): Likewise.
20118 (__acosh1p): Likewise.
20119 (__sgn): Likewise.
20120
1bfb7291
AJ
20121 * manual/string.texi (Copying and Concatenation): Add missing
20122 variable in concat example.
20123 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20124
c044d724
L
201252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20126
144c5467 20127 [BZ #14103]
c044d724
L
20128 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
20129 __builtin_clzl with __builtin_clzll.
20130
2523c62b
L
201312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20132
20133 [BZ #14104]
20134 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
20135 libc_freeres_ptr.
20136
d7bb4c42
LD
201372012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20138
20139 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
20140 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
20141 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
20142 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
20143
9dc4e1fb
MF
201442012-05-14 Mike Frysinger <vapier@gentoo.org>
20145
20146 * NEWS: Update ia64 info.
20147
c7df0112
AS
201482012-05-12 Andreas Schwab <schwab@linux-m68k.org>
20149
20150 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
20151 used as bcopy.
20152
dc70356c
TS
201532012-05-12 Thomas Schwinge <thomas@codesourcery.com>
20154
20155 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
20156 * sysdeps/unix/syscalls.list (dup3): Likewise.
20157 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
20158 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
20159
9fb1a21f
L
201602012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20161
20162 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
20163 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
20164
4822a2a5
L
201652012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20166
20167 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
20168 thread pointer.
20169 (TLS_IE): Use mov/add instead of movq/addq to load thread
20170 pointer.
20171 (TLS_GD_PREFIX): New.
20172 (TLS_GD): Use it.
20173
842b81d6
DM
201742012-05-11 David S. Miller <davem@davemloft.net>
20175
20176 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
20177 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
20178 (_FPU_SETCW): Likewise.
20179
1cf463cd
L
201802012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20181
20182 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
20183 is 32-byte aligned.
20184
60cc4a18
AS
201852012-05-11 Andreas Schwab <schwab@linux-m68k.org>
20186
20187 [BZ #11837]
20188 * iconvdata/gb18030.c: Update tables.
20189 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
20190 characters specially.
20191 (BODY for TO_LOOP): Add encoding of missing ranges.
20192
febb44a4
TS
201932012-05-11 Thomas Schwinge <thomas@codesourcery.com>
20194
20195 [BZ #13673]
20196 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
20197 * sysdeps/mach/hurd/dup3.c: Likewise.
20198 * sysdeps/mach/hurd/readlinkat.c: Likewise.
20199 * sysdeps/powerpc/memmove.c:: Likewise.
20200
0a10fb9e
L
202012012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20202
20203 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
20204 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
20205
df8a552f
L
202062012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20207
20208 * elf/elf.h (R_X86_64_RELATIVE64): New.
20209 (R_X86_64_NUM): Updated.
20210 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20211 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
20212 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
20213 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
20214 tst-quad1pie tst-quad2pie
20215 (modules-names): Add tst-quadmod1 tst-quadmod2.
20216 ($(objpfx)tst-quad1): New dependency.
20217 ($(objpfx)tst-quad2): Likewise.
20218 ($(objpfx)tst-quad1pie): Likewise.
20219 ($(objpfx)tst-quad2pie): Likewise.
20220 * sysdeps/x86_64/tst-quad1.c: New file.
20221 * sysdeps/x86_64/tst-quad1pie.c: New file.
20222 * sysdeps/x86_64/tst-quad2.c: Likewise.
20223 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
20224 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
20225 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
20226 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
20227 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
20228
f34d6f84
ST
202292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20230
f42d41d1
ST
20231 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
20232 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
20233 * streams/stropts.h (t_scalar_t): Define type.
20234
3c3571fc
ST
20235 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
20236 (_PATH_PRESERVE): Set to "/var/lib".
20237 (_PATH_RWHODIR): Set to "/var/spool/rwho".
20238
61f06bd3
ST
20239 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
20240 instead of int.
20241
918d4d71
ST
20242 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
20243 if __dir_mkfile succeeded.
20244
f34d6f84
ST
20245 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
20246 checking for _hurd_dtablesize. Unlock it right after having
20247 finished _hurd_dtable allocation.
20248
10589b4a
TS
202492012-05-10 Thomas Schwinge <thomas@schwinge.name>
20250
674cdbc7
TS
20251 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
20252 * sysdeps/mach/hurd/configure: Regenerated.
20253 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
20254 special-casing to...
20255 * sysdeps/gnu/configure.in: ... this new file.
20256 * sysdeps/unix/sysv/linux/configure: Regenerated.
20257 * sysdeps/gnu/configure: New generated file.
20258
8e41b99f
TS
20259 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
20260 for Linux: use nsec instead of usec, as well as:
20261 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
20262 members of type struct timespec.
20263 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
20264 New macros.
20265 (struct stat64): Likewise.
20266 (_STATBUF_ST_NSEC): New macro.
20267 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
20268
10589b4a
TS
20269 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20270 __strtoul_internal rather than strtoul.
20271
63643c85
PT
202722012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20273
20274 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
20275 and reject them.
20276
3faebe6a
ST
202772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20278
20279 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
20280 which preserves existing values.
20281 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
20282
c6474b07
PT
202832012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20284
20285 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
20286 TIMEOUT values. Return EINVAL for NFDS values either negative or
20287 greater than FD_SETSIZE.
20288
1043890b
ST
202892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20290
20291 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
20292 allocated, call __vm_protect to finish enabling the existing space, and
20293 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
20294 allocate the remainder.
20295
37ed8b9b
PT
202962012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20297
20298 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
20299 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
20300
db653660
ST
203012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20302
37ed8b9b
PT
20303 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
20304 sysdeps/mach/hurd/readlink.c.
b29d4053 20305
db653660
ST
20306 * posix/tst-sysconf.c (posix_options): Only use
20307 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
20308 _POSIX_SYNCHRONIZED_IO when they are defined
20309 * sysdeps/mach/hurd/bits/posix_opt.h:
20310 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
20311 (_XOPEN_REALTIME): Undefine macro.
20312 (_XOPEN_REALTIME_THREADS): Undefine macro.
20313 (_XOPEN_SHM): Undefine macro.
20314 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
20315 macro to -1.
20316 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
20317 macro to -1.
20318 (_POSIX_ASYNC_IO): Undefine macro.
20319 (_POSIX_PRIORITIZED_IO): Undefine macro.
20320 (_POSIX_SPIN_LOCKS): Define macro to -1.
20321
ee16e894
ST
20322 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
20323 SA_NODEFER, SA_RESETHAND.
20324 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
20325 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
20326 F_DUPFD_CLOEXEC.
20327
6103ae3b
TS
203282012-05-10 Thomas Schwinge <thomas@schwinge.name>
20329
20330 * elf/Makefile (pldd-modules): Define unconditionally.
20331
80b4e5f3
TS
203322012-05-10 Thomas Schwinge <thomas@schwinge.name>
20333
20334 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
20335
edadcbd6
ST
203362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20337
20338 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
20339 Return ENOENT when name is empty.
20340 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
20341
80694780
TS
203422012-05-10 Thomas Schwinge <thomas@schwinge.name>
20343
1792c087
TS
20344 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
20345
80694780
TS
20346 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
20347
6b645f0d
ST
203482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20349
80694780
TS
20350 Fix mlock in all cases except non-readable pages.
20351 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
20352 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 20353
6b645f0d
ST
20354 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
20355 (__mkdir): When path is `/', just fail with EEXIST.
20356 * sysdeps/mach/hurd/mkdirat.c: Likewise.
20357
e468f8a3
TS
203582012-05-10 Thomas Schwinge <thomas@schwinge.name>
20359
20360 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
20361 <sys/uio.h> (for writev).
20362 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
20363 and <sys/param.h> (for MIN).
20364
a4186cff
PT
203652012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20366
20367 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
20368 REQUESTED_TIME. Properly set the remaining time and return EINTR
20369 if interrupted.
20370
510bbf14
TS
203712012-05-10 Thomas Schwinge <thomas@schwinge.name>
20372
20373 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
20374 Depend on against $(link-rpcuserlibs).
20375
5d5722e8
ST
203762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20377
a4186cff
PT
20378 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
20379 (__libc_stack_end): Do not use attribute_relro.
20380 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
20381 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 20382 to libthread-provided value.
a4186cff
PT
20383 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
20384 attribute_relro.
5d5722e8 20385
37233df9
TS
203862012-05-10 Thomas Schwinge <thomas@schwinge.name>
20387
be971a2b
TS
20388 [BZ #3748]
20389 * bits/libc-lock.h (__libc_once_get): New macro.
20390 * sysdeps/mach/bits/libc-lock.h: Likewise.
20391 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
20392 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
20393 instead of using implementation details.
20394
37233df9
TS
20395 * libio/fileops.c: Unconditionally include <kernel-features.h>.
20396 * libio/freopen.c: Likewise.
20397 * libio/freopen64.c: Likewise.
20398 * misc/syslog.c: Likewise.
20399 * nscd/connections.c: Likewise.
20400 * nscd/netgroupcache.c: Likewise.
20401 * sysdeps/posix/getcwd.c: Likewise.
20402
38de94a5
RM
204032012-05-10 Roland McGrath <roland@hack.frob.com>
20404
20405 * math/w_ilogbf.c: Add #include <limits.h>.
20406
67530489
ST
204072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20408
a4186cff 20409 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
20410 path instead of returning without unlocking.
20411
67530489
ST
20412 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
20413 immediate-write ioctls.
20414 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
20415
5aa3a74a
TS
204162012-05-10 Thomas Schwinge <thomas@schwinge.name>
20417
18bad2ae
TS
20418 * sysdeps/mach/hurd/i386/init-first.c (init): Use
20419 __builtin_frame_address instead of making assumptions about the
20420 location of the return address relative to DATA. Force early load of
20421 the return address.
20422 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
20423 __builtin_frame_address.
20424
5aa3a74a
TS
20425 dup3 for GNU Hurd.
20426 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
20427 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
20428 implement dup3 and do some further code clean-ups.
20429 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
20430 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
20431
ecd0de9a
ST
204322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20433
cd9fa985
ST
20434 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
20435
a4186cff
PT
20436 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
20437 HURD_CRITICAL_END around holding _hurd_dtable_lock.
20438 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
20439 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
20440 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
20441 d->port.lock.
802ca5a5 20442
a4186cff
PT
20443 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
20444 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
20445 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 20446
bcf55240
TS
204472012-05-10 Thomas Schwinge <thomas@schwinge.name>
20448
6960eb42
TS
20449 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
20450 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
20451 definitions.
20452
eb43375f
TS
20453 accept4 for GNU Hurd.
20454 * include/sys/socket.h (__libc_accept4): New prototype.
20455 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
20456 to implement __libc_accept4.
20457 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
20458 __libc_accept4.
20459 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
20460
bcf55240
TS
20461 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
20462 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
20463 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
20464 signal-defines.sym.
20465
6178c55b
ST
204662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20467
a4186cff 20468 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 20469
6f080c2f
TS
204702012-05-10 Thomas Schwinge <thomas@schwinge.name>
20471
20472 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
20473 assertion on O_CLOEXEC flag.
20474 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
20475 * hurd/intern-fd.c: Likewise.
20476 * hurd/port2fd.c: Likewise.
20477
bcfe3a54
ST
204782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20479
20480 [BZ #3906]
20481 * bits/in.h (IPV6_PKTINFO): Define new macro.
20482 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
20483
89c9aa49
AZ
204842012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20485
20486 [BZ #13954]
20487 [BZ #13955]
20488 [BZ #13956]
20489 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
20490 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20491 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
20492 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20493 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20494 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20495 * math/libm-test.inc (logb_test) : Additional logb tests.
20496
021db4be
AJ
204972012-05-09 Andreas Schwab <schwab@linux-m68k.org>
20498 Andreas Jaeger <aj@suse.de>
20499
20500 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
20501 * configure: Regenerated.
20502 * config.h.in (LINK_OBSOLETE_RPC): New macro.
20503 * config.make.in (link-obsolete-rpc): New substituted variable.
20504 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
20505 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
20506 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20507 (shared-only-routines): Don't set it under [link-obsolete-rpc],
20508 so that libc.a contains the symbols.
20509 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20510 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
20511 * sunrpc/auth_none.c: Likewise.
20512 * sunrpc/auth_unix.c: Likewise.
20513 * sunrpc/authdes_prot.c: Likewise.
20514 * sunrpc/authuxprot.c: Likewise.
20515 * sunrpc/clnt_gen.c: Likewise.
20516 * sunrpc/clnt_perr.c: Likewise.
20517 * sunrpc/clnt_raw.c: Likewise.
20518 * sunrpc/clnt_simp.c: Likewise.
20519 * sunrpc/clnt_tcp.c: Likewise.
20520 * sunrpc/clnt_udp.c: Likewise.
20521 * sunrpc/clnt_unix.c: Likewise.
20522 * sunrpc/des_crypt.c: Likewise.
20523 * sunrpc/des_soft.c: Likewise.
20524 * sunrpc/get_myaddr.c: Likewise.
20525 * sunrpc/key_call.c: Likewise.
20526 * sunrpc/key_prot.c: Likewise.
20527 * sunrpc/netname.c: Likewise.
20528 * sunrpc/pm_getmaps.c: Likewise.
20529 * sunrpc/pm_getport.c: Likewise.
20530 * sunrpc/pmap_clnt.c: Likewise.
20531 * sunrpc/pmap_prot.c: Likewise.
20532 * sunrpc/pmap_prot2.c: Likewise.
20533 * sunrpc/pmap_rmt.c: Likewise.
20534 * sunrpc/publickey.c: Likewise.
20535 * sunrpc/rpc_cmsg.c: Likewise.
20536 * sunrpc/rpc_common.c: Likewise.
20537 * sunrpc/rpc_dtable.c: Likewise.
20538 * sunrpc/rpc_prot.c: Likewise.
20539 * sunrpc/rpc_thread.c: Likewise.
20540 * sunrpc/rtime.c: Likewise.
20541 * sunrpc/svc.c: Likewise.
20542 * sunrpc/svc_auth.c: Likewise.
20543 * sunrpc/svc_raw.c: Likewise.
20544 * sunrpc/svc_run.c: Likewise.
20545 * sunrpc/svc_tcp.c: Likewise.
20546 * sunrpc/svc_udp.c: Likewise.
20547 * sunrpc/svc_unix.c: Likewise.
20548 * sunrpc/svcauth_des.c: Likewise.
20549 * sunrpc/xcrypt.c: Likewise.
20550 * sunrpc/xdr.c: Likewise.
20551 * sunrpc/xdr_array.c: Likewise.
20552 * sunrpc/xdr_float.c: Likewise.
20553 * sunrpc/xdr_intXX_t.c: Likewise.
20554 * sunrpc/xdr_mem.c: Likewise.
20555 * sunrpc/xdr_rec.c: Likewise.
20556 * sunrpc/xdr_ref.c: Likewise.
20557 * sunrpc/xdr_sizeof.c: Likewise.
20558 * sunrpc/xdr_stdio.c: Likewise.
20559
b5c086a2
RM
205602012-05-10 Roland McGrath <roland@hack.frob.com>
20561
20562 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
20563 change. Update copyright years.
20564
6d74dd09
JM
205652012-05-10 Joseph Myers <joseph@codesourcery.com>
20566
20567 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
20568
28e72501
MK
205692012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
20570 Joseph Myers <joseph@codesourcery.com>
20571 Paul Pluzhnikov <ppluzhnikov@google.com>
20572
20573 [BZ #14012]
20574 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
20575 requiring rpcgen.
20576 [cross-compiling] (extra-libs): Likewise.
20577 [cross-compiling] (extra-libs-others): Likewise.
20578 [cross-compiling] (librpcsvc-routines): Likewise.
20579 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
20580 [cross-compiling] (omit-deps): Likewise.
20581 (sunrpc-CPPFLAGS): New variable.
20582 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
20583 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
20584 (cross-rpcgen-objs): New variable.
20585 (extra-objs): Append $(cross-rpcgen-objs).
20586 ($(cross-rpcgen-objs)): New rule.
20587 ($(objpfx)cross-rpcgen): Likewise.
20588 (rpcgen-cmd): Define to use $(built-program-file). Expand
20589 comment.
20590 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
20591 ($(objpfx)x%.stmp): Likewise.
20592 * sunrpc/proto.h [IS_IN_build] (_): Define.
20593 [IS_IN_build] (_libc_intl_domainname): Likewise.
20594
c8c59454
L
205952012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20596
20597 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
20598 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
20599 and R_X86_64_TPOFF64.
20600
6f27cd16
JM
206012012-05-10 Joseph Myers <joseph@codesourcery.com>
20602
20603 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
20604 sysdeps/unix/sysv/syscalls.list.
20605 (stime): Likewise.
20606 (utime): Likewise.
20607 * sysdeps/unix/sysv/syscalls.list: Remove file.
20608
02467e1c
PE
206092012-05-10 Paul Eggert <eggert@cs.ucla.edu>
20610
20611 [BZ #3440]
20612 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
20613 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
20614 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
20615 (__LC_IDENTIFICATION): Make these macros useful in #if
20616 expressions, as required by C99.
20617
da392631
AS
206182012-05-10 Andreas Schwab <schwab@linux-m68k.org>
20619
20620 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
20621 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
20622 after this.
20623
8115f29b
L
206242012-05-09 H.J. Lu <hongjiu.lu@intel.com>
20625
20626 * stdlib/longlong.h: Updated from GCC.
20627
bdd74070
AJ
206282012-05-09 Andreas Jaeger <aj@suse.de>
20629
edfe0dbe
AJ
20630 * nscd/nscd.c (run_modes): Make named enum, reorder so that
20631 default is first entry.
20632 (run_mode): Set type.
20633 (main): Remove informal message about syslog.
20634 (options): Fix typo.
20635
bcfe3a54
ST
20636 [BZ #14053]
20637 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 20638 to asm.
bcfe3a54
ST
20639 (lrint): Likewise.
20640 (llrintf): Likewise.
20641 (llrint): Likewise.
20642 (rint): Likewise.
20643 (rintf): Likewise.
20644 (nearbyint): Likewise.
20645 (nearbyintf): Likewise.
bdd74070 20646
91d8d69e
AJ
206472012-05-09 Andreas Jaeger <aj@suse.de>
20648 Pedro Alves <palves@redhat.com>
20649
20650 * nscd/nscd.c (run_mode): Use enum.
20651 (main): Cleanup coding style issue.
20652
bb90b80b
AJ
206532012-05-09 Alexandre Oliva <aoliva@redhat.com>
20654 Andreas Jaeger <aj@suse.de>
20655
bcfe3a54
ST
20656 * nscd/nscd.c (go_background): Replaced with...
20657 (run_mode): ... this.
bb90b80b 20658 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
20659 (options): Add -F --foreground.
20660 (main): Implement it.
20661 (parse_opt): Parse it.
bb90b80b 20662
1a4b75a1
AJ
206632012-05-09 Andreas Jaeger <aj@suse.de>
20664
20665 [BZ #14083]
20666 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
20667 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
20668 -Wconversion warning.
20669 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
20670 Likewise.
20671
b1cc2472
JM
206722012-05-09 Joseph Myers <joseph@codesourcery.com>
20673
20674 * conform/data/locale.h-data (NULL): Use macro-constant. Require
20675 == 0.
20676 (LC_ALL): Use macro-int-constant.
20677 (LC_COLLATE): Likewise.
20678 (LC_CTYPE): Likewise.
20679 (LC_MESSAGES): Likewise.
20680 (LC_MONETARY): Likewise.
20681 (LC_NUMERIC): Likewise.
20682 (LC_TIME): Likewise.
20683 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
20684 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20685 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20686 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
20687 Specify type.
20688 [C99-based standards] (float_t): Expect type.
20689 [C99-based standards] (double_t): Expect type.
20690 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
20691 type.
20692 [C99-based standards] (HUGE_VALL): Likewise.
20693 [C99-based standards] (INFINITY): Likewise.
20694 [C99-based standards] (NAN): Likewise.
20695 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
20696 [C99-based standards] (FP_NAN): Likewise.
20697 [C99-based standards] (FP_NORMAL): Likewise.
20698 [C99-based standards] (FP_SUBNORMAL): Likewise.
20699 [C99-based standards] (FP_ZERO): Likewise.
20700 [C99-based standards] (FP_FAST_FMA): Use
20701 optional-macro-int-constant. Specify type. Require == 1.
20702 [C99-based standards] (FP_FAST_FMAF): Likewise.
20703 [C99-based standards] (FP_FAST_FMAL): Likewise.
20704 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
20705 [C99-based standards] (FP_ILOGBNAN): Likewise.
20706 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
20707 Specify type.
20708 [C99-based standards] (MATH_ERREXCEPT): Likewise.
20709 [C99-based standards] (math_errhandling): Specify type.
20710 [ISO99 || ISO11] (signgam): Do not allow.
20711 [non-C99-based standards] (copysignf): Do not allow.
20712 [non-C99-based standards] (exp2f): Likewise.
20713 [non-C99-based standards] (log2f): Likewise.
20714 [non-C99-based standards] (modff): Allow.
20715 [non-C99-based standards] (erff): Do not allow.
20716 [non-C99-based standards] (erfcf): Likewise.
20717 [non-C99-based standards] (gammaf): Likewise.
20718 [non-C99-based standards] (hypotf): Likewise.
20719 [non-C99-based standards] (j0f): Likewise.
20720 [non-C99-based standards] (j1f): Likewise.
20721 [non-C99-based standards] (jnf): Likewise.
20722 [non-C99-based standards] (lgammaf): Likewise.
20723 [non-C99-based standards] (tgammaf): Likewise.
20724 [non-C99-based standards] (y0f): Likewise.
20725 [non-C99-based standards] (y1f): Likewise.
20726 [non-C99-based standards] (ynf): Likewise.
20727 [non-C99-based standards] (isnanf): Likewise.
20728 [non-C99-based standards] (acoshf): Likewise.
20729 [non-C99-based standards] (asinhf): Likewise.
20730 [non-C99-based standards] (atanhf): Likewise.
20731 [non-C99-based standards] (cbrtf): Likewise.
20732 [non-C99-based standards] (expm1f): Likewise.
20733 [non-C99-based standards] (ilogbf): Likewise.
20734 [non-C99-based standards] (log1pf): Likewise.
20735 [non-C99-based standards] (logbf): Likewise.
20736 [non-C99-based standards] (nextafterf): Likewise.
20737 [non-C99-based standards] (remainderf): Likewise.
20738 [non-C99-based standards] (rintf): Likewise.
20739 [non-C99-based standards] (scalbf): Likewise.
20740 [non-C99-based standards] (copysignl): Likewise.
20741 [non-C99-based standards] (exp2l): Likewise.
20742 [non-C99-based standards] (log2l): Likewise.
20743 [non-C99-based standards] (modfl): Allow.
20744 [non-C99-based standards] (erfl): Do not allow.
20745 [non-C99-based standards] (erfcl): Likewise.
20746 [non-C99-based standards] (gammal): Likewise.
20747 [non-C99-based standards] (hypotl): Likewise.
20748 [non-C99-based standards] (j0l): Likewise.
20749 [non-C99-based standards] (j1l): Likewise.
20750 [non-C99-based standards] (jnl): Likewise.
20751 [non-C99-based standards] (lgammal): Likewise.
20752 [non-C99-based standards] (tgammal): Likewise.
20753 [non-C99-based standards] (y0l): Likewise.
20754 [non-C99-based standards] (y1l): Likewise.
20755 [non-C99-based standards] (ynl): Likewise.
20756 [non-C99-based standards] (isnanl): Likewise.
20757 [non-C99-based standards] (acoshl): Likewise.
20758 [non-C99-based standards] (asinhl): Likewise.
20759 [non-C99-based standards] (atanhl): Likewise.
20760 [non-C99-based standards] (cbrtl): Likewise.
20761 [non-C99-based standards] (expm1l): Likewise.
20762 [non-C99-based standards] (ilogbl): Likewise.
20763 [non-C99-based standards] (log1pl): Likewise.
20764 [non-C99-based standards] (logbl): Likewise.
20765 [non-C99-based standards] (nextafterl): Likewise.
20766 [non-C99-based standards] (remainderl): Likewise.
20767 [non-C99-based standards] (rintl): Likewise.
20768 [non-C99-based standards] (scalbl): Likewise.
20769 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20770 [non-C99-based standards] (FP_*): Do not allow.
20771 [C99-based standards] (FP_*): Change to
20772 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20773 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20774 allow.
20775 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
20776 (SIG_ERR): Likewise.
20777 [X/Open-based standards] (SIG_HOLD): Likewise.
20778 (SIG_IGN): Likewise.
20779 (SIGABRT): Use macro-int-constant. Specify type. Require
20780 positive value.
20781 (SIGFPE): Likewise.
20782 (SIGILL): Likewise.
20783 (SIGINT): Likewise.
20784 (SIGSEGV): Likewise.
20785 (SIGTER): Likewise.
20786 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
20787 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
20788 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
20789 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
20790 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
20791 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
20792 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
20793 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
20794 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
20795 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
20796 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
20797 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
20798 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
20799 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
20800 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
20801 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
20802 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
20803 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
20804 [X/Open-based standards] (SIGTRAP): Likewise.
20805 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
20806 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
20807 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
20808 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
20809 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20810 allow.
20811
b9f1922d
IW
208122012-05-08 Ian Wienand <ianw@vmware.com>
20813
20814 [BZ #14080]
20815 * time/tzset.c (__tzset_parse_tz): Update default rules for
20816 daylight time changes in the Energy Policy Act of 2005.
20817
1db86e88
AJ
208182012-05-09 Andreas Jaeger <aj@suse.de>
20819
20820 [BZ #13983]
20821 * elf/ldconfig.c (parse_conf): Change string to make clear that
20822 ldconfig only issued a warning if ld.so.conf does not exist.
20823
dee4a4e3
DM
208242012-05-08 David S. Miller <davem@davemloft.net>
20825
ee0db190
DM
20826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
20827 movxtod instead of popping the value on the stack.
20828
dee4a4e3
DM
20829 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20830
6a43ec98
CD
208312012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
20832
20833 * config.h.in: Add HAVE_ARM_PCS_VFP.
20834
05c2c961
RMG
208352012-05-08 Roland Mc Grath <roland@hack.frob.com>
20836
bcfe3a54
ST
20837 [BZ #13979]
20838 * include/features.h: Warn if user requests __FORTIFY_SOURCE
20839 checking but the checks are disabled for any reason.
05c2c961 20840
4b30f61a
L
208412012-05-08 H.J. Lu <hongjiu.lu@intel.com>
20842
20843 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
20844 and ELF64_R_TYPE with ELFW(R_TYPE).
20845
eee2bc67
JM
208462012-05-08 Joseph Myers <joseph@codesourcery.com>
20847
7ea5391a
JM
20848 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
20849 (ulimit): Likewise.
20850
eee2bc67
JM
20851 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
20852 (settimeofday): Likewise.
20853
abb66a67
MF
208542012-05-08 Mike Frysinger <vapier@gentoo.org>
20855
20856 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
20857 a struct th_u2 inside the union, and move tu_block/tu_code into
20858 a new th_u3 union of tu_block/tu_code inside of that. Move
20859 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
20860 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
20861 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
20862 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
20863 (th_stuff): Change to th_u1.tu_stuff.
20864 (th_data): Define.
20865 (th_msg): Change to th_u1.th_u2.tu_data.
20866
7f18b530
DM
208672012-05-07 David S. Miller <davem@davemloft.net>
20868
05760585
DM
20869 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20870
7f18b530
DM
20871 [BZ #14074]
20872 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
20873 (SETUP_PIC_REG): Use it.
20874 (SETUP_PIC_REG_LEAF): Use it.
20875
495fd99f
JM
208762012-05-07 Joseph Myers <joseph@codesourcery.com>
20877
20878 [BZ #13885]
20879 [BZ #13923]
20880 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20881 USE_AS_EXPM1L.
20882 (EXPL_FINITE): Likewise.
20883 (FLDLOG): Likewise.
20884 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20885 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20886 e_expl.S.
20887 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20888 USE_AS_EXPM1L.
20889 (EXPL_FINITE): Likewise.
20890 (FLDLOG): Likewise.
20891 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20892 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20893 e_expl.S.
20894 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
20895 test of -max_value argument for long double.
20896 * sysdeps/i386/fpu/libm-test-ulps: Update.
20897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20898
6693d694
DM
208992012-05-06 David S. Miller <davem@davemloft.net>
20900
20901 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
20902 quad soft-float symbols whose references which are compiler
20903 generated.
20904 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20905
6c23e11c
JM
209062012-05-06 Joseph Myers <joseph@codesourcery.com>
20907
d8b82cad
JM
20908 [BZ #13884]
20909 [BZ #13914]
20910 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20911 USE_AS_EXP10L.
20912 (EXPL_FINITE): Likewise.
20913 (FLDLOG): Likewise.
20914 (c0): Likewise.
20915 (c1): Likewise.
20916 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20917 Adjust comments for base varying.
20918 (__expl_finite): Change alias to EXPL_FINITE.
20919 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
20920 e_expl.S.
20921 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
20922 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20923 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20924 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
20925 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20926 USE_AS_EXP10L.
20927 (EXPL_FINITE): Likewise.
20928 (FLDLOG): Likewise.
20929 (c0): Likewise.
20930 (c1): Likewise.
20931 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20932 Adjust comments for base varying.
20933 (__expl_finite): Change alias to EXPL_FINITE.
20934 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
20935 tests for bugs.
20936 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20937
6c23e11c
JM
20938 [BZ #14064]
20939 * math/libm-test.inc (check_float_internal): Correct ulp
20940 calculation for subnormal expected results.
20941
29ba805c
AJ
209422012-05-06 Andreas Jaeger <aj@suse.de>
20943
20944 * Makeconfig (+math-flags): New, set to -frounding-math.
20945 (+cflags): Add +math-flags so that all of glibc gets compiled with
20946 it.
20947
20948 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
20949
7b17aeda
JM
209502012-05-05 Joseph Myers <joseph@codesourcery.com>
20951
5779f134
JM
20952 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20953 Disable one test.
20954
41498f4d
JM
20955 [BZ #13787]
20956 [BZ #13922]
20957 [BZ #14036]
20958 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
20959 (__ieee754_expl): Allow for and saturate large arguments.
20960 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
20961 (u_threshold): Likewise.
20962 (__exp): Call __ieee754_exp before checking for overflow and
20963 underflow.
20964 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
20965 (u_threshold): Likewise.
20966 (__expf): Call __ieee754_expf before checking for overflow and
20967 underflow.
20968 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
20969 (u_threshold): Likewise.
20970 (__expl): Call __ieee754_expl before checking for overflow and
20971 underflow.
20972 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
20973 (__ieee754_expl): Allow for and saturate large arguments.
20974 * math/libm-test.inc (exp_test): Add another test. Do not allow
20975 missing overflow exception on overflow.
20976 (expm1_test): Do not allow missing overflow exception on overflow.
20977
6698b8bf
JM
20978 * sysdeps/i386/fpu/e_expl.c: Move to ...
20979 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
20980 rather than using inline asm.
20981 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
20982 * sysdeps/x86_64/fpu/e_expl.S: Copy from
20983 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
20984
7b17aeda
JM
20985 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20986 (nice): Likewise.
20987 (poll): Likewise.
20988 (signal): Likewise.
20989 (time): Likewise.
20990 (times): Likewise.
20991
f7c85819
JM
209922012-05-04 Joseph Myers <joseph@codesourcery.com>
20993
20994 * sysdeps/unix/syscalls.list (adjtime): Add entry from
20995 sysdeps/unix/common/syscalls.list.
20996 (fchmod): Likewise.
20997 (fchown): Likewise.
20998 (ftruncate): Likewise.
20999 (getrusage): Likewise.
21000 (gettimeofday): Likewise.
21001 (setpgid): Likewise.
21002 (setregid): Likewise.
21003 (setreuid): Likewise.
21004 (sigaction): Likewise.
21005 (truncate): Likewise.
21006 (vhangup): Likewise.
21007 * sysdeps/unix/common/syscalls.list: Remove file.
21008 * sysdeps/unix/bsd/Implies: Don't include unix/common.
21009 * sysdeps/unix/sysv/linux/Implies: Likewise.
21010
336270d0
L
210112012-05-04 H.J. Lu <hongjiu.lu@intel.com>
21012
21013 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
21014 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
21015 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
21016 Moved to ...
21017 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21018 Here.
21019 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
21020 to ...
21021 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
21022 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
21023 to ...
21024 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
21025 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
21026 to ...
21027 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
21028 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
21029 to ...
21030 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
21031 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
21032 to ...
21033 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
21034 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
21035 to ...
21036 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
21037 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
21038 to ...
21039 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21040 Here.
21041 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
21042 to ...
21043 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
21044 Here.
21045 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
21046 to ...
21047 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
21048 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
21049 Moved to ...
21050 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
21051 Here.
21052 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
21053 to ...
21054 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
21055
d128e450
JM
210562012-05-04 Joseph Myers <joseph@codesourcery.com>
21057
fa8ee516
JM
21058 * sysdeps/unix/common/bits/dirent.h: Remove file.
21059 * sysdeps/unix/common/bits/fcntl.h: Likewise.
21060
d128e450
JM
21061 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
21062 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
21063 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
21064 * sysdeps/unix/bsd/isatty.c: Likewise.
21065 * sysdeps/unix/bsd/tcdrain.c: Likewise.
21066 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
21067 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
21068
ff8faaf0 210692012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 21070
62881be4 21071 [BZ #13563]
31dc8730
AZ
21072 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
21073 long double comparison inaccuracies.
21074 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21075 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21076
6fef930c
AS
210772012-05-04 Andreas Schwab <schwab@linux-m68k.org>
21078
21079 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
21080 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
21081
8f203e6c
JM
210822012-05-04 Joseph Myers <joseph@codesourcery.com>
21083
21084 [BZ #14049]
21085 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
21086 nonzero digits before rounding a hex value.
21087 * stdlib/tst-strtod.c (tests): Add another test.
21088
5197d9c2
AK
210892012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21090
21091 * sysdeps/s390/fpu/libm-test-ulps: Update.
21092
f0c1dedf
AJ
210932012-05-03 Andreas Jaeger <aj@suse.de>
21094
21095 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
21096 does not get optimized out.
21097 (malloc_opt_barrier): New.
21098
a65ef2ae 210992012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 21100 Roland McGrath <roland@hack.frob.com>
a65ef2ae 21101
2b942cb7 21102 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 21103 intermediate file deletion.
2b942cb7 21104 (generated): Add .symlist files.
a65ef2ae 21105
54b71e02
JM
211062012-05-03 Joseph Myers <joseph@codesourcery.com>
21107
21108 [BZ #13775]
21109 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
21110 Redirect under this condition.
21111 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21112 [__USE_GNU] (__dprintf_chk): Not under this condition.
21113 [__USE_GNU] (__vdprintf_chk): Likewise.
21114 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
21115 under this condition.
21116 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21117 [__USE_XOPEN2K8] (dprintf): Define under this condition.
21118 [__USE_XOPEN2K8] (vdprintf): Likewise.
21119 [__USE_GNU] (__dprintf_chk): Not under this condition.
21120 [__USE_GNU] (__vdprintf_chk): Likewise.
21121 [__USE_GNU] (dprintf): Likewise.
21122 [__USE_GNU] (vdprintf): Likewise.
21123
d3dfcc41
RM
211242012-05-03 Roland McGrath <roland@hack.frob.com>
21125
21126 * elf/Makefile (common-generated): Set this instead of generated for
21127 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
21128 $(all-built-dso)-derived lists.
21129
7ac30cc5
AJ
211302012-05-03 Andreas Jaeger <aj@suse.de>
21131
0c51e550
AJ
21132 * sysdeps/i386/fpu/libm-test-ulps: Update.
21133
7ac30cc5
AJ
21134 * FAQ: Removed.
21135 * FAQ.in: Likewise.
21136 * scripts/gen-FAQ.pl: Likewise.
21137 * manual/install.texi (Installation): Point to online location of
21138 FAQ.
21139 * Makefile (files-for-dist): Remove FAQ.
21140 (FAQ): Remove.
21141
d4c2917f
AM
211422012-05-02 Allan McRae <allan@archlinux.org>
21143
21144 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
21145 (LDFLAGS-reldepmod5.so): Likewise.
21146 (LDFLAGS-reldep6mod1.so): Likewise.
21147 (LDFLAGS-reldep6mod4.so): Likewise.
21148 (LDFLAGS-reldep8mod3.so): Likewise.
21149 (LDFLAGS-unload4mod1.so): Likewise.
21150 (LDFLAGS-unload4mod2.so): Likewise.
21151 (LDFLAGS-tst-initorder): Likewise.
21152 (LDFLAGS-tst-initordera2.so): Likewise.
21153 (LDFLAGS-tst-initordera3.so): Likewise.
21154 (LDFLAGS-tst-initordera4.so): Likewise.
21155 (LDFLAGS-tst-initorderb2.so): Likewise.
21156 (LDFLAGS-noload): Likewise.
21157 (LDFLAGS-next): Likewise.
21158 (LDFLAGS-order2mod1.so): Likewise.
21159 (LDFLAGS-order2mod2.so): Likewise.
21160 (LDFLAGS-tst-initorder2): Likewise.
21161 (LDFLAGS-tst-initorder2a.so): Likewise.
21162 (LDFLAGS-tst-initorder2b.so): Likewise.
21163 (LDFLAGS-tst-initorder2c.so): Likewise.
21164 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
21165
d77f993f
DM
211662012-05-02 David S. Miller <davem@davemloft.net>
21167
21168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21169
171a70b4
PP
211702012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
21171
21172 [BZ #14055]
21173 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
21174
0be196ad
AJ
211752012-05-02 Andreas Jaeger <aj@suse.de>
21176
21177 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
21178 since we manipulate rounding mode.
21179 (CPPFLAGS-test-idouble.c): Likewise.
21180 (CPPFLAGS-test-ifloat.c): Likewise.
21181 (CFLAGS-test-ldouble.c): Likewise.
21182 (CFLAGS-test-double.c): Likewise.
21183 (CFLAGS-test-float.c): Likewise.
21184 (CFLAGS-test-misc.c): Likewise.
21185 (CFLAGS-test-test-fenv.c): Likewise.
21186
4f9d04aa
AZ
211872012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21188
2b942cb7
RM
21189 [BZ #2550]
21190 [BZ #2570]
21191 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
21192 comparisons to determine direction to adjust input.
4f9d04aa 21193
82a79e7d
RM
211942012-05-01 Roland McGrath <roland@hack.frob.com>
21195
f5a01ca9
RM
21196 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
21197 output to the target.
21198
90fe4186
RM
21199 * scripts/localplt.awk: New file.
21200 * elf/Makefile ($(objpfx)check-localplt): Target removed.
21201 (check-localplt-CFLAGS): Variable removed.
21202 ($(all-built-dso:=.jmprel)): New static pattern rule.
21203 (generated): Add those targets.
21204 (localplt-built-dso): New variable.
21205 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
21206
21207 * elf/check-localplt.c: File removed.
21208
82397ed6
RM
21209 * scripts/check-execstack.awk: New file.
21210 * elf/Makefile ($(objpfx)check-execstack): Target removed.
21211 (check-execstack-CFLAGS): Variable removed.
21212 ($(objpfx)check-execstack.h): Target removed.
21213 ($(objpfx)execstack-default): New target.
21214 (generated): Add that instead of check-execstack.h.
21215 ($(all-built-dso:=.phdr)): New static pattern rule.
21216 (generated): Add those targets.
21217 * elf/check-execstack.c: File removed.
21218
82a79e7d
RM
21219 * scripts/check-textrel.awk: New file.
21220 * elf/Makefile ($(objpfx)check-textrel): Target removed.
21221 (check-textrel-CFLAGS): Variable removed.
21222 (all-built-dso): Use := to define.o
21223 ($(all-built-dso:=.dyn)): New static pattern rule.
21224 (generated): Add those targets.
21225 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
21226 * config.make.in (READELF): New substituted variable.
21227 * elf/check-textrel.c: File removed.
21228
62fde54f 212292012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 21230
615605c9
JM
21231 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21232 allow.
21233 * conform/data/ctype.h-data [C99-based standards] (isblank):
21234 Expect function.
21235 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
21236 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
21237 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21238 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
21239 Specify type. Require positive value.
21240 (EILSEQ): Likewise.
21241 (ERANGE): Likewise.
21242 [ISO || POSIX] (EILSEQ): Do not expect.
21243 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
21244 Specify type. Require positive value.
21245 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
21246 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
21247 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
21248 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
21249 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
21250 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
21251 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
21252 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
21253 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
21254 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
21255 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
21256 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
21257 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
21258 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
21259 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
21260 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
21261 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
21262 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
21263 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
21264 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
21265 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
21266 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
21267 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
21268 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
21269 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
21270 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
21271 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
21272 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
21273 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
21274 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
21275 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
21276 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
21277 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
21278 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
21279 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
21280 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
21281 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
21282 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
21283 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
21284 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
21285 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
21286 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
21287 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
21288 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
21289 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
21290 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
21291 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
21292 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
21293 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
21294 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
21295 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
21296 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
21297 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
21298 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
21299 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
21300 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
21301 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
21302 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
21303 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
21304 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
21305 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
21306 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
21307 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
21308 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
21309 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
21310 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
21311 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
21312 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
21313 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
21314 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
21315 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
21316 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
21317 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
21318 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
21319 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
21320 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
21321 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
21322 Require >= 2.
21323 (FLT_ROUNDS): Expect as macro, not constant.
21324 (FLT_MANT_DIG): Use macro-int-constant.
21325 (DBL_MANT_DIG): Likewise.
21326 (LDBL_MANT_DIG): Likewise.
21327 (FLT_DIG): Likewise.
21328 (DBL_DIG): Likewise.
21329 (LDBL_DIG): Likewise.
21330 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
21331 (DBL_MIN_EXP): Likewise.
21332 (LDBL_MIN_EXP): Likewise.
21333 (FLT_MAX_EXP): Use macro-int-constant.
21334 (DBL_MAX_EXP): Likewise.
21335 (LDBL_MAX_EXP): Likewise.
21336 (FLT_MAX_10_EXP): Likewise.
21337 (DBL_MAX_10_EXP): Likewise.
21338 (LDBL_MAX_10_EXP): Likewise.
21339 (FLT_MAX): Use macro-constant.
21340 (DBL_MAX): Likewise.
21341 (LDBL_MAX): Likewise.
21342 (FLT_EPSILON): Use macro-constant. Give upper bound.
21343 (DBL_EPSILON): Likewise.
21344 (LDBL_EPSILON): Likewise.
21345 (FLT_MIN): Likewise.
21346 (DBL_MIN): Likewise.
21347 (LDBL_MIN): Likewise.
21348 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
21349 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
21350 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
21351 [ISO11] (FLT_HAS_SUBNORM): Likewise.
21352 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
21353 [ISO11] (DBL_DECIMAL_DIG): Likewise.
21354 [ISO11] (FLT_DECIMAL_DIG): Likewise.
21355 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
21356 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
21357 [ISO11] (FLT_TRUE_MIN): Likewise.
21358 [ISO11] (LDBL_TRUE_MIN): Likewise.
21359 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21360 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
21361 (SCHAR_MIN): Use macro-int-constant. Specify type.
21362 (SCHAR_MAX): Likewise.
21363 (UCHAR_MAX): Likewise.
21364 (CHAR_MIN): Likewise.
21365 (CHAR_MAX): Likewise.
21366 (MB_LEN_MAX): Use macro-int-constant.
21367 (SHRT_MIN): Use macro-int-constant. Specify type.
21368 (SHRT_MAX): Likewise.
21369 (USHRT_MAX): Likewise.
21370 (INT_MAX): Likewise.
21371 (INT_MIN): Use macro-int-constant. Specify type. Make upper
21372 bound negative.
21373 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
21374 bound with "U".
21375 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21376 bound with "L".
21377 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
21378 bound negative. Suffix upper bound with "L".
21379 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21380 bound with "UL".
21381 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
21382 Specify type.
21383 [C99-based standards] (LLONG_MAX): Likewise.
21384 [C99-based standards] (ULLONG_MAX): Likewise.
21385 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
21386 == 0.
21387 [ISO11] (max_align_t): Require type.
21388 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21389
c9140a62
JM
21390 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
21391 from $CFLAGS, without defining away __attribute__ calls.
21392 (checknamespace): Use $CFLAGS_namespace.
21393
9af0bf29
JM
21394 * conform/conformtest.pl (@keywords): Only include C99 keywords
21395 for standards based on C99 or C11.
21396
343222a2
JM
21397 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
21398 Disable tests.
21399 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
21400 UNIX98]: Likewise.
21401
661f8cf0
JM
21402 * conform/conformtest.pl: Handle "macro-int-constant" and test for
21403 usability of symbols in #if.
21404
ee74b9cb
JM
21405 * conform/conformtest.pl: If macro or constant types start
21406 "promoted:", expect the symbol to be of the following type
21407 promoted by the integer promotions.
62fde54f 21408
aafc49b3
JM
21409 * conform/conformtest.pl: Parse all "constant" and "macro" lines
21410 in one place. Also handle "macro-constant".
21411
fefdf574
JM
21412 * conform/conformtest.pl: Only accept expected macro values with
21413 "==". Parse all "macro" lines in one place.
21414 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
21415
f2d922fe
JM
21416 * conform/conformtest.pl: Handle braced types on "constant" lines
21417 instead of handling "typed-constant".
21418 * conform/data/signal.h-data: Use "constant" instead of
21419 "typed-constant".
21420
d22956c9
JM
21421 * conform/conformtest.pl: Handle "optional-" at start of lines in
21422 one place rather than duplicating several cases. Handle each
21423 format of "macro" line with initial "optional-".
21424
028e2e38
JM
21425 * conform/conformtest.pl: Only accept expected constant or
21426 optional-constant values with "==". Parse all "constant" lines in
21427 one place. Parse all "optional-constant" lines in one place.
21428 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
21429 * conform/data/fmtmsg.h-data: Likewise.
21430 * conform/data/netinet/in.h-data: Likewise.
21431 * conform/data/tar.h-data: Likewise.
21432 * conform/data/limits.h-data: Use "==" form on "constant" and
21433 "optional-constant" lines.
21434
1b8f2850
JM
21435 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
21436 Use -std=c99 for XOPEN2K.
21437 (@knownproblems): Remove.
21438 (newtoken): Don't check %isknown.
21439
a05a144b
JM
21440 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
21441 Do not expect macro.
21442 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
21443 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
21444 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
21445 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
21446 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
21447 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
21448 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
21449 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
21450 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
21451 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
21452 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
21453 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
21454 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
21455 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
21456 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
21457 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
21458 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
21459 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
21460 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
21461 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
21462 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
21463 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
21464 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
21465 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
21466 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
21467 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
21468 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
21469 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
21470 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
21471 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
21472 [XPG3] (acosh): Likewise.
21473 [XPG3] (asinh): Likewise.
21474 [XPG3] (atanh): Likewise.
21475 [XPG3] (cbrt): Likewise.
21476 [XPG3] (expm1): Likewise.
21477 [XPG3] (ilogb): Likewise.
21478 [XPG3] (log1p): Likewise.
21479 [XPG3] (logb): Likewise.
21480 [XPG3] (nextafter): Likewise.
21481 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
21482 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
21483 [XPG3] (remainder): Likewise.
21484 [XPG3] (rint): Likewise.
21485 [XPG3 || XPG4 || UNIX98] (round): Likewise.
21486 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
21487 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
21488 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
21489 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
21490 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
21491 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
21492 [UNIX98 || XOPEN2K] (scalb): Expect.
21493 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
21494 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
21495 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
21496 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
21497 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
21498 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
21499 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
21500 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
21501 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
21502 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
21503 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
21504 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
21505 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
21506 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
21507 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
21508 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
21509 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
21510 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
21511 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
21512 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
21513 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
21514 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
21515 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
21516 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
21517 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
21518 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
21519 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
21520 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
21521 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
21522 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
21523 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
21524 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
21525 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
21526 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
21527 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
21528 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
21529 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
21530 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
21531 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
21532 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
21533 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
21534 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
21535 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
21536 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
21537 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
21538 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
21539 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
21540 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
21541 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
21542 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
21543 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
21544 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
21545 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
21546 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
21547 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
21548 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
21549 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
21550 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
21551 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
21552 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
21553 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
21554 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
21555 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
21556 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
21557 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
21558 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
21559 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
21560 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
21561 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
21562 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
21563 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
21564 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
21565 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
21566 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
21567 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
21568 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
21569 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
21570 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
21571 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
21572 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
21573 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
21574 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
21575 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
21576 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
21577 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
21578 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
21579 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
21580 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
21581 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
21582 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
21583 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
21584 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
21585 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
21586 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
21587 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
21588 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
21589 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
21590 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
21591 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
21592 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
21593 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
21594 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
21595 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
21596 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
21597 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
21598 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
21599 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
21600 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
21601 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
21602 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
21603 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
21604 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
21605 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
21606 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
21607 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
21608 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
21609 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
21610 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
21611 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
21612 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
21613 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
21614 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
21615 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
21616 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
21617 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
21618 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
21619 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
21620 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
21621 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
21622 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
21623 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
21624 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
21625 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
21626 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
21627 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
21628 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
21629 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
21630
73c5ebe3
JM
21631 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
21632 _XOPEN_SOURCE_EXTENDED for XPG4.
21633
39c33b6c
JM
21634 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
21635
62fde54f
JM
21636 * Makeconfig (localtime): Remove variable.
21637 (inst_localtime-file): Likewise.
21638
0741d64c
AS
216392012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21640
21641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
21642 Update.
21643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21644 Update.
21645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
21646 Update.
21647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21648 Update.
21649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
21650 Update.
21651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
21652 Update.
21653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21654 Update.
21655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
21656 Update.
21657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21658 Update.
21659
7cb029ee
JM
216602012-05-01 Joseph Myers <joseph@codesourcery.com>
21661
21662 [BZ #2550]
21663 [BZ #2570]
21664 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
21665 comparisons to determine direction to adjust input.
21666 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21667 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
21668 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
21669 Likewise.
21670 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
21671 Likewise.
21672 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21673 Likewise.
21674 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21675 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21676 Likewise.
21677 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21678 Likewise.
21679 * math/libm-test.inc (nexttoward_test): Add more tests.
21680
412bd966
AS
216812012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21682
21683 [BZ #14040]
21684 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
21685 in version GLIBC_2.1, not GLIBC_2.0.
21686 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
21687 Likewise.
21688
9568c0c2
JM
216892012-04-30 Joseph Myers <joseph@codesourcery.com>
21690
adfbc8ac
JM
21691 [BZ #13942]
21692 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
21693 (1 - x) * (1 + x).
21694 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21695 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
21696 * math/libm-test.inc (acos_test): Add more tests.
21697 (asin_test): Likewise.
21698 * sysdeps/i386/fpu/libm-test-ulps: Update.
21699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21700
5ba3cc69
JM
21701 [BZ #14034]
21702 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
21703 of square root.
21704 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
21705 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21706 * math/libm-test.inc (acos_test_tonearest): New function.
21707 (acos_test_towardzero): Likewise.
21708 (acos_test_downward): Likewise.
21709 (acos_test_upward): Likewise.
21710 (asin_test_tonearest): Likewise.
21711 (asin_test_towardzero): Likewise.
21712 (asin_test_downward): Likewise.
21713 (asin_test_upward): Likewise.
21714 (main): Call the new functions.
21715 * sysdeps/i386/fpu/libm-test-ulps: Update.
21716 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21717
9568c0c2
JM
21718 [BZ #13884]
21719 [BZ #13924]
21720 * math/e_exp10.c: Include <float.h>.
21721 (__ieee754_exp10): Handle underflow here rather than multiplying
21722 large negative argument by M_LN10.
21723 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
21724 of __ieee754_expf.
21725 * math/e_exp10l.c: Include <float.h>.
21726 (__ieee754_exp10l): Handle underflow here rather than multiplying
21727 large negative argument by M_LN10l.
21728 * math/libm-test.inc (exp10_test): Add another test. Do not allow
21729 spurious overflow exception on underflow.
21730
5ac3ea17
MP
217312012-04-29 Marek Polacek <polacek@redhat.com>
21732
21733 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
21734 (__fortify_function): New macro.
21735 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
21736 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
21737 __extern_always_inline.
21738 * libio/bits/stdio2.h: Likewise.
21739 * libio/bits/stdio.h: Likewise.
21740 * string/string.h: Likewise.
21741 * string/bits/string3.h: Likewise.
21742 * include/stdio.h: Likewise.
21743 * stdlib/bits/stdlib.h: Likewise.
21744 * stdlib/stdlib.h: Likewise.
21745 * rt/bits/mqueue2.h: Likewise.
21746 * rt/mqueue.h: Likewise.
21747 * posix/bits/unistd.h: Likewise.
21748 * posix/unistd.h: Likewise.
21749 * io/bits/poll2.h: Likewise.
21750 * io/bits/fcntl2.h: Likewise.
21751 * io/fcntl.h: Likewise.
21752 * io/sys/poll.h: Likewise.
21753 * misc/bits/syslog.h: Likewise.
21754 * misc/bits/syslog-ldbl.h: Likewise.
21755 * misc/sys/syslog.h: Likewise.
21756 * socket/bits/socket2.h: Likewise.
21757 * socket/sys/socket.h: Likewise.
21758 * debug/tst-chk1.c: Likewise.
21759 * wcsmbs/bits/wchar2.h: Likewise.
21760 * wcsmbs/bits/wchar-ldbl.h: Likewise.
21761 * wcsmbs/wchar.h: Likewise.
21762
ecf0ebfb
AJ
217632012-04-29 Andreas Jaeger <aj@suse.de>
21764
21765 * Makerules (tests): Remove enable-check-abi protection.
21766 (check-abi-warn): Remove.
21767 (check-abi-%): Remove check-abi-warn usage.
21768
21769 * configure.in: Remove check-abi configure option.
21770 * configure: Regenerated.
21771 * config.make.in (enable-check-abi): Remove.
21772
6d5c57fa
AS
217732012-04-28 Andreas Schwab <schwab@linux-m68k.org>
21774
24c5d07e 21775 [BZ #14033]
ded5180a
AS
21776 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
21777 double functions to double *_finite functions.
21778
7e0d315d
AS
21779 [BZ #13941]
21780 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
21781 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
21782 LDBL_MIN_EXP.
21783 * stdio-common/Makefile (tests): Add tst-sprintf3.
21784 * stdio-common/tst-sprintf3.c: New file.
21785
6d5c57fa
AS
21786 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
21787 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
21788
0749ff8b
JM
217892012-04-28 Joseph Myers <joseph@codesourcery.com>
21790
21791 * conform/conformtest.pl: Remove duplicate typed-constant
21792 handling.
21793
8dbd5d7b
DM
217942012-04-28 David S. Miller <davem@davemloft.net>
21795
21796 * Makerules (%.abilist): Add vpath on sysdep_dirs.
21797 (check-abi-%): Remove AWK script prerequisite and explicit
21798 abilist directory.
21799 (check-abi): Rewrite to just diff the symlist with the abilist.
21800 (config-tls, config-abi-config): Delete, no longer used.
21801 (update-abi-%): Remove AWK script and explicit abilist directory.
21802 (update-abi): Rewrite to simply compare and conditionally copy the
21803 symlist and the sysdep abilist file. Remove update-abi-config
21804 checks.
21805 * abilist/ld.abilist: Remove.
21806 * abilist/libBrokenLocale.abilist: Remove.
21807 * abilist/libanl.abilist: Remove.
21808 * abilist/libcrypt.abilist: Remove.
21809 * abilist/libdl.abilist: Remove.
21810 * abilist/librt.abilist: Remove.
21811 * abilist/libthread_db.abilist: Remove.
21812 * abilist/libutil.abilist: Remove.
21813 * scripts/extract-abilist.awk: Remove.
21814 * scripts/merge-abilist.awk: Remove.
21815 * sysdeps/generic/libcidn.abilist: New file.
21816 * sysdeps/generic/libnss_compat.abilist: New file.
21817 * sysdeps/generic/libnss_db.abilist: New file.
21818 * sysdeps/generic/libnss_dns.abilist: New file.
21819 * sysdeps/generic/libnss_files.abilist: New file.
21820 * sysdeps/generic/libnss_hesiod.abilist: New file.
21821 * sysdeps/generic/libnss_nis.abilist: New file.
21822 * sysdeps/generic/libnss_nisplus.abilist: New file.
21823 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
21824 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
21825 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
21826 file.
21827 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
21828 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
21829 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
21830 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
21831 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
21832 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
21833 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
21834 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
21835 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
21836 file.
21837 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
21838 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
21839 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
21840 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
21841 file.
21842 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
21843 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
21844 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
21845 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
21846 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
21847 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
21848 file.
21849 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
21850 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
21851 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
21852 file.
21853 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
21854 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
21855 New file.
21856 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
21857 New file.
21858 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
21859 New file.
21860 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
21861 New file.
21862 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
21863 New file.
21864 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
21865 New file.
21866 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
21867 New file.
21868 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
21869 New file.
21870 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
21871 New file.
21872 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
21873 New file.
21874 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
21875 New file.
21876 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
21877 New file.
21878 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
21879 New file.
21880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
21881 file.
21882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21883 New file.
21884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21885 New file.
21886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
21887 file.
21888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21889 New file.
21890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21891 New file.
21892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
21893 file.
21894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21895 New file.
21896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21897 New file.
21898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21899 New file.
21900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21901 New file.
21902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21903 New file.
21904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21905 New file.
21906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
21907 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
21908 file.
21909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21910 New file.
21911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
21912 file.
21913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
21914 file.
21915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
21916 file.
21917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
21918 file.
21919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
21920 file.
21921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21922 New file.
21923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
21924 file.
21925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
21926 file.
21927 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21928 New file.
21929 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
21930 file.
21931 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
21932 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
21933 file.
21934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21935 New file.
21936 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
21937 file.
21938 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
21939 file.
21940 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
21941 file.
21942 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
21943 file.
21944 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
21945 file.
21946 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21947 New file.
21948 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
21949 file.
21950 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21951 file.
21952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21953 New file.
21954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21955 file.
21956 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21957 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
21958 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
21959 file.
21960 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
21961 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
21962 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
21963 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
21964 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
21965 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
21966 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
21967 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
21968 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
21969 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
21970 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
21971 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
21972 file.
21973 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21974 New file.
21975 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
21976 file.
21977 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
21978 file.
21979 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
21980 file.
21981 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
21982 file.
21983 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
21984 file.
21985 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21986 New file.
21987 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21988 New file.
21989 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21990 file.
21991 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21992 New file.
21993 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21994 file.
21995 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21996 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21997 file.
21998 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21999 New file.
22000 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
22001 file.
22002 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
22003 file.
22004 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
22005 file.
22006 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
22007 file.
22008 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
22009 file.
22010 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22011 New file.
22012 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22013 New file.
22014 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
22015 file.
22016 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22017 New file.
22018 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
22019 file.
22020
41d73a1b
JM
220212012-04-28 Joseph Myers <joseph@codesourcery.com>
22022
22023 * conform/conformtest.pl: Fix typo in handling typed-constant from
22024 allow-header.
22025
28aeeda4
JM
220262012-04-27 Joseph Myers <joseph@codesourcery.com>
22027
adae8f5e
JM
22028 * README: Cut down references to pre-2.6 Linux kernels and
22029 Linuxthreads. Update lists of configurations in libc and ports
22030 and sort alphabetically. Say "or newer" with Linux kernel version
22031 requirements.
22032
28aeeda4
JM
22033 * config.h.in [IS_IN_build]: Allow compiling without optimization.
22034
a462cb63
RA
220352012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22036
22037 [BZ #887]
22038 * math/libm-test.inc (logb_test_downward): New test to expose
22039 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
22040 rounding mode.
22041
6ad3493e
JM
220422012-04-27 Joseph Myers <joseph@codesourcery.com>
22043
22044 [BZ #14027]
22045 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
22046 to be done.
22047 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
22048 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
22049
2ce4f015
JM
220502012-04-26 Joseph Myers <joseph@codesourcery.com>
22051
5aeb141a
JM
22052 * sysdeps/unix/i386/brk.S: Remove file.
22053 * sysdeps/unix/i386/dl-brk.S: Likewise.
22054 * sysdeps/unix/i386/pipe.S: Likewise.
22055 * sysdeps/unix/i386/sigreturn.S: Likewise.
22056 * sysdeps/unix/i386/syscall.S: Likewise.
22057 * sysdeps/unix/i386/vfork.S: Likewise.
22058 * sysdeps/unix/i386/wait.S: Likewise.
22059
7143acae
JM
22060 * sysdeps/unix/common/tcsendbrk.c: Move to ...
22061 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
22062
2ce4f015
JM
22063 * configure.in (arm*-none*): Do not allow without
22064 --enable-hacker-mode.
22065 (netbsd*): Remove case setting base_os.
22066 (386bsd*): Likewise.
22067 (freebsd*): Likewise.
22068 (bsdi*): Likewise.
22069 (osf*): Likewise.
22070 (sunos*): Likewise.
22071 (ultrix*): Likewise.
22072 (newsos*): Likewise.
22073 (dynix*): Likewise.
22074 (*bsd*): Likewise.
22075 (sysv*): Likewise.
22076 (isc*): Likewise.
22077 (esix*): Likewise.
22078 (sco*): Likewise.
22079 (minix*): Likewise.
22080 (irix4*): Likewise.
22081 (irix6*): Likewise.
22082 (solaris[2-9]*): Likewise.
22083 (none): Likewise.
22084 * configure: Regenerated.
22085
0ac229c8
AZ
220862012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22087
22088 [BZ #11521]
22089 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
22090 overflow or cancellation in calculating denominator.
22091 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
22092 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
22093 down expression to avoid unexpected rounding in newer GCCs.
22094 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
22095
33f244f4
DM
220962012-04-26 David S. Miller <davem@davemloft.net>
22097
22098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
22099 long-double compat symbols.
22100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
22104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
22106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
22107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
22108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
22109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
22111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
22112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22113
cfa1f3e8
DM
221142012-04-25 David S. Miller <davem@davemloft.net>
22115
22116 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
22117 HWCAP_* values only after the memory barriers have been defined.
22118 (atomic_full_barrier): Define.
22119 (atomic_read_barrier): Define.
22120 (atomic_write_barrier): Define.
22121
6e236b92
SP
221222012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22123
22124 * shlib-versions: Add libgcc_s version information.
22125 * sysdeps/generic/libgcc_s.h: Remove.
22126 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
22127 libgcc_s.h.
22128 * sysdeps/gnu/unwind-resume.c: Likewise.
22129 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
22130
aab39a09
DM
221312012-04-25 David S. Miller <davem@davemloft.net>
22132
22133 * sysdeps/unix/sparc/brk.S: Delete.
22134 * sysdeps/unix/sparc/dl-brk.S: Delete.
22135 * sysdeps/unix/sparc/pipe.S: Delete.
22136 * sysdeps/unix/sparc/sysdep.S: Delete.
22137 * sysdeps/unix/sparc/sysdep.h: Delete.
22138 * sysdeps/unix/sparc/vfork.S: Delete.
22139 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
22140 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
22141 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
22142 ret_ERRVAL, r0, r1, MOVE): Define.
22143 (JUMPTARGET): Remove.
22144 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
22145 sysdeps/unix/sparc/sysdep.h
22146 (ENTRY, END): Remove.
22147 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22148
a3cc4f48
JM
221492012-04-25 Joseph Myers <joseph@codesourcery.com>
22150
2ed8cda2
JM
22151 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
22152 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
22153 -DIS_IN_build.
22154
35d76d59
JM
22155 * timezone/README: Update upstream location and email address for
22156 tzcode and tzdata.
22157 * timezone/zdump.c: Update from tzcode 2012b.
22158 * timezone/zic.c: Likewise.
22159
a3cc4f48
JM
22160 * configure.in (libc_cv_as_needed): Remove test.
22161 * configure: Regenerated.
22162 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
22163 conditional definition.
22164 [$(have-as-needed) != yes] (no-as-needed): Likewise.
22165 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
22166 * config.make.in (have-as-needed): Remove variable.
22167
ceab42c3
SP
221682012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22169 Paul Pluzhnikov <ppluzhnikov@google.com>
22170
22171 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
22172 strings correctly.
22173
3ce2865f
CLT
221742012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
22175
22176 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
22177 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
22178 * sysdeps/sh/strlen.S: Likewise.
22179
f37e0d68
JM
221802012-04-24 Joseph Myers <joseph@codesourcery.com>
22181
ae186e9a
JM
22182 * sysdeps/unix/fork.S: Remove file.
22183 * sysdeps/unix/i386/fork.S: Likewise.
22184 * sysdeps/unix/sparc/fork.S: Likewise.
22185
b96914af
JM
22186 * sysdeps/unix/system.c: Remove file.
22187 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
22188
f37e0d68
JM
22189 * sysdeps/unix/getegid.S: Remove file.
22190 * sysdeps/unix/geteuid.S: Likewise.
22191
87ef29ca
RM
221922012-04-24 Roland McGrath <roland@hack.frob.com>
22193
83bcd236
RM
22194 * scripts/check-localplt.awk: New file.
22195 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
22196 of diff.
22197 * scripts/data/localplt-generic.data: Add a comment.
22198
87ef29ca
RM
22199 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
22200 NODE when __dir_mkfile failed.
22201 * sysdeps/mach/hurd/symlinkat.c: Likewise.
22202 Reported by Ludovic Courtès <ludo@gnu.org>.
22203
e5a6e567
AJ
222042012-04-24 Andreas Jaeger <aj@suse.de>
22205
22206 * Makerules (common-clean): Also remove gen-as-const-headers
22207 files.
22208
c1820385
JM
222092012-04-24 Joseph Myers <joseph@codesourcery.com>
22210
22211 * Makerules (native-compile): Do not change working directory for
22212 build. Use $(OUTPUT_OPTION) in command.
22213 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
22214
94e02fc4
AZ
222152012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22216
22217 [BZ #13886]
22218 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
22219 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
22220 * math/libm-test.inc (floor_test): Add more tests.
22221 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
22222
3a533ca3
JM
222232012-04-24 Joseph Myers <joseph@codesourcery.com>
22224
940ab4b3
JM
22225 * sysdeps/unix/getdents.c: Remove file.
22226 * sysdeps/unix/sysv/getdents.c: Likewise.
22227 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
22228
90e037bd
JM
22229 * sysdeps/unix/syscalls.list (madvise): Add syscall from
22230 sysdeps/unix/mman/syscalls.list.
22231 (mmap): Likewise.
22232 (mprotect): Likewise.
22233 (msync): Likewise.
22234 (munmap): Likewise.
22235 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
22236 * sysdeps/unix/mman/syscalls.list: Remove.
22237 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
22238
3a533ca3
JM
22239 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
22240 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
22241 * configure: Regenerated.
22242 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
22243 $(libgcc_s_suffix).
22244 * config.make.in (libgcc_s_suffix): Remove variable.
22245
1ad743de
JM
222462012-04-23 Joseph Myers <joseph@codesourcery.com>
22247
4ad451e2
JM
22248 * sysdeps/unix/sysv/gethostname.c: Move to ...
22249 * sysdeps/posix/gethostname.c: ... here.
22250
5e37ce39
JM
22251 * sysdeps/unix/execve.S: Remove file.
22252
1ad743de
JM
22253 * sysdeps/unix/_exit.S: Remove file.
22254
4e681b5b
AJ
222552012-04-23 Andreas Jaeger <aj@suse.de>
22256
22257 [BZ #13739]
22258 * manual/Makefile: Remove make dist support, there's no
22259 need for a stand-alone documentation tar ball.
22260 (TEXI2DVI): Define always, it's not in Makeconfig.
22261 (dist): Removed.
22262 (tar-it): Removed.
22263 (edition): Removed.
22264 (glibc-doc-$(edition).tar): Removed
22265 (%.Z): Removed.
22266 (%.gz): Removed.
22267 (%.uu): Removed.
22268 (ETAGS): Remove, it's in Makeconfig.
22269 (move-if-change): Remove, it's in Makeconfig.
22270
38686a03 222712012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
22272
22273 [BZ #13970]
22274 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
22275 (strtod, strtof, strtold, strtol, strtoul, strtoq)
22276 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
22277 (strtod_l, strtof_l, strtold_l): Remove __wur.
22278 It is not necessarily an error to ignore strtol's return value.
22279 One can reliably look at the stored endptr to decide whether
22280 the number had valid syntax.
22281
7c0616fa
AJ
222822012-04-21 Andreas Jaeger <aj@suse.de>
22283
803cb6b7 22284 [BZ #13739]
7c0616fa
AJ
22285 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
22286
b0fe253f
JM
222872012-04-21 Joseph Myers <joseph@codesourcery.com>
22288
22289 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
22290 * sysdeps/unix/sysv/Versions: Remove file.
22291
8280f22d
MT
222922012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
22293
22294 [BZ #13927]
22295 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22296
75ce411f 222972012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
22298
22299 [BZ #7064]
22300 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
22301 version from __vm86.
22302
097d59fa
JM
223032012-04-20 Joseph Myers <joseph@codesourcery.com>
22304
a90f3bcb
JM
22305 * sysdeps/unix/common/lxstat.c: Remove file.
22306 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
22307
edc7ea78
JM
22308 * sysdeps/unix/sysv/Makefile: Remove file.
22309
cb78c221
JM
22310 * sysdeps/unix/sysv/direct.h: Remove file.
22311
efa6a45f
JM
22312 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
22313 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
22314 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
22315 * sysdeps/unix/sysv/bits/signum.h: Likewise.
22316 * sysdeps/unix/sysv/bits/stat.h: Likewise.
22317 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
22318 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
22319
9c9f2d0c
JM
22320 * sysdeps/unix/sysv/setrlimit.c: Remove file.
22321
4541c83b
JM
22322 * sysdeps/unix/xmknod.c: Remove file.
22323 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
22324
f5d153a0
JM
22325 * sysdeps/unix/sysv/settimeofday.c: Remove file.
22326
aa746595
JM
22327 * sysdeps/unix/sysv/i386/time.S: Remove file.
22328
cce5905e
JM
22329 * sysdeps/unix/fxstat.c: Remove file.
22330 * sysdeps/unix/xstat.c: Likewise.
22331 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
22332
37fa3841
JM
22333 * sysdeps/unix/sysv/sigaction.c: Remove file.
22334
ff1962a3
JM
22335 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
22336 (sysdep_headers): Remove variable.
22337 [termio.h not in sysdep_headers] (generated): Likewise.
22338 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
22339 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
22340 * sysdeps/unix/sysv/tcdrain.c: Likewise.
22341 * sysdeps/unix/sysv/tcflow.c: Likewise.
22342 * sysdeps/unix/sysv/tcflush.c: Likewise.
22343 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
22344 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
22345 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
22346 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
22347 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
22348
e7740d31
JM
22349 * sysdeps/unix/siglist.c: Remove file.
22350
ee06f18b
JM
22351 * sysdeps/unix/getppid.S: Remove file.
22352
097d59fa
JM
22353 * sysdeps/unix/mkdir.c: Remove file.
22354 * sysdeps/unix/rmdir.c: Likewise.
22355
ff3d51ec
AS
223562012-04-19 Andreas Schwab <schwab@linux-m68k.org>
22357
22358 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
22359 ERR_MAX value.
22360 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
22361 errlist-compat value.
22362
50f81fd7
DM
223632012-04-18 David S. Miller <davem@davemloft.net>
22364
22365 * sysdeps/generic/memcopy.h (reg_char): Delete.
22366 * debug/strcat_chk.c: Use char, not reg_char.
22367 * debug/strcpy_chk.c: Likewise.
22368 * debug/strncat_chk.c: Likewise.
22369 * debug/strncpy_chk.c: Likewise.
22370 * string/memchr.c: Likewise.
22371 * string/memrchr.c: Likewise.
22372 * string/rawmemchr.c: Likewise.
22373 * string/strcat.c: Likewise.
22374 * string/strchr.c: Likewise.
22375 * string/strchrnul.c: Likewise.
22376 * string/strcmp.c: Likewise.
22377 * string/strcpy.c: Likewise.
22378 * string/strncat.c: Likewise.
22379 * string/strncmp.c: Likewise.
22380 * string/strncpy.c: Likewise.
22381
8ff41c46
WS
223822012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22383
22384 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
22385 __builtin_memcopy is called when src and dest ranges are known to not
22386 overlap.
22387
6b652f46
WS
223882012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22389
22390 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
22391 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
22392 fwd_align_merge macro call.
22393 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
22394 bwd_align_merge macro call.
22395 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22396
b282631e
WS
223972012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22398
22399 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
22400 bwd_align_merge macros.
22401 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
22402 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
22403 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22404
95aa737c
DM
224052012-04-18 David S. Miller <davem@davemloft.net>
22406
22407 * sysdeps/sparc/sparc64/memcopy.h: Delete.
22408
7a99a614
AJ
224092012-04-18 Andreas Jaeger <aj@suse.de>
22410
22411 [BZ# 6794]
22412 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
22413 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
22414 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22415
22416 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
22417 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
22418 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22419
22420 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
22421 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
22422 Adjust for changed ldbl-128 files.
22423
22424 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
22425 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
22426 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22427
e5270c23
DM
224282012-04-17 David S. Miller <davem@davemloft.net>
22429
22430 * sysdeps/sparc/sparc32/memcopy.h: Delete.
22431
fb5e92c9
AS
224322012-04-17 Andreas Schwab <schwab@linux-m68k.org>
22433
22434 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
22435 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
22436 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
22437 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
22438 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22439 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
22440
76da7265
AZ
224412012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22442
22443 [BZ #6794]
22444 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
22445 * math/libm-test.inc: Add ilogb errno and exception tests.
22446 * math/w_ilogb.c: New file: ilogb wrapper.
22447 * math/w_ilogbf.c: New file: ilogbf wrapper.
22448 * math/w_ilogbl.c: New file: ilogbl wrapper.
22449 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
22450 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
22451 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
22452 exception being thrown with 0.0 as argument.
22453 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
22454 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
22455 exception being thrown with 0.0 as argument.
22456 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
22457 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22458 exception being thrown with 0.0 as argument.
22459 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
22460 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22461 exception being thrown with 0.0 as argument.
22462 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
22463 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 22464 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
22465 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
22466 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
22467 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
22468 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
22469 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
22470 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
22471
0396e69d
PB
224722012-04-17 Petr Baudis <pasky@ucw.cz>
22473
22474 * include/sys/uio.h: Change __vector to __iovec to avoid clash
22475 with altivec.
22476
750b5926
MP
224772012-04-16 Marek Polacek <polacek@redhat.com>
22478
22479 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
22480
751728a1
MP
224812012-04-16 Marek Polacek <polacek@redhat.com>
22482
22483 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
22484 operands of fdivp instruction.
22485
34a27407
L
224862012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22487
22488 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
22489 * elf/tst-auditmod3b.c: Likewise.
22490 * elf/tst-auditmod4b.c: Likewise.
22491 * elf/tst-auditmod5b.c: Likewise.
22492 * elf/tst-auditmod6b.c: Likewise.
22493 * elf/tst-auditmod6c.c: Likewise.
22494 * elf/tst-auditmod7b.c: Likewise.
22495 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
22496 * sysdeps/x86_64/preconfigure.in: Likewise.
22497 * sysdeps/x86_64/preconfigure: Regenerated.
22498
7e73e17d
L
224992012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22500
22501 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
22502 __ILP32__.
22503
c7a6ab72
AB
225042012-04-13 Antoine Balestrat <merkil33@gmail.com>
22505
22506 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22507 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
22508
a9e8e0e0
CL
225092012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
22510
22511 [BZ #13973]
22512 * locale/iso-639.def: Fix gl language name. Spotted by
22513 Yaron Shahrabani.
22514
ec98af7d
RM
225152012-04-12 Roland McGrath <roland@hack.frob.com>
22516
22517 [BZ #2074]
22518 * libio/libio.h (__io_write_fn): Update comment.
22519
247c3ede
PB
225202012-04-12 Petr Baudis <pasky@ucw.cz>
22521
22522 [BZ #2074]
22523 * stdio.texi (Hook Functions): The user provided writer function
22524 is not allowed to return -1.
22525
55939d6d
DM
225262012-04-11 David S. Miller <davem@davemloft.net>
22527
22528 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22529
90020f5a
MF
225302012-04-11 Mike Frysinger <vapier@gentoo.org>
22531
22532 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
22533 Add a leading slash to rtkaio.
22534
288f9098
JM
225352012-04-11 Jim Meyering <meyering@redhat.com>
22536
90020f5a
MF
22537 [BZ #11959]
22538 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
22539 It is not necessarily an error to ignore fwrite's return
22540 value. One can reliably use ferror to test for errors after
22541 the fact.
288f9098 22542
4be2b570
L
225432012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22544
22545 * bits/types.h (__snseconds_t): New type.
22546 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
22547
22548 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
22549 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22550 (__SNSECONDS_T_TYPE): Likewise.
22551 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22552 (__SNSECONDS_T_TYPE): Likewise.
22553 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22554 (__SNSECONDS_T_TYPE): Likewise.
22555
288f9098 225562012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
22557
22558 [BZ #2636]
22559 * manual/time.texi (Processor Time): Return type of times is
22560 elapsed real time since an arbitrary point in the past.
22561 (CPU Time): Move CLK_TCK from here...
22562 (Processor Time): ...to here. Correct description.
22563 * manual/conf.texi (Constants for Sysconf): Correct description of
22564 _SC_CLK_TCK.
22565
d7dd4413
DM
225662012-04-10 David S. Miller <davem@davemloft.net>
22567
22568 [BZ #13967]
22569 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
22570 where the is a gap between DT_REL(A) and DT_JMPREL.
22571
b46068fc
L
225722012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22573
22574 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
22575 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22576 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22577
73d65cc3
SP
225782012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22579
22580 * elf/dl-support.c (_dl_inhibit_cache): New variable.
22581 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
22582 (dl_main): Handle --inhibit-cache.
22583 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
22584 _dl_inhibit_cache.
22585 * elf/dl-load.c (_dl_map_object): Use it.
22586 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
22587
bcc8d661
JM
225882012-04-09 Joseph Myers <joseph@codesourcery.com>
22589
8f9a2fae
JM
22590 [BZ #13872]
22591 * sysdeps/i386/fpu/e_powl.S (p78): New object.
22592 (__ieee754_powl): Saturate large exponents rather than testing for
22593 overflow of y*log2(x).
22594 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22595 * math/libm-test.inc (pow_test): Do not permit spurious overflow
22596 exceptions.
22597
bcc8d661
JM
22598 [BZ #11521]
22599 * math/s_ctan.c: Include <float.h>.
22600 (__ctan): Avoid internal overflow or cancellation in calculating
22601 denominator.
22602 * math/s_ctanf.c: Likewise.
22603 * math/s_ctanl.c: Likewise.
22604 * math/s_ctanh.c: Likewise.
22605 * math/s_ctanhf.c: Likewise.
22606 * math/s_ctanhl.c: Likewise.
22607 * math/libm-test.inc (ctan_test): Add more tests.
22608 (ctanh_test): Likewise.
22609 * sysdeps/i386/fpu/libm-test-ulps: Update.
22610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22611
823fbbb4
AJ
226122012-04-09 Andreas Jaeger <aj@suse.de>
22613
03879793
AJ
22614 [BZ #6894]
22615 * manual/filesys.texi (Directory Entries): Mention that d_namlen
22616 is an optional BSD extension.
22617
823fbbb4
AJ
22618 [BZ #10254]
22619 * manual/stdio.texi (Opening Streams): Document additional fopen
22620 parameters.
22621
8de131cb
RM
226222012-04-09 Roland McGrath <roland@hack.frob.com>
22623
22624 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
22625 %eax without telling the compiler.
22626
c0ed9d7d
CD
226272012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
22628
22629 [BZ # 13963]
22630 * manual/install.texi: Use sourceware.org.
22631
c483f6b4
JM
226322012-04-09 Joseph Myers <joseph@codesourcery.com>
22633
d7dd9453
JM
22634 [BZ #13873]
22635 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
22636 (__ieee754_pow): Generate overflow and underflow using huge*huge
22637 and tiny*tiny rather than just returning constant infinity or zero
22638 for large exponents.
22639 * math/libm-test.inc (pow_test): Require overflow exceptions for
22640 applicable cases of large exponents.
22641
c483f6b4
JM
22642 [BZ #706]
22643 * sysdeps/i386/fpu/e_pow.S (p10): New object.
22644 (__ieee754_pow): Use iterative multiplication algorithm only for
22645 integer exponents with absolute value below 1024. Check for odd
22646 integer exponents when using algorithm for real exponents.
22647 * math/libm-test.inc (pow_test): Add more tests.
22648 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22649
d2de7579
JM
226502012-04-08 Joseph Myers <joseph@codesourcery.com>
22651
22652 [BZ #13705]
22653 * math/libm-test.inc (exp_test): Do not allow overflow exception
22654 on underflow test.
22655
f77f1232
AJ
226562012-04-08 Aurelien Jarno <aurelien@aurel32.net>
22657
22658 [BZ #13705]
22659 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
22660 instead of __kernel_standard_f.
22661
3884932b
MF
226622012-04-08 Mike Frysinger <vapier@gentoo.org>
22663
22664 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
22665 * sysdeps/x86_64/memset_chk.S: Likewise.
22666
54472e9c
AJ
226672012-04-08 Andreas Jaeger <aj@suse.de>
22668
6ab0fbfc
AJ
22669 [BZ #10153]
22670 * manual/startup.texi (Environment Access): Describe return value
22671 for putenv and setenv.
22672
61efba8c
AJ
22673 [BZ #6895]
22674 * manual/filesys.texi (Directory Entries): Add description for
22675 DT_LNK.
22676
95c3f29a
AJ
22677 [BZ #6890]
22678 * manual/filesys.texi (Directory Entries): Clarify that it's file
22679 system not operating system in the description of DT_UNKNOWN.
22680
54472e9c
AJ
22681 [BZ #6578]
22682 * manual/syslog.texi (closelog): Fix reference, it's openlog.
22683
624254b1
SC
226842012-04-08 Stephen Compall <s11@member.fsf.org>
22685
22686 [BZ #6649]
22687 * manual/llio.texi (Opening and Closing Files): Add cross
22688 reference to explain mode argument.
22689
1e4920e0
MF
226902012-04-07 Mike Frysinger <vapier@gentoo.org>
22691
22692 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
22693 * sysdeps/x86_64/memset_chk.S: Likewise.
22694
5ed848f3
DM
226952012-04-07 David S. Miller <davem@davemloft.net>
22696
22697 * elf/elf.h (R_SPARC_WDISP10): Define.
22698 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
22699 R_SPARC_SIZE32.
22700 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
22701 R_SPARC_SIZE64 and R_SPARC_H34.
22702
96154cd8
CD
227032012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
22704
22705 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
22706 conditions and remove no longer applicable assertion.
22707
9904dc47
L
227082012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22709
22710 * bits/byteswap.h: Include <features.h>.
22711 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22712 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22713
f8887d0a
L
227142012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22715
22716 * bits/byteswap.h (__bswap_16): Removed.
22717 Include <bits/byteswap-16.h> to get __bswap_16.
22718 * sysdeps/i386/bits/byteswap.h: Likewise.
22719 * sysdeps/s390/bits/byteswap.h: Likewise.
22720 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22721 * bits/byteswap-16.h: New file.
22722 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22723 * sysdeps/s390/bits/byteswap-16.h: Likewise.
22724 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
22725 * string/Makefile (headers): Add bits/byteswap-16.h.
22726
62470f60
PP
227272012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22728
22729 [BZ #13895]
22730 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
22731 extra indirection.
22732 * nss/Makefile (tests-static, tests): Add tst-nss-static.
22733 * nss/tst-nss-static.c: New.
22734
4dad7bab
RM
227352012-04-06 Robert Millan <rmh@gnu.org>
22736
22737 [BZ #6486]
22738 * manual/llio.texi (File Position Primitive): lseek
22739 refers to WHENCE when it really means OFFSET.
22740
e9142a17
AJ
227412012-04-06 Andreas Jaeger <aj@suse.de>
22742
2c040eff
AJ
22743 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
22744 strncmp declarations.
22745
e9142a17
AJ
22746 * abilist/libc.abilist: Add __poll and __ppoll.
22747
ff9f1c5f
DM
227482012-04-05 David S. Miller <davem@davemloft.net>
22749
dcd2ae90
DM
22750 * scripts/check-local-headers.sh: Accept a host triplet in the
22751 path matched by the exclude regexp.
22752
993eb054
DM
22753 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
22754 definition.
22755 * sysdeps/powerpc/powerpc32/dl-machine.h
22756 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
22757 * sysdeps/s390/s390-32/dl-machine.h
22758 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22759 * sysdeps/sparc/sparc32/dl-machine.h
22760 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22761 * sysdeps/sparc/sparc64/dl-machine.h
22762 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22763
ff9f1c5f
DM
22764 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22765 lazy binding.
48e2e132 22766 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
22767 undefined symbol errors.
22768
48e2e132 22769 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
22770 DT_NEEDED entries.
22771
e80d6f94
MM
227722012-04-05 Michael Matz <matz@suse.de>
22773
22774 [BZ #13592]
22775 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
22776
349fa79f
AJ
227772012-04-05 Andreas Jaeger <aj@suse.de>
22778
22779 [BZ #13908]
22780 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
22781 comment.
22782
f402708f
KK
227832012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22784
22785 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
22786 which ROUND is no valid rounding mode.
22787
2ecccfc9
KK
227882012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22789
22790 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
22791 read again.
22792 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
22793
8a53f50f
KK
227942012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22795
22796 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
22797 an exception using FPU order intentionally.
22798
227992012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22800
22801 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
22802 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
22803 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
22804 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
22805
d653abb7
SJ
228062012-04-05 Simon Josefsson <simon@josefsson.org>
22807
22808 [BZ #12340]
22809 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
22810 EINVAL when BUFLEN is too smal.
22811
c3b1bf7d
TS
228122012-04-05 Thomas Schwinge <thomas@codesourcery.com>
22813
22814 [BZ #13553]
22815 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
22816 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
22817
b1aa60f3
AJ
228182012-04-03 Andreas Jaeger <aj@suse.de>
22819
c3b1bf7d 22820 [BZ #13938]
67f60a26
AJ
22821 * manual/setjmp.texi (System V contexts): Fix sentence.
22822
b1aa60f3
AJ
22823 [BZ #13926]
22824 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
22825 New macro for this case.
22826 [!__GNUC__] (__bswap_64): New inline function for this case.
22827 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22828 * bits/byteswap.h: Likewise.
22829 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
22830 ull, guard with __GLIBC_HAVE_LONG_LONG.
22831
22832 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
22833 __GLIBC_HAVE_LONG_LONG.
22834
22835 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
22836 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
22837
39c59c35
TMQMF
228382012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22839
22840 [BZ #13691]
22841 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
22842 inptr and inend, rather than using last_ch.
22843
135ffda8
DM
228442012-04-02 David S. Miller <davem@davemloft.net>
22845
22846 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
22847 * stdio-common/printf-parse.h (read_int): Change return type to
22848 'int', return -1 on INT_MAX overflow.
22849 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
22850 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
22851 overflows INT_MAX. Check for overflow of in-format-string precision
22852 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
22853 SIZE_MAX not INT_MAX for integer overflow test.
22854 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
22855 skip the construct in the format string but do not record anything.
22856 * stdio-common/bug22.c: Adjust to test both width/prevision
22857 INT_MAX overflow as well as total length INT_MAX overflow. Check
22858 explicitly for proper errno values.
22859
228c019e
TS
228602012-04-02 Thomas Schwinge <thomas@codesourcery.com>
22861
302cadd3
TS
22862 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
22863 CHAR_MAX.
22864 * string/test-strcmp.c [! WIDE]: Likewise.
22865 * time/tst-mktime2.c: Likewise for INT_MAX.
22866 * string/test-string.h: #include <sys/param.h> for MIN.
22867
228c019e
TS
22868 * csu/init-first.c (__libc_init_first): Call __ctype_init.
22869 * sysdeps/i386/init-first.c (init): Likewise.
22870 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
22871 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
22872 * sysdeps/sh/init-first.c (init): Likewise.
22873
cfa633f5
UD
228742012-04-01 Ulrich Drepper <drepper@gmail.com>
22875
22876 * po/ru.po: Update from translation team.
d1635ef8 22877 * po/vi.po: Likewise.
cfa633f5 22878
6cd0a5ea
SP
228792012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22880
22881 * resolv/nss_dns/dns-host.c: Merge copyright years.
22882
4b43400f
LD
228832012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22884
22885 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22886 Optimize memcpy with prefetch if
22887 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
22888 src, dst pointers have unequal 16 byte alignments.
22889
48c41d04
SP
228902012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22891
22892 [BZ #13928]
22893 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
22894 from a CNAME entry and return the minimum ttl for the query.
22895 (gaih_getanswer_slice): Likewise.
22896
b8dc394d
JL
228972012-03-30 Jeff Law <law@redhat.com>
22898
22899 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
22900 due to long keys.
22901 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22902 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22903
2f5a5ed0
JL
22904 * resolv/nss_dns/dns-host.c: Update copyright year.
22905
1d39e359
UD
229062012-03-30 Ulrich Drepper <drepper@gmail.com>
22907
c030f70c 22908 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 22909 requests to save a system call. Fix check that all bytes are sent.
c030f70c 22910
1d39e359
UD
22911 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
22912 comments for sendmmsg.
22913
229142012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
22915
22916 [BZ #13691]
22917 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
22918 with only 1 character between 0x0041 and 0x01b0.
22919 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
22920 * wcsmbs/tst-mbsnrtowcs.c: New file.
22921
20fde227
DM
229222012-03-29 David S. Miller <davem@davemloft.net>
22923
22924 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
22925 small copies by hand.
22926
984a4237
JL
229272012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22928
22929 [BZ #13761]
22930 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
22931 _nss_compat_initgroups_dyn): Fall back to malloc/free
22932 for large group memberships.
22933
18c9d62b
DM
229342012-03-28 David S. Miller <davem@davemloft.net>
22935
88d85d4f
DM
22936 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
22937 that branches into memcpy.
22938 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22939 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22940 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22941 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22942 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
22943 bits.
22944 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
22945 implementation too.
22946 * sysdeps/sparc/mempcpy.S: New file.
22947
e5aa83e1
DM
22948 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
22949 the IFUNC routine in the libc case.
22950 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22951
88570753
DM
22952 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
22953 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
22954 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
22955 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
22956 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
22957 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
22958 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
22959 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
22960
249d7567
DM
22961 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
22962 loop to 256 bytes instead of 64 bytes and fix test signedness.
22963
18c9d62b
DM
22964 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
22965 * sysdeps/sparc/sparc32/Makefile: rather than here...
22966 * sysdeps/sparc/sparc64/Makefile: and here.
22967
05f3d1f6
UD
229682012-03-28 Ulrich Drepper <drepper@gmail.com>
22969
22970 * malloc/mallocbug.c: Avoid warnings about unused variables.
22971
86ae07a8
JL
229722012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22973
22974 [BZ #13760]
22975 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
22976 in the right place. Discard and retry query if response is
22977 larger than input buffer size.
22978
41bf21a1
JM
229792012-03-28 Joseph Myers <joseph@codesourcery.com>
22980
d6270972
JM
22981 [BZ #369]
22982 [BZ #2678]
22983 [BZ #3866]
22984 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
22985 x for large integer exponent.
22986 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22987 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
22988 sign of result as needed afterwards.
22989 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22990 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
22991 result for underflowing pow the same as for overflow.
22992 (__kernel_standard_l): Handle powl overflow and underflow here
22993 rather than calling __kernel_standard.
22994 * math/libm-test.inc (pow_test): Add more tests.
22995
414fca03 22996 [BZ #3868]
41bf21a1
JM
22997 [BZ #13879]
22998 [BZ #13910]
22999 [BZ #13911]
23000 [BZ #13912]
23001 [BZ #13913]
23002 [BZ #13915]
23003 [BZ #13916]
23004 [BZ #13917]
23005 [BZ #13918]
23006 [BZ #13919]
23007 [BZ #13920]
23008 [BZ #13921]
23009 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
23010 * sysdeps/ieee754/k_standard.c: Include <float.h>.
23011 (__kernel_standard_l): New function.
23012 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
23013 __kernel_standard.
23014 * math/w_acosl.c (__acosl): Likewise.
23015 * math/w_asinl.c (__asinl): Likewise.
23016 * math/w_atan2l.c (__atan2l): Likewise.
23017 * math/w_atanhl.c (__atanhl): Likewise.
23018 * math/w_coshl.c (__coshl): Likewise.
23019 * math/w_exp10l.c (__exp10l): Likewise.
23020 * math/w_exp2l.c (__exp2l): Likewise.
23021 * math/w_fmodl.c (__fmodl): Likewise.
23022 * math/w_hypotl.c (__hypotl): Likewise.
23023 * math/w_j0l.c (__j0l, __y0l): Likewise.
23024 * math/w_j1l.c (__j1l, __y1l): Likewise.
23025 * math/w_jnl.c (__jnl, __ynl): Likewise.
23026 * math/w_lgammal.c (__lgammal): Likewise.
23027 * math/w_log10l.c (__log10l): Likewise.
23028 * math/w_log2l.c (__log2l): Likewise.
23029 * math/w_logl.c (__logl): Likewise.
23030 * math/w_powl.c (__powl): Likewise.
23031 * math/w_remainderl.c (__remainderl): Likewise.
23032 * math/w_scalbl.c (sysv_scalbl): Likewise.
23033 * math/w_sinhl.c (__sinhl): Likewise.
23034 * math/w_sqrtl.c (__sqrtl): Likewise.
23035 * math/w_tgammal.c (__tgammal): Likewise.
23036 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
23037 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
23038 * math/libm-test.inc (acos_test): Add more tests.
23039 (acosh_test): Likewise.
23040 (asin_test): Likewise.
23041 (atanh_test): Likewise.
23042 (exp_test): Likewise.
23043 (exp10_test): Likewise.
23044 (exp2_test): Likewise.
23045 (expm1_test): Likewise.
23046 (lgamma_test): Likewise.
23047 (log_test): Likewise.
23048 (log10_test): Likewise.
23049 (log1p_test): Likewise.
23050 (log2_test): Likewise.
23051 (pow_test): Do not allow some spurious overflow exceptions.
23052 (sqrt_test): Add more tests.
23053 (tgamma_test): Likewise.
23054 (y0_test): Likewise.
23055 (y1_test): Likewise.
23056 (yn_test): Likewise.
23057
dd62fda6
AB
230582012-03-27 Anton Blanchard <anton@samba.org>
23059
23060 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
23061 MAP_HUGETLB.
23062 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23063 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23064 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23065
1e3cdfda
AJ
230662012-03-27 David S. Miller <davem@davemloft.net>
23067
b855ab85
DM
23068 * conform/Makefile: Run run-conformtest.sh using $(BASH).
23069
1e3cdfda
AJ
23070 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
23071 have-as-vis3 check.
23072
230732012-03-27 Andreas Jaeger <aj@suse.de>
23074
23075 * sysdeps/x86_64/elf/configure.in: Moved to ...
23076 * sysdeps/x86_64/configure.in: ... here.
23077 * sysdeps/x86_64/elf/start.S: Moved to ...
23078 * sysdeps/x86_64/start.S: ... here.
23079 * sysdeps/x86_64/elf/configure: Delete.
23080
23081 * sysdeps/x86_64/configure.in: Merge contents from
23082 sysdeps/i386/configure.in (without i686 check).
23083
23084 * sysdeps/i386/elf/Versions: Merge into ...
23085 * sysdeps/i386/Versions: ... this.
23086 * sysdeps/i386/elf/Versions: Delete file.
23087 * sysdeps/i386/elf/start.S: Moved to ...
23088 * sysdeps/i386/start.S: ...here.
23089 * sysdeps/i386/elf/configure.in: Merge into...
23090 * sysdeps/i386/configure.in: ...here.
23091 * sysdeps/i386/elf/configure.in: Delete file.
23092 * sysdeps/i386/elf/configure: Delete file.
23093
23094 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
23095 * debug/backtracesyms.c: ... here.
23096 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
23097 * debug/backtracesymsfd.c: ... here.
23098 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
23099 * sysdeps/generic/ifunc-sel.h: ... here.
23100
23101 * sysdeps/unix/i386/start.c: Delete file.
23102 * sysdeps/unix/sparc/start.c: Delete file.
23103 * sysdeps/unix/start.c: Delete file.
23104
23105 * sysdeps/sh/elf/configure.in: Moved to ...
23106 * sysdeps/sh/configure.in: ... here.
23107 * sysdeps/sh/elf/start.S: Moved to ...
23108 * sysdeps/sh/start.S: ... here.
23109 * sysdeps/sh/elf/configure: Delete file.
23110
23111 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
23112 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
23113 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
23114 * sysdeps/powerpc/powerpc64/entry.h: ... here.
23115 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
23116 * sysdeps/powerpc/powerpc64/start.S: here.
23117 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
23118 * sysdeps/powerpc/powerpc64/Makefile: ... this.
23119 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
23120 * sysdeps/powerpc/powerpc64/configure.in: ... this.
23121 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
23122
23123 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
23124 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
23125 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
23126 * sysdeps/powerpc/powerpc32/start.S: ... here.
23127 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
23128 * sysdeps/powerpc/powerpc32/configure.in: ... this.
23129 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
23130
23131 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
23132 * sysdeps/powerpc/ifunc-sel.h: ... here.
23133 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
23134 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
23135
23136 * sysdeps/sparc/elf/configure.in: Moved to ...
23137 * sysdeps/sparc/configure.in: ... here.
23138 * sysdeps/sparc/elf/configure: Delete file.
23139 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
23140 * sysdeps/sparc/sparc32/start.S: ... here.
23141 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
23142 * sysdeps/sparc/sparc64/start.S: ... here.
23143 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
23144 * sysdeps/sparc/sparc32/Makefile: ... this.
23145 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
23146 * sysdeps/sparc/sparc64/Makefile: ... this.
23147
23148 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
23149 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
23150 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
23151 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
23152 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
23153 * sysdeps/s390/s390-32/setjmp.S: ... here.
23154 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
23155 * sysdeps/s390/s390-32/configure.in: ... here.
23156 * sysdeps/s390/s390-32/elf/configure: Delete file.
23157 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
23158 * sysdeps/s390/s390-32/start.S: ... here.
23159
23160 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
23161 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
23162 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
23163 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
23164 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
23165 * sysdeps/s390/s390-64/setjmp.S: ... here.
23166 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
23167 * sysdeps/s390/s390-64/configure.in: ... here
23168 * sysdeps/s390/s390-64/elf/configure: Delete file.
23169 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
23170 * sysdeps/s390/s390-64/start.S: ... here.
23171 * sysdeps/s390/s390-64/elf/configure: Delete.
23172
23173 * configure.in: Remove support for elf directories in sysdeps.
23174
23175 * configure: Regenerated.
23176 * sysdeps/i386/configure: Regenerated.
23177 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23178 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23179 * sysdeps/s390/s390-32/configure: Regenerated.
23180 * sysdeps/s390/s390-64/configure: Regenerated.
23181 * sysdeps/sh/configure: Regenerated.
23182 * sysdeps/sparc/configure: Regenerated.
23183 * sysdeps/x86_64/configure: Regenerated.
23184
a3f61311
AS
231852012-03-26 Andreas Schwab <schwab@linux-m68k.org>
23186
c876e002
AS
23187 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23188
a3f61311
AS
23189 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
23190 denormal result into account.
23191
ac4c54f0
RM
231922012-03-25 Roland McGrath <roland@hack.frob.com>
23193
23194 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
23195 Reported by Allan McRae <allan@archlinux.org>.
23196
6a9b9c02
JL
231972012-03-23 Jeff Law <law@redhat.com>
23198
23199 * nss/getnssent.c (__nss_getent): Fix typo.
23200
4c42a0c1
DM
232012012-03-23 David S. Miller <davem@davemloft.net>
23202
23203 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23204
1532c7ac
L
232052012-03-23 H.J. Lu <hongjiu.lu@intel.com>
23206
23207 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
23208 to pad to uint64_t for each field.
23209 (dl_tls_index): Replace unsigned long with uint64_t.
23210
3ff42526
PP
232112012-03-23 Daniel Jacobowitz <dmj@google.com>
23212 Paul Pluzhnikov <ppluzhnikov@google.com>
23213
23214 [BZ #6528]
23215 * grp/Makefile (otherlibs): Don't set it.
23216 * inet/Makefile (otherlibs): Likewise.
23217 * login/Makefile (otherlibs): Likewise.
23218 * nscd/Makefile (otherlibs): Likewise.
23219 * posix/Makefile (otherlibs): Likewise.
23220 * pwd/Makefile (otherlibs): Likewise.
23221 * rt/Makefile (otherlibs): Likewise.
23222 * sunrpc/Makefile (otherlibs): Likewise.
23223 * nss/Makefile (otherlibs): Likewise.
23224 Add libnss_files to routines and static-only-routines.
23225 ($(objpfx)getent): Remove rule.
23226 * resolv/Makefile: Add libnss_dns and libresolv to routines and
23227 static-only-routines.
23228
7c69cd14
JM
232292012-03-22 Joseph Myers <joseph@codesourcery.com>
23230
23231 [BZ #13892]
23232 * math/s_cexp.c: Include <float.h>.
23233 (__cexp): Handle exp result overflowing not necessarily
23234 overflowing both real and imaginary parts of result.
23235 * math/s_cexpf.c: Likewise.
23236 * math/s_cexpl.c: Likewise.
23237 * math/libm-test.inc (cexp_test): Add more tests.
23238 * sysdeps/i386/fpu/libm-test-ulps: Update.
23239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23240
81b035fe
L
232412012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23242
23243 * include/link.h (ELFW): New macro.
23244 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
23245 Replace ELF64_R_TYPE with ELFW(R_TYPE).
23246
1da7940c
L
232472012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23248
23249 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
23250 with uint64_t.
23251
b749dbb9
L
232522012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23253
23254 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
23255 declaration.
23256 (struct La_x32_retval): Likewise.
23257
2ff87f3f
L
232582012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23259
23260 * sysdeps/x86_64/preconfigure.in: New file.
23261 * sysdeps/x86_64/preconfigure: New generated file.
23262
c0df8e69
JM
232632012-03-22 Joseph Myers <joseph@codesourcery.com>
23264
48e44791
JM
23265 [BZ #13824]
23266 * math/e_exp2l.c: Include <float.h>.
23267 (__ieee754_exp2l): Handle overflow and underflow cases
23268 separately. Only pass fractional part of argument to
23269 __ieee754_expl.
23270 * math/libm-test.inc (exp2_test): Add more tests.
23271
c0df8e69
JM
23272 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
23273 negating x to take absolute value.
23274 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23275 Likewise.
23276 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23277 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
23278 Likewise.
23279 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
23280 computing low part if x was negated.
23281 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23282
c8e43ba7
L
232832012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23284
23285 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
23286 la_x32_gnu_pltexit.
23287 (pltexit): Cast int_retval to ptrdiff_t.
23288 * elf/tst-auditmod3b.c: Likewise.
23289 * elf/tst-auditmod4b.c: Likewise.
23290 * elf/tst-auditmod5b.c: Likewise.
23291 * elf/tst-auditmod6b.c: Likewise.
23292 * elf/tst-auditmod6c.c: Likewise.
23293 * elf/tst-auditmod7b.c: Likewise.
23294
23295 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
23296 and x32_gnu_pltexit.
23297
23298 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
23299 __ELF_NATIVE_CLASS.
23300 (La_x32_regs): New macro.
23301 (La_x32_retval): Likewise.
23302 (la_x32_gnu_pltenter): New function prototype.
23303 (la_x32_gnu_pltexit): Likewise.
23304
7998fa78
AS
233052012-03-21 Andreas Schwab <schwab@linux-m68k.org>
23306
dcb33988
AS
23307 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
23308 exponent.
23309
233fc563
AS
23310 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23311
7998fa78
AS
23312 * configure.in (libc_cv_cc_nofma): Check for option to disable
23313 generation of FMA instructions.
23314 * configure: Regenerate.
23315 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
23316 * sysdeps/ieee754/dbl-64/Makefile: New file.
23317 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23318 Remove brandred-fma4.
23319 (CFLAGS-brandred-fma4.c): Remove.
23320 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
23321 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
23322 define.
23323 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
23324 define.
23325
8e95c99a
L
233262012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23327
23328 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23329 LLONG_MAX != LONG_MAX.
23330 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23331 (_fitoa_word): Likewise.
23332 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
23333 LLONG_MAX != LONG_MAX.
23334 * stdio-common/_itowa.h: Include <_itoa.h>.
23335 (_itowa_word): Use _ITOA_WORD_TYPE on value.
23336 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
23337 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
23338 only if not defined.
23339 (_ITOA_WORD_TYPE): Likewise.
23340 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23341 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
23342
6f4db457
DM
233432012-03-21 David S. Miller <davem@davemloft.net>
23344
23345 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23346
7785fe5a
L
233472012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23348
23349 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
23350 of x86_64 when setting libc_cv_slibdir, libdir and
23351 libc_cv_localedir.
23352 * sysdeps/unix/sysv/linux/configure: Regenerated.
23353
4535cd55
JM
233542012-03-21 Joseph Myers <joseph@codesourcery.com>
23355
23356 * manual/lang.texi (Old Varargs): Remove section.
23357 (How Variadic): Update menu.
23358 (va_start): Do not mention varargs.h.
23359
17228132
TS
233602012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23361 Joseph Myers <joseph@codesourcery.com>
23362
23363 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
23364 link test.
23365 * configure: Regenerated.
23366
8149f976
TS
233672012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23368
05f3d1f6
UD
23369 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
23370 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
23371 conformtest.pl
8149f976 23372
1a4ac776
JM
233732012-03-21 Joseph Myers <joseph@codesourcery.com>
23374
be22ce65
JM
23375 * NOTES: Remove.
23376 * Makefile (files-for-dist): Remove NOTES.
23377 (NOTES): Remove rule.
23378 * README: Don't refer to NOTES.
23379 * manual/creature.texi: Don't include macros.texi.
23380 * manual/intro.texi (creature.texi): Remove comment referring to
23381 NOTES.
23382
40b601fb
JM
23383 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
23384 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
23385 * configure: Regenerated.
23386 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
23387 LIBC_TRY_CC_OPTION.
23388 (libc_cv_as_i686): Likewise.
23389 (libc_cv_cc_avx): Likewise.
23390 (libc_cv_cc_sse2avx): Likewise.
23391 (libc_cv_cc_fma4): Likewise.
23392 (libc_cv_cc_novzeroupper): Likewise.
23393 * sysdeps/i386/configure: Regenerated.
23394
1a4ac776
JM
23395 [BZ #13883]
23396 * sysdeps/i386/fpu/s_cexp.S: Remove.
23397 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23398 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23399 * math/libm-test.inc (cexp_test): Add more tests.
23400 * sysdeps/i386/fpu/libm-test-ulps: Update.
23401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23402
a458e7fe
AM
234032012-03-21 Allan McRae <allan@archlinux.org>
23404
23405 * timezone/Makefile: Do not install iso3166.tab and zone.tab
23406
0cb7efc5
JM
234072012-03-21 Joseph Myers <joseph@codesourcery.com>
23408
23409 [BZ #13871]
23410 * math/w_exp2.c: Do not include <float.h>.
23411 (o_threshold, u_threshold): Remove.
23412 (__exp2): Calculate result before checking finiteness and calling
23413 __kernel_standard.
23414 * math/w_exp2f.c: Likewise.
23415 * math/w_exp2l.c: Likewise.
23416 * math/libm-test.inc (exp2_test): Require overflow exception for
23417 1e6 input.
2460d3aa
JM
23418
23419 [BZ #3866]
23420 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
23421 range of signed 64-bit integers before using fistpll. Remove
23422 checks for whether integers fit in mantissa bits.
23423 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
23424 the range of signed 32-bit integers before using fistpl. Remove
23425 checks for whether integers fit in mantissa bits.
23426 * sysdeps/i386/fpu/e_powl.S (p64): New object.
23427 (__ieee754_powl): Test for y outside the range of signed 64-bit
23428 integers before using fistpll. Reduce 64-bit values to 63-bit
23429 ones as needed.
23430 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
23431 divide-by-zero is raised for zero to large negative powers.
23432 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
23433 (__ieee754_powl): Test for y outside the range of signed 64-bit
23434 integers before using fistpll. Reduce 64-bit values to 63-bit
23435 ones as needed.
23436 * math/libm-test.inc (pow_test): Add more tests.
23437
eb96ffb0
L
234382012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23439
23440 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
23441 <stdio-common/_itoa.h>.
23442 * debug/segfault.c: Likewise.
23443 * elf/dl-cache.c: Likewise.
23444 * elf/dl-minimal.c: Likewise.
23445 * elf/dl-misc.c: Likewise.
23446 * elf/dl-sysdep.c: Likewise.
23447 * elf/dl-version.c: Likewise.
23448 * elf/rtld.c: Likewise.
23449 * hurd/hurdsock.c: Likewise.
23450 * hurd/lookup-retry.c: Likewise.
23451 * malloc/malloc.c: Likewise.
23452 * malloc/mtrace.c: Likewise.
23453 * nscd/nscd_getgr_r.c: Likewise.
23454 * nscd/nscd_getpw_r.c: Likewise.
23455 * nscd/nscd_getserv_r.c: Likewise.
23456 * posix/getopt_init.c: Likewise.
23457 * posix/wordexp.c: Likewise.
23458 * stdio-common/_itoa.c: Likewise.
23459 * stdio-common/printf_fphex.c: Likewise.
23460 * stdio-common/vfprintf.c: Likewise.
23461 * string/_strerror.c: Likewise.
23462 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
23463 * sysdeps/i386/i686/hp-timing.h: Likewise.
23464 * sysdeps/mach/_strerror.c: Likewise.
23465 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
23466 * sysdeps/mach/hurd/sethostid.c: Likewise.
23467 * sysdeps/mach/hurd/xmknodat.c: Likewise.
23468 * sysdeps/mach/xpg-strerror.c: Likewise.
23469 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23470 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23471 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
23472 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
23473 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23474 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
23475 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23476 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23477 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
23478 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
23479 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
23480 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23481 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
23482 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23483 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23484 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
23485 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
23486 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
23487 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23488 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23489 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
23490
23491 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
23492
23493 * stdio-common/_itoa.h: Moved to ...
23494 * sysdeps/generic/_itoa.h: Here.
23495
23496 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
23497
23498 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
23499 instead of "_itoa.h" and "_itowa.h".
23500 * stdio-common/vfprintf.: Likewise.
23501
d1af992d
L
235022012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23503
23504 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
23505 <bits/wordsize.h>.
23506 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
23507 (__signbit): Likwise.
23508 (llrintf): Likwise.
23509 (llrint): Likwise.
23510
114883e0
L
235112012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23512
23513 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
23514 __WORDSIZE != 64.
23515
c135cc1b
JM
235162012-03-20 Joseph Myers <joseph@codesourcery.com>
23517
23518 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
23519 OVERFLOW_EXCEPTION_OK.
23520 * math/libm-test.inc ("Philosophy"): Update comment about
23521 exception testing.
23522 (OVERFLOW_EXCEPTION): Define.
23523 (OVERFLOW_EXCEPTION_OK): Likewise.
23524 (INVALID_EXCEPTION_OK): Renumber.
23525 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23526 (IGNORE_ZERO_INF_SIGN): Likewise.
23527 (test_exceptions): Handle FE_OVERFLOW.
23528 (exp10_test): Expect overflow exceptions.
23529 (exp2_test): Likewise.
23530 (expm1_test): Likewise.
23531 (nextafter_test): Likewise.
23532 (pow_test): Likewise.
23533 (scalbn_test): Likewise.
23534 (scalbln_test): Likewise.
23535
95443d88
L
235362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23537
23538 * sysdeps/x86_64/bits/atomic.h
23539 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
23540 64bit integer.
23541 (atomic_exchange_acq): Likewise.
23542 (__arch_exchange_and_add_body): Likewise.
23543 (__arch_add_body): Likewise.
23544 (atomic_add_negative): Likewise.
23545 (atomic_add_zero): Likewise.
23546
490df6c4
L
235472012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23548
c2722551 23549 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
23550 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
23551
5e52b189
L
235522012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23553
23554 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
23555 Check __x86_64__ instead of __WORDSIZE.
23556
a9879d4c
L
235572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23558
23559 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
23560
5df98260
DM
235612012-03-19 David S. Miller <davem@davemloft.net>
23562
e1497744
DM
23563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23564
5df98260
DM
23565 * sysdeps/sparc/fpu/fenv_private.h: New file.
23566 * sysdeps/sparc/fpu/math_private.h: Use it.
23567 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
23568 Remove.
23569 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
23570 (libc_feholdexcept_setroundl): Remove.
23571 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
23572 Remove.
23573 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
23574 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
23575
b4c35121
L
235762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23577
23578 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
23579 int64_t instead of long int.
23580 (INSERT_WORDS64): Likwise.
23581
56965fd7
L
235822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23583
23584 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
23585 _Unwind_GetCFA return to _Unwind_Ptr first.
23586
83d1aec8
JM
235872012-03-19 Joseph Myers <joseph@codesourcery.com>
23588
1897ad44
JM
23589 [BZ #13629]
23590 * math/s_clog.c: Include <float.h>.
23591 (__clog): Scale large or subnormal inputs.
23592 * math/s_clogf.c: Likewise.
23593 * math/s_clogl.c: Likewise.
23594 * math/s_clog10.c: Include <float.h>.
23595 (M_LOG10_2): Define.
23596 (__clog10): Scale large or subnormal inputs.
23597 * math/s_clog10f.c: Likewise.
23598 * math/s_clog10l.c: Likewise.
23599 * math/libm-test.inc (clog_test): Add more tests.
23600 (clog10_test): Likewise.
23601 * sysdeps/i386/fpu/libm-test-ulps: Update.
23602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23603
7726d6a9
JM
23604 [BZ #11451]
23605 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
23606 x and y.
23607 * math/libm-test.inc (atan2_test): Add another test.
23608
83d1aec8
JM
23609 * Makerules (common-objdir-compile): Remove.
23610 * sysdeps/unix/Makefile (config-generated): Do not add
23611 $(unix-generated) to variable.
23612 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
23613 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
23614 Remove rule.
23615 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
23616 Likewise.
23617 [generic bits/local_lim.h] (before-compile): Do not append to
23618 variable.
23619 [generic bits/local_lim.h] (common-generated): Likewise.
23620 [generic sys/param.h] (before-compile): Do not append to variable.
23621 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
23622 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
23623 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
23624 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
23625 include.
23626 [generic sys/param.h] (sys/param.h-includes): Remove variable.
23627 [generic sys/param.h] (sys/param.h-includes): Remove rule.
23628 [generic sys/param.h] ($(addprefix
23629 $(common-objpfx),$(sys/param.h-includes))): Likewise.
23630 [generic sys/param.h] (common-generated): Do not append to
23631 variable.
23632 [generic sys/param.h] (sysdep_headers): Likewise.
23633 [generic bits/errno.h] (before-compile): Do not append to
23634 variable.
23635 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
23636 rule.
23637 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
23638 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
23639 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
23640 [generic bits/errno.h] (common-generated): Do not append to
23641 variable.
23642 [generic bits/ioctls.h] (before-compile): Do not append to
23643 variable.
23644 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
23645 rule.
23646 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
23647 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
23648 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
23649 rule.
23650 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
23651 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
23652 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
23653 [generic bits/ioctls.h] (common-generated): Do not append to
23654 variable.
23655 [generic sys/syscall.h] (syscall.h): Remove variable.
23656 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
23657 rule.
23658 [generic sys/syscall.h] (before-compile): Do not append to
23659 variable.
23660 [generic sys/syscall.h] (common-generated): Likewise.
23661 * sysdeps/unix/errnos-tmpl.c: Remove file.
23662 * sysdeps/unix/errnos.awk: Likewise.
23663 * sysdeps/unix/ioctls-tmpl.c: Likewise.
23664 * sysdeps/unix/ioctls.awk: Likewise.
23665 * sysdeps/unix/mk-local_lim.c: Likewise.
23666 * sysdeps/unix/snarf-ioctls: Likewise.
23667
4851a949
RH
236682012-03-19 Richard Henderson <rth@twiddle.net>
23669
bd37f2ee
RH
23670 * sysdeps/i386/fpu/fenv_private.h: New file.
23671 * sysdeps/i386/fpu/math_private.h: Use it.
23672 (math_opt_barrier, math_force_eval): Remove.
23673 (libc_feholdexcept_setround_53bit): Remove.
23674 (libc_feupdateenv_53bit): Remove.
23675 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23676 (math_opt_barrier, math_force_eval): Remove.
23677 (libc_feholdexcept): Remove.
23678 (libc_feholdexcept_setround): Remove.
23679 (libc_fetestexcept, libc_fesetenv): Remove.
23680 (libc_feupdateenv_test): Remove.
23681 (libc_feupdateenv, libc_feholdsetround): Remove.
23682 (libc_feresetround): Remove.
23683
d0adc922
RH
23684 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
23685 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23686
0fe0f1f8
RH
23687 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
23688 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
23689 (libc_feupdateenv_testl): New.
23690 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
23691 (libc_feupdateenv_testf): New.
23692 (libc_feupdateenv): Use libc_feupdateenv_test.
23693 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
23694 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
23695
eb92c487
RH
23696 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
23697 (libc_feholdsetroundf, libc_feholdsetroundl): New.
23698 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
23699 (libc_feresetround_noex): New.
23700 (libc_feresetround_noexf): New.
23701 (libc_feresetround_noexl): New.
23702 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
23703 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
23704 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
23705 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
23706 SET_RESTORE_ROUND.
23707 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23708 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
23709 (__cos): Likewise.
23710 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
23711 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23712 SET_RESTORE_ROUND_NOEX.
23713 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
23714 SET_RESTORE_ROUND_NOEXF.
23715 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
23716 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
23717 (libc_feholdsetroundf): New.
23718 (libc_feresetround, libc_feresetroundf): New.
23719
7d2e8012
RH
23720 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
23721 (libc_feholdexcept_setround_53bit): Convert from macro to function.
23722 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
23723
b4dabbb4
RH
23724 * sysdeps/generic/math_private.h: Include <fenv.h>.
23725 (default_libc_feholdexcept): New.
23726 (default_libc_feholdexcept_setround): New.
23727 (default_libc_fesetenv, default_libc_feupdateenv): New.
23728 (libc_feholdexcept): Only define if undefined.
23729 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
23730 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
23731 (libc_feholdexcept_setroundl): Likewise.
23732 (libc_feholdexcept_setround_53bit): Likewise.
23733 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
23734 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
23735 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
23736 (libc_feupdateenv_53bit): Likewise.
23737 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
23738 (libc_feholdexcept): Convert from macro to inline function.
23739 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
23740 (libc_fesetenv, libc_feupdateenv): Likewise.
23741
4851a949
RH
23742 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
23743 not previously defined.
23744 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
23745 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
23746 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
23747 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
23748 * sysdeps/ieee754/flt-32/math_private.h: New file.
23749 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
23750 math_private.h below SET_FLOAT_WORD.
23751 (__isnan, __isinf_ns, __finite): Remove.
23752 (__isnanf, __isinf_nsf, __finitef): Remove.
23753
e79d442e
AS
237542012-03-18 Andreas Schwab <schwab@linux-m68k.org>
23755
23756 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23757
90b80344
DM
237582012-03-17 David S. Miller <davem@davemloft.net>
23759
23760 [BZ #6471]
23761 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
23762 for 2.16.
23763
edc21804
DM
237642012-03-16 David S. Miller <davem@davemloft.net>
23765
77e927af
DM
23766 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
23767 warnings.
23768
374976dd
DM
23769 [BZ #6471]
23770 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
23771 properly.
23772 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
23773 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
23774 sysdep_routines when subdir is sysvipc.
23775 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
23776 __getshmlba helper.
23777
edc21804
DM
23778 * sysdeps/sparc/fpu/libm-test/ulps: Update.
23779
473c3ef3
L
237802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23781
23782 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
23783 [__LP64__].
23784
eb0f39b6
L
237852012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23786
23787 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
23788 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
23789 (__lround): Renamed to ...
23790 (__llround): This. Replace long int with long long int.
23791 Define lround functions as aliases of llround functions.
23792 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
23793
6b6cd74b
L
237942012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23795
23796 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
23797 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
23798 adresses to uintptr_t. Replace "long int" and "unsigned long
23799 int" with "greg_t" on va_arg.
23800
f1a77b01
L
238012012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23802
23803 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
23804 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
23805
23806 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
23807 Move e_machine check before EI_CLASS check. Handle x32
23808 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
23809 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
23810 SKIP_EM_IA_64 and include
23811 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
23812
23813 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
23814 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
23815 (add_system_dir): New macro.
23816
23817 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
23818 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
23819
11b90b9f
JM
238202012-03-16 Joseph Myers <joseph@codesourcery.com>
23821
c36e1d23
JM
23822 [BZ #2551]
23823 [BZ #2552]
23824 [BZ #2553]
23825 [BZ #2554]
23826 [BZ #2562]
23827 [BZ #2563]
23828 [BZ #2565]
23829 [BZ #2566]
23830 [BZ #2576]
23831 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
23832 (y0): Likewise.
23833 * math/w_j0f.c (j0f): Likewise.
23834 (y0f): Likewise.
23835 * math/w_j0l.c (__j0l): Likewise.
23836 (__y0l): Likewise.
23837 * math/w_j1.c (j1): Likewise.
23838 (y1): Likewise.
23839 * math/w_j1f.c (j1f): Likewise.
23840 (y1f): Likewise.
23841 * math/w_j1l.c (__j1l): Likewise.
23842 (__y1l): Likewise.
23843 * math/w_jn.c (jn): Likewise.
23844 (yn): Likewise.
23845 * math/w_jnf.c (jnf): Likewise.
23846 (ynf): Likewise.
23847 * math/w_jnl.c (__jnl): Likewise.
23848 (__ynl): Likewise.
23849 * math/libm-test.inc (j0_test): Add more tests.
23850 (j1_test): Likewise.
23851 (jn_test): Likewise. Add trailing semicolon to existing test.
23852 (y0_test): Likewise.
23853 (y1_test): Likewise.
23854 * sysdeps/i386/fpu/libm-test-ulps: Update.
23855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23856
11b90b9f
JM
23857 [BZ #13851]
23858 [BZ #13854]
23859 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23860 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
23861 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
23862 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
23863 (__tanl): Set errno for infinite argument.
23864 * sysdeps/i386/fpu/mptan.c: Remove.
23865 * sysdeps/i386/fpu/s_tan.S: Likewise.
23866 * sysdeps/i386/fpu/s_tanl.S: Likewise.
23867 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
23868 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
23869 * math/libm-test.inc (tan_test): Add more tests and enable more
23870 tests for double and long double.
23871 * sysdeps/i386/fpu/libm-test-ulps: Update.
23872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23873
6a1bd2a1
JK
238742012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23875
23876 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
23877 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
23878
10a803e0
RM
238792012-03-16 Roland McGrath <roland@hack.frob.com>
23880
23881 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
23882 * configure.in: Use it for both main tree and add-ons.
23883 * configure: Regenerated.
23884
f196c7f7
L
238852012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23886
23887 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
23888
8848d99d
JM
238892012-03-16 Joseph Myers <joseph@codesourcery.com>
23890
96cbe7f4
JM
23891 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
23892 in comment.
23893
8848d99d
JM
23894 [BZ #13851]
23895 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
23896 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
23897 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
23898 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
23899 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
23900 infinite argument.
23901 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
23902 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
23903 != 0 for prec == 2.
23904 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
23905 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
23906 * sysdeps/i386/fpu/s_cosl.S: Likewise.
23907 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
23908 * sysdeps/i386/fpu/s_sinl.S: Likewise.
23909 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
23910 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
23911 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
23912 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
23913 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
23914 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
23915 * math/libm-test.inc (cos_test): Add more tests and enable more
23916 tests for long double.
23917 (sin_test): Likewise.
23918 (sincos_test): Likewise.
23919 * sysdeps/i386/fpu/libm-test-ulps: Update.
23920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23921
dd7f4703
DM
239222012-03-16 David S. Miller <davem@davemloft.net>
23923
23924 * sysdeps/sparc/fpu/math_private.h: New file.
23925
006f1daa
DM
239262012-03-15 David S. Miller <davem@davemloft.net>
23927
c0c83bc8
DM
23928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
23929 file.
e6a62e18 23930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
23931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
23932 file.
e6a62e18
DM
23933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
23934 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
23935 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
23936 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
23937 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
23938 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
23939 sysdep routines.
23940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23941
88cb87d9
DM
23942 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
23943 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
23944
006f1daa 23945 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
23946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
23947 sparc-ifunc.h
006f1daa 23948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
23949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23950 Likewise.
23951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23952 Likewise.
006f1daa
DM
23953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
23954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
23956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23957 Likewise.
006f1daa
DM
23958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
23960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
23962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
23963 Likewise.
23964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
23965 Likewise.
006f1daa
DM
23966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
23969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
23970 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23971 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23972 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
23973 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
23974 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23975 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23976 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
23977 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
23978 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
23979 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
23980 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
23981 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23982 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
23983 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23984 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
23985 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23986 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
23987 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23988 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
23989 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23990
11e0098e
AS
239912012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23992
23993 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23994 scaling.
23995 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23996
e85b09d0
AJ
239972012-03-15 Andreas Jaeger <aj@suse.de>
23998
23999 [BZ #13852]
24000 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
24001 ieee754/flt-32 implementation for sin, cos and sincos.
24002 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
24003 * sysdeps/i386/fpu/s_cosf.S: Likewise.
24004 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
24005 * sysdeps/i386/fpu/s_sinf.S: Likewise.
24006 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
24007 ieee754/flt-32 implementation for tan.
24008
24009 * math/libm-test.inc (cos_test): Enable some large input tests for
24010 float as well
24011 (sin_test): Likewise.
24012 (sincos_test): Likewise.
24013 (tan_test): Add tests for large input.
24014
24015 * sysdeps/i386/fpu/libm-test-ulps: Update.
24016
81c64153
AJ
240172012-03-15 Andreas Jaeger <aj@suse.de>
24018
24019 [BZ #13658]
24020 * math/libm-test.inc (cos_test): Add more test cases.
24021 (sin_test): Likewise.
24022 (sincos_test): Likewise.
24023
7bbfa5c6
AJ
240242012-03-15 Andreas Jaeger <aj@suse.de>
24025
24026 [BZ #13837]
24027 * math/libm-test.inc (cos_test): Add a test case for large input
24028 value.
24029 (sin_test): Likewise.
24030 (sincos_test): Likewise.
24031
240322012-03-15 Andreas Jaeger <aj@suse.de>,
24033 Joseph Myers <joseph@codesourcery.com>
24034
24035 [BZ #13658]
0671f479 24036 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
24037 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
24038 * sysdeps/i386/fpu/branred.c: Likewise.
24039 * sysdeps/i386/fpu/dosincos.c: Likewise.
24040 * sysdeps/i386/fpu/mpa.c: Likewise.
24041 * sysdeps/i386/fpu/s_cos.S: Likewise.
24042 * sysdeps/i386/fpu/s_sin.S: Likewise.
24043 * sysdeps/i386/fpu/s_sincos.S: Likewise.
24044 * sysdeps/i386/fpu/sincos32.c: Likewise.
24045
24046 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
24047 Define.
24048 (libc_feupdateenv_53bit): Define.
24049 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
24050 Define.
24051 (libc_feupdateenv_53bit): Define.
24052
24053 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
24054 53 bit (without extend i386 double precision).
24055
24056 * math/libm-test.inc (sincos_test): Add tests for large input.
24057 (sin): Likewise.
24058 (cos): Likewise.
24059
24060 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24061
9cad04ea
AS
240622012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24063
24064 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24065
f7062b9a
DM
240662012-03-15 David S. Miller <davem@davemloft.net>
24067
24068 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
24069 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
24070 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
24071 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
24072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
24073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
24074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
24075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
24076 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
24077 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
24078 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
24079 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
24080 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
24081 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
24082 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
24083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
24084 file.
f7062b9a 24085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
24086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
24087 file.
f7062b9a 24088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
24089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
24090 file.
f7062b9a 24091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
24092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
24093 file.
f7062b9a
DM
24094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
24095 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
24096 fmin/fmax sysdep routines.
24097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24098
7bd951ff
DM
240992012-03-14 David S. Miller <davem@davemloft.net>
24100
559398ab
DM
24101 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
24102 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
24103 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
24104 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
24105 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
24106 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
24107 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
24108 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
24109 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
24110 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
24111 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
24112 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
24113 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
24114 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
24115 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
24116 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
24117 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
24118 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
24119 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
24120 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
24121 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
24122 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
24123 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
24124 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
24125 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
24126 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
24127 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
24128 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
24129 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
24130 routines.
24131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
24132 file.
559398ab 24133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
24134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
24135 file.
559398ab 24136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
24137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
24138 file.
559398ab 24139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
24140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
24141 file.
559398ab 24142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
24143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
24144 file.
559398ab 24145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
24146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
24147 file.
24148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
24149 file.
24150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
24151 file.
24152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
24153 file.
24154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
24155 New file.
24156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
24157 file.
24158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
24159 file.
559398ab 24160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
24161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
24162 file.
559398ab 24163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
24164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
24165 file.
559398ab 24166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
24167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
24168 file.
559398ab 24169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
24170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
24171 VIS3 routines.
559398ab
DM
24172
24173 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24174 New file.
24175
5a1c1e32
DM
24176 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24177
eae47a36
DM
24178 * sysdeps/sparc/configure.in: New file.
24179 * sysdeps/sparc/configure: Generate.
24180 * configure.in (libc_cv_sparc_as_vis3): Substitute.
24181 * configure: Regenerate.
24182 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
24183 * config.make.in (have-as-vis3): New.
24184 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
24185 available use -Av9d instead of -Av9a.
24186 * sysdeps/sparc/sparc64/Makefile: Likewise.
24187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
24188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
24189 New file.
24190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
24191 file.
24192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
24193 New file.
24194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
24195 file.
eae47a36
DM
24196 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
24197 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
24198 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
24199 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
24200 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
24201
c0c83bc8
DM
24202 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
24203 fzeros/fnegs to load 0x80000000 into a float register instead of
24204 using the stack.
7bd951ff
DM
24205 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
24206
bd951ccb
JM
242072012-03-14 Joseph Myers <joseph@codesourcery.com>
24208
24209 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24210 bits/syscall.h.
24211 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
24212 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
24213 ($(inst_includedir)/bits/syscall.h): Remove rule.
24214 ($(objpfx)bits/syscall.d): Include instead of
24215 $(objpfx)syscall-list.d.
24216 (generated): Change syscall-list.h and syscall-list.d to
24217 bits/syscall.h and bits/syscall.d.
24218
bb4e6db2
RM
242192012-03-14 Roland McGrath <roland@hack.frob.com>
24220
24221 [BZ #13846]
24222 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
24223
aa4a2ae1
JM
242242012-03-14 Joseph Myers <joseph@codesourcery.com>
24225
e456826d
JM
24226 [BZ #13841]
24227 * math/s_csqrt.c: Include <float.h>.
24228 (__csqrt): Scale large or subnormal inputs.
24229 * math/s_csqrtf.c: Likewise.
24230 * math/s_csqrtl.c: Likewise.
24231 * math/libm-test.inc (csqrt_test): Add more tests.
24232 * sysdeps/i386/fpu/libm-test-ulps: Update.
24233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24234
aa4a2ae1
JM
24235 [BZ #13840]
24236 * math/libm-test.inc (hypot_test): Add more tests.
24237
7c10fd35
DM
242382012-03-13 David S. Miller <davem@davemloft.net>
24239
24240 [BZ #13840]
24241 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
24242 double-precision for the calculation instead of scaling.
24243
f453b98b
JM
242442012-03-13 Joseph Myers <joseph@codesourcery.com>
24245
24246 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
24247 manipulate bits before adding and subtracting TWO52[sx].
24248 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
24249 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
24250 Likewise.
24251 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
24252
09a3453f
DM
242532012-03-13 David S. Miller <davem@davemloft.net>
24254
8e59da90
DM
24255 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
24256 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
24257 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
24258 rtld-global-offsets.h
24259 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24260
2a8ab7f2
DM
24261 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
24262 large parameters.
24263
10f62770
DM
24264 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
24265
5f0bdb18
DM
24266 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
24267 'err' in the ifdef scope in which it is actually used.
24268
09a3453f
DM
24269 * nss/nss_db/db-init.c: Include string.h
24270
b4b2eb5e
DM
242712012-03-12 David S. Miller <davem@davemloft.net>
24272
98bb2f1c
DM
24273 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24274 masking out of the most significant byte of random value used.
24275 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24276 Fix coding style in previous change.
24277
b4b2eb5e
DM
24278 * sysdeps/unix/sysv/linux/kernel-features.h
24279 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
24280 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
24281 expression.
24282 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
24283 later.
24284
6e226b09
DM
242852012-03-11 David S. Miller <davem@davemloft.net>
24286
a1bcbd40
DM
24287 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24288 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
24289 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
24290 for 'resultvar' otherwise things get truncated on 64-bit.
24291
cb9d6174
DM
24292 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24293 Fix masking out of the most significant byte of random value used.
24294
6e226b09
DM
24295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24296
058c132d
AS
242972012-03-10 Andreas Schwab <schwab@linux-m68k.org>
24298
24299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24300
2d2cd515
DM
243012012-03-09 David S. Miller <davem@davemloft.net>
24302
24303 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
24304 variables with appropriate CPP guards.
24305 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
24306 frame pointer, not the stack pointer. Correct layout comments. Fix test
24307 on resulting framesize and the management of the outregs buffer for pltexit.
24308 Preserve floating point return values across _dl_call_pltexit call.
24309 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
24310 framesize and the management of the outregs buffer for pltexit.
24311 Preserve floating point return values across _dl_call_pltexit
24312 call.
24313 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
24314 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
24315 (print_exit): Fix format string for return register value.
24316
9a07f9d0
JM
243172012-03-10 Joseph Myers <joseph@codesourcery.com>
24318
24319 * sunrpc/Makefile (others): Add rpcgen.
24320 ($(objpfx)rpcgen): Remove special build rule and dependency on
24321 libc.
24322 * sunrpc/rpcgen.c: New file.
24323
547b5e30
PE
243242012-03-09 Paul Eggert <eggert@cs.ucla.edu>
24325
c524201a
PE
24326 [BZ #13673]
24327 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
24328 * stdio-common/bug-vfprintf-nargs.c: Likewise.
24329 * sysdeps/i386/crti.S: Likewise.
24330 * sysdeps/i386/crtn.S: Likewise.
24331 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
24332 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
24333 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
24334 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
24335 * sysdeps/sh/crti.S: Likewise.
24336 * sysdeps/sh/crtn.S: Likewise.
24337 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24338
7b6235f2
PE
24339 [BZ #13673]
24340 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
24341 with URL.
24342 * locale/programs/locfile-kw.gperf: Likewise.
24343 * locale/programs/charmap-kw.h: Regenerated.
24344 * locale/programs/locfile-kw.h: Likewise.
24345
547b5e30
PE
24346 [BZ #13673]
24347 * intl/plural.y: Replace FSF snail mail address with URL.
24348 * intl/plural.c: Regenerated.
24349
5f0a5dae
RH
243502012-03-09 Richard Henderson <rth@twiddle.net>
24351
24352 * include/math_private.h: Remove file.
24353 * math/math_private.h: Move file ...
24354 * sysdeps/generic/math_private.h: ... here.
24355
b8c03620
RH
24356 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
24357 * sysdeps/powerpc/fpu/math_private.h: Likewise.
24358 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24359
4e234f5d 24360 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
24361 and <math_private.h>.
24362 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24363 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24364 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24365 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24366 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24367 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
24368 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24369 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24370 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24371 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24372 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24373 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24374 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24375 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24376 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24377 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24378 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24379 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24380 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24381 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24382 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24383 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24384 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24385 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24386 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24387 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24388 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24389 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24390 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24391 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24392 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24393 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24394 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24395 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24396 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24397 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24398 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24399 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24400 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24401 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24402 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
24403 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24404 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24405 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24406 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24407 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24408 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
24409 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24410 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24411 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24412 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24413 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
24414 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24415 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24416 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24417 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24418 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24419 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24420 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
24421 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
24422 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24423 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24424 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24425 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24426 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
24427 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24428 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24429 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24430 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
24431 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
24432 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24433 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24434 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24435 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24436 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
24437 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
24438 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
24439 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24440 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
24441 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
24442 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24443 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
24444 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24445 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
24446 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24447 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24448 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
24449 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
24450 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24451 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24452 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24453 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24454 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24455 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24456 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24457 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24458 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24459 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24460 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24461 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24462 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24463 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24464 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24465 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24466 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24467 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24468 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24469 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24470 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24471 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24472 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24473 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24474 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24475 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24476 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
24477 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24478 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24479 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24480 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24481 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24482 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24483 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24484 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24485 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
24486 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24487 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24488 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24489 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
24490 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24491 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
24492 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
24493 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24494 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24495 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
24496 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
24497 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24498 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24499 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24500 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
24501 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
24502 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24503 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24504 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24505 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
24506 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
24507 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24508 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24509 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24510 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
24511 * sysdeps/ieee754/k_standard.c: Likewise.
24512 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24513 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24514 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24515 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24516 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24517 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24518 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24519 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24520 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24521 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24522 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24523 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24524 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24525 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24526 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24527 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24528 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24529 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24530 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24531 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
24532 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
24533 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
24534 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24535 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24536 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24537 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
24538 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24539 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24540 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24541 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24542 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24543 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24544 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24545 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24546 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24547 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24548 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24549 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
24550 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
24551 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24552 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24553 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24554 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24555 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24556 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24557 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24558 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24559 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24560 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24561 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24562 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24563 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24564 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24565 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
24566 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24567 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24568 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
24569 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
24570 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24571 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24572 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24573 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24574 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24575 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24576 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24577 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24578 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24579 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24580 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24581 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24582 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24583 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24584 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24585 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24586 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24587 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24588 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
24589 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24590 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24591 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24592 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24593 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24594 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24595 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24596 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
24597 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24598 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24599 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24600 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24601 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24602 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
24603 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24604 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24605 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24606 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24607 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24608 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
24609 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24610 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24611 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
24612 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24613 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24614 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24615 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24616 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
24617 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24618 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24619 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24620 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
24621 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24622 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24623 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24624 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24625 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24626 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24627 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24628 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24629 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24630 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24631 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24632 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24633 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24634 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24635 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24636 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24637 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
24638 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24639 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24640 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24641 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24642 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24643 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24644 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24645 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24646 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24647 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24648 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
24649 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24650 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24651 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
24652 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
24653 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24654 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
24655 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
24656 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24657 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24658 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24659 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24660 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24661 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
24662 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24663 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24664 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24665 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24666 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
24667 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
24668 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24669 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24670 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24671 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24672 * sysdeps/ieee754/s_lib_version.c: Likewise.
24673 * sysdeps/ieee754/s_matherr.c: Likewise.
24674 * sysdeps/ieee754/s_signgam.c: Likewise.
24675 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24676 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24677 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
24678 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
24679 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
24680 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24681 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
24682 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
24683 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
24684 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
24685 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24686 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
24687 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24688 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24689 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
24690 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24691 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24692 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24693 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24694 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24695 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 24696
1991fa03
JM
246972012-03-09 Joseph Myers <joseph@codesourcery.com>
24698
24699 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
24700 * sunrpc/rpc_main.c: Likewise.
24701 * sunrpc/rpc_svcout.c: Likewise.
24702
60d6f5a6
DM
247032012-03-09 David S. Miller <davem@davemloft.net>
24704
24705 * include/math_private.h: New file.
24706
4962050e
JM
247072012-03-09 Joseph Myers <joseph@codesourcery.com>
24708
02a6f887
JM
24709 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
24710 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
24711 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
24712 from <bits/socket_type.h>.
24713 (enum __socket_type): Don't define here.
24714 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
24715 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24716 bits/socket_type.h.
24717
c6e013c1
JM
24718 [BZ #13566]
24719 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
24720 checking __USE_GNU.
24721
4962050e
JM
24722 * Makerules ($(inst_includedir)/%.h): New rule.
24723 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
24724 (install-others): Remove variable setting.
24725 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
24726
38842f45
RH
247272012-03-08 Richard Henderson <rth@twiddle.net>
24728
67bb6da6
RH
24729 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
24730 from macro to inline function; merge with the
24731 !__LIBC_INTERNAL_MATH_INLINES version.
24732 (__ieee754_sqrtf): Likewise.
24733
15194b4b
RH
24734 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
24735 to inline function.
24736 (__rintf, __floor, __floorf): Likewise.
24737
64e21ede
RH
24738 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
24739 macro to inline function.
24740 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
24741
38842f45
RH
24742 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
24743 not <math/math_private.h>.
24744
c64bf5fe
DM
247452012-03-08 David S. Miller <davem@davemloft.net>
24746
24747 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
24748 copyright year.
24749 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24750
82d86f28
TS
247512012-03-08 Thomas Schwinge <thomas@codesourcery.com>
24752
24753 * resolv/gai_misc.c (handle_requests): Fix struct timespec
24754 normalization.
24755 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
24756 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24757
aea5d727
UD
247582012-03-08 Ulrich Drepper <drepper@gmail.com>
24759
24760 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
24761 be defined individually, they must be defined as a block. Define
24762 S for printing a string instead of hidint the different by using a
24763 macro for adding the 'l'.
24764 * stdio-common/tst-fphex-wide.c: Adjust.
24765
70bca0a3
MP
247662012-03-07 Marek Polacek <polacek@redhat.com>
24767
24768 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
24769
65b81130
MP
247702012-03-08 Marek Polacek <polacek@redhat.com>
24771
24772 [BZ #13806]
24773 * stdio-common/Makefile (tests): Add tst-fphex-wide.
24774 * stdio-common/tst-fphex.c: Define a few macros to make the
24775 test reusable. Use them.
24776 * stdio-common/tst-fphex-wide.c: New file.
24777
07037eeb
JM
247782012-03-08 Joseph Myers <joseph@codesourcery.com>
24779
a7a93d50
JM
24780 [BZ #6911]
24781 * manual/macros.texi (gnusystems): New macro.
24782 (nongnusystems): Likewise.
24783 (gnulinuxhurdsystems): Likewise.
24784 (gnuhurdsystems): Likewise..
24785 (gnulinuxsystems): Likewise.
24786 * manual/charset.texi: Use new macros or @theglibc{} to refer to
24787 variants of the GNU system, not "GNU system".
24788 * manual/conf.texi: Likewise.
24789 * manual/errno.texi: Likewise. Update example of errno macro
24790 expansion.
24791 * manual/filesys.texi: Likewise.
24792 (getumask): Document as specific to GNU/Hurd.
24793 * manual/install.texi: Likewise. Reword some references to
24794 GNU/Linux.
24795 * manual/intro.texi: Likewise.
24796 * manual/io.texi: Likewise.
24797 (File Name Portability): Detail which constraints are inapplicable
24798 to all GNU systems and which are only inapplicable to GNU/Hurd.
24799 * manual/job.texi: Likewise.
24800 * manual/llio.texi: Likewise.
24801 (O_NOCTTY): Document as present on GNU/Linux.
24802 * manual/maint.texi: Likewise.
24803 * manual/memory.texi: Likewise.
24804 * manual/pattern.texi: Likewise.
24805 * manual/pipe.texi: Likewise.
24806 * manual/process.texi: Likewise.
24807 * manual/resource.texi: Likewise.
24808 (RUSAGE_CHILDREN): Remove statement about specifying a particular
24809 child on GNU/Hurd.
24810 * manual/setjmp.texi: Likewise.
24811 * manual/signal.texi: Likewise.
24812 * manual/startup.texi: Likewise.
24813 * manual/stdio.texi: Likewise.
24814 * manual/terminal.texi: Likewise.
24815 (ONLCR): Document as POSIX.
24816 (OXTABS): Document availability on GNU/Linux as XTABS.
24817 (ONOEOT): Document availability separately from other bits.
24818 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
24819 * manual/time.texi: Likewise.
24820 * manual/users.texi: Likewise.
24821 * INSTALL: Regenerated.
24822 * sysdeps/gnu/errlist.c: Regenerated.
24823
07037eeb
JM
24824 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
24825 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
24826 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
24827 puts.
24828 * configure: Regenerated.
24829
d1d3431a
JM
248302012-03-07 Joseph Myers <joseph@codesourcery.com>
24831
af6a1e37
JM
24832 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
24833 default includes instead of AC_HEADER_CHECK.
24834 * sysdeps/i386/configure: Regenerated.
24835
d1d3431a
JM
24836 [BZ #10716]
24837 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
24838 * math/s_cacoshf.c (__cacoshf): Likewise.
24839 * math/s_cacoshl.c (__cacoshl): Likewise.
24840 * math/s_casinh.c (__casinh): Set signs of result from argument.
24841 * math/s_casinhf.c (__casinhf): Likewise.
24842 * math/s_casinhl.c (__casinhl): Likewise.
24843 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
24844 (casinh_test): Add more tests.
24845 * sysdeps/i386/fpu/libm-test-ulps: Update.
24846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24847
482ff4da
UD
248482012-03-07 Ulrich Drepper <drepper@gmail.com>
24849
872fda05
UD
24850 * po/zh_TW.po: Update from translation team.
24851
a4300c7a
UD
24852 * login/Makefile (distribute): Remove variable.
24853 * catgets/Makefile: Likewise.
24854 * mach/Makefile: Likewise.
24855 * malloc/Makefile: Likewise.
24856 * misc/Makefile: Likewise.
24857 * iconv/Makefile: Likewise.
24858 * nscd/Makefile: Likewise.
24859 * hurd/Makefile: Likewise.
24860 * manual/Makefile: Likewise.
24861 * locale/Makefile: Likewise.
24862 * intl/Makefile: Likewise.
24863 * conform/Makefile: Likewise.
24864 * nss/Makefile: Likewise.
24865 * time/Makefile: Likewise.
24866 * soft-fp/Makefile: Likewise.
24867 * dirent/Makefile: Likewise.
24868 * gmon/Makefile: Likewise.
24869 * po/Makefile: Likewise.
24870 * rt/Makefile: Likewise.
24871 * socket/Makefile: Likewise.
24872 * math/Makefile: Likewise.
24873 * signal/Makefile: Likewise.
24874 * debug/Makefile: Likewise.
24875 * elf/Makefile: Likewise.
24876 * timezone/Makefile: Likewise.
24877 * stdlib/Makefile: Likewise.
24878 * iconvdata/Makefile: Likewise.
24879 * sunrpc/Makefile: Likewise.
24880 * io/Makefile: Likewise.
24881 * argp/Makefile: Likewise.
24882 * inet/Makefile: Likewise.
24883 * hesiod/Makefile: Likewise.
24884 * grp/Makefile: Likewise.
24885 * csu/Makefile: Likewise.
24886 * wctype/Makefile: Likewise.
24887 * crypt/Makefile: Likewise.
24888 * libio/Makefile: Likewise.
24889 * string/Makefile: Likewise.
24890 * nis/Makefile: Likewise.
24891 * resolv/Makefile: Likewise.
24892 * stdio-common/Makefile: Likewise.
24893 * wcsmbs/Makefile: Likewise.
24894 * dlfcn/Makefile: Likewise.
24895 * posix/Makefile: Likewise.
24896
3b7c4e74 24897 [BZ #6959]
482ff4da
UD
24898 * timezone/Makefile: Don't install timezone files, just the programs
24899 and scripts.
24900
f72ed77d
UD
249012012-03-06 Ulrich Drepper <drepper@gmail.com>
24902
a000466f
UD
24903 * nss/databases.def: Add missing gshadow entry.
24904
f72ed77d
UD
24905 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
24906
a53b7a4e
MP
249072012-03-06 Marek Polacek <polacek@redhat.com>
24908
24909 [BZ #13726]
24910 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
24911 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24912 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
24913 * stdio-common/tst-long-dbl-fphex.c: New file.
24914
e9258400
DM
249152012-03-06 David S. Miller <davem@davemloft.net>
24916
24917 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24918 (set_obp_int): New function.
24919 (get_obp_int): New function.
24920 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
24921 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
24922 Avoid unused variable warnings on 'val' and use builtin_expect.
24923 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
24924 __builtin_expect.
e9258400
DM
24925 (INLINE_CLONE_SYSCALL): Likewise.
24926
3bd2c723
DM
249272012-03-05 David S. Miller <davem@davemloft.net>
24928
24929 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24930
bbb78d03
AS
249312012-03-05 Andreas Schwab <schwab@linux-m68k.org>
24932
884c5db4
AS
24933 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24934
bbb78d03
AS
24935 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
24936 only for |x| >= 40.
24937 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24938
1c9f702a 249392012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
24940
24941 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
24942 Replace gettimeofday with __vdso_gettimeofday.
24943
7be16f82
RM
24944 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24945 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
24946 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
24947
24948 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
24949 time with __vdso_time.
24950
ed58a00f
JM
249512012-03-05 Joseph Myers <joseph@codesourcery.com>
24952
24953 * manual/lang.texi (size_t): Note types to which size_t may be
24954 equivalent with the GNU C Library, but do not describe when
24955 differences between them are significant.
24956
30ee4ced
AJ
249572012-03-05 Andreas Jaeger <aj@suse.de>
24958
24959 * sysdeps/i386/fpu/libm-test-ulps: Update.
24960
b7cd39e8
JM
249612012-03-05 Joseph Myers <joseph@codesourcery.com>
24962
24963 [BZ #3976]
24964 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
24965 (__ieee754_pow): Save and restore rounding mode and use
24966 round-to-nearest for main computations.
24967 * math/libm-test.inc (pow_test_tonearest): New function.
24968 (pow_test_towardzero): Likewise.
24969 (pow_test_downward): Likewise.
24970 (pow_test_upward): Likewise.
24971 (main): Call the new functions.
24972 * sysdeps/i386/fpu/libm-test-ulps: Update.
24973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
24974
24975 [BZ #3976]
24976 * math/libm-test.inc (cosh_test_tonearest): New function.
24977 (cosh_test_towardzero): Likewise.
24978 (cosh_test_downward): Likewise.
24979 (cosh_test_upward): Likewise.
24980 (sinh_test_tonearest): Likewise.
24981 (sinh_test_towardzero): Likewise.
24982 (sinh_test_downward): Likewise.
24983 (sinh_test_upward): Likewise.
24984 (main): Call the new functions.
24985 * sysdeps/i386/fpu/libm-test-ulps: Update.
24986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24987
6c6a98c9
TV
249882012-03-05 Tom de Vries <tom@codesourcery.com>
24989
24990 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
24991 default stack guard is set in last bytes.
24992 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
24993
21bb2d2e 249942012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 24995
21bb2d2e 24996 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 24997
21bb2d2e
AJ
24998 [BZ #13656]
24999 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
25000 possibly allocate from heap instead of stack.
25001 * stdio-common/bug-vfprintf-nargs.c: New file.
25002 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 25003
c6922934
AS
250042012-03-03 Andreas Schwab <schwab@linux-m68k.org>
25005
25006 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25007
bc957d53
MP
250082012-03-03 Marek Polacek <polacek@redhat.com>
25009
25010 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
25011 * math/math_private.h: Likewise.
25012 * stdlib/tst-strtod.c: Likewise.
25013 * sysdeps/i386/i486/bits/atomic.h: Likewise.
25014 * sysdeps/x86_64/bits/atomic.h: Likewise.
25015
6358490d
DM
250162012-03-02 David S. Miller <davem@davemloft.net>
25017
25018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
25019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
25020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
25021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
25022 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
25023 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
25024 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
25025 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
25026
01ae168d
RM
250272012-03-02 Roland McGrath <roland@hack.frob.com>
25028
d9a17c07
RM
25029 [BZ #13792]
25030 * manual/examples/README: New file, says the example source files
25031 can be used under GPL>=2.
25032 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
25033 line containing just "*/".
25034 * manual/examples/add.c: Add copyright header (GPL>=2).
25035 * manual/examples/argp-ex1.c: Likewise.
25036 * manual/examples/argp-ex2.c: Likewise.
25037 * manual/examples/argp-ex3.c: Likewise.
25038 * manual/examples/argp-ex4.c: Likewise.
25039 * manual/examples/atexit.c: Likewise.
25040 * manual/examples/db.c: Likewise.
25041 * manual/examples/dir.c: Likewise.
25042 * manual/examples/dir2.c: Likewise.
25043 * manual/examples/execinfo.c: Likewise.
25044 * manual/examples/filecli.c: Likewise.
25045 * manual/examples/filesrv.c: Likewise.
25046 * manual/examples/fmtmsgexpl.c: Likewise.
25047 * manual/examples/genpass.c: Likewise.
25048 * manual/examples/inetcli.c: Likewise.
25049 * manual/examples/inetsrv.c: Likewise.
25050 * manual/examples/isockad.c: Likewise.
25051 * manual/examples/longopt.c: Likewise.
25052 * manual/examples/memopen.c: Likewise.
25053 * manual/examples/memstrm.c: Likewise.
25054 * manual/examples/mkfsock.c: Likewise.
25055 * manual/examples/mkisock.c: Likewise.
25056 * manual/examples/mygetpass.c: Likewise.
25057 * manual/examples/pipe.c: Likewise.
25058 * manual/examples/popen.c: Likewise.
25059 * manual/examples/rprintf.c: Likewise.
25060 * manual/examples/search.c: Likewise.
25061 * manual/examples/select.c: Likewise.
25062 * manual/examples/setjmp.c: Likewise.
25063 * manual/examples/sigh1.c: Likewise.
25064 * manual/examples/sigusr.c: Likewise.
25065 * manual/examples/stpcpy.c: Likewise.
25066 * manual/examples/strdupa.c: Likewise.
25067 * manual/examples/strftim.c: Likewise.
25068 * manual/examples/strncat.c: Likewise.
25069 * manual/examples/subopt.c: Likewise.
25070 * manual/examples/swapcontext.c: Likewise.
25071 * manual/examples/termios.c: Likewise.
25072 * manual/examples/testopt.c: Likewise.
25073 * manual/examples/testpass.c: Likewise.
25074 * manual/examples/timeval_subtract.c: Likewise.
25075
01ae168d
RM
25076 [BZ #13792]
25077 * manual/time.texi (Elapsed Time): Move timeval_subtract example
25078 function to ...
25079 * manual/timeval_subtract.c.texi: ... here, new file.
25080
49efa33d
DM
250812012-03-02 David S. Miller <davem@davemloft.net>
25082
25083 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
25084
28afd92d
JM
250852012-03-02 Joseph Myers <joseph@codesourcery.com>
25086
804360ed
JM
25087 [BZ #3976]
25088 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
25089 (__sin): Save and restore rounding mode and use round-to-nearest
25090 for all computations.
25091 (__cos): Save and restore rounding mode and use round-to-nearest
25092 for all computations.
25093 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
25094 <fenv.h>.
25095 (tan): Save and restore rounding mode and use round-to-nearest for
25096 all computations.
25097 * math/libm-test.inc (cos_test_tonearest): New function.
25098 (cos_test_towardzero): Likewise.
25099 (cos_test_downward): Likewise.
25100 (cos_test_upward): Likewise.
25101 (sin_test_tonearest): Likewise.
25102 (sin_test_towardzero): Likewise.
25103 (sin_test_downward): Likewise.
25104 (sin_test_upward): Likewise.
25105 (tan_test_tonearest): Likewise.
25106 (tan_test_towardzero): Likewise.
25107 (tan_test_downward): Likewise.
25108 (tan_test_upward): Likewise.
25109 (main): Call the new functions.
25110 * sysdeps/i386/fpu/libm-test-ulps: Update.
25111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25112
a6d06d7b
JM
25113 [BZ #10135]
25114 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
25115 small n, then large n, before computing and testing k+n.
25116 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25117 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
25118 Likewise.
25119 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
25120 Likewise.
25121 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
25122 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
25123 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
25124 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
25125 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25126 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25127 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
25128 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
25129 * math/libm-test.inc (scalbn_test): Add more tests.
25130 (scalbln_test): Likewise.
25131
07e12bb3
JM
25132 * manual/filesys.texi (mode_t): Describe constraints on size and
25133 signedness, not exact equivalence to a particular type.
25134 (ino_t): Likewise.
25135 (ino64_t): Likewise.
25136 (dev_t): Likewise.
25137 (nlink_t): Likewise.
25138 (blkcnt_t): Likewise.
25139 (blkcnt64_t): Likewise.
25140 * manual/llio.texi (off_t): Likewise.
25141
28afd92d
JM
25142 [BZ #3976]
25143 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
25144 (__ieee754_exp): Save and restore rounding mode and use
25145 round-to-nearest for all computations.
25146 * math/libm-test.inc (exp_test_tonearest): New function.
25147 (exp_test_towardzero): Likewise.
25148 (exp_test_downward): Likewise.
25149 (exp_test_upward): Likewise.
25150 (main): Call the new functions.
25151 * sysdeps/i386/fpu/libm-test-ulps: Update.
25152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25153
b1eeb65d
CD
251542012-03-01 Chris Demetriou <cgd@google.com>
25155
25156 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
25157 have predictable order.
25158
53362a4b
DM
251592012-03-01 David S. Miller <davem@davemloft.net>
25160
3c969083
DM
25161 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
25162
759707de
DM
25163 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
25164 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
25165 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
25166 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
25167
dfdb8ff2
DM
25168 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
25169 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
25170 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
25171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
25172 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
25173 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
25174 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
25175 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
25176 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
25177
ead89f96
DM
25178 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25179
7f66bd07
DM
25180 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
25181 * sysdeps/sparc/fpu/libm-test-ulps: to here.
25182 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
25183
53362a4b
DM
25184 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
25185 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25186 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25187 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
25188 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
25189 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
25190 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
25191 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25192 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25193 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
25194 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
25195 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25196 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25197 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25198 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25199 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25200 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
25201 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
25202 * sysdeps/sparc/elf/configure: Regenerated.
25203
7b1902cb
JM
252042012-03-01 Joseph Myers <joseph@codesourcery.com>
25205
bec039bc
JM
25206 * configure.in (AS, LD): Require binutils 2.20 or later.
25207 * configure: Regenerated.
25208 * manual/install.texi (Tools for Compilation): Give binutils 2.20
25209 as required minimum version.
25210 * INSTALL: Regenerated.
25211
7b1902cb
JM
25212 [BZ #2541]
25213 [BZ #4108]
25214 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
25215 before squaring exponent.
25216 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
25217 bottom long double and 27 bits of top long double before squaring
25218 exponent.
25219 * math/libm-test.inc (erfc_test): Add more tests.
25220 * sysdeps/i386/fpu/libm-test-ulps: Update.
25221 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25223
f775c276
KT
252242012-03-01 Kai Tietz <ktietz@redhat.com>
25225
25226 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
25227 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
25228 containing bit-fields.
25229 * soft-fp/extended.h (_FP_UNION_E): Likewise.
25230 * soft-fp/single.h (_FP_UNION_S): Likewise.
25231 * soft-fp/double.h (_FP_UNION_D): Likewise.
25232
5b8a4d4a
JM
252332012-02-29 Joseph Myers <joseph@codesourcery.com>
25234
0bab47b6
JM
25235 [BZ #13786]
25236 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
25237 not include ../strcmp.S.
25238 [USE_AS_STRNCASECMP_L]: Likewise.
25239 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
25240 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
25241 * sysdeps/i386/i686/multiarch/strncase_l-c.c
25242 (__strncasecmp_l_ia32): Define as alias to
25243 __strncasecmp_l_nonascii.
25244
0fcad3e2
JM
25245 [BZ #5794]
25246 * math/libm-test.inc (expm1_test): Add test for bug 5794.
25247 * sysdeps/i386/fpu/libm-test-ulps: Update.
25248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25249
5b8a4d4a
JM
25250 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
25251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25252
8fdceb2e
JL
252532012-02-29 Jeff Law <law@redhat.com>
25254
25255 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
25256 out of bounds read.
25257
1f393a11
MP
252582012-02-29 Marek Polacek <polacek@redhat.com>
25259
25260 [BZ #13706]
25261 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
25262 * elf/Makefile: Add rules to run tst-unused-dep.out.
25263
8847f037
DM
252642012-02-28 David S. Miller <davem@davemloft.net>
25265
25266 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
25267 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
25268 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
25269 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
25270 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
25271 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
25272
169d7f11
JM
252732012-02-29 Joseph Myers <joseph@codesourcery.com>
25274
25275 * math/libm-test.inc (llround_test): Move one test from
25276 lround_test. Use TEST_f_L in moved test.
25277 (lround_test): Move misplaced test to llround_test. Add testcase
25278 from bug 2561.
25279
39adf059
UD
252802012-02-28 Ulrich Drepper <drepper@gmail.com>
25281
25282 * sysdeps/x86_64/fpu/e_expf.S: New file.
25283 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
25284
71b5d1c5
SB
252852012-02-28 Stanislav Brabec <sbrabec@suse.cz>
25286
25287 [BZ #13637]
25288 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
25289 of remain_len that may cause incomplete multi-byte character and
25290 false match.
25291 * posix/bug-regex33.c: New file.
25292 * posix/Makefile (tests): Add bug-regex33.
25293
1f77f049
JM
252942012-02-28 Joseph Myers <joseph@codesourcery.com>
25295
25296 * manual/macros.texi: New file.
25297 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
25298 * manual/libc.texinfo: Include macros.texi.
25299 * manual/creatute.texi: Likewise.
25300 * manual/install.texi: Likewise.
25301 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
25302 @glibcadj{} in references to the GNU C Library.
25303 * manual/charset.texi: Likewise.
25304 * manual/conf.texi: Likewise.
25305 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
25306 when not using those macros.
25307 * manual/creature.texi: Likewise.
25308 * manual/crypt.texi: Likewise.
25309 * manual/errno.texi: Likewise.
25310 * manual/filesys.texi: Likewise.
25311 * manual/header.texi: Likewise.
25312 * manual/install.texi: Likewise.
25313 * manual/intro.texi: Likewise.
25314 * manual/io.texi: Likewise.
25315 * manual/job.texi: Likewise.
25316 * manual/lang.texi: Likewise.
25317 * manual/libc.texiinfo: Likewise.
25318 * manual/llio.texi: Likewise.
25319 * manual/locale.texi: Likewise.
25320 * manual/maint.texi: Likewise.
25321 * manual/math.texi: Likewise.
25322 * manual/memory.texi: Likewise.
25323 * manual/message.texi: Likewise.
25324 * manual/nss.texi: Likewise.
25325 * manual/pattern.texi: Likewise.
25326 * manual/process.texi: Likewise.
25327 * manual/resource.texi: Likewise.
25328 * manual/search.texi: Likewise.
25329 * manual/setjmp.texi: Likewise.
25330 * manual/signal.texi: Likewise.
25331 * manual/socket.texi: Likewise.
25332 * manual/startup.texi: Likewise.
25333 * manual/stdio.texi: Likewise.
25334 * manual/string.texi: Likewise.
25335 * manual/sysinfo.texi: Likewise.
25336 * manual/syslog.texi: Likewise.
25337 * manual/terminal.texi: Likewise.
25338 * manual/time.texi: Likewise.
25339 * manual/users.texi: Likewise.
25340 * INSTALL: Regenerated.
25341 * NOTES: Regenerated.
d40c5d54 25342 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 25343
450bf206
AS
253442012-02-28 Andreas Schwab <schwab@linux-m68k.org>
25345
25346 * include/dirent.h: Include <dirstream.h> before
25347 <dirent/dirent.h>.
25348
741a235b
DM
253492012-02-28 David S. Miller <davem@davemloft.net>
25350
25351 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
25352 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
25353 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
25354 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
25355
d6b5aa58
DM
253562012-02-27 David S. Miller <davem@davemloft.net>
25357
1aff59a3
DM
25358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
25359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
25360 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
25361 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
25362
d6b5aa58
DM
25363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
25364 frame pointer instead of stack pointer relative arg slot.
25365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25366 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25367 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25368
433f48bf
CD
253692012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
25370
25371 [BZ #3992]
25372 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
25373
d674b76d
DM
253742012-02-27 David S. Miller <davem@davemloft.net>
25375
25376 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
25377 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25378 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25379 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
25380 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25381 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25382 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
25383 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
25384
0e7727f7
JM
253852012-02-27 Joseph Myers <joseph@codesourcery.com>
25386
25387 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
25388 later. Allow versions 5-9.
43be4ca2 25389 * configure: Regenerated.
0e7727f7
JM
25390 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
25391 required minimum version and 4.6 as recommended version. Do not
25392 mention bugs in GCC 2.7 and 2.8.
43be4ca2 25393 * INSTALL: Regenerated.
0e7727f7 25394
a78bc654
DM
253952012-02-27 David S. Miller <davem@davemloft.net>
25396
428d5830
DM
25397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
25398 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
25399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
25400 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
25401 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
25402 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
25403 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
25404 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
25405
a78bc654
DM
25406 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
25407 manipulate bits before adding and subtracting TWO112[sx].
25408 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25409
4579f81c
RM
254102012-02-27 Roland McGrath <roland@hack.frob.com>
25411
36c8acb4
RM
25412 [BZ #13775]
25413 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
25414 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
25415 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
25416 being in POSIX, because they are in 1003.1-2008.
25417
84ad622b
RM
25418 * rt/tst-aio.c: Include <fcntl.h>.
25419 * rt/tst-aio7.c: Likewise.
25420 * rt/tst-aio64.c: Likewise.
25421
4579f81c
RM
25422 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
25423
abd923db
JM
254242012-02-27 Joseph Myers <joseph@codesourcery.com>
25425
25426 * manual/install.texi (--with-headers): Describe headers as
25427 interface headers, not private headers.
25428 (Specific advice for GNU/Linux systems): Describe use of headers
25429 from "make headers_install", not private headers from older
25430 kernels.
43be4ca2 25431 * INSTALL: Regenerated.
abd923db
JM
25432 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
25433 Change to 2.6.19.
25434 * sysdeps/unix/sysv/linux/configure: Regenerated.
25435
6664049b
JM
25436 * manual/llio.texi (fclean): Remove documentation.
25437
bb8b6697
JM
25438 * manual/Makefile (libc-texi-generated): New variable. Include
25439 version.texi.
25440 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
25441 $(libc-texi-generated), not duplicated list of files.
25442 (version.texi, stamp-version): New rules.
25443 (realclean): Remove $(libc-texi-generated), not individual files
25444 from that list. Do not remove dir-add.texinfo.
25445 * manual/libc.texinfo: Comment out uses of edition numbers and
25446 references to printed manual. Remove last-updated dates.
25447 (EDITION): Comment out.
25448 (ISBN): Likewise.
25449 (VERSION, UPDATED): Remove.
25450 (version.texi): Include.
25451
12e5c3b9
AS
254522012-02-27 Andreas Schwab <schwab@linux-m68k.org>
25453
25454 * sysdeps/posix/spawni.c: Include <signal.h>.
25455 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
25456 * sysdeps/pthread/aio_fsync.c: Likewise.
25457
4efeffc1 254582012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 25459
ba63ba08
UD
25460 * conform/Makefile (tests): Run only when not cross-compiling and
25461 when fast-check is not defined.
25462
d94a4670
UD
25463 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
25464 * conform/data/limits.h-data: Fixes for POSIX2008.
25465 * conform/run-conformtest.sh: Run all tests.
25466 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
25467 headers.
25468 * include/bits/dlfcn.h: Likewise.
25469 * include/langinfo.h: Likewise.
25470 * include/monetary.h: Likewise.
25471 * include/sys/poll.h: Likewise.
25472
25473 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
25474 for __USE_GNU.
25475 * posix/spawn.h: Define __need_sigset_t.
25476 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
25477 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
25478 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
25479 to get sigevent_t only.
25480 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
25481 only for __USE_GNU.
25482 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25483 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25484 process_vm_writev only for __USE_GNU.
25485 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
25486
25487 * conform/Makefile: For now ignore errors from run-conformtest.
25488 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
25489 POSIX to avoid namespace pollution. Don't prepend headers.
25490 * conform/data/aio.h-data: Fixes for POSIX testing.
25491 * conform/data/fcntl.h-data: Likewise.
25492 * conform/data/glob.h-data: Likewise.
25493 * conform/data/grp.h-data: Likewise.
25494 * conform/data/pthread.h-data: Likewise.
25495 * conform/data/pwd.h-data: Likewise.
25496 * conform/data/signal.h-data: Likewise.
25497 * conform/data/spawn.h-data: Likewise.
25498 * conform/data/stdio.h-data: Likewise.
25499 * conform/data/stdlib.h-data: Likewise.
25500 * conform/data/stropts.h-data: Likewise.
25501 * conform/data/sys/mman.h-data: Likewise.
25502 * conform/data/sys/stat.h-data: Likewise.
25503 * conform/data/sys/types.h-data: Likewise.
25504 * conform/data/sys/wait.h-data: Likewise.
25505 * conform/data/time.h-data: Likewise.
25506 * conform/data/unistd.h-data: Likewise.
25507 * conform/data/utime.h-data: Likewise.
25508
25509 * io/sys/stat.h: fchmod was always in POSIX.
25510 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
25511 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
25512 * rt/aio.h: Define __need_timespec before including <time.h>.
25513 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
25514 struct. Add forward declaration of pthread_attr_t and use it in
25515 sigevent.
25516 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25517 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25518 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
25519 always remove CLK_TCK definition.
25520
c20105c3
AS
255212012-02-26 Andreas Schwab <schwab@linux-m68k.org>
25522
25523 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
25524
7a270350
UD
255252012-02-25 Ulrich Drepper <drepper@gmail.com>
25526
31341567
UD
25527 * conform/run-conformtest.sh: New file.
25528 * conform/Makefile: Run run-conformtest for tests.
25529 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
25530 support.
25531
25532 * conform/data/uchar.h-data: New file.
25533 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
25534 * conform/data/arpa/inet.h-data: Likewise.
25535 * conform/data/assert.h-data: Likewise.
25536 * conform/data/complex.h-data: Likewise.
25537 * conform/data/cpio.h-data: Likewise.
25538 * conform/data/ctype.h-data: Likewise.
25539 * conform/data/dirent.h-data: Likewise.
25540 * conform/data/dlfcn.h-data: Likewise.
25541 * conform/data/errno.h-data: Likewise.
25542 * conform/data/fcntl.h-data: Likewise.
25543 * conform/data/float.h-data: Likewise.
25544 * conform/data/fmtmsg.h-data: Likewise.
25545 * conform/data/fnmatch.h-data: Likewise.
25546 * conform/data/ftw.h-data: Likewise.
25547 * conform/data/glob.h-data: Likewise.
25548 * conform/data/grp.h-data: Likewise.
25549 * conform/data/iconv.h-data: Likewise.
25550 * conform/data/inttypes.h-data: Likewise.
25551 * conform/data/langinfo.h-data: Likewise.
25552 * conform/data/libgen.h-data: Likewise.
25553 * conform/data/limits.h-data: Likewise.
25554 * conform/data/locale.h-data: Likewise.
25555 * conform/data/math.h-data: Likewise.
25556 * conform/data/monetary.h-data: Likewise.
25557 * conform/data/mqueue.h-data: Likewise.
25558 * conform/data/ndbm.h-data: Likewise.
25559 * conform/data/net/if.h-data: Likewise.
25560 * conform/data/netdb.h-data: Likewise.
25561 * conform/data/netinet/in.h-data: Likewise.
25562 * conform/data/nl_types.h-data: Likewise.
25563 * conform/data/poll.h-data: Likewise.
25564 * conform/data/pthread.h-data: Likewise.
25565 * conform/data/pwd.h-data: Likewise.
25566 * conform/data/regex.h-data: Likewise.
25567 * conform/data/sched.h-data: Likewise.
25568 * conform/data/search.h-data: Likewise.
25569 * conform/data/semaphore.h-data: Likewise.
25570 * conform/data/setjmp.h-data: Likewise.
25571 * conform/data/signal.h-data: Likewise.
25572 * conform/data/spawn.h-data: Likewise.
25573 * conform/data/stdarg.h-data: Likewise.
25574 * conform/data/stdio.h-data: Likewise.
25575 * conform/data/stdlib.h-data: Likewise.
25576 * conform/data/string.h-data: Likewise.
25577 * conform/data/strings.h-data: Likewise.
25578 * conform/data/stropts.h-data: Likewise.
25579 * conform/data/sys/ipc.h-data: Likewise.
25580 * conform/data/sys/mman.h-data: Likewise.
25581 * conform/data/sys/msg.h-data: Likewise.
25582 * conform/data/sys/resource.h-data: Likewise.
25583 * conform/data/sys/select.h-data: Likewise.
25584 * conform/data/sys/sem.h-data: Likewise.
25585 * conform/data/sys/shm.h-data: Likewise.
25586 * conform/data/sys/socket.h-data: Likewise.
25587 * conform/data/sys/stat.h-data: Likewise.
25588 * conform/data/sys/statvfs.h-data: Likewise.
25589 * conform/data/sys/time.h-data: Likewise.
25590 * conform/data/sys/timeb.h-data: Likewise.
25591 * conform/data/sys/times.h-data: Likewise.
25592 * conform/data/sys/types.h-data: Likewise.
25593 * conform/data/sys/uio.h-data: Likewise.
25594 * conform/data/sys/un.h-data: Likewise.
25595 * conform/data/sys/utsname.h-data: Likewise.
25596 * conform/data/sys/wait.h-data: Likewise.
25597 * conform/data/syslog.h-data: Likewise.
25598 * conform/data/tar.h-data: Likewise.
25599 * conform/data/termios.h-data: Likewise.
25600 * conform/data/utime.h-data: Likewise.
25601 * conform/data/utmpx.h-data: Likewise.
25602 * conform/data/varargs.h-data: Likewise.
25603 * conform/data/wchar.h-data: Likewise.
25604 * conform/data/wctype.h-data: Likewise.
25605 * conform/data/wordexp.h-data: Likewise.
25606
25607 * include/stropts.h: New file.
25608 * include/uchar.h: New file.
25609 * include/aio.h: Changes to allow conformtest.pl to use the headers.
25610 * include/assert.h: Likewise.
25611 * include/ctype.h: Likewise.
25612 * include/dirent.h: Likewise.
25613 * include/dlfcn.h: Likewise.
25614 * include/fcntl.h: Likewise.
25615 * include/fnmatch.h: Likewise.
25616 * include/glob.h: Likewise.
25617 * include/grp.h: Likewise.
25618 * include/libio.h: Likewise.
25619 * include/locale.h: Likewise.
25620 * include/math.h: Likewise.
25621 * include/net/if.h: Likewise.
25622 * include/netdb.h: Likewise.
25623 * include/netinet/in.h: Likewise.
25624 * include/pthread.h: Likewise.
25625 * include/pwd.h: Likewise.
25626 * include/regex.h: Likewise.
25627 * include/sched.h: Likewise.
25628 * include/search.h: Likewise.
25629 * include/setjmp.h: Likewise.
25630 * include/signal.h: Likewise.
25631 * include/stdio.h: Likewise.
25632 * include/stdlib.h: Likewise.
25633 * include/string.h: Likewise.
25634 * include/sys/cdefs.h: Likewise.
25635 * include/sys/mman.h: Likewise.
25636 * include/sys/msg.h: Likewise.
25637 * include/sys/resource.h: Likewise.
25638 * include/sys/select.h: Likewise.
25639 * include/sys/socket.h: Likewise.
25640 * include/sys/stat.h: Likewise.
25641 * include/sys/statvfs.h: Likewise.
25642 * include/sys/time.h: Likewise.
25643 * include/sys/times.h: Likewise.
25644 * include/sys/uio.h: Likewise.
25645 * include/sys/utsname.h: Likewise.
25646 * include/sys/wait.h: Likewise.
25647 * include/termios.h: Likewise.
25648 * include/time.h: Likewise.
25649 * include/ulimit.h: Likewise.
25650 * include/unistd.h: Likewise.
25651 * include/utime.h: Likewise.
25652 * include/wchar.h: Likewise.
25653 * include/wctype.h: Likewise.
25654 * include/wordexp.h: Likewise.
25655
25656 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
25657
7a270350
UD
25658 * time/time.h: TIME_UTC must be a macro.
25659 Make timespec_get available for ISO C11 only as well.
25660
7724defc
UD
256612012-02-24 Ulrich Drepper <drepper@gmail.com>
25662
25663 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
25664 Reported by Peng Haitao <penght@cn.fujitsu.com>.
25665
6b1d1d46
JM
256662012-02-24 Joseph Myers <joseph@codesourcery.com>
25667
25668 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 25669
0f8bbd69
JM
256702012-02-24 Joseph Myers <joseph@codesourcery.com>
25671
25672 * manual/texinfo.tex: Update to version 2012-01-19.16.
25673
66ab80bc
JM
256742012-02-24 Joseph Myers <joseph@codesourcery.com>
25675
25676 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
25677
74981cc5
RM
256782012-02-24 Roland McGrath <roland@hack.frob.com>
25679
ee968201
RM
25680 [BZ #13738]
25681 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
25682 * manual/fdl-1.3.texi: New file.
25683 * manual/fdl-1.1.texi: File removed.
25684
74981cc5
RM
25685 [BZ #13738]
25686 * manual/libc.texinfo (FDL_VERSION): New @set.
25687 Use it for mention of FDL in cover text.
25688 (Documentation License): Use it in @include file name.
25689
7bb764bc
JM
256902012-02-22 Joseph Myers <joseph@codesourcery.com>
25691 Roland McGrath <roland@hack.frob.com>
25692
25693 [BZ #5461]
25694 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
25695 not LONG_LONG_MAX and LONG_LONG_MIN.
25696 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
25697 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
25698 name.
25699 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
25700
6cbeae47
JM
257012012-02-22 Joseph Myers <joseph@codesourcery.com>
25702
25703 [BZ #2547]
25704 [BZ #11365]
25705 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
25706 manipulate bits before adding and subtracting TWO23[sx].
25707 * math/libm-test.inc (nearbyint_test): Add more tests.
25708
fe45ce09
JM
257092012-02-22 Joseph Myers <joseph@codesourcery.com>
25710
25711 [BZ #2548]
25712 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
25713 bits before adding and subtracting TWO23[sx].
25714 * math/libm-test.inc (rint_test): Add more tests.
25715 (rint_test_tonearest): Likewise.
25716 (rint_test_towardzero): Likewise.
25717 (rint_test_downward): Likewise.
25718 (rint_test_upward: Likewise.
25719
ff3b3d82
JM
257202012-02-22 Joseph Myers <joseph@codesourcery.com>
25721
25722 [BZ #10110]
25723 * include/stdc-predef.h: New file. Extracted from features.h.
25724 * include/features.h: Include stdc-predef.h.
25725 * Makefile (headers): Add stdc-predef.h.
25726 * CONFORMANCE (Compiler limitations): Update.
25727
ef0aab35
JM
257282012-02-22 Joseph Myers <joseph@codesourcery.com>
25729
25730 * manual/libc.texinfo (VERSION, UPDATED): Revert.
25731
58639409
DM
257322012-02-21 David S. Miller <davem@davemloft.net>
25733
25734 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
25735 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25736
c0e70b25
DM
257372012-02-20 David S. Miller <davem@davemloft.net>
25738
25739 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
25740 using a normal save/restore sequence, rather than allocating a
25741 dummy stack frame just to store a frame pointer and restore.
25742 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25743
fb06851d
JM
257442012-02-21 Joseph Myers <joseph@codesourcery.com>
25745
25746 * manual/install.texi: Fix stray word in line-wrapped comment.
25747
7a8b71c3
DM
257482012-02-20 David S. Miller <davem@davemloft.net>
25749
d510c123
DM
25750 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
25751 both binutils and gcc support GOTDATA.
25752
0722d7c2
DM
25753 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
25754 "rd %pc" in the PIC register setup sequences.
25755
3d2b3019
DM
25756 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
25757 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25758 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25759 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25760 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25761 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25762 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25763 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25764 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
25765 (SYSCALL_ERROR_HANDLER): Likewise.
25766 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25767 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25768 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
25769 (SYSCALL_ERROR_HANDLER): Likewise.
25770
c80098a9
DM
25771 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
25772 (HAVE_GCC_GOTDATA): New.
25773 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
25774 relocation support in both binutils and gcc.
25775 * sysdeps/sparc/elf/configure: Regenerate.
25776
3a2545a0
DM
25777 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
25778 * sysdeps/sparc/sparc32/elf/configure: Delete.
25779 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
25780 * sysdeps/sparc/sparc64/elf/configure: Delete.
25781 * sysdeps/sparc/elf/configure.in: New file.
25782 * sysdeps/sparc/elf/configure: Generate.
25783
7a8b71c3
DM
25784 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
25785 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
25786 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25787 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
25788 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
25789
f1e86fca
JM
257902012-02-21 Joseph Myers <joseph@codesourcery.com>
25791
25792 * manual/install.texi: Do not mention specific glibc version
25793 numbers.
25794 * manual/libc.texinfo (VERSION, UPDATED): Update.
25795 (@copying): Use @copyright{} and range of years.
25796
0e7dfaef
JM
257972012-02-21 Joseph Myers <joseph@codesourcery.com>
25798
25799 [BZ #13695]
25800 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
25801 [crti.S not in sysdirs] (generated): Do not append.
25802 [crti.S not in sysdirs] (omit-deps): Likewise.
25803 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
25804 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
25805 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
25806 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
25807 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
25808 Likewise.
25809 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
25810 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
25811 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
25812 * csu/defs.awk: Remove file.
25813 * sysdeps/generic/initfini.c: Likewise.
25814 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
25815 variable.
25816 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
25817 Likewise.
25818
599af3ca
JM
258192012-02-20 Joseph Myers <joseph@codesourcery.com>
25820
25821 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
25822 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
25823 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
25824 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
25825 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25826 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
25827 <bits/epoll.h>.
25828 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
25829 (__EPOLL_PACKED): Define to empty if not defined by
25830 <bits/epoll.h>.
25831 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
25832 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25833 bits/epoll.h.
25834
0e499750
JM
258352012-02-20 Joseph Myers <joseph@codesourcery.com>
25836
25837 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
25838 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
25839 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
25840 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
25841 <bits/timerfd.h>.
25842 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
25843 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25844 bits/timerfd.h.
25845
5ad91f6e
JM
258462012-02-20 Joseph Myers <joseph@codesourcery.com>
25847
25848 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
25849 in C locale.
25850 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25851 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25852 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
25853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25854
06b99b02
AJ
258552012-02-20 Aurelien Jarno <aurelien@aurel32.net>
25856
25857 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25858 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25859
7638c0fd
AS
258602012-02-19 Andreas Schwab <schwab@linux-m68k.org>
25861
25862 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
25863 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
25864 defined.
25865 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
25866 Likewise.
25867 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
25868 entry for 2.16.
25869
92221550
AJ
258702012-02-19 Aurelien Jarno <aurelien@aurel32.net>
25871
25872 * math/w_acos.c: Use non-signaling floating-point comparisons.
25873 * math/w_acosf.c: Likewise.
25874 * math/w_acosh.c: Likewise.
25875 * math/w_acoshf.c: Likewise.
25876 * math/w_acoshl.c: Likewise.
25877 * math/w_acosl.c: Likewise.
25878 * math/w_asin.c: Likewise.
25879 * math/w_asinf.c: Likewise.
25880 * math/w_asinl.c: Likewise.
25881 * math/w_atanh.c: Likewise.
25882 * math/w_atanhf.c: Likewise.
25883 * math/w_atanhl.c: Likewise.
25884 * math/w_exp2.c: Likewise.
25885 * math/w_exp2f.c: Likewise.
25886 * math/w_exp2l.c: Likewise.
25887 * math/w_j0.c: Likewise.
25888 * math/w_j0f.c: Likewise.
25889 * math/w_j0l.c: Likewise.
25890 * math/w_j1.c: Likewise.
25891 * math/w_j1f.c: Likewise.
25892 * math/w_j1l.c: Likewise.
25893 * math/w_jn.c: Likewise.
25894 * math/w_jnf.c: Likewise.
25895 * math/w_log.c: Likewise.
25896 * math/w_log10.c: Likewise.
25897 * math/w_log10f.c: Likewise.
25898 * math/w_log10l.c: Likewise.
25899 * math/w_log2.c: Likewise.
25900 * math/w_log2f.c: Likewise.
25901 * math/w_log2l.c: Likewise.
25902 * math/w_logf.c: Likewise.
25903 * math/w_logl.c: Likewise.
25904 * math/w_sqrt.c: Likewise.
25905 * math/w_sqrtf.c: Likewise.
25906 * math/w_sqrtl.c: Likewise.
25907 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25908 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25909 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25910 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25911 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25912
ebaf36eb
JM
259132012-02-19 Joseph Myers <joseph@codesourcery.com>
25914
25915 [BZ #9739]
25916 * manual/string.texi (strnlen): Use correct parameter name in
25917 equivalent expression.
25918
71c254a6
JM
259192012-02-19 Joseph Myers <joseph@codesourcery.com>
25920
25921 [BZ #11174]
25922 * manual/users.texi (seteuid): Consistently use neweuid for
25923 argument name.
25924
16d2c631
JM
259252012-02-19 Joseph Myers <joseph@codesourcery.com>
25926
25927 [BZ #13704]
25928 * manual/nss.texi (Services in the NSS configuration): Correct
25929 list of services in example configuration file.
25930
cd837b09
NB
259312012-02-19 Nick Bowler <nbowler@draconx.ca>
25932
25933 [BZ #11322]
25934 * manual/arith.texi: Remove statements about negative zero
25935 behaving identically to zero.
25936
02c4bbad
JM
259372012-02-18 Joseph Myers <joseph@codesourcery.com>
25938
25939 [BZ #5993]
25940 * manual/install.texi: Do not document upgrading from libc5.
25941
366842e7
JM
259422012-02-18 Joseph Myers <joseph@codesourcery.com>
25943
25944 [BZ #4596]
25945 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
25946
dd54084d
DM
259472012-02-18 David S. Miller <davem@davemloft.net>
25948
25949 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
25950 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
25951 %o7 across the call.
25952 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
25953 instead.
25954 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
25955 SETUP_PIC_REG_LEAF.
25956 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25957 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
25958 * sysdeps/sparc/crtn.S: Likewise.
25959
2bcc53a3
UD
259602012-02-17 Ulrich Drepper <drepper@gmail.com>
25961
25962 * aout/Makefile: Remove.
25963
09c093b5
RK
259642012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
25965
25966 [BZ #13058]
25967 * manual/examples/argp-ex1.c (main): Format definition in GNU
25968 style.
25969 * manual/examples/argp-ex2.c (main): Likewise.
25970 * manual/examples/argp-ex3.c (main): Likewise.
25971 * manual/examples/argp-ex4.c (main): Likewise.
25972 * manual/examples/longopt.c (main): Use new-style prototype
25973 definition.
25974 * manual/examples/strncat.c (main): Specify return type and use
25975 (void) for arguments.
25976 * manual/examples/subopt.c (main): Use char **argv argument.
25977
2ee633a2
JM
259782012-02-17 Joseph Myers <joseph@codesourcery.com>
25979
25980 [BZ #5077]
25981 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
25982 rounding modes.
25983
0520adde
FB
259842012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
25985
25986 [BZ #6907]
25987 * manual/string.texi (strchr): Change when strchrnul is
25988 recommended.
25989
3f4081cd
DGM
259902012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
25991
25992 [BZ #174]
25993 * manual/locale.texi (setlocale): Document LOCPATH.
25994
d1b10e78
JM
259952012-02-17 Joseph Myers <joseph@codesourcery.com>
25996
25997 [BZ #10210]
25998 * manual/process.texi (execle): Move @dots{} before last argument.
25999
79c6869c
PB
260002012-02-17 Paul Bolle <pebolle@tiscali.nl>
26001
26002 [BZ #12047]
26003 * manual/charset.texi (Generic Charset Conversion): Fix typo
26004 (LC_TYPE -> LC_CTYPE).
26005
cc6e48bc
NB
260062012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
26007
26008 [BZ #5805]
26009 * manual/arith.texi (scalbn): Use @var{} on parameter names.
26010 (scalbnf): Likewise.
26011 (scalbnl): Likewise.
26012 (scalbln): Likewise.
26013 (scalblnf): Likewise.
26014 (scalblnl): Likewise.
26015 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
26016 (vwarnx): Likewise.
26017 (verr): Likewise.
26018 (verrx): Likewise.
26019 * manual/filesys.texi (telldir): Use braces around return type.
26020 * manual/llio.texi (mmap): Add space after comma.
26021 (mmap64): Likewise.
26022 * manual/math.texi (jn): Use @var{} on parameter names.
26023 (jnf): Likewise.
26024 (jnl): Likewise.
26025 (yn): Likewise.
26026 (ynf): Likewise.
26027 (ynl): Likewise.
26028 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
26029 line.
26030 * manual/resource.texi (ulimit): Use @dots{} instead of literal
26031 "...".
26032 (sched_get_priority_min): Remove semicolon on @deftypefun line.
26033 (sched_get_priority_max): Likewise.
26034 * manual/signal.texi (sigvec): Add space after comma.
26035 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
26036 names.
26037 (if_indextoname): Likewise.
26038 (if_freenameindex): Likewise.
26039 (sendto): Use ',' instead of '.' in prototype.
26040 * manual/startup.texi (syscall): Use @dots{} instead of literal
26041 "...".
26042 * manual/stdio.texi (__fpending): Separate initial words of
26043 paragraph from @deftypefun line.
26044 * manual/syslog.texi (syslog): Use @dots{} instead of literal
26045 "...".
26046 (vsyslog): Use @var{} on parameter names.
26047 * manual/terminal.texi (stty): Use @var{} on parameter names.
26048 * manual/users.texi (getutmp): Use @var{} on parameter names.
26049 (getutmpx): Likewise.
26050
5b23062f
JM
260512012-02-17 Joseph Myers <joseph@codesourcery.com>
26052
26053 [BZ #6884]
26054 * manual/stdio.texi (fopen): Fix typos in description of
26055 ",ccs=STRING".
26056
8dee4833
AJ
260572012-02-17 Aurelien Jarno <aurelien@aurel32.net>
26058
26059 [BZ #4026]
26060 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
26061 get clock_id definition.
26062
9078ce93
TS
260632012-02-17 Thomas Schwinge <thomas@schwinge.name>
26064
26065 [BZ #4822]
26066 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
26067 (madvise): Cast every argument to void on its own.
26068
3835c55f
JM
260692012-02-17 Joseph Myers <joseph@codesourcery.com>
26070
26071 [BZ #9902]
26072 * manual/startup.texi (Exit Status): Fix typo.
26073
35c47e37
JM
260742012-02-17 Joseph Myers <joseph@codesourcery.com>
26075
26076 [BZ #10140]
26077 * manual/examples/argp-ex1.c: Include <stdlib.h>.
26078 * manual/examples/argp-ex2.c: Likewise.
26079 * manual/examples/argp-ex3.c: Likewise.
26080
e3b69ca7
RH
260812012-02-16 Richard Henderson <rth@redhat.com>
26082
26083 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
26084 * sysdeps/s390/s390-32/initfini.c: Remove.
26085 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
26086 * sysdeps/s390/s390-64/initfini.c: Remove.
26087
df83af67
KK
260882012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26089
26090 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
26091 compiler output for sysdeps/generic/initfini.c.
26092 * sysdeps/sh/elf/initfini.c: Remove file.
26093
f63f3380
DM
260942012-02-16 David S. Miller <davem@davemloft.net>
26095
fb59b3a4
DM
26096 [BZ #11494]
26097 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
26098
f63f3380
DM
26099 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
26100 * sysdeps/sparc/crti.S: New file.
26101 * sysdeps/sparc/crtn.S: New file.
26102 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
26103 * sysdeps/sparc/sparc64/Makefile: Likewise.
26104
df6a4a4a
MF
261052012-02-15 Mike Frysinger <vapier@gentoo.org>
26106
6dd8f3dc 26107 [BZ #3335]
df6a4a4a
MF
26108 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
26109
1cac7236
RM
261102012-02-15 Roland McGrath <roland@hack.frob.com>
26111
d2c736f8
RM
26112 [BZ #4822]
26113 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
26114
1cac7236
RM
26115 * mach/devstream.c (cookie_io_functions_t): Macro removed.
26116 (write, read, close): Likewise.
26117 Patch by Aurelien Jarno <aurelien@aurel32.net>.
26118
8e475601
JM
261192012-02-15 Joseph Myers <joseph@codesourcery.com>
26120
26121 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
26122 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
26123 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
26124 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
26125 <bits/signalfd.h>.
26126 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
26127 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26128 bits/signalfd.h.
26129
ed656b40
MP
261302012-02-14 Marek Polacek <polacek@redhat.com>
26131
26132 * sysdeps/x86_64/crti.S: New file.
26133 * sysdeps/x86_64/crtn.S: New file.
26134 * sysdeps/x86_64/elf/initfini.c: Remove file.
26135
2a979d3a
JM
261362012-02-13 Joseph Myers <joseph@codesourcery.com>
26137
26138 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
26139 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
26140 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
26141 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
26142 <bits/inotify.h>.
26143 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
26144 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26145 bits/inotify.h.
26146
2a418ac3
JM
261472012-02-13 Joseph Myers <joseph@codesourcery.com>
26148
26149 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
26150 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
26151 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
26152 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
26153 <bits/eventfd.h>.
26154 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
26155 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26156 bits/eventfd.h.
26157
fb779be7
TS
261582012-02-10 Thomas Schwinge <thomas@codesourcery.com>
26159
e19e83c5
RM
26160 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
26161 __feraiseexcept instead of feraiseexcept.
7c35ffed 26162
fb779be7
TS
26163 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
26164 nanosleep invocations.
26165 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
26166 strings, and add error checking for a nanosleep invocations.
26167
59ba27a6
PE
261682012-02-09 Paul Eggert <eggert@cs.ucla.edu>
26169
26170 Replace FSF snail mail address with URLs, as per GNU coding standards.
26171 Most of the snail mail addresses were wrong anyway, and omitting
26172 them makes the source code easier to maintain. Almost all of the
26173 changes are to license notices and to locale LC_IDENTIFICATION
26174 addresses, except for this one:
26175 * manual/libc.texinfo: In "Published by", give the FSF's URL,
26176 not its snail mail address.
26177
57b957eb
RH
261782012-02-09 Richard Henderson <rth@twiddle.net>
26179
af850b1c
RH
26180 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
26181 of kernel-features.h.
26182
57b957eb
RH
26183 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
26184
6b73181a
MP
261852012-02-08 Marek Polacek <polacek@redhat.com>
26186
26187 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
26188 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
26189 * sysdeps/gnu/_G_config.h: Likewise.
26190 * sysdeps/generic/_G_config.h: Likewise.
26191
26ecc33a
AS
261922012-02-08 Andreas Schwab <schwab@linux-m68k.org>
26193
6c6dbc63
AS
26194 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
26195 tests.
26196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26197
e216c012
AS
26198 * sysdeps/powerpc/powerpc32/crti.S: New file.
26199 * sysdeps/powerpc/powerpc32/crtn.S: New file.
26200 * sysdeps/powerpc/powerpc64/crti.S: New file.
26201 * sysdeps/powerpc/powerpc64/crtn.S: New file.
26202
26ecc33a
AS
26203 * Makeconfig (have-initfini): Don't set.
26204 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
26205 * configure.in (nopic_initfini): Don't substitute.
26206 * config.h.in (HAVE_INITFINI): Don't #undef.
26207 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
26208 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
26209
3add8e13
JM
262102012-02-08 Joseph Myers <joseph@codesourcery.com>
26211
26212 Support crti.S and crtn.S provided directly by architectures.
26213 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
26214 [crti.S in sysdirs] (omit-deps): Likewise.
26215 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
26216 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
26217 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
26218 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
26219 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
26220 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
26221 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
26222 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
26223 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
26224 compiler output for sysdeps/generic/initfini.c.
26225 * sysdeps/i386/elf/Makefile: Remove file.
26226 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
26227
a22f12b4
MP
262282012-02-07 Marek Polacek <polacek@redhat.com>
26229
26230 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
26231 * sysdeps/gnu/_G_config.h: Likewise.
26232 * sysdeps/mach/hurd/_G_config.h: Likewise.
26233
148cf100
MP
262342012-02-07 Marek Polacek <polacek@redhat.com>
26235
26236 * math/Makefile (tests): Add tst-CMPLX2.
26237 * math/tst-CMPLX2.c: New file.
26238
cfdc0dd7
AS
262392012-02-07 Andreas Schwab <schwab@linux-m68k.org>
26240
84ba42c4
AS
26241 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26242
cfdc0dd7
AS
26243 * math/libm-test.inc (jn_test): Add missing L suffix.
26244
622c86f4
MP
262452012-02-06 Marek Polacek <polacek@redhat.com>
26246
26247 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
26248 * sysdeps/i386/fpu/e_powf.S: Likewise.
26249 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26250 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26251 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26252 * sysdeps/i386/fpu/e_pow.S: Likewise.
26253 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26254 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26255 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26256 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26257 * sysdeps/i386/fpu/e_log2.S: Likewise.
26258 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26259 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26260 * sysdeps/i386/fpu/e_powl.S: Likewise.
26261 * sysdeps/i386/fpu/s_log1p.S: Likewise.
26262 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26263 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26264 * sysdeps/i386/fpu/e_logl.S: Likewise.
26265 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26266 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
26267 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26268 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26269 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26270 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26271 * sysdeps/i386/fpu/e_log.S: Likewise.
26272 * sysdeps/i386/fpu/s_cexp.S: Likewise.
26273 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26274 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
26275 * sysdeps/i386/fpu/e_logf.S: Likewise.
26276 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26277 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26278 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
26279 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26280 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26281 * sysdeps/i386/fpu/e_log10.S: Likewise.
26282 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26283 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26284 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26285 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26286 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26287 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26288 * sysdeps/i386/asm-syntax.h: Likewise.
26289 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26290 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26291 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26292 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
26293 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
26294 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26295 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26296 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26297 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26298 * sysdeps/powerpc/sysdep.h: Likewise.
26299 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
26300 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26301
d4a54ac6
JM
263022012-02-06 Joseph Myers <joseph@codesourcery.com>
26303
26304 [BZ #411]
26305 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
26306
314054ea
JM
263072012-02-06 Joseph Myers <joseph@codesourcery.com>
26308
26309 * sysdeps/i386/sysdep.h: Include <features.h>.
26310 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
26311 version.
26312
d8e0ca50
JM
263132012-02-05 Joseph Myers <joseph@codesourcery.com>
26314
26315 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
26316 Define.
26317 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
26318 LOAD_PIC_REG_STR.
26319
b1da7dd9
JM
263202012-02-03 Joseph Myers <joseph@codesourcery.com>
26321
26322 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
26323 (SETUP_PIC_REG): Use GET_PC_THUNK.
26324 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
26325 macro.
26326
9a1d9254
JM
263272012-02-03 Joseph Myers <joseph@codesourcery.com>
26328
26329 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
26330 for non-PIC compilation.
26331 (SETUP_PIC_REG): Add .p2align directive.
26332 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
26333 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26334 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26335 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26336 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26337 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26338 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26339 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26340 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26341 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26342 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26343 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26344 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26345 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26346 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26347 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26348 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26349 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26350 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26351 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26352 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26353 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26354 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26355 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26356 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26357 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26358 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26359 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26360 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26361 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26362 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26363 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26364 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26365 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26366 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26367 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26368 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26369 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26370 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26371 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26372 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26373
65dc3b75
JM
263742012-02-03 Joseph Myers <joseph@codesourcery.com>
26375
26376 * math/tst-CMPLX.c: Include <stdio.h>.
26377
d55bf177
JM
263782012-01-31 Joseph Myers <joseph@codesourcery.com>
26379
26380 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
26381 float.
26382 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26383 * sysdeps/sparc/bits/mathdef.h: Likewise.
26384
69db4f8f
MP
263852012-01-31 Marek Polacek <polacek@redhat.com>
26386
26387 * libio/libio.h: Don't define _PARAMS.
26388 * locale/programs/config.h: Don't define PARAMS.
26389 * stdlib/strtol_l.c: Likewise.
26390 (__strtol_l): Remove PARAMS from the prototype.
26391
41b81892
UD
263922012-01-31 Ulrich Drepper <drepper@gmail.com>
26393
3b49edc0
UD
26394 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
26395 names. Just use the correct names. Remove unnecessary wrapper
26396 functions.
26397 * malloc/arena.c: Likewise.
26398 * malloc/hooks.c: Likewise.
26399
41b81892
UD
26400 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
26401 ARENA_TEST says not to. Simplify test for creation of a new arena.
26402 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
26403
27a25b6e
UD
264042012-01-30 Ulrich Drepper <drepper@gmail.com>
26405
26406 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
26407 into tail calls.
26408 (update_get_addr): New function.
26409 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
26410 GET_ADDR_MODULE parameter.
26411
c8a89e7d
JM
264122012-01-30 Joseph Myers <joseph@codesourcery.com>
26413
26414 * crypt/cert.c: Remove __STDC__ conditionals.
26415 * crypt/crypt-entry.c: Likewise.
26416 * crypt/crypt_util.c: Likewise.
26417 * libio/filedoalloc.c: Likewise.
26418 * libio/fileops.c: Likewise.
26419 * libio/genops.c: Likewise.
26420 * libio/iofclose.c: Likewise.
26421 * libio/iofdopen.c: Likewise.
26422 * libio/iofopen.c: Likewise.
26423 * libio/iofopen64.c: Likewise.
26424 * libio/iogetdelim.c: Likewise.
26425 * libio/iopopen.c: Likewise.
26426 * libio/obprintf.c: Likewise.
26427 * libio/oldfileops.c: Likewise.
26428 * libio/oldiofclose.c: Likewise.
26429 * libio/oldiofdopen.c: Likewise.
26430 * libio/oldiofopen.c: Likewise.
26431 * libio/oldiopopen.c: Likewise.
26432 * libio/wfiledoalloc.c: Likewise.
26433 * libio/wgenops.c: Likewise.
26434 * locale/programs/xmalloc.c: Likewise.
26435 * misc/syslog.c: Likewise.
26436 * stdio-common/xbug.c: Likewise.
26437 * string/memchr.c: Likewise.
26438 * string/memcmp.c: Likewise.
26439 * string/memrchr.c: Likewise.
26440 * string/rawmemchr.c: Likewise.
26441 * sysdeps/posix/getcwd.c: Likewise.
26442 * time/strftime_l.c: Likewise.
26443
3b100462
JM
264442012-01-30 Joseph Myers <joseph@codesourcery.com>
26445
26446 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
26447 * config.make.in (config-cflags-sse2avx): Define.
26448 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
26449 Fix typo.
26450
607998af
CM
264512012-01-29 Chris Metcalf <cmetcalf@tilera.com>
26452
26453 * scripts/config.guess: Update from upstream config git repository.
26454 * scripts/config.sub: Likewise.
26455
3601428f
CM
264562012-01-28 Chris Metcalf <cmetcalf@tilera.com>
26457
3ac8b282
CM
26458 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
26459 (EM_NUM): Update.
26460 (R_TILEPRO_*, R_TILEGX_*): New macros.
26461
e034841e
CM
26462 * scripts/firstversions.awk: Fix bug in version range handling.
26463
540d7568
CM
26464 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
26465
3601428f
CM
26466 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
26467
463de862
CM
26468 * include/sys/epoll.h: New file.
26469 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
26470 libc_hidden_def.
26471
73139a76
UD
264722012-01-28 Ulrich Drepper <drepper@gmail.com>
26473
96bc5b45
UD
26474 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
26475 Avoid unnecessary __WORDSIZE == 64 test.
26476 (fmaxf): Use VEX format if possible.
26477 (fmax): Likewise.
26478 (fminf): Likewise.
26479 (fmin): Likewise.
26480
56f6f6a2
UD
26481 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
26482 * math/math_private.h: Remove libc_fegetround* and
26483 libc_fesetround*.
26484 * sysdeps/i386/configure.in: Check for -msse2avx.
26485 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
26486 also if SSE2AVX is defined.
26487 Remove libc_fegetround* and libc_fesetround*.
26488 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
26489 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
26490 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
26491 of HAS_YMM_USABLE.
26492 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26493 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26494 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26495 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26496 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26497
73139a76
UD
26498 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
26499
d73f93a4
AZ
265002012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26501
26502 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
26503 size is not set.
26504 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26505
6ee65ed6
UD
265062012-01-27 Ulrich Drepper <drepper@gmail.com>
26507
26508 [BZ #13618]
26509 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
26510 relocation.
26511 * Makeconfig (libm): Define.
26512 * elf/Makefile: Add rules to build and run tst-relsort1.
26513 * elf/tst-relsort1.c: New file.
26514 * elf/tst-relsort1mod1.c: New file.
26515 * elf/tst-relsort1mod2.c: New file.
26516
8db21882
JM
265172012-01-27 Joseph Myers <joseph@codesourcery.com>
26518
26519 * math/s_ldexp.c: Remove __STDC__ conditionals.
26520 * math/s_ldexpf.c: Likewise.
26521 * math/s_ldexpl.c: Likewise.
26522 * math/s_nextafter.c: Likewise.
26523 * math/s_nexttowardf.c: Likewise.
26524 * math/s_significand.c: Likewise.
26525 * math/s_significandf.c: Likewise.
26526 * math/s_significandl.c: Likewise.
26527 * math/w_jnl.c: Likewise.
26528 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26529 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26530 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26531 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26532 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26533 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26534 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
26535 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26536 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26537 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26538 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26539 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26540 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26541 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26542 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26543 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26544 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26545 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26546 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26547 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26548 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26549 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26550 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26551 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26552 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26553 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26554 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26555 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26556 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26557 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26558 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26559 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26560 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26561 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26562 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26563 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26564 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26565 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26566 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26567 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26568 * sysdeps/ieee754/k_standard.c: Likewise.
26569 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26570 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26571 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26572 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26573 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26574 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26575 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26576 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26577 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26578 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26579 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26580 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26581 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26582 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26583 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26584 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26585 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26586 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26587 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26588 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26589 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26590 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26591 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26592 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26593 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26594 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26595 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26596 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26597 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26598 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26599 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26600 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
26601 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26602 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26603 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26604 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26605 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
26606 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26607 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26608 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
26609 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
26610 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26611 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26612 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
26613 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26614 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26615 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26616 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26617 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26618 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26619 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
26620 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26621 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26622 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26623 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26624 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26625 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
26626 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26627 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26628 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26629 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26630 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26631 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26632 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26633 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26634 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26635 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26636 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26637 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26638 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26639 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26640 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26641 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26642 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26643 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26644 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26645 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26646 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26647 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26648 * sysdeps/ieee754/s_matherr.c: Likewise.
26649 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26650 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26651 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26652 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26653
965a54a4
JM
266542012-01-26 Joseph Myers <joseph@codesourcery.com>
26655
26656 * crypt/md5.h: Remove __STDC__ conditionals.
26657 * libio/libioP.h: Likewise.
26658 * locale/programs/config.h: Likewise.
26659 * sysdeps/generic/sysdep.h: Likewise.
26660 * sysdeps/i386/asm-syntax.h: Likewise.
26661 * sysdeps/s390/asm-syntax.h: Likewise.
26662 * sysdeps/unix/sysdep.h: Likewise.
26663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26665
7071ad79
JM
266662012-01-26 Joseph Myers <joseph@codesourcery.com>
26667
26668 * libio/libio.h: Remove __STDC__ conditionals.
26669 * malloc/obstack.h: Likewise.
26670 * math/complex.h: Likewise.
26671 * math/math.h: Likewise.
26672 * sysdeps/generic/_G_config.h: Likewise.
26673 * sysdeps/gnu/_G_config.h: Likewise.
26674 * sysdeps/mach/hurd/_G_config.h: Likewise.
26675 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26676 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26677 * sysdeps/sparc/bits/mathdef.h: Likewise.
26678
afc5ed09
UD
266792012-01-26 Ulrich Drepper <drepper@gmail.com>
26680
26681 [BZ #13583]
26682 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 26683 Clean up HAS_* macros.
afc5ed09 26684 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
26685 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
26686 possible.
26687 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
26688 HAS_AVX.
26689 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26690 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26691 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26692 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26693 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 26694
bdb6de1d
JM
266952012-01-25 Joseph Myers <joseph@codesourcery.com>
26696
26697 * elf/tst-unique3.cc (gets): Remove declaration.
26698 * elf/tst-unique3lib.cc (gets): Likewise.
26699 * elf/tst-unique3lib2.cc (gets): Likewise.
26700 * elf/tst-unique4.cc (gets): Likewise.
26701
b15549e6
UD
267022012-01-24 Ulrich Drepper <drepper@gmail.com>
26703
26704 * include/stdio.h: Add C++ protection. Add gets declarations and
26705 definitions.
26706 * debug/tst-chk1.c: Don't declare gets here.
26707 * stdio-common/tst-gets.c: Likewise.
26708
a037381f
JM
267092012-01-24 Joseph Myers <joseph@codesourcery.com>
26710
26711 * posix/glob: Remove directory.
26712
f1d4aa75
JM
267132012-01-24 Joseph Myers <joseph@codesourcery.com>
26714
26715 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
26716
81c0c964
PT
267172012-01-22 Pino Toscano <toscano.pino@tiscali.it>
26718
26719 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
26720 of the non-standard EPFNOSUPPORT.
26721
0ea698ae
ST
267222011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
26723
26724 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
26725 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
26726 ANYWHERE set to 1 only on KERN_NO_SPACE error.
26727
d220b117
UD
267282012-01-21 Ulrich Drepper <drepper@gmail.com>
26729
26730 * wcsmbs/uchar.h: Test __STDC_VERSION__.
26731
3e1aa84e
UD
267322012-01-20 Ulrich Drepper <drepper@gmail.com>
26733
26734 * nscd/aicache.c (addhstaiX): Do not cache negative results of
26735 transient errors.
26736 * nscd/grpcache.c (cache_addgr): Likewise.
26737 * nscd/hstcache.c (cache_addhst): Likewise.
26738 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26739 * nscd/pwdcache.c (cache_addpw): Likewise.
26740 * nscd/servicescache.c (cache_addserv): Likewise.
26741
400aa020
UD
267422012-01-16 Ulrich Drepper <drepper@gmail.com>
26743
d77e7869
UD
26744 * malloc/malloc.c: Various cleanups.
26745 * malloc/hooks.c: Likewise.
26746
400aa020
UD
26747 * stdlib/Makefile (tests): Add bug-fmtmsg1.
26748 * stdlib/bug-fmtmsg1.c: New file.
26749
26750 * stdlib/fmtmsg.c (init): Add missing unlock.
26751 Patch by Peng Haitao <penght@cn.fujitsu.com>.
26752
e0a309cf
MP
267532012-01-12 Marek Polacek <polacek@redhat.com>
26754
26755 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
26756 and _GNU_SOURCE.
26757
929d11c7
WS
267582012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26759
26760 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
26761 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
26762 macro to ensure uniqueness of label name.
26763 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26764 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26765
41d0e869
UD
267662012-01-11 Ulrich Drepper <drepper@gmail.com>
26767
0cc5ed3b
UD
26768 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
26769
41d0e869
UD
26770 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
26771 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26772 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26773 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
26774
a47a831a
UD
267752012-01-10 Ulrich Drepper <drepper@gmail.com>
26776
daa891c0
UD
26777 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
26778
26779 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
26780 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26781 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26782
e58ef0f2
UD
26783 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
26784
a47a831a 26785 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
26786 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26787 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 26788 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
26789
26790 * math/bits/math-finite.h: Add ldexp support.
26791
a0bfc9c7
MP
267922012-01-10 Marek Polacek <polacek@redhat.com>
26793
26794 * locale/programs/localedef.h (show_archive_content): Add noreturn
26795 attribute.
26796
d6e97a1d
UD
267972012-01-09 Ulrich Drepper <drepper@gmail.com>
26798
26799 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
26800
d5835c26
UD
268012012-01-08 Ulrich Drepper <drepper@gmail.com>
26802
e5f484c6
UD
26803 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
26804
d5835c26
UD
26805 * io/Makefile (headers): Add bits/poll2.h.
26806
d1f741e9
WS
268072011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
26808
26809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
26810 typo #include statement.
26811
ec09c1c4
UD
268122012-01-08 Ulrich Drepper <drepper@gmail.com>
26813
26814 * include/sys/cdefs.h: Define __attribute_alloc_size.
26815 * catgets/gencat.c: Add alloc_size attribute and apply consistently
26816 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
26817 * elf/pldd.c: Likewise.
26818 * iconv/iconv_charmap.c: Likewise.
26819 * iconv/iconvconfig.c: Likewise.
26820 * iconv/strtab.c: Likewise.
26821 * locale/programs/locale.c: Likewise.
26822 * locale/programs/localedef.h: Likewise.
26823 * locale/programs/simple-hash.c: Likewise.
26824 * nscd/nscd.h: Likewise.
26825 * nss/makedb.c: Likewise.
26826 * sysdeps/generic/ldconfig.h: Likewise.
26827 * locale/programs/localedef.c: Remove xmalloc prototype.
26828 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
26829
20b38e03
PP
268302012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26831
26832 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
26833 appropriate.
26834
a0da5fe1
UD
268352012-01-08 Ulrich Drepper <drepper@gmail.com>
26836
1d5a644a 26837 * math/Makefile (tests): Add tst-CMPLX.
669704fd 26838 * math/tst-CMPLX.c: New file.
1d5a644a 26839
8784a6db
UD
26840 * math/complex.h (CMPLXL): Fix typo.
26841
d9a216c0
UD
26842 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
26843 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
26844 GLIBC_2.16.
26845 * debug/tst-chk1.c: Add poll and ppoll tests.
26846 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
26847 * include/sys/poll.h: Add hidden proto for ppoll.
26848 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
26849 * sysdeps/mach/hurd/ppoll.c: Likewise.
26850 * io/ppoll.c: Likewise.
26851 * debug/poll_chk.c: New file.
26852 * debug/ppoll_chk.c: New file.
26853 * include/bits/poll2.h: New file.
26854 * io/bits/poll2.h: New file.
26855
ac097f5c
UD
26856 [BZ #1350]
26857 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
26858
2119dcfa
UD
26859 * configure.in: static is always set to yes. Remove.
26860 * config.make.in: Don't set build-static.
26861 * Makeconfig: Remove use of build-static.
26862 * dlfcn/Makefile: Likewise.
26863 * elf/Makefile: Likewise.
26864 * math/Makefile: Likewise.
26865 * misc/Makefile: Likewise.
26866 * nptl/Makefile: Likewise.
26867 * sysdeps/mach/hurd/Makefile: Likewise.
26868
121766a9
UD
26869 * configure.in: PWD_P is not used anymore.
26870 * config.make.in: Remove PWD_P entry.
26871
51a1d39c 26872 * configure.in: Remove last remnants of RANLIB.
8720d066 26873 No need to check for signed size_t anymore.
215f4bdc
UD
26874 Don't set libc_commonpagesize and libc_relro_required here for Alpha
26875 and IA-64.
3857022a 26876 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
26877 * aclocal.m4: Likewise.
26878
d3ed7225
UD
26879 * wcsmbs/mbrtoc16.c: Implement using towc function.
26880 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
26881 * wcsmbs/wcsmbsload.c: Likewise.
26882 * iconv/gconv_simple.c: Likewise.
26883 * iconv/gconv_int.h: Likewise.
26884 * iconv/gconv_builtin.h: Likewise.
26885 * iconv/iconv_prog.c: Remove CHAR16 handling.
26886
26887 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
26888
26889 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
26890
a0da5fe1
UD
26891 * configure.in: Remove --with-elf and --enable-bounded options.
26892 Dont set base_machine for ia64. More non-ELF conditions removed.
26893 Remove testing and setting of leading underscore information.
26894 * config.make.in (build-bounded): Set to no.
26895 * config.h.in: Remove NO_UNDERSCORES entry.
26896 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
26897 them.
26898 * csu/start.c: Remove !NO_UNDERSCORE code.
26899 * locale/localeinfo.h: Likewise.
26900 * sysdeps/generic/machine-gmon.h: Likewise.
26901 * sysdeps/generic/sysdep.h: Likewise.
26902 * sysdeps/i386/sysdep.h: Likewise.
26903 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26904 * sysdeps/mach/sysdep.h: Likewise.
26905 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26906 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26907 * sysdeps/sh/sysdep.h: Likewise.
26908 * sysdeps/sparc/sparc32/alloca.S: Likewise.
26909 * sysdeps/unix/i386/sysdep.S: Likewise.
26910 * sysdeps/unix/sparc/start.c: Likewise.
26911 * sysdeps/unix/sparc/sysdep.S: Likewise.
26912 * sysdeps/unix/sparc/sysdep.h: Likewise.
26913 * sysdeps/unix/start.c: Likewise.
26914 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26915 * sysdeps/x86_64/sysdep.h: Likewise.
26916
df78418a
UD
269172012-01-07 Ulrich Drepper <drepper@gmail.com>
26918
a784e502
UD
26919 [BZ #13553]
26920 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
26921 for non-gcc.
26922 * argp/argp-fmtstream.h: Use const instead __const.
26923 * argp/argp.h: Likewise.
26924 * assert/assert.h: Likewise.
26925 * bits/fenv.h: Likewise.
26926 * bits/sched.h: Likewise.
26927 * bits/sigset.h: Likewise.
26928 * bits/sigthread.h: Likewise.
26929 * catgets/nl_types.h: Likewise.
26930 * conform/data/pthread.h-data: Likewise.
26931 * crypt/crypt-private.h: Likewise.
26932 * crypt/crypt.h: Likewise.
26933 * crypt/crypt_util.c: Likewise.
26934 * ctype/ctype.h: Likewise.
26935 * debug/execinfo.h: Likewise.
26936 * debug/mbsnrtowcs_chk.c: Likewise.
26937 * debug/mbsrtowcs_chk.c: Likewise.
26938 * debug/wcsnrtombs_chk.c: Likewise.
26939 * debug/wcsrtombs_chk.c: Likewise.
26940 * debug/wcstombs_chk.c: Likewise.
26941 * dirent/dirent.h: Likewise.
26942 * dlfcn/dlfcn.h: Likewise.
26943 * elf/neededtest4.c: Likewise.
26944 * grp/grp.h: Likewise.
26945 * gshadow/gshadow.h: Likewise.
26946 * iconv/gconv.h: Likewise.
26947 * iconv/gconv_int.h: Likewise.
26948 * iconv/gconv_simple.c: Likewise.
26949 * iconv/iconv.h: Likewise.
26950 * iconv/loop.c: Likewise.
26951 * iconv/skeleton.c: Likewise.
26952 * include/aio.h: Likewise.
26953 * include/aliases.h: Likewise.
26954 * include/argz.h: Likewise.
26955 * include/arpa/inet.h: Likewise.
26956 * include/assert.h: Likewise.
26957 * include/dirent.h: Likewise.
26958 * include/dlfcn.h: Likewise.
26959 * include/execinfo.h: Likewise.
26960 * include/fcntl.h: Likewise.
26961 * include/fenv.h: Likewise.
26962 * include/glob.h: Likewise.
26963 * include/grp.h: Likewise.
26964 * include/libintl.h: Likewise.
26965 * include/mntent.h: Likewise.
26966 * include/netdb.h: Likewise.
26967 * include/pwd.h: Likewise.
26968 * include/rpc/netdb.h: Likewise.
26969 * include/sched.h: Likewise.
26970 * include/search.h: Likewise.
26971 * include/shadow.h: Likewise.
26972 * include/signal.h: Likewise.
26973 * include/stdio.h: Likewise.
26974 * include/stdlib.h: Likewise.
26975 * include/string.h: Likewise.
26976 * include/sys/socket.h: Likewise.
26977 * include/sys/stat.h: Likewise.
26978 * include/sys/statfs.h: Likewise.
26979 * include/sys/statvfs.h: Likewise.
26980 * include/sys/syslog.h: Likewise.
26981 * include/sys/time.h: Likewise.
26982 * include/sys/uio.h: Likewise.
26983 * include/time.h: Likewise.
26984 * include/unistd.h: Likewise.
26985 * include/utmp.h: Likewise.
26986 * include/wchar.h: Likewise.
26987 * include/wctype.h: Likewise.
26988 * inet/aliases.h: Likewise.
26989 * inet/arpa/inet.h: Likewise.
26990 * inet/netinet/ether.h: Likewise.
26991 * inet/netinet/in.h: Likewise.
26992 * intl/libintl.h: Likewise.
26993 * io/bits/fcntl2.h: Likewise.
26994 * io/fcntl.h: Likewise.
26995 * io/ftw.h: Likewise.
26996 * io/sys/poll.h: Likewise.
26997 * io/sys/stat.h: Likewise.
26998 * io/sys/statfs.h: Likewise.
26999 * io/sys/statvfs.h: Likewise.
27000 * io/utime.h: Likewise.
27001 * libio/bits/stdio.h: Likewise.
27002 * libio/bits/stdio2.h: Likewise.
27003 * libio/libio.h: Likewise.
27004 * libio/libioP.h: Likewise.
27005 * libio/stdio.h: Likewise.
27006 * locale/lc-ctype.c: Likewise.
27007 * locale/locale.h: Likewise.
27008 * login/utmp.h: Likewise.
27009 * malloc/arena.c: Likewise.
27010 * malloc/malloc.c: Likewise.
27011 * malloc/malloc.h: Likewise.
27012 * malloc/mcheck.c: Likewise.
27013 * malloc/mtrace.c: Likewise.
27014 * math/bits/mathcalls.h: Likewise.
27015 * math/fenv.h: Likewise.
27016 * math/math_private.h: Likewise.
27017 * misc/bits/error.h: Likewise.
27018 * misc/bits/syslog.h: Likewise.
27019 * misc/err.h: Likewise.
27020 * misc/error.h: Likewise.
27021 * misc/fstab.h: Likewise.
27022 * misc/mntent.h: Likewise.
27023 * misc/regexp.h: Likewise.
27024 * misc/search.h: Likewise.
27025 * misc/sgtty.h: Likewise.
27026 * misc/sys/mman.h: Likewise.
27027 * misc/sys/syslog.h: Likewise.
27028 * misc/sys/uio.h: Likewise.
27029 * misc/sys/xattr.h: Likewise.
27030 * misc/ttyent.h: Likewise.
27031 * nis/rpcsvc/ypclnt.h: Likewise.
27032 * nss/nss.h: Likewise.
27033 * posix/bits/unistd.h: Likewise.
27034 * posix/fnmatch.h: Likewise.
27035 * posix/glob.h: Likewise.
27036 * posix/sched.h: Likewise.
27037 * posix/spawn.h: Likewise.
27038 * posix/sys/wait.h: Likewise.
27039 * posix/unistd.h: Likewise.
27040 * posix/wordexp.h: Likewise.
27041 * pwd/pwd.h: Likewise.
27042 * resolv/netdb.h: Likewise.
27043 * resource/sys/resource.h: Likewise.
27044 * rt/aio.h: Likewise.
27045 * rt/bits/mqueue2.h: Likewise.
27046 * rt/mqueue.h: Likewise.
27047 * shadow/shadow.h: Likewise.
27048 * signal/signal.h: Likewise.
27049 * socket/send.c: Likewise.
27050 * socket/sendto.c: Likewise.
27051 * socket/sys/socket.h: Likewise.
27052 * stdio-common/printf.h: Likewise.
27053 * stdlib/bits/stdlib.h: Likewise.
27054 * stdlib/fmtmsg.h: Likewise.
27055 * stdlib/monetary.h: Likewise.
27056 * stdlib/stdlib.h: Likewise.
27057 * stdlib/ucontext.h: Likewise.
27058 * streams/stropts.h: Likewise.
27059 * string/argz.h: Likewise.
27060 * string/bits/string2.h: Likewise.
27061 * string/string.h: Likewise.
27062 * string/strings.h: Likewise.
27063 * sunrpc/rpc/auth.h: Likewise.
27064 * sunrpc/rpc/auth_des.h: Likewise.
27065 * sunrpc/rpc/clnt.h: Likewise.
27066 * sunrpc/rpc/netdb.h: Likewise.
27067 * sunrpc/rpc/pmap_clnt.h: Likewise.
27068 * sunrpc/rpc/xdr.h: Likewise.
27069 * sysdeps/generic/inttypes.h: Likewise.
27070 * sysdeps/generic/net/if.h: Likewise.
27071 * sysdeps/generic/sys/swap.h: Likewise.
27072 * sysdeps/gnu/net/if.h: Likewise.
27073 * sysdeps/gnu/utmpx.h: Likewise.
27074 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
27075 * sysdeps/i386/i486/bits/string.h: Likewise.
27076 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
27077 * sysdeps/s390/bits/string.h: Likewise.
27078 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
27079 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
27080 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27081 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
27082 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
27083 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
27084 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
27085 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
27086 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
27087 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27088 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
27089 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27090 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
27091 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27092 * sysdeps/unix/sysv/linux/readv.c: Likewise.
27093 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
27094 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27095 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27096 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27097 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27098 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27099 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
27100 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
27101 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
27102 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
27103 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
27104 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
27105 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27106 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
27107 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
27108 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
27109 * sysvipc/sys/ipc.h: Likewise.
27110 * sysvipc/sys/msg.h: Likewise.
27111 * sysvipc/sys/sem.h: Likewise.
27112 * sysvipc/sys/shm.h: Likewise.
27113 * termios/termios.h: Likewise.
27114 * time/sys/time.h: Likewise.
27115 * time/time.h: Likewise.
27116 * wcsmbs/bits/wchar2.h: Likewise.
27117 * wcsmbs/uchar.h: Likewise.
27118 * wcsmbs/wchar.h: Likewise.
27119 * wctype/wctype.h: Likewise.
27120
0269750c
UD
27121 [BZ #13551]
27122 * Makeconfig: Remove all but ELF support including AIX support.
27123 * Makerules: Likewise.
27124 * config.h.in: Likewise.
27125 * config.make.in: Likewise.
27126 * configure: Likewise.
27127 * configure.in: Likewise.
27128 * csu/Makefile: Likewise.
27129 * csu/version.c: Likewise.
27130 * debug/Makefile: Likewise.
27131 * dlfcn/Makefile: Likewise.
27132 * elf/Makefile: Likewise.
27133 * extra-lib.mk: Likewise.
27134 * iconv/Makefile: Likewise.
27135 * include/libc-symbols.h: Likewise.
27136 * include/shlib-compat.h: Likewise.
27137 * resolv/Makefile: Likewise.
27138 * resolv/res_libc.c: Likewise.
27139 * rt/Makefile: Likewise.
27140 * sysdeps/i386/asm-syntax.h: Likewise.
27141 * sysdeps/i386/sysdep.h: Likewise.
27142 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27143 * sysdeps/mach/sysdep.h: Likewise.
27144 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
27145 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
27146 * sysdeps/s390/asm-syntax.h: Likewise.
27147 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27148 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27149 * sysdeps/sh/sysdep.h: Likewise.
27150 * sysdeps/unix/sparc/sysdep.h: Likewise.
27151 * sysdeps/wordsize-32/divdi3.c: Likewise.
27152 * sysdeps/x86_64/sysdep.h: Likewise.
27153
00bbd29b
UD
27154 * argp/Versions: Remove _argp_unlock_xxx.
27155
27156 [BZ #13559]
27157 * abilist/ld.abilist: Update. Adjust for removal of tls option.
27158 * abilist/libBrokenLocale.abilist: Likewise.
27159 * abilist/libanl.abilist: Likewise.
27160 * abilist/libc.abilist: Likewise.
27161 * abilist/libcrypt.abilist: Likewise.
27162 * abilist/libdl.abilist: Likewise.
27163 * abilist/libm.abilist: Likewise.
27164 * abilist/libnsl.abilist: Likewise.
27165 * abilist/libpthread.abilist: Likewise.
27166 * abilist/libresolv.abilist: Likewise.
27167 * abilist/librt.abilist: Likewise.
27168 * abilist/libthread_db.abilist: Likewise.
27169 * abilist/libutil.abilist: Likewise.
27170 * abilist/libnss_db.abilist: New file.
27171
27172 * scripts/abilist.awk: Add support for indirect functions.
27173
a2693a0e
UD
27174 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
27175
3f05895f
UD
27176 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
27177
ecb6fb48
UD
27178 * shlib-versions: Remove entries for ports architectures.
27179
664f8cb9
UD
27180 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
27181 files in ports.
27182 * elf/stackguard-macros.h: Remove support for IA-64.
27183 * elf/tst-auditmod1.c: Likewise.
27184 * sysdeps/generic/ldsodefs.h: Likewise.
27185
7ae81d88
UD
27186 * sysdeps/unix/sysv/linux/configure.in: Ports should define
27187 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
27188 configure files.
27189
bdeba135
UD
27190 [BZ #13552]
27191 * configure.in: Remove --enable-omitfp support.
27192 * FAQ.in: Adjust.
27193 * config.make.in: Likewise.
27194 * Makeconfig: Likewise.
27195 * manual/install.texi: Likewise.
27196
d75a0a62
UD
27197 In case anyone cares, the IA-64 architecture could move to ports.
27198 * sysdeps/ia64/*: Removed.
27199 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 27200 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 27201
dcc9756b
UD
27202 [BZ #13555]
27203 * configure.in: Remove entries for unsupported architectures.
27204
d3761ebc 27205 [BZ #13533]
9954432e
UD
27206 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
27207 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
27208 routines.
27209 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
27210 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
27211 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
27212 fall back to using wcrtomb.
27213 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
27214 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
27215 renaming.
27216 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
27217 * wcsmbs/tst-c16c32-1.c: New file.
27218
27219 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
27220 local variable.
27221
c3a87236
UD
27222 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
27223
28926a1b
UD
27224 * elf/tst-unique3.cc: Add explicit declaration of gets.
27225 * elf/tst-unique3lib.cc: Likewise.
27226 * elf/tst-unique3lib2.cc: Likewise.
27227 * elf/tst-unique4.cc: Likewise.
27228
df78418a
UD
27229 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
27230
8ecd6b2a
JM
272312012-01-06 Joseph Myers <joseph@codesourcery.com>
27232
27233 [BZ #13566]
27234 * assert/assert.h (static_assert): Don't define for C++.
27235 * libio/stdio.h (gets): Do declare for C++ <= C++11.
27236 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
27237
9f115170
UD
272382012-01-03 Ulrich Drepper <drepper@gmail.com>
27239
5e0d0300
UD
27240 * iconv/loop.c (single loop): Fix assertion in storing of
27241 remaining bytes.
27242
9f115170
UD
27243 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
27244
81fb02b0
UD
272452012-01-01 Ulrich Drepper <drepper@gmail.com>
27246
27247 * posix/getconf.c: Update copyright year.
27248 * nss/getent.c: Likewise.
a316c1f6 27249 * nss/makedb.c: Likewise.
81fb02b0
UD
27250 * iconv/iconvconfig.c: Likewise.
27251 * iconv/iconv_prog.c: Likewise.
27252 * elf/ldconfig.c: Likewise.
a316c1f6
UD
27253 * elf/pldd.c: Likewise.
27254 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
27255 * catgets/gencat.c: Likewise.
27256 * csu/version.c: Likewise.
27257 * elf/ldd.bash.in: Likewise.
27258 * elf/sprof.c (print_version): Likewise.
27259 * locale/programs/locale.c: Likewise.
27260 * locale/programs/localedef.c: Likewise.
a316c1f6 27261 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
27262 * nscd/nscd.c (print_version): Likewise.
27263 * debug/xtrace.sh: Likewise.
27264 * malloc/memusage.sh: Likewise.
27265 * malloc/mtrace.pl: Likewise.
27266 * debug/catchsegv.sh: Likewise.
27267
2ba92745
JJ
272682011-12-30 Jakub Jelinek <jakub@redhat.com>
27269
27270 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
27271 pure attribute.
27272
dadebdae
UD
272732011-12-24 Ulrich Drepper <drepper@gmail.com>
27274
d3761ebc 27275 [BZ #13533]
db6af3eb
UD
27276 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
27277 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
27278 transformations.
27279 * iconv/gconv_int.h: Likewise.
27280 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
27281 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
27282 from libc for GLIBC_2.16.
27283 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
27284 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
27285 * wcsmbs/uchar.h: Really define mbstate_t.
27286 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
27287 * wcsmbs/c16rtomb.c: New file.
27288 * wcsmbs/mbrtoc16.c: New file.
27289 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
27290 for C/POSIX locale.
27291 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
27292 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
27293
dadebdae
UD
27294 * wcsmbs/wchar.h: Add missing __restrict.
27295
67371b56
UD
272962011-12-23 Ulrich Drepper <drepper@gmail.com>
27297
74033a25
UD
27298 [BZ #13532]
27299 * time/Makefile (routines): Add timespec_get.
27300 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
27301 * time/time.h: Define TIME_UTC and declare timespec_get. Define
27302 timespec for ISO C11.
27303 * time/timespec_get.c: New file.
27304 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
27305 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
27306
380d7e87
UD
27307 [BZ #13531]
27308 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
27309 * stdlib/stdlib.h: Declare aligned_alloc.
27310 * Versions.def: Add GLIBC_2.16 for libc.
27311 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
27312
4e9e7a35
UD
27313 [BZ 13527]
27314 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
27315 ISO C11.
27316
380d7e87 27317 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
27318 code.
27319
03a71829
UD
27320 [BZ #13528]
27321 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
27322
839e283e
UD
27323 [BZ #13529]
27324 * assert/assert.h (static_assert): Define.
27325
ce5294e2 27326 * version.h: Update for 2.16 development version.
90fa7312 27327
8d44e150 27328 [BZ #13526]
d7809905
UD
27329 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
27330 _ISOC11_SOURCE.
27331
c0da14cd
UD
27332 * version.h (RELEASE): Bump for 2.15 release.
27333 * include/features.h (__GLIBC_MINOR__): Bump to 15.
27334
530a3249
MP
27335 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
27336 Patch by Marek Polacek <mpolacek@redhat.com>.
27337
67371b56
UD
27338 * bits/byteswap.h: Protect long long constants with __extension__.
27339 * sysdeps/i386/bits/byteswap.h: Likewise.
27340 * sysdeps/ia64/bits/byteswap.h: Likewise.
27341 * sysdeps/s390/bits/byteswap.h: Likewise.
27342 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27343
15db4de1
LD
273442011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27345
27346 [BZ #13540]
bbe315ea
LD
27347 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
27348 destination buffer.
15db4de1
LD
27349 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27350
2b2596b1
MP
273512011-12-23 Marek Polacek <polacek@redhat.com>
27352
27353 * elf/dl-addr.c (determine_info): Add inline keyword.
27354 * elf/tst-auditmod4b.c (check_avx): Likewise.
27355 * elf/tst-auditmod6b.c (check_avx): Likewise.
27356 * elf/tst-auditmod6c.c (check_avx): Likewise.
27357 * elf/tst-auditmod7b.c (check_avx): Likewise.
27358
70c6c246
UD
273592011-12-23 Ulrich Drepper <drepper@gmail.com>
27360
27361 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
27362 !__SSE_MATH__.
27363
c044cf14
LD
273642011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27365
15db4de1 27366 [BZ #13540]
c044cf14
LD
27367 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
27368 processing for last bytes.
27369
6b13d9d9
BH
273702011-08-06 Bruno Haible <bruno@clisp.org>
27371
d455f537
BH
27372 [BZ #13061]
27373 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
27374 U+0385, not to U+1FEE.
27375
6b13d9d9
BH
27376 [BZ #13062]
27377 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
27378 entry for U+00A5 U+0301.
27379
db910efd
UD
273802011-12-22 Ulrich Drepper <drepper@gmail.com>
27381
27deeafc
UD
27382 [BZ #13166]
27383 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
27384 buffer for the output is too small.
27385
aed9d171
UD
27386 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
27387 optimization.
27388
db910efd
UD
27389 [BZ #13185]
27390 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
27391 SSE flags if possible.
27392
2bd779ae
LD
273932011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27394
e7f9dac3 27395 [BZ #13540]
2bd779ae
LD
27396 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
27397 processing for last bytes.
27398
154bfc16
JM
273992011-12-22 Joseph Myers <joseph@codesourcery.com>
27400
27401 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
27402 (syscall-list-default-options, syscall-list-default-condition)
27403 (syscall-list-includes): Define.
27404 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
27405 list of ABIs and options and #if conditions for each ABI. Do not
27406 handle common syscalls between ABIs specially.
27407 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
27408 Remove.
27409 (syscall-list-variants, syscall-list-32bit-options)
27410 (syscall-list-32bit-condition, syscall-list-64bit-options)
27411 (syscall-list-64bit-condition): Define.
27412 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
27413 (syscall-list-variants, syscall-list-32bit-options)
27414 (syscall-list-32bit-condition, syscall-list-64bit-options)
27415 (syscall-list-64bit-condition): Define.
27416 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
27417 Remove.
27418 (syscall-list-variants, syscall-list-32bit-options)
27419 (syscall-list-32bit-condition, syscall-list-64bit-options)
27420 (syscall-list-64bit-condition): Define.
27421 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
27422 Remove.
27423 (syscall-list-variants, syscall-list-32bit-options)
27424 (syscall-list-32bit-condition, syscall-list-64bit-options)
27425 (syscall-list-64bit-condition): Define.
27426
21eaf3a5
UD
274272011-12-22 Ulrich Drepper <drepper@gmail.com>
27428
16c6f992
UD
27429 * locale/iso-639.def: Add brx entry.
27430
41043168
UD
27431 [BZ #13328]
27432 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
27433 Proposed by Mariusz_Cukr <marcukr@op.pl>.
27434
21eaf3a5
UD
27435 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
27436 __feraiseexcept_renamed.
27437
e3a851a2
UD
274382011-12-21 Ulrich Drepper <drepper@gmail.com>
27439
4920765e
UD
27440 [BZ #13538]
27441 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
27442 EPOLLET with unsigned values.
27443 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27444 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27445
e3a851a2
UD
27446 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
27447 to large cancellation.
27448 * math/s_cacoshf.c: Likewise.
27449 * math/s_cacoshl.c: Likewise.
27450
b27e24b8
RK
274512011-11-18 Richard B. Kreckel <kreckel@ginac.de>
27452
27453 [BZ #13305]
aebefeee 27454 [BZ #12786]
b27e24b8
RK
27455 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
27456 * math/s_cacoshf.c: Likewise.
27457 * math/s_cacoshl.c: Likewise.
27458
ee190f67
UD
274592011-12-21 Ulrich Drepper <drepper@gmail.com>
27460
27461 [BZ #13439]
27462 * iconv/gconv.h: Define __GCONV_SWAP.
27463 * iconvdata/unicode.c: The swap bit must be stored in __flags.
27464 * iconvdata/utf-16.c: Likewise.
27465 * iconvdata/utf-32.c: Likewise.
27466
707f25df
AS
274672011-12-21 Andreas Schwab <schwab@linux-m68k.org>
27468
27469 [BZ #13524]
27470 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
27471 numerator after shifting it by one limb.
27472
d2daaa1e
RÁE
274732011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
27474
27475 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
27476 under [__USE_EXTERN_INLINES].
27477
a4647e72
UD
274782011-12-17 Ulrich Drepper <drepper@gmail.com>
27479
27480 [BZ #13446]
27481 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
27482
f0b264f1
AZ
274832011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27484
27485 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
27486 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
27487 optimized code.
27488 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
27489 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
27490 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
27491 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
27492 for strncasecmp/strncasecmp_l compilation.
27493 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
27494 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
27495
8ef4f244
MP
274962011-12-08 Marek Polacek <mpolacek@redhat.com>
27497
27498 [BZ #13484]
27499 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
27500 of __asm__.
27501
97ac2654
UD
275022011-12-17 Ulrich Drepper <drepper@gmail.com>
27503
27504 [BZ #13506]
27505 * time/tzfile.c (__tzfile_read): Check values from file header.
27506
91d2a845
WS
275072011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27508
27509 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
27510 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
27511 * powerpc/powerpc32/dl-start.S: Likewise.
27512 * powerpc/powerpc32/elf/start.S: Likewise.
27513 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27514 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
27515 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
27516 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
27517 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27518 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
27519 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
27520 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27521 * powerpc/powerpc32/fpu/s_round.S: Likewise.
27522 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27523 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27524 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27525 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27526 * powerpc/powerpc32/memset.S: Likewise.
27527 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27528 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27529 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27530 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27531 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27532 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27533 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27534 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27535 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
27536 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
27537 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
27538 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27539 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27540
a1267ba1
AZ
275412011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27542
27543 * math/libm-test.inc: Added more nearbyint tests.
27544 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
27545 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
27546 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
27547 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
27548
ad8ac1bd
RL
275492011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
27550
27551 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
27552 FD_CLOEXEC.
27553
1d3e4b61
UD
275542011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27555
27556 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
27557 Add wcscpy-ssse3 wcscpy-c.
27558 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
27559 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
27560 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
27561 * sysdeps/x86_64/wcschr.S: New file.
27562 * sysdeps/x86_64/wcsrchr.S: New file.
27563 * string/test-strcmp.c: Remove checking of wcscmp function for
27564 wrong alignments.
27565 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
27566 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
27567 wcsrchr-sse2 wcsrchr-c.
27568 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
27569 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
27570 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
27571 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
27572 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
27573 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
27574 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
27575 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
27576 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
27577 * wcsmbc/wcschr.c (WCSCHR): New macro.
27578
5b330a2d
UD
275792011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27580
27581 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
27582 * wcsmbs/test-wcsrchr.c: New file.
27583 * string/test-strrchr.c: Add wcsrchr support.
27584 (WIDE): New macro.
27585 * wcsmbs/test-wcscpy.c: New file.
27586 * string/test-strcpy.c: Add wcscpy support.
27587 (WIDE): New macro.
26428b7c 27588
f039c043
UD
275892011-12-10 Ulrich Drepper <drepper@gmail.com>
27590
27591 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
27592 the inner loop.
27593
850fb039
AS
275942011-12-06 Andreas Schwab <schwab@linux-m68k.org>
27595
27596 [BZ #13472]
27597 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
27598
4efbd5cb
UD
275992011-12-04 Ulrich Drepper <drepper@gmail.com>
27600
52ff5dd0 27601 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 27602 Minor optimizations.
52ff5dd0 27603
4efbd5cb
UD
27604 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
27605 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
27606 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27607
8a426e12
UD
276082011-12-03 Ulrich Drepper <drepper@gmail.com>
27609
aff2453d
UD
27610 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
27611 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
27612 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
27613 for gcc to avoid warnings.
27614 * inet/Makefile (tests): Add tst-checks.
27615 * inet/tst-checks.c: New file.
27616
27617 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
27618 warning.
27619
27620 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
27621 __wmemcmp_sse2.
27622
27623 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
27624 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
27625
8a426e12
UD
27626 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
27627
9bea3473
UD
276282011-12-02 Ulrich Drepper <drepper@gmail.com>
27629
3a965496
UD
27630 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
27631 problem.
27632
9bea3473
UD
27633 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
27634
f101631b
UD
276352011-11-29 Joseph Myers <joseph@codesourcery.com>
27636
27637 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
27638 conditional on GCC version.
27639 (__arch_compare_and_exchange_val_8_acq)
27640 (__arch_compare_and_exchange_val_16_acq)
27641 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
27642 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
27643 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
27644
a98275aa
UD
276452011-12-02 Joseph Myers <joseph@codesourcery.com>
27646
27647 * sysdeps/sh/backtrace.c: New file.
27648
d4cc29a2
AS
276492011-12-02 Andreas Schwab <schwab@redhat.com>
27650
27651 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
27652 parenthesis.
27653
6257af2d
AS
276542011-12-01 Andreas Schwab <schwab@redhat.com>
27655
27656 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
27657 falling back to utime.
27658
b5f44c1a
AS
276592011-11-30 Andreas Schwab <schwab@redhat.com>
27660
27661 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
27662 expectations for float.
27663
f3a6cc0a
AS
276642011-11-29 Andreas Schwab <schwab@redhat.com>
27665
27666 * locale/weight.h (findidx): Add parameter len.
27667 * locale/weightwc.h (findidx): Likewise.
27668 * posix/fnmatch_loop.c (FCT): Adjust caller.
27669 * posix/regcomp.c (build_equiv_class): Likewise.
27670 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
27671 * posix/regexec.c (check_node_accept_bytes): Likewise.
27672 * string/strcoll_l.c (STRCOLL): Likewise.
27673 * string/strxfrm_l.c (STRXFRM): Likewise.
27674
9d65ea3a
UD
276752011-11-17 Ulrich Drepper <drepper@gmail.com>
27676
27677 * Makefile.in: Remove CVSOPT handling.
27678 * configure.in: Remove use of AC_REVISION.
27679 * iconvdata/Makefile (distribute): No need to filter out CVS.
27680 * scripts/list-sources.sh: Remove CVS, subversion and monotone
27681 handling.
27682
5583a086
AS
276832011-11-16 Andreas Schwab <schwab@redhat.com>
27684
27685 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
27686 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
27687 [USE_AS_STRNCASECMP_L]: Likewise.
27688 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
27689 NO_TLS_DIRECT_SEG_REFS.
27690 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
27691 Fix argument offsets for non-PIC.
27692 [USE_AS_STRNCASECMP_L]: Likewise.
27693 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
27694 NO_TLS_DIRECT_SEG_REFS.
27695
d62a8200
UD
276962011-11-15 Ulrich Drepper <drepper@gmail.com>
27697
9d65ea3a 27698 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
27699 O_CLOEXEC.
27700 * locale/loadlocale.c (_nl_load_locale): Likewise.
27701
09f93bd3
AS
277022011-11-15 Andreas Schwab <schwab@redhat.com>
27703
446514f9
AS
27704 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
27705 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
27706 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
27707 (SYSCALL_GETTIME): Set errno on error.
27708
09f93bd3
AS
27709 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
27710 count references to noai6ai_cached.
27711
312be3f9
UD
277122011-11-15 Ulrich Drepper <drepper@gmail.com>
27713
27714 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
27715
27716 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
27717 FD_CLOEXEC for /proc/self/maps.
27718
27719 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
27720 FD_CLOEXEC for /proc/meminfo.
27721
27722 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
27723 gai.conf.
27724
27725 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
27726 FD_CLOEXEC for given file.
27727
27728 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
27729
27730 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
27731 FD_CLOEXEC for /etc/hosts.
27732 (_gethtent): Likewise.
27733
27734 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
27735
27736 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
27737 cancellation and set FD_CLOEXEC for /etc/netgroup.
27738
27739 * nss/nss_files/files-key.c (search): Don't allow cancellation when
27740 reading /etc/publickey.
27741
27742 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
27743 allow cancellation when reading /etc/group.
27744
27745 * nss/nss_files/files-alias.c (internal_setent): Don't allow
27746 cancellation.
27747 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
27748
27749 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
27750 when using data file.
27751
27752 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
27753
27754 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
27755 (write_nis_obj): Use "c" and "e" in fopen.
27756
27757 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
27758
27759 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
27760
27761 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
27762
27763 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
27764
27765 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
27766 locale.alias.
27767
27768 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
27769
27770 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
27771
27772 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
27773
27774 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
27775 file parsing and set FD_CLOEXEC.
27776
82af0fa8
UD
277772011-11-14 Ulrich Drepper <drepper@gmail.com>
27778
27779 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
27780
a5fb313c
AS
277812011-11-14 Andreas Schwab <schwab@redhat.com>
27782
27783 * malloc/arena.c (arena_get2): Don't call reused_arena when
27784 _int_new_arena failed.
27785
6abf3465
UD
277862011-11-14 Ulrich Drepper <drepper@gmail.com>
27787
27788 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
27789 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
27790 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
27791 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27792 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27793 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
27794 to compile strcasecmp and strncasecmp.
27795 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
27796 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
27797
27798 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
27799
76e3966e
UD
278002011-11-13 Ulrich Drepper <drepper@gmail.com>
27801
27802 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
27803 locale-defines.sym to gen-as-const-headers.
27804 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
27805 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
27806 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
27807 to compile strcasecmp and strncasecmp.
27808 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
27809 strcasecmp_l and strncasecmp_l.
27810 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
27811 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
27812 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
27813 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
27814 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
27815 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
27816 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
27817 * sysdeps/i386/i686/multiarch/strncase.S: New file.
27818 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
27819 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
27820 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
27821
ab26144e
UD
278222011-11-12 Ulrich Drepper <drepper@gmail.com>
27823
7edb22ef
UD
27824 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
27825 result of SYSDEP_GETTIME_CPU to retval.
27826 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
27827 parameter list to macro. Remove trailing semicolon. Adjust users.
27828
9694fc44
UD
27829 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
27830 variable.
27831
8ad89ef8
UD
27832 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
27833 mantissa words.
27834 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27835
0c822ef9
UD
27836 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
27837 from unused variable.
27838
874e0564
UD
27839 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
27840 DWARF definitions.
27841 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
27842 for assembling.
27843
3a2edc79
UD
27844 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
27845 over namespaces.
27846
f3c2577f
UD
27847 * sunrpc/rpc_prot.c (rejected): Fix case value.
27848
294ce126
UD
27849 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
27850 unsigned long long int to avoid warnings in shift.
27851
5e2b63c6
UD
27852 * posix/regex_internal.c (re_string_reconstruct): Actually use result
27853 of use of trans.
27854 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
27855 variable tmp.
27856
e7f4b08e
UD
27857 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
27858 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27859 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27860
ab26144e
UD
27861 * nis/nis_table.c (nis_list): Use variable of correct type for
27862 result of __follow_path call.
27863
8a6d5255
AZ
278642011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27865
27866 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
27867 of math functions ceil, trunc, floor, round, and sqrt, when
27868 avaliable on the platform.
27869 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
27870 name clash.
27871 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27872 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27873 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27874
aaddc98c
MP
278752011-10-30 Marek Polacek <mpolacek@redhat.com>
27876
27877 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
27878 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27879
95b7042b
RM
278802011-11-11 Roland McGrath <roland@hack.frob.com>
27881
27882 * include/unistd.h: Fix __readlink return type.
27883 Reported by Chris Metcalf <cmetcalf@tilera.com>.
27884
57769839
UD
278852011-11-11 Ulrich Drepper <drepper@gmail.com>
27886
27887 * stdlib/ucontext.h: Undo last change for makecontext.
27888
edc5984d
AS
278892011-11-11 Andreas Schwab <schwab@redhat.com>
27890
98591e58
AS
27891 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
27892
edc5984d
AS
27893 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
27894 * setjmp/setjmp.h: Mark functions as non-leaf.
27895 * setjmp/bits/setjmp2.h: Likewise.
27896 * stdlib/ucontext.h: Likewise.
27897
77cdc054
AS
278982011-11-10 Andreas Schwab <schwab@redhat.com>
27899
27900 * malloc/arena.c (_int_new_arena): Don't increment narenas.
27901 (reused_arena): Don't check arena limit.
27902 (arena_get2): Atomically check arena limit.
27903
fe72eebd
UD
279042011-11-08 Ulrich Drepper <drepper@gmail.com>
27905
5f078c32
UD
27906 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
27907 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
27908
fe72eebd
UD
27909 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
27910 instructions.
27911
ae1bc2fa
AS
279122011-11-07 Andreas Schwab <schwab@redhat.com>
27913
7583a88d
AS
27914 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
27915 handler when locking.
27916
ae1bc2fa
AS
27917 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27918 Fix size of allocated buffer.
27919
10fb0bfa
AS
279202011-11-04 Andreas Schwab <schwab@redhat.com>
27921
998832a4
AS
27922 [BZ #10103]
27923 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
27924 declarations for long double functions.
27925 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
27926
10fb0bfa
AS
27927 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
27928
3d7ba52b
AS
279292011-11-03 Andreas Schwab <schwab@redhat.com>
27930
a9ae54a1
AS
27931 * nscd/nscd.c (main): Don't start AVC thread until credentials are
27932 installed.
27933
3d7ba52b
AS
27934 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
27935 is disabled.
27936
bc8db248
ST
279372011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
27938
27939 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
27940
45b96dd6
AS
279412011-11-01 Andreas Schwab <schwab@linux-m68k.org>
27942
647776f6
AS
27943 * include/alloca.h (stackinfo_alloca_round): Define.
27944 (extend_alloca): Use it.
27945 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
27946 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
27947 here.
27948
d91a8b93
AS
27949 * scripts/check-local-headers.sh: Ignore libaudit.h.
27950
45b96dd6
AS
27951 * nscd/Makefile (extra-objs): Make recursively expanded.
27952
432d41ce
UD
279532011-11-01 Ulrich Drepper <drepper@gmail.com>
27954
34372fc6
UD
27955 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27956 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27957
fadb59f8
UD
27958 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
27959 * posix/tst-rfc3484-2.c: Likewise.
27960 * posix/tst-rfc3484-3.c: Likewise.
27961
78239589
UD
27962 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27963 process_vm_writev.
27964 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
27965 process_vm_writev.
27966 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
27967 process_vm_writev from libc using GLIBC_2.15 version.
27968
432d41ce
UD
27969 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
27970
02f9c6cf
PP
279712011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
27972
27973 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
27974 stack usage.
27975
3a2c0242
UD
279762011-10-31 Ulrich Drepper <drepper@gmail.com>
27977
f4ec4833
UD
27978 [BZ #13367]
27979 * nss/getent.c (initgroups_keys): Show error message in case no group
27980 names are given.
27981
3a2c0242
UD
27982 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
27983 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
27984 __bump_nl_timestamp.
27985 * nscd/connections (nscd_init): When host database is served open
27986 netlink socket and request notification about configuration changes.
27987 (main_loop_poll): Track netlink file descriptor and bump timestamp
27988 in case data becomes available.
27989 (main_loop_epoll): Likewise.
27990 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
27991 (database_pers_head): Add extra_data fileds.
27992 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27993 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
27994 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
27995 Adjust caller.
27996 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
27997 in6ai data, call __free_in6ai.
27998 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
27999 Add -DHAVE_NETLINK.
28000 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
28001 interface information. Reuse previous data if netlink timestamp
28002 is not changed.
28003 (__bump_nl_timestamp): New function.
28004 (__free_in6ai): New function.
28005
636064eb
UD
280062011-10-30 Ulrich Drepper <drepper@gmail.com>
28007
28008 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
28009 close_not_cancel_no_status here.
28010 (__check_pf): Reorganize code a bit to not call close twice if OOM.
28011
9beb2334
UD
280122011-10-29 Ulrich Drepper <drepper@gmail.com>
28013
6ef76f3b
UD
28014 [BZ #13276]
28015 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
28016 return value.
28017
0ffc4f3e 28018 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
28019 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
28020 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
28021
cb95113e
UD
280222011-07-03 Andreas Jaeger <aj@suse.de>
28023
28024 [BZ #10709]
28025 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
28026 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
28027 * math/libm-test.inc (sin_test): Add test case.
28028
a1b560ff
UD
280292011-10-29 Ulrich Drepper <drepper@gmail.com>
28030
c9aaface
UD
28031 [BZ #13337]
28032 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
28033 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28034
d272e7f1
UD
28035 * elf/chroot_canon.c (chroot_canon): Cleanups.
28036
1bc33071
UD
28037 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
28038
1760874d
TJ
28039 [BZ #13335]
28040 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
28041 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28042
51d91b18
UD
28043 * string/test-strchr.c: Make usable for strchrnul testing.
28044 * string/test-strchrnul.c: New file.
28045 * string/Makefile (strop-tests): Add strchrnul.
28046
a1b560ff 28047 * po/it.po: Update from translation team.
b611fb81 28048 * po/es.po: Likewise.
a1b560ff 28049
a5b81e1f
UD
280502011-10-28 Ulrich Drepper <drepper@gmail.com>
28051
fd52bc6d
UD
28052 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
28053 the three constants needed as parameters. Drop the others.
28054 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
28055 __m128i_strloadu_tolower.
52e4b9eb
UD
28056 Create and initialize variable zero and use it in all the places
28057 where _mm_setzero_si128 was used.
fd52bc6d 28058
a5b81e1f
UD
28059 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
28060 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
28061 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
28062 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
28063 anymore.
28064 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
28065 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
28066 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
28067 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
28068 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
28069 __mpranred, __mptan.
28070 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
28071 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
28072 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
28073 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
28074 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
28075 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
28076 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
28077 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
28078 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
28079
b4343346
AS
280802011-10-28 Andreas Schwab <schwab@redhat.com>
28081
0c92d8a8
AS
28082 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
28083 redefine if SHARED.
28084 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
28085
b4343346
AS
28086 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
28087 wide char related routines to wcsmbs subdir.
28088
3871f58f
AS
280892011-10-27 Andreas Schwab <schwab@redhat.com>
28090
28091 [BZ #13344]
28092 * misc/sys/cdefs.h (__THROWNL): Define.
28093 * posix/unistd.h: Use __THREADNL instead of __THREAD
28094 for memory synchronization functions.
28095
94d44d9f
RM
280962011-10-26 Roland McGrath <roland@hack.frob.com>
28097
21b64b15 28098 [BZ #13349]
94d44d9f
RM
28099 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
28100 doesn't exist.
28101 * manual/stdio.texi (Obstack Streams): Node removed.
28102
f6ce9294
AS
281032011-10-26 Andreas Schwab <schwab@redhat.com>
28104
80479147
AS
28105 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
28106 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28107 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28108
f6ce9294
AS
28109 * math/math_private.h (math_force_eval): Allow non-addressable
28110 arguments.
28111 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
28112
618280a1
UD
281132011-10-25 Ulrich Drepper <drepper@gmail.com>
28114
e0016b11
UD
28115 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
28116 file is not needed.
28117
28118 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
28119 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28120 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28121 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28122 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28123 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28124 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28125 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
28126 Add AVX variants.
28127 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
28128 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
28129 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
28130 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
28131 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
28132 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
28133 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
28134 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
28135 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
28136 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
28137 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
28138 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
28139 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
28140 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
28141 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
28142 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
28143 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
28144 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
28145 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
28146
28147 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
28148 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
28149
618280a1
UD
28150 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
28151 place. Use VEX encoding when compiling for AVX.
28152
37822576
AS
281532011-10-25 Andreas Schwab <schwab@redhat.com>
28154
1f1e1947
AS
28155 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
28156 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28157
37822576
AS
28158 * string/test-strchr.c (do_test): Don't generate NUL bytes.
28159
31ea014d
UD
281602011-10-25 Ulrich Drepper <drepper@gmail.com>
28161
d7826aa1 28162 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 28163 useless if() expression.
d7826aa1
UD
28164 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28165 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28166 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28167 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28168 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28169 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28170 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28171 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28172 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28173 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28174 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28175 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28176 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28177 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28178 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28179 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28180 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28181 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28182 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28183
31ea014d
UD
28184 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
28185
16437fec
AS
281862011-10-25 Andreas Schwab <schwab@redhat.com>
28187
28188 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
28189 condition.
28190 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28191
31d3cc00
UD
281922011-10-25 Ulrich Drepper <drepper@gmail.com>
28193
28194 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
28195 .text section. Avoid duplicate constants.
28196 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28197 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28198 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28199 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28200 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28201 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28202 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28203 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28204 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28205 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
28206 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28207 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28208 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28209 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28210 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28211 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28212 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28213 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28214 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28215 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28216 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28217 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28218 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28219 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
28220 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
28221 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
28222 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
28223 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
28224 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
28225 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
28226 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
28227 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
28228 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28229 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
28230 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
28231 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
28232 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
28233 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
28234 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
28235 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
28236 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
28237 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
28238 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
28239 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
28240 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
28241
58985aa9
UD
282422011-10-24 Ulrich Drepper <drepper@gmail.com>
28243
202c9deb
UD
28244 * sysdeps/x86_64/dla.h: Move to ...
28245 * sysdeps/x86_64/fpu/dla.h: ...here.
28246 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
28247 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 28248
af968f62
UD
28249 * config.make.in: Add have-mfma4 entry.
28250 * configure.in: Substitute libc_cv_cc_fma4.
28251 * math/Makefile (dbl-only-routines): Add sincostab.
28252 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
28253 Use __sincostab not sincos.
28254 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
28255 name is a macro.
28256 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28257 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28258 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28259 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
28260 using __copysign.
28261 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
28262 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
28263 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
28264 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
28265 and __inv.
28266 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
28267 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
28268 __copysign.
28269 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
28270 define aliases when function name is a macro.
28271 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
28272 sysdeps/ieee754/dbl-64/sincos.tbl.
28273 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
28274 fma4-enabled routines.
28275 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
28276 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
28277 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
28278 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
28279 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
28280 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
28281 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
28282 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
28283 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
28284 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
28285 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
28286 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
28287 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
28288 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
28289 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
28290 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
28291 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
28292 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
28293 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
28294 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
28295 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
28296 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
28297 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
28298 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
28299 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
28300 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
28301 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
28302 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
28303 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
28304 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
28305
58985aa9
UD
28306 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
28307 rename.
28308 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28309 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28310 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28311 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28312 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28313 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28314 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28315 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28316
a201fbcf
AS
283172011-10-24 Andreas Schwab <schwab@redhat.com>
28318
28319 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
28320
fc2ee42a
LD
283212011-10-23 Ulrich Drepper <drepper@gmail.com>
28322
bb3129bd
UD
28323 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
28324
0275fff8
UD
28325 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
28326 prediction.
28327 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
28328
2fa2ae85
UD
28329 * string/strnlen.c: Don't define STRNLEN, reverse logic.
28330 Remove unused variable magic_bits.
28331 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
28332
fc2ee42a
LD
28333 * string/strnlen.c: Define and use STRNLEN macro.
28334 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
28335 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
28336 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
28337 * wcsmbs/wcslen.c: Define and use WCSLEN.
28338 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
28339 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
28340 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
28341 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
28342 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
28343 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
28344 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28345
ce7dd29f
LD
283462011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28347
28348 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28349 strnlen-sse2-no-bsf.
28350 Rename strlen-no-bsf to strlen-sse2-no-bsf.
28351 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
28352 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
28353 Add strnlen support.
28354 (USE_AS_STRNLEN): New macro.
28355 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
28356 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
28357 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
28358 * sysdeps/x86_64/wcslen.S: New file.
28359
979c70a3
MZ
283602011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
28361
28362 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28363 XMM-moves are used for copying on small sizes.
28364
2d09f82f
LD
283652011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28366
28367 * wcsmbs/Makefile (strop-tests): Add wcschr.
28368 * wcsmbs/test-wcschr.c: New file.
28369 * string/test-strchr.c: Update.
28370 Add wcschr support.
28371 (WIDE): New macro.
28372
619fccca
LD
283732011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28374
2d09f82f 28375 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
28376 * wcsmbs/test-wcslen.c: New file.
28377 * string/test-strlen.c: Update.
28378 Add wcslen support.
28379 (WIDE): New macro.
28380
09f699ea
UD
283812011-10-23 Ulrich Drepper <drepper@gmail.com>
28382
28383 * po/it.po: Update from translation team.
28384
95584d3b
LD
283852011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28386
28387 * sysdeps/x86_64/wcscmp.S: Update.
28388 Fix wrong comparison semantics.
28389 wcscmp shall use signed comparison not unsigned.
28390 Don't use substraction to avoid overflow bug.
28391 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
28392 * wcsmbc/wcscmp.c: Likewise.
28393 * string/test-strcmp.c: Likewise.
28394 Add new tests to check cases with negative values.
28395
c8b3296b
UD
283962011-10-23 Ulrich Drepper <drepper@gmail.com>
28397
28398 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
28399 * sysdeps/x86_64/dla.h: ...here. New file.
28400 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
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/e_sqrt.c: Likewise.
28406 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28407 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28408 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28409
246ad57a
AS
284102011-10-23 Andreas Schwab <schwab@linux-m68k.org>
28411
28412 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
28413 __ynl_finite aliases.
28414
a1a87169
UD
284152011-10-22 Ulrich Drepper <drepper@gmail.com>
28416
0d355eb7
UD
28417 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28418
a1a87169
UD
28419 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
28420 define DLA_FMA.
28421 [DLA_FMA] (EMULV): Use DLA_FMA.
28422 [DLA_FMA] (MUL12): Use EMULV.
28423 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
28424 that are not needed.
28425 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28426 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28427 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28428 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28429 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28430 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28431 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28432
ee2aafe0
AS
284332011-10-22 Andreas Schwab <schwab@linux-m68k.org>
28434
28435 * math/s_nan.c: Undef __nan.
28436 * math/s_nanf.c: Undef __nanf.
28437 * math/s_nanl.c: Undef __nanl.
28438 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
28439 "math_private.h".
28440
bc62c2fb
UD
284412011-10-22 Ulrich Drepper <drepper@gmail.com>
28442
77425c63
UD
28443 * math/s_catan.c: Add branch predictions.
28444 * math/s_catanf.c: Likewise.
28445 * math/s_catanh.c: Likewise.
28446 * math/s_catanhf.c: Likewise.
28447 * math/s_catanhl.c: Likewise.
28448 * math/s_catanl.c: Likewise.
28449 * math/s_cexp.c: Likewise.
28450 * math/s_cexpf.c: Likewise.
28451 * math/s_cexpl.c: Likewise.
28452 * math/s_clog.c: Likewise.
28453 * math/s_clog10.c: Likewise.
28454 * math/s_clog10f.c: Likewise.
28455 * math/s_clog10l.c: Likewise.
28456 * math/s_clogf.c: Likewise.
28457 * math/s_clogl.c: Likewise.
28458 * math/s_csqrt.c: Likewise.
28459 * math/s_csqrtf.c: Likewise.
28460 * math/s_csqrtl.c: Likewise.
28461 * math/s_ctanf.c: Likewise.
28462 * math/s_ctanh.c: Likewise.
28463 * math/s_ctanhf.c: Likewise.
28464 * math/s_ctanhl.c: Likewise.
28465 * math/s_ctanl.c: Likewise.
28466
bc62c2fb
UD
28467 * math/math_private.h: Define __nan, __nanf, __nanl.
28468 * math/s_cacosh.c: Include <math_private.h>.
28469 * math/s_cacoshl.c: Likewise.
28470 * math/s_casinh.c: Likewise.
28471 * math/s_casinhf.c: Likewise.
28472 * math/s_casinhl.c: Likewise.
28473 * math/s_ccos.c: Rely entire on ccosh.
28474 * math/s_ccosf.c: Rely entire on ccoshf.
28475 * math/s_ccosl.c: Rely entirely on ccoshl.
28476 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
28477 Remove tests for FE_INVALID.
28478 * math/s_ccoshf.c: Likewise.
28479 * math/s_ccoshl.c: Likewise.
28480 * math/s_csin.c: Likewise.
28481 * math/s_csinf.c: Likewise.
28482 * math/s_csinh.c Likewise.
28483 * math/s_csinhf.c: Likewise.
28484 * math/s_csinhl.c: Likewise.
28485 * math/s_csinl.c: Likewise.
28486 * math/s_ctan.c: Likewise.
28487 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
28488 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
28489 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
28490
8ec250a4
UD
284912011-10-21 Ulrich Drepper <drepper@gmail.com>
28492
c196fed8
UD
28493 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
28494 compilation problems.
28495
8ec250a4
UD
28496 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
28497 __builtin_expect.
28498
8d4f46c6
UD
284992011-10-20 Ulrich Drepper <drepper@gmail.com>
28500
ed72b654
UD
28501 * sysdeps/i386/configure.in: Test for -mfma4 option.
28502 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
28503 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
28504 COMMON_CPUID_INDEX_80000001.
28505 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
28506 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
28507 use it if FMA3 is not supported.
28508 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
28509
8d4f46c6
UD
28510 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
28511 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28512
d45c60c2
AS
285132011-10-20 Andreas Schwab <schwab@redhat.com>
28514
28515 [BZ #12892]
28516 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
28517 it would create a cycle with a link time dependency.
28518
d9a4d2ab
UD
285192011-10-19 Ulrich Drepper <drepper@gmail.com>
28520
855d1560
UD
28521 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
28522 instruction.
28523 * string/Makefile (strop-tests): Add rawmemchr.
28524 * string/test-rawmemchr.c: New file.
28525
d9a4d2ab
UD
28526 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
28527 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
28528 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
28529 when compiling str{,n}casecmp and when AVX is available. Hook up
28530 new optimized code in initializers.
28531
8f3b1ffe
AS
285322011-10-19 Andreas Schwab <schwab@redhat.com>
28533
28534 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
28535 __feraiseexcept instead of feraiseexcept.
28536
d38f1dba
UD
285372011-10-18 Ulrich Drepper <drepper@gmail.com>
28538
d9a8d0ab
UD
28539 * math/math_private.h: Define defaults for libc_fetestexcept and
28540 libc_feupdateenv.
28541 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
28542 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
28543 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28544 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28545 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28546 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28547 libc_fetestexcept and libc_feupdateenv.
28548
4855e3dd
UD
28549 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
28550 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
28551 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
28552 * sysdeps/x86_64/fpu/math_private.h: Define special version of
28553 libc_feholdexcept_setround.
28554
581d30e3
UD
28555 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
28556 Add s_nearbyint-c and s_nearbyintf-c.
28557 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
28558 nearbyintf inlines.
28559 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
28560 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
28561 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
28562 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
28563
d38f1dba
UD
28564 * math/math_private.h: Define defaults for libc_fegetround,
28565 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
28566 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
28567 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
28568 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
28569 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
28570 standard functions.
28571 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28572 Remove comments and hacks for old compiler versions.
28573 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28574 libc_fegetround, libc_fesetround, libc_feholdexcept, and
28575 libc_feholdexceptl.
28576
caa6c9d8
AS
285772011-10-18 Andreas Schwab <schwab@redhat.com>
28578
28579 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
28580 (__feraiseexcept_renamed): Add __NTH.
28581 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
28582 namespace violations.
28583
97c066e6
UD
285842011-10-17 Ulrich Drepper <drepper@gmail.com>
28585
99ce7b04
UD
28586 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
28587
1004d182
UD
28588 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
28589
228a984d
UD
28590 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
28591 recently added interfaces.
28592 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
28593
c8553a6a
UD
28594 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
28595 about macro parameter expansion.
28596
ed22dcf6
UD
28597 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
28598 __NO_MATH_INLINES is defined. Cleanups.
28599
28600 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
28601 and __floorf is target has SSE4.1.
28602 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
28603 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
28604 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
28605 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
28606
b171c137
UD
28607 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
28608 name.
28609 (floorf): Likewise.
28610
97c066e6
UD
28611 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
28612
629f62ef
AS
286132011-10-17 Andreas Schwab <schwab@redhat.com>
28614
49a43d80
AS
28615 * misc/sys/cdefs.h: Fix last change.
28616
629f62ef
AS
28617 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
28618 database lookup.
28619
e453f6cd
UD
286202011-10-16 Ulrich Drepper <drepper@gmail.com>
28621
aa78043a
UD
28622 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
28623
ad0f5cad
UD
28624 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
28625 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28626 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28627 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28628 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28629 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28630 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28631 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28632 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28633 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
28634 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
28635 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
28636 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
28637 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
28638 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
28639 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
28640 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
28641 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
28642 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
28643 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
28644 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
28645 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
28646
28647 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
28648 ceil, ceilf, floor, floorf.
28649
28650 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
28651 Perform IRELATIVE relocations last.
28652
e453f6cd
UD
28653 * elf/do-rel.h: Add another parameter nrelative, replacing the
28654 local variable with the same name. Change name of the function
28655 to end in Rel or Rela (uppercase).
28656 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
28657 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
28658 elf_dynamic_do_##reloc function.
28659
fd5bdc09
UD
286602011-10-15 Ulrich Drepper <drepper@gmail.com>
28661
79b195b5
UD
28662 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
28663 is sufficient, at least on modern CPUs.
28664
d4a28569
UD
28665 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
28666
b61099b5
UD
28667 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
28668 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
28669
bcf01e6d
UD
28670 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
28671 __expl_finite.
28672 * math/bits/math-finite.h: Add entries for exp.
28673 * math/e_expl.c: Add __*_finite alias.
28674 * sysdeps/i386/fpu/e_exp.S: Likewise.
28675 * sysdeps/i386/fpu/e_expf.S: Likewise.
28676 * sysdeps/i386/fpu/e_expl.c: Likewise.
28677 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28678 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28679 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28680 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28681 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
28682 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28683 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28684
ba1a0d59
UD
28685 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
28686 is sufficient, at least on modern CPUs.
28687
fd5bdc09
UD
28688 * ctype/ctype-info.c (__ctype_init): Define.
28689 * include/ctype.h (__ctype_init): Declare.
28690 (__ctype_b_loc): The variable is always initialized.
28691 (__ctype_toupper_loc): Likewise.
28692 (__ctype_tolower_loc): Likewise.
28693 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
28694 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
28695
7872cfb0
AS
286962011-10-15 Andreas Schwab <schwab@linux-m68k.org>
28697
b468825a
AS
28698 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
28699
7872cfb0
AS
28700 * configure.in: Also look in $cxxmachine/include for C++ system
28701 headers.
28702
be13f7bf
LD
287032011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28704
28705 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
28706 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
28707 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
28708 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
28709 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
28710 (USE_AS_WMEMCMP): New macro.
28711 Fixing indents.
28712 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
28713 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
28714 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
28715 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
28716 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28717 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
28718 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
28719 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
28720 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
28721 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
28722 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
28723 (USE_AS_WMEMCMP): New macro.
28724 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
28725 * sysdeps/string/test-memcmp.c: Update.
28726 Fix simple_wmemcmp.
28727 Add new tests.
28728 * wcsmbs/wmemcmp.c: Update.
28729 (WMEMCMP): New macro.
28730 Fix overflow bug.
28731
556a2007
AJ
287322011-10-12 Andreas Jaeger <aj@suse.de>
28733
28734 [BZ #13268]
28735 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
28736
538faaa7
UD
287372011-10-15 Ulrich Drepper <drepper@gmail.com>
28738
ab6737ff
UD
28739 * libio/iofwide.c (do_length): Avoid warning.
28740
538faaa7
UD
28741 * ctype/ctype.h (__isctype_f): Add missing __THROW.
28742
396a21b1
UD
287432011-10-14 Ulrich Drepper <drepper@gmail.com>
28744
cdf2901f
UD
28745 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
28746
38ad40ce
UD
28747 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
28748 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
28749 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
28750 * sysdeps/i386/i686/fpu/e_log.S: New file.
28751 * sysdeps/i386/i686/fpu/e_logf.S: New file.
28752 * sysdeps/i386/i686/fpu/e_logl.S: New file.
28753
396a21b1
UD
28754 * ctype/ctype.h: Add support for inlined isXXX functions when
28755 compiling C++ code.
28756
6b1f68c9
AS
287572011-10-14 Andreas Schwab <schwab@redhat.com>
28758
349290c0
AS
28759 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28760
6b1f68c9
AS
28761 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
28762
f2282d42
RM
287632011-10-13 Roland McGrath <roland@hack.frob.com>
28764
28765 [BZ #13291]
28766 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
28767
5298ffa8
AS
287682011-10-13 Andreas Schwab <schwab@redhat.com>
28769
714fad23
AS
28770 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
28771 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
28772 feraiseexcept.
28773
81dcc7fb
AS
28774 * sysdeps/x86_64/memrchr.S: Check for zero size.
28775
5298ffa8
AS
28776 * string/stratcliff.c: Add memrchr tests.
28777
951fbcec
LD
287782011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28779
28780 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28781 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
28782 rawmemchr-sse2 rawmemchr-sse2-bsf.
28783 * sysdeps/i386/i686/multiarch/memchr.S: New file.
28784 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
28785 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
28786 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
28787 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
28788 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
28789 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
28790 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
28791 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
28792 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
28793 * string/memrchr.c (MEMRCHR): New macro.
28794
0ac5ae23
UD
287952011-10-12 Ulrich Drepper <drepper@gmail.com>
28796
28797 Add integration with gcc's -ffinite-math-only and optimize wrapper
28798 functions in libm.
28799 * Versions.def: Define GLIBC_2.15 version for libm.
28800 * math/Makefile (headers): Add bits/math-finite.h.
28801 * math/bits/math-finite.h: New file.
28802 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
28803 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
28804 * math/e_acoshl.c: Add __*_finite alias.
28805 * math/e_acosl.c: Likewise.
28806 * math/e_asinl.c: Likewise.
28807 * math/e_atan2l.c: Likewise.
28808 * math/e_atanhl.c: Likewise.
28809 * math/e_coshl.c: Likewise.
28810 * math/e_exp10.c: Likewise.
28811 * math/e_exp10f.c: Likewise.
28812 * math/e_exp10l.c: Likewise.
28813 * math/e_exp2l.c: Likewise.
28814 * math/e_fmodl.c: Likewise.
28815 * math/e_gammal_r.c: Likewise.
28816 * math/e_hypotl.c: Likewise.
28817 * math/e_j0l.c: Likewise.
28818 * math/e_j1l.c: Likewise.
28819 * math/e_jnl.c: Likewise.
28820 * math/e_lgammal_r.c: Likewise.
28821 * math/e_log10l.c: Likewise.
28822 * math/e_log2l.c: Likewise.
28823 * math/e_logl.c: Likewise.
28824 * math/e_powl.c: Likewise.
28825 * math/e_sinhl.c: Likewise.
28826 * math/e_sqrtl.c: Likewise.
28827 * math/e_scalb.c: Completely rewritten and optimized.
28828 * math/e_scalbf.c: Likewise.
28829 * math/e_scalbl.c: Likewise.
28830 * math/w_acos.c: Likewise.
28831 * math/w_acosf.c: Likewise.
28832 * math/w_acosl.c: Likewise.
28833 * math/w_acosh.c: Likewise.
28834 * math/w_acoshf.c: Likewise.
28835 * math/w_acoshl.c: Likewise.
28836 * math/w_asin.c: Likewise.
28837 * math/w_asinf.c: Likewise.
28838 * math/w_asinl.c: Likewise.
28839 * math/w_atan2.c: Likewise.
28840 * math/w_atan2f.c: Likewise.
28841 * math/w_atan2l.c: Likewise.
28842 * math/w_atanh.c: Likewise.
28843 * math/w_atanhf.c: Likewise.
28844 * math/w_atanhl.c: Likewise.
28845 * math/w_exp10.c: Likewise.
28846 * math/w_exp10f.c: Likewise.
28847 * math/w_exp10l.c: Likewise.
28848 * math/w_fmod.c: Likewise.
28849 * math/w_fmodf.c: Likewise.
28850 * math/w_fmodl.c: Likewise.
28851 * math/w_j0.c: Likewise.
28852 * math/w_j0f.c: Likewise.
28853 * math/w_j0l.c: Likewise.
28854 * math/w_j1.c: Likewise.
28855 * math/w_j1f.c: Likewise.
28856 * math/w_j1l.c: Likewise.
28857 * math/w_jn.c: Likewise.
28858 * math/w_jnf.c: Likewise.
28859 * math/w_log.c: Likewise.
28860 * math/w_logf.c: Likewise.
28861 * math/w_logl.c: Likewise.
28862 * math/w_log10.c: Likewise.
28863 * math/w_log10f.c: Likewise.
28864 * math/w_log10l.c: Likewise.
28865 * math/w_log2.c: Likewise.
28866 * math/w_log2f.c: Likewise.
28867 * math/w_log2l.c: Likewise.
28868 * math/w_pow.c: Likewise.
28869 * math/w_powf.c: Likewise.
28870 * math/w_powl.c: Likewise.
28871 * math/w_remainder.c: Likewise.
28872 * math/w_remainderf.c: Likewise.
28873 * math/w_remainderl.c: Likewise.
28874 * math/w_scalb.c: Likewise.
28875 * math/w_scalbf.c: Likewise.
28876 * math/w_scalbl.c: Likewise.
28877 * math/w_sqrt.c: Likewise.
28878 * math/w_sqrtf.c: Likewise.
28879 * math/w_sqrtl.c: Likewise.
28880 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
28881 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
28882 used.
28883 * math/math_private.h: Declare __kernel_standard_f.
28884 * math/w_cosh.c: Remove cruft and optimize a bit.
28885 * math/w_coshf.c: Likewise.
28886 * math/w_coshl.c: Likewise.
28887 * math/w_exp2.c: Likewise.
28888 * math/w_exp2f.c: Likewise.
28889 * math/w_exp2l.c: Likewise.
28890 * math/w_hypot.c: Likewise.
28891 * math/w_hypotf.c: Likewise.
28892 * math/w_hypotl.c: Likewise.
28893 * math/w_lgamma.c: Likewise.
28894 * math/w_lgamma_r.c: Likewise.
28895 * math/w_lgammaf.c: Likewise.
28896 * math/w_lgammaf_r.c: Likewise.
28897 * math/w_lgammal.c: Likewise.
28898 * math/w_lgammal_r.c: Likewise.
28899 * math/w_sinh.c: Likewise.
28900 * math/w_sinhf.c: Likewise.
28901 * math/w_sinhl.c: Likewise.
28902 * math/w_tgamma.c: Likewise.
28903 * math/w_tgammaf.c: Likewise.
28904 * math/w_tgammal.c: Likewise.
28905 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28906 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28907 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
28908 Minor optimizations. Pretty printing. Remove cruft.
28909 * sysdeps/i386/fpu/e_acosf.S: Likewise.
28910 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28911 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28912 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28913 * sysdeps/i386/fpu/e_acosl.c: Likewise.
28914 * sysdeps/i386/fpu/e_asin.S: Likewise.
28915 * sysdeps/i386/fpu/e_asinf.S: Likewise.
28916 * sysdeps/i386/fpu/e_atan2.S: Likewise.
28917 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
28918 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
28919 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28920 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28921 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28922 * sysdeps/i386/fpu/e_exp10.S: Likewise.
28923 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
28924 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
28925 * sysdeps/i386/fpu/e_exp2.S: Likewise.
28926 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
28927 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
28928 * sysdeps/i386/fpu/e_fmod.S: Likewise.
28929 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
28930 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
28931 * sysdeps/i386/fpu/e_hypot.S: Likewise.
28932 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
28933 * sysdeps/i386/fpu/e_log.S: Likewise.
28934 * sysdeps/i386/fpu/e_log10.S: Likewise.
28935 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28936 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28937 * sysdeps/i386/fpu/e_log2.S: Likewise.
28938 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28939 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28940 * sysdeps/i386/fpu/e_logf.S: Likewise.
28941 * sysdeps/i386/fpu/e_logl.S: Likewise.
28942 * sysdeps/i386/fpu/e_pow.S: Likewise.
28943 * sysdeps/i386/fpu/e_powf.S: Likewise.
28944 * sysdeps/i386/fpu/e_powl.S: Likewise.
28945 * sysdeps/i386/fpu/e_remainder.S: Likewise.
28946 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
28947 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
28948 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28949 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28950 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28951 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
28952 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
28953 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
28954 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28955 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28956 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28957 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28958 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28959 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28960 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28961 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28962 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28963 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28964 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28965 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28966 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28967 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28968 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28969 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28970 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28971 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28972 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28973 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28974 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28975 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28976 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28977 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28978 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28979 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28980 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28981 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28982 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
28983 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28984 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28985 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28986 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28987 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28988 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28989 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28990 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28991 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28992 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28993 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28994 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28995 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28996 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28997 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28998 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28999 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29000 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29001 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29002 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29003 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
29004 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29005 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29006 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29007 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29008 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29009 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29010 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29011 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29012 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29013 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29014 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29015 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29016 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29017 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29018 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29019 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29020 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29021 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29022 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
29023 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29024 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29025 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29026 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29027 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29028 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29029 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29030 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29031 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29032 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29033 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29034 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29035 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29036 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
29037 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29038 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29039 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29040 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29041 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29042 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29043 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29044 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29045 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29046 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29047 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29048 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29049 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29050 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29051 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
29052 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
29053 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
29054 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
29055 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
29056 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
29057 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
29058 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29059 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29060 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29061 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29062 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
29063 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29064 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
29065 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
29066 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
29067 (__isnanf): Likewise.
29068 (__isinf_ns): Likewise.
29069 (__isinf_nsf): Likewise.
29070 (__finite): Likewise.
29071 (__finitef): Likewise.
29072 (__ieee754_sqrt): Define as macro.
29073 (__ieee754_sqrtf): Define as macro.
29074 (__ieee754_sqrtl): Define as macro.
29075 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
29076 inlined copy.
29077 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
29078 __FINITE_MATH_ONLY__ consistent.
29079 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
29080
12cc2fcd
AS
290812011-10-10 Andreas Schwab <schwab@linux-m68k.org>
29082
a843a204
AS
29083 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
29084 of rawmemchr.
29085
12cc2fcd
AS
29086 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
29087
c853acd5
UD
290882011-10-09 Ulrich Drepper <drepper@gmail.com>
29089
29090 * po/ja.po: Update from translation team.
29091
c658d255
RM
290922011-10-08 Roland McGrath <roland@hack.frob.com>
29093
110946e4
RM
29094 * locale/programs/locarchive.c (prepare_address_space): New function.
29095 (create_archive, enlarge_archive, open_archive): Use it.
29096
50604220
RM
29097 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
29098 inside [SHARED], where it is used.
29099
c658d255
RM
29100 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
29101
29102 * nss/getent.c (netgroup_keys): Remove unused variable.
29103 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29104
6a621eb7
UD
291052011-10-08 Ulrich Drepper <drepper@gmail.com>
29106
7edb55ce
UD
29107 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
29108 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
29109 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
29110 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
29111 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
29112 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
29113 * math/Makefile (libm-calls): Add s_isinf_ns.
29114 * math/divtc3.c: Use __isinf_nsl instead of isinf.
29115 * math/multc3.c: Likewise.
29116 * math/s_casin.c: Likewise.
29117 * math/s_casinf.c: Likewise.
29118 * math/s_casinl.c: Likewise.
29119 * math/s_ccos.c: Likewise.
29120 * math/s_ccosf.c: Likewise.
29121 * math/s_ccosl.c: Likewise.
29122 * math/s_ctan.c: Likewise.
29123 * math/s_ctanf.c: Likewise.
29124 * math/s_ctanh.c: Likewise.
29125 * math/s_ctanhf.c: Likewise.
29126 * math/s_ctanhl.c: Likewise.
29127 * math/s_ctanl.c: Likewise.
29128 * math/w_fmod.c: Likewise.
29129 * math/w_fmodf.c: Likewise.
29130 * math/w_fmodl.c: Likewise.
29131 * math/w_remainder.c: Likewise.
29132 * math/w_remainderf.c: Likewise.
29133 * math/w_remainderl.c: Likewise.
29134 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
29135 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
29136 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
29137 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
29138 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
29139 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
29140 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
29141 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
29142
187da0ae
UD
29143 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
29144 of the number.
29145 * stdio-common/printf_fphex.c: Likewise.
29146 * stdio-common/printf_size.c: Likewise.
29147
9277c064
UD
29148 * math/e_exp10.c: Include math_private.h using <...> not "...".
29149 * math/e_exp10f.c: Likewise.
29150 * math/e_exp10l.c: Likewise.
29151 * math/e_exp2l.c: Likewise.
29152 * math/e_j0l.c: Likewise.
29153 * math/e_j1l.c: Likewise.
29154 * math/e_jnl.c: Likewise.
29155 * math/e_lgammal_r.c: Likewise.
29156 * math/e_rem_pio2l.c: Likewise.
29157 * math/e_scalb.c: Likewise.
29158 * math/e_scalbf.c: Likewise.
29159 * math/e_scalbl.c: Likewise.
29160 * math/k_cosl.c: Likewise.
29161 * math/k_sinl.c: Likewise.
29162 * math/k_tanl.c: Likewise.
29163 * math/s_cacoshf.c: Likewise.
29164 * math/s_catan.c: Likewise.
29165 * math/s_catanf.c: Likewise.
29166 * math/s_catanh.c: Likewise.
29167 * math/s_catanhf.c: Likewise.
29168 * math/s_catanhl.c: Likewise.
29169 * math/s_catanl.c: Likewise.
29170 * math/s_ccosh.c: Likewise.
29171 * math/s_ccoshf.c: Likewise.
29172 * math/s_ccoshl.c: Likewise.
29173 * math/s_cexp.c: Likewise.
29174 * math/s_cexpf.c: Likewise.
29175 * math/s_cexpl.c: Likewise.
29176 * math/s_clog.c: Likewise.
29177 * math/s_clog10.c: Likewise.
29178 * math/s_clog10f.c: Likewise.
29179 * math/s_clog10l.c: Likewise.
29180 * math/s_clogf.c: Likewise.
29181 * math/s_clogl.c: Likewise.
29182 * math/s_csin.c: Likewise.
29183 * math/s_csinf.c: Likewise.
29184 * math/s_csinh.c: Likewise.
29185 * math/s_csinhf.c: Likewise.
29186 * math/s_csinhl.c: Likewise.
29187 * math/s_csinl.c: Likewise.
29188 * math/s_csqrt.c: Likewise.
29189 * math/s_csqrtf.c: Likewise.
29190 * math/s_csqrtl.c: Likewise.
29191 * math/s_ctan.c: Likewise.
29192 * math/s_ctanf.c: Likewise.
29193 * math/s_ctanh.c: Likewise.
29194 * math/s_ctanhf.c: Likewise.
29195 * math/s_ctanhl.c: Likewise.
29196 * math/s_ctanl.c: Likewise.
29197 * math/s_ldexp.c: Likewise.
29198 * math/s_ldexpf.c: Likewise.
29199 * math/s_ldexpl.c: Likewise.
29200 * math/s_significand.c: Likewise.
29201 * math/s_significandf.c: Likewise.
29202 * math/s_significandl.c: Likewise.
29203 * math/w_acos.c: Likewise.
29204 * math/w_acosf.c: Likewise.
29205 * math/w_acosh.c: Likewise.
29206 * math/w_acoshf.c: Likewise.
29207 * math/w_acoshl.c: Likewise.
29208 * math/w_acosl.c: Likewise.
29209 * math/w_asin.c: Likewise.
29210 * math/w_asinf.c: Likewise.
29211 * math/w_asinl.c: Likewise.
29212 * math/w_atan2.c: Likewise.
29213 * math/w_atan2f.c: Likewise.
29214 * math/w_atan2l.c: Likewise.
29215 * math/w_atanh.c: Likewise.
29216 * math/w_atanhf.c: Likewise.
29217 * math/w_atanhl.c: Likewise.
29218 * math/w_cosh.c: Likewise.
29219 * math/w_coshf.c: Likewise.
29220 * math/w_coshl.c: Likewise.
29221 * math/w_dremf.c: Likewise.
29222 * math/w_exp10.c: Likewise.
29223 * math/w_exp10f.c: Likewise.
29224 * math/w_exp10l.c: Likewise.
29225 * math/w_exp2.c: Likewise.
29226 * math/w_exp2f.c: Likewise.
29227 * math/w_fmod.c: Likewise.
29228 * math/w_fmodf.c: Likewise.
29229 * math/w_fmodl.c: Likewise.
29230 * math/w_hypot.c: Likewise.
29231 * math/w_hypotf.c: Likewise.
29232 * math/w_hypotl.c: Likewise.
29233 * math/w_j0.c: Likewise.
29234 * math/w_j0f.c: Likewise.
29235 * math/w_j0l.c: Likewise.
29236 * math/w_j1.c: Likewise.
29237 * math/w_j1f.c: Likewise.
29238 * math/w_j1l.c: Likewise.
29239 * math/w_jn.c: Likewise.
29240 * math/w_jnf.c: Likewise.
29241 * math/w_jnl.c: Likewise.
29242 * math/w_lgamma.c: Likewise.
29243 * math/w_lgamma_r.c: Likewise.
29244 * math/w_lgammaf.c: Likewise.
29245 * math/w_lgammaf_r.c: Likewise.
29246 * math/w_lgammal.c: Likewise.
29247 * math/w_lgammal_r.c: Likewise.
29248 * math/w_log.c: Likewise.
29249 * math/w_log10.c: Likewise.
29250 * math/w_log10f.c: Likewise.
29251 * math/w_log10l.c: Likewise.
29252 * math/w_log2.c: Likewise.
29253 * math/w_log2f.c: Likewise.
29254 * math/w_log2l.c: Likewise.
29255 * math/w_logf.c: Likewise.
29256 * math/w_logl.c: Likewise.
29257 * math/w_pow.c: Likewise.
29258 * math/w_powf.c: Likewise.
29259 * math/w_powl.c: Likewise.
29260 * math/w_remainder.c: Likewise.
29261 * math/w_remainderf.c: Likewise.
29262 * math/w_remainderl.c: Likewise.
29263 * math/w_scalb.c: Likewise.
29264 * math/w_scalbf.c: Likewise.
29265 * math/w_scalbl.c: Likewise.
29266 * math/w_sinh.c: Likewise.
29267 * math/w_sinhf.c: Likewise.
29268 * math/w_sinhl.c: Likewise.
29269 * math/w_sqrt.c: Likewise.
29270 * math/w_sqrtf.c: Likewise.
29271 * math/w_sqrtl.c: Likewise.
29272 * math/w_tgamma.c: Likewise.
29273 * math/w_tgammaf.c: Likewise.
29274 * math/w_tgammal.c: Likewise.
29275
6a621eb7
UD
29276 * po/ja.po: Update from translation team.
29277
bf582445
AJ
292782011-09-29 Andreas Jaeger <aj@suse.de>
29279
f9efbf3a
AJ
29280 [BZ #13179]
29281 * sunrpc/netname.c (netname2host): Fix logic.
29282
bf582445
AJ
29283 [BZ #6779]
29284 [BZ #6783]
29285 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
29286 correctly.
29287 * math/w_remainder.c (__remainder): Likewise.
29288 * math/w_remainderf.c (__remainderf): Likewise.
29289 * math/libm-test.inc (remainder_test): Add test cases.
29290
48693bea
AK
292912011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29292
29293 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
29294 sdiv_qrnnd.
29295
42622229
LD
292962011-10-07 Ulrich Drepper <drepper@gmail.com>
29297
29298 * string/test-memcmp.c: Avoid unncessary #defines.
29299 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29300
093ecf92
LD
293012011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29302
29303 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
29304 Use new sse2 version for core i3 - i7 as it's faster
29305 than sse42 version.
29306 (bit_Prefer_PMINUB_for_stringop): New.
29307 * sysdeps/x86_64/rawmemchr.S: Update.
29308 Replace with faster SSE2 version.
29309 * sysdeps/x86_64/memrchr.S: New file.
29310 * sysdeps/x86_64/memchr.S: Update.
29311 Replace with faster SSE2 version.
29312
fde56e5c
MP
293132011-09-12 Marek Polacek <mpolacek@redhat.com>
29314
29315 * elf/dl-load.c (lose): Add cast to avoid warning.
29316
21fd49a9
UD
293172011-10-07 Ulrich Drepper <drepper@gmail.com>
29318
5a06e643
UD
29319 * po/ca.po: Update from translation team.
29320
684ae515
UD
29321 * inet/getnetgrent_r.c: Hook up nscd.
29322 * nscd/Makefile (routines): Add nscd_netgroup.
29323 (nscd-modules): Add netgroupcache.
29324 (CFLAGS-netgroupcache.c): Define.
29325 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
29326 (cache_search): Add const to second parameter.
29327 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
29328 INNETGR.
29329 (dbs): Add netgrdb entry.
29330 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
29331 (verify_persistent_db): Handle netgrdb.
29332 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
29333 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
29334 GETFDNETGR.
29335 (netgroup_response_header): Define.
29336 (innetgroup_response_header): Define.
29337 (datahead): Add netgroup_response_header and innetgroup_response_header
29338 elements.
29339 * nscd/nscd.conf: Add entries for netgroup cache.
29340 * nscd/nscd.h (dbtype): Add netgrdb.
29341 (_PATH_NSCD_NETGROUP_DB): Define.
29342 (netgroup_iov_disabled): Declare.
29343 (xmalloc, xcalloc, xrealloc): Move declarations here.
29344 (cache_search): Adjust prototype.
29345 Add netgroup-related prototypes.
29346 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
29347 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
29348 (__nscd_innetgr): Declare.
29349 * nscd/selinux.c (perms): Use access_vector_t as element type and
29350 add netgroup-related initializers.
29351 * nscd/netgroupcache.c: New file.
29352 * nscd/nscd_netgroup.c: New file.
29353 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
29354 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
29355 For four parameters use innetgr.
29356 * nss/nss_files/files-init.c: Add definition and callback for netgr.
29357 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
29358 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
29359 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
29360
21fd49a9
UD
29361 * nscd/connections.c (register_traced_file): Don't register file
29362 for disabled databases.
29363
054c0457
UD
293642011-10-06 Ulrich Drepper <drepper@gmail.com>
29365
32b63198
UD
29366 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
29367
054c0457
UD
29368 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
29369 from tree and freeing node.
29370
64031225
JO
293712011-09-25 Jiri Olsa <jolsa@redhat.com>
29372
29373 * nss/nsswitch.c (__nss_database_lookup): Handle
29374 nss_parse_service_list out of memory case.
29375
0490345c
JO
293762011-09-15 Jiri Olsa <jolsa@redhat.com>
29377
29378 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
29379 out of memory case.
29380
3a62d00d
AS
293812011-10-04 Andreas Schwab <schwab@redhat.com>
29382
29383 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
29384 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
29385 pass it down.
29386 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
29387 elf_machine_rela, elf_machine_lazy_rel.
29388 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
29389 (ELF_DYNAMIC_DO_REL): Likewise.
29390 (ELF_DYNAMIC_DO_RELA): Likewise.
29391 (ELF_DYNAMIC_RELOCATE): Likewise.
29392 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
29393 to ELF_DYNAMIC_DO_REL.
29394 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
29395 (dl_main): In trace mode always set __RTLD_NOIFUNC.
29396 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
29397 elf_machine_rela.
29398 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
29399 skip_ifunc, don't call ifunc function if non-zero.
29400 (elf_machine_rela): Likewise.
29401 (elf_machine_lazy_rel): Likewise.
29402 (elf_machine_lazy_rela): Likewise.
29403 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
29404 (elf_machine_lazy_rel): Likewise.
29405 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
29406 Likewise.
29407 (elf_machine_lazy_rel): Likewise.
29408 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29409 Likewise.
29410 (elf_machine_lazy_rel): Likewise.
29411 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
29412 (elf_machine_lazy_rel): Likewise.
29413 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
29414 (elf_machine_lazy_rel): Likewise.
29415 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29416 (elf_machine_lazy_rel): Likewise.
29417 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
29418 (elf_machine_lazy_rel): Likewise.
29419 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
29420 (elf_machine_lazy_rel): Likewise.
29421 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29422 (elf_machine_lazy_rel): Likewise.
29423
68577918
UD
294242011-09-28 Ulrich Drepper <drepper@gmail.com>
29425
29426 * nss/nss_files/files-init.c (_nss_files_init): Use static
29427 initialization for all the *_traced_file variables.
29428
68822d74
AS
294292011-09-28 Andreas Schwab <schwab@redhat.com>
29430
29431 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29432
2056100b
RM
294332011-09-27 Roland McGrath <roland@hack.frob.com>
29434
29435 [BZ #13226]
29436 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
29437
32c76b63
AS
294382011-09-27 Andreas Schwab <schwab@redhat.com>
29439
29440 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29441 Reread the line before reparsing it.
29442
bf972c9d
AS
294432011-09-26 Andreas Schwab <schwab@redhat.com>
29444
29445 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
29446
e057a1b5
JM
294472011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
29448 Maxim Kuvyrkov <maxim@codesourcery.com>
29449 Joseph Myers <joseph@codesourcery.com>
29450
29451 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
29452 if needed for __stack_chk_guard.
29453
bc7e1c36
RM
294542011-09-19 Roland McGrath <roland@hack.frob.com>
29455
ecb1482f
RM
29456 * sysdeps/posix/spawni.c (script_execute): Always define it.
29457 It will be optimized away if unused.
29458 (maybe_script_execute): New function.
29459 (__spawni): Call it.
29460
bc7e1c36
RM
29461 * Makerules: Don't include tls.make.
29462 (config-tls): Always set to thread.
29463 * tls.make.c: File removed.
29464
1c3b002b
MF
294652011-09-19 Mike Frysinger <vapier@gentoo.org>
29466
29467 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
29468 * config.make.in (CPPFLAGS-config): New substituted variable.
29469
2840865d
UD
294702011-09-15 Ulrich Drepper <drepper@gmail.com>
29471
88738eb6
UD
29472 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
29473
cbf645a6 29474 [BZ #13192]
2840865d
UD
29475 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
29476 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
29477
b402e91a
RM
294782011-09-15 Roland McGrath <roland@hack.frob.com>
29479
29480 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
29481 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
29482 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29483 (CALL_FAIL): Likewise.
29484 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
29485 (CALL_FAIL): Macro removed.
29486 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
29487
4c1a1f71
UD
294882011-09-15 Ulrich Drepper <drepper@gmail.com>
29489
29490 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
29491 for __FINITE_MATH_ONLY__ == 1.
29492
edc121be
AS
294932011-09-15 Andreas Schwab <schwab@redhat.com>
29494
29495 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
29496 __ieee754_sqrt instead of sqrt.
29497 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
29498 __ieee754_sqrtf instead of sqrtf.
29499 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
29500 __floorf instead of floorf.
29501 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
29502 __floorf, __truncf instead of floorf, truncf.
29503
cd205654
UD
295042011-09-14 Ulrich Drepper <drepper@gmail.com>
29505
ee4d0315
UD
29506 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
29507
cd205654
UD
29508 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
29509 __extern_always_inline.
29510 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
29511 32-bit.
29512
48b67d71
AS
295132011-09-14 Andreas Schwab <schwab@redhat.com>
29514
29515 * elf/rtld.c (dl_main): Also relocate in dependency order when
29516 doing symbol dependency testing.
29517
1ae12c75
AS
295182011-09-13 Andreas Schwab <schwab@linux-m68k.org>
29519
29520 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29521 Always define `refsym'.
29522
995a80df
AS
295232011-09-13 Andreas Schwab <schwab@redhat.com>
29524
e529793b
AS
29525 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
29526 (__FD_ELT): Renamed from __FDELT.
29527 * misc/bits/select2.h (__FD_ELT): Likewise.
29528 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
29529 __FD_MASK instead of __FDELT, __FDMASK.
29530 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29531 Likewise.
29532 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29533 Likewise.
29534
52d4fef8
AS
29535 * elf/Makefile (gen-ldd): Fix pattern.
29536
995a80df
AS
29537 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
29538 (init_tls): Likewise.
29539
8682f8b0
UD
295402011-09-12 Ulrich Drepper <drepper@gmail.com>
29541
29542 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
29543
de82006d
AS
295442011-09-12 Andreas Schwab <schwab@redhat.com>
29545
a7c8e6a1
AS
29546 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
29547 `struct cmsghdr *' instead of `void *'.
29548 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
29549 Likewise.
29550
0f31fe77
AS
295512011-09-11 Andreas Schwab <schwab@linux-m68k.org>
29552
29553 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
29554 if non-absolute.
29555 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
29556 ldd_rewrite_script.
0f31fe77 29557
32b4c839
UD
295582011-09-11 Ulrich Drepper <drepper@gmail.com>
29559
83cd1420
UD
29560 * configure.in: Remove --with-tls option.
29561 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
29562 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
29563 out in case it is missing.
29564 * sysdeps/ia64/elf/configure.in: Likewise.
29565 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
29566 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
29567 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
29568 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
29569 * sysdeps/sh/elf/configure.in: Likewise.
29570 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
29571 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29572 * sysdeps/x86_64/elf/configure.in: Likewise.
29573 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
29574 * sysdeps/mach/hurd/tls.h: Likewise.
29575
633f745d
UD
29576 [BZ #13067]
29577 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
29578
f318beb8
UD
29579 [BZ #13090]
29580 * configure.in: Fix use of AC_INIT.
29581
32b4c839
UD
29582 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
29583
3ce1f295
UD
295842011-09-10 Ulrich Drepper <drepper@gmail.com>
29585
bb016596
UD
29586 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
29587 __set_errno.
8e58439c
UD
29588 * malloc/hooks.c: Likewise.
29589
aebae053 29590 [BZ #11929]
02d46fc4
UD
29591 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
29592 variables statically.
29593 (narenas): Initialize.
29594 (list_lock): Initialize.
bb016596
UD
29595 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
29596 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
29597 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
29598 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
29599 Add initializers to main_arena and mp_.
29600 (malloc_state): Remove pagesize member. Change all users to use
29601 GLRO(dl_pagesize).
29602
29603 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
29604 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
29605 is always initialized.
29606
22a89187
UD
29607 * malloc/malloc.c: Removed unused configurations and dead code.
29608 * malloc/arena.c: Likewise.
29609 * malloc/hooks.c: Likewise.
02d46fc4 29610 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 29611
d063d164
UD
29612 * include/tls.h: Removed. USE___THREAD must always be defined.
29613 * bits/libc-tsd.h: Don't handle !USE___THREAD.
29614 * elf/dl-libc.c: Likewise.
29615 * elf/dl-tsd.c: Likewise.
29616 * include/errno.h: Likewise.
29617 * include/netdb.h: Likewise.
29618 * include/resolv.h: Likewise.
29619 * inet/herrno-loc.c: Likewise.
29620 * inet/herrno.c: Likewise.
29621 * malloc/arena.c: Likewise.
29622 * malloc/hooks.c: Likewise.
29623 * malloc/malloc.c: Likewise.
29624 * resolv/res-state.c: Likewise.
29625 * resolv/res_libc.c: Likewise.
29626 * sysdeps/i386/dl-machine.h: Likewise.
29627 * sysdeps/ia64/dl-machine.h: Likewise.
29628 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29629 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29630 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29631 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29632 * sysdeps/sh/dl-machine.h: Likewise.
29633 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29634 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29635 * sysdeps/unix/i386/sysdep.S: Likewise.
29636 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29637 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
29638 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
29639 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29640 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
29641 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29642 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29643 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29644 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29645 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29646 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29647 * sysdeps/x86_64/dl-machine.h: Likewise.
29648 * tls.make.c: Likewise.
29649
3ce1f295
UD
29650 * configure.in: Remove --with-__thread option. Make tests for
29651 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
29652 tls_model attribute fail if no support is available. Remove
29653 USE_IN_LIBIO.
29654 * Makeconfig: Adjust for dropped configure option. All features are
29655 now mandatory.
29656 * Makerules: Likewise.
29657 * Versions.def: Likewise.
29658 * argp/argp-fmtstream.c: Likewise.
29659 * argp/argp-fmtstream.h: Likewise.
29660 * argp/argp-help.c: Likewise.
29661 * assert/assert.c: Likewise.
29662 * config.h.in: Likewise.
29663 * config.make.in: Likewise.
29664 * configure: Likewise.
29665 * configure.in: Likewise.
29666 * csu/Versions: Likewise.
29667 * csu/init.c: Likewise.
29668 * elf/tst-audit2.c: Likewise.
29669 * elf/tst-tls10.c: Likewise.
29670 * elf/tst-tls10.h: Likewise.
29671 * elf/tst-tls11.c: Likewise.
29672 * elf/tst-tls12.c: Likewise.
29673 * elf/tst-tls14.c: Likewise.
29674 * elf/tst-tlsmod11.c: Likewise.
29675 * elf/tst-tlsmod12.c: Likewise.
29676 * elf/tst-tlsmod13.c: Likewise.
29677 * elf/tst-tlsmod13a.c: Likewise.
29678 * elf/tst-tlsmod14a.c: Likewise.
29679 * elf/tst-tlsmod15b.c: Likewise.
29680 * elf/tst-tlsmod16a.c: Likewise.
29681 * elf/tst-tlsmod16b.c: Likewise.
29682 * elf/tst-tlsmod7.c: Likewise.
29683 * elf/tst-tlsmod8.c: Likewise.
29684 * elf/tst-tlsmod9.c: Likewise.
29685 * gmon/gmon.c: Likewise.
29686 * grp/fgetgrent_r.c: Likewise.
29687 * grp/putgrent.c: Likewise.
29688 * hurd/fopenport.c: Likewise.
29689 * include/libc-symbols.h: Likewise.
29690 * include/tls.h: Likewise.
29691 * intl/gettextP.h: Likewise.
29692 * intl/loadinfo.h: Likewise.
29693 * locale/global-locale.c: Likewise.
29694 * locale/localeinfo.h: Likewise.
29695 * mach/devstream.c: Likewise.
29696 * malloc/arena.c: Likewise.
29697 * malloc/set-freeres.c: Likewise.
29698 * misc/err.c: Likewise.
29699 * misc/getttyent.c: Likewise.
29700 * misc/mntent_r.c: Likewise.
29701 * posix/getopt.c: Likewise.
29702 * posix/wordexp.c: Likewise.
29703 * pwd/fgetpwent_r.c: Likewise.
29704 * resolv/Versions: Likewise.
29705 * resolv/res_hconf.c: Likewise.
29706 * shadow/fgetspent_r.c: Likewise.
29707 * shadow/putspent.c: Likewise.
29708 * stdio-common/printf_fphex.c: Likewise.
29709 * stdio-common/tmpfile.c: Likewise.
29710 * stdlib/abort.c: Likewise.
29711 * stdlib/fmtmsg.c: Likewise.
29712 * sunrpc/auth_unix.c: Likewise.
29713 * sunrpc/clnt_perr.c: Likewise.
29714 * sunrpc/clnt_tcp.c: Likewise.
29715 * sunrpc/clnt_udp.c: Likewise.
29716 * sunrpc/clnt_unix.c: Likewise.
29717 * sunrpc/openchild.c: Likewise.
29718 * sunrpc/svc_simple.c: Likewise.
29719 * sunrpc/svc_tcp.c: Likewise.
29720 * sunrpc/svc_udp.c: Likewise.
29721 * sunrpc/svc_unix.c: Likewise.
29722 * sunrpc/xdr.c: Likewise.
29723 * sunrpc/xdr_array.c: Likewise.
29724 * sunrpc/xdr_rec.c: Likewise.
29725 * sunrpc/xdr_ref.c: Likewise.
29726 * sunrpc/xdr_stdio.c: Likewise.
29727
1248c1c4
PB
297282011-09-09 Ulrich Drepper <drepper@gmail.com>
29729
29730 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29731
297322011-07-03 Andreas Jaeger <aj@suse.de>
29733
29734 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
29735 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
29736 regenerate with gen-libm-tests.pl.
29737
297382010-05-12 Petr Baudis <pasky@suse.cz>
29739
29740 [BZ #11589]
29741 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
29742 around j0() zero points by switching to j1().
29743 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29744 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29745 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29746 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29747
f22e1074
UD
297482011-09-09 Ulrich Drepper <drepper@gmail.com>
29749
f19009c1
UD
29750 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
29751 instead of 0.
29752 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 29753 instead of 0.
f19009c1
UD
29754 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29755 Patch in part by Pavel Roskin <proski@gnu.org>.
29756
3f8cc204
UD
29757 [BZ #13138]
29758 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
29759 realloc.
29760 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
29761 Free memory block if necessary.
29762
f22e1074
UD
29763 [BZ #12847]
29764 * libio/genops.c (INTDEF): For string streams the _lock pointer can
29765 be NULL. Don't lock in this case.
29766
0a2349f9
RM
297672011-09-09 Roland McGrath <roland@hack.frob.com>
29768
29769 * elf/elf.h (ELFOSABI_GNU): New macro.
29770 (ELFOSABI_LINUX): Define to that.
29771
f3cdd467
DZ
297722011-07-29 Denis Zaitceff <zaitceff@gmail.com>
29773
29774 * string/strncat.c (strncat): Undef the symbol in case it has been
29775 defined in bits/string.h.
29776
74718d13
UD
297772011-09-09 Ulrich Drepper <drepper@gmail.com>
29778
633e9e0f
UD
29779 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
29780
0a2349f9 29781 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
29782 link map.
29783
f9924780
AJ
297842011-08-17 Andreas Jaeger <aj@suse.de>
29785
29786 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
29787
7f5517aa
PP
297882011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
29789 Ian Lance Taylor <iant@google.com>
29790
29791 * math/libm-test.inc (lround_test): New testcase.
29792 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
29793
762011fe
UD
297942011-09-08 Ulrich Drepper <drepper@gmail.com>
29795
92963737
UD
29796 * Makefile: Remove support for automatic cvs check-ins.
29797 * Makerules: Likewise.
29798 * config.make.in: Likewise.
29799 * configure.in: Likewise.
29800 * intl/Makefile: Likewise.
29801 * locale/Makefile: Likewise.
29802 * po/Makefile: Likewise.
29803 * posix/Makefile: Likewise.
29804 * sysdeps/gnu/Makefile: Likewise.
29805 * sysdeps/mach/hurd/Makefile: Likewise.
29806 * sysdeps/sparc/sparc32/Makefile: Likewise.
29807
b0727fd8
JS
29808 [BZ #13118]
29809 * posix/Makefile (bug-regex32-ENV): Define.
29810 Patch by John Stanley <jpsinthemix@verizon.net>.
29811
a0f33f99
UD
29812 * misc/Makefile (headers): Add bits/select2.h.
29813 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
29814 * misc/bits/select2.h: New file.
29815 * include/bits/select2.h: New file.
29816 * debug/Makefile (routines): Add fdelt_chk.
29817 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
29818 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
29819 FD_ISSET.
29820 * debug/fdelt_chk.c: New file.
29821
762011fe
UD
29822 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
29823 * wcsmbs/test-wmemcmp.c: Likewise.
29824 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 29825 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
29826
298272011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29828
29829 * string/Makefile (strop-tests): Add memcmp.
29830 * string/test-wmemcmp.c: New file.
29831 * string/test-memcmp.c: Add wmemcmp support.
29832
7f513ec8
RM
298332011-09-08 Roland McGrath <roland@hack.frob.com>
29834
0442afb4
RM
29835 [BZ #13153]
29836 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
29837 2011-07-19 change.
29838
7f513ec8
RM
29839 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
29840 garbage value in a __mach_port_mod_refs call in the cases of the
29841 task-self and thread-self ports.
29842
a12b2239
ST
298432011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
29844
29845 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
29846
610f9ab4
AS
298472011-09-08 Andreas Schwab <schwab@redhat.com>
29848
7f513ec8 29849 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 29850
48882a1a
LD
298512011-09-07 Ulrich Drepper <drepper@gmail.com>
29852
b49865be
UD
29853 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
29854
fdc86bc9
UD
29855 * elf/dl-libc.c (dlerror_run): Pass back error code from
29856 dl_catch_error.
29857
c966526a
UD
29858 [BZ #13123]
29859 * elf/dl-load.c (lose): Free l_origin if it is valid.
29860
48882a1a
LD
29861 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
29862 names.
29863 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29864 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29865 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29866 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29867 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29868 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
29869
77a2a8b4
AZ
298702011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29871
29872 * sysdeps/powerpc/fpu/e_hypot.c: New file.
29873 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
29874 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
29875 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
29876 * sysdeps/powerpc/fpu/k_cosf.c: New file.
29877 * sysdeps/powerpc/fpu/k_sinf.c: New file.
29878 * sysdeps/powerpc/fpu/s_cosf.c: New file.
29879 * sysdeps/powerpc/fpu/s_sinf.c: New file.
29880 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
29881 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
29882
24f579d8
AM
298832011-08-15 Alan Modra <amodra@gmail.com>
29884
29885 [BZ #13092]
29886 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
29887 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
29888 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
29889 ppc_mcount to static-only-routines.
29890 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
29891 __mcount_internal.
29892 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
29893 __mcount_internal with usual JUMPTARGET. Remove useless nop.
29894
3d4837df
UD
298952011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
29896
29897 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
29898 for finite and infinity parameters.
29899
22700377
WS
299002011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29901
29902 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
29903 and add nop instructions for throughput optimization.
29904 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29905
5025581e
WS
299062011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
29907
29908 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
29909 aligned copy for power7 with vector-scalar instructions.
29910 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29911
08a300c9
L
299122011-07-24 H.J. Lu <hongjiu.lu@intel.com>
29913
29914 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
29915 AVX check.
29916
59178ef9
AS
299172011-09-07 Andreas Schwab <schwab@redhat.com>
29918
29919 [BZ #13144]
29920 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
29921 last change.
29922
e38ba7ab
UD
299232011-09-07 Ulrich Drepper <drepper@gmail.com>
29924
29925 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29926 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
29927 syscall wrapper around clock_gettime in __vdso_clock_gettime.
29928 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
29929 clock_gettime.
29930
d53a73ac
UD
299312011-09-06 Ulrich Drepper <drepper@gmail.com>
29932
fc8bffcc
UD
29933 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
29934 Forgot to demangle the pointer.
29935
ceaa0c5d
UD
29936 * sysdeps/i386/sysdep.h: Define atom_text_section.
29937 * sysdeps/x86_64/sysdep.h: Likewise.
29938 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
29939 section with atom_text_section.
29940 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29941 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29942 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29943 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29944 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
29945
a77d3c17
UD
29946 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
29947 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
29948 already be defined. Change to take two parameters and don't assign
29949 result to variable. Adjust all users.
29950 Define INTERNAL_GETTIME if not already defined.
29951 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
29952 call.
29953 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
29954 HAVE_CLOCK_GETTIME_VSYSCALL.
29955 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
29956
d53a73ac
UD
29957 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
29958 gettimeofday vsyscall, just use time.
29959
a8f84144
AS
299602011-09-06 Andreas Schwab <schwab@redhat.com>
29961
29962 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
29963 <errno.h>.
29964
ef606249
UD
299652011-09-06 Ulrich Drepper <drepper@gmail.com>
29966
29967 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
29968 syscall on x86-64.
29969 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
29970 syscall.
29971 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29972 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
29973 syscall if possible.
29974
6585cb60
UD
299752011-09-05 Ulrich Drepper <drepper@gmail.com>
29976
29977 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
29978 e_ident. Don't pass to find_mapsXX.
29979 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
29980
a5f524e4
LD
299812011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29982
29983 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29984 strchr-sse2-no-bsf strrchr-sse2-no-bsf
29985 * sysdeps/x86_64/multiarch/strchr.S: Update.
29986 Check bit_slow_BSF bit.
29987 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29988 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
29989 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
29990
554881ef
UD
299912011-09-05 Ulrich Drepper <drepper@gmail.com>
29992
d96de963
UD
29993 [BZ #13134]
29994 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29995 before glibc 2.15.
29996 (tryshell): Define.
29997 (__spawni): Change last parameter to be flag. Test
29998 SPAWN_XFLAGS_USE_PATH flag to use path or not.
29999 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
30000 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
30001 * posix/spawni.c: Likewise.
30002 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
30003 * posix/spawnp.c: Likewise. Change normal version to use
30004 SPAWN_XFLAGS_USE_PATH.
30005 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
30006 SPAWN_XFLAGS_TRY_SHELL.
30007
d48e5868
UD
30008 [BZ #13150]
30009 * posix/glob.h: Remove gcc 1.x support.
30010
554881ef
UD
30011 [BZ #13068]
30012 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
30013
693fb948
LD
300142011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30015
30016 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30017 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
30018 strrchr-sse2-bsf
30019 * sysdeps/i386/i686/multiarch/strchr.S: New file.
30020 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
30021 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
30022 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
30023 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
30024 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
30025
1b48c537
UD
300262011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30027
49d42c37
UD
30028 * sysdeps/x86_64/wcscmp.S: New file.
30029
1b48c537
UD
30030 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
30031 wcscmp-c wcscmp-sse2
30032 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
30033 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
30034 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
30035 * wcsmbs/wcscmp.c: Allow renaming.
30036
15c95c5d
DM
300372011-09-05 David S. Miller <davem@davemloft.net>
30038
30039 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
30040 stack slot, rather than the struct return pointer slot.
30041 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
30042 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
30043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
30044 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
30045
2f0ad8f3
UD
300462011-09-05 Ulrich Drepper <drepper@gmail.com>
30047
d88ae418
UD
30048 * po/ja.po: Update from translation team.
30049
2f0ad8f3
UD
30050 [BZ #13144]
30051 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
30052 kernel in 64-bit binaries.
30053
5f4318d1
DM
300542011-09-01 David S. Miller <davem@davemloft.net>
30055
30056 * elf/elf.h (HWCAP_SPARC_*): Move to..
30057 * sysdeps/sparc/sysdep.h: this new file and add new values.
30058 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
30059 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
30060 _DL_HWCAP_COUNT to 24.
30061 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30062 entries.
30063 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
30064 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
30065 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
30066 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
30067 instead of magic constants.
30068 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30069
3ba57516
DM
300702011-08-31 David S. Miller <davem@davemloft.net>
30071
30072 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
30073 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
30074 Reimplement to do errno handling inline.
30075 (SYSCALL_ERROR_HANDLER): New macro.
30076 (__SYSCALL_STRING): Do not do errno handling in asm.
30077 (__CLONE_SYSCALL_STRING): Delete.
30078 (__INTERNAL_SYSCALL_STRING): Delete.
30079 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
30080 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
30081 (PSEUDO): Reimplement to do errno handling inline.
30082 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
30083 (SYSCALL_ERROR_HANDLER): New macro.
30084 (__SYSCALL_STRING): Do not do errno handling in asm.
30085 (__CLONE_SYSCALL_STRING): Delete.
30086 (__INTERNAL_SYSCALL_STRING): Delete.
30087 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
30088 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
30089 i386.
30090 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
30091 (inline_syscall*): Add 'err' argument.
30092 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
30093 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
30094 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
30095 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
30096
30097 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
30098 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30099
2bc17433
AS
301002011-08-30 Andreas Schwab <schwab@redhat.com>
30101
30102 * elf/rtld.c (dl_main): Relocate objects in dependency order.
30103
fbeb5f4d
JO
301042011-08-29 Jiri Olsa <jolsa@redhat.com>
30105
30106 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
30107 directive.
30108
ad69cc26
DM
301092011-08-24 David S. Miller <davem@davemloft.net>
30110
30111 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
30112
39dd69df
AS
301132011-08-24 Andreas Schwab <schwab@redhat.com>
30114
30115 * elf/Makefile: Add rules to build and run unload8 test.
30116 * elf/unload8.c: New file.
30117 * elf/unload8mod1.c: New file.
30118 * elf/unload8mod1x.c: New file.
30119 * elf/unload8mod2.c: New file.
30120 * elf/unload8mod3.c: New file.
30121
30122 * elf/dl-close.c (_dl_close_worker): Reset private search list if
30123 it wasn't used.
30124
2c0b250a
DM
301252011-08-23 David S. Miller <davem@davemloft.net>
30126
30127 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
30128 subtract stack bias.
30129 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
30130 %sp not %fp in calculations.
30131 (_JMPBUF_UNWINDS_ADJ): Likewise.
30132
22044b48
DM
30133 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
30134 (aio_suspend): Call it to force an exception region around the
30135 AIO_MISC_WAIT() invocation.
30136
2cae4995
AS
301372011-08-23 Andreas Schwab <schwab@redhat.com>
30138
30139 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
30140 backslash.
30141
873a772e
AJ
301422011-07-04 Aurelien Jarno <aurelien@aurel32.net>
30143
30144 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
30145 protection macro.
30146 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
30147 and <dl-machine.h>.
30148 (Elf64_FuncDesc): Remove.
30149
25ad0df1
DM
301502011-08-22 David S. Miller <davem@davemloft.net>
30151
30152 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
30153 sigaltstack check, add missing cfi directives.
30154 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
30155 missing cfi directives, and sigaltstack handling.
30156
e888bcbe
AS
301572011-08-16 Andreas Schwab <schwab@redhat.com>
30158
30159 [BZ #11724]
30160 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
30161 object is seen twice.
30162 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30163
30164 * elf/Makefile (distribute): Add tst-initorder2.c.
30165 (tests): Add tst-initorder2.
30166 (modules-names): Add tst-initorder2a tst-initorder2b
30167 tst-initorder2c tst-initorder2d. Add rules to build them.
30168 ($(objpfx)tst-initorder2.out): New rule.
30169 * elf/tst-initorder2.c: New file.
30170 * elf/tst-initorder2.exp: New file.
30171
87162f46
AS
301722011-08-22 Andreas Schwab <schwab@redhat.com>
30173
70538b7f
AS
30174 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
30175
f55ffe58
AS
30176 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
30177 dependencies back to end of function.
30178
87162f46
AS
30179 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30180 $(elfobjdir)/ld.so.
30181
91b392a4
UD
301822011-08-21 Ulrich Drepper <drepper@gmail.com>
30183
30184 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
30185 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
30186 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
30187 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
30188 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
30189 of __vdso_gettimeofday.
30190 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
30191 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
30192 attribute_hidden.
30193 (_libc_vdso_platform_setup): Remove initialization of
30194 __vdso_gettimeofday and __vdso_time.
30195
5c43483f
UD
301962011-08-20 Ulrich Drepper <drepper@gmail.com>
30197
775a77e7
UD
30198 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
30199 and fgetc_unlocked.
30200 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
30201 getc_unlocked.
89f447ed 30202
49c74ba9
UD
30203 * elf/dl-open.c (add_to_global): Report additions to the global scope
30204 for LD_DEBUG=scopes.
30205 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 30206 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 30207
5c43483f
UD
30208 [BZ #13114]
30209 * stdio-common/Makefile (tests): Add bug24.
30210 * stdio-common/bug24.c: New file.
30211
a101b025
AJ
302122011-08-19 Andreas Jaeger <aj@suse.de>
30213
30214 [BZ #13114]
30215 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
30216 non-existant file when using close-on-exec mode.
30217
c88f1766
UD
302182011-08-20 Ulrich Drepper <drepper@gmail.com>
30219
0276a718
UD
30220 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
30221 the very first instruction.
30222
c88f1766
UD
30223 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
30224 the CFI state in the end.
30225 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
30226 inclusion of dl-trampoline.h.
30227 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
30228
51ccffa0
AS
302292011-08-19 Andreas Schwab <schwab@redhat.com>
30230
94d7165f
AS
30231 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
30232 expectations for long double.
30233
51ccffa0
AS
30234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
30235 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
30236
fd708658 302372011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
30238
30239 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
30240 artificual limit depends upon the system page size.
30241
44f0a71e
UD
302422011-08-17 Ulrich Drepper <drepper@gmail.com>
30243
30244 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
30245 * resolv/Makefile: Define CFLAGS-libresolv.
30246
8de79a24
AS
302472011-08-17 Andreas Schwab <schwab@redhat.com>
30248
30249 * nss/makedb.c (compute_tables): Make variables used in nested
30250 function static.
30251
27724598
UD
302522011-08-17 Ulrich Drepper <drepper@gmail.com>
30253
c5305d88
UD
30254 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
30255 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
30256 if buffer was too small.
30257
27724598
UD
30258 * elf/pldd.c (main): Attach to all threads in the process.
30259 Rewrite /proc handling to use *at functions.
30260
076fe015
UD
302612011-08-16 Ulrich Drepper <drepper@gmail.com>
30262
174baab3
UD
30263 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
30264 specifies first scope to show.
30265 (dl_open_worker): Update callers. Move printing scope of new
30266 object to before the relocation.
44f0a71e 30267 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
30268 * sysdeps/generic/ldsodefs.h: Update declaration.
30269
076fe015
UD
30270 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
30271 string for the scope number.
30272
a60df2c3
UD
302732011-08-14 Ulrich Drepper <drepper@gmail.com>
30274
30275 * nscd/servicescache.c (cache_addserv): Make sure written is always
30276 initialized.
30277
5e4287d1
RM
302782011-08-14 Roland McGrath <roland@hack.frob.com>
30279
85ae0589
RM
30280 * sysdeps/i386/i486/bits/atomic.h
30281 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
30282 statement expression, so as to suppress "set but not used" warning.
30283 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
30284
69f63097
RM
30285 * string/strncat.c (STRNCAT): Use prototype definition.
30286
675456ef
RM
30287 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
30288 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
30289 -Iprograms here.
30290 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
30291 (localedef-modules): Add localedef.
30292 (locale-modules): Add locale.
30293
5e4287d1
RM
30294 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
30295 * elf/rtld.c (dl_main): Invert order of assignment in last change,
30296 to avoid a warning.
30297
9c96ff23
DM
302982011-08-14 David S. Miller <davem@davemloft.net>
30299
30300 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
30301 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
30302
f9ddf089
UD
303032011-08-13 Ulrich Drepper <drepper@gmail.com>
30304
44f0a71e 30305 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
30306 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
30307 * elf/rtld.c (dl_main): Set l_name of vDSO.
30308 Call _dl_show_scope when DL_DEBUG_SCOPES.
30309 (process_dl_debug): Recognize scopes flag and also set it for all.
30310 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
30311 Declare _dl_show_scope.
30312
1dc27704
UD
30313 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
30314 (do_dlopen): Pass caller_dlopen to dl_open.
30315 (__libc_dlopen_mode): Initialize caller_dlopen.
30316
f9ddf089
UD
30317 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
30318 of libc. Make tolower call locale-independent. Optimize a bit by
30319 using isdigit instead of isalnum.
30320 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
30321
9ac533d3
UD
303222011-08-12 Ulrich Drepper <drepper@gmail.com>
30323
30324 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
30325 was a dependency or dynamically loaded.
30326
89edf2e9
UD
303272011-08-11 Ulrich Drepper <drepper@gmail.com>
30328
8e999d29
UD
30329 * intl/l10nflist.c: Allow architecture-specific pop function.
30330 * sysdeps/x86_64/l10nflist.c: New file.
30331
89edf2e9
UD
30332 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
30333 classification.
30334
14d96785
AS
303352011-08-10 Andreas Schwab <schwab@redhat.com>
30336
30337 * include/dirent.h: Add libc_hidden_proto for scandirat and
30338 scandirat64. Don't declare __scandirat64.
30339 * dirent/scandirat.c: Add libc_hidden_def.
30340 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
30341 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
30342
6761ac04
DM
303432011-08-10 David S. Miller <davem@davemloft.net>
30344
30345 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
30346 enum.
30347 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30348 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30349 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30350
c55fbd1e
UD
303512011-08-09 Ulrich Drepper <drepper@gmail.com>
30352
30353 * Versions.def [libc]: Add GLIBC_2.15.
30354 * dirent/Makefile (routines): Add scandirat and scandirat64.
30355 * dirent/Versions [libc]: Export scandirat and scandirat64 for
30356 GLIBC_2.15.
30357 * dirent/dirent.h: Declare scandirat and scandirat64.
30358 * dirent/scandirat.c: New file.
30359 * dirent/scandirat64.c: New file.
30360 * sysdeps/wordsize-64/scandirat.c: New file.
30361 * sysdeps/wordsize-64/scandirat64.c: New file.
30362 * dirent/opendir.c: Define opendirat.
30363 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
30364 using scandirat.
30365 * dirent/scandir64.c: Adjust for scandir.c change.
30366 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
30367 __scandirat64, and __scandir_cancel_handler.
30368 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
30369 additional parameter and use openat instead of open (outside of ld.so).
30370 Add new __opendir as wrapper around __opendirat.
30371 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
30372 here without requiring old scandirat implementation.
30373
879165f2
UD
303742011-08-08 Ulrich Drepper <drepper@gmail.com>
30375
30376 * dirent/scandir.c (cancel_handler): Renamed to
30377 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
30378 defined. Adjust users.
30379 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
30380 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
30381
cb7e923b
UD
303822011-08-04 Ulrich Drepper <drepper@gmail.com>
30383
16292edd
UD
30384 * string/test-string.h (IMPL): Use __STRING to expand name and then
30385 stringify it.
30386
cb7e923b
UD
30387 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
30388 of cleanups.
30389
cff82933
LD
303902011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30391
30392 * string/Makefile: Update.
30393 (strop-tests): Append strncat.
30394 * string/test-wcscmp.c: New file.
30395 New comprehensive test for wcscmp.
30396 * string/test-strcmp.c: Update.
30397 (WIDE): New define.
30398
9be9bfcc
AS
303992011-07-22 Andreas Schwab <schwab@redhat.com>
30400
30401 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
30402 line.
30403
2e96f1c7
AS
304042011-07-26 Andreas Schwab <schwab@redhat.com>
30405
30406 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30407 encoding to ACE if AI_IDN.
30408
85188888
JJ
304092011-08-01 Jakub Jelinek <jakub@redhat.com>
30410
30411 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
30412 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
30413
5fa16e9b
LD
304142011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30415
30416 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
30417 Fix overflow bug in strncat.
30418 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30419
30420 * string/test-strncat.c: Update.
30421 Add new tests for checking overflow bugs.
30422
304232011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30424
30425 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30426 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
30427 * sysdeps/i386/i686/multiarch/strcat.S: New file.
30428 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
30429 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
30430 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
30431 * sysdeps/i386/i686/multiarch/strncat.S: New file.
30432 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
30433 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
30434
30435 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
30436 (USE_AS_STRCAT): Define.
30437 Add strcat and strncat support.
30438 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30439
8c1a459f
AS
304402011-07-25 Andreas Schwab <schwab@redhat.com>
30441
30442 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
30443 __n bigger than INT_MAX+1.
30444 (__strncmp_g): Likewise.
30445
bba33c28
UD
304462011-07-23 Ulrich Drepper <drepper@gmail.com>
30447
798be72d
UD
30448 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
30449 * libio/stido.h: Likewise.
30450
8accd4dc
UD
30451 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
30452 (AF_NFC): Define.
30453 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
30454 (AF_NFC): Define.
30455
cbff0d96
UD
30456 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
30457 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30458 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30459 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30460 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30461
9191c04a
UD
30462 [BZ #13021]
30463 * scripts/test-installation.pl: Don't expect libnss_test1 to be
30464 installed.
30465
bba33c28
UD
30466 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
30467 typo.
30468 (_dl_x86_64_save_sse): Likewise.
30469
90f139dd
UD
304702011-07-22 Ulrich Drepper <drepper@gmail.com>
30471
1aae088a
UD
30472 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
30473 OSXSAVE.
30474 (_dl_x86_64_save_sse): Likewise.
30475
8e2045f5
UD
30476 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
30477
90f139dd
UD
30478 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
30479
1d002f25
AS
304802011-07-21 Andreas Schwab <schwab@redhat.com>
30481
30482 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
30483 change.
30484 (_dl_x86_64_save_sse): Use correct AVX check.
30485
21137f89
UD
304862011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30487
30488 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
30489 bug in strncpy/strncat.
30490 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30491
a65c0b7a
UD
304922011-07-21 Ulrich Drepper <drepper@gmail.com>
30493
30494 * string/tester.c (test_strcat): Add tests for different alignments
30495 of source and destination.
30496 (test_strncat): Likewise.
30497
6986b98a
UD
304982011-07-20 Ulrich Drepper <drepper@gmail.com>
30499
90bb2039
UD
30500 [BZ #12852]
30501 * posix/glob.c (glob): Check passed in values before using them in
30502 expressions to avoid some overflows.
30503 (glob_in_dir): Likewise.
30504
5644ef54
UD
30505 [BZ #13007]
30506 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
30507 check for AVX enablement so that we don't crash with old kernels and
30508 new hardware.
30509 * elf/tst-audit4.c: Add same checks here.
30510 * elf/tst-audit6.c: Likewise.
30511
30512 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 30513
bfc9dc9b
AS
305142011-07-09 Andreas Schwab <schwab@linux-m68k.org>
30515
30516 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
30517
702e64bb
UD
305182011-07-20 Ulrich Drepper <drepper@gmail.com>
30519
30520 * po/cs.po: Update from translation team.
30521 * po/bg.po: Likewise.
30522
295e904f
MP
305232011-07-12 Marek Polacek <mpolacek@redhat.com>
30524
30525 * misc/sys/cdefs.h: Add support for const attribute.
30526 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
30527 to gnu_dev_{major,minor,makedev} functions.
30528
3ff94596
MP
305292011-07-20 Marek Polacek <mpolacek@redhat.com>
30530
30531 * intl/dcigettext.c (get_output_charset): Add missing bracket.
30532
28b59fca
AS
305332011-07-20 Andreas Schwab <schwab@redhat.com>
30534
30535 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
30536 strlen results.
30537
19df733e
AK
305382011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30539
30540 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30541 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
30542 register in order to avoid conflicts with the soft frame pointer
30543 being held in r11 when necessary.
30544 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30545 (INTERNAL_VSYSCALL_NCS): Likewise.
30546
c8835729
MP
305472011-07-14 Marek Polacek <mpolacek@redhat.com>
30548
30549 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
30550 * elf/dl-fini.c (_dl_fini): Adjust caller.
30551 * elf/dl-close.c (_dl_close_worker): Likewise.
30552 * sysdeps/generic/ldsodefs.h: Adjust declaration.
30553
b902330c
MP
305542011-07-15 Marek Polacek <mpolacek@redhat.com>
30555
8991e135
MP
30556 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
30557 "aux_cache->nlibs < 0".
30558
b902330c
MP
30559 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
30560 in the reload-count case.
30561
99710781
LD
305622011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30563
30564 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30565 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
30566 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
30567 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
30568 * sysdeps/x86_64/multiarch/strcat.S: New file.
30569 * sysdeps/x86_64/multiarch/strncat.S: New file.
30570 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
30571 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
30572 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
30573 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
30574 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
30575 (USE_AS_STRCAT): Define.
30576 Add strcat and strncat support.
30577 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30578 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30579 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
30580 * string/strncat.c: Update.
30581 (USE_AS_STRNCAT): Define.
30582 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30583 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
30584 and i7.
30585 * sysdeps/x86_64/multiarch/init-arch.h
30586 (bit_Prefer_PMINUB_for_stringop): New.
30587 (index_Prefer_PMINUB_for_stringop): Likewise.
30588 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
30589 bit_Prefer_PMINUB_for_stringop.
30590
7dc6bd90
UD
305912011-07-19 Ulrich Drepper <drepper@gmail.com>
30592
30593 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
30594 buffer64.
30595 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
30596 of casting of buffer.
30597 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
30598 buffer32 and buffer64.
30599 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
30600 writes instead of casting of buffer.
30601 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
30602 buffer32.
30603 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
30604 casting of buffer.
30605
e0e72284
AS
306062011-07-19 Andreas Schwab <schwab@redhat.com>
30607
30608 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
30609
feb1eb0b
UD
306102011-07-19 Ulrich Drepper <drepper@gmail.com>
30611
30612 * nscd/nscd.c (termination_handler): Don't do anything for a database
30613 if it has not yet been initialized.
30614
298711ff
UD
306152011-07-18 Ulrich Drepper <drepper@gmail.com>
30616
30617 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30618
306192011-07-15 Marek Polacek <mpolacek@redhat.com>
30620
30621 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30622
f9d68389
UD
306232011-07-18 Ulrich Drepper <drepper@gmail.com>
30624
30625 * po/nl.po: Update from translation team.
30626 * po/sv.po: Likewise.
30627
db290cf5
RM
306282011-07-16 Roland McGrath <roland@hack.frob.com>
30629
30630 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
30631 now disallowed by GCC.
5c550700 30632
fd5e21c7
RM
30633 * configure.in (use-default-link): Default to yes if a test -shared
30634 link meets our qualifications.
30635 * configure: Regenerated.
30636
5c550700
RM
30637 * config.make.in (output-format): New variable.
30638 * configure.in: Check for ld --print-output-format support.
30639 * configure: Regenerated.
30640 * Makerules ($(common-objpfx)format.lds)
30641 [$(output-format) != unknown]: Just use $(output-format),
30642 instead of the linker-script munging.
30643
9fa2c032
RM
306442011-07-14 Roland McGrath <roland@hack.frob.com>
30645
a6928d51
RM
30646 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
30647 of $(common-objpfx)shlib.lds.
30648 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
30649
661607b3
RM
30650 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
30651 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
30652
9fa2c032
RM
30653 * configure.in (-z relro check): Adjust test code to add a large
30654 writable data section after it.
30655 * configure: Regenerated.
30656
defe9061
RM
306572011-07-11 Roland McGrath <roland@hack.frob.com>
30658
30659 * configure.in (-z relro check): Fix test code to make the variable
30660 truly const.
30661 * configure: Regenerated.
30662
319b9ad4
UD
306632011-07-11 Ulrich Drepper <drepper@gmail.com>
30664
30665 * nscd/nscd.h (struct traced_file): Define.
30666 (struct database_dyn): Remove inotify_descr, reset_res, and filename
30667 elements. Add traced_files.
30668 (inotify_fd): Declare.
30669 (register_traced_file): Declare.
30670 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
30671 (inotify_fd): Export.
30672 (resolv_conf_descr): Remove.
30673 (nscd_init): Move inotify descriptor creation to main.
30674 Don't register files for notification here.
30675 (register_traced_file): New function.
30676 (invalidate_cache): Don't use reset_res to determine whether to call
30677 res_init, go through the list of registered files.
30678 (main_loop_poll): The inotify descriptors are now stored in the
30679 structures for the traced files.
30680 (main_loop_epoll): Likewise
30681 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
30682 to __nss_disable_nscd.
30683 * nscd/cache.c (prune_cache): There is no single inotify descriptor
30684 for a database anymore. Check the records for all the registered
30685 files instead.
30686 * nss/Makefile (libnss_files-routines): Add files-init.
30687 (libnss_db-routines): Add db-init.
30688 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
30689 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
30690 * nss/nss_db/db-init.c: New file.
30691 * nss/nss_files/files-init.c: New file.
30692 * nss/nsswitch.c (nss_load_library): New function. Broken out of
30693 __nss_lookup_function.
30694 (__nss_lookup_function): Call nss_load_library.
30695 (nss_load_all_libraries): New function.
30696 (__nss_disable_nscd): Take parameter with callback function for files
30697 to register. Set is_nscd. Load all the DSOs for the NSS modules
30698 used for the cached services.
30699 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
30700 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
30701 options for features to all the files in nscd.
30702
30703 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
30704
23bee3e8
RM
307052011-07-10 Roland McGrath <roland@hack.frob.com>
30706
30707 * csu/elf-init.c (__libc_csu_init): Comment typo.
30708
46a5b7f0
UD
307092011-07-09 Ulrich Drepper <drepper@gmail.com>
30710
30711 * po/pl.po: Update from translation team.
30712 * po/ja.po: Likewise.
30713 * po/ru.po: Likewise.
30714 * po/ko.po: Likewise.
30715 * po/fr.po: Likewise.
30716
d30cf5bb
RM
307172011-07-09 Roland McGrath <roland@hack.frob.com>
30718
113ddea4
RM
30719 * configure.in (.ctors/.dtors header and trailer check):
30720 Use an empirical test on a built program.
30721 * configure: Regenerated.
30722
574920b4
RM
30723 * configure.in (-z relro check): Use an empirical test on a built DSO.
30724 Detect, but do not require, on ia64.
30725 * configure: Regenerated.
30726
d30cf5bb
RM
30727 * configure.in (READELF): Find it with AC_CHECK_TOOL.
30728 Update tests that use readelf to use $READELF instead.
30729 * configure: Regenerated.
30730
8538fdb3
UD
307312011-07-08 Ulrich Drepper <drepper@gmail.com>
30732
30733 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
30734 if the result is not used.
30735
04d08991
AJ
307362011-07-05 Andreas Jaeger <aj@suse.de>
30737
30738 [BZ#9696]
30739 * stdlib/tst-strtod.c: Add testcase.
30740
de283087
AD
307412011-07-07 Ulrich Drepper <drepper@gmail.com>
30742
4e5f31c8 30743 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 30744 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
30745 The latter has a higher limit. Take additional parameter to pass to
30746 the new function.
30747 (__pathconf): Pass file to __statfs_link_max.
30748 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
30749 __statfs_link_max.
30750 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
30751 __statfs_link_max.
30752
de283087
AD
30753 [BZ #12868]
30754 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
30755 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30756 Handle Lustre.
30757 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
30758 (__statfs_filesize_max): Likewise.
30759 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
30760
c75fa153
AJ
307612011-07-05 Andreas Jaeger <aj@suse.de>
30762
30763 * resolv/res_comp.c (dn_skipname): Remove unused variable.
30764
1a544854
UD
307652011-07-06 Marek Polacek <mpolacek@redhat.com>
30766
30767 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
30768 `status' variable.
30769 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
30770 Likewise.
30771
6f0eec67
UD
307722011-07-04 H.J. Lu <hongjiu.lu@intel.com>
30773
30774 * Makefile (strop-tests): Add strncat.
30775 * string/test-strncat.c: New file.
30776
aae30307
UD
307772011-06-30 Marek Polacek <mpolacek@redhat.com>
30778
30779 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
30780
c0cfb5eb
UD
307812011-06-21 Andreas Jaeger <aj@suse.de>
30782
30783 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
30784 Copy rule from iconvdata/Makefile.
30785
01636b21
UD
307862011-07-06 Ulrich Drepper <drepper@gmail.com>
30787
30788 [BZ #12922]
30789 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
30790 but no long options are defined, just return 'W'.
30791
9895c8bc
UD
307922011-06-22 Marek Polacek <mpolacek@redhat.com>
30793
30794 [BZ #9696]
30795 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
30796
5d4cf042
UD
307972011-07-06 Ulrich Drepper <drepper@gmail.com>
30798
30799 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
30800 netgroups to read.
960e5535 30801 (innetgr): Likewise.
5d4cf042 30802
751eb97e
RM
308032011-07-05 Roland McGrath <roland@hack.frob.com>
30804
30805 * config.make.in (install_root): Default to $(DESTDIR).
30806
f15f1e45
UD
308072011-07-05 Ulrich Drepper <drepper@gmail.com>
30808
30809 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
30810
4e34ac6a
RM
308112011-07-02 Roland McGrath <roland@hack.frob.com>
30812
5e9b6af4
RM
30813 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
30814
84f9ea0f
RM
30815 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
30816 containing directory rather than embedding absolute directory names.
30817
ea5ee9f7
RM
30818 * scripts/check-local-headers.sh: Rewritten using awk.
30819 Match by word, not by line. Print error messages for matches.
30820 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
30821
1b74661a
RM
30822 * Makerules [shlib-lds-flags empty]:
30823 ($(common-objpfx)libc_pic.opts): New target.
30824 ($(common-objpfx)libc_pic.os.clean): New target.
30825 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
30826
30827 * config.make.in (OBJCOPY): New variable.
30828 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
30829 * configure: Regenerated.
30830
f781ef40
RM
30831 * config.make.in (use-default-link): New variable.
30832 * configure.in (use_default_link): Grok --with-default-link to set it.
30833 * configure: Regenerated.
30834 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
30835 (shlib-lds, shlib-lds-flags): Define to empty.
30836
2d4fa81e
RM
30837 * Makerules (shlib-lds): New variable.
30838 (shlib-lds-flags): New variable.
30839 (build-shlib, build-moduile, build-module-asneeded): Use it.
30840 ($(common-objpfx)libc.so): Use $(shlib-lds).
30841 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
30842 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
30843
31fffa6b
RM
30844 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
30845 DT_FLAGS/DT_FLAGS_1 with zero flags.
30846
4e34ac6a
RM
30847 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
30848 linker script munging.
30849
fcfc776b
UD
308502011-07-02 Ulrich Drepper <drepper@gmail.com>
30851
30852 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
30853 as 128-bit value.
30854 * crypt/sha512.c (sha512_process_block): Perform total addition using
30855 128-bit if possible.
30856 (__sha512_finish_ctx): Likewise.
30857 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
30858 as 64-bit value.
30859 * crypt/sha256.c (SWAP64): Define.
30860 (sha256_process_block): Perform total addition using 64-bit if
30861 possible.
30862 (__sha256_finish_ctx): Likewise.
30863
99231d9a
UD
308642011-07-01 Ulrich Drepper <drepper@gmail.com>
30865
30866 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
30867 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30868 * nscd/hstcache.c (cache_addhst): Likewise.
30869 * nscd/grpcache.c (cache_addgr): Likewise.
30870 * nscd/aicache.c (addhstaiX): Likewise
30871 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
30872
445b4a53
TK
308732011-07-01 Thorsten Kukuk <kukuk@suse.de>
30874
30875 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
30876 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30877 * nscd/hstcache.c (cache_addhst): Likewise.
30878 * nscd/grpcache.c (cache_addgr): Likewise.
30879 * nscd/aicache.c (addhstaiX): Likewise
30880
6d4d8e8e
AS
308812011-07-01 Andreas Schwab <schwab@redhat.com>
30882
30883 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
30884 domain only when needed.
30885
89f654c5
AS
308862011-06-30 Andreas Schwab <schwab@redhat.com>
30887
30888 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
30889 is always restored.
30890
cf3b23ff
UD
308912011-06-29 Ulrich Drepper <drepper@gmail.com>
30892
30893 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
30894 are re-adding the entry.
30895 * nscd/servicescache.c (cache_addserv): Likewise.
30896
751626f9
AJ
308972011-06-30 Aurelien Jarno <aurelien@aurel32.net>
30898
30899 * sysdeps/generic/dl-irel.h: fix protection against multiple
30900 inclusions.
30901 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
30902
9113ea1f
UD
309032011-06-28 Ulrich Drepper <drepper@gmail.com>
30904
5c0b8d90
UD
30905 [BZ #12935]
30906 * malloc/memusage.sh: Fix quoting in message.
30907 * debug/xtrace.sh: Likewise.
30908
9113ea1f
UD
30909 * configure.in: Remove support for --experimental-malloc option, make
30910 it the default.
30911 * config.make.in: Likewise.
30912 * malloc/Makefile: Likewise.
30913
a4172181
AS
309142011-06-27 Andreas Schwab <schwab@redhat.com>
30915
30916 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
30917 two-byte characters.
30918
78a7eee7
RM
309192011-06-27 Roland McGrath <roland@hack.frob.com>
30920
62bede13
RM
30921 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
30922 AC_CACHE_CHECK invocation.
30923 * configure: Regenerated.
30924
78a7eee7
RM
30925 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
30926
5ce33a62
UD
309272011-06-27 Ulrich Drepper <drepper@gmail.com>
30928
034807a9
UD
30929 [BZ #12350]
30930 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
30931 bit from old_res_options.
30932
4902da17
UD
30933 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
30934
5ce33a62
UD
30935 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
30936 value type for setfct.
30937
c2344f56
L
309382011-06-23 H.J. Lu <hongjiu.lu@intel.com>
30939
30940 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30941 __gettimeofday instead of gettimeofday.
30942
68468076
UD
309432011-06-26 Ulrich Drepper <drepper@gmail.com>
30944
30945 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
30946
acb0d739
L
309472011-06-24 H.J. Lu <hongjiu.lu@intel.com>
30948
30949 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30950
30951 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30952 info.
30953
8912479f
L
309542011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30955
30956 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30957 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30958 strcpy-sse2-unaligned strncpy-sse2-unaligned
30959 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
30960 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
30961 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
30962 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
30963 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
30964 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
30965 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
30966 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
30967 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
30968 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
30969 (STRCPY): Support SSE2 and SSSE3 versions.
30970
d5495a11
UD
309712011-06-24 Ulrich Drepper <drepper@gmail.com>
30972
30973 [BZ #12874]
30974 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
30975 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
30976 kernels which artificially limit size of requests.
30977
0b1cbaae
L
309782011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30979
30980 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30981 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30982 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
30983 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
30984 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
30985 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
30986 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
30987 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
30988 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
30989 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
30990 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
30991 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
30992 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
30993 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
30994 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
30995 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30996 Enable unaligned load optimization for Intel Core i3, i5 and i7
30997 processors.
30998 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
30999 Define.
31000 (index_Fast_Unaligned_Load): Define.
31001 (HAS_FAST_UNALIGNED_LOAD): Define.
31002
07f494a0
MP
310032011-06-23 Marek Polacek <mpolacek@redhat.com>
31004
31005 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
31006
fa3fc0fe
UD
310072011-06-22 Ulrich Drepper <drepper@gmail.com>
31008
31009 [BZ #12907]
31010 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
31011 until it is clear that the information is realy needed.
31012 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
31013
e12df166
AS
310142011-06-22 Andreas Schwab <schwab@redhat.com>
31015
31016 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
31017
852eb34d
UD
310182011-06-22 Ulrich Drepper <drepper@gmail.com>
31019
84e2a551
UD
31020 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31021 /sys/devices/system/cpu/online if it is usable.
31022
852eb34d
UD
31023 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
31024 reading the information from the /proc filesystem to once a second.
31025
6e502e19
UD
310262011-06-21 Andreas Jaeger <aj@suse.de>
31027
31028 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
31029 NULL after inclusion of kernel headers.
31030
75d39ff2
UD
310312011-06-21 Ulrich Drepper <drepper@gmail.com>
31032
51f9aa6a
UD
31033 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
31034 calls to internal_setent.
31035
c0244a9d
UD
31036 [BZ #12885]
31037 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
31038 addresses using gethostbyname4_r ignore IPv4 addresses.
31039
c5e3c2ae
UD
31040 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
31041 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
31042
75d39ff2
UD
31043 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
31044
42675c6f
DM
310452011-06-20 David S. Miller <davem@davemloft.net>
31046
31047 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
31048 inclusions.
31049 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
31050
31051 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
31052 (elf_irel): Use it.
31053 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
31054 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
31055 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
31056 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
31057 * sysdeps/x86_64/dl-irel.h: Likewise.
31058
31059 * elf/dl-runtime.c: Use elf_ifunc_invoke.
31060 * elf/dl-sym.c: Likewise.
31061
57912a71
UD
310622011-06-15 Ulrich Drepper <drepper@gmail.com>
31063
31064 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
31065 need to dereference resplen2.
31066
ee22793d
AS
310672011-06-14 Andreas Schwab <schwab@redhat.com>
31068
31069 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
31070
a9e836b0
UD
310712011-06-15 Ulrich Drepper <drepper@gmail.com>
31072
77fb9117
UD
31073 * Makeconfig: Define vardbdir and inst_vardbdir.
31074 * nss/Makefile: Add rules to install db-Makefile.
31075
40c1b22c
UD
31076 * nss/nss_db/db-XXX.c: Cleanup.
31077
9f2da732
UD
31078 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
31079 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
31080 GLIBC_PRIVATE.
31081 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
31082 * nss/makedb.c: Implement -g option to specify that value strings
31083 are generated and should not be added to table iterated over for
31084 get*ent calls.
31085 * nss/nss_db/db-initgroups.c: New file.
31086
82e9a1f7
UD
31087 * nss/getent.c: Add support for initgroups lookups through getgrouplist
31088 interface.
31089
c41af17e
UD
31090 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
31091 (internal_getgrouplist): Adjust to name change.
31092 Update use_initgroups_entry if this is not the first call.
31093 * nss/databases.def: Add initgroups entry.
31094
a9e836b0
UD
31095 * nss/makedb.c (compute_tables): Check result of multiple hash table
31096 sizes to minimize maximum chain length.
31097
2666d441
UD
310982011-06-14 Ulrich Drepper <drepper@gmail.com>
31099
31100 * Versions.def: Add entry for libnss_db.
31101 * shlib-versions: Likewise.
31102 * nss/Makefile: Add rules to build libnss_db.
31103 * nss/Versions: Add libnss_db information. Organize libnss_files
31104 entries better.
31105 * nss/db-Makefile: Add gshadow support. Change rules for the new
31106 makedb progra. Some minor improvements to generate smaller files.
31107 * nss/nss_db/nss_db.h: Move NSS database header data structures to
31108 here from...
31109 * nss/makedb.c: ...here.
31110 Improve database format to be smaller and require less memory at
31111 runtime.
31112 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
31113 db anymore.
31114 * nss/nss_db/db-netgrp.c: Likewise.
31115 * nss/nss_db/db-open.c: Likewise.
31116 * nss/nss_files/flies-XXX.x: Adjust comments.
31117 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
31118 * nss/nss_files/files-grp.c: Likewise.
31119 * nss/nss_files/files-hosts.c: Likewise.
31120 * nss/nss_files/files-network.c: Likewise.
31121 * nss/nss_files/files-proto.c: Likewise.
31122 * nss/nss_files/files-pwd.c: Likewise.
31123 * nss/nss_files/files-rpc.c: Likewise.
31124 * nss/nss_files/files-service.c: Likewise.
31125 * nss/nss_files/files-sgrp.c: Likewise.
31126 * nss/nss_files/files-spwd.c: Likewise.
31127 * nss/nss_db/db-alias.c: Removed.
31128 * nss/nss_db/dummy-db.h: Removed.
31129
9ee76b5a
UD
311302011-06-02 Ulrich Drepper <drepper@gmail.com>
31131
31132 * nss/makedb.c: Rewritten to not use database library.
31133 * nss/Makefile: Update to build new makedb program.
31134
c71ca1f8
AJ
311352011-06-14 Andreas Jaeger <aj@suse.de>
31136
31137 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
31138 memset declaration.
31139
3154bfb8
UD
311402011-06-10 Andreas Schwab <schwab@redhat.com>
31141
31142 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
31143 tmpbuf.
31144
b350afab
RM
311452011-06-10 Roland McGrath <roland@hack.frob.com>
31146
decd4e50
RM
31147 * Makerules (shlib.lds): Fail if the linker script comes out empty.
31148 * elf/Makefile ($(objpfx)ld.so): Likewise.
31149
5615eaf2
RM
31150 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
31151 Don't list ld.so twice in dependencies.
31152
31153 * posix/bug-regex31.c: Include <stdlib.h>.
31154
31155 * nscd/hstcache.c (cache_addhst): Remove unused variable.
31156
31157 * nis/nss_compat/compat-spwd.c
31158 (getspent_next_nss_netgr): Remove unused variable.
31159 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
31160
31161 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
31162 nonmembers" output to use the right array.
31163
31164 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
31165
31166 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
31167
31168 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
31169 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
31170 * catgets/gencat.c (read_input_file): Likewise.
31171 * locale/programs/locarchive.c (enlarge_archive): Likewise.
31172
31173 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
31174 variable definition inside #if's controlling its use.
31175
31176 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
31177
31178 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
31179
31180 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
31181
31182 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
31183 unreachable code.
31184
31185 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
31186
b68e08db
RM
31187 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
31188 * configure: Regenerated.
31189
b350afab
RM
31190 * Makerules: Revert last change.
31191 * elf/Makefile: Likewise.
31192
28368601
RM
311932011-06-09 Roland McGrath <roland@hack.frob.com>
31194
31195 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
31196 * elf/Makefile ($(objpfx)librtld.os): Likewise.
31197 (reloc-link): Likewise.
31198
11988f8f
UD
311992011-06-09 Ulrich Drepper <drepper@gmail.com>
31200
31201 * elf/Makefile: Add rules to build pldd.
31202 * elf/pldd.c: New file.
31203 * elf/pldd-xx.c: New file.
31204
e80fab37
UD
312052011-06-07 Ulrich Drepper <drepper@gmail.com>
31206
31207 * version.h: Update for 2.15 development version.
31208
9b849836
DM
312092011-06-07 David S. Miller <davem@davemloft.net>
31210
31211 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
31212 ifuncs.
31213 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
31214 elf_machine_lazy_rel): Likewise.
31215 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
31216 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
31217 elf_machine_lazy_rel): Likewise.
31218 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
31219 dl_hwcap via passed in argument.
31220 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
31221 Likewise.
31222
5a31b283
AK
312232011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31224
31225 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
31226
069e52f8
RM
312272011-06-06 Roland McGrath <roland@hack.frob.com>
31228
31229 [BZ #12849]
31230 * manual/fdl-1.1.texi: New file, verbatim from:
31231 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
31232 * manual/lgpl-2.1.texi: New file, verbatim from:
31233 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
31234 * manual/Makefile (licenses): New variable, list those new file names.
31235 (texis): Use it.
31236 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
31237
31238 * manual/fdl.texi: File removed.
31239 * manual/lesser.texi: File removed.
31240 * manual/libc.texinfo (Copying, Documentation License):
31241 Use new @include file names, put @appendix directive before @include.
31242
f16846a5
JJ
312432011-06-04 Jakub Jelinek <jakub@redhat.com>
31244
31245 [BZ #12841]
31246 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
31247 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
31248 (mq_open): Add __NTH.
31249
3d29045b
L
312502011-06-02 H.J. Lu <hongjiu.lu@intel.com>
31251
31252 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31253 Assume Intel Core i3/i5/i7 processor if AVX is available.
31254
8c297311
UD
312552011-05-31 Ulrich Drepper <drepper@gmail.com>
31256
31257 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
31258 typo.
31259
c8fc0c91
UD
312602011-05-31 Andreas Schwab <schwab@redhat.com>
31261
31262 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
31263 memory. Use alloca_account. Fix memory leak when retrying.
31264
5b27a807
UD
312652011-05-31 Ulrich Drepper <drepper@gmail.com>
31266
356f8bc6
UD
31267 * version.h (RELEASE): Bump for 2.14 release.
31268 * include/features.h (__GLIBC_MINOR__): Bump to 14.
31269
5b27a807
UD
31270 * config.make.in (RANLIB): Remove entry.
31271
01f16ab0
UD
312722011-05-30 Ulrich Drepper <drepper@gmail.com>
31273
41fce8bd
UD
31274 * po/Makefile (po-sed-cmd): Add ksh to extensions.
31275 (libc.pot): Work around missing support for .ksh extension in xgettext.
31276
4769ae77
UD
31277 [BZ #12684]
31278 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
31279 if both request failed.
31280 (send_dg): In case of server errors clear resplen or *resplen2.
31281
6b1e7d19
UD
31282 [BZ #12454]
31283 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
31284 when there are multiple maps.
31285 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
31286 (_dl_fini): Remove test here.
31287
01f16ab0
UD
31288 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
31289
b1ebd700
UD
312902011-05-29 Ulrich Drepper <drepper@gmail.com>
31291
7ae22829
UD
31292 [BZ #12350]
31293 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
31294 bit from old_res_options.
31295 (gaih_inet): Likewise.
31296
553149f6 31297 [BZ #11099]
18a84741 31298 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
31299 as signed.
31300
652ffab1
UD
31301 * resolv/res_init.c (res_setoptions): Make the code more compact.
31302
16985fd0
UD
31303 [BZ #11558]
31304 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
31305 set RES_USEVC.
31306
0464f746
UD
31307 [BZ #11634]
31308 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
31309
7d17596c
UD
31310 * malloc/malloc.h: Mark malloc hook variables as deprecated.
31311
cf6bbbd7
UD
31312 [BZ #11781]
31313 * malloc/malloc.h: Declare malloc hook variables as volatile.
31314
13f1ab36
UD
31315 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
31316 in last patch.
31317
b1ebd700
UD
31318 [BZ #11799]
31319 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 31320 raise in the comment.
80e2212d
UD
31321 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31322 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31323 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 31324
ce67228d
UD
313252011-05-28 Ulrich Drepper <drepper@gmail.com>
31326
8887a920
UD
31327 [BZ #12811]
31328 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
31329 grow the buffers more if it already has to be sufficient.
31330 (build_wcs_upper_buffer): Likewise.
31331 * posix/regexec.c (check_matching): Likewise.
31332 (clean_state_log_if_needed): Likewise.
31333 (extend_buffers): Don't enlarge buffers beyond size of the input
31334 buffer.
31335 Patches mostly by Emil Wojak <emil@wojak.eu>.
31336 * posix/bug-regex32.c: New file.
31337 * posix/Makefile (tests): Add bug-regex32.
31338
4f031072
UD
31339 * locale/findlocale.c (_nl_find_locale): Return right away if
31340 _nl_explode_name failed.
31341 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
31342
d0478f0c
UD
31343 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
31344
de81b246
UD
31345 * debug/xtrace.sh: Unify messages.
31346 * malloc/memusage.sh: Likewise.
31347
c738465a
UD
31348 [BZ #12813]
31349 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
31350 time symbol from vDSO. Substitute with vsyscall if not available.
31351 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
31352 __vdso_time.
31353
f1f929d7
UD
31354 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
31355 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
31356 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
31357 Add sendmmsg and internal_sendmmsg.
31358 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
31359 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
31360 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
31361
ce67228d
UD
31362 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
31363 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
31364 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
31365
e57420c6
UD
313662011-05-27 Ulrich Drepper <drepper@gmail.com>
31367
a8509ca5
UD
31368 [BZ #12813]
31369 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
31370 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
31371 available.
31372 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
31373 __vdso_getcpu.
31374
e57420c6
UD
31375 [BZ #12814]
31376 * iconvdata/Makefile (tests): Add bug-iconv9.
31377 * iconvdata/bug-iconv9.c: New file.
31378
4d07db15
AS
313792011-05-27 Andreas Schwab <schwab@redhat.com>
31380
31381 [BZ #12814]
31382 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
31383
ea486f69
JJ
313842011-05-25 Jakub Jelinek <jakub@redhat.com>
31385
31386 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31387 (struct user_regs_struct): Change intcs field back to cs.
31388
6f038433
UD
313892011-05-25 Ulrich Drepper <drepper@gmail.com>
31390
31391 * po/ja.po: Update from translation team.
31392
67f86a25
UD
313932011-05-23 Ulrich Drepper <drepper@gmail.com>
31394
31395 [BZ #12795]
31396 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
31397 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
31398
def7fbd6
AS
313992011-05-20 Andreas Schwab <schwab@redhat.com>
31400
31401 * stdlib/longlong.h: Update from GCC.
31402
f50ef8f1
AS
314032011-05-23 Andreas Schwab <schwab@redhat.com>
31404
31405 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
31406 parameter name.
31407 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
31408 Add parameter name.
31409 (__sysconf): Pass it down.
31410
de7ce8f1
UD
314112011-05-22 Ulrich Drepper <drepper@gmail.com>
31412
f2962a71
UD
31413 [BZ #12671]
31414 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
31415 some situations.
31416 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31417 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
31418 add in in __libc_use_alloca calls. Adjust callers.
31419 (glob): Use malloc in some situations.
31420
de7ce8f1
UD
31421 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
31422 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
31423 pltexit.
31424
aec84f53
UD
314252011-05-21 Ulrich Drepper <drepper@gmail.com>
31426
05bb4a68
UD
31427 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
31428 and CLOCK_BOOTTIME_ALARM.
31429
7ea72f99
UD
31430 [BZ #12782]
31431 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
31432 is returned.
31433
7e4afad5
UD
31434 * string/_strerror.c (__strerror_r): Print negative errors as signed
31435 numbers.
31436
8e211fec
UD
31437 [BZ #12777]
31438 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
31439 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
31440 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
31441
f7d82dc9
UD
31442 * configure.in: Fix typo in redirection and correct removal of test
31443 files in two cases.
31444
cc9e536d
UD
31445 [BZ #12788]
31446 * locale/setlocale.c (new_composite_name): Fix test to check for
31447 identical name of all categories.
31448
aec84f53
UD
31449 [BZ #12792]
31450 * libio/filedoalloc.c (local_isatty): New function.
31451 (_IO_file_doallocate): Use local_isatty.
31452 * stdio-common/perror.c (perror): In case a new stream is used
31453 forward the stream error.
31454 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
31455 error flag.
31456
78e64fdc
RT
314572011-05-20 Ulrich Drepper <drepper@gmail.com>
31458
34a9094f
UD
31459 [BZ #11869]
31460 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
31461 alloca.
31462 * include/alloca.h (extend_alloca_account): Define.
31463
78e64fdc
RT
31464 [BZ #11857]
31465 * posix/regex.h: Fix comments with documentation of user-accessible
31466 fields after compilation and describe correct free'ing of pattern
31467 after re_compile_pattern.
31468 Patch by Reuben Thomas <rrt@sc3d.org>.
31469
457bddfc
RA
314702011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
31471
31472 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
31473 and -mno-altivec to prevent the compiler from using Altivec and/or
31474 VSX instructions when the corresponding registers are not available.
31475
a4527b51
AS
314762011-05-19 Andreas Schwab <schwab@redhat.com>
31477
31478 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
31479
ed690b2f
UD
314802011-05-19 Ulrich Drepper <drepper@gmail.com>
31481
31482 * libio/freopen.c (freopen): Use __dup2, not dup2.
31483 * libio/freopen64.c (freopen64): Likewise.
31484
8db73634
L
314852011-05-17 H.J. Lu <hongjiu.lu@intel.com>
31486
31487 [BZ #12775]
31488 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
31489 * math/Makefile (tests): Add test-powl.
31490 (CFLAGS-test-powl.c): Define.
31491 * math/test-powl.c: New file.
31492
0a197a9d
L
314932011-05-16 H.J. Lu <hongjiu.lu@intel.com>
31494
31495 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
31496
ee30c380
UD
314972011-05-17 Ulrich Drepper <drepper@gmail.com>
31498
31499 [BZ #11837]
31500 * iconvdata/gb18030.c: Update to GB18020-2005.
31501
6ce75379
UD
315022011-05-16 Ulrich Drepper <drepper@gmail.com>
31503
a4b89fd8
AR
31504 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
31505 RE_SYNTAX_POSIX_AWK): Update to match recent development.
31506 Patch by Aharon Robbins <arnold@skeeve.com>.
31507
ea389b12
UD
31508 [BZ #11892]
31509 * stdlib/putenv.c (putenv): Don't always create copy of the variable
31510 on the stack.
31511
68a3f91f
UD
31512 [BZ #11895]
31513 * misc/pselect.c (__pselect): Handle timeout value errors hidden
31514 through underflows.
31515
15cc7dd1
UD
31516 [BZ #12766]
31517 * misc/error.c (error_at_line): Ensure file_name and old_file_name
31518 point to strings before performing equality test for error_one_per_line
31519 mode.
31520
f3799213
UD
31521 [BZ #11697]
31522 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
31523
d79a9c94
UD
31524 [BZ #11820]
31525 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31526 (struct user_fpregs_struct): Avoid __uint*_t types.
31527
56e5eb46
UD
31528 [BZ #6420]
31529 * malloc/mtrace.c (tr_where): Add additional parameter to point to
31530 symbol info. Use it instead of calling _dl_addr locally.
31531 (lock_and_info): New function.
31532 (tr_freehook): Call lock_and_info and pass symbol info as additional
31533 parameter to tr_where.
31534 (tr_mallochook): Likewise.
31535 (tr_reallochook): Likewise.
31536 (tr_memalignhook): Likewise.
31537
6ce75379
UD
31538 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
31539 used and couldn't be at all thread-safe.
31540
f8a3b5bf
UD
315412011-05-15 Ulrich Drepper <drepper@gmail.com>
31542
94b7cc37
UD
31543 * libio/freopen.c (freopen): Don't close old file descriptor
31544 before the new one is opened. Instead dup the new file descriptor
31545 to the old one after the new stream is created.
31546 * libio/freopen64.c (freopen64): Likewise.
31547 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
31548 * libio/fileops.c (_IO_new_file_close_it): Handle new
31549 _IO_FLAGS2_NOCLOSE flag.
31550 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
31551 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
31552 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
31553 _IO_FLAGS2_NOCLOSE flag.
31554 * include/unistd.h: Add hidden_proto for dup3.
31555 Define __have_dup3.
31556 * io/dup3.c: Define hidden symbol.
31557 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
31558
bd25564e
UD
31559 [BZ #7101]
31560 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
31561 when an incomplete long option is used.
31562 * posix/tst-getopt_long1.c: New file.
31563 * posix/Makefile (tests): Add tst-getopt_long1.
31564
c84cfef4
UD
31565 [BZ #10138]
31566 * scripts/config.guess: Update from autoconf-2.68.
31567 * scripts/config.sub: Likewise.
31568
3b85df27
UD
31569 [BZ #10157]
31570 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
31571 tests into ...
31572 (has_cpuclock): ...this. New function.
31573 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
31574 macro here based on has_cpuclock code.
31575
15a856b1
UD
31576 [BZ #10149]
31577 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31578 First byte (not low byte) is now always NUL.
31579 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
31580
05f399e6
UD
31581 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31582 Use non-cancelable interfaces.
31583
10a52685 31584 [BZ #9809]
94ecc67d
UD
31585 * locale/iso-639.def: Add entry for Sorani.
31586
f8a3b5bf
UD
31587 [BZ #11901]
31588 * include/stdlib.h: Move include protection to the right place.
31589 Define abort_msg_s. Declare __abort_msg with it.
31590 * stdlib/abort.c (__abort_msg): Adjust type.
31591 * assert/assert.c (__assert_fail_base): New function. Majority
31592 of code from __assert_fail. Allocate memory for __abort_msg with
31593 mmap.
31594 (__assert_fail): Now call __assert_fail_base.
31595 * assert/assert-perr.c: Remove bulk of implementation. Use
31596 __assert_fail_base.
31597 * include/assert.hL Declare __assert_fail_base.
31598 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
31599 mmap.
31600 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
31601
1af4e298
UD
316022011-05-14 Ulrich Drepper <drepper@gmail.com>
31603
f8a3b5bf 31604 [BZ #11952]
d26dfc60
MG
31605 [BZ #12453]
31606 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
31607 until all modules are registered in the DTV.
31608 * elf/Makefile: Add rules to build and run tst-tls19.
31609 * elf/tst-tls19.c: New file.
31610 * elf/tst-tls19mod1.c: New file.
31611 * elf/tst-tls19mod2.c: New file.
31612 * elf/tst-tls19mod3.c: New file.
31613 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
31614
2fc54d6f
UD
31615 [BZ #12083]
31616 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
31617 correctly.
31618
98d76b46
UD
31619 [BZ #12601]
31620 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
31621 two-byte sequence errors.
31622 * iconvdata/Makefile (tests): Add bug-iconv8.
31623 * iconvdata/bug-iconv8.c: New file.
31624
da3c19ef
UD
31625 [BZ #12626]
31626 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
31627 buf2 definition.
31628
ca408c15
UD
31629 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
31630
d6f67f7d
UD
31631 [BZ #12432]
31632 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
31633 (dummy_getcfa): New function.
31634 (init): Get _Unwind_GetCFA address, use dummy if not found.
31635 (backtrace_helper): In recursion check, also check whether CFA changes.
31636 (__backtrace): Completely initialize arg.
31637
1af4e298 31638 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
31639 storing incomplete byte sequence in state object. Avoid testing for
31640 guaranteed too small input if we know there is enough data available.
1af4e298 31641
da62f81b
AS
316422011-05-11 Andreas Schwab <schwab@redhat.com>
31643
31644 * Makeconfig (+link-pie): Indent.
31645 * Rules (binaries-pie): Define if $(have-fpie) and
31646 $(build-shared).
31647 (binaries-shared): Also filter out $(binaries-pie).
31648 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
31649 * nscd/Makefile (others-pie): Add nscd.
31650 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
31651 ($(objpfx)nscd): Remove command override.
31652 * login/Makefile (others-pie): Add pt_chown.
31653 ($(objpfx)pt_chown): Remove command override.
31654 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
31655 remove command overrides.
31656
fcabc0f8
UD
316572011-05-13 Ulrich Drepper <drepper@gmail.com>
31658
20030ae6
UD
31659 * libio/tst_putwc.c: Fix error messages.
31660
fcabc0f8
UD
31661 [BZ #12724]
31662 * libio/fileops.c (_IO_new_file_close_it): Always flush when
31663 currently writing and seek to current position when not.
31664 * libio/Makefile (tests): Add bug-fclose1.
31665 * libio/bug-fclose1.c: New file.
31666
320a5dc0
PB
316672011-05-12 Ulrich Drepper <drepper@gmail.com>
31668
31669 [BZ #12511]
31670 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
31671 don't set DF_1_NODELETE here.
31672 (do_lookup_x): When entering new entry test for copy relocation
31673 and if necessary set DF_1_NODELETE flag.
31674 * elf/tst-unique4.cc: New file.
31675 * elf/tst-unique4.h: New file.
31676 * elf/tst-unique4lib.cc: New file.
31677 * elf/Makefile: Add rules to build and run tst-unique4.
31678 Patch by Piotr Bury <pbury@goahead.com>.
31679
22836f52
UD
316802011-05-11 Ulrich Drepper <drepper@gmail.com>
31681
f574184a
UD
31682 [BZ #12052]
31683 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
31684
e1fb097f
UD
31685 [BZ #12625]
31686 * misc/mntent_r.c (addmntent): Flush the stream after the output
31687
22836f52
UD
31688 [BZ #12393]
31689 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
31690 (is_trusted_path_normalize): Skip initial colon. Append slash
31691 to empty buffer. Duplicate is_trusted_path code but allow
31692 constructed patch to be prefix.
31693 (is_dst): Allow $ORIGIN followed by /.
31694 (_dl_dst_substitute): Correct clearing of check_for_trusted.
31695 Correct testing of result of is_trusted_path_normalize
31696 (decompose_rpath): Fix warning.
31697
7b3b0b2a
UD
316982011-05-10 Ulrich Drepper <drepper@gmail.com>
31699
31700 [BZ #11257]
31701 * grp/initgroups.c (internal_getgrouplist): When we found the service
31702 list through the initgroups entry in nsswitch.conf do not always
31703 continue on a successful lookup. Don't always use the
eac80ce2 31704 __nss_group_database value if it is set.
7b3b0b2a
UD
31705 * nss/nsswitch.conf (initgroups): Change action for successful db
31706 lookup to continue for compatibility.
31707
2a81eaa5
UD
317082011-05-09 Ulrich Drepper <drepper@gmail.com>
31709
be97a69e
UD
31710 [BZ #11532]
31711 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
31712 and CP774 modules.
31713 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
31714 and CP774 modules.
31715 * iconvdata/tst-tables.sh: Likewise.
31716 * iconvdata/cp770.c: New file.
31717 * iconvdata/cp771.c: New file.
31718 * iconvdata/cp772.c: New file.
31719 * iconvdata/cp773.c: New file.
31720 * iconvdata/cp774.c: New file.
31721 * iconvdata/testdata/CP770: New file.
31722 * iconvdata/testdata/CP770..UTF8: New file.
31723 * iconvdata/testdata/CP771: New file.
31724 * iconvdata/testdata/CP771..UTF8: New file.
31725 * iconvdata/testdata/CP772: New file.
31726 * iconvdata/testdata/CP772..UTF8: New file.
31727 * iconvdata/testdata/CP773: New file.
31728 * iconvdata/testdata/CP773..UTF8: New file.
31729 * iconvdata/testdata/CP774: New file.
31730 * iconvdata/testdata/CP774..UTF8: New file.
31731
31732 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
31733 END CHARMAP line.
31734 * iconvdata/gen-8bit-gap.sh: Likewise.
31735 * iconvdata/gen-8bit.sh: Likewise.
31736
c1e9e399
UD
31737 * locale/iso-639.def: Add ary entry.
31738
24c55fb3 31739 [BZ #11258]
96b4b1b0
UD
31740 * locale/C-translit.h.in: Add U20A1 transliteration.
31741
bdc2f971
KB
31742 [BZ #12178]
31743 * locale/iso-639.def: Add wae entry.
31744 Patch by Kevin Bortis <bortis@translate-wae.ch>.
31745
2952b117
UD
31746 [BZ #12545]
31747 * locale/programs/localedef.c (construct_output_path): Use ssize_t
31748 for n.
31749
2a81eaa5
UD
31750 [BZ #12711]
31751 * locale/C-translit.h.in: Add entry for U20B9.
31752 Patch by pravin.d.s@gmail.com.
31753
28377d1b
UD
317542011-05-08 Ulrich Drepper <drepper@gmail.com>
31755
7fb90fb8
UD
31756 [BZ #12713]
31757 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
31758 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
31759 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
31760 in rtld. Use *stat64.
7fb90fb8 31761 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 31762 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 31763 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
31764 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
31765 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
31766 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
31767 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
31768 __fstatat64 macros.
7fb90fb8
UD
31769 * include/dirent.h: Add libc_hidden_proto for rewinddir.
31770 * dirent/rewinddir.c: Add libc_hidden_def.
31771 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 31772 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 31773
28377d1b
UD
31774 * include/dirent.h (__alloc_dir): Add flags parameter.
31775 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
31776 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
31777 __alloc_dir.
31778 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
31779 from fdopendir if O_CLOEXEC is already set.
31780
66bdbaa4
AM
317812011-03-15 Alan Modra <amodra@gmail.com>
31782
31783 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
31784 l_tls_firstbyte_offset non-zero. Save padding offset in
31785 l_tls_firstbyte_offset for later use.
31786 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
31787 freeing static tls block.
31788
95721191
JN
317892011-03-05 Jonathan Nieder <jrnieder@gmail.com>
31790
31791 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
31792 where #ifdef was intended. The intent is to prevent ARG_MAX from
31793 being defined by the kernel headers.
31794
f87dfb1f
UD
317952011-05-07 Ulrich Drepper <drepper@gmail.com>
31796
31797 [BZ #12734]
31798 * resolv/resolv.h: Define RES_NOTLDQUERY.
31799 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
31800 no-tld-query and set RES_NOTLDQUERY.
31801 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
31802 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
31803 modern BIND to search name as TLD unless forbidden.
31804
47c3cd7a
UD
318052011-05-07 Petr Baudis <pasky@suse.cz>
31806 Ulrich Drepper <drepper@gmail.com>
31807
31808 [BZ #12393]
31809 * elf/dl-load.c (fillin_rpath): Move trusted path check...
31810 (is_trusted_path): ...to here.
c1e9ea35 31811 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 31812 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 31813 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 31814
8a35c912
PP
318152011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31816
31817 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
31818 __BEGIN/__END_DECLS.
31819
acd41f47
UD
318202011-05-06 Ulrich Drepper <drepper@gmail.com>
31821
31822 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
31823 NSS_STATUS_NOTFOUND if no record was found.
31824
597df647
AS
318252011-05-05 Andreas Schwab <schwab@redhat.com>
31826
31827 * sunrpc/Makefile (headers): Add rpc/netdb.h.
31828 (headers-not-in-tirpc): Remove rpc/netdb.h
31829 * resolv/netdb.h: Revert last change.
31830
b9af1301
PP
318312011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31832
31833 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
31834 circular dependency between libgcc.a and libc.a.
31835
4e34d5f5
AS
318362011-05-05 Andreas Schwab <schwab@redhat.com>
31837
31838 * resolv/netdb.h: Don't include <rpc/netdb.h>.
31839 * nis/Makefile: Don't install rpcsvc/*.
31840 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
31841 instead of <rpc/types.h>.
31842 (MAXHOSTNAMELEN): Define.
31843
00ee369c
AS
318442011-05-03 Andreas Schwab <schwab@redhat.com>
31845
31846 * elf/ldconfig.c (add_dir): Don't crash on empty path.
31847
0b592a30
MB
318482011-04-28 Maciej Babinski <mbabinski@google.com>
31849
31850 [BZ #12714]
31851 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
31852 gethostbyname4_r when IPv6 results are possible.
31853
6e04cbbe
UD
318542011-05-02 Ulrich Drepper <drepper@gmail.com>
31855
31856 [BZ #12723]
31857 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
31858 _PC_PIPE_BUF handling.
31859
e4ecafe0
BH
318602011-04-30 Bruno Haible <bruno@clisp.org>
31861
31862 [BZ #12717]
31863 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
31864 * resolv/netdb.h (getnameinfo): Change type of flags parameter
31865 to 'int'.
31866 * inet/getnameinfo.c (getnameinfo): Likewise.
31867
125ee683
UD
318682011-04-29 Ulrich Drepper <drepper@gmail.com>
31869
31870 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
31871 to groups setting in database lookup.
31872 * nss/nsswitch.conf: Add initgroups entry.
31873
b722481a
EB
318742011-04-22 Ulrich Drepper <drepper@gmail.com>
31875
31876 [BZ #12685]
31877 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
31878 mode string.
31879 Patch by Eric Blake <eblake@redhat.com>.
31880
4df46dbd
L
318812011-04-20 H.J. Lu <hongjiu.lu@intel.com>
31882
31883 * sunrpc/Makefile (need-export-routines): Add svc_run.
31884 (routines): Remove svc_run.
31885 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
31886 * sunrpc/clnt_perr.c (clnt_perrno): Export.
31887 * sunrpc/svc_run.c (svc_run): Likewise.
31888 * sunrpc/svc_udp.c (svcudp_create): Likewise.
31889
e84142d2
UD
318902011-04-21 Ulrich Drepper <drepper@gmail.com>
31891
31892 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
31893 problem in reallocation in last patch.
31894
877175d8
UD
318952011-04-20 Ulrich Drepper <drepper@gmail.com>
31896
31897 * sunrpc/Makefile: Move inclusion of Rules.
31898
ab8eed78
UD
318992011-04-19 Ulrich Drepper <drepper@gmail.com>
31900
31901 * nss/nss_files/files-initgroups.c: New file.
31902 * nss/Makefile (libnss_files-routines): Add files-initgroups.
31903 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
31904 _nss_files_initgroups_dyn.
31905
e3d8f584
RS
319062011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
31907
31908 * elf/elf.h (R_ARM_IRELATIVE): Define.
31909
af190f45
UD
319102011-04-19 Ulrich Drepper <drepper@gmail.com>
31911
31912 * po/ru.po: Update from translation team.
31913
53cf59ef
UD
319142011-04-17 Ulrich Drepper <drepper@gmail.com>
31915
31916 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
31917 dependencies.
31918
4c559bcd
MF
319192011-02-06 Mike Frysinger <vapier@gentoo.org>
31920
31921 [BZ #12653]
31922 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
31923 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
31924 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31925 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31926 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31927
4420675c
AS
319282011-03-28 Andreas Schwab <schwab@linux-m68k.org>
31929
31930 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
31931 differing bytes.
31932 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31933 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31934 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31935
75ea32ab
UD
319362011-04-17 Ulrich Drepper <drepper@gmail.com>
31937
31938 [BZ #12420]
31939 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31940 storing it.
31941 * stdlib/bug-getcontext.c: New file.
31942 * stdlib/Makefile: Add rules to build and run bug-getcontext.
31943
27390476
AK
319442011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31945
31946 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
31947 instructions into .machine "z9-109".
31948 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
31949 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
31950
10442705
AK
319512011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31952
31953 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31954 between environment variables and auxiliary vector.
31955
7b57bfe5
UD
319562011-04-16 Ulrich Drepper <drepper@gmail.com>
31957
31958 * Makefile: Add rules to build linkobj/libc.so.
31959 * include/libc-symbols.h: Define libc_hidden_nolink.
31960 * include/rpc/auth.h: Mark functions which are to be hidden.
31961 * include/rpc/auth_des.h: Likewise.
31962 * include/rpc/auth_unix.h: Likewise.
31963 * include/rpc/clnt.h: Likewise.
31964 * include/rpc/des_crypt.h: Likewise.
31965 * include/rpc/key_prot.h: Likewise.
31966 * include/rpc/pmap_clnt.h: Likewise.
31967 * include/rpc/pmap_prot.h: Likewise.
31968 * include/rpc/pmap_rmt.h: Likewise.
31969 * include/rpc/rpc_msg.h: Likewise.
31970 * include/rpc/svc.h: Likewise.
31971 * include/rpc/svc_auth.h: Likewise.
31972 * include/rpc/xdr.h: Likewise.
31973 * nis/Makefile: Link all DSOs against linkobj/libc.so.
31974 * nss/Makefile: Likewise.
31975 * sunrpc/Makefile: Don't install headers. Build library with normal
31976 entry points. Don't build rpcinfo. Link RPC tests appropriately.
31977 * sunrpc/auth_des.c: Hide exported symbols by default, export some
31978 for the compat linking library. Remove use of INTDEF/INTUSE.
31979 * sunrpc/auth_none.c: Likewise.
31980 * sunrpc/auth_unix.c: Likewise.
31981 * sunrpc/authdes_prot.c: Likewise.
31982 * sunrpc/authuxprot.c: Likewise.
31983 * sunrpc/clnt_gen.c: Likewise.
31984 * sunrpc/clnt_perr.c: Likewise.
31985 * sunrpc/clnt_raw.c: Likewise.
31986 * sunrpc/clnt_simp.c: Likewise.
31987 * sunrpc/clnt_tcp.c: Likewise.
31988 * sunrpc/clnt_udp.c: Likewise.
31989 * sunrpc/clnt_unix.c: Likewise.
31990 * sunrpc/des_crypt.c: Likewise.
31991 * sunrpc/des_soft.c: Likewise.
31992 * sunrpc/get_myaddr.c: Likewise.
31993 * sunrpc/key_call.c: Likewise.
31994 * sunrpc/key_prot.c: Likewise.
31995 * sunrpc/netname.c: Likewise.
31996 * sunrpc/pm_getmaps.c: Likewise.
31997 * sunrpc/pm_getport.c: Likewise.
31998 * sunrpc/pmap_clnt.c: Likewise.
31999 * sunrpc/pmap_prot.c: Likewise.
32000 * sunrpc/pmap_prot2.c: Likewise.
32001 * sunrpc/pmap_rmt.c: Likewise.
32002 * sunrpc/publickey.c: Likewise.
32003 * sunrpc/rpc_cmsg.c: Likewise.
32004 * sunrpc/rpc_common.c: Likewise.
32005 * sunrpc/rpc_dtable.c: Likewise.
32006 * sunrpc/rpc_prot.c: Likewise.
32007 * sunrpc/rpc_thread.c: Likewise.
32008 * sunrpc/rtime.c: Likewise.
32009 * sunrpc/svc.c: Likewise.
32010 * sunrpc/svc_auth.c: Likewise.
32011 * sunrpc/svc_authux.c: Likewise.
32012 * sunrpc/svc_raw.c: Likewise.
32013 * sunrpc/svc_run.c: Likewise.
32014 * sunrpc/svc_simple.c: Likewise.
32015 * sunrpc/svc_tcp.c: Likewise.
32016 * sunrpc/svc_udp.c: Likewise.
32017 * sunrpc/svc_unix.c: Likewise.
32018 * sunrpc/svcauth_des.c: Likewise.
32019 * sunrpc/xcrypt.c: Likewise.
32020 * sunrpc/xdr.c: Likewise.
32021 * sunrpc/xdr_array.c: Likewise.
32022 * sunrpc/xdr_float.c: Likewise.
32023 * sunrpc/xdr_intXX_t.c: Likewise.
32024 * sunrpc/xdr_mem.c: Likewise.
32025 * sunrpc/xdr_rec.c: Likewise.
32026 * sunrpc/xdr_ref.c: Likewise.
32027 * sunrpc/xdr_sizeof.c: Likewise.
32028 * sunrpc/xdr_stdio.c: Likewise.
32029
e6c61494
UD
320302011-04-10 Ulrich Drepper <drepper@gmail.com>
32031
32032 [BZ #12650]
32033 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
32034 * sysdeps/ia64/dl-tls.h: Likewise.
32035 * sysdeps/powerpc/dl-tls.h: Likewise.
32036 * sysdeps/s390/dl-tls.h: Likewise.
32037 * sysdeps/sh/dl-tls.h: Likewise.
32038 * sysdeps/sparc/dl-tls.h: Likewise.
32039 * sysdeps/x86_64/dl-tls.h: Likewise.
32040 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
32041
34fe483e
AS
320422011-03-14 Andreas Schwab <schwab@redhat.com>
32043
32044 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
32045 rpath element also skip the following colon.
32046 (expand_dynamic_string_token): Add is_path parameter and pass
32047 down to DL_DST_REQUIRED and _dl_dst_substitute.
32048 (decompose_rpath): Call expand_dynamic_string_token with
32049 non-zero is_path. Ignore empty rpaths.
32050 (_dl_map_object_from_fd): Call expand_dynamic_string_token
32051 with zero is_path.
32052
f12a32e6
AS
320532011-04-08 Andreas Schwab <schwab@linux-m68k.org>
32054
32055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32056 Make cancelable.
32057
38a7d692
UD
320582011-04-09 Ulrich Drepper <drepper@gmail.com>
32059
32060 [BZ #12655]
32061 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
32062 Patch by Filipe David Manana <fdmanana@apache.org>.
32063
e451d22b
AS
320642011-04-07 Andreas Schwab <schwab@redhat.com>
32065
32066 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
32067 Maintain aligned stack.
32068 (CHECK_RSP): Remove unused macro.
32069
dedc7c7b
UD
320702011-04-03 Ulrich Drepper <drepper@gmail.com>
32071
32072 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
32073 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
32074
94521213
UD
320752011-04-02 Ulrich Drepper <drepper@gmail.com>
32076
32077 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
32078
8cb700c0 32079 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 32080
0354e355
L
320812011-03-26 H.J. Lu <hongjiu.lu@intel.com>
32082
32083 [BZ #12518]
32084 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
32085 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
32086 * sysdeps/x86_64/memmove.c: New file.
32087 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
32088 (memcpy): Renamed to ...
32089 (__new_memcpy): This.
32090 (memcpy): Provide GLIBC_2_14 memcpy.
32091 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
32092 (memcpy): Provide GLIBC_2_2_5 memcpy.
32093
8593482f
UD
320942011-04-01 Ulrich Drepper <drepper@gmail.com>
32095
32096 [BZ #12631]
32097 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
32098
81a5726b
AS
320992011-03-30 Andreas Schwab <schwab@redhat.com>
32100
32101 * misc/syncfs.c: New file.
32102 * misc/Makefile (routines): Add syncfs.
32103 * posix/unistd.h: Declare syncfs.
32104 * sysdeps/unix/syscalls.list: Add syncfs.
32105
00e5419f
AS
321062011-04-01 Andreas Schwab <schwab@redhat.com>
32107
32108 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
32109 open_by_handle_at.
32110 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32111 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32112 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32113 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32114 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32115 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
32116 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32117
748876bf
UD
321182011-04-01 Ulrich Drepper <drepper@gmail.com>
32119
658e451d
UD
32120 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
32121 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32122 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
32123 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32124 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32125 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32126 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32127
748876bf
UD
32128 * io/Makefile: Compile fallocate.c, fallocate64.c, and
32129 sync_file_range.c with -fexceptions.
32130 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
32131 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
32132 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32133 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32134 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
32135 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32136 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
32137 sync_file_range as cancellation point
32138 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
32139 now a wrapper around __call_sync_file_range with cancellation handling.
32140 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
32141 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
32142 function name to __call_sync_file_range.
32143 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
32144 Add call_sync_file_range.
748876bf 32145
6e63d5e1
AS
321462011-04-01 Andreas Schwab <schwab@redhat.com>
32147
32148 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 32149 bits/timex.h.
6e63d5e1 32150
46998f74
UD
321512011-04-01 Ulrich Drepper <drepper@gmail.com>
32152
4c1423ed
UD
32153 * iconv/iconv.h: Fix typo in comment.
32154 * io/fcntl.h: Likewise.
32155 * libio/stdio.h: Likewise.
32156 * posix/spawn.h: Likewise.
32157 * posix/unistd.h: Likewise.
32158 * stdlib/stdlib.h: Likewise.
32159 * time/time.h: Likewise.
32160 * wcsmbs/wchar.h: Likewise.
32161
158648c0
UD
32162 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
32163 open_by_handle): Add.
32164 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
32165 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
32166 Augment a few comments.
32167 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32168 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32169 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32170 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32171 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32172 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
32173 open_by_handle.
32174
46998f74
UD
32175 * io/fcntl.h (AT_EMPTY_PATH): Define.
32176
83fe108b
UD
321772011-03-30 Ulrich Drepper <drepper@gmail.com>
32178
32179 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
32180 * sysdeps/unix/sysv/linux/bits/time.h: New file.
32181 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
32182 to...
32183 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
32184 * Versions.def: Add GLIBC_2.14.
32185 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
32186 Export.
83fe108b 32187
bb242059
UD
321882011-03-22 Ulrich Drepper <drepper@gmail.com>
32189
32190 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
32191 round counter.
32192 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32193
c97a1282
L
321942011-03-20 H.J. Lu <hongjiu.lu@intel.com>
32195
32196 [BZ #12597]
32197 * string/test-strncmp.c (do_page_test): New function.
32198 (check2): Likewise.
32199 (test_main): Call check2.
32200 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
32201
2a115601
UD
322022011-03-20 Ulrich Drepper <drepper@gmail.com>
32203
32204 [BZ #12587]
32205 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
32206 Handle cache information in CPU leaf 4.
32207 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32208
8126d904
UD
322092011-03-18 Ulrich Drepper <drepper@gmail.com>
32210
042c49c6 32211 [BZ #12583]
8126d904
UD
32212 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
32213 character representation.
32214 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
32215
ccfe366e
RA
322162011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
32217
32218 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
32219 END(__isnan) to END(__isnanf) to match function entry point/label
32220 EALIGN(__isnanf,...).
32221
c6e13027
JJ
322222011-03-10 Jakub Jelinek <jakub@redhat.com>
32223
32224 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
32225
33f85a3f
UD
322262011-03-10 Ulrich Drepper <drepper@gmail.com>
32227
028478fa
UD
32228 [BZ #12510]
32229 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
32230 copy from the symbol referenced in the relocation to initialize the
32231 used variable.
32232 Patch by Piotr Bury <pbury@goahead.com>.
32233 * elf/Makefile: Add rules to build and tst-unique3.
32234 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
32235 * elf/tst-unique3.cc: New file.
32236 * elf/tst-unique3.h: New file.
32237 * elf/tst-unique3lib.cc: New file.
32238 * elf/tst-unique3lib2.cc: New file.
32239
33f85a3f
UD
32240 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
32241
03592fc7
MF
322422011-03-10 Mike Frysinger <vapier@gentoo.org>
32243
32244 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
32245 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
32246 to _start.
03592fc7 32247
6a5ee102
UD
322482011-03-06 Ulrich Drepper <drepper@gmail.com>
32249
32250 * elf/dl-load.c (_dl_map_object): If we are looking for the first
32251 to-be-loaded object along a path to loader is ld.so.
32252
7e4ba49c
HJ
322532011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32254 Ulrich Drepper <drepper@gmail.com>
32255
32256 * sysdeps/x86_64/memset.S: After aligning destination, code
32257 branches to different locations depending on the value of
32258 misalignment, when multiarch is enabled. Fix this.
32259
322602011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32261
32262 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
32263 Set _x86_64_preferred_memory_instruction for AMD processsors.
32264 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32265 Set bit_Prefer_SSE_for_memop for AMD processors.
32266
13a804de
UD
322672011-03-04 Ulrich Drepper <drepper@gmail.com>
32268
32269 * libio/fmemopen.c (fmemopen): Optimize a bit.
32270
9d25c392
AS
322712011-03-03 Andreas Schwab <schwab@redhat.com>
32272
32273 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
32274
a5543c6a
RM
322752011-03-03 Roland McGrath <roland@redhat.com>
32276
32277 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
32278
012d35f7
DM
322792011-02-28 Aurelien Jarno <aurelien@aurel32.net>
32280
7e4ba49c 32281 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
32282 __bzero_ultra1 instead of __memset_ultra1.
32283
4bff6e01
AS
322842011-02-23 Andreas Schwab <schwab@redhat.com>
32285 Ulrich Drepper <drepper@gmail.com>
32286
32287 [BZ #12509]
32288 * include/link.h (struct link_map): Add l_orig_initfini.
32289 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
32290 returning unsuccessfully.
32291 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
32292 close of a file loaded at startup, restore the original l_initfini
32293 list.
32294 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
32295 list, store the pointer.
32296 * elf/Makefile ($(objpfx)noload-mem): New rule.
32297 (noload-ENV): Define.
32298 (tests): Add $(objpfx)noload-mem.
32299 * elf/noload.c: Include <memcheck.h>.
32300 (main): Call mtrace. Close all opened handles.
32301
f2092faf
AS
323022011-02-17 Andreas Schwab <schwab@redhat.com>
32303
32304 [BZ #12454]
32305 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
32306 dependencies are missing.
32307
6c8a2e88
ST
323082011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
32309
f2092faf 32310 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
32311 Hurd needs munmap.
32312 * sysdeps/mach/hurd/ifreq.h: New file.
32313
84a42118
PB
323142011-01-27 Petr Baudis <pasky@suse.cz>
32315 Ulrich Drepper <drepper@gmail.com>
32316
071f805e 32317 [BZ 12445]#
84a42118
PB
32318 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
32319 to extend_alloca().
32320 * stdio-common/bug23.c: New file.
32321 * stdio-common/Makefile (tests): Add bug23.
32322
e23fe25b
AS
323232010-09-28 Andreas Schwab <schwab@redhat.com>
32324 Ulrich Drepper <drepper@gmail.com>
32325
32326 [BZ #12489]
32327 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
32328 before performing relro protection. At old place add assertion
32329 to make sure nothing changed.
32330
d3f02e10
NS
323312011-02-17 Nathan Sidwell <nathan@codesourcery.com>
32332 Glauber de Oliveira Costa <glommer@gmail.com>
32333
32334 * elf/elf.h: Add new ARM TLS relocs.
32335
d55fd7a5
RA
323362011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
32337
32338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32339 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
32340 cast from r3.
32341 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
32342 'tests' variable.
32343 * sysdeps/wordsize-64/tst-writev.c: New file.
32344
2206397e
RA
323452011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
32346
32347 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
32348 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
32349 insns in _dl_start to prevent a TOC reference before relocs are
32350 resolved.
32351
e9433893
UD
323522011-02-15 Ulrich Drepper <drepper@gmail.com>
32353
32354 [BZ #12469]
32355 * Makeconfig: Remove RANLIB definition.
32356 * Makerules: Don't use RANLIB.
32357 * aclocal.m4: Remove ranlib test.
32358 * configure.in: No need to check for ranlib.
32359 * elf/rtld-Rules: Don't use RANLIB.
32360
f75286c6
ST
323612011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
32362
8e31c82d
ST
32363 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
32364 protection macro.
32365 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
32366 inclusion protection macro.
32367
f75286c6
ST
32368 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
32369 SIGRTMIN and SIGRTMAX and print information in that case only when
32370 SIGRTMIN is defined.
32371
c1d0e639
JJ
323722011-02-11 Jakub Jelinek <jakub@redhat.com>
32373
32374 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
32375 arginfo fn returning -1.
32376
32377 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
32378 and thousands string is zero terminated.
32379
edf9294e
AS
323802011-02-03 Andreas Schwab <schwab@redhat.com>
32381
32382 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
32383 sysdeps/unix/sysv/linux/bits/socket.h.
32384
2b7e92df
ST
323852011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
32386
edf9294e
AS
32387 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
32388 (__CPU_COUNT): Remove old macros.
32389 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
32390 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
32391 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
32392 (__sched_cpualloc, __sched_cpufree): Add declarations.
32393
a4c7ea7b
UD
323942011-02-05 Ulrich Drepper <drepper@gmail.com>
32395
32396 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
32397 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
32398 * nscd/aicache.c (addhstaiX): Return timeout of added value.
32399 (readdhstai): Return value of addhstaiX call.
32400 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
32401 (addgrbyX): Return value returned by cache_addgr.
32402 (readdgrbyname): Return value returned by addgrbyX.
32403 (readdgrbygid): Likewise.
32404 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
32405 (addpwbyX): Return value returned by cache_addpw.
32406 (readdpwbyname): Return value returned by addhstbyX.
32407 (readdpwbyuid): Likewise.
32408 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
32409 (addservbyX): Return value returned by cache_addserv.
32410 (readdservbyname): Return value returned by addservbyX:
32411 (readdservbyport): Likewise.
32412 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
32413 (addhstbyX): Return value returned by cache_addhst.
32414 (readdhstbyname): Return value returned by addhstbyX.
32415 (readdhstbyaddr): Likewise.
32416 (readdhstbynamev6): Likewise.
32417 (readdhstbyaddrv6): Likewise.
32418 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
32419 (readdinitgroups): Return value returned by addinitgroupsX.
32420 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
32421 (prune_cache): Keep track of timeout value of re-added entries.
32422 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
32423 * nscd/nscd.h: Adjust prototypes of readd* functions.
32424
a0bf67cc
RM
324252011-02-04 Roland McGrath <roland@redhat.com>
32426
32427 * nis/nis_server.c (nis_servstate): Use the right name for 0.
32428 (nis_stats): Likewise.
32429 * nis/nis_modify.c (nis_modify): Likewise.
32430 * nis/nis_remove.c (nis_remove): Likewise.
32431 * nis/nis_add.c (nis_add): Likewise.
32432
32433 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
32434
32435 * posix/fnmatch_loop.c: Add some consts.
32436
32437 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
32438
435b95eb
L
324392011-02-02 H.J. Lu <hongjiu.lu@intel.com>
32440
32441 [BZ #12460]
32442 * config.make.in (config-cflags-novzeroupper): Define.
32443 * configure.in: Substitute libc_cv_cc_novzeroupper.
32444 * elf/Makefile (AVX-CFLAGS): Define.
32445 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
32446 (CFLAGS-tst-auditmod4a.c): Likewise.
32447 (CFLAGS-tst-auditmod4b.c): Likewise.
32448 (CFLAGS-tst-auditmod6b.c): Likewise.
32449 (CFLAGS-tst-auditmod6c.c): Likewise.
32450 (CFLAGS-tst-auditmod7b.c): Likewise.
32451 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
32452
8517b15e
UD
324532011-02-02 Ulrich Drepper <drepper@gmail.com>
32454
32455 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
32456 function to the callback.
32457 Patch partly by Jiri Olsa <jolsa@redhat.com>.
32458
10a656fe
AS
324592011-02-02 Andreas Schwab <schwab@redhat.com>
32460
32461 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
32462 of errno.
32463
968dad0a
UD
324642011-01-19 Ulrich Drepper <drepper@gmail.com>
32465
9f94d2ea 32466 [BZ #11724]
968dad0a
UD
32467 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
32468 of constructors.
32469 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
32470 of destructors.
32471 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
32472
32473 [BZ #11724]
32474 * elf/Makefile: Add rules to build and run new test.
32475 * elf/tst-initorder.c: New file.
32476 * elf/tst-initorder.exp: New file.
32477 * elf/tst-initordera1.c: New file.
32478 * elf/tst-initordera2.c: New file.
32479 * elf/tst-initordera3.c: New file.
32480 * elf/tst-initordera4.c: New file.
32481 * elf/tst-initorderb1.c: New file.
32482 * elf/tst-initorderb2.c: New file.
32483 * elf/tst-order-a1.c: New file.
32484 * elf/tst-order-a2.c: New file.
32485 * elf/tst-order-a3.c: New file.
32486 * elf/tst-order-a4.c: New file.
32487 * elf/tst-order-b1.c: New file.
32488 * elf/tst-order-b2.c: New file.
32489 * elf/tst-order-main.c: New file.
32490 New test case by George Gensure <werkt0@gmail.com>.
32491
86e92359
UD
324922010-10-01 Andreas Schwab <schwab@redhat.com>
32493
32494 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32495 decoding ACE if AI_CANONIDN.
32496
5d5732b0
UD
324972011-01-18 Ulrich Drepper <drepper@gmail.com>
32498
32499 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
32500
a77e8cbc
UD
325012011-01-17 Ulrich Drepper <drepper@gmail.com>
32502
6392473f
UD
32503 * version.h (RELEASE): Bump for 2.13 release.
32504 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
32505
620a0529
UD
32506 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
32507
18ba70a5
UD
32508 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
32509 MADV_NOHUGEPAGE.
32465c3e
UD
32510 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
32511 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
32512 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32513 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32514 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32515 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32516
c0dafcf1
UD
32517 * posix/getconf.c: Update copyright year.
32518 * catgets/gencat.c: Likewise.
32519 * csu/version.c: Likewise.
32520 * debug/catchsegv.sh: Likewise.
32521 * debug/xtrace.sh: Likewise.
32522 * elf/ldconfig.c: Likewise.
32523 * elf/ldd.bash.in: Likewise.
32524 * elf/sprof.c (print_version): Likewise.
32525 * iconv/iconv_prog.c: Likewise.
32526 * iconv/iconvconfig.c: Likewise.
32527 * locale/programs/locale.c: Likewise.
32528 * locale/programs/localedef.c: Likewise.
32529 * malloc/memusage.sh: Likewise.
32530 * malloc/mtrace.pl: Likewise.
32531 * nscd/nscd.c (print_version): Likewise.
32532 * nss/getent.c: Likewise.
32533
a77e8cbc
UD
32534 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
32535 PF_CAIF, and PF_ALG.
32536 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32537
77e8bddf
AS
325382011-01-16 Andreas Schwab <schwab@linux-m68k.org>
32539
1f20b93a
AS
32540 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
32541 (modules-names): Use them.
32542 (ifunc-test-modules, ifunc-pie-tests): Define.
32543 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
32544 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
32545 (test-extras): Likewise.
32546 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
32547 $(compile-command.c).
32548 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
32549 (all-built-dso): Define.
32550 (check-textrel.out, check-execstack.out): Depend on it.
32551
77e8bddf
AS
32552 * configure.in: Don't override --enable-multi-arch.
32553
bc425b33
UD
325542011-01-15 Ulrich Drepper <drepper@gmail.com>
32555
32556 [BZ #6812]
32557 * nscd/hstcache.c (tryagain): Define.
32558 (cache_addhst): Return tryagain not notfound for temporary errors.
32559 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
32560 failed.
32561
794c3ad3
UD
325622011-01-14 Ulrich Drepper <drepper@gmail.com>
32563
70181fdd
UD
32564 [BZ #10563]
32565 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
32566 to make the syscall.
32567 * sysdeps/unix/sysv/linux/setgroups.c: New file.
32568
794c3ad3
UD
32569 [BZ #12378]
32570 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
32571 and fall back to matching as normal character if the string ends before
32572 the matching ']' is found. This is what POSIX requires.
32573 * posix/testfnm.c: Adjust test result.
32574 * posix/globtest.sh: Adjust test result. Add new test.
32575 * posix/tst-fnmatch.input: Likewise.
32576 * posix/tst-fnmatch2.c: Add new test.
32577
68dc9497
AS
325782010-12-28 Andreas Schwab <schwab@linux-m68k.org>
32579
32580 * elf/Makefile (check-execstack): Revert last change. Depend on
32581 check-execstack.h.
32582 (check-execstack.h): New target.
32583 (generated): Add check-execstack.h.
32584 * elf/check-execstack.c: Include "check-execstack.h".
32585 (main): Revert last change.
32586 (handle_file): Return zero if GNU_STACK is absent and
32587 DEFAULT_STACK_PERMS doesn't include PF_X.
32588
451f001b
UD
325892011-01-13 Ulrich Drepper <drepper@gmail.com>
32590
cfa28e56
UD
32591 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
32592 in child fails because the descriptor is already closed.
8cf8ce17
UD
32593 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
32594 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
32595 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 32596
1086d70d
UD
32597 [BZ #12397]
32598 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
32599 syscall.
32600
451f001b
UD
32601 [BZ #10484]
32602 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
32603 temporary buffer used to handle multi lookups locally.
a85b5cb4 32604 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 32605
08769175
UD
326062011-01-12 Ulrich Drepper <drepper@gmail.com>
32607
32608 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
32609 loader is ld.so.
32610
5e49c52e
UD
326112011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
32612
32613 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
32614 alignment for SSE2.
32615
60522a5f
UD
326162011-01-12 Ulrich Drepper <drepper@gmail.com>
32617
32618 [BZ #12394]
32619 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
32620 characters. When rounding increased number of integer digits recompute
32621 number of groups.
32622 * stdio-common/tst-grouping.c: New file.
32623 * stdio-common/Makefile: Add rules to build and run tst-grouping.
32624
f257bbd7
UD
326252011-01-09 Ulrich Drepper <drepper@gmail.com>
32626
32627 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
32628 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
32629
32630 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
32631 void.
32632 * bits/select.h: Likewise.
32633
fa9c15cb
UD
326342011-01-08 Ulrich Drepper <drepper@gmail.com>
32635
32636 * po/ja.po: Update from translation team.
32637
16c2895f
DM
326382011-01-04 David S. Miller <davem@sunset.davemloft.net>
32639
32640 [BZ #11155]
32641 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
32642 implementation just like for lxstat, fxstatat, et al.
32643
2543fef2
JM
326442010-12-27 Jim Meyering <meyering@redhat.com>
32645
32646 [BZ #12348]
32647 * posix/regexec.c (build_trtable): Return failure indication upon
32648 calloc failure. Otherwise, re_search_internal could infloop on OOM.
32649
98727dbe
UD
326502010-12-25 Ulrich Drepper <drepper@gmail.com>
32651
5bd6dc5c
UD
32652 [BZ #12201]
32653 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
32654 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
32655 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
32656 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
32657
97983464
UD
32658 [BZ #12207]
32659 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
32660
98727dbe
UD
32661 [BZ #12204]
32662 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
32663 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
32664
4a531bb0
L
326652010-12-15 H.J. Lu <hongjiu.lu@intel.com>
32666
32667 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
32668 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
32669 script has SORT_BY_INIT_PRIORITY.
32670 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
32671 NO_CTORS_DTORS_SECTIONS is defined.
32672 * elf/soinit.c: Likewise.
32673 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
32674 NO_CTORS_DTORS_SECTIONS is defined.
32675 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
32676 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
32677 * sysdeps/sh/init-first.c: Likewise.
32678 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
32679
07eb4b71
UD
326802010-12-24 Ulrich Drepper <drepper@gmail.com>
32681
32682 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
32683 always use the slow path.
32684
30950a5f
RA
326852010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
32686
32687 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
32688 similar rule which adds the sysdep directories to the header search in
32689 order to pick up the correct platform stackinfo.h.
32690 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
32691 perform test if it is, otherwise return successfully without testing.
32692 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
32693 DEFAULT_STACK_PERMS define in stackinfo.h.
32694 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
32695 defined in stackinfo.h.
32696 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
32697 DEFAULT_STACK_PERMS defined in stackinfo.h.
32698 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
32699 * sysdeps/ia64/stackinfo.h: Likewise.
32700 * sysdeps/s390/stackinfo.h: Likewise.
32701 * sysdeps/sh/stackinfo.h: Likewise.
32702 * sysdeps/sparc/stackinfo.h: Likewise.
32703 * sysdeps/x86_64/stackinfo.h: Likewise.
32704 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
32705 PF_X for powerpc64. Retain PF_X for powerpc32.
32706
db753e2c
UD
327072010-12-19 Ulrich Drepper <drepper@gmail.com>
32708
14b697f7
UD
32709 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
32710 accurately.
db753e2c
UD
32711 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
32712 GETDENTS_64BIT_ALIGNED.
32713
28300719
UD
327142010-12-14 Ulrich Drepper <dreper@gmail.com>
32715
14b697f7 32716 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 32717
4f197237
AS
327182010-12-10 Andreas Schwab <schwab@redhat.com>
32719
dbb0472f
AS
32720 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
32721 _GNU_SOURCE.
32722
4f197237
AS
32723 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
32724 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
32725 Remove __restrict.
32726 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
32727 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
32728
fb88ac72
UD
327292010-12-09 Ulrich Drepper <drepper@gmail.com>
32730
32731 [BZ #11655]
32732 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
32733 are initialized.
32734
42acbb92
JJ
327352010-12-09 Jakub Jelinek <jakub@redhat.com>
32736
32737 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
32738
c038d98d
UD
327392010-12-03 Ulrich Drepper <drepper@gmail.com>
32740
32741 * po/it.po: Update from translation team.
32742
3a4a2499
L
327432010-12-01 H.J. Lu <hongjiu.lu@intel.com>
32744
32745 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
32746 unused codes.
32747
1e24cf6e
UD
327482010-11-30 Ulrich Drepper <drepper@gmail.com>
32749
32750 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
32751
a7690819
AS
327522010-11-24 Andreas Schwab <schwab@redhat.com>
32753
32754 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
32755 specially.
32756 (gaih_getanswer_slice): Likewise.
32757
3bf8d1b1
JJ
327582010-10-20 Jakub Jelinek <jakub@redhat.com>
32759
32760 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
32761
6db52fbb
PB
327622010-05-31 Petr Baudis <pasky@suse.cz>
32763
32764 [BZ #11149]
32765 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
32766 silently even in the chroot mode.
32767
eaca7569
UD
327682010-11-22 Ulrich Drepper <drepper@gmail.com>
32769
32770 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
32771 last patch a bit. Pretty printing
32772
3056dcdb
UD
327732010-05-31 Petr Baudis <pasky@suse.cz>
32774
32775 [BZ #10085]
32776 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
32777 initialization of skip_initgroups_dyn.
32778
cf7c9078
UD
327792010-11-19 Ulrich Drepper <drepper@gmail.com>
32780
32781 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
32782 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32783
a1fb5e3e
UD
327842010-11-16 Ulrich Drepper <drepper@gmail.com>
32785
32786 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
32787
3540d66b
AS
327882010-11-11 Andreas Schwab <schwab@redhat.com>
32789
32790 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
32791 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
32792 (tst-fnmatch-ENV): Set MALLOC_TRACE.
32793 ($(objpfx)tst-fnmatch-mem): New rule.
32794 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
32795 * posix/tst-fnmatch.c (main): Call mtrace.
32796
13b69574
L
327972010-11-11 H.J. Lu <hongjiu.lu@intel.com>
32798
32799 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32800 Support Intel processor model 6 and model 0x2c.
32801
da93d214
LM
328022010-11-10 Luis Machado <luisgpm@br.ibm.com>
32803
32804 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
32805 signed comparison.
32806
8ca52c6e
L
328072010-11-09 H.J. Lu <hongjiu.lu@intel.com>
32808
32809 [BZ #12205]
32810 * string/test-strncasecmp.c (check_result): New function.
32811 (do_one_test): Use it.
32812 (check1): New function.
32813 (test_main): Use it.
32814 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
32815 Support strcasecmp and strncasecmp.
32816
69da074d
UD
328172010-11-08 Ulrich Drepper <drepper@gmail.com>
32818
32819 [BZ #12194]
32820 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
32821 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32822
ff02d528
L
328232010-11-07 H.J. Lu <hongjiu.lu@intel.com>
32824
32825 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
32826 IFUNC support.
32827 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32828 memset-x86-64.
32829 * sysdeps/x86_64/multiarch/bzero.S: New file.
32830 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
32831 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
32832 * sysdeps/x86_64/multiarch/memset.S: New file.
32833 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
32834 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32835 Set bit_Prefer_SSE_for_memop for Intel processors.
32836 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
32837 Define.
32838 (index_Prefer_SSE_for_memop): Define.
32839 (HAS_PREFER_SSE_FOR_MEMOP): Define.
32840
344d0b54
LM
328412010-11-04 Luis Machado <luisgpm@br.ibm.com>
32842
32843 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
32844 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
32845
c0dde15b
UD
328462010-11-03 H.J. Lu <hongjiu.lu@intel.com>
32847
32848 [BZ #12191]
32849 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32850 (__x86_64_raw_data_cache_size_half): Likewise.
32851 (__x86_64_raw_shared_cache_size): Likewise.
32852 (__x86_64_raw_shared_cache_size_half): Likewise.
32853
32854 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32855 (__x86_64_raw_data_cache_size_half): Likewise.
32856 (__x86_64_raw_shared_cache_size): Likewise.
32857 (__x86_64_raw_shared_cache_size_half): Likewise.
32858 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
32859 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
32860 and __x86_64_raw_shared_cache_size_half. Round
32861 __x86_64_data_cache_size_half, __x86_64_data_cache_size
32862 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
32863 to multiple of 256 bytes.
32864
0e516e0e
MS
328652010-11-03 Ulrich Drepper <drepper@gmail.com>
32866
32867 [BZ #12167]
32868 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
32869 of inacessible symlinks. Verify result of symlink before returning it.
32870 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32871 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
32872
0e012e87
ER
328732010-10-28 Erich Ritz <erichritz@gmail.com>
32874
32875 * math/math.h (isinf): Fix typo in comment.
32876
de0ff7bc
UD
328772010-11-01 Ulrich Drepper <drepper@gmail.com>
32878
32879 * po/da.po: Update from translation team.
32880
fa41c84d
UD
328812010-10-26 Ulrich Drepper <drepper@gmail.com>
32882
32883 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
32884 is added to the list.
32885
f0967738
AK
328862010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32887 Ulrich Drepper <drepper@gmail.com>
32888
32889 * elf/dl-object.c (_dl_new_object): Don't append the new object to
32890 the global list here. Move code to...
32891 (_dl_add_to_namespace_list): ...here. New function.
32892 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
32893 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
32894 * elf/dl-load.c (lose): Don't remove the element from the list.
32895 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
32896 (_dl_map_object): Likewise.
32897
328982010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
32899
32900 [BZ #12159]
32901 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
32902 into all bytes of SSE register.
32903 Patch by Richard Li <richardpku@gmail.com>.
32904
f0967738 329052010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
32906
32907 [BZ #12140]
32908 * malloc/malloc.c (_int_free): Fill correct number of bytes when
32909 perturbing.
32910
d0b9e94f
MB
329112010-10-20 Michael B. Brutman <brutman@us.ibm.com>
32912
32913 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
32914 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
32915 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
32916 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
32918 submachine.
32919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
32920
8e9f92e9
AS
329212010-10-22 Andreas Schwab <schwab@redhat.com>
32922
32923 * include/dlfcn.h (__RTLD_SECURE): Define.
32924 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
32925 mode & __RTLD_SECURE instead.
32926 (open_path): Rename preloaded parameter to secure.
32927 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
32928 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
32929 * elf/dl-deps.c (openaux): Likewise.
32930 * elf/rtld.c (struct map_args): Remove is_preloaded.
32931 (map_doit): Don't use it.
32932 (dl_main): Likewise.
32933 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
32934 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
32935
bc96fbda
AS
329362010-09-09 Andreas Schwab <schwab@redhat.com>
32937
32938 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
32939 (sysd-rules-targets): Remove duplicates.
32940 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
32941 rtld-%.$o dependency.
32942
22cd1c9b
AS
329432010-10-18 Andreas Schwab <schwab@redhat.com>
32944
32945 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
32946 _dl_map_object do it.
32947
18edac48
UD
329482010-10-19 Ulrich Drepper <drepper@gmail.com>
32949
32950 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
32951 fast fma builtins, define the macros in the C99 standard.
32952 (FP_FAST_FMAF): Likewise.
32953 (FP_FAST_FMAL): Likewise.
32954 * sysdeps/x86_64/bits/mathdef.h: Likewise.
32955
32956 * bits/mathdef.h: Update copyright year.
32957 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32958
d2050124
MM
329592010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
32960
32961 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
32962 builtins, define the macros in the C99 standard.
32963 (FP_FAST_FMAF): Likewise.
32964 (FP_FAST_FMAL): Likewise.
32965 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
32966 multiply/add.
32967 (FP_FAST_FMAF): Likewise.
32968
475facd1
JJ
329692010-10-15 Jakub Jelinek <jakub@redhat.com>
32970
32971 [BZ #3268]
32972 * math/libm-test.inc (fma_test): Some new testcases.
32973 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
32974 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
32975 y and infinite z. Do multiplication by C already in long double.
32976 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
32977 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
32978 y and infinite z. Do bitwise or of inexact bit into u.d.
32979 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
32980 * sysdeps/i386/fpu/s_fmaf.S: Removed.
32981 * sysdeps/i386/fpu/s_fma.S: Removed.
32982 * sysdeps/i386/fpu/s_fmal.S: Removed.
32983
7c08a05c
JJ
329842010-10-16 Jakub Jelinek <jakub@redhat.com>
32985
32986 [BZ #3268]
32987 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
32988 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
32989 computation is not scheduled after fetestexcept. Fix value
32990 of minimum denormal long double.
32991
f3f7372d
JJ
329922010-10-14 Jakub Jelinek <jakub@redhat.com>
32993
32994 [BZ #3268]
32995 * math/libm-test.inc (fma_test): Add some more tests.
32996 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32997 correctly.
32998
14d43591
AS
329992010-10-15 Andreas Schwab <schwab@redhat.com>
33000
33001 * scripts/data/localplt-s390-linux-gnu.data: New file.
33002 * scripts/data/localplt-s390x-linux-gnu.data: New file.
33003
5e908464
JJ
330042010-10-13 Jakub Jelinek <jakub@redhat.com>
33005
33006 [BZ #3268]
33007 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
33008 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
33009 instead of dbl-64.
33010 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
33011 inlines.
33012 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
33013 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
33014 if one of x and y is very large and the other is subnormal.
33015 * sysdeps/s390/fpu/s_fmaf.c: New file.
33016 * sysdeps/s390/fpu/s_fma.c: New file.
33017 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
33018 * sysdeps/powerpc/fpu/s_fma.S: New file.
33019 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
33020 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
33021 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
33022
330232010-10-12 Jakub Jelinek <jakub@redhat.com>
33024
33025 [BZ #3268]
33026 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
33027 fma tests.
33028 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
33029 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
33030 * sysdeps/i386/i686/multiarch/s_fma.c: Include
33031 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
33032 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
33033 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
33034 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
33035
b833d51f
UD
330362010-10-12 Ulrich Drepper <drepper@redhat.com>
33037
33038 [BZ #12078]
33039 * posix/regcomp.c (parse_branch): One more memory leak plugged.
33040 * posix/bug-regex31.input: Add test case.
33041
1751705d
UD
330422010-10-11 Ulrich Drepper <drepper@gmail.com>
33043
e9b9cbf5
UD
33044 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
33045 * posix/bug-regex31.input: New file.
33046
33047 [BZ #12078]
33048 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
33049 (parse_sub_exp): Fix last change, use postorder.
33050
ef06edbe
UD
33051 * posix/bug-regex31.c: New file.
33052 * posix/Makefile: Add rules to build and run bug-regex31.
33053
a129c80d
UD
33054 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
33055
33056 [BZ #12078]
33057 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
33058
b76b818e
UD
33059 [BZ #12108]
33060 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
33061 to have entries in sys_siglist.
33062
1751705d
UD
33063 [BZ #12093]
33064 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
33065 be NULL.
33066
9ff8d36f
JJ
330672010-10-07 Jakub Jelinek <jakub@redhat.com>
33068
33069 [BZ #3268]
33070 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
33071 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
33072 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
33073 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
33074 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33075 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
33076 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
33077 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
33078 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
33079 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
33080 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
33081 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
33082 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33083 * math/ftestexcept.c (fetestexcept): Likewise.
33084 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
33085 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
33086 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
33087 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
33088 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
33089 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
33090 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33091
af325969
UD
330922010-10-11 Ulrich Drepper <drepper@gmail.com>
33093
c579b202 33094 [BZ #12107]
af325969
UD
33095 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
33096 newline.
33097
67a67b95
UD
330982010-10-06 Ulrich Drepper <drepper@gmail.com>
33099
33100 * string/bug-strstr1.c: New file.
33101 * string/Makefile: Add rules to build and run bug-strstr1.
33102
5fb308bc
EB
331032010-10-05 Eric Blake <eblake@redhat.com>
33104
33105 [BZ #12092]
33106 * string/str-two-way.h (two_way_long_needle): Always clear memory
33107 when skipping input due to the shift table.
33108
45db99c7
UD
331092010-10-03 Ulrich Drepper <drepper@gmail.com>
33110
3b111893
UD
33111 [BZ #12005]
33112 * malloc/mcheck.c: Handle large requests.
33113
45db99c7
UD
33114 [BZ #12077]
33115 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
33116 for strncmp and strncasecmp.
33117 * string/stratcliff.c: Add tests for strcmp and strncmp.
33118 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
33119
cf7a1eb8
NI
331202010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33121
33122 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
33123 __set_fpscr.
33124
6484ba5e
AJ
331252010-09-30 Andreas Jaeger <aj@suse.de>
33126
33127 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
33128 (CGROUP_SUPER_MAGIC): Define.
33129 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33130 Handle btrfs and cgroup file systems.
33131 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33132 Likewise.
33133
91c42559
LM
331342010-09-27 Luis Machado <luisgpm@br.ibm.com>
33135
33136 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
33137 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
33138
87a97932
AK
331392010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33140
33141 [BZ #12067]
33142 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
33143 trying to locate the ELF header.
33144
c21cc9bc
AS
331452010-09-27 Andreas Schwab <schwab@redhat.com>
33146
33147 [BZ #11611]
33148 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
33149 Mask out sign-bit copies when constructing f_fsid.
33150
315970f6
PB
331512010-09-24 Petr Baudis <pasky@suse.cz>
33152
33153 * debug/stack_chk_fail_local.c: Add missing licence exception.
33154 * debug/warning-nop.c: Likewise.
33155
1ac7a2c7
JM
331562010-09-15 Joseph Myers <joseph@codesourcery.com>
33157
33158 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
33159 implementing getdents64 using getdents syscall, set d_type if
33160 __ASSUME_GETDENTS32_D_TYPE.
33161
56801c50
AS
331622010-09-16 Andreas Schwab <schwab@redhat.com>
33163
33164 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
33165 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
33166
dda51327
UD
331672010-09-21 Ulrich Drepper <drepper@redhat.com>
33168
33169 [BZ #12037]
33170 * posix/unistd.h: Undo change of feature selection for ftruncate from
33171 2010-01-11.
33172
8ffcee4a
UD
331732010-09-20 Ulrich Drepper <drepper@redhat.com>
33174
a545ecd9 33175 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
33176 detection.
33177
e24f0a8b
AS
331782010-09-20 Andreas Schwab <schwab@redhat.com>
33179
33180 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
33181 fanotify_mark.
33182 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33183
7291c56f
AS
331842010-09-14 Andreas Schwab <schwab@redhat.com>
33185
33186 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
33187 variables after CHECK_SP call.
33188 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
33189
bc5fb037
AS
331902010-09-13 Andreas Schwab <schwab@redhat.com>
33191 Ulrich Drepper <drepper@redhat.com>
33192
33193 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
33194 re-relocationg ld.so.
33195 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
33196 _dl_init_paths call.
33197 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
33198 here anymore.
33199
e66e7419
UD
332002010-09-14 Ulrich Drepper <drepper@redhat.com>
33201
33202 * resolv/res_init.c (__res_vinit): Count the default server we added.
33203
c044aa75
CLT
332042010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
33205 Ulrich Drepper <drepper@redhat.com>
33206
33207 [BZ #11968]
33208 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33209 (____longjmp_chk): Use %ebx for saving value across system call.
33210 Add unwind info.
33211
32cf4069
AS
332122010-09-06 Andreas Schwab <schwab@redhat.com>
33213
33214 * manual/Makefile: Don't mix pattern rules with normal rules.
33215
817328ee
AS
332162010-09-05 Andreas Schwab <schwab@linux-m68k.org>
33217
33218 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
33219 operation.
33220 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
33221 * libio/iofopncook.c (_IO_cookie_init): Likewise.
33222 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
33223 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
33224 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33225 Likewise.
33226
29fddf61
UD
332272010-09-04 Ulrich Drepper <drepper@redhat.com>
33228
33229 [BZ #11979]
33230 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
33231 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
33232
0959ffc9
UD
332332010-09-02 Ulrich Drepper <drepper@redhat.com>
33234
33235 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
33236 * sysdeps/x86_64/addmul_1.S: Likewise.
33237 * sysdeps/x86_64/lshift.S: Likewise.
33238 * sysdeps/x86_64/mul_1.S: Likewise.
33239 * sysdeps/x86_64/rshift.S: Likewise.
33240 * sysdeps/x86_64/sub_n.S: Likewise.
33241 * sysdeps/x86_64/submul_1.S: Likewise.
33242
ece29840
ST
332432010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
33244
0959ffc9
UD
33245 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
33246 Define __sched_param instead of SCHED_* and sched_param when
ece29840 33247 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 33248 * bits/sched.h [__need_schedparam]
ece29840 33249 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
33250 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
33251 (__defined_schedparam): Define to 1.
ece29840
ST
33252 (__sched_param): New structure, identical to sched_param.
33253 (__need_schedparam): Undefine.
33254
e53a31fe
MF
332552010-08-31 Mike Frysinger <vapier@gentoo.org>
33256
fdc0c10d
MF
33257 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
33258 (epoll_create1): Declare.
33259
e53a31fe
MF
33260 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
33261
a726d796
AS
332622010-08-31 Andreas Schwab <schwab@redhat.com>
33263
33264 [BZ #7066]
33265 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
33266 shifting retval into place.
33267
2f3e3dc7
UD
332682010-09-01 Ulrich Drepper <drepper@redhat.com>
33269
f2933da9
UD
33270 * nis/rpcsvc/nis.h: Update copyright notice.
33271 * nis/rpcsvc/nis.x: Likewise.
33272 * nis/rpcsvc/nis_callback.h: Likewise.
33273 * nis/rpcsvc/nis_callback.x: Likewise.
33274 * nis/rpcsvc/nis_object.x: Likewise.
33275 * nis/rpcsvc/nis_tags.h: Likewise.
33276 * nis/rpcsvc/yp.h: Likewise.
33277 * nis/rpcsvc/yp.x: Likewise.
33278 * nis/rpcsvc/ypupd.h: Likewise.
33279 * nis/yp_xdr.c: Likewise.
33280 * nis/ypupdate_xdr.c: Likewise.
33281
2f3e3dc7
UD
33282 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
33283 mainly the body of pmap_getport. Add parameters to specify timeouts.
33284 (pmap_getport): Use __libc_rpc_getport.
33285 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
33286 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
33287 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
33288
f3dcc2f9
AS
332892010-08-31 Andreas Schwab <schwab@linux-m68k.org>
33290
33291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
33292 fanotify_mark.
33293
6d34eb5b
RM
332942010-08-27 Roland McGrath <roland@redhat.com>
33295
33296 * sysdeps/i386/i686/multiarch/Makefile
33297 (CFLAGS-varshift.c): New variable.
33298
9ea3de11
UD
332992010-08-27 Ulrich Drepper <drepper@redhat.com>
33300
c96d23fc
UD
33301 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
33302 * sysdeps/i386/i686/multiarch/varshift.c: New file.
33303
9ea3de11
UD
33304 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
33305
33306 * sysdeps/x86_64/strlen.S: Minimal code improvement.
33307
623aac7f
L
333082010-08-26 H.J. Lu <hongjiu.lu@intel.com>
33309
33310 * sysdeps/x86_64/strlen.S: Unroll the loop.
33311 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33312 strlen-sse2 strlen-sse2-bsf.
33313 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
33314 __strlen_no_bsf if bit_Slow_BSF is set.
33315 (__strlen_sse42): Removed.
33316 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
33317 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
33318
8b2b7715
RM
333192010-08-25 Roland McGrath <roland@redhat.com>
33320
33321 * sysdeps/x86_64/multiarch/varshift.S: File removed.
33322 * sysdeps/x86_64/multiarch/varshift.c: New file.
33323 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
33324 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
33325 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
33326 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33327
e73015f2
L
333282010-08-25 H.J. Lu <hongjiu.lu@intel.com>
33329
33330 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33331 strlen-sse2 strlen-sse2-bsf.
33332 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
33333 __strlen_sse2_bsf if bit_Slow_BSF is unset.
33334 (__strlen_sse2): Removed.
33335 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
33336 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
33337 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33338 bit_Slow_BSF for Atom.
33339 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
33340 (index_Slow_BSF): Define.
33341 (HAS_SLOW_BSF): Define.
33342
df24a73e
UD
333432010-08-25 Ulrich Drepper <drepper@redhat.com>
33344
33345 [BZ #10851]
33346 * resolv/res_init.c (__res_vinit): When no server address at all
33347 is given default to loopback.
33348
f2ac4868
RM
333492010-08-24 Roland McGrath <roland@redhat.com>
33350
09055553
RM
33351 * configure.in: Remove config-name.h generation.
33352 * configure: Regenerated.
33353 * config-name.in: File removed.
33354 * scripts/config-uname.sh: New file.
33355 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
33356 ($(objdir)config-name.h): New target.
33357
f2ac4868
RM
33358 * sunrpc/rpc_parse.h: Avoid nested comment.
33359
73f27d5e
RH
333602010-08-24 Richard Henderson <rth@redhat.com>
33361 Ulrich Drepper <drepper@redhat.com>
33362 H.J. Lu <hongjiu.lu@intel.com>
33363
33364 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
33365 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
33366 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
33367 Replace _mm_srli_si128 with __m128i_shift_right. Replace
33368 _mm_alignr_epi8 with _mm_loadu_si128.
33369 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
33370 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
33371 (__m128i_shift_right): Removed.
33372 * sysdeps/i386/i686/multiarch/varshift.h: New file.
33373 * sysdeps/i386/i686/multiarch/varshift.S: New file.
33374 * sysdeps/x86_64/multiarch/varshift.h: New file.
33375 * sysdeps/x86_64/multiarch/varshift.S: New file.
33376
84b9230c
MF
333772010-08-21 Mike Frysinger <vapier@gentoo.org>
33378
33379 * configure.in: Move assembler checks to before sysdep dir checking.
33380
9bbd0ddc
PB
333812010-08-20 Petr Baudis <pasky@suse.cz>
33382
33383 * LICENSES: Sync the sunrpc license.
33384
9da4bb31
UD
333852010-08-19 Ulrich Drepper <drepper@redhat.com>
33386
a7ab6ec8
UD
33387 * sunrpc/auth_des.c: Update copyright notice once again.
33388 * sunrpc/auth_none.c: Likewise.
33389 * sunrpc/auth_unix.c: Likewise.
33390 * sunrpc/authdes_prot.c: Likewise.
33391 * sunrpc/authuxprot.c: Likewise.
33392 * sunrpc/bindrsvprt.c: Likewise.
33393 * sunrpc/clnt_gen.c: Likewise.
33394 * sunrpc/clnt_perr.c: Likewise.
33395 * sunrpc/clnt_raw.c: Likewise.
33396 * sunrpc/clnt_simp.c: Likewise.
33397 * sunrpc/clnt_tcp.c: Likewise.
33398 * sunrpc/clnt_udp.c: Likewise.
33399 * sunrpc/clnt_unix.c: Likewise.
33400 * sunrpc/des_crypt.c: Likewise.
33401 * sunrpc/des_soft.c: Likewise.
33402 * sunrpc/get_myaddr.c: Likewise.
33403 * sunrpc/getrpcport.c: Likewise.
33404 * sunrpc/key_call.c: Likewise.
33405 * sunrpc/key_prot.c: Likewise.
33406 * sunrpc/openchild.c: Likewise.
33407 * sunrpc/pm_getmaps.c: Likewise.
33408 * sunrpc/pm_getport.c: Likewise.
33409 * sunrpc/pmap_clnt.c: Likewise.
33410 * sunrpc/pmap_prot.c: Likewise.
33411 * sunrpc/pmap_prot2.c: Likewise.
33412 * sunrpc/pmap_rmt.c: Likewise.
33413 * sunrpc/rpc/auth.h: Likewise.
33414 * sunrpc/rpc/auth_unix.h: Likewise.
33415 * sunrpc/rpc/clnt.h: Likewise.
33416 * sunrpc/rpc/des_crypt.h: Likewise.
33417 * sunrpc/rpc/key_prot.h: Likewise.
33418 * sunrpc/rpc/netdb.h: Likewise.
33419 * sunrpc/rpc/pmap_clnt.h: Likewise.
33420 * sunrpc/rpc/pmap_prot.h: Likewise.
33421 * sunrpc/rpc/pmap_rmt.h: Likewise.
33422 * sunrpc/rpc/rpc.h: Likewise.
33423 * sunrpc/rpc/rpc_des.h: Likewise.
33424 * sunrpc/rpc/rpc_msg.h: Likewise.
33425 * sunrpc/rpc/svc.h: Likewise.
33426 * sunrpc/rpc/svc_auth.h: Likewise.
33427 * sunrpc/rpc/types.h: Likewise.
33428 * sunrpc/rpc/xdr.h: Likewise.
33429 * sunrpc/rpc_clntout.c: Likewise.
33430 * sunrpc/rpc_cmsg.c: Likewise.
33431 * sunrpc/rpc_common.c: Likewise.
33432 * sunrpc/rpc_cout.c: Likewise.
33433 * sunrpc/rpc_dtable.c: Likewise.
33434 * sunrpc/rpc_hout.c: Likewise.
33435 * sunrpc/rpc_main.c: Likewise.
33436 * sunrpc/rpc_parse.c: Likewise.
33437 * sunrpc/rpc_parse.h: Likewise.
33438 * sunrpc/rpc_prot.c: Likewise.
33439 * sunrpc/rpc_sample.c: Likewise.
33440 * sunrpc/rpc_scan.c: Likewise.
33441 * sunrpc/rpc_scan.h: Likewise.
33442 * sunrpc/rpc_svcout.c: Likewise.
33443 * sunrpc/rpc_tblout.c: Likewise.
33444 * sunrpc/rpc_util.c: Likewise.
33445 * sunrpc/rpc_util.h: Likewise.
33446 * sunrpc/rpcinfo.c: Likewise.
33447 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
33448 * sunrpc/rpcsvc/key_prot.x: Likewise.
33449 * sunrpc/rpcsvc/klm_prot.x: Likewise.
33450 * sunrpc/rpcsvc/mount.x: Likewise.
33451 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
33452 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
33453 * sunrpc/rpcsvc/rex.x: Likewise.
33454 * sunrpc/rpcsvc/rstat.x: Likewise.
33455 * sunrpc/rpcsvc/rusers.x: Likewise.
33456 * sunrpc/rpcsvc/sm_inter.x: Likewise.
33457 * sunrpc/rpcsvc/spray.x: Likewise.
33458 * sunrpc/rpcsvc/yppasswd.x: Likewise.
33459 * sunrpc/rtime.c: Likewise.
33460 * sunrpc/svc.c: Likewise.
33461 * sunrpc/svc_auth.c: Likewise.
33462 * sunrpc/svc_authux.c: Likewise.
33463 * sunrpc/svc_raw.c: Likewise.
33464 * sunrpc/svc_run.c: Likewise.
33465 * sunrpc/svc_simple.c: Likewise.
33466 * sunrpc/svc_tcp.c: Likewise.
33467 * sunrpc/svc_udp.c: Likewise.
33468 * sunrpc/svc_unix.c: Likewise.
33469 * sunrpc/svcauth_des.c: Likewise.
33470 * sunrpc/xcrypt.c: Likewise.
33471 * sunrpc/xdr.c: Likewise.
33472 * sunrpc/xdr_array.c: Likewise.
33473 * sunrpc/xdr_float.c: Likewise.
33474 * sunrpc/xdr_mem.c: Likewise.
33475 * sunrpc/xdr_rec.c: Likewise.
33476 * sunrpc/xdr_ref.c: Likewise.
33477 * sunrpc/xdr_sizeof.c: Likewise.
33478 * sunrpc/xdr_stdio.c: Likewise.
33479
9da4bb31
UD
33480 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
33481 handling.
33482
bdaa77bc
AS
334832010-08-19 Andreas Schwab <schwab@redhat.com>
33484
33485 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
33486
fe2f79db
LM
334872010-08-19 Luis Machado <luisgpm@br.ibm.com>
33488
33489 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
33490 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
33491 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
33492 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
33493 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
33494 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
33495 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
33496 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
33497 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
33498 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
33499 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
33500 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
33501 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
33502 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
33503
b9b42ee0
AB
335042010-07-26 Anton Blanchard <anton@samba.org>
33505
33506 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
33507 * malloc/arena.c (heap_trim): Likewise.
33508
1c06ba31
UD
335092010-08-16 Ulrich Drepper <drepper@redhat.com>
33510
33511 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
33512 here. Not...
33513 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
33514 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
33515
f8392f40
L
335162010-08-12 H.J. Lu <hongjiu.lu@intel.com>
33517
33518 * sysdeps/i386/elf/Makefile: New file.
33519
3162f12e
AS
335202010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33521
33522 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
33523 from fanotify_init.
33524 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
33525 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33526
28c90b2c
UD
335272010-08-15 Ulrich Drepper <drepper@redhat.com>
33528
33529 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
33530 of strncasecmp_l.
1feccb6c 33531 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 33532
ca6bb004
UD
335332010-08-14 Ulrich Drepper <drepper@redhat.com>
33534
e9f82e0d
UD
33535 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33536 strncase_l-nonascii.
33537 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33538 Add strncase_l-ssse3.
33539 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
33540 * sysdeps/x86_64/strcmp.S: Likewise.
33541 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
33542 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
33543 * sysdeps/x86_64/strncase.S: New file.
33544 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
33545 * sysdeps/x86_64/strncase_l.S: New file.
33546 * string/Makefile (strop-tests): Add strncasecmp.
33547 * string/test-strncasecmp.c: New file.
33548
33549 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
33550 warning.
33551
ca6bb004
UD
33552 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
33553 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
33554
052fa7b3
AS
335552010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33556
33557 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
33558
962dba78
UD
335592010-08-12 Ulrich Drepper <drepper@redhat.com>
33560
33561 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
33562 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
33563 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
33564
bebff237
AM
335652010-05-01 Alan Modra <amodra@gmail.com>
33566
33567 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
33568 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
33569 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
33570 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
33571 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
33572 tidying. Don't tail-call __sigjmp_save for static lib.
33573 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
33574 save location.
33575 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
33576 (CALL_MCOUNT): Add eh info, and nop after bl.
33577 (TAIL_CALL_SYSCALL_ERROR): New macro.
33578 (PSEUDO_RET): Use it.
33579 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
33580 Correct save location of integer regs and cr.
33581 (_dl_profile_resolve): Correct cr save location. Delete nops
33582 after bl when SHARED. Reduce cfi size a little by better
33583 placement of cfi directives.
33584 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
33585 make a stack frame. Instead use parm save area as a temp.
33586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
33587 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
33588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
33589 Don't make a stack frame for parent, use parm save area.
33590 Increase child stack frame to 112 bytes. Don't save unused reg,
33591 and adjust reg usage. Set up cfi on error recovery and
33592 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
33593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33594 (__makecontext): Add dummy nop after jump to exit.
33595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
33596 Use correct parm save area and cr save, reduce stack frame.
33597 Correct cfi for possible PSEUDO_RET frame setup.
33598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
33599 Branch to local label emitted by PSEUDO_RET rather than
33600 __syscall_error.
33601
02637374
AS
336022010-08-12 Andreas Schwab <schwab@redhat.com>
33603
33604 [BZ #11904]
33605 * locale/programs/locale.c (print_assignment): New function.
33606 (show_locale_vars): Use it.
33607
c3e2f19b
UD
336082010-08-11 Ulrich Drepper <drepper@redhat.com>
33609
3cdaa6ad
UD
33610 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
33611 field.
33612 (struct statfs64): Likewise.
33613 (_STATFS_F_FLAGS): Define.
33614 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
33615 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33616 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
33617 (ST_VALID): Define locally.
33618 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
33619 __statvfs_getflags, use the provided value.
33620 * sysdeps/unix/sysv/linux/kernel-features.h: Define
33621 __ASSUME_STATFS_F_FLAGS.
33622
754f7da3
UD
33623 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
33624
10b3bedc
UD
33625 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
33626 Add sys/fanotify.h.
33627 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
33628 fanotify_mask for GLIBC_2.13.
33629 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
33630 fanotify_init and fanotify_mark.
33631 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33632 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
33633
c08fb0d7
UD
33634 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
33635 Add prlimit.
33636 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
33637 prlimit64 for GLIBC_2.13.
33638 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
33639 prlimit64.
33640 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
33641 syscall.
33642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
33643 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33644 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
33645 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
33646 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
33647 add prlimit alias.
33648 * sysdeps/unix/sysv/linux/prlimit.c: New file.
33649
15bac72b
UD
33650 [BZ #11903]
33651 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
33652 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
33653
c3e2f19b
UD
33654 * nss/Makefile: Add rules to build and run tst-nss-test1.
33655 * shlib-versions: Add entry for libnss_test1.
33656 * nss/nss_test1.c: New file.
33657 * nss/tst-nss-test1.c: New file.
33658
33659 * nss/nsswitch.c (__nss_database_custom): Define new variable.
33660 (__nss_configure_lookup): Set appropriate entry in
33661 __nss_configure_lookup to true.
33662 * nss/nsswitch.h: Define enum with indeces of databases in
33663 databases and __nss_database_custom arrays. Declare
33664 __nss_database_custom.
33665 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
33666 to avoid using nscd when custom rules are installed.
33667 * nss/getXXbyYY_r.c: Likewise.
33668 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33669
33670 * nss/nss_files/files-parse.c: Whitespace fixes.
33671
f15ce4d8
UD
336722010-08-09 Ulrich Drepper <drepper@redhat.com>
33673
33674 [BZ #11883]
33675 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
33676 * posix/fnmatch_loop.c: Likewise.
33677
d22e4cc9
AK
336782010-07-17 Andi Kleen <ak@linux.intel.com>
33679
33680 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
33681 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
33682 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
33683 * Versions.def [GLIBC_2.13]: Add.
33684
805bc17d
UD
336852010-08-06 Ulrich Drepper <drepper@redhat.com>
33686
33687 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33688 Also fail if tpwd after pwuid call is NULL.
33689
5a42321d
ST
336902010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
33691
33692 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
33693 when converting to ms.
33694
fd3ebeda
ST
336952010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33696
33697 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
33698 EOPNOTSUPP errors with ENOTTY.
33699 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
33700 EOPNOTSUPP errors with ENOTTY.
33701
73507d3a
UD
337022010-07-31 Ulrich Drepper <drepper@redhat.com>
33703
33704 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33705 Add strcasecmp_l-ssse3.
33706 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
33707 strcasecmp.
33708 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
33709 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
33710 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
33711
fe36dd02
UD
337122010-07-30 Ulrich Drepper <drepper@redhat.com>
33713
66f6765a
UD
33714 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
33715
42e08a54
UD
33716 * string/Makefile (strop-tests): Add strcasecmp.
33717 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33718 strcasecmp_l-nonascii.
33719 (gen-as-const-headers): Add locale-defines.sym.
33720 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
33721 * sysdeps/x86_64/strcasecmp.S: New file.
33722 * sysdeps/x86_64/strcasecmp_l.S: New file.
33723 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
33724 * sysdeps/x86_64/locale-defines.sym: New file.
33725 * string/test-strcasecmp.c: New file.
33726
fe36dd02
UD
33727 * string/test-strcasestr.c: Test both ends of the range of characters.
33728 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
33729
48cbc0d6
RM
337302010-07-29 Roland McGrath <roland@redhat.com>
33731
76e6d6bc 33732 [BZ #11856]
48cbc0d6
RM
33733 * manual/locale.texi (Yes-or-No Questions): Fix example code.
33734
880113d9
UD
337352010-07-27 Ulrich Drepper <drepper@redhat.com>
33736
33737 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
33738 for ld.so.
33739
deb9cabb
AS
337402010-07-27 Andreas Schwab <schwab@redhat.com>
33741
33742 * manual/memory.texi (Malloc Tunable Parameters): Document
33743 M_PERTURB.
33744
1c7570ff
RM
337452010-07-26 Roland McGrath <roland@redhat.com>
33746
33747 [BZ #11840]
33748 * configure.in (-fgnu89-inline check): Set and substitute
33749 gnu89_inline, not libc_cv_gnu89_inline.
33750 * configure: Regenerated.
33751 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
33752
24fb0f88
UD
337532010-07-26 Ulrich Drepper <drepper@redhat.com>
33754
33755 * string/test-strnlen.c: New file.
33756 * string/Makefile (strop-tests): Add strnlen.
33757 * string/tester.c (test_strnlen): Add a few more test cases.
33758 * string/tst-strlen.c: Better error reporting.
33759
33760 * sysdeps/x86_64/strnlen.S: New file.
33761
8e96b93a
UD
337622010-07-24 Ulrich Drepper <drepper@redhat.com>
33763
33764 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
33765 lower-latency instructions.
33766
dbc676d4
UD
337672010-07-23 Ulrich Drepper <drepper@redhat.com>
33768
33769 * string/test-strcasestr.c: New file.
33770 * string/test-strstr.c: New file.
33771 * string/Makefile (strop-tests): Add strstr and strcasestr.
33772 * string/str-two-way.h: Don't undefine MAX.
33773 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
33774
f6a31e0e
AS
337752010-07-21 Andreas Schwab <schwab@redhat.com>
33776
33777 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33778 strcasestr-nonascii.
33779 (CFLAGS-strcasestr-nonascii.c): Define.
33780 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
33781 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
33782 Remove unused attribute.
33783
5dbc3b6c
RM
337842010-07-20 Roland McGrath <roland@redhat.com>
33785
33786 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
33787 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
33788 ld.so.cache was broken. With it, there is no way to disable dsocaps
33789 like LD_HWCAP_MASK can disable hwcaps.
33790
23d101d8
EPM
337912010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33792
33793 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
33794
cc9f2e47
UD
337952010-07-16 Ulrich Drepper <drepper@redhat.com>
33796
33797 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
33798 call in strcasestr.
33799 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
33800 __strcasestr_sse42_nonascii.
33801 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
33802 strcasestr-nonascii.c.
33803 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
33804
77c1b069
LM
338052010-06-15 Luis Machado <luisgpm@br.ibm.com>
33806
33807 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
33808 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
33809 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
33810 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
33811
440566c3
UD
338122010-07-09 Ulrich Drepper <drepper@redhat.com>
33813
33814 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
33815 fcntl.
33816
5be9d05d
AS
338172010-07-06 Andreas Schwab <schwab@redhat.com>
33818
c30b7ee2 33819 [BZ #11577]
5be9d05d
AS
33820 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
33821 dl_signal_cerror.
33822
8a492a67
UD
338232010-07-06 Ulrich Drepper <drepper@redhat.com>
33824
33825 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
33826 _PC_PIPE_BUF using F_GETPIPE_SZ.
33827
713df3d5
RM
338282010-07-05 Roland McGrath <roland@redhat.com>
33829
33830 * manual/arith.texi (Rounding Functions): Fix rint description
33831 implicit in round description.
33832
702e8f14
UD
338332010-07-02 Ulrich Drepper <drepper@redhat.com>
33834
33835 * elf/Makefile: Fix linking for a few tests to make recent linker
33836 happy.
33837
52ed8be9
AS
338382010-06-30 Andreas Schwab <schwab@redhat.com>
33839
33840 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33841 $(common-objpfx)libc_nonshared.a.
33842
f47c9a11
LM
338432010-06-21 Luis Machado <luisgpm@br.ibm.com>
33844
33845 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
33846 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
33847 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33848 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33849 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
33850 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
33851 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33852 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
33854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
33855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
33856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
33858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
33860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
33861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
33862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
33863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
33865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
33867 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
33868 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
33869 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
33870 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
33871 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
33872 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
33873 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
33874 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
33875 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
33876 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
33877 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
33878 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
33879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
33880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
33881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
33882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
33883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
33884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
33885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
33886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
33887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
33888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
33889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
33890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
33891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
33892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
33893
6fb8cbcb
L
338942010-06-25 H.J. Lu <hongjiu.lu@intel.com>
33895
33896 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
33897 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
33898 * string/memmove.c (memmove): Renamed to ...
33899 (MEMMOVE): ...this. Default to memmove.
33900 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
33901 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
33902 (END_CHK): Define.
33903 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33904 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
33905 mempcpy-ssse3-back memmove-ssse3-back.
33906 * sysdeps/x86_64/multiarch/bcopy.S: New file .
33907 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
33908 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
33909 * sysdeps/x86_64/multiarch/memcpy.S: New file.
33910 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
33911 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
33912 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
33913 * sysdeps/x86_64/multiarch/memmove.c: New file.
33914 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
33915 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
33916 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
33917 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
33918 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
33919 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
33920 Define.
33921 (index_Fast_Copy_Backward): Define.
33922 (HAS_ARCH_FEATURE): Define.
33923 (HAS_FAST_REP_STRING): Define.
33924 (HAS_FAST_COPY_BACKWARD): Define.
33925
4e733bac 339262010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
33927
33928 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33929 Restore proper fallback handling.
33930
63c4ed22
UD
339312010-06-19 Ulrich Drepper <drepper@redhat.com>
33932
ac2b484c
UD
33933 [BZ #11701]
33934 * posix/group_member.c (__group_member): Correct checking loop.
33935
63c4ed22
UD
33936 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
33937 OOM in getpwuid_r correctly. Return error number when the caller
33938 should return, otherwise -1.
33939 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
33940 call returning > 0 value.
33941 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
33942
765ade4b
AS
339432010-06-07 Andreas Schwab <schwab@redhat.com>
33944
33945 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
33946 libc_nonshared.a from targets in modules-names.
33947
80da2e09
KS
339482010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
33949
33950 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33951 requires it.
33952
158db122
LM
339532010-06-10 Luis Machado <luisgpm@br.ibm.com>
33954
33955 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
33956 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
33957 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
33958 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
33959
caa78cf8
AS
339602010-06-02 Andreas Schwab <schwab@redhat.com>
33961
33962 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
33963
b2ef2c01
UD
339642010-06-14 Ulrich Drepper <drepper@redhat.com>
33965
33966 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
33967 and F_GETPIPE_SZ.
33968 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33969 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33970 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33971 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33972 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33973 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
33974
fbd643b6
RM
339752010-06-14 Roland McGrath <roland@redhat.com>
33976
33977 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
33978
f32f2869
JJ
339792010-06-07 Jakub Jelinek <jakub@redhat.com>
33980
33981 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
33982 __REDIRECT followed by __THROW.
33983 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
33984 * posix/getopt.h (getopt): Likewise.
33985
2a50c078
EPM
339862010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33987
33988 * hurd/lookup-at.c (__file_name_lookup_at): Accept
33989 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
33990 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
33991 in AT_FLAGS.
33992 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33993 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33994
eb5ad2eb
LM
339952010-05-28 Luis Machado <luisgpm@br.ibm.com>
33996
33997 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33998
3c88fe1e
L
339992010-05-26 H.J. Lu <hongjiu.lu@intel.com>
34000
34001 [BZ #11640]
34002 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34003 Properly check family and model.
34004
d2f73151
TY
340052010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
34006
34007 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
34008
ebd2e13d
LM
340092010-05-24 Luis Machado <luisgpm@br.ibm.com>
34010
34011 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
34012
b32b8b45
UD
340132010-05-21 Ulrich Drepper <drepper@redhat.com>
34014
34015 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
34016 symbol reference.
34017
9acbe24d
AS
340182010-05-19 Andreas Schwab <schwab@redhat.com>
34019
34020 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
34021 symbol reference.
34022
f0ccf6ea
AS
340232010-05-21 Andreas Schwab <schwab@redhat.com>
34024
3d04ff3a
AS
34025 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
34026 and internal_recvmmsg.
34027 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
34028 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
34029 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
34030 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
34031
f0ccf6ea
AS
34032 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
34033 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34034 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34035
5b08ac57
AS
340362010-05-20 Andreas Schwab <schwab@redhat.com>
34037
34038 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
34039
4828935d
LM
340402010-05-17 Luis Machado <luisgpm@br.ibm.com>
34041
34042 POWER7 optimizations.
34043 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
34044 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
34045
373d545e
UD
340462010-05-19 Ulrich Drepper <drepper@redhat.com>
34047
34048 * version.h: Update for 2.13 development version.
34049
21a2b1ae
AS
340502010-05-12 Andrew Stubbs <ams@codesourcery.com>
34051
34052 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
34053 exceptions. Return 0.
34054
3f7dcb2b
RM
340552010-05-07 Roland McGrath <roland@redhat.com>
34056
34057 * elf/ldconfig.c (main): Add a const.
34058
5f24d53a 340592010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 34060
a160f8d8
UD
34061 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
34062 (args_options): Add no-idn option.
34063 (ahosts_keys_int): Add idn_flags to ai_flags.
34064 (parse_option): Handle 'i' option to clear idn_flags.
34065
5f24d53a
UD
34066 * malloc/malloc.c (_int_free): Possible race in the most recently
34067 added check. Only act on the data if no current modification
34068 happened.
265bb1ce
UD
34069
34070See ChangeLog.17 for earlier changes.