]> sourceware.org Git - glibc.git/blame - ChangeLog
Update sparc ULPs.
[glibc.git] / ChangeLog
CommitLineData
3bf78b71
DM
12013-10-10 David S. Miller <davem@davemloft.net>
2
3 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4
6f10289e
JM
52013-10-10 Joseph Myers <joseph@codsourcery.com>
6
bd878fc0
JM
7 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
10 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
11 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
13 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14
6f10289e
JM
15 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16 for NaNs before doing comparisons on argument.
17 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18 Likewise.
19
321e2684
WN
202013-10-10 Will Newton <will.newton@linaro.org>
21
22 * malloc/hooks.c (memalign_check): Ensure the value of bytes
23 passed to _int_memalign does not overflow.
24
40fefba1
TR
252013-10-10 Torvald Riegel <triegel@redhat.com>
26
27 * scripts/bench.pl: Add include-sources directive.
28 * benchtests/README: Update documentation.
29
2ae21ed2
JM
302013-10-10 Joseph Myers <joseph@codesourcery.com>
31
dcc2dd3f
JM
32 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
33 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
34 instead of FP_INIT_ROUNDMODE.
35 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
36 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
37
2ae21ed2
JM
38 [BZ #16034]
39 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
40 copy class of input value.
41 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
42 not handle exceptions.
43 * soft-fp/negsf2.c (__negsf2): Likewise.
44 * soft-fp/negtf2.c (__negtf2): Likewise.
45 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
46
cb8f9562
JM
472013-10-09 Joseph Myers <joseph@codesourcery.com>
48
49 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
50 semicolon. From Linux kernel.
51
5b60c59d
AB
522013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
53
54 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
55
b86835ca
YC
562013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
57
58 [BZ #156]
59 * manual/socket.texi: Added statement about buffer
60 for gethostbyname2_r.
61
e7044ea7
OB
622013-10-08 Ondřej Bílka <neleai@seznam.cz>
63
64 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
65 Use .p2align directive instead, throughout.
66 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
67 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
68 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
69 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
70 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
71 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
72 * sysdeps/x86_64/strchr.S: Likewise.
73 * sysdeps/x86_64/strrchr.S: Likewise.
74
09544cbc
SP
752013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
76
88576635
SP
77 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
78
e7b2d1dd
SP
79 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
80
09544cbc
SP
81 * sysdeps/generic/math_private.h (__mpsin1): Remove
82 declaration.
83 (__mpcos1): Likewise.
84 (__mpsin): New argument __range_reduce.
85 (__mpcos): Likewise.
86 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
87 (slow): Use __mpsin and __mpcos.
88 (slow1): Likewise.
89 (slow2): Likewise.
90 (sloww): Likewise.
91 (sloww1): Likewise.
92 (sloww2): Likewise.
93 (bsloww): Likewise.
94 (bsloww1): Likewise.
95 (bsloww2): Likewise.
96 (cslow2): Likewise.
97 (csloww): Likewise.
98 (csloww1): Likewise.
99 (csloww2): Likewise.
100 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
101 range_reduce. Merge in __mpsin1.
102 (__mpcos): Likewise.
103 (__mpsin1): Remove.
104 (__mpcos1): Likewise.
105
7602d070
JM
1062013-10-07 Joseph Myers <joseph@codesourcery.com>
107
108 * locale/loadlocale.c (_nl_intern_locale_data): Use
109 LOCFILE_ALIGNED_P.
110 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
111 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
112 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
113 obstack data is appropriately aligned.
114 (obstack_int32_grow_fast): Likewise.
115 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
116 * locale/programs/locfile.c (add_locale_uint32): Likewise.
117 (add_locale_uint32_array): Likewise.
118
a357259b
SP
1192013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
120
121 * benchtests/Makefile: Remove ARGLIST and RET variables.
122 ($(objpfx)bench-%.c): Pass only function name to the script.
123 * benchtests/README: Update documentation.
124 * benchtests/acos-inputs: Add new directives.
125 * benchtests/acosh-inputs: Likewise.
126 * benchtests/asin-inputs: Likewise.
127 * benchtests/asinh-inputs: Likewise.
128 * benchtests/atan-inputs: Likewise.
129 * benchtests/atanh-inputs: Likewise.
130 * benchtests/cos-inputs: Likewise.
131 * benchtests/cosh-inputs: Likewise.
132 * benchtests/exp-inputs: Likewise.
133 * benchtests/log-inputs: Likewise.
134 * benchtests/pow-inputs: Likewise.
135 * benchtests/rint-inputs: Likewise.
136 * benchtests/sin-inputs: Likewise.
137 * benchtests/sinh-inputs: Likewise.
138 * benchtests/tan-inputs: Likewise.
139 * benchtests/tanh-inputs: Likewise.
140 * scripts/bench.pl: Add support for new directives.
141
9ec1b13d
AM
1422013-10-07 Alan Modra <amodra@gmail.com>
143
144 * README: Fix careless merge.
145
8b7d57cd
AM
1462013-10-05 Alan Modra <amodra@gmail.com>
147
148 * NEWS: Mention powerpc64le support and bugs fixed.
149 * README: Both big-endian and little-endian powerpc64 supported.
150
7b7bab13
ST
1512013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
152
153 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
154 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
155 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
156 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
157
d39baad1
RA
1582013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
159
160 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
161 match prototype.
162
cd78f7e7
JM
1632013-10-04 Joseph Myers <joseph@codesourcery.com>
164
29d73d86
JM
165 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
166 Move -mhard-float appending from
167 ports/sysdeps/powerpc/powerpc32/Makefile.
168 [$(with-fp) = yes] (ASFLAGS): Likewise.
169 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
170 * sysdeps/powerpc/nofpu: Move directory from
171 ports/sysdeps/powerpc/nofpu.
172 * sysdeps/powerpc/soft-fp: Move directory from
173 ports/sysdeps/powerpc/soft-fp.
174 * sysdeps/powerpc/powerpc32/405: Move directory from
175 ports/sysdeps/powerpc/powerpc32/405.
176 * sysdeps/powerpc/powerpc32/440: Move directory from
177 ports/sysdeps/powerpc/powerpc32/440.
178 * sysdeps/powerpc/powerpc32/464: Move directory from
179 ports/sysdeps/powerpc/powerpc32/464.
180 * sysdeps/powerpc/powerpc32/476: Move directory from
181 ports/sysdeps/powerpc/powerpc32/476.
182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
183 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
185 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
187 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
189 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
191 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
192 * README: Update for powerpc-*-linux-gnu software floating point
193 support in libc.
194
e246b347
JM
195 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
196 case to powerpc/powerpc32*.
197 * sysdeps/unix/sysv/linux/configure: Regenerated.
198
89c2003e
JM
199 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
200 (_FPU_MASK_OM): Define as 0x04.
201 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
202 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
203 0x00c10080.
204 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
205 0x0000003c.
206 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
207
cd78f7e7
JM
208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
209 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
210 getcontext_e500.
211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
212 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
213 setcontext_e500.
214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
215 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
216 and setcontext_e500.
217
c755294d
CL
2182013-10-04 Chris Leonard <cjl@sugarlabs,.org>
219
220 * locale/iso-3166.def: Update iso-1366.def and related occurrences
221
e16d221c
SP
2222013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
223
224 * manual/threads.texi (Default Thread Attributes): Fix typo.
225
215c7d43
WN
2262013-10-04 Will Newton <will.newton@linaro.org>
227
228 * malloc/Makefile: Add tst-memalign.
229 * malloc/tst-memalign.c: New file.
230
27d0461b
WN
231 * malloc/tst-posix_memalign.c: Add comments.
232 (do_test): Add comments and call free on all potentially
233 allocated pointers. Add space after cast.
234
1bc92709
WN
235 * malloc/tst-pvalloc.c: Add comments.
236 (do_test): Add comments and call free on all potentially
237 allocated pointers. Remove duplicate check for NULL pointer.
238 Add space after cast.
239
66a9be9d
WN
240 * malloc/tst-valloc.c: Add comments.
241 (do_test): Add comments and call free on all potentially
242 allocated pointers. Remove duplicate check for NULL pointer.
243 Add space after cast.
244
4cb81307
AM
2452013-10-04 Alan Modra <amodra@gmail.com>
246
247 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
248 Use stdint types in rather than __attribute__((mode())).
249 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
250
f8e3e9f3
AM
2512013-10-04 Alan Modra <amodra@gmail.com>
252
253 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
254 Correct handling of unaligned relocs for little-endian.
255 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
256
8f9ebb08
AM
2572013-10-04 Alan Modra <amodra@gmail.com>
258
259 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
260 * configure: Regenerate.
261 * nptl/shlib-versions: Powerpc*le starts at 2.18.
262 * shlib-versions: Likewise.
263
0edf96c2
AM
2642013-10-04 Alan Modra <amodra@gmail.com>
265
266 * string/tester.c (test_memrchr): Increment reported test cycle.
267
e0f7a380
AM
2682013-10-04 Alan Modra <amodra@gmail.com>
269
270 * string/test-memcpy.c (do_one_test): When reporting errors, print
271 string address and don't overrun end of string.
272
466b0393
AM
2732013-10-04 Alan Modra <amodra@gmail.com>
274
275 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
276 insrdi. Make better use of reg selection to speed exit slightly.
277 Schedule entry path a little better. Remove useless "are we done"
278 checks on entry to main loop. Handle wrapping around zero address.
279 Correct main loop count. Handle single left-over word from main
280 loop inline rather than by using loop_small. Remove extra word
281 case in loop_small caused by wrong loop count. Add little-endian
282 support.
283 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
284 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
285 cache hint.
286 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
287 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
288 support. Avoid rlwimi.
289 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
290
3be87c77
AM
2912013-10-04 Alan Modra <amodra@gmail.com>
292
293 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 294 insrdi. Formatting.
3be87c77
AM
295 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
296 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
297 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
298 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
299 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
300 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
301
759cfef3
AM
3022013-10-04 Alan Modra <amodra@gmail.com>
303
304 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
305 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
306 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
307 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
308 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
309 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
310 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
311 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
312 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
313 use of regs. Use power7 mtocrf. Tidy function tails.
314
fe6e95d7
AM
3152013-10-04 Alan Modra <amodra@gmail.com>
316
317 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
318 Formatting. Consistently use rXXX register defines or rN defines.
319 Use early exit labels that avoid restoring unused non-volatile regs.
320 Make cr field use more consistent with rWORDn compares. Rename
321 regs used as shift registers for unaligned loop, using rN defines
322 for short lifetime/multiple use regs.
323 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
324 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
325 addi 1,1,64 to pop stack frame. Simplify return value code.
326 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
327
664318c3
AM
3282013-10-04 Alan Modra <amodra@gmail.com>
329
330 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
331 support. Correct typos, formatting. Optimize tail. Use insrdi
332 rather than rlwimi.
333 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
334 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
335 little-endian support. Correct typos.
336 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
337 rather than rlwimi.
338 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
339 in loop and entry code to keep "and." results.
340 (strchr): Add little-endian support. Comment. Move cntlzd
341 earlier in tail.
342 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
343
43b84013
AM
3442013-10-04 Alan Modra <amodra@gmail.com>
345
346 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
347 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
348 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
349 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
350
8a7413f9
AM
3512013-10-04 Alan Modra <amodra@gmail.com>
352
353 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
354 (rTMP): Define as r11.
355 (strcmp): Add little-endian support. Optimise tail.
356 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
357 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
358 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
359 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
360 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
361 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
362 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
363
33ee81de
AM
3642013-10-04 Alan Modra <amodra@gmail.com>
365
366 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
367 little-endian support. Remove unnecessary "are we done" tests.
368 Handle "s" wrapping around zero and extremely large "size".
369 Correct main loop count. Handle single left-over word from main
370 loop inline rather than by using small_loop. Correct comments.
371 Delete "zero" tail, use "end_max" instead.
372 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
373
db9b4570
AM
3742013-10-04 Alan Modra <amodra@gmail.com>
375
376 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
377 support. Don't branch over align.
378 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
379 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
380 support. Rearrange tmp reg use to suit. Comment.
381 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
382
f7c399cf
AM
3832013-10-04 Alan Modra <amodra@gmail.com>
384
385 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
386
0b2c2ace
AM
3872013-10-04 Alan Modra <amodra@gmail.com>
388
389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
390 conditional form of branch and link when obtaining pc.
391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
392
02f04a6c
AM
3932013-10-04 Alan Modra <amodra@gmail.com>
394
395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
396 HIWORD/LOWORD.
397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
399
9b874b2f
AM
4002013-10-04 Alan Modra <amodra@gmail.com>
401
402 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
403 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
404 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
405 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
406 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
407 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
408 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
409 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
410 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
411 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
412
be1e5d31
AB
4132013-10-04 Anton Blanchard <anton@au1.ibm.com>
414 Alistair Popple <alistair@ozlabs.au.ibm.com>
415 Alan Modra <amodra@gmail.com>
416
417 [BZ #15723]
418 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
419 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
420 _dl_hwcap access for little-endian.
421 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
422 destroy vmx regs when saving unaligned.
423 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
424 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
425 destroy vmx regs when saving unaligned.
426
fef13a78
AM
4272013-10-04 Alan Modra <amodra@gmail.com>
428
429 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
430 Don't use a union to pack hi/low value.
431
76a66d51
AB
4322013-10-04 Anton Blanchard <anton@au1.ibm.com>
433
434 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
435 for little-endian.
436 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
437 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
438 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
439 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
440 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
441
6a31fe7f
AM
4422013-10-04 Alan Modra <amodra@gmail.com>
443
444 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
445 constants to usual value for .cst8 section, and remove redundant
446 high address load.
447 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
448 constant for 0x1p52. Load little-endian words of double from
449 correct stack offsets.
450
7b88401f
AM
4512013-10-04 Alan Modra <amodra@gmail.com>
452
453 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
454 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
455 words of double from correct stack offsets.
456 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
457 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
458 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
459 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
460 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
461 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
462 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
463 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
464 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
465 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
466 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
467 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
468 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
469 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
470 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
471 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
472 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
473
9c008155
AM
4742013-10-04 Alan Modra <amodra@gmail.com>
475
476 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
477 64-bit int/double union.
478 (_FPU_SETCW): Likewise.
479 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
480 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
481
da13146d
AM
4822013-10-04 Alan Modra <amodra@gmail.com>
483
484 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
485 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
486
603e8410
AM
4872013-10-04 Alan Modra <amodra@gmail.com>
488
489 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
490 use vector int constants.
491 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
492
4a28b3ca
AB
4932013-10-04 Anton Blanchard <anton@au1.ibm.com>
494
495 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
496 array with long long.
497 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
498 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
499 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
500 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
501 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
502 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
503 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
504 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
505 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
506 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
507 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
508 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
509 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
510
2ca85d2b
AB
5112013-10-04 Anton Blanchard <anton@au1.ibm.com>
512
513 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
514 (__signbit): Likewise. Correct for little-endian.
515 (__signbitl): Call __signbit.
516 (lrint): Correct for little-endian.
517 (lrintf): Call lrint.
518
62a728ae
AM
5192013-10-04 Alan Modra <amodra@gmail.com>
520
521 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
522 union 32-bit int array member with 64-bit int array.
523 (t515, tm256): Double rather than long double.
524 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
525
32c301df
AM
5262013-10-04 Alan Modra <amodra@gmail.com>
527
528 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
529 Delete.
530 (IEEE854_LONG_DOUBLE_BIAS): Delete.
531 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
532 version of math_ldbl.h.
533
650ef4bd
AM
5342013-10-04 Alan Modra <amodra@gmail.com>
535
536 [BZ #15734], [BZ #15735]
537 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
538 all uses of ieee875 long double macros and unions. Simplify test
539 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
540 ldbl_extract_mantissa value for ix,iy exponents. Properly
541 normalize after ldbl_extract_mantissa, and don't add hidden bit
542 already handled. Don't treat low word of ieee854 mantissa like
543 low word of IBM long double and mask off bit when testing for
544 zero.
545 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
546 all uses of ieee875 long double macros and unions. Simplify tests
547 for 0.0L and inf. Correct double adjustment of k. Delete dead code
548 adjusting ha,hb. Simplify code setting kld. Delete two600 and
549 two1022, instead use their values. Recognise that tests for large
550 "a" and small "b" are mutually exclusive. Rename vars. Comment.
551 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
552 Rewrite all uses of ieee875 long double macros and unions. Simplify
553 test for 0.0L and nan. Correct negation.
554 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
555 ieee875 long double macros and unions. Correct output for large
556 magnitude x. Correct absolute value calculation.
557 (__erfcl): Likewise.
558 * math/libm-test.inc: Add tests for errors discovered in IBM long
559 double versions of fmodl, remainderl, erfl and erfcl.
560
765714ca
AM
5612013-10-04 Alan Modra <amodra@gmail.com>
562
563 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
564 all uses of ieee854 long double macros and unions. Simplify tests
565 for long doubles that are fully specified by the high double.
566 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
567 Likewise.
568 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
569 Remove dead code too.
570 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
571 (__ieee754_ynl): Likewise.
572 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
573 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
574 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
575 Remove dead code too.
576 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
577 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
578 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
579 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
580 Simplify.
581 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
582 Simplify.
583 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
584 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
585 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
586 Comment on variable precision.
587 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
588 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
589 Likewise.
590 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
591 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
592 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
593 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
594 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
595
4ebd120c
AM
5962013-10-04 Alan Modra <amodra@gmail.com>
597
598 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
599 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
600 all uses of ieee854 long double macros and unions.
601 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
602 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
603 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
604 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
605 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
606 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
607 Likewise.
608 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
609 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
610 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
611 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
612 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
613 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
614 Simplify sign and nan test too.
615 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
616 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
617 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
618 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
619 Likewise.
620 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
621 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
622 Likewise.
623 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
624 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
625 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
626 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
627 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
628 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
629
1b6adf88
AM
6302013-10-04 Alan Modra <amodra@gmail.com>
631
632 * stdio-common/printf_size.c (__printf_size): Don't use
633 union ieee854_long_double in fpnum union.
634 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
635 signbit macro to retrieve sign from long double.
636 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
637 retrieve sign from long double.
638 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
639 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
640 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
641 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
642 * math/test-misc.c (main): Don't use union ieee854_long_double.
643
4cf69995
AM
6442013-10-04 Alan Modra <amodra@gmail.com>
645
646 [BZ #15680]
647 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
648 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
649 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
650 calculation. Remove unnecessary test for denormal exponent.
651 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
652 Correct handling of denormals. Avoid undefined shift behaviour.
653 Correct normalisation of low mantissa when low double is denormal.
654 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
655 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
656 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
657 Correct normalisation of low mantissa. Test for overflow of high
658 mantissa and normalise.
659 (ldbl_nearbyint): Use more readable constant for two52.
660 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
661 (__mpn_construct_long_double): Fix test for overflow of high
662 mantissa and correct normalisation. Avoid undefined shift.
663
9605ca6c
AM
6642013-10-04 Alan Modra <amodra@gmail.com>
665
666 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
667 (union ibm_extended_long_double): Define as an array of ieee754_double.
668 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
669 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
670 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
671 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
672 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
673 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
674 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
675 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
676 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
677 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
678 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
679
975569d0
JM
6802013-10-03 Joseph Myers <joseph@codesourcery.com>
681
d3d23756
JM
682 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
683 page size instead of calling getpagesize.
684
975569d0
JM
685 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
686 (LOCFILE_ALIGN_MASK): Likewise.
687 (LOCFILE_ALIGN_UP): Likewise.
688 (LOCFILE_ALIGNED_P): Likewise.
689 * locale/programs/ld-collate.c (collate_output): Use the new
690 macros instead of __alignof__ (int32_t).
691 * locale/weight.h (findidx): Likewise.
692
b1fe1f2b
OB
6932013-10-03 Ondřej Bílka <neleai@seznam.cz>
694
695 [BZ #431]
696 * manual/string.texi: Fix strncat and wcsncat.
697
5f855e35
BM
6982013-10-03 Brooks Moses <bmoses@google.com>
699
700 [BZ #15915]
701 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
702 * Makerules: ...here, and adjust associated comments.
703
3cef6009
WN
7042013-10-02 Will Newton <will.newton@linaro.org>
705
706 * malloc/Makefile: Add tst-pvalloc.
707 * malloc/tst-pvalloc.c: New file.
708
7815420b
WN
7092013-10-02 Will Newton <will.newton@linaro.org>
710
711 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
712 improve test coverage.
713
4868b204
WN
7142013-10-02 Will Newton <will.newton@linaro.org>
715
716 * malloc/Makefile: Add tst-posix_memalign.
717 * malloc/tst-posix_memalign.c: New file.
718
29c793b3
EB
7192013-10-01 Eric Blake <eblake@redhat.com>
720
721 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
722 Use __THROWNL rather than __THROW on static functions.
723
fd967522
PM
7242013-09-30 Petr Machata <pmachata@redhat.com>
725
726 * elf/elf.h (R_AARCH64_ABS16): New macro.
727 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
728 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
729 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
730 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
731 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
732 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
733 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
734 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
735 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
736 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
737 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
738 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
739 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
740 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
741 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
742 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
743 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
744 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
745 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
746 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
747 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
748 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
749 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
750 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
751 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
752 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
753 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
754 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
755 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
756 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
757 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
758 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
759 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
760 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
761 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
762 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
763 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
764 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
765 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
766 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
767 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
768 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
769 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
770 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
771 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
772 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
773 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
774 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
775 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
776 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
777 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
778 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
779 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
780 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
781 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
782 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
783 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
784 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
785 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
786 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
787 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
788 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
789 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
790 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
791 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
792 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
793 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
794 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
795 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
796 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
797 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
798 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
799 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
800 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
801 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
802 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
803 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
804 (R_AARCH64_TLSDESC_LDR): Likewise.
805 (R_AARCH64_TLSDESC_ADD): Likewise.
806 (R_AARCH64_TLSDESC_CALL): Likewise.
807
b2179107
AS
8082013-09-30 Andreas Schwab <schwab@suse.de>
809
810 [BZ #15048]
811 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
812 the nss database lookup.
813 * nscd/initgrcache.c (addinitgroupsX): Likewise.
814 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
815
47f28d0a
MF
8162013-09-28 Mike Frysinger <vapier@gentoo.org>
817
818 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
819
8202013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
821
822 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
823 ${Bash-specific parameter/pattern/string} parameter expansion.
824 * sysdeps/unix/make-syscalls.sh: Likewise.
825
f4518a17
KK
8262013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
827
828 * sysdeps/sh/stackguard-macros.h: New file.
829
dc1a95c7
OB
8302013-09-26 Ondřej Bílka <neleai@seznam.cz>
831
832 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
833 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
834 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
835 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
836 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
837 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
838
5ebbff8f
AZ
8392013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
840
841 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
842 Fix thread ID register.
843
4fd2cf9f
JM
8442013-09-25 Joseph Myers <joseph@codesourcery.com>
845
846 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
847 [POSIX || UNIX98]: Require rather than permitting all symbols from
848 <time.h>.
849 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
850 element of struct sched_param.
851 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
852 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
853 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
854 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
855 constant.
856
12c22bc4
OL
8572013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
858
859 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
860 argument calculation.
861
a03d8ea7
JM
8622013-09-24 Joseph Myers <joseph@codesourcery.com>
863
864 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
865 Expect macro.
866 [POSIX] (pthread_attr_t): Do not require type.
867 [POSIX] (pthread_cond_t): Likewise.
868 [POSIX] (pthread_condattr_t): Likewise.
869 [POSIX] (pthread_key_t): Likewise.
870 [POSIX] (pthread_mutex_t): Likewise.
871 [POSIX] (pthread_mutexattr_t): Likewise.
872 [POSIX] (pthread_once_t): Likewise.
873 [POSIX] (pthread_t): Likewise.
874 [POSIX-based standards] (pthread_atfork): Expect function.
875
6055173a
JM
8762013-09-24 Joseph Myers <joseph@codesourcery.com>
877 Richard Sandiford <richard@codesourcery.com>
878
879 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
880 (swap_endianness_p): New extern variable.
881 (set_big_endian): New inline function.
882 (maybe_swap_uint32): Likewise.
883 (maybe_swap_uint32_array): Likewise.
884 (maybe_swap_uint32_obstack): Likewise.
885 * locale/programs/locfile.c: Include <stdbool.h>.
886 (swap_endianness_p): New variable.
887 (add_locale_uint32): Call maybe_swap_uint32.
888 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
889 (write_locale_data): Call maybe_swap_uint32_array.
890 * locale/programs/ld-collate.c (obstack_int32_grow): Call
891 maybe_swap_uint32.
892 (obstack_int32_grow_fast): Likewise.
893 (output_weightwc): Call maybe_swap_uint32_obstack.
894 (collate_output): Likewise.
895 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
896 (OPT_LITTLE_ENDIAN): Likewise.
897 (options): Add --little-endian and --big-endian options.
898 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
899 * locale/programs/locarchive.c: Include "locfile.h".
900 (GET): New macro.
901 (SET): Likewise.
902 (INC): Likewise.
903 (create_archive): Use the new macros to access fields of
904 structures directly mapped from or written to locale archives.
905 (oldlocrecentcmp): Likewise.
906 (enlarge_archive): Likewise.
907 (insert_name): Likewise.
908 (add_alias): Likewise.
909 (add_locale): Likewise.
910 (delete_locales_from_archive): Likewise.
911 (show_archive_content): Likewise.
912 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
913 locale data.
914
39bf0bb4
RM
9152013-09-24 Roland McGrath <roland@hack.frob.com>
916
917 * manual/freemanuals.texi: Updated from (newly) canonical copy at
918 http://www.gnu.org/doc/freemanuals.texi.
919 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
920
f02eed10
WN
9212013-09-24 Will Newton <will.newton@linaro.org>
922
923 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
924 macro.
925
a3a6c312
JM
9262013-09-23 Joseph Myers <joseph@codesourcery.com>
927
928 * locale/hashval.h (compute_hashval): Interpret bytes of key as
929 unsigned char.
930
107375ac
MR
9312013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
932
933 * manual/threads.texi (POSIX Threads): Fix a typo.
934
141f3a77
SP
9352013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
936
303e567a
SP
937 [BZ #14547]
938 * string/tst-strcoll-overflow.c: New test case.
939 * string/Makefile (xtests): Add tst-strcoll-overflow.
940 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
941 cache if string sizes may cause integer overflow.
942
141f3a77
SP
943 [BZ #14547]
944 * string/strcoll_l.c (coll_seq): New members rule, idx,
945 save_idx and back_us.
946 (get_next_seq_nocache): New function.
947 (do_compare_nocache): New function.
948 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
949 when malloc fails.
950
c61b4d41
CD
9512013-09-23 Carlos O'Donell <carlos@redhat.com>
952
0b1f8e35
CD
953 [BZ #15754]
954 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
955 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
956 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
957
c61b4d41
CD
958 [BZ #15754]
959 * elf/Makefile (tests): Add tst-ptrguard1.
960 (tests-static): Add tst-ptrguard1-static.
961 (tst-ptrguard1-ARGS): Define.
962 (tst-ptrguard1-static-ARGS): Define.
963 * elf/tst-ptrguard1.c: New file.
964 * elf/tst-ptrguard1-static.c: New file.
965 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
966 * sysdeps/i386/stackguard-macros.h: Likewise.
967 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
968 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
969 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
970 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
971 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
972 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
973
9742013-09-23 Hector Marco <hecmargi@upv.es>
975 Ismael Ripoll <iripoll@disca.upv.es>
976 Carlos O'Donell <carlos@redhat.com>
977
978 [BZ #15754]
979 * sysdeps/generic/stackguard-macros.h: Define
980 __pointer_chk_guard_local and POINTER_CHK_GUARD.
981 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
982 Define __pointer_chk_guard_local.
983 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
984 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
985
f5f4e7b4
VV
9862013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
987
988 [BZ #15859]
989 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
990
5bb43a43
AS
9912013-09-20 Andreas Schwab <schwab@linux-m68k.org>
992
993 * include/string.h (__ffs): Declare as hidden.
994 * string/ffs.c (__ffs): Define as hidden.
995 * sysdeps/i386/ffs.c (__ffs): Likewise.
996 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
997 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
998 * sysdeps/s390/ffs.c (__ffs): Likewise.
999 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
1000
3ea5be54
AO
10012013-09-20 Alexandre Oliva <aoliva@redhat.com>
1002
ffb89e53
AO
1003 * NEWS: Mention malloc probes.
1004
322dea08
AO
1005 * malloc/arena.c (new_heap): New memory_heap_new probe.
1006 (grow_heap): New memory_heap_more probe.
1007 (shrink_heap): New memory_heap_less probe.
1008 (heap_trim): New memory_heap_free probe.
1009 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
1010 (systrim): New memory_sbrk_less probe.
1011 * manual/probes.texi: Document them.
1012
655673f3
AO
1013 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
1014 * manual/probes.texi: Document it.
1015
35fed6f1
AO
1016 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
1017 (__libc_realloc): Add memory_realloc_retry probe.
1018 (__libc_memalign): Add memory_memalign_retry probe.
1019 (__libc_valloc): Add memory_valloc_retry probe.
1020 (__libc_pvalloc): Add memory_pvalloc_retry probe.
1021 (__libc_calloc): Add memory_calloc_retry probe.
1022 * manual/probes.texi: Document them.
1023
6999d38c
AO
1024 * malloc/arena.c (get_free_list): Add probe
1025 memory_arena_reuse_free_list.
1026 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
1027 and memory_arena_reuse.
1028 (arena_get2) [!PER_THREAD]: Likewise.
1029 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
1030 memory_arena_reuse_realloc.
1031 * manual/probes.texi: Document them.
1032
0653427f
AO
1033 * malloc/malloc.c (__libc_free): Add
1034 memory_mallopt_free_dyn_thresholds probe.
1035 (__libc_mallopt): Add multiple memory_mallopt probes.
1036 * manual/probes.texi: Document them.
1037
3ea5be54
AO
1038 * malloc/malloc.c: Include stap-probe.h.
1039 (__libc_mallopt): Add memory_mallopt probe.
1040 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
1041 * manual/probes.texi: New.
1042 * manual/Makefile (chapters): Add probes.
1043 * manual/threads.texi: Set next node.
1044
e35696c3 10452013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 1046
e35696c3
CL
1047 [BZ #15963, #13985]
1048 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
1049 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
1050 Add `Chinese' to `nan' entry name.
1051
4aafb73c
SP
10522013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1053
1054 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
1055 (POLYNOMIAL): Likewise.
1056 (TAYLOR_SINCOS): Likewise.
1057 (TAYLOR_SLOW): Likewise.
1058 (__sin): Use TAYLOR_SINCOS.
1059 (__cos): Likewise.
1060 (slow): Use TAYLOR_SLOW.
1061 (sloww): Likewise.
1062 (bsloww): Likewise.
1063 (csloww): Likewise.
1064
d84f25c7
LD
10652013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1066
1067 * stdlib/strtod_l.c: Fix buffer overrun.
1068
5eea0404
SP
10692013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1070
7849ff93
SP
1071 * benchtests/Makefile (bench): Add sincos.
1072 * benchtests/bench-sincos.c: New file.
1073
cfa3c886
SP
1074 * math/libm-test.inc (cos_test_data): New test inputs.
1075 (sin_test_data): Likewise.
1076
b348e1e3
SP
1077 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
1078 macro.
1079 (__sin): Use it.
1080 (__cos): Likewise.
1081 (slow1): Likewise.
1082 (slow2): Likewise.
1083 (sloww1): Likewise.
1084 (sloww2): Likewise.
1085 (bsloww1): Likewise.
1086 (bsloww2): Likewise.
1087 (cslow2): Likewise.
1088 (csloww1): Likewise.
1089 (csloww2): Likewise.
1090
6cce25f8
SP
1091 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
1092 function.
1093 (__sin): Use it.
1094 (__cos): Likewise.
1095
5eea0404
SP
1096 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
1097 gotos.
1098 (__cos): Likewise.
1099
9c21573c
MR
11002013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
1101
1102 * config.h.in (HAVE_MIPS_NAN2008): New macro.
1103 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
1104 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
1105 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
1106 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
1107 * elf/cache.c (print_entry): Handle the new cache flags.
1108
24d22e65
JM
11092013-09-18 Joseph Myers <joseph@codesourcery.com>
1110 Aldy Hernandez <aldyh@redhat.com>
1111
1112 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
1113 Change condition to [_SOFT_FLOAT].
1114 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
1115 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
1116 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
1117 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
1118 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
1119 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
1120 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
1121 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
1122 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
1123 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
1124 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
1125 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
1126 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
1127 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
1128 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
1129 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
1130 declaration.
1131
d13ef066
JM
11322013-09-18 Joseph Myers <joseph@codesourcery.com>
1133
2e071de0
JM
1134 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
1135 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1136 (__longjmp): Use LOAD_GP to load saved GPRs.
1137 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
1138 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1139 (__sigsetjmp): Use SAVE_GP to save GPRs.
1140
d13ef066
JM
1141 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
1142 Do not append -msoft-float.
1143 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
1144
97a0650b
SP
11452013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1146
1147 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
1148
11ca09e9
JM
11492013-09-17 Joseph Myers <joseph@codesourcery.com>
1150
1151 [BZ #15966]
1152 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
1153 (_FPU_GETCW): Use initial "__" on variable and field names but not
1154 on macro parameter name.
1155 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
1156 parentheses around reference to macro parameter.
1157
08ffcf34
RS
11582013-09-13 Richard Sandiford <richard@codesourcery.com>
1159
1160 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
1161 prototype.
1162 (ctype_startup): Use uint32_t in cast and sizeof for
1163 ctype->charnames.
1164
ae7080d3
JL
11652013-09-11 Jia Liu <proljc@gmail.com>
1166
1167 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
1168 __daddr_t_defined.
1169 [__FreeBSD__]: Likewise.
1170
5905e7b3
OB
11712013-09-11 Ondřej Bílka <neleai@seznam.cz>
1172
1173 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1174 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
1175 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
1176 (strchr): Remove __strchr_sse42 ifunc selection.
1177 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
1178 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
1179
b987c776
WN
11802013-09-11 Will Newton <will.newton@linaro.org>
1181
1182 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
1183 parameter to RES. Remove hardcoded 1000 value.
1184 * benchtests/bench-skeleton.c (main): Pass RES parameter
1185 to TIMING_INIT and multiply result by 1000.
1186
ddf985af
AZ
11872013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1188
1189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1190
ffdd3181
AS
11912013-09-11 Andreas Schwab <schwab@suse.de>
1192
1193 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1194 if not defined.
1195 (O_TMPFILE) [__USE_GNU]: Define.
1196 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
1197 Define.
1198
b73ed247
WN
11992013-09-11 Will Newton <will.newton@linaro.org>
1200
1201 [BZ #15857]
1202 * malloc/malloc.c (__libc_memalign): Check the value of bytes
1203 does not overflow.
1204
55e17aad
WN
12052013-09-11 Will Newton <will.newton@linaro.org>
1206
1207 [BZ #15856]
1208 * malloc/malloc.c (__libc_valloc): Check the value of bytes
1209 does not overflow.
1210
1159a193
WN
12112013-09-11 Will Newton <will.newton@linaro.org>
1212
1213 [BZ #15855]
1214 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
1215 does not overflow.
1216
5905e7b3 12172013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
1218
1219 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
1220 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1221 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1222 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1223 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1224
cdfc721b
AM
12252013-09-10 Allan McRae <allan@archlinux.org>
1226
aa04af00
AM
1227 [BZ #15748]
1228 * manual/arith.texi (Parsing of Floats): Clarify
1229 cross-reference.
1230
cdfc721b
AM
1231 [BZ #15849]
1232 * manual/install.texi (Running make install): Mention
1233 --enable-pt-chown.
1234 * INSTALL: Regenerated.
1235
95e7cf29
MR
12362013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1237
1238 * csu/init-first.c (_init): Remove the !SHARED condition around
1239 FPU control word initialization.
1240 * elf/dl-support.c (_dl_fpu_control): New variable.
1241 (_dl_aux_init) <AT_FPUCW>: Initialize it.
1242 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
1243 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
1244 * math/test-fpucw-static.c: New file.
1245 * math/test-fpucw-ieee.c: New file.
1246 * math/test-fpucw-ieee-static.c: New file.
1247 * math/Makefile (tests): Add `test-fpucw-ieee' and
1248 `$(tests-static)'.
1249 (tests-static): New variable.
1250 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
1251 dependency to...
1252 [($(build-shared),yes)]
1253 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1254 ... this.
1255 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
1256 New dependency.
1257
83e43bf0
AM
12582013-09-09 Allan McRae <allan@archlinux.org>
1259
a9f5ce09
AM
1260 [BZ #15939]
1261 * manual/string.texi (Collation Functions): Fix typo in
1262 strcoll example.
1263 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
1264
34829bc2
AM
1265 [BZ #15893]
1266 * stdlib/isomac.c (get_null_defines): Fix memory leak.
1267
3932737d
AM
1268 [BZ #15892]
1269 * libio/memstream.c (open_memstream): Fix memory leak.
1270 * libio/wmemstream.c (open_wmemstream): Likewise.
1271
83e43bf0
AM
1272 [BZ #15895]
1273 * nscd/netgroupcache.c: Fix nesting of ifdefs.
1274
0c66b8e9
WN
12752013-09-09 Will Newton <will.newton@linaro.org>
1276
1277 * malloc/Makefile: Add tst-realloc to tests.
1278 * malloc/tst-realloc.c: New file.
1279
f6b00fd1
AM
12802013-09-09 Allan McRae <allan@archlinux.org>
1281
1282 [BZ #15844]
1283 * COPYING: Update from GNU website to fix FSF address.
1284 * COPYING.LIB: Likewise.
1285
eec55e16
DM
12862013-09-06 David S. Miller <davem@davemloft.net>
1287
1288 * po/zh_TW.po: Update Chinese (traditional) translation from
1289 translation project.
1290
1ecbb381
RS
12912013-09-06 Richard Sandiford <richard@codesourcery.com>
1292 Joseph Myers <joseph@codesourcery.com>
1293
1294 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
1295 "localeinfo.h".
1296 (obstack_chunk_alloc): New macro.
1297 (obstack_chunk_free): Likewise.
1298 (record_offset): New function.
1299 (init_locale_data): Likewise.
1300 (align_locale_data): Likewise.
1301 (add_locale_empty): Likewise.
1302 (add_locale_raw_data): Likewise.
1303 (add_locale_raw_obstack): Likewise.
1304 (add_locale_string): Likewise.
1305 (add_locale_wstring): Likewise.
1306 (add_locale_uint32): Likewise.
1307 (add_locale_uint32_array): Likewise.
1308 (add_locale_char): Likewise.
1309 (start_locale_structure): Likewise.
1310 (end_locale_structure): Likewise.
1311 (start_locale_prelude): Likewise.
1312 (end_locale_prelude): Likewise.
1313 (write_locale_data): Take locale_file structure rather than an
1314 iovec.
1315 * locale/programs/locfile.h: Include "obstack.h".
1316 (struct locale_file): Change to store locale file contents instead
1317 of header.
1318 (init_locale_data): New prototype.
1319 (align_locale_data): Likewise.
1320 (add_locale_empty): Likewise.
1321 (add_locale_raw_data): Likewise.
1322 (add_locale_raw_obstack): Likewise.
1323 (add_locale_string): Likewise.
1324 (add_locale_wstring): Likewise.
1325 (add_locale_uint32): Likewise.
1326 (add_locale_uint32_array): Likewise.
1327 (add_locale_char): Likewise.
1328 (start_locale_structure): Likewise.
1329 (end_locale_structure): Likewise.
1330 (start_locale_prelude): Likewise.
1331 (end_locale_prelude): Likewise.
1332 (write_locale_data): Update prototype.
1333 * locale/programs/3level.h (struct TABLE): Remove result field.
1334 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
1335 Use new locale_file interface.
1336 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
1337 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
1338 * locale/programs/ld-address.c (address_output): Use new
1339 locale_file interface.
1340 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
1341 NO_ADD_LOCALE.
1342 (collate_finish): Don't call collseq_table_finalize.
1343 (collate_output): Use new locale_file interface.
1344 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
1345 in file.
1346 (NO_FINALIZE): Change to NO_ADD_LOCALE.
1347 (TABLE): Move defines earlier in file.
1348 (ELEMENT): Likewise.
1349 (DEFAULT): Likewise.
1350 (wctrans_table_add): Move macro and inline function earlier in
1351 file.
1352 (struct wctype_table): Move type earlier in file.
1353 (add_locale_wctype_table): New static prototype.
1354 (struct locale_ctype_t): Use logical types instead of struct iovec
1355 pointers for members.
1356 (ctype_output): Use new locale_file interface.
1357 (wctype_table_finalize): Change to add_locale_wctype_table. Use
1358 new locale_file interface.
1359 (allocate_arrays): Update for use of new locale_file interface.
1360 * locale/programs/ld-identification.c (identification_output): Use
1361 new locale_file interface.
1362 * locale/programs/ld-measurement.c (measurement_output): Likewise.
1363 * locale/programs/ld-messages.c (messages_output): Likewise.
1364 * locale/programs/ld-monetary.c (monetary_output): Likewise.
1365 * locale/programs/ld-name.c (name_output): Likewise.
1366 * locale/programs/ld-numeric.c (numeric_output): Likewise.
1367 * locale/programs/ld-paper.c (paper_output): Likewise.
1368 * locale/programs/ld-telephone.c (telephone_output): Likewise.
1369 * locale/programs/ld-time.c (time_output): Likewise.
1370
e029e2e5
AZ
13712013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1372
1373 * benchtests/Makefile: Add memrchr benchmark.
1374 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
1375 benchmark as memrchr.
1376 * benchtests/bench-memrchr-ifunc.c: New file.
1377 * benchtests/bench-memrchr.c: New file.
1378
bbf6e8e4
WN
13792013-09-06 Will Newton <will.newton@linaro.org>
1380
1381 * benchtests/Makefile (string-bench): Add memcpy.
1382
6c82a2f8
CD
13832013-09-05 Carlos O'Donell <carlos@redhat.com>
1384 Cong Wang <amwang@redhat.com>
1385
1386 * sysdeps/unix/sysv/linux/bits/in.h
1387 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
1388 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
1389 before __USE_KERNEL_IPV6_DEFS uses.
1390 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
1391 IPPROTO_BEETPH.
1392 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
1393 sockaddr_in6, or ipv6_mreq.
1394
5430fc65
AZ
13952013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1396
1397 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
1398 memory access for final bytes in some large inputs.
1399 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
1400
4660856c
AZ
14012013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1402
1403 * string/test-memrchr.c: New file.
1404 * string/test-memrchr-ifunc.c: New file.
1405 * string/Makefile: Add new memrchr testcase.
1406
bb8ea713
MF
14072013-09-05 Mike Frysinger <vapier@gentoo.org>
1408
1409 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
1410 fanotify_init returns EPERM.
1411
b92a20b5
JM
14122013-09-04 Joseph Myers <joseph@codesourcery.com>
1413
1414 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
1415 errors.
1416 (top level): Treat second token from macro or constant entries for
1417 allowed headers as allowed.
1418 * include/complex.h: Condition internal declarations on
1419 [!_ISOMAC].
1420 * include/fenv.h: Condition include of <stdbool.h> and internal
1421 declarations on [!_ISOMAC].
7447ccd9
CL
1422
14232013-09-04 Chris Leonard <cjl@sugarlabs,.org>
1424
3e181dda 1425 [BZ #15923]
7447ccd9
CL
1426 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
1427
3f2e46a4
JM
14282013-09-04 Joseph Myers <joseph@codesourcery.com>
1429
1430 * configure.in (--enable-versioning): Remove configure option.
1431 (libc_cv_asm_symver_directive): Remove configure test.
1432 (libc_cv_ld_version_script_option): Likewise.
1433 (VERSIONING): Remove variable and AC_SUBST.
1434 (DO_VERSIONING): Remove AC_DEFINE.
1435 * configure: Regenerated.
1436 * config.h.in (DO_VERSIONING): Remove macro.
1437 * Makerules [$(versioning) = yes]: Change conditionals to
1438 [$(build-shared) = yes].
1439 * config.make.in (versioning): Remove variable.
1440 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
1441 [$(build-shared) = yes].
1442 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
1443 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
1444 * elf/Makefile [$(versioning) = yes]: Change conditionals to
1445 [$(build-shared) = yes].
1446 * extra-lib.mk [$(versioning) = yes]: Likewise.
1447 * hurd/Makefile [$(versioning) = yes]: Likewise.
1448 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
1449 [SHARED].
1450 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
1451 [SHARED].
1452 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1453 [SHARED && !NO_HIDDEN].
1454 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
1455 [SHARED].
1456 [SHARED && DO_VERSIONING]: Likewise..
1457 * libio/Makefile [$(versioning) = yes]: Change conditionals to
1458 [$(build-shared) = yes].
1459 * manual/install.texi (--disable-versioning): Remove
1460 documentation.
1461 * INSTALL: Regenerated.
1462 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
1463 to [SHARED].
1464 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
1465 [$(build-shared) = yes].
1466 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
1467 * sysdeps/i386/i686/multiarch/strstr-c.c
1468 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1469 [SHARED && !NO_HIDDEN].
1470 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
1471 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
1472 * sysdeps/powerpc/powerpc32/dl-machine.c
1473 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
1474 * sysdeps/powerpc/powerpc32/sysdep.h
1475 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
1476 to [SHARED && PIC && !NO_HIDDEN].
1477 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
1478 conditional to [SHARED].
1479
44558701
WN
14802013-09-04 Will Newton <will.newton@linaro.org>
1481
1482 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
1483 * benchtests/bench-string.h: Include bench-timing.h instead
1484 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
1485 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
1486 call to HP_TIMING_DIFF_INIT.
1487 * benchtests/bench-memccpy.c: Use bench-timing.h macros
1488 instead of hp-timing.h macros.
1489 * benchtests/bench-memchr.c: Likewise.
1490 * benchtests/bench-memcmp.c: Likewise.
1491 * benchtests/bench-memcpy.c: Likewise.
1492 * benchtests/bench-memmem.c: Likewise.
1493 * benchtests/bench-memmove.c: Likewise.
1494 * benchtests/bench-memset.c: Likewise.
1495 * benchtests/bench-rawmemchr.c: Likewise.
1496 * benchtests/bench-strcasecmp.c: Likewise.
1497 * benchtests/bench-strcasestr.c: Likewise.
1498 * benchtests/bench-strcat.c: Likewise.
1499 * benchtests/bench-strchr.c: Likewise.
1500 * benchtests/bench-strcmp.c: Likewise.
1501 * benchtests/bench-strcpy.c: Likewise.
1502 * benchtests/bench-strcpy_chk.c: Likewise.
1503 * benchtests/bench-strlen.c: Likewise.
1504 * benchtests/bench-strncasecmp.c: Likewise.
1505 * benchtests/bench-strncat.c: Likewise.
1506 * benchtests/bench-strncmp.c: Likewise.
1507 * benchtests/bench-strncpy.c: Likewise.
1508 * benchtests/bench-strnlen.c: Likewise.
1509 * benchtests/bench-strpbrk.c: Likewise.
1510 * benchtests/bench-strrchr.c: Likewise.
1511 * benchtests/bench-strspn.c: Likewise.
1512 * benchtests/bench-strstr.c: Likewise.
1513
cae16d66
WN
15142013-09-04 Will Newton <will.newton@linaro.org>
1515
1516 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
1517
ffa3cd7f
JM
15182013-09-03 Joseph Myers <joseph@codesourcery.com>
1519
1520 [BZ #15427]
1521 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1522 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
1523 * math/libm-test.inc (lgamma_test_data): Add more tests.
1524 * sysdeps/i386/fpu/libm-test-ulps: Update.
1525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1526
8f02859f
OB
15272013-09-03 Ondřej Bílka <neleai@seznam.cz>
1528
1529 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
1530 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1531 Add ifunc.
1532 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1533 Add strcmp-sse2-unaligned
1534 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
1535
18d43716
MF
15362013-09-02 Mike Frysinger <vapier@gentoo.org>
1537
1538 * Versions.def (libc): Add GLIBC_2.19.
1539
ac444012
MF
15402013-09-02 Mike Frysinger <vapier@gentoo.org>
1541
1542 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
1543 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
1544
b7835e32
JM
15452013-09-02 Joseph Myers <joseph@codesourcery.com>
1546
1547 [BZ #14155]
1548 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
1549 intermediate calculations in recurrence.
1550 (__ieee754_ynf): Likewise.
1551 * math/libm-test.inc (jn_test_data): Do not allow spurious
1552 underflow exception. Add more tests.
1553 (yn_test_data): Add more tests.
1554 * sysdeps/i386/fpu/libm-test-ulps: Update.
1555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1556
8220f4f0
OB
15572013-09-02 Ondřej Bílka <neleai@seznam.cz>
1558
1559 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
1560
f24a6d08
OB
15612013-08-30 Ondřej Bílka <neleai@seznam.cz>
1562
1563 * csu/init-first.c: Fix then/than typos.
1564 * locale/programs/ld-collate.c: Likewise.
1565 * locale/programs/linereader.h: Likewise.
1566 * manual/charset.texi: Likewise.
1567 * manual/filesys.texi: Likewise.
1568 * manual/stdio.texi: Likewise.
1569 * manual/string.texi: Likewise.
1570 * stdlib/fmtmsg.c: Likewise.
1571 * sysdeps/i386/stpncpy.S: Likewise.
1572 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1573 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1574 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1575 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1576
382466e0
OB
15772013-08-30 Ondřej Bílka <neleai@seznam.cz>
1578
1579 * elf/dl-open.c: Fix typos.
1580 * iconvdata/gbbig5.c: Likewise.
1581 * iconvdata/iso-2022-jp.c: Likewise.
1582 * iconv/gconv_int.h: Likewise.
1583 * iconv/loop.c: Likewise.
1584 * nis/rpcsvc/nis.h: Likewise.
1585 * resolv/ns_name.c: Likewise.
1586 * stdio-common/vfscanf.c: Likewise.
1587 * streams/stropts.h: Likewise.
1588 * sunrpc/rpc_thread.c: Likewise.
1589 * sysdeps/i386/strpbrk.S: Likewise.
1590 * sysdeps/ieee754/k_standard.c: Likewise.
1591 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1592 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1593 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1594 * sysdeps/mach/hurd/profil.c: Likewise.
1595 * sysdeps/s390/dl-procinfo.h: Likewise.
1596 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1597 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1598 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
1599 * sysdeps/x86_64/dl-trampoline.S: Likewise.
1600 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1601
0186c6e9
OB
16022013-08-30 Ondřej Bílka <neleai@seznam.cz>
1603
1604 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
1605 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
1606
d4e16af1
OB
16072013-08-29 Ondřej Bílka <neleai@seznam.cz>
1608
1609 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
1610 aix specific files.
1611 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
1612 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
1613 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
1614 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
1615 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
1616 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
1617 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
1618 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
1619
88335980
TS
16202013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1621 Roland McGrath <roland@hack.frob.com>
1622
1623 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
1624 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1625
ed479b02
ST
16262013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
1627
1628 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
1629 __executable_start symbol instead of _start.
1630
f1cc4c86
TS
16312013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1632
d821f07c
TS
1633 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
1634 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
1635 Move macros to...
1636 * sysdeps/gnu/ldsodefs.h: ... this new file.
1637
c54290cf
TS
1638 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
1639 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
1640 instead of ELFOSABI_LINUX.
1641
0007fc9b 1642 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
1643 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
1644 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
1645 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
1646 Likewise.
1647 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
1648 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
1649 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
1650 Likewise.
1651 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1652 (ibm_extended_long_double): Add ieee_nan member.
1653 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
1654 (do_test): New function.
1655
f1cc4c86
TS
1656 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
1657 TEST_TRUNC.
1658 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
1659 functions, renamed from truncdfsf_test, trunctfsf_test,
1660 trunctfdf_test.
1661 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
1662 functions.
1663 (do_test): Run all these.
1664
6f65e668
OB
16652013-08-29 Ondřej Bílka <neleai@seznam.cz>
1666
1667 * argp/argp-help.c: Fix typos.
1668 * argp/argp-parse.c: Likewise.
1669 * debug/backtracesyms.c: Likewise.
1670 * elf/elf.h: Likewise.
1671 * malloc/malloc.c: Likewise.
1672 * nis/nis_print.c: Likewise.
1673 * resolv/res_comp.c: Likewise.
1674 * stdlib/stdlib.h: Likewise.
1675 * sunrpc/clnt_tcp.c: Likewise.
1676 * sunrpc/clnt_udp.c: Likewise.
1677 * sunrpc/clnt_unix.c: Likewise.
1678 * sysdeps/unix/bsd/ptsname.c: Likewise.
1679 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1680 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
1681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
1682 Likewise.
1683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1684 Likewise.
1685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1686 Likewise.
6f65e668
OB
1687 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1688
3a309239
SP
16892013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1690
1691 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
1692 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1693
3b813b29
MF
16942013-08-27 Mike Frysinger <vapier@gentoo.org>
1695
1696 [BZ #15897]
1697 * dlfcn/Makefile (tests): Add bug-dl-leaf.
1698 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
1699 ($(objpfx)bug-dl-leaf): New rule.
1700 ($(objpfx)bug-dl-leaf.so): Likewise.
1701 ($(objpfx)bug-dl-leaf.out): Likewise.
1702 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
1703 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
1704 * dlfcn/bug-dl-leaf.c: New test.
1705 * dlfcn/bug-dl-leaf-lib.c: Likewise.
1706 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
1707 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
1708 (dlclose): Likewise.
1709 (dlmopen): Likewise.
1710
8cc3269f
RM
17112013-08-27 Roland McGrath <roland@hack.frob.com>
1712
7f9d0034
RM
1713 * include/netdb.h [!_ISOMAC]:
1714 Don't include <tls.h>.
1715 (h_errno, __libc_h_errno): Move declaration and macros out of
1716 [_LIBC_REENTRANT].
1717
fb431262
RM
1718 * include/resolv.h [_RESOLV_H_]:
1719 Don't include <tls.h>.
1720 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
1721 * resolv/res_libc.c: Don't include <tls.h>.
1722 (_res): Use __attribute__ ((nocommon)) in place of
1723 __attribute__ ((section (".bss"))).
1724
bd81123a
RM
1725 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
1726 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
1727
c4e42566
RM
1728 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
1729
f890a59b
RM
1730 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
1731 only under [SIOCGIFCONF && SIOCGIFNETMASK].
1732
1733 * resolv/res_mkquery.c: Include <sys/time.h>.
1734
5d1f0a09
RM
1735 * inet/ifreq.c: Moved to ...
1736 * sysdeps/unix/ifreq.c: ... here.
1737 * inet/ifreq.c: New file, true stub version.
1738
6fcf28b3
RM
1739 * socket/sa_len.c: New file.
1740 * socket/Makefile (aux): Add it.
1741 * sysdeps/unix/sysv/linux/Makefile
1742 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
1743 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
1744 and #include <socket/sa_len.c>.
1745 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
1746 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
1747
e041fb8b
RM
1748 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
1749 * bits/socket.h: ... here.
1750
8cc3269f
RM
1751 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
1752 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
1753 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
1754
5d228a43
AS
17552013-08-27 Andreas Schwab <schwab@suse.de>
1756
45b8accc
AS
1757 [BZ #15736]
1758 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
1759 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
1760 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
1761 * string/test-strcasecmp.c (test_main): Run tests in several
1762 locales.
1763 * string/test-strncasecmp.c (test_main): Likewise.
1764
5d228a43
AS
1765 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
1766 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
1767 to __strcasecmp_nonascii and __strncasecmp_nonascii.
1768 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
1769 (__strncasecmp_ssse3) [PIC]: Likewise.
1770
59d112a4
RM
17712013-08-26 Roland McGrath <roland@hack.frob.com>
1772
53234cc3
RM
1773 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
1774
59d112a4
RM
1775 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
1776 instead of explicitly declaring xdecrypt.
1777 * nis/nss_nis/nis-publickey.c: Likewise.
1778
595aba70
SP
17792013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1780
1781 [BZ #15890]
1782 * nscd/aicache.c: Include res_hconf.h.
1783 (addhstaiX): Initialize res_hconf.
1784
ffabd393
AS
17852013-08-26 Andreas Schwab <schwab@suse.de>
1786
1787 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
1788 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
1789
e0a69f5c
SP
17902013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1791
1792 * nscd/aicache.c (addhstaiX): Fix indentation.
1793
8c12f01d
MF
17942013-08-25 Mike Frysinger <vapier@gentoo.org>
1795
1796 * configure.ac: Quote $build_pt_chown test.
1797 * configure: Regenerated.
1798
8fe89494
JM
17992013-08-23 Joseph Myers <joseph@codesourcery.com>
1800
1801 [BZ #15532]
1802 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
1803 * math/s_cexpf.c (__cexpf): Likewise.
1804 * math/s_cexpl.c (__cexpl): Likewise.
1805 * math/libm-test.inc (cexp_test_data): Correct expected return
1806 value for NaN + i0. Add another test.
1807
75b181d6
DM
18082013-08-22 David S. Miller <davem@davemloft.net>
1809
1810 * po/ca.po: Update Catalan translation from translation project.
936241e4 1811 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 1812
acd06bb1
JM
18132013-08-21 Joseph Myers <joseph@codesourcery.com>
1814
1815 [BZ #15797]
1816 * math/s_fdim.c (__fdim): Check for infinite arguments if result
1817 is infinite, not alongside NaN test.
1818 * math/s_fdimf.c (__fdimf): Likewise.
1819 * math/s_fdiml.c (__fdiml): Likewise.
1820 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
1821 errno is unchanged.
1822
c0c3f78a
OB
18232013-08-21 Ondřej Bílka <neleai@seznam.cz>
1824
1825 * argp/argp-help.c: Fix typos.
1826 * crypt/speeds.c: Likewise.
1827 * csu/check_fds.c: Likewise.
1828 * elf/dl-load.c: Likewise.
1829 * elf/dl-open.c: Likewise.
1830 * elf/reldep3.c: Likewise.
1831 * elf/reldep.c: Likewise.
1832 * elf/sprof.c: Likewise.
1833 * iconv/iconv_charmap.c: Likewise.
1834 * iconv/skeleton.c: Likewise.
1835 * iconv/strtab.c: Likewise.
1836 * io/lockf64.c: Likewise.
1837 * libio/libioP.h: Likewise.
1838 * resolv/gai_notify.c: Likewise.
1839 * resolv/ns_name.c: Likewise.
1840 * resolv/ns_samedomain.c: Likewise.
1841 * resolv/res_send.c: Likewise.
1842 * stdlib/random.c: Likewise.
1843 * sunrpc/rpc/xdr.h: Likewise.
1844 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1845 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1846 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1847 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1848 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1849 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1850 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1851 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1852 * sysdeps/mach/hurd/check_fds.c: Likewise.
1853 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1854 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1855 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1856 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1857 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1858 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1859 * sysdeps/pthread/aio_notify.c: Likewise.
1860 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1861 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
1862 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
1863 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1864 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1865
46ed1038
LD
18662013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1867
1868 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
1869 version if bit_Slow_SSE4_2 is set.
1870 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1871 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1872
d400dcac
AZ
18732013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1874
1875 [BZ #15867]
1876 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
1877 trampoline stack frame information.
1878 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
1879 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
1880 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
1881 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
1882 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
1883 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1884 (_libc_vdso_platform_setup): Initialize the signal trampolines.
1885 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
1886 sa_flags value.
1887 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
1888 interrupting a syscall and set with option SA_SIGINFO.
1889
42c8fdd8
JM
18902013-08-20 Joseph Myers <joseph@codesourcery.com>
1891
c980f2f4
JM
1892 [BZ #15531]
1893 * math/s_cproj.c (__cproj): Only return an infinity if one part of
1894 argument is infinite.
1895 * math/s_cprojf.c (__cprojf): Likewise.
1896 * math/s_cprojl.c (__cprojl): Likewise.
1897 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
1898 * math/libm-test.inc (cproj_test_data): Add more tests.
1899
0716c4fc
JM
1900 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
1901
42c8fdd8
JM
1902 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
1903 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
1904 size. Use __ffs to determine corresponding shift.
1905
b31469d0
JM
19062013-08-20 Joseph Myers <joseph@codesourcery.com>
1907 Roland McGrath <roland@hack.frob.com>
1908
1909 * Makefile (INSTALL): Remove trailing blank lines from output of
1910 makeinfo.
1911
4e39af6e
AK
19122013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1913
1914 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
1915 Align 32 bit compat elf_greg to 8 bytes.
1916
f315524e
AA
19172013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1918
1919 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
1920
1326ba1a
SP
19212013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1922
1923 * string/strcoll_l.c (coll_seq): New structure.
1924 (get_next_seq_cached): New function.
1925 (get_next_seq): New function.
1926 (do_compare): New function.
1927 (STRCOLL): Use GNU style definition. Simplify implementation
1928 by using get_next_seq, get_next_seq_cached and do_compare.
1929
91ce4085
FW
19302013-08-16 Florian Weimer <fweimer@redhat.com>
1931
1932 [BZ #14699]
1933 CVE-2013-4237
1934 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
1935 member.
1936 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
1937 member.
1938 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
1939 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
1940 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
1941 conditional.
1942 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
1943 GETDENTS_64BIT_ALIGNED.
1944 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1945 * manual/filesys.texi (Reading/Closing Directory): Document
1946 ENAMETOOLONG return value of readdir_r. Recommend readdir more
1947 strongly.
1948 * manual/conf.texi (Limits for Files): Add portability note to
1949 NAME_MAX, PATH_MAX.
1950 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
1951
ca0a6bc4
AS
19522013-08-13 Andreas Schwab <schwab@suse.de>
1953
1954 [BZ #15749]
1955 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
1956 of fabs.
1957 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
1958 LDBL_MAX_EXP >= 16384]: Add tests for it.
1959
6c1fd795
DM
19602013-08-12 David S. Miller <davem@davemloft.net>
1961
1962 * version.h (RELEASE): Set to "development".
1963 (VERSION): Set to "2.18.90".
1964 * NEWS: Add 2.19 section.
1965
31ad488d
DM
19662013-08-03 David S. Miller <davem@davemloft.net>
1967
1968 * po/ko.po: Update Korean translation from translation project.
1969
db24e684
DM
19702013-08-01 David S. Miller <davem@davemloft.net>
1971
1972 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
1973 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
1974 Bilka.
1975
f723285b
DM
19762013-07-30 David S. Miller <davem@davemloft.net>
1977
1978 * po/fr.po: Update French translation from translation project.
1979
3cbc52db
DM
19802013-07-28 David S. Miller <davem@davemloft.net>
1981
30bbc0cc
DM
1982 * po/cs.po: Update Czech translation from translation project.
1983
3cbc52db
DM
1984 * po/sv.po: Update Swedish translation from translation project.
1985
d492e6d0
DM
19862013-07-27 David S. Miller <davem@davemloft.net>
1987
f1a7f492
DM
1988 * po/eo.po: Update Esperanto translation from translation project.
1989
90e62a4a
DM
1990 * po/vi.po: Update Vietnamese translation from translation project.
1991
d492e6d0
DM
1992 * po/de.po: Update German translation from translation project.
1993
d4baa62d
DM
19942013-07-26 David S. Miller <davem@davemloft.net>
1995
641aa7b4
DM
1996 * po/bg.po: Update Bulgarian translation from translation project.
1997
d4baa62d
DM
1998 * po/nl.po: Update Dutch translation from translation project.
1999 * po/pl.po: Update Polish translation from translation project.
2000 * po/ru.po: Update Russian translation from translation project.
2001
61a9dcb9
DM
20022013-07-24 David S. Miller <davem@davemloft.net>
2003
2004 * po/libc.pot: Update.
2005
7b1f8b58
AZ
20062013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2007
2008 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
2009 variable page size.
2010 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
2011 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
2012 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
2013
a8fc7a03
AK
20142013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2015
2016 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
2017
e4608715
CD
20182013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2019 Andreas Schwab <schwab@suse.de>
2020 Roland McGrath <roland@hack.frob.com>
2021 Joseph Myers <joseph@codesourcery.com>
2022 Carlos O'Donell <carlos@redhat.com>
2023
2024 [BZ #15755]
2025 * config.h.in: Define HAVE_PT_CHOWN.
2026 * config.make.in (build-pt-chown): New variable.
2027 * configure.in (--enable-pt_chown): New configure option.
2028 * configure: Regenerate.
2029 * login/Makefile: Include Makeconfig. Build pt_chown only if
2030 build-pt-chown is enabled.
2031 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
2032 pt_chown to fix pty ownership.
2033 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
2034 CLOSE_ALL_FDS.
2035 * manual/install.texi (Configuring and compiling): Mention
2036 --enable-pt_chown. Add @findex for grantpt.
2037 * INSTALL: Regenerate.
2038
da2d62df
DM
20392013-07-20 David S. Miller <davem@davemloft.net>
2040
2041 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
2042 difference between 32-bit and 64-bit.
2043
d7e06450
CD
20442013-07-15 Carlos O'Donell <carlos@redhat.com>
2045
2046 [BZ #15711]
2047 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
2048 Avoid system header dependency with -ffreestanding.
2049 ($(objpfx)bits/syscall%d): Likewise.
2050
f959cfd7
DM
20512013-07-13 David S. Miller <davem@davemloft.net>
2052
2053 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
2054 underflows from atanl/atan2l due to bug 15319.
2055 (casinh_test_data): Likewise.
2056
c61f8513
DM
20572013-07-07 David S. Miller <davem@davemloft.net>
2058
2059 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2060
72c90ed0
JA
20612013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
2062
2063 * sysdeps/i386/fpu/libm-test-ulps: Update.
2064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2065
52dfbe13
SP
20662013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2067
2068 * configure.in (--enable-lock-elision): Fix message text.
2069 * INSTALL: Regenerate.
2070 * configure: Regenerate.
2071
3f169543
AZ
20722013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2073
2074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2075
521c6785
AJ
20762013-07-03 Andreas Jaeger <aj@suse.de>
2077
2078 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
2079 define.
2080 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
2081 (ptrace_peeksiginfo_args): Add.
2082 (__ptrace_peeksiginfo_flags): Add.
2083 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2084 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2085 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2086
d2cc15cb
AM
20872013-07-03 Allan McRae <allan@archlinux.org>
2088
2089 * sysdeps/i386/fpu/libm-test-ulps: Update.
2090
3aaeeca7
DM
20912013-07-02 David S. Miller <davem@davemloft.net>
2092
2093 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2094
5314ed1a
MT
20952013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
2096
2097 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2098
67338156
JM
20992013-07-02 Joseph Myers <joseph@codesourcery.com>
2100
2101 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2103
1717da59
AK
21042013-07-02 Andi Kleen <ak@linux.intel.com>
2105
2106 * config.h.in (ENABLE_LOCK_ELISION): Add.
2107 * configure.in (--enable-lock-elision): Add option.
2108 * manual/install.texi: Document --enable lock elision.
2109 * configure: Regenerate
2110 * INSTALL: Regenerate.
2111
1c81621c
L
21122013-07-02 H.J. Lu <hongjiu.lu@intel.com>
2113
2114 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
2115 SSE4.2 strcasecmp for libc.a.
2116 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2117
77f01ab5
JM
21182013-07-02 Joseph Myers <joseph@codesourcery.com>
2119
2120 [BZ #13304]
2121 * soft-fp/op-common.h (_FP_FMA): New macro.
2122 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
2123 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
2124 (_FP_MUL_MEAT_1_imm): ... here.
2125 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
2126 (_FP_MUL_MEAT_1_wide): ... here.
2127 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
2128 (_FP_MUL_MEAT_1_hard): ... here.
2129 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
2130 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
2131 (_FP_MUL_MEAT_2_wide): ... here.
2132 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
2133 (_FP_MUL_MEAT_2_wide_3mul): ... here.
2134 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
2135 (_FP_MUL_MEAT_2_gmp): ... here.
2136 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
2137 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
2138 (_FP_MUL_MEAT_4_wide): ... here.
2139 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
2140 (_FP_MUL_MEAT_4_gmp): ... here.
2141 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
2142 (_FP_WFRACBITS_DW_S): Likewise.
2143 (_FP_WFRACXBITS_DW_S): Likewise.
2144 (_FP_HIGHBIT_DW_S): Likewise.
2145 (FP_FMA_S): Likewise.
2146 (_FP_FRAC_HIGH_DW_S): Likewise.
2147 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
2148 (_FP_WFRACBITS_DW_D): Likewise.
2149 (_FP_WFRACXBITS_DW_D): Likewise.
2150 (_FP_HIGHBIT_DW_D): Likewise.
2151 (FP_FMA_D): Likewise.
2152 (_FP_FRAC_HIGH_DW_D): Likewise.
2153 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
2154 (_FP_WFRACBITS_DW_E): Likewise.
2155 (_FP_WFRACXBITS_DW_E): Likewise.
2156 (_FP_HIGHBIT_DW_E): Likewise.
2157 (FP_FMA_E): Likewise.
2158 (_FP_FRAC_HIGH_DW_E): Likewise.
2159 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
2160 (_FP_WFRACBITS_DW_Q): Likewise.
2161 (_FP_WFRACXBITS_DW_Q): Likewise.
2162 (_FP_HIGHBIT_DW_Q): Likewise.
2163 (FP_FMA_Q): Likewise.
2164 (_FP_FRAC_HIGH_DW_Q): Likewise.
2165 * soft-fp/fmasf4.c: New file.
2166 * soft-fp/fmadf4.c: Likewise.
2167 * soft-fp/fmatf4.c: Likewise.
2168
6308fd9a
LD
21692013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2170
2171 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
2172 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
2173 Silvermont.
2174 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
2175 macro.
2176 (index_Slow_SSE4_2): Likewise.
2177 (index_Prefer_PMINUB_for_stringop): Likewise.
2178 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
2179 bit_Slow_SSE4_2 is set.
2180 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2181 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2182
89cd9569
RA
21832013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2184
2185 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
2186 rtld_global._dl_hwcap2.
2187 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
2188 POWER8.
2189 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
2190 POWER8 feature descriptions defined in _dl_hwcap2.
2191 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
2192 string handling for POWER8 feature bits.
2193 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
2194 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
2195 _dl_powerpc_cap_flags.
2196 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
2197 * sysdeps/powerpc/rtld-global-offsets.sym
2198 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
2199 _dl_hwcap2 in the rtld_global_ro structure.
2200
1ae8bfe0
RA
22012013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2202
2203 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
2204 hardware capabilities in support of AT_HWCAP2.
2205 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
2206 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
2207 GLRO(dl_hwcap2).
2208 (_dl_show_auxv): Add support for calling _dl_procinfo to display
2209 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
2210 explicitly the unknown a_type display mechanism is used.
2211 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
2212 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
2213 struct member.
2214 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
2215 to macro prototype for AT_HWCAP2 support.
2216 * sysdeps/i386/dl-procinfo.h: Likewise.
2217 * sysdeps/s390/dl-procinfo.h: Likewise.
2218 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
2219 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
2220 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
2221 return -1 for unknown a_type display fallback.
2222 * sysdeps/sparc/dl-procinfo.h: Likewise.
2223 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
2224 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
2225
8fbec010
JM
22262013-06-28 Joseph Myers <joseph@codesourcery.com>
2227
2228 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
2229 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
2230
0432680e
PY
22312013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
2232
2233 [BZ #12492]
2234 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
2235 mprotect making __stack_prot writable.
2236
ce61a2ad
NF
22372013-06-28 Nathan Froyd <froydnj@codesourcery.com>
2238 Joseph Myers <joseph@codesourcery.com>
2239
2240 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
2241 as being properly aligned.
2242
f91f1c0f
MR
22432013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
2244
3d0f5d0c
MR
2245 * dlfcn/modstatic5.c: New file.
2246 * dlfcn/tststatic5.c: New file.
2247 * dlfcn/Makefile (tests): Add tststatic5.
2248 (tests-static): Likewise.
2249 (modules-names): Add modstatic5.
2250 (tststatic5-ENV): New variable.
2251 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
2252
f91f1c0f
MR
2253 [BZ #15022]
2254 * elf/dl-support.c (_dl_main_map): New variable.
2255 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
2256 (_dl_nns, _dl_load_adds): Set to 1.
2257 (_dl_initial_searchlist): Refer to _dl_main_map.
2258 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
2259 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
2260 call to _dl_get_origin.
2261 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
2262 around call_map.
2263 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
2264 * dlfcn/modstatic3.c: New file.
2265 * dlfcn/tststatic3.c: New file.
2266 * dlfcn/tststatic4.c: New file.
2267 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
2268 (tests-static): Likewise.
2269 (modules-names): Add modstatic3.
2270 (tststatic3-ENV, tststatic4-ENV): New variables.
2271 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
2272 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
2273
cbe7d24b
JM
22742013-06-26 Joseph Myers <joseph@codesourcery.com>
2275
2276 * configure.in (CC): Require GCC version 4.4 or later.
2277 * configure: Regenerated.
2278 * manual/install.texi (Tools for Compilation): Update GCC version
2279 requirement.
2280 * INSTALL: Regenerated.
2281
11b8a0e1
LD
22822013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2283
2284 [BZ #15674]
bb5bb87c
L
2285 * string/test-memcmp.c (check2): New.
2286 (main): Call check2.
2287
11b8a0e1
LD
2288 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
2289
b0037103
MR
22902013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
2291
2292 [BZ #15022]
2293 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
2294 over to...
2295 (dl_open_worker) [!SHARED]: ... here.
2296
c18c701d
RA
22972013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2298
2299 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
2300
1d17fa5f
RH
23012013-06-25 Richard Henderson <rth@redhat.com>
2302
2303 * locale/programs/locarchive.c: Include <libc-internal.h>
2304
8fcb833a
JM
23052013-06-25 Joseph Myers <joseph@codesourcery.com>
2306
2307 * manual/texinfo.tex: Update to version 2013-06-21.17, with
2308 trailing whitespace removed.
2309
17db6e8d
MF
23102013-06-24 Mike Frysinger <vapier@gentoo.org>
2311
2312 [BZ #10283]
17db6e8d
MF
2313 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
2314 * locale/programs/locarchive.c: Include libc-mmap.h.
2315 (prepare_address_space): Take two new outputs (the mmap base and len).
2316 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
2317 values.
2318 (create_archive): Declare new mmap base and len values for
2319 prepare_address_space, and store the result in ah.
2320 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
2321 (enlarge_archive): If ah->mmap_base is not NULL, use that and
2322 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2323 Declare new mmap base and len values for
2324 prepare_address_space, and store the result in new_ah.
2325 (open_archive): Declare new mmap base and len values for
2326 prepare_address_space, and store the result in ah.
2327 (close_archive): If ah->mmap_base is not NULL, use that and
2328 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2329 * sysdeps/generic/libc-mmap.h: New file.
2330
d605071e
MF
23312013-06-24 Mike Frysinger <vapier@gentoo.org>
2332
2333 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
2334 (ALIGN_UP): Likewise.
2335 (PTR_ALIGN_DOWN): Likewise.
2336 (PTR_ALIGN_UP): Likewise.
2337
2f063a6e
RA
23382013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2339
2340 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
2341 entry mapped to PPC_PLATFORM_POWER8.
2342 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
2343 POWER8.
2344 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
2345 (_dl_string_platform): Add case for exporting platform position for
2346 POWER8.
2347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
2348 search path to sysdeps/powerpc/powerpc32/power8 directory.
2349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
2350 search path to sysdeps/powerpc/powerpc64/power8 directory.
2351 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
2352 power7 directories.
2353 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
2354 power7 directories.
2355
a31ee4b3
SP
23562013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2357
a74ca98f
SP
2358 * INSTALL: Regenerate.
2359
a31ee4b3
SP
2360 * nscd/connections.c (nscd_init): Fix comment.
2361
695c378f
JM
23622013-06-22 Joseph Myers <joseph@codesourcery.com>
2363
d8412221
JM
2364 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
2365
695c378f
JM
2366 [BZ #15667]
2367 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
2368 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
2369
d1d54715
MR
23702013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2371
2372 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
2373 DL_DST_REQ_STATIC.
2374 (DL_DST_REQ_STATIC): Remove macro.
2375
8fdda7af
JM
23762013-06-21 Joseph Myers <joseph@codesourcery.com>
2377
2378 [BZ #7006]
2379 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
2380 with a shift of 0 bits.
2381
f3bc5e5a
MR
23822013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2383
2384 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
2385 $(tststatic-ENV).
2386
be09e8c9
KK
23872013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2388
2389 [BZ #15655]
2390 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
2391
85c2e611
AZ
23922013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2393
2394 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
2395 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
2396 accepts -fno-tree-loop-distribute-patterns.
2397 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
2398 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
2399 recursive call.
2400 * string/memset.c (memset): Likewise.
2401 * string/test-memmove.c (simple_memmove): Disable loop transformation
2402 to library calls.
2403 * string/test-memset.c (simple_memset): Likewise.
2404 * benchtests/bench-memmove.c (simple_memmove): Likewise.
2405 * benchtests/bench-memset.c (simple_memset): Likewise.
2406 * configure: Regenerated.
2407
c91e0825
JM
24082013-06-20 Joseph Myers <joseph@codesourcery.com>
2409
b8c792af
JM
2410 * math/test-misc.c (main): Ignore fesetround failure when failures
2411 of subsequent rounding tests would be ignored.
2412
c91e0825
JM
2413 [BZ #15654]
2414 * math/fedisblxcpt.c (fedisableexcept): Return 0.
2415 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
2416 * math/fegetenv.c (__fegetenv): Return 0.
2417 * math/fegetexcept.c (fegetexcept): Return 0.
2418 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
2419 FE_TONEAREST.
2420 * math/feholdexcpt.c (feholdexcept): Return 0.
2421 * math/fesetenv.c (__fesetenv): Return 0.
2422 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
2423 argument FE_TONEAREST.
2424 * math/feupdateenv.c (__feupdateenv): Return 0.
2425 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
2426
bfcacbde
RM
24272013-06-18 Roland McGrath <roland@hack.frob.com>
2428
2429 * elf/rtld-Rules (rtld-compile-command.S): New variable.
2430 (rtld-compile-command.s, rtld-compile-command.c): New variables.
2431 ($(objpfx)rtld-%.os rules): Use them.
2432
e55a9b25
AZ
24332013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2434
2435 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
2436 fields.
2437
346d65b3
RM
24382013-06-17 Roland McGrath <roland@hack.frob.com>
2439
12086fb4
RM
2440 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
2441 length of target pattern, then descending length of dependency pattern.
2442 * configure.in (AWK): Require gawk 3.1.2 or newer.
2443 * manual/install.texi (Tools for Compilation): Say that we do.
2444 * configure: Regenerated.
2445
346d65b3
RM
2446 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
2447 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
2448 * scripts/sysd-rules.awk: ... this new script.
2449 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
2450 than a glob-style pattern.
2451
1a846317
JM
24522013-06-17 Joseph Myers <joseph@codesourcery.com>
2453
2454 * math/test-misc.c (main): Do not treat incorrectly rounded
2455 conversions as failure unless ROUNDING_TESTS passes.
2456
8fc75e6f
JM
24572013-06-15 Joseph Myers <joseph@codesourcery.com>
2458
3711a167
JM
2459 [BZ #15631]
2460 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
2461 restore exception state around main square root computation, then
2462 check for inexactness explicitly.
2463
8fc75e6f
JM
2464 * math/libm-test.inc (fma_test_data): Add another test.
2465
61dd6208
SP
24662013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2467
adf23d2c
SP
2468 * manual/threads.texi (Non-POSIX Extensions): New document
2469 node. Document pthread_getattr_default_np and
2470 pthread_setattr_default_np.
2471
61dd6208
SP
2472 * Versions.def (libpthread): Add GLIBC_2.18.
2473 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
2474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2475 Likewise.
2476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2477 Likewise.
2478 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2479 Likewise.
2480 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2481 Likewise.
2482 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
2483 Likewise.
2484 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2485 Likewise.
2486 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2487 Likewise.
2488 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2489 Likewise.
2490 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2491 Likewise.
2492
d086fc7b
LD
24932013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2494
2495 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2496 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
2497
747ef469
SP
24982013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2499 H.J. Lu <hjl.tools@gmail.com>
2500
2501 [BZ #15627]
2502 * sysdeps/x86_64/rtld-memset.c: Remove file.
2503 * sysdeps/x86_64/rtld-memset.S: New file.
2504
1b2feed2
JM
25052013-06-14 Joseph Myers <joseph@codesourcery.com>
2506
2507 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
2508 (test_in_one_mode): Take arguments for whether the rounding mode
2509 is supported for each floating-point type.
2510 (do_test): Pass new arguments to test_in_one_mode using
2511 ROUNDING_TESTS.
2512
a58ad3f8
RM
25132013-06-13 Roland McGrath <roland@hack.frob.com>
2514
2515 * posix/tst-waitid.c (do_test): Distinguish different instances of
2516 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
2517 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
2518 before entering the kernel for waitpid.
2519
c204ab28
SP
25202013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2521
2522 * NEWS: Fix note on clock function precision. Text by Roland
2523 McGrath.
2524
f4a29fba
RM
25252013-06-13 Roland McGrath <roland@hack.frob.com>
2526
2527 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
2528 it into place only when and if the sanity check passes.
2529
1f24b9ad
JM
25302013-06-13 Joseph Myers <joseph@codesourcery.com>
2531
2532 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
2533 output for whether conversion result is exact. Take argument
2534 indicating whether type is IBM long double.
2535 (round_for_all): Change need_exact field to ibm_ld.
2536 * stdlib/tst-strtod-round.c (struct exactness): New type.
2537 (struct test): Change bool ld_ok field to struct exactness exact.
2538 (TEST): Update all definitions for change to field.
2539 (tests): Regenerate array contents.
2540 (test_in_one_mode): Take pointer to new field instead of old ld_ok
2541 field value. Check for IBM long double here.
2542 (do_test): Update calls to test_in_one_mode.
2543
58206c68
SP
25442013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2545
2546 [BZ #12515]
2547 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
2548 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
2549
2d6f4c5b 25502013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
2551
2552 [BZ #15605]
2553 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
2554 generated by the compiler on loop optimizations.
2555 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
2556 general definitions.
2557
94f2c076
JM
25582013-06-12 Joseph Myers <joseph@codesourcery.com>
2559
2560 * math/bug-nextafter.c: Include <math-tests.h>.
2561 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2562 the relevant type.
2563 * math/bug-nexttoward.c: Include <math-tests.h>.
2564 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2565 the relevant type.
2566 * math/test-misc.c: Include <math-tests.h>.
2567 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2568 the relevant type.
2569
e0e50a0a
AJ
25702013-06-12 Andreas Jaeger <aj@suse.de>
2571
2572 * po/ia.po: Update Interlingua translation from translation
2573 project.
2574
25061094
SP
25752013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2576
2577 * include/fenv.h: Include stdbool.h.
2578 (struct rm_ctx): New structure.
2579 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
2580 Define macro.
2581 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
2582 (SET_RESTORE_ROUNDF): Likewise.
2583 (SET_RESTORE_ROUNDL): Likewise.
2584 (SET_RESTORE_ROUND_NOEX): Likewise.
2585 (SET_RESTORE_ROUND_NOEXF): Likewise.
2586 (SET_RESTORE_ROUND_NOEXL): Likewise.
2587 (SET_RESTORE_ROUND_53BIT): Likewise.
2588 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
2589 (libc_feresetround_noexf_ctx): Likewise.
2590 (libc_feresetround_noexl_ctx): Likewise.
2591 (libc_feholdsetround_53bit_ctx): Likewise.
2592 (libc_feresetround_53bit_ctx): Likewise.
2593 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
2594 (libc_feholdexcept_setround_sse_ctx): New function.
2595 (libc_fesetenv_sse_ctx): Likewise.
2596 (libc_feupdateenv_sse_ctx): Likewise.
2597 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
2598 (libc_feholdexcept_setround_387_ctx): Likewise.
2599 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
2600 (libc_feholdsetround_387_prec_ctx): Likewise.
2601 (libc_feholdsetround_387_ctx): Likewise.
2602 (libc_feholdsetround_387_53bit_ctx): Likewise.
2603 (libc_feholdsetround_sse_ctx): Likewise.
2604 (libc_feresetround_sse_ctx): Likewise.
2605 (libc_feresetround_387_ctx): Likewise.
2606 (libc_feupdateenv_387_ctx): Likewise.
2607 (libc_feholdexcept_setroundf_ctx): Define macro.
2608 (libc_fesetenvf_ctx): Likewise.
2609 (libc_feupdateenvf_ctx): Likewise.
2610 (libc_feholdsetroundf_ctx): Likewise.
2611 (libc_feresetroundf_ctx): Likewise.
2612 (libc_feholdexcept_setround_ctx): Likewise.
2613 (libc_fesetenv_ctx): Likewise.
2614 (libc_feupdateenv_ctx): Likewise.
2615 (libc_feholdsetround_ctx): Likewise.
2616 (libc_feresetround_ctx): Likewise.
2617 (libc_feholdexcept_setroundl_ctx): Likewise.
2618 (libc_feupdateenvl_ctx): Likewise.
2619 (libc_feholdsetroundl_ctx): Likewise.
2620 (libc_feresetroundl_ctx): Likewise.
2621 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
2622 (libc_feresetround_53bit_ctx): Likewise.
2623
59b30555
SP
26242013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2625
2626 * locale/iso-639.def: Convert to UTF-8.
2627
f1d73d30
JM
26282013-06-11 Joseph Myers <joseph@codesourcery.com>
2629
2630 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
2631 (EXCEPTION_TESTS_double): Likewise.
2632 (EXCEPTION_TESTS_long_double): Likewise.
2633 (EXCEPTION_TESTS): Likewise.
2634 * math/libm-test.inc (test_exceptions): Only test exceptions if
2635 EXCEPTION_TESTS (FLOAT).
2636
94aca5e7
SP
26372013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2638
2639 * benchtests/Makefile (string-bench): Add strcpy_chk and
2640 stpcpy_chk.
2641 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
2642 * benchtests/bench-stpcpy_chk.c: New file.
2643 * benchtests/bench-strcpy_chk-ifunc.c: New file.
2644 * benchtests/bench-strcpy_chk.c: New file.
2645 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
2646 code.
2647 (do_test): Likewise.
2648
fac0c5f2
RA
26492013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2650
2651 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
2652 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
2653 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
2654 with tabs where appropriate.
2655 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
2656 dl-procinfo.h.
2657 [PPC_PLATFORM_PPC440]: Likewise.
2658 [PPC_PLATFORM_PPC464]: Likewise.
2659 [PPC_PLATFORM_PPC476]: Likewise.
2660 (_dl_string_platform): Add support for detecting ppc405, ppc440,
2661 ppc464, and ppc476 platform strings merging from ports/
2662 dl-procinfo.h.
2663
f22bc486
AS
26642013-06-11 Andreas Schwab <schwab@suse.de>
2665
2666 [BZ #14991]
2667 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
2668 (from_ucs4_idx): Regenerate.
2669 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
2670 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
2671 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
2672 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
2673 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
2674 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
2675 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
2676 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
2677 from FROM_LOOP and TO_LOOP specific macros.
2678 (BODY): Handle combining characters.
2679 * iconvdata/BIG5HKSCS.irreversible: Update.
2680 * iconvdata/BIG5HKSCS.precomposed: New file.
2681 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
2682 characters.
2683 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
2684
c1f75dc3
SP
26852013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2686
4eacded2
SP
2687 * include/sys/time.h: Fix indentation and add copyright header.
2688
fec799f8
SP
2689 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
2690 (do_test): Likewise.
2691 * string/test-memchr.c (do_one_test): Likewise.
2692 (do_test): Likewise.
2693 * string/test-memcmp.c (do_one_test): Likewise.
2694 (do_test): Likewise.
2695 * string/test-memcpy.c (do_one_test): Likewise.
2696 (do_test): Likewise.
2697 * string/test-memmem.c (do_one_test): Likewise.
2698 (do_test): Likewise.
2699 (do_random_tests): Likewise.
2700 * string/test-memmove.c (do_one_test): Likewise.
2701 (do_test): Likewise.
2702 * string/test-memset.c (do_one_test): Likewise.
2703 (do_test): Likewise.
2704 * string/test-rawmemchr.c (do_one_test): Likewise.
2705 (do_test): Likewise.
2706 * string/test-strcasecmp.c (do_one_test): Likewise.
2707 (do_test): Likewise.
2708 * string/test-strcasestr.c (do_one_test): Likewise.
2709 (do_test): Likewise.
2710 * string/test-strcat.c (do_one_test): Likewise.
2711 (do_test): Likewise.
2712 * string/test-strchr.c (do_one_test): Likewise.
2713 (do_test): Likewise.
2714 * string/test-strcmp.c (do_one_test): Likewise.
2715 (do_test): Likewise.
2716 * string/test-strcpy.c (do_one_test): Likewise.
2717 (do_test): Likewise.
2718 * string/test-string.h: Likewise.
2719 (test_init): Likewise.
2720 * string/test-strlen.c (do_one_test): Likewise.
2721 (do_test): Likewise.
2722 * string/test-strncasecmp.c (do_one_test): Likewise.
2723 (do_test): Likewise.
2724 * string/test-strncat.c (do_one_test): Likewise.
2725 (do_test): Likewise.
2726 * string/test-strncmp.c (do_one_test): Likewise.
2727 (do_test_limit): Likewise.
2728 (do_test): Likewise.
2729 * string/test-strncpy.c (do_one_test): Likewise.
2730 (do_test): Likewise.
2731 * string/test-strnlen.c (do_one_test): Likewise.
2732 (do_test): Likewise.
2733 * string/test-strpbrk.c (do_one_test): Likewise.
2734 (do_test): Likewise.
2735 * string/test-strrchr.c (do_one_test): Likewise.
2736 (do_test): Likewise.
2737 * string/test-strspn.c (do_one_test): Likewise.
2738 (do_test): Likewise.
2739 * string/test-strstr.c (do_one_test): Likewise.
2740 (do_test): Likewise.
2741
97020474
SP
2742 * benchtests/Makefile (string-bench): Add string benchmarks.
2743 * benchtests/bench-bcopy-ifunc.c: New file.
2744 * benchtests/bench-bcopy.c: New file.
2745 * benchtests/bench-bzero-ifunc.c: New file.
2746 * benchtests/bench-bzero.c: New file.
2747 * benchtests/bench-memccpy-ifunc.c: New file.
2748 * benchtests/bench-memccpy.c: New file.
2749 * benchtests/bench-memchr-ifunc.c: New file.
2750 * benchtests/bench-memchr.c: New file.
2751 * benchtests/bench-memcmp-ifunc.c: New file.
2752 * benchtests/bench-memcmp.c: New file.
2753 * benchtests/bench-memmem-ifunc.c: New file.
2754 * benchtests/bench-memmem.c: New file.
2755 * benchtests/bench-memmove-ifunc.c: New file.
2756 * benchtests/bench-memmove.c: New file.
2757 * benchtests/bench-mempcpy-ifunc.c: New file.
2758 * benchtests/bench-mempcpy.c: New file.
2759 * benchtests/bench-memset-ifunc.c: New file.
2760 * benchtests/bench-memset.c: New file.
2761 * benchtests/bench-rawmemchr-ifunc.c: New file.
2762 * benchtests/bench-rawmemchr.c: New file.
2763 * benchtests/bench-stpcpy-ifunc.c: New file.
2764 * benchtests/bench-stpcpy.c: New file.
2765 * benchtests/bench-stpncpy-ifunc.c: New file.
2766 * benchtests/bench-stpncpy.c: New file.
2767 * benchtests/bench-strcasecmp-ifunc.c: New file.
2768 * benchtests/bench-strcasecmp.c: New file.
2769 * benchtests/bench-strcasestr-ifunc.c: New file.
2770 * benchtests/bench-strcasestr.c: New file.
2771 * benchtests/bench-strcat-ifunc.c: New file.
2772 * benchtests/bench-strcat.c: New file.
2773 * benchtests/bench-strchr-ifunc.c: New file.
2774 * benchtests/bench-strchr.c: New file.
2775 * benchtests/bench-strchrnul-ifunc.c: New file.
2776 * benchtests/bench-strchrnul.c: New file.
2777 * benchtests/bench-strcmp-ifunc.c: New file.
2778 * benchtests/bench-strcmp.c: New file.
2779 * benchtests/bench-strcpy-ifunc.c: New file.
2780 * benchtests/bench-strcpy.c: New file.
2781 * benchtests/bench-strcspn-ifunc.c: New file.
2782 * benchtests/bench-strcspn.c: New file.
2783 * benchtests/bench-strlen-ifunc.c: New file.
2784 * benchtests/bench-strlen.c: New file.
2785 * benchtests/bench-strncasecmp-ifunc.c: New file.
2786 * benchtests/bench-strncasecmp.c: New file.
2787 * benchtests/bench-strncat-ifunc.c: New file.
2788 * benchtests/bench-strncat.c: New file.
2789 * benchtests/bench-strncmp-ifunc.c: New file.
2790 * benchtests/bench-strncmp.c: New file.
2791 * benchtests/bench-strncpy-ifunc.c: New file.
2792 * benchtests/bench-strncpy.c: New file.
2793 * benchtests/bench-strnlen-ifunc.c: New file.
2794 * benchtests/bench-strnlen.c: New file.
2795 * benchtests/bench-strpbrk-ifunc.c: New file.
2796 * benchtests/bench-strpbrk.c: New file.
2797 * benchtests/bench-strrchr-ifunc.c: New file.
2798 * benchtests/bench-strrchr.c: New file.
2799 * benchtests/bench-strspn-ifunc.c: New file.
2800 * benchtests/bench-strspn.c: New file.
2801 * benchtests/bench-strstr-ifunc.c: New file.
2802 * benchtests/bench-strstr.c: New file.
2803
c1f75dc3
SP
2804 * benchtests/Makefile: Disable parallel execution of targets.
2805 (string-bench): Add memcpy.
2806 (benchset): New variable to store a list of benchmark sets.
2807 (bench-func): Renamed from bench.
2808 (bench-set): New target.
2809 (bench): Depend on bench-func and bench-set.
2810 * benchtests/README: Add section on benchmark sets.
2811 * benchtests/bench-memcpy-ifunc.c: New file.
2812 * benchtests/bench-memcpy.c: New file.
2813 * benchtests/bench-string.h: New file.
2814
50fd745b
AS
28152013-06-11 Andreas Schwab <schwab@suse.de>
2816
2817 [BZ #15577]
2818 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
2819 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
2820 values in the triple.
2821 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
2822 terminator in the group key.
2823
3ee7e9fe
AJ
28242013-06-11 Andreas Jaeger <aj@suse.de>
2825
2826 * po/zh_TW.po: Update Chinese (traditional) translation from
2827 translation project.
2828
89fb6835
SP
28292013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2830
2831 * include/time.h (__clock_gettime): Add libc_hidden_proto.
2832 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
2833 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
2834 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2835 (clock_getcpuclockid): Likewise.
2836 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
2837 Add weak_alias and libc_hidden_def.
2838 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
2839 * rt/clock_gettime.c (clock_gettime): Rename to
2840 __clock_gettime. Add weak_alias and libc_hidden_def.
2841 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
2842 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
2843 __clock_nanosleep. Add weak_alias and libc_hidden_def.
2844 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
2845 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
2846 Likewise.
2847 * rt/clock_settime.c (clock_settime): Rename to
2848 __clock_settime. Add weak_alias and libc_hidden_def.
2849 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
2850
0efa6f8b
JM
28512013-06-10 Joseph Myers <joseph@codesourcery.com>
2852
b8c61b4b
JM
2853 * mach/err_boot.sub: Remove trailing whitespace.
2854 * mach/err_ipc.sub: Likewise.
2855 * mach/err_mach.sub: Likewise.
2856
0efa6f8b
JM
2857 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
2858 (ROUNDING_TESTS_double): Likewise.
2859 (ROUNDING_TESTS_long_double): Likewise.
2860 (ROUNDING_TESTS): Likewise.
2861 * math/libm-test.inc: Include <math-tests.h>.
2862 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
2863 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2864 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2865 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2866
50b818bf
SP
28672013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2868
2869 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
2870 of assigning.
2871
60d2f8f3
JM
28722013-06-08 Joseph Myers <joseph@codesourcery.com>
2873
4902d2c3
JM
2874 * sysdeps/gnu/errlist.awk: Do not generate space at end of
2875 otherwise empty TRANS lines.
2876 * sysdeps/gnu/errlist.c: Regenerated.
2877
60d2f8f3
JM
2878 * catgets/gencat.c (error_print): Use (void) in function
2879 definition.
2880 * crypt/crypt_util.c (__init_des): Likewise.
2881 * crypt/speeds.c (Stop): Likewise.
2882 (main): Likewise.
2883 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
2884 * inet/ruserpass.c (token): Likewise.
2885 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
2886 * intl/localealias.c (extend_alias_table): Likewise.
2887 * intl/plural-exp.c (init_germanic_plural): Likewise.
2888 * libio/fcloseall.c (__fcloseall): Likewise.
2889 * libio/genops.c (_IO_flush_all): Likewise.
2890 (_IO_flush_all_linebuffered): Likewise.
2891 (_IO_cleanup): Likewise.
2892 (_IO_iter_begin): Likewise.
2893 (_IO_iter_end): Likewise.
2894 (_IO_list_lock): Likewise.
2895 (_IO_list_unlock): Likewise.
2896 (_IO_list_resetlock): Likewise.
2897 * libio/getchar.c (getchar): Likewise.
2898 * libio/getchar_u.c (getchar_unlocked): Likewise.
2899 * libio/getwchar.c (getwchar): Likewise.
2900 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2901 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
2902 * login/getpt.c (__getpt): Likewise.
2903 * login/tst-utmp.c (main): Likewise.
2904 * malloc/hooks.c (__malloc_check_init): Likewise.
2905 * malloc/malloc.c (__malloc_stats): Likewise.
2906 * malloc/mtrace.c (tr_break): Likewise.
2907 (mtrace): Likewise.
2908 (muntrace): Likewise.
2909 * misc/fstab.c (endfsent): Likewise.
2910 * misc/getclktck.c (__getclktck): Likewise.
2911 * misc/getdtsz.c (__getdtablesize): Likewise.
2912 * misc/gethostid.c (gethostid): Likewise.
2913 * misc/getpagesize.c (__getpagesize): Likewise.
2914 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
2915 (__get_nprocs): Likewise.
2916 (__get_phys_pages): Likewise.
2917 (__get_avphys_pages): Likewise.
2918 * misc/getttyent.c (getttyent): Likewise.
2919 (setttyent): Likewise.
2920 (endttyent): Likewise.
2921 * misc/getusershell.c (getusershell): Likewise.
2922 (endusershell): Likewise.
2923 (setusershell): Likewise.
2924 (initshells): Likewise.
2925 * misc/hsearch.c (__hdestroy): Likewise.
2926 * misc/sync.c (sync): Likewise.
2927 * misc/syslog.c (closelog_internal): Likewise.
2928 (closelog): Likewise.
2929 * misc/ttyslot.c (ttyslot): Likewise.
2930 * misc/vhangup.c (vhangup): Likewise.
2931 * posix/fork.c (__fork): Likewise.
2932 * posix/getegid.c (__getegid): Likewise.
2933 * posix/geteuid.c (__geteuid): Likewise.
2934 * posix/getgid.c (__getgid): Likewise.
2935 * posix/getpid.c (__getpid): Likewise.
2936 * posix/getppid.c (__getppid): Likewise.
2937 * posix/getuid.c (__getuid): Likewise.
2938 * posix/pause.c (pause): Likewise.
2939 * posix/setpgrp.c (setpgrp): Likewise.
2940 * posix/setsid.c (__setsid): Likewise.
2941 * posix/test-vfork.c (noop): Likewise.
2942 * resolv/gethnamaddr.c (_endhtent): Likewise.
2943 (_gethtent): Likewise.
2944 (ht_endhostent): Likewise.
2945 (gethostent): Likewise.
2946 (dns_service): Likewise.
2947 * stdlib/drand48.c (drand48): Likewise.
2948 * stdlib/lrand48.c (lrand48): Likewise.
2949 * stdlib/mrand48.c (mrand48): Likewise.
2950 * stdlib/rand.c (rand): Likewise.
2951 * stdlib/random.c (__random): Likewise.
2952 * stdlib/setenv.c (clearenv): Likewise.
2953 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
2954 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
2955 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
2956 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
2957 (__get_nprocs): Likewise.
2958 (__get_phys_pages): Likewise.
2959 (__get_avphys_pages): Likewise.
2960 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
2961 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
2962 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
2963 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
2964 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
2965 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
2966 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
2967 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
2968 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
2969 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
2970 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
2971 * sysdeps/mach/hurd/sync.c (sync): Likewise.
2972 * sysdeps/posix/clock.c (clock): Likewise.
2973 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
2974 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
2975 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
2976 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2977 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
2978 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2979 (__get_nprocs_conf): Likewise.
2980 (__get_phys_pages): Likewise.
2981 (__get_avphys_pages): Likewise.
2982 * time/clock.c (clock): Likewise.
2983 * time/tzset.c (__tzname_max): Likewise.
2984
2e09a79a
JM
29852013-06-07 Joseph Myers <joseph@codesourcery.com>
2986
2987 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
2988 (__bswap_32): Do not use "register".
2989 * crypt/crypt.c (_ufc_doit_r): Likewise.
2990 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2991 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2992 * gmon/gmon.c (__monstartup): Likewise.
2993 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
2994 * hurd/hurdmalloc.c (more_memory): Likewise.
2995 (malloc): Likewise.
2996 (free): Likewise.
2997 (realloc): Likewise.
2998 (malloc_fork_prepare): Likewise.
2999 (malloc_fork_parent): Likewise.
3000 (malloc_fork_child): Likewise.
3001 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
3002 (_svcauth_des): Likewise.
3003 * inet/inet_lnaof.c (inet_lnaof): Likewise.
3004 * inet/inet_net.c (inet_network): Likewise.
3005 * inet/inet_netof.c (inet_netof): Likewise.
3006 * inet/rcmd.c (__validuser2_sa): Likewise.
3007 * io/fts.c (fts_open): Likewise.
3008 (fts_load): Likewise.
3009 (fts_close): Likewise.
3010 (fts_read): Likewise.
3011 (fts_children): Likewise.
3012 (fts_build): Likewise.
3013 (fts_stat): Likewise.
3014 (fts_sort): Likewise.
3015 (fts_alloc): Likewise.
3016 (fts_lfree): Likewise.
3017 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
3018 (_IO_file_xsgetn): Likewise.
3019 (_IO_file_xsgetn_mmap): Likewise.
3020 * libio/iofopncook.c (_IO_cookie_read): Likewise.
3021 (_IO_cookie_write): Likewise.
3022 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
3023 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
3024 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
3025 * malloc/obstack.c (_obstack_begin): Likewise.
3026 (_obstack_begin_1): Likewise.
3027 (_obstack_newchunk): Likewise.
3028 (_obstack_allocated_p): Likewise.
3029 (obstack_free): Likewise.
3030 (_obstack_memory_used): Likewise.
3031 * misc/getttyent.c (getttynam): Likewise.
3032 (getttyent): Likewise.
3033 (skip): Likewise.
3034 (value): Likewise.
3035 * misc/getusershell.c (initshells): Likewise.
3036 * misc/syslog.c (__vsyslog_chk): Likewise.
3037 * misc/ttyslot.c (ttyslot): Likewise.
3038 * nis/nis_hash.c (__nis_hash): Likewise.
3039 * posix/fnmatch_loop.c (FCT): Likewise.
3040 * posix/getconf.c (print_all): Likewise.
3041 (main): Likewise.
3042 * posix/getopt.c (exchange): Likewise.
3043 * posix/glob.c (globfree): Likewise.
3044 (prefix_array): Likewise.
3045 (__glob_pattern_type): Likewise.
3046 * resolv/arpa/nameser.h (NS_GET16): Likewise.
3047 (NS_GET32): Likewise.
3048 (NS_PUT16): Likewise.
3049 (NS_PUT32): Likewise.
3050 * resolv/gethnamaddr.c (getanswer): Likewise.
3051 (gethostbyname2): Likewise.
3052 (gethostbyaddr): Likewise.
3053 (_gethtent): Likewise.
3054 (_gethtbyname2): Likewise.
3055 (_gethtbyaddr): Likewise.
3056 * resolv/ns_print.c (dst_s_get_int16): Likewise.
3057 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3058 * resolv/res_init.c (__res_vinit): Likewise.
3059 (net_mask): Likewise.
3060 * resolv/res_mkquery.c (outchar): Likewise.
3061 (PRINT): Likewise.
3062 * stdio-common/printf_fp.c (outchar): Likewise.
3063 (PRINT): Likewise.
3064 * stdio-common/printf_fphex.c (outchar): Likewise.
3065 (PRINT): Likewise.
3066 * stdio-common/printf_size.c (outchar): Likewise.
3067 (PRINT): Likewise.
3068 * stdio-common/test_rdwr.c (main): Likewise.
3069 * stdio-common/tfformat.c (matches): Likewise.
3070 * stdio-common/vfprintf.c (outchar): Likewise.
3071 (printf_unknown): Likewise.
3072 (buffered_vfprintf): Likewise.
3073 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3074 * stdio-common/xbug.c (AppendToBuffer): Likewise.
3075 (ReadFile): Likewise.
3076 * stdlib/qsort.c (SWAP): Likewise.
3077 (_quicksort): Likewise.
3078 * stdlib/setenv.c (__add_to_environ): Likewise.
3079 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3080 * stdlib/strtol_l.c (__strtol_l): Likewise.
3081 * stdlib/tst-strtod.c (main): Likewise.
3082 * stdlib/tst-strtol.c (main): Likewise.
3083 * stdlib/tst-strtoll.c (main): Likewise.
3084 * string/bits/string2.h (__strcmp_cc): Likewise.
3085 (__strcmp_cg): Likewise.
3086 (__strcspn_c1): Likewise.
3087 (__strcspn_c2): Likewise.
3088 (__strcspn_c3): Likewise.
3089 (__strspn_c1): Likewise.
3090 (__strspn_c2): Likewise.
3091 (__strspn_c3): Likewise.
3092 (__strsep_1c): Likewise.
3093 (__strsep_2c): Likewise.
3094 (__strsep_3c): Likewise.
3095 * string/memccpy.c (__memccpy): Likewise.
3096 * string/stpcpy.c (__stpcpy): Likewise.
3097 * string/strcmp.c (strcmp): Likewise.
3098 * string/strrchr.c (strrchr): Likewise.
3099 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
3100 Likewise.
3101 * sysdeps/mach/hurd/getcwd.c
3102 (_hurd_canonicalize_directory_name_internal): Likewise.
3103 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
3104 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
3105 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
3106 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
3107 Likewise, in both definitions.
3108 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
3109 definitions.
3110 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
3111 64] (__bswap_64): Likewise.
3112 * time/test_time.c (main): Likewise.
3113 * time/tzfile.c (__tzfile_read): Likewise.
3114 (__tzfile_compute): Likewise.
3115 * time/tzset.c (__tzset_parse_tz): Likewise.
3116 (tzset_internal): Likewise.
3117 (compute_change): Likewise.
3118 * wcsmbs/wcscat.c (__wcscat): Likewise.
3119 * wcsmbs/wcschr.c (wcschr): Likewise.
3120 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3121 * wcsmbs/wcscspn.c (wcscspn): Likewise.
3122 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3123 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
3124 * wcsmbs/wcsspn.c (wcsspn): Likewise.
3125 * wcsmbs/wcsstr.c (wcsstr): Likewise.
3126 * wcsmbs/wmemchr.c (wmemchr): Likewise.
3127 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3128 * wcsmbs/wmemset.c (wmemset): Likewise.
3129
9e54314b
JM
31302013-06-06 Joseph Myers <joseph@codesourcery.com>
3131
3132 * scripts/config.guess: Update to version 2013-05-16.
3133 * scripts/config.sub: Update to version 2013-04-24.
3134 * scripts/install-sh: Update to version 2011-11-20.07.
3135 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
3136 * scripts/move-if-change: Update to version 2012-01-06 07:23.
3137
350635a5
OB
31382013-06-06 Ondřej Bílka <neleai@seznam.cz>
3139
3140 * debug/fgetws_u_chk.c: Fix leading whitespaces.
3141 * elf/sln.c: Likewise.
3142 * hurd/hurd/ioctl.h: Likewise.
3143 * hurd/hurdmalloc.c: Likewise.
3144 * hurd/xattr.c: Likewise.
3145 * include/shlib-compat.h: Likewise.
3146 * inet/ruserpass.c: Likewise.
3147 * libio/iofgets_u.c: Likewise.
3148 * libio/iofgetws_u.c: Likewise.
3149 * locale/programs/ld-identification.c: Likewise.
3150 * locale/programs/ld-time.c: Likewise.
3151 * mach/msg-destroy.c: Likewise.
3152 * nss/nss_files/files-netgrp.c: Likewise.
3153 * resolv/res_data.c: Likewise.
3154 * soft-fp/op-1.h: Likewise.
3155 * soft-fp/op-2.h: Likewise.
3156 * soft-fp/op-4.h: Likewise.
3157 * soft-fp/op-common.h: Likewise.
3158 * stdio-common/printf_fphex.c: Likewise.
3159 * stdlib/strtod_l.c: Likewise.
3160 * sunrpc/rpc/clnt.h: Likewise.
3161 * sysdeps/generic/framestate.c: Likewise.
3162 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3163 * sysdeps/i386/bsd-setjmp.S: Likewise.
3164 * sysdeps/i386/__longjmp.S: Likewise.
3165 * sysdeps/i386/setjmp.S: Likewise.
3166 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3167 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3168 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3169 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3170 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3171 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3172 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3173 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3174 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3175 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3176 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3177 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3178 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3179 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3180 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3181 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3182 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3183 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
3184 * sysdeps/ieee754/support.c: Likewise.
3185 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3186 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
3187 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
3188 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
3189 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
3190 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
3191 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
3192 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
3193 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
3194 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
3195 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
3196 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
3197 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
3198 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
3199 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
3200 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
3201 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3203
44a988af
OB
32042013-06-05 Ondřej Bílka <neleai@seznam.cz>
3205
25506f09 3206 * posix/transbug.c: Remove executable mode.
44a988af 3207
9c84384c
JM
32082013-06-05 Joseph Myers <joseph@codesourcery.com>
3209
3210 * crypt/speeds.c: Remove trailing whitespace.
3211 * dlfcn/default.c: Likewise.
3212 * elf/ifuncdep2.c: Likewise.
3213 * elf/ifuncmain1.c: Likewise.
3214 * elf/ifuncmain1vis.c: Likewise.
3215 * elf/testobj.h: Likewise.
3216 * elf/tst-stackguard1.c: Likewise.
3217 * gmon/sys/gmon.h: Likewise.
3218 * hurd/hurdmsg.c: Likewise.
3219 * hurd/new-fd.c: Likewise.
3220 * hurd/ports-get.c: Likewise.
3221 * iconvdata/ibm1008_420.c: Likewise.
3222 * inet/tst-getni1.c: Likewise.
3223 * inet/tst-getni2.c: Likewise.
3224 * libio/ioungetc.c: Likewise.
3225 * libio/wfiledoalloc.c: Likewise.
3226 * manual/libm-err-tab.pl: Likewise.
3227 * math/w_dremf.c: Likewise.
3228 * misc/ftruncate.c: Likewise.
3229 * posix/bug-glob2.c: Likewise.
3230 * posix/tst-pcre.c: Likewise.
3231 * posix/wait4.c: Likewise.
3232 * resolv/README: Likewise.
3233 * resolv/res_debug.h: Likewise.
3234 * resolv/tst-inet_ntop.c: Likewise.
3235 * setjmp/bug269-setjmp.c: Likewise.
3236 * soft-fp/extended.h: Likewise.
3237 * soft-fp/op-1.h: Likewise.
3238 * soft-fp/op-2.h: Likewise.
3239 * soft-fp/op-4.h: Likewise.
3240 * soft-fp/op-8.h: Likewise.
3241 * soft-fp/testit.c: Likewise.
3242 * stdio-common/bug16.c: Likewise.
3243 * stdlib/random.c: Likewise.
3244 * sunrpc/rpcsvc/rquota.x: Likewise.
3245 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
3246 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3247 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3248 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3249 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3250 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3251 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3252 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3253 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3254 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3255 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3256 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3257 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3258 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3259 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3260 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3261 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3262 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3263 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3264 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3265 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3266 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3267 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3268 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3269 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3270 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3271 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3272 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3273 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3274 * sysdeps/ieee754/s_lib_version.c: Likewise.
3275 * sysdeps/mach/hurd/check_fds.c: Likewise.
3276 * sysdeps/mach/hurd/getsockname.c: Likewise.
3277 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
3278 * sysdeps/mach/hurd/recvfrom.c: Likewise.
3279 * sysdeps/powerpc/bits/link.h: Likewise.
3280 * sysdeps/powerpc/dl-procinfo.c: Likewise.
3281 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
3282 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
3283 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
3284 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3285 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3286 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
3287 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3288 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
3289 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3290 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3291 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3292 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
3293 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3294 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3295 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3296 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3297 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3298 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3299 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3300 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3301 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
3302 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3303 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3304 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
3305 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3306 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3307 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3308 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3309 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3310 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3311 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3312 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3313 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3314 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
3315 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3316 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3317 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3318 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3319 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
3320 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3321 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3322 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3323 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3324 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3325 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
3326 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3327 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3328 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
3329 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
3330 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3331 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3332 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3333 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3334 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3335 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3336 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3337 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3338 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
3339 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3340 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3341 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3342 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
3343 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3344 * sysdeps/powerpc/sysdep.h: Likewise.
3345 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3346 * sysdeps/s390/s390-64/sub_n.S: Likewise.
3347 * sysdeps/sh/dl-trampoline.S: Likewise.
3348 * sysdeps/sh/memset.S: Likewise.
3349 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
3350 * sysdeps/sh/strlen.S: Likewise.
3351 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
3352 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
3353 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
3354 * sysdeps/sparc/sparc32/rem.S: Likewise.
3355 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
3356 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
3357 * sysdeps/sparc/sparc32/strchr.S: Likewise.
3358 * sysdeps/sparc/sparc32/udiv.S: Likewise.
3359 * sysdeps/sparc/sparc32/urem.S: Likewise.
3360 * sysdeps/sparc/sparc64/add_n.S: Likewise.
3361 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3362 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
3363 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
3364 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
3365 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
3366 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3367 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
3368 * sysdeps/unix/bsd/times.c: Likewise.
3369 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
3370 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
3371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3374 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3375 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3376 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3377 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
3378 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
3379 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
3380 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3381 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
3382 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3383 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3384 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3385 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3386 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
3387 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
3388 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
3389 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3390 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
3391 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3392 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
3393 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
3394 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3395 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
3396 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3397 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
3398 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
3399 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
3400 * sysdeps/x86_64/strcspn.S: Likewise.
3401
869378a5
RA
34022013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3403
3404 * locale/C-translit.h: Revert #include <stdint.h> because this is a
3405 generated file. Regenerate properly from gen-translit.pl.
3406 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
3407 locale/C-translit.h.
3408
840e2943
AS
34092013-06-05 Andreas Schwab <schwab@suse.de>
3410
3411 [BZ #15100]
3412 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
3413 week as 6 instead of -1.
3414 * time/tst-strptime.c (day_tests): Add test case.
3415
4c60cb0c
SP
34162013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3417
3418 * sysdeps/generic/math_private.h
3419 (libc_feholdexcept_setround_53bit): Replace with
3420 libc_feholdsetround_53bit.
3421 (libc_feupdateenv_53bit): Replace with
3422 libc_feresetround_53bit.
3423 (SET_RESTORE_ROUND_53BIT): Adjust.
3424
d180203e
SP
34252013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3426
96df079a
SP
3427 * string/test-strchrnul.c: Add copyright header.
3428
d180203e
SP
3429 * posix/tst-getaddrinfo4.c: Increase test timeout.
3430
8b0ccb2d
CD
34312013-06-03 Carlos O'Donell <carlos@redhat.com>
3432
3433 [BZ #15536]
3434 * math/libm-test.inc (MAX_EXP): Remove
3435 (MIN_EXP): Define.
3436 (ulp): Use MIN_EXP - MANT_DIG.
3437 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
3438
3b3c4d40
CD
34392013-05-31 Carlos O'Donell <carlos@redhat.com>
3440
3441 * po/be.po: Revert last change.
3442 * po/zh_CN.po: Likewise.
3443 * po/header.pot: Likewise.
3444
fab7ce3f
JM
34452013-05-31 Joseph Myers <joseph@codesourcery.com>
3446
3447 * Makefile ($(common-objpfx)linkobj/libc.so): Define
3448 link-libc-deps to empty as target-specific variable.
3449 * Makerules (link-libc-args): New variable.
3450 (libc-for-link): Likewise.
3451 (link-libc-deps): Likewise.
3452 (lib%.so): Depend on $(link-libc-deps). Link with
3453 $(link-libc-args).
3454 (build-module): Link with $(link-libc-args).
3455 (build-module-asneeded): Likewise.
3456 (build-module-helper-objlist): Filter out $(link-libc-deps) from
3457 list of objects.
3458 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
3459 target-specific variable.
3460 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
3461 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
3462 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
3463 libc.
3464 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
3465 libc and ld.so.
3466 ($(objpfx)libpcprofile.so): Likewise.
3467 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
3468 libc_nonshared.a.
3469 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
3470 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
3471 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
3472 $(link-libc-deps).
3473 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
3474 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
3475 * login/Makefile ($(objpfx)libutil.so): Likewise.
3476 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
3477 * math/Makefile ($(objpfx)libm.so): Likewise.
3478 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
3479 $(objpfx)libnsl.so): Define libc-for-link as target-specific
3480 variable instead of depending directly on libc.
3481 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
3482 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
3483 $(link-libc-deps).
3484 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
3485 libc.
3486 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
3487 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
3488 ($(objpfx)libanl.so): Likewise.
3489 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
3490 ld.so.
3491 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
3492 $(link-libc-deps).
3493 * sysdeps/i386/fpu/Makefile: Remove file.
3494 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
3495 ($(objpfx)libm.so): Remove dependency on ld.so.
3496
eca5920c
PF
34972013-05-30 Patsy Franklin <pfrankli@redhat.com>
3498
3499 [BZ # 15553]
3500 * nis/yp_xdr.c (XDRMAXNAME): Define.
3501 (XDRMAXRECORD): Define.
3502 (xdr_domainname): Use XDRMAXNAME.
3503 (xdr_mapname): Likewise.
3504 (xdr_peername): Likewise.
3505 (xdr_keydat): Use XDRMAXRECORD.
3506 (xdr_valdat): Likewise.
3507
35082013-05-30 Jeff Law <law@redhat.com>
96945714
JL
3509
3510 [BZ #14256]
3511 * manual/errno.texi (ESTALE): Update to account for more than
3512 just NFS file systems.
3513 * sysdeps/gnu/errlist.c: Regenerated.
3514
b9375348
SP
35152013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3516
3517 [BZ #15465]
3518 * elf/Makefile (tests): Add tst-null-argv.
3519 (modules-names): Add tst-null-argv-lib.
3520 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
3521 (tst-null-argv-ENV): Set environment for tst-null-argv.
3522 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
3523 (RTLD_PROGNAME): New macro.
3524 * elf/tst-null-argv.c: New test case.
3525 * elf/tst-null-argv-lib.c: Library for test case.
3526 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
3527 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3528 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
3529 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
3530 * elf/dl-init.c (call_init): Likewise.
3531 (_dl_init): Likewise.
3532 * elf/dl-load.c (print_search_path): Likewise.
3533 (_dl_map_object): Likewise.
3534 * elf/dl-lookup.c (do_lookup_x): Likewise.
3535 (add_dependency): Likewise.
3536 (_dl_lookup_symbol_x): Likewise.
3537 (_dl_debug_bindings): Likewise.
3538 * elf/dl-open.c (_dl_show_scope): Likewise.
3539 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3540 * elf/dl-version.c (match_symbol): Likewise.
3541 (_dl_check_map_versions): Likewise.
3542 * elf/rtld.c (dl_main): Likewise.
3543 (print_unresolved): Use RTLD_PROGNAME.
3544 (print_missing_version): Likewise.
3545 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3546 (elf_machine_rela): Likewise.
3547 * sysdeps/powerpc/powerpc32/dl-machine.c
3548 (__process_machine_rela): Likewise.
3549 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3550 Likewise.
3551 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3552 Likewise.
3553 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3554 Likewise.
3555 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3556 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
3557 Likewise.
3558 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
3559 Likewise.
3560 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3561
8a9f20c8
CD
35622013-05-28 Carlos O'Donell <carlos@redhat.com>
3563
3564 * po/be.po: Add descriptive title.
3565 * po/zh_CN.po: Likewise.
3566 * po/header.pot: Likewise.
3567
0e60d68e
MF
35682013-05-28 Mike Frysinger <vapier@gentoo.org>
3569
3570 * locale/programs/locarchive.c (create_archive): Inlucde fname in
3571 error message.
3572 (enlarge_archive): Likewise.
3573
56b672e9
BN
35742013-05-28 Ben North <ben@redfrontdoor.org>
3575
3576 * manual/arith.texi (frexp): It is the magnitude of the return
3577 value which lies in [0.5, 1), not the return value itself.
3578
5e056687
AZ
35792013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3580
3581 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3582
2b66ef5d
TS
35832013-05-26 Thomas Schwinge <thomas@codesourcery.com>
3584
528c2405
TS
3585 * stdio-common/bug26.c (main): Correct fscanf template.
3586
07b4c13d
TS
3587 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
3588 declare _dl_skip_args.
3589
ec9dd97c
TS
3590 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
3591 Don't declare.
3592
2b66ef5d
TS
3593 * manual/platform.texi: Add missing @end deftypefun.
3594
4f8dfe27
JM
35952013-05-24 Joseph Myers <joseph@codesourcery.com>
3596
0323d086
JM
3597 [BZ #15529]
3598 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
3599 bit of mantissa of 2^16382.
3600 * math/libm-test.inc (hypot_test_data): Add more tests.
3601
dd4259b9
JM
3602 * math/libm-test.inc: Add drem and pow10 to list of tested
3603 functions.
3604 (pow10_test): New function.
3605 (drem_test): Likewise.
3606 (drem_test_tonearest): Likewise.
3607 (drem_test_towardzero): Likewise.
3608 (drem_test_downward): Likewise.
3609 (drem_test_upward): Likewise.
3610 (main): Call the new functions.
3611
4f8dfe27
JM
3612 * math/libm-test.inc (finite_test_data): Remove.
3613 (finite_test): Run tests from isfinite_test_data.
3614 (gamma_test_data): Remove.
3615 (gamma_test): Run tests from lgamma_test_data.
3616 * sysdeps/i386/fpu/libm-test-ulps: Update.
3617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3618
d116b7c4
AZ
36192013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3620
3621 * manual/platform.texi: Add PowerPC PPR function set documentation.
3622 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
3623 implementation.
3624
e96e3767
CD
36252013-05-24 Carlos O'Donell <carlos@redhat.com>
3626
3627 * math/libm-test.inc (MAX_EXP): Define.
3628 (ULPDIFF): Define.
3629 (ulp): New function.
3630 (check_float_internal): Use ULPDIFF.
3631 (cpow_test): Disable failing test.
3632 (check_ulp): Test ulp() implemetnation.
3633 (main): Call check_ulp before starting tests.
3634
b679a606
JM
36352013-05-24 Joseph Myers <joseph@codesourcery.com>
3636
e8bdba36
JM
3637 * math/gen-libm-test.pl (generate_testfile): Do not handle
3638 START_DATA and END_DATA.
3639 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
3640 END_DATA.
3641 (acos_tonearest_test_data): Likewise.
3642 (acos_towardzero_test_data): Likewise.
3643 (acos_downward_test_data): Likewise.
3644 (acos_upward_test_data): Likewise.
3645 (acosh_test_data): Likewise.
3646 (asin_test_data): Likewise.
3647 (asin_tonearest_test_data): Likewise.
3648 (asin_towardzero_test_data): Likewise.
3649 (asin_downward_test_data): Likewise.
3650 (asin_upward_test_data): Likewise.
3651 (asinh_test_data): Likewise.
3652 (atan_test_data): Likewise.
3653 (atanh_test_data): Likewise.
3654 (atan2_test_data): Likewise.
3655 (cabs_test_data): Likewise.
3656 (cacos_test_data): Likewise.
3657 (cacosh_test_data): Likewise.
3658 (carg_test_data): Likewise.
3659 (casin_test_data): Likewise.
3660 (casinh_test_data): Likewise.
3661 (catan_test_data): Likewise.
3662 (catanh_test_data): Likewise.
3663 (cbrt_test_data): Likewise.
3664 (ccos_test_data): Likewise.
3665 (ccosh_test_data): Likewise.
3666 (ceil_test_data): Likewise.
3667 (cexp_test_data): Likewise.
3668 (cimag_test_data): Likewise.
3669 (clog_test_data): Likewise.
3670 (clog10_test_data): Likewise.
3671 (conj_test_data): Likewise.
3672 (copysign_test_data): Likewise.
3673 (cos_test_data): Likewise.
3674 (cos_tonearest_test_data): Likewise.
3675 (cos_towardzero_test_data): Likewise.
3676 (cos_downward_test_data): Likewise.
3677 (cos_upward_test_data): Likewise.
3678 (cosh_test_data): Likewise.
3679 (cosh_tonearest_test_data): Likewise.
3680 (cosh_towardzero_test_data): Likewise.
3681 (cosh_downward_test_data): Likewise.
3682 (cosh_upward_test_data): Likewise.
3683 (cpow_test_data): Likewise.
3684 (cproj_test_data): Likewise.
3685 (creal_test_data): Likewise.
3686 (csin_test_data): Likewise.
3687 (csinh_test_data): Likewise.
3688 (csqrt_test_data): Likewise.
3689 (ctan_test_data): Likewise.
3690 (ctan_tonearest_test_data): Likewise.
3691 (ctan_towardzero_test_data): Likewise.
3692 (ctan_downward_test_data): Likewise.
3693 (ctan_upward_test_data): Likewise.
3694 (ctanh_test_data): Likewise.
3695 (ctanh_tonearest_test_data): Likewise.
3696 (ctanh_towardzero_test_data): Likewise.
3697 (ctanh_downward_test_data): Likewise.
3698 (ctanh_upward_test_data): Likewise.
3699 (erf_test_data): Likewise.
3700 (erfc_test_data): Likewise.
3701 (exp_test_data): Likewise.
3702 (exp_tonearest_test_data): Likewise.
3703 (exp_towardzero_test_data): Likewise.
3704 (exp_downward_test_data): Likewise.
3705 (exp_upward_test_data): Likewise.
3706 (exp10_test_data): Likewise.
3707 (exp2_test_data): Likewise.
3708 (expm1_test_data): Likewise.
3709 (fabs_test_data): Likewise.
3710 (fdim_test_data): Likewise.
3711 (finite_test_data): Likewise.
3712 (floor_test_data): Likewise.
3713 (fma_test_data): Likewise.
3714 (fma_towardzero_test_data): Likewise.
3715 (fma_downward_test_data): Likewise.
3716 (fma_upward_test_data): Likewise.
3717 (fmax_test_data): Likewise.
3718 (fmin_test_data): Likewise.
3719 (fmod_test_data): Likewise.
3720 (fpclassify_test_data): Likewise.
3721 (frexp_test_data): Likewise.
3722 (gamma_test_data): Likewise.
3723 (hypot_test_data): Likewise.
3724 (ilogb_test_data): Likewise.
3725 (isfinite_test_data): Likewise.
3726 (isgreater_test_data): Likewise.
3727 (isgreaterequal_test_data): Likewise.
3728 (isinf_test_data): Likewise.
3729 (isless_test_data): Likewise.
3730 (islessequal_test_data): Likewise.
3731 (islessgreater_test_data): Likewise.
3732 (isnan_test_data): Likewise.
3733 (isnormal_test_data): Likewise.
3734 (issignaling_test_data): Likewise.
3735 (isunordered_test_data): Likewise.
3736 (j0_test_data): Likewise.
3737 (j1_test_data): Likewise.
3738 (jn_test_data): Likewise.
3739 (ldexp_test_data): Likewise.
3740 (lgamma_test_data): Likewise.
3741 (lrint_test_data): Likewise.
3742 (lrint_tonearest_test_data): Likewise.
3743 (lrint_towardzero_test_data): Likewise.
3744 (lrint_downward_test_data): Likewise.
3745 (lrint_upward_test_data): Likewise.
3746 (llrint_test_data): Likewise.
3747 (llrint_tonearest_test_data): Likewise.
3748 (llrint_towardzero_test_data): Likewise.
3749 (llrint_downward_test_data): Likewise.
3750 (llrint_upward_test_data): Likewise.
3751 (log_test_data): Likewise.
3752 (log10_test_data): Likewise.
3753 (log1p_test_data): Likewise.
3754 (log2_test_data): Likewise.
3755 (logb_test_data): Likewise.
3756 (logb_downward_test_data): Likewise.
3757 (lround_test_data): Likewise.
3758 (llround_test_data): Likewise.
3759 (modf_test_data): Likewise.
3760 (nearbyint_test_data): Likewise.
3761 (nextafter_test_data): Likewise.
3762 (nexttoward_test_data): Likewise.
3763 (pow_test_data): Likewise.
3764 (pow_tonearest_test_data): Likewise.
3765 (pow_towardzero_test_data): Likewise.
3766 (pow_downward_test_data): Likewise.
3767 (pow_upward_test_data): Likewise.
3768 (remainder_test_data): Likewise.
3769 (remainder_tonearest_test_data): Likewise.
3770 (remainder_towardzero_test_data): Likewise.
3771 (remainder_downward_test_data): Likewise.
3772 (remainder_upward_test_data): Likewise.
3773 (remquo_test_data): Likewise.
3774 (rint_test_data): Likewise.
3775 (rint_tonearest_test_data): Likewise.
3776 (rint_towardzero_test_data): Likewise.
3777 (rint_downward_test_data): Likewise.
3778 (rint_upward_test_data): Likewise.
3779 (round_test_data): Likewise.
3780 (scalb_test_data): Likewise.
3781 (scalbn_test_data): Likewise.
3782 (scalbln_test_data): Likewise.
3783 (signbit_test_data): Likewise.
3784 (sin_test_data): Likewise.
3785 (sin_tonearest_test_data): Likewise.
3786 (sin_towardzero_test_data): Likewise.
3787 (sin_downward_test_data): Likewise.
3788 (sin_upward_test_data): Likewise.
3789 (sincos_test_data): Likewise.
3790 (sinh_test_data): Likewise.
3791 (sinh_tonearest_test_data): Likewise.
3792 (sinh_towardzero_test_data): Likewise.
3793 (sinh_downward_test_data): Likewise.
3794 (sinh_upward_test_data): Likewise.
3795 (sqrt_test_data): Likewise.
3796 (tan_test_data): Likewise.
3797 (tan_tonearest_test_data): Likewise.
3798 (tan_towardzero_test_data): Likewise.
3799 (tan_downward_test_data): Likewise.
3800 (tan_upward_test_data): Likewise.
3801 (tanh_test_data): Likewise.
3802 (tgamma_test_data): Likewise.
3803 (trunc_test_data): Likewise.
3804 (y0_test_data): Likewise.
3805 (y1_test_data): Likewise.
3806 (yn_test_data): Likewise.
3807 (significand_test_data): Likewise.
3808
b679a606
JM
3809 * math/gen-libm-test.pl (@functions): Remove variable.
3810 (generate_testfile): Don't handle START and END lines.
3811 * math/libm-test.inc (START): New macro.
3812 (END): Likewise.
3813 (END_COMPLEX): Likewise.
3814 (acos_test): Use END macro without arguments.
3815 (acos_test_tonearest): Likewise.
3816 (acos_test_towardzero): Likewise.
3817 (acos_test_downward): Likewise.
3818 (acos_test_upward): Likewise.
3819 (acosh_test): Likewise.
3820 (asin_test): Likewise.
3821 (asin_test_tonearest): Likewise.
3822 (asin_test_towardzero): Likewise.
3823 (asin_test_downward): Likewise.
3824 (asin_test_upward): Likewise.
3825 (asinh_test): Likewise.
3826 (atan_test): Likewise.
3827 (atanh_test): Likewise.
3828 (atan2_test): Likewise.
3829 (cabs_test): Likewise.
3830 (cacos_test): Use END_COMPLEX macro without arguments.
3831 (cacosh_test): Likewise.
3832 (carg_test): Use END macro without arguments.
3833 (casin_test): Use END_COMPLEX macro without arguments.
3834 (casinh_test): Likewise.
3835 (catan_test): Likewise.
3836 (catanh_test): Likewise.
3837 (cbrt_test): Use END macro without arguments.
3838 (ccos_test): Use END_COMPLEX macro without arguments.
3839 (ccosh_test): Likewise.
3840 (ceil_test): Use END macro without arguments.
3841 (cexp_test): Use END_COMPLEX macro without arguments.
3842 (cimag_test): Use END macro without arguments.
3843 (clog_test): Use END_COMPLEX macro without arguments.
3844 (clog10_test): Likewise.
3845 (conj_test): Likewise.
3846 (copysign_test): Use END macro without arguments.
3847 (cos_test): Likewise.
3848 (cos_test_tonearest): Likewise.
3849 (cos_test_towardzero): Likewise.
3850 (cos_test_downward): Likewise.
3851 (cos_test_upward): Likewise.
3852 (cosh_test): Likewise.
3853 (cosh_test_tonearest): Likewise.
3854 (cosh_test_towardzero): Likewise.
3855 (cosh_test_downward): Likewise.
3856 (cosh_test_upward): Likewise.
3857 (cpow_test): Use END_COMPLEX macro without arguments.
3858 (cproj_test): Likewise.
3859 (creal_test): Use END macro without arguments.
3860 (csin_test): Use END_COMPLEX macro without arguments.
3861 (csinh_test): Likewise.
3862 (csqrt_test): Likewise.
3863 (ctan_test): Likewise.
3864 (ctan_test_tonearest): Likewise.
3865 (ctan_test_towardzero): Likewise.
3866 (ctan_test_downward): Likewise.
3867 (ctan_test_upward): Likewise.
3868 (ctanh_test): Likewise.
3869 (ctanh_test_tonearest): Likewise.
3870 (ctanh_test_towardzero): Likewise.
3871 (ctanh_test_downward): Likewise.
3872 (ctanh_test_upward): Likewise.
3873 (erf_test): Use END macro without arguments.
3874 (erfc_test): Likewise.
3875 (exp_test): Likewise.
3876 (exp_test_tonearest): Likewise.
3877 (exp_test_towardzero): Likewise.
3878 (exp_test_downward): Likewise.
3879 (exp_test_upward): Likewise.
3880 (exp10_test): Likewise.
3881 (exp2_test): Likewise.
3882 (expm1_test): Likewise.
3883 (fabs_test): Likewise.
3884 (fdim_test): Likewise.
3885 (finite_test): Likewise.
3886 (floor_test): Likewise.
3887 (fma_test): Likewise.
3888 (fma_test_towardzero): Likewise.
3889 (fma_test_downward): Likewise.
3890 (fma_test_upward): Likewise.
3891 (fmax_test): Likewise.
3892 (fmin_test): Likewise.
3893 (fmod_test): Likewise.
3894 (fpclassify_test): Likewise.
3895 (frexp_test): Likewise.
3896 (gamma_test): Likewise.
3897 (hypot_test): Likewise.
3898 (ilogb_test): Likewise.
3899 (isfinite_test): Likewise.
3900 (isgreater_test): Likewise.
3901 (isgreaterequal_test): Likewise.
3902 (isinf_test): Likewise.
3903 (isless_test): Likewise.
3904 (islessequal_test): Likewise.
3905 (islessgreater_test): Likewise.
3906 (isnan_test): Likewise.
3907 (isnormal_test): Likewise.
3908 (issignaling_test): Likewise.
3909 (isunordered_test): Likewise.
3910 (j0_test): Likewise.
3911 (j1_test): Likewise.
3912 (jn_test): Likewise.
3913 (ldexp_test): Likewise.
3914 (lgamma_test): Likewise.
3915 (lrint_test): Likewise.
3916 (lrint_test_tonearest): Likewise.
3917 (lrint_test_towardzero): Likewise.
3918 (lrint_test_downward): Likewise.
3919 (lrint_test_upward): Likewise.
3920 (llrint_test): Likewise.
3921 (llrint_test_tonearest): Likewise.
3922 (llrint_test_towardzero): Likewise.
3923 (llrint_test_downward): Likewise.
3924 (llrint_test_upward): Likewise.
3925 (log_test): Likewise.
3926 (log10_test): Likewise.
3927 (log1p_test): Likewise.
3928 (log2_test): Likewise.
3929 (logb_test): Likewise.
3930 (logb_test_downward): Likewise.
3931 (lround_test): Likewise.
3932 (llround_test): Likewise.
3933 (modf_test): Likewise.
3934 (nearbyint_test): Likewise.
3935 (nextafter_test): Likewise.
3936 (nexttoward_test): Likewise.
3937 (pow_test): Likewise.
3938 (pow_test_tonearest): Likewise.
3939 (pow_test_towardzero): Likewise.
3940 (pow_test_downward): Likewise.
3941 (pow_test_upward): Likewise.
3942 (remainder_test): Likewise.
3943 (remainder_test_tonearest): Likewise.
3944 (remainder_test_towardzero): Likewise.
3945 (remainder_test_downward): Likewise.
3946 (remainder_test_upward): Likewise.
3947 (remquo_test): Likewise.
3948 (rint_test): Likewise.
3949 (rint_test_tonearest): Likewise.
3950 (rint_test_towardzero): Likewise.
3951 (rint_test_downward): Likewise.
3952 (rint_test_upward): Likewise.
3953 (round_test): Likewise.
3954 (scalb_test): Likewise.
3955 (scalbn_test): Likewise.
3956 (scalbln_test): Likewise.
3957 (signbit_test): Likewise.
3958 (sin_test): Likewise.
3959 (sin_test_tonearest): Likewise.
3960 (sin_test_towardzero): Likewise.
3961 (sin_test_downward): Likewise.
3962 (sin_test_upward): Likewise.
3963 (sincos_test): Likewise.
3964 (sinh_test): Likewise.
3965 (sinh_test_tonearest): Likewise.
3966 (sinh_test_towardzero): Likewise.
3967 (sinh_test_downward): Likewise.
3968 (sinh_test_upward): Likewise.
3969 (sqrt_test): Likewise.
3970 (tan_test): Likewise.
3971 (tan_test_tonearest): Likewise.
3972 (tan_test_towardzero): Likewise.
3973 (tan_test_downward): Likewise.
3974 (tan_test_upward): Likewise.
3975 (tanh_test): Likewise.
3976 (tgamma_test): Likewise.
3977 (trunc_test): Likewise.
3978 (y0_test): Likewise.
3979 (y1_test): Likewise.
3980 (yn_test): Likewise.
3981 (significand_test): Likewise.
3982
bae143d2
OB
39832013-05-24 Ondřej Bílka <neleai@seznam.cz>
3984
3985 [BZ #15381]
3986 * libio/genops.c (_IO_no_init): Initialize wide struct info.
3987
9323d39b
EM
39882013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
3989
d4ea44a0 3990 [BZ #14894]
9323d39b
EM
3991 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
3992 __ppc_mdoio and __ppc_mdoom.
3993 * manual/platform.texi: Document new functions __ppc_yield,
3994 __ppc_mdoio and __ppc_mdoom.
3995
13e23af7
CD
39962013-05-22 Carlos O'Donell <carlos@redhat.com>
3997
3998 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
3999 (main): Mention "tls" pseudo-hwcap is legacy.
4000 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
4001
351fe550
JM
40022013-05-22 Joseph Myers <joseph@codesourcery.com>
4003
4004 * math/gen-libm-test.pl (parse_args): Output only string of
4005 arguments as text for test name, not full call or descriptions of
4006 tests for extra outputs.
4007 (generate_testfile): Do not pass function name to parse_args.
4008 Generate this_func variable from START.
4009 * math/libm-test.inc (struct test_f_f_data): Rename test_name
4010 field to arg_str.
4011 (struct test_ff_f_data): Likewise.
4012 (test_ff_f_data_nexttoward): Likewise.
4013 (struct test_fi_f_data): Likewise.
4014 (struct test_fl_f_data): Likewise.
4015 (struct test_if_f_data): Likewise.
4016 (struct test_fff_f_data): Likewise.
4017 (struct test_c_f_data): Likewise.
4018 (struct test_f_f1_data): Likewise. Remove field extra_name.
4019 (struct test_fF_f1_data): Likewise.
4020 (struct test_ffI_f1_data): Likewise.
4021 (struct test_c_c_data): Rename test_name field to arg_str.
4022 (struct test_cc_c_data): Likewise.
4023 (struct test_f_i_data): Likewise.
4024 (struct test_ff_i_data): Likewise.
4025 (struct test_f_l_data): Likewise.
4026 (struct test_f_L_data): Likewise.
4027 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
4028 and extra2_name.
4029 (COMMON_TEST_SETUP): New macro.
4030 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4031 (COMMON_TEST_CLEANUP): Likewise.
4032 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4033 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
4034 macros.
4035 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
4036 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
4037 macros.
4038 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
4039 (RUN_TEST_fff_f): Take argument string. Call new setup and
4040 cleanup macros.
4041 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
4042 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
4043 macros.
4044 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
4045 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
4046 macros.
4047 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4048 (RUN_TEST_fF_f1): Take argument string. Call new setup and
4049 cleanup macros.
4050 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4051 (RUN_TEST_fI_f1): Take argument string. Call new setup and
4052 cleanup macros.
4053 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4054 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
4055 cleanup macros.
4056 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4057 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
4058 macros.
4059 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
4060 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
4061 macros.
4062 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
4063 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
4064 macros.
4065 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
4066 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
4067 cleanup macros.
4068 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
4069 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
4070 cleanup macros.
4071 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
4072 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
4073 macros.
4074 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
4075 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
4076 cleanup macros.
4077 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
4078 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
4079 macros.
4080 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
4081 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
4082 macros.
4083 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
4084 (RUN_TEST_fFF_11): Take argument string. Call new setup and
4085 cleanup macros.
4086 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
4087
85118d4d
EBM
40882013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4089
4090 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
4091 to _sifields.sigfault.
4092 (si_addr_lsb): Define new macro.
4093 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4094 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4095 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
4096
7a44c18f
CD
40972013-05-03 Carlos O'Donell <carlos at redhat.com>
4098
4099 [BZ #15441]
4100 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
4101 returns -1.
4102 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
4103 null return -1.
4104 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
4105 loading the domain.
4106
b50a7181
JM
41072013-05-22 Joseph Myers <joseph@codesourcery.com>
4108
4109 * math/gen-libm-test.pl (parse_args): Do not include expected
4110 result in test name.
4111 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
4112 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4113 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4114 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4115 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4117
051063c8
SP
41182013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4119
3ce9e010
SP
4120 * benchtests/Makefile: Sort function entries.
4121
051063c8
SP
4122 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
4123 tanh, asinh, acosh, atanh.
4124 * benchtests/acos-inputs: New file.
4125 * benchtests/acosh-inputs: New file.
4126 * benchtests/asin-inputs: New file.
4127 * benchtests/asinh-inputs: New file.
4128 * benchtests/atanh-inputs: New file.
4129 * benchtests/cosh-inputs: New file.
4130 * benchtests/log-inputs: New file.
4131 * benchtests/sinh-inputs: New file.
4132 * benchtests/tanh-inputs: New file.
4133
47c22455
DL
41342013-05-21 Dmitry V. Levin <ldv@altlinux.org>
4135
4136 [BZ #15339]
4137 * posix/tst-getaddrinfo4.c: New test.
4138 * posix/Makefile (tests): Add it.
4139
3d04f5db
SP
41402013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4141
4142 [BZ #15339]
4143 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
4144 when no services were used.
4145 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
4146 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
4147
d5dd6189
AS
41482013-05-21 Andreas Schwab <schwab@suse.de>
4149
4150 [BZ #15014]
4151 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
4152 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
4153 successful.
4154 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
4155 redundant variable declarations and reallocation of buffer when
4156 parsing as IPv6 address. Always set NSS status when called from
4157 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
4158 buffer too small. Correct computation of needed size.
4159 * nss/Makefile (tests): Add test-digits-dots.
4160 * nss/test-digits-dots.c: New test.
4161
fef94eab
SP
41622013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4163
4164 * benchtests/Makefile: Remove instructions for adding
4165 benchmark tests.
4166 * benchtests/README: New file to explain how to execute and
4167 enhance the benchmark tests.
4168
e39adf43
AS
41692013-05-21 Andreas Schwab <schwab@suse.de>
4170
4171 [BZ #15493]
4172 * setjmp/Makefile (tests): Add tst-sigsetjmp.
4173 * setjmp/tst-sigsetjmp.c: New test.
4174
b2b671b6
OB
41752013-05-20 Ondřej Bílka <neleai@seznam.cz>
4176
4177 * sysdeps/x86_64/memset.S (memset): New implementation.
4178 (__bzero): Likewise.
4179 (__memset_tail): New function.
4180
2d48b41c
OB
41812013-05-20 Ondřej Bílka <neleai@seznam.cz>
4182
4183 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
4184 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
4185 __memcpy_sse2_unaligned ifunc selection.
4186 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4187 Add memcpy-sse2-unaligned.S.
4188 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4189 Add: __memcpy_sse2_unaligned.
4190
f16cc3eb
JM
41912013-05-19 Joseph Myers <joseph@codesourcery.com>
4192
3e694268
JM
4193 [BZ #15490]
4194 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4195 math_force_eval before restoring floating-point envrionment.
4196 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
4197 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4198 Likewise.
4199 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
4200 <math_private.h>.
4201 (__nearbyintl): Use math_force_eval before restoring
4202 floating-point environment.
4203 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
4204
db62a907
JM
4205 * math/gen-libm-test.pl (special_functions): Remove.
4206 (parse_args): Don't handle TEST_extra. Handle functions with no
4207 return value.
4208 * math/libm-test.inc (struct test_sincos_data): Replace with
4209 struct test_fFF_11_data.
4210 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
4211 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
4212 (sincos_test_data): Change element type to struct
4213 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
4214 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
4215 RUN_TEST_LOOP_sincos.
4216 * math/README.libm-test: Don't mention special handling of
4217 individual functions.
4218 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
4219 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4220 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4221 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4222 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4224
f16cc3eb
JM
4225 * math/gen-libm-test.pl (get_variable): Remove function.
4226 (parse_args): Don't show pointer parameters to call in test
4227 names. Use "extra output N" in test names for extra outputs
4228 rather than naming variables.
4229
3779b5b6
JM
42302013-05-18 Joseph Myers <joseph@codesourcery.com>
4231
2ee094ff
JM
4232 [BZ #15488]
4233 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
4234 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
4235 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
4236 double tests.
4237 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
4238 disable.
4239 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
4240 check_long_double.
4241
3779b5b6
JM
4242 * math/gen-libm-test.pl (@tests): Remove variable.
4243 ($count): Likewise.
4244 (new_test): Remove function.
4245 (show_exceptions): New function.
4246 (special_functions): Use show_exceptions instead of new_test.
4247 (parse_args): Likewise.
4248 (generate_testfile): Pass only function name in generated call to
4249 print_max_error or print_complex_max_error.
4250 (get_ulps): Do not handle complex tests specially.
4251 (output_test): Rename to ...
4252 (get_all_ulps_for_test): ... this. Return a string rather than
4253 printing to a file. Require ulps to be present.
4254 (output_ulps): Generate arrays rather than #defines.
4255 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
4256 (struct ulp_data): New type.
4257 (BUILD_COMPLEX_ULP): Remove macro.
4258 (compare_ulp_data): New function.
4259 (find_ulps): Likewise.
4260 (find_test_ulps): Likewise.
4261 (find_function_ulps): Likewise.
4262 (find_complex_function_ulps): Likewise.
4263 (print_max_error): Determine allowed ulps using
4264 find_function_ulps.
4265 (print_complex_max_error): Determine allowed ulps using
4266 find_complex_function_ulps.
4267 (check_float_internal): Determine max ulps using find_test_ulps.
4268 (check_float): Do not take max_ulp parameter. Update call to
4269 check_float_internal.
4270 (check_complex): Likewise.
4271 (check_int): Do not take max_ulp parameter.
4272 (check_long): Likewise.
4273 (check_bool): Likewise.
4274 (check_longlong): Likewise.
4275 (struct test_f_f_data): Remove max_ulp field.
4276 (struct test_ff_f_data): Likewise.
4277 (struct test_ff_f_data_nexttoward): Likewise.
4278 (struct test_fi_f_data): Likewise.
4279 (struct test_fl_f_data): Likewise.
4280 (struct test_if_f_data): Likewise.
4281 (struct test_fff_f_data): Likewise.
4282 (struct test_c_f_data): Likewise.
4283 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
4284 (struct test_fF_f1_data): Likewise.
4285 (struct test_ffI_f1_data): Likewise.
4286 (struct test_c_c_data): Remove max_ulp field.
4287 (struct test_cc_c_data): Likewise.
4288 (struct test_f_i_data): Likewise.
4289 (struct test_ff_i_data): Likewise.
4290 (struct test_f_l_data): Likewise.
4291 (struct test_f_L_data): Likewise.
4292 (struct test_sincos_data): Likewise.
4293 (RUN_TEST_f_f): Do not handle ulps.
4294 (RUN_TEST_LOOP_f_f): Likewise.
4295 (RUN_TEST_2_f): Likewise.
4296 (RUN_TEST_LOOP_2_f): Likewise.
4297 (RUN_TEST_fff_f): Likewise.
4298 (RUN_TEST_LOOP_fff_f): Likewise.
4299 (RUN_TEST_c_f): Likewise.
4300 (RUN_TEST_LOOP_c_f): Likewise.
4301 (RUN_TEST_f_f1): Likewise.
4302 (RUN_TEST_LOOP_f_f1): Likewise.
4303 (RUN_TEST_fF_f1): Likewise.
4304 (RUN_TEST_LOOP_fF_f1): Likewise.
4305 (RUN_TEST_fI_f1): Likewise.
4306 (RUN_TEST_LOOP_fI_f1): Likewise.
4307 (RUN_TEST_ffI_f1): Likewise.
4308 (RUN_TEST_LOOP_ffI_f1): Likewise.
4309 (RUN_TEST_c_c): Likewise.
4310 (RUN_TEST_LOOP_c_c): Likewise.
4311 (RUN_TEST_cc_c): Likewise.
4312 (RUN_TEST_LOOP_cc_c): Likewise.
4313 (RUN_TEST_f_i): Likewise.
4314 (RUN_TEST_LOOP_f_i): Likewise.
4315 (RUN_TEST_f_i_tg): Likewise.
4316 (RUN_TEST_LOOP_f_i_tg): Likewise.
4317 (RUN_TEST_ff_i_tg): Likewise.
4318 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4319 (RUN_TEST_f_b): Likewise.
4320 (RUN_TEST_LOOP_f_b): Likewise.
4321 (RUN_TEST_f_b_tg): Likewise.
4322 (RUN_TEST_LOOP_f_b_tg): Likewise.
4323 (RUN_TEST_f_l): Likewise.
4324 (RUN_TEST_LOOP_f_l): Likewise.
4325 (RUN_TEST_f_L): Likewise.
4326 (RUN_TEST_LOOP_f_L): Likewise.
4327 (RUN_TEST_sincos): Likewise.
4328 (RUN_TEST_LOOP_sincos): Likewise.
4329
8269107f
JM
43302013-05-17 Joseph Myers <joseph@codesourcery.com>
4331
bb38759d
JM
4332 [BZ #15480]
4333 [BZ #15485]
4334 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
4335 main case of finite arguments, set rounding mode to FE_TONEAREST
4336 and discard exceptions.
4337 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
4338 exceptions.
4339 (remainder_tonearest_test_data): New variable.
4340 (remainder_test_tonearest): New function.
4341 (remainder_towardzero_test_data): New variable.
4342 (remainder_test_towardzero): New function.
4343 (remainder_downward_test_data): New variable.
4344 (remainder_test_downward): New function.
4345 (remainder_upward_test_data): New variable.
4346 (remainder_test_upward): New function.
4347 (main): Call the new test functions.
4348
a00bdcf0
JM
4349 * math/libm-test.inc (struct test_f_f1_data): Remove field
4350 extra_init.
4351 (struct test_fF_f1_data): Likewise.
4352 (struct test_ffI_f1_data): Likewise.
4353 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
4354 based on value of EXTRA_EXPECTED.
4355 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4356 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
4357 EXTRA_VAR based on value of EXTRA_EXPECTED.
4358 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4359 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
4360 EXTRA_VAR based on value of EXTRA_EXPECTED.
4361 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4362 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
4363 EXTRA_VAR based on value of EXTRA_EXPECTED.
4364 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4365 * math/gen-libm-test.pl (parse_args): Don't output initializers
4366 for extra output values.
4367
de407f79
JM
4368 * math/libm-test.inc (check_int): Expect result to be exactly
4369 equal to expected value and do not handle ulps.
4370 (check_long): Likewise.
4371 (check_longlong): Likewise.
4372
8269107f
JM
4373 * math/libm-test.inc (ceil_test_data): Test for "inexact"
4374 exceptions.
4375 (cimag_test_data): Likewise.
4376 (conj_test_data): Likewise.
4377 (copysign_test_data): Likewise.
4378 (cproj_test_data): Likewise.
4379 (creal_test_data): Likewise.
4380 (fabs_test_data): Likewise.
4381 (fdim_test_data): Likewise.
4382 (finite_test_data): Likewise.
4383 (floor_test_data): Likewise.
4384 (fmax_test_data): Likewise.
4385 (fmin_test_data): Likewise.
4386 (fmod_test_data): Likewise.
4387 (fpclassify_test_data): Likewise.
4388 (frexp_test_data): Likewise.
4389 (ilogb_test_data): Likewise.
4390 (isfinite_test_data): Likewise.
4391 (isgreater_test_data): Likewise.
4392 (isgreaterequal_test_data): Likewise.
4393 (isinf_test_data): Likewise.
4394 (isless_test_data): Likewise.
4395 (islessequal_test_data): Likewise.
4396 (islessgreater_test_data): Likewise.
4397 (isnan_test_data): Likewise.
4398 (isnormal_test_data): Likewise.
4399 (issignaling_test_data): Likewise.
4400 (isunordered_test_data): Likewise.
4401 (ldexp_test_data): Likewise.
4402 (lrint_test_data): Likewise.
4403 (lrint_test_data) [TEST_FLOAT]: Disable one test.
4404 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
4405 (lrint_tonearest_test_data): Test for "inexact" exceptions.
4406 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4407 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
4408 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4409 test input.
4410 (lrint_towardzero_test_data): Test for "inexact" exceptions.
4411 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4412 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
4413 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
4414 that test input.
4415 (lrint_downward_test_data): Test for "inexact" exceptions.
4416 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4417 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
4418 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4419 test input.
4420 (lrint_upward_test_data): Test for "inexact" exceptions.
4421 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
4422 test input.
4423 (llrint_test_data): Test for "inexact" exceptions.
4424 (llrint_test_data) [TEST_FLOAT]: Disable one test.
4425 (llrint_tonearest_test_data): Test for "inexact" exceptions.
4426 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4427 (llrint_towardzero_test_data): Test for "inexact" exceptions.
4428 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4429 (llrint_downward_test_data): Test for "inexact" exceptions.
4430 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4431 (llrint_upward_test_data): Test for "inexact" exceptions.
4432 (logb_test_data): Likewise.
4433 (logb_downward_test_data): Likewise.
4434 (nextafter_test_data): Likewise.
4435 (nexttoward_test_data): Likewise.
4436 (remainder_test_data): Likewise.
4437 (remquo_test_data): Likewise.
4438 (scalbn_test_data): Likewise.
4439 (scalbln_test_data): Likewise.
4440 (signbit_test_data): Likewise.
4441 (sqrt_test_data): Likewise.
4442 (significand_test_data): Likewise.
4443
48a18de1
SP
44442013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4445
4446 [BZ #15424]
4447 * benchtests/bench-modf.c (struct args): Mark arg0 as
4448 volatile.
4449 * scripts/bench.pl: Mark members of struct args as volatile.
4450
13d3b41a
AZ
44512013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4452
68191c1d 4453 [BZ # 15497]
13d3b41a
AZ
4454 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
4455 negative infinity on POWER6 or lower.
4456 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
4457
2848b105
MR
44582013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4459
4460 [BZ #15442]
4461 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
4462 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
4463 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
4464 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
4465 (_FP_SETQNAN): New macro.
4466 (_FP_SETQNAN_SEMIRAW): Likewise.
4467 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
4468 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
4469 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
4470 (FP_EXTEND): Use _FP_FRAC_SNANP.
4471 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
4472 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
4473 into account.
4474 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4475 New macro.
4476 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4477 Likewise.
4478
323e5cb7
JM
44792013-05-16 Joseph Myers <joseph@codesourcery.com>
4480
c58b274f
JM
4481 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
4482 with DIVIDE_BY_ZERO_EXCEPTION.
4483 (gamma_test_data): Likewise.
4484 (lgamma_test_data): Likewise.
4485 (log_test_data): Likewise.
4486 (log10_test_data): Likewise.
4487 (log2_test_data): Likewise.
4488 (tgamma_test_data): Likewise.
4489
0ab34904
JM
4490 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
4491 (acos_test_tonearest): Likewise.
4492 (acos_test_towardzero): Likewise.
4493 (acos_test_downward): Likewise.
4494 (acos_test_upward): Likewise.
4495 (acosh_test): Likewise.
4496 (asin_test): Likewise.
4497 (asin_test_tonearest): Likewise.
4498 (asin_test_towardzero): Likewise.
4499 (asin_test_downward): Likewise.
4500 (asin_test_upward): Likewise.
4501 (asinh_test): Likewise.
4502 (atan_test): Likewise.
4503 (atanh_test): Likewise.
4504 (atan2_test): Likewise.
4505 (cabs_test): Likewise.
4506 (cacos_test): Likewise.
4507 (cacosh_test): Likewise.
4508 (casin_test): Likewise.
4509 (casinh_test): Likewise.
4510 (catan_test): Likewise.
4511 (catanh_test): Likewise.
4512 (cbrt_test): Likewise.
4513 (ccos_test): Likewise.
4514 (ccosh_test): Likewise.
4515 (cexp_test): Likewise.
4516 (clog_test): Likewise.
4517 (clog10_test): Likewise.
4518 (cos_test): Likewise.
4519 (cos_test_tonearest): Likewise.
4520 (cos_test_towardzero): Likewise.
4521 (cos_test_downward): Likewise.
4522 (cos_test_upward): Likewise.
4523 (cosh_test): Likewise.
4524 (cosh_test_tonearest): Likewise.
4525 (cosh_test_towardzero): Likewise.
4526 (cosh_test_downward): Likewise.
4527 (cosh_test_upward): Likewise.
4528 (cpow_test): Likewise.
4529 (csin_test): Likewise.
4530 (csinh_test): Likewise.
4531 (csqrt_test): Likewise.
4532 (ctan_test): Likewise.
4533 (ctan_test_tonearest): Likewise.
4534 (ctan_test_towardzero): Likewise.
4535 (ctan_test_downward): Likewise.
4536 (ctan_test_upward): Likewise.
4537 (ctanh_test): Likewise.
4538 (ctanh_test_tonearest): Likewise.
4539 (ctanh_test_towardzero): Likewise.
4540 (ctanh_test_downward): Likewise.
4541 (ctanh_test_upward): Likewise.
4542 (erf_test): Likewise.
4543 (erfc_test): Likewise.
4544 (exp_test): Likewise.
4545 (exp_test_tonearest): Likewise.
4546 (exp_test_towardzero): Likewise.
4547 (exp_test_downward): Likewise.
4548 (exp_test_upward): Likewise.
4549 (exp10_test): Likewise.
4550 (exp2_test): Likewise.
4551 (expm1_test): Likewise.
4552 (fmod_test): Likewise.
4553 (gamma_test): Likewise.
4554 (hypot_test): Likewise.
4555 (j0_test): Likewise.
4556 (j1_test): Likewise.
4557 (jn_test): Likewise.
4558 (lgamma_test): Likewise.
4559 (log_test): Likewise.
4560 (log10_test): Likewise.
4561 (log1p_test): Likewise.
4562 (log2_test): Likewise.
4563 (logb_test_downward): Likewise.
4564 (pow_test): Likewise.
4565 (pow_test_tonearest): Likewise.
4566 (pow_test_towardzero): Likewise.
4567 (pow_test_downward): Likewise.
4568 (pow_test_upward): Likewise.
4569 (remainder_test): Likewise.
4570 (remquo_test): Likewise.
4571 (sin_test): Likewise.
4572 (sin_test_tonearest): Likewise.
4573 (sin_test_towardzero): Likewise.
4574 (sin_test_downward): Likewise.
4575 (sin_test_upward): Likewise.
4576 (sincos_test): Likewise.
4577 (sinh_test): Likewise.
4578 (sinh_test_tonearest): Likewise.
4579 (sinh_test_towardzero): Likewise.
4580 (sinh_test_downward): Likewise.
4581 (sinh_test_upward): Likewise.
4582 (sqrt_test): Likewise.
4583 (tan_test): Likewise.
4584 (tan_test_tonearest): Likewise.
4585 (tan_test_towardzero): Likewise.
4586 (tan_test_downward): Likewise.
4587 (tan_test_upward): Likewise.
4588 (tanh_test): Likewise.
4589 (tgamma_test): Likewise.
4590 (y0_test): Likewise.
4591 (y1_test): Likewise.
4592 (yn_test): Likewise.
4593
323e5cb7
JM
4594 * math/gen-libm-test.pl (adjust_arg): Remove function.
4595 (special_function): Remove argument $in_func. Only handle
4596 generating output for tables of tests, not inside functions.
4597 (parse_args): Likewise.
4598 (generate_testfile): Remove variable $in_func. Update call to
4599 parse_args.
4600 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
4601 (MINUS_ZERO_INIT): Rename macro to minus_zero.
4602 (PLUS_INFTY_INIT): Rename macro to plus_infty.
4603 (MINUS_INFTY_INIT): Rename macro to minus_infty.
4604 (QNAN_VALUE_INIT): Rename macro to qnan_value.
4605 (MAX_VALUE_INIT): Rename macro to max_value.
4606 (MIN_VALUE_INIT): Rename macro to min_value.
4607 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
4608 (plus_zero): Remove variable.
4609 (minus_zero): Likewise.
4610 (plus_infty): Likewise.
4611 (minus_infty): Likewise.
4612 (qnan_value): Likewise.
4613 (max_value): Likewise.
4614 (min_value): Likewise.
4615 (min_subnorm_value): Likewise.
4616
e054f494
RA
46172013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4618
4619 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
4620 uint64_t or uint32_t usage.
4621 * crypt/sha256-block.c: Likewise.
4622 * crypt/sha256-crypt.c: Likewise.
4623 * crypt/sha256.c: Likewise.
4624 * crypt/sha512-block.c: Likewise.
4625 * crypt/sha512-crypt.c: Likewise.
4626 * crypt/sha512.c: Likewise.
4627 * debug/backtrace-tst.c: Likewise.
4628 * debug/pcprofiledump.c: Likewise.
4629 * elf/cache.c: Likewise.
4630 * elf/dl-cache.c: Likewise.
4631 * elf/dl-misc.c: Likewise.
4632 * elf/dl-profile.c: Likewise.
4633 * elf/dl-support.c: Likewise.
4634 * elf/ldconfig.c: Likewise.
4635 * elf/sprof.c: Likewise.
4636 * iconv/dummy-repertoire.c: Likewise.
4637 * iconv/iconv_charmap.c: Likewise.
4638 * iconv/skeleton.c: Likewise.
4639 * iconvdata/8bit-generic.c: Likewise.
4640 * iconvdata/cp737.h: Likewise.
4641 * iconvdata/cp775.h: Likewise.
4642 * iconvdata/ibm1008.h: Likewise.
4643 * iconvdata/ibm1025.h: Likewise.
4644 * iconvdata/ibm1046.h: Likewise.
4645 * iconvdata/ibm1097.h: Likewise.
4646 * iconvdata/ibm1112.h: Likewise.
4647 * iconvdata/ibm1122.h: Likewise.
4648 * iconvdata/ibm1123.h: Likewise.
4649 * iconvdata/ibm1124.h: Likewise.
4650 * iconvdata/ibm1129.h: Likewise.
4651 * iconvdata/ibm1130.h: Likewise.
4652 * iconvdata/ibm1132.h: Likewise.
4653 * iconvdata/ibm1133.h: Likewise.
4654 * iconvdata/ibm1137.h: Likewise.
4655 * iconvdata/ibm1140.h: Likewise.
4656 * iconvdata/ibm1141.h: Likewise.
4657 * iconvdata/ibm1142.h: Likewise.
4658 * iconvdata/ibm1143.h: Likewise.
4659 * iconvdata/ibm1144.h: Likewise.
4660 * iconvdata/ibm1145.h: Likewise.
4661 * iconvdata/ibm1146.h: Likewise.
4662 * iconvdata/ibm1147.h: Likewise.
4663 * iconvdata/ibm1148.h: Likewise.
4664 * iconvdata/ibm1149.h: Likewise.
4665 * iconvdata/ibm1153.h: Likewise.
4666 * iconvdata/ibm1154.h: Likewise.
4667 * iconvdata/ibm1155.h: Likewise.
4668 * iconvdata/ibm1156.h: Likewise.
4669 * iconvdata/ibm1157.h: Likewise.
4670 * iconvdata/ibm1158.h: Likewise.
4671 * iconvdata/ibm1160.h: Likewise.
4672 * iconvdata/ibm1161.h: Likewise.
4673 * iconvdata/ibm1162.h: Likewise.
4674 * iconvdata/ibm1163.h: Likewise.
4675 * iconvdata/ibm1164.h: Likewise.
4676 * iconvdata/ibm1166.h: Likewise.
4677 * iconvdata/ibm1167.h: Likewise.
4678 * iconvdata/ibm12712.h: Likewise.
4679 * iconvdata/ibm1390.h: Likewise.
4680 * iconvdata/ibm1399.h: Likewise.
4681 * iconvdata/ibm16804.h: Likewise.
4682 * iconvdata/ibm4517.h: Likewise.
4683 * iconvdata/ibm4899.h: Likewise.
4684 * iconvdata/ibm4909.h: Likewise.
4685 * iconvdata/ibm4971.h: Likewise.
4686 * iconvdata/ibm5347.h: Likewise.
4687 * iconvdata/ibm803.h: Likewise.
4688 * iconvdata/ibm856.h: Likewise.
4689 * iconvdata/ibm901.h: Likewise.
4690 * iconvdata/ibm902.h: Likewise.
4691 * iconvdata/ibm9030.h: Likewise.
4692 * iconvdata/ibm9066.h: Likewise.
4693 * iconvdata/ibm921.h: Likewise.
4694 * iconvdata/ibm922.h: Likewise.
4695 * iconvdata/ibm9448.h: Likewise.
4696 * iconvdata/isiri-3342.h: Likewise.
4697 * iconvdata/jis0201.h: Likewise.
4698 * include/link.h: Likewise.
4699 * include/netdb.h: Likewise.
4700 * inet/check_native.c: Likewise.
4701 * inet/check_pf.c: Likewise.
4702 * inet/getipv4sourcefilter.c: Likewise.
4703 * inet/getnameinfo.c: Likewise.
4704 * inet/getsourcefilter.c: Likewise.
4705 * inet/htonl.c: Likewise.
4706 * inet/setipv4sourcefilter.c: Likewise.
4707 * inet/setsourcefilter.c: Likewise.
4708 * inet/test-inet6_opt.c: Likewise.
4709 * inet/tst-network.c: Likewise.
4710 * locale/C-collate.c: Likewise.
4711 * locale/C-ctype.c: Likewise.
4712 * locale/C-time.c: Likewise.
4713 * locale/C-translit.h: Likewise.
4714 * locale/loadarchive.c: Likewise.
4715 * locale/programs/3level.h: Likewise.
4716 * locale/programs/charmap.c: Likewise.
4717 * locale/programs/charmap.h: Likewise.
4718 * locale/programs/ld-address.c: Likewise.
4719 * locale/programs/ld-collate.c: Likewise.
4720 * locale/programs/ld-ctype.c: Likewise.
4721 * locale/programs/ld-identification.c: Likewise.
4722 * locale/programs/ld-measurement.c: Likewise.
4723 * locale/programs/ld-messages.c: Likewise.
4724 * locale/programs/ld-monetary.c: Likewise.
4725 * locale/programs/ld-name.c: Likewise.
4726 * locale/programs/ld-numeric.c: Likewise.
4727 * locale/programs/ld-paper.c: Likewise.
4728 * locale/programs/ld-telephone.c: Likewise.
4729 * locale/programs/ld-time.c: Likewise.
4730 * locale/programs/linereader.c: Likewise.
4731 * locale/programs/locale.c: Likewise.
4732 * locale/programs/locarchive.c: Likewise.
4733 * locale/programs/locfile.h: Likewise.
4734 * locale/programs/repertoire.c: Likewise.
4735 * locale/programs/simple-hash.c: Likewise.
4736 * locale/programs/simple-hash.h: Likewise.
4737 * malloc/memusage.c: Likewise.
4738 * malloc/memusagestat.c: Likewise.
4739 * nis/nis_defaults.c: Likewise.
4740 * nis/nis_hash.c: Likewise.
4741 * nis/nis_print.c: Likewise.
4742 * nis/nis_xdr.c: Likewise.
4743 * nscd/connections.c: Likewise.
4744 * nscd/hstcache.c: Likewise.
4745 * nscd/nscd_gethst_r.c: Likewise.
4746 * nscd/nscd_getserv_r.c: Likewise.
4747 * nscd/nscd_helper.c: Likewise.
4748 * nscd/servicescache.c: Likewise.
4749 * nss/makedb.c: Likewise.
4750 * nss/nss_db/db-XXX.c: Likewise.
4751 * nss/nss_db/db-initgroups.c: Likewise.
4752 * nss/nss_db/db-netgrp.c: Likewise.
4753 * nss/nss_files/files-network.c: Likewise.
4754 * nss/nss_files/files-parse.c: Likewise.
4755 * posix/bug-regex5.c: Likewise.
4756 * posix/fnmatch_loop.c: Likewise.
4757 * posix/regcomp.c: Likewise.
4758 * posix/regexec.c: Likewise.
4759 * posix/tst-rfc3484-2.c: Likewise.
4760 * posix/tst-rfc3484-3.c: Likewise.
4761 * posix/tst-rfc3484.c: Likewise.
4762 * resolv/nss_dns/dns-canon.c: Likewise.
4763 * resolv/nss_dns/dns-network.c: Likewise.
4764 * resolv/res_init.c: Likewise.
4765 * resolv/res_mkquery.c: Likewise.
4766 * resolv/tst-aton.c: Likewise.
4767 * stdlib/cxa_atexit.c: Likewise.
4768 * stdlib/cxa_finalize.c: Likewise.
4769 * stdlib/gen-fpioconst.c: Likewise.
4770 * stdlib/strtol_l.c: Likewise.
4771 * string/tst-endian.c: Likewise.
4772 * sunrpc/auth_des.c: Likewise.
4773 * sunrpc/clnt_udp.c: Likewise.
4774 * sunrpc/rtime.c: Likewise.
4775 * sunrpc/svcauth_des.c: Likewise.
4776 * sunrpc/xdr.c: Likewise.
4777 * sunrpc/xdr_intXX_t.c: Likewise.
4778 * sunrpc/xdr_rec.c: Likewise.
4779 * sysdeps/generic/ldconfig.h: Likewise.
4780 * sysdeps/generic/ldsodefs.h: Likewise.
4781 * sysdeps/generic/memusage.h: Likewise.
4782 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4783 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
4784 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
4785 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4786 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4787 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4788 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4789 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4790 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4791 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4792 * sysdeps/posix/getaddrinfo.c: Likewise.
4793 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4794 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4795 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4796 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4797 * sysdeps/powerpc/test-gettimebase.c: Likewise.
4798 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4799 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
4800 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
4801 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4802 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
4803 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4804 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4805 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
4806 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
4807 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
4808 * sysdeps/x86_64/dl-tls.h: Likewise.
4809 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
4810 * time/alt_digit.c: Likewise.
4811 * time/era.c: Likewise.
4812 * wcsmbs/tst-c16c32-1.c: Likewise.
4813
8c75f674
JM
48142013-05-16 Joseph Myers <joseph@codesourcery.com>
4815
4816 * math/libm-test.inc (struct test_sincos_data): New type.
4817 (RUN_TEST_LOOP_sincos): New macro.
4818 (sincos_test_data): New variable.
4819 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
4820
e6e49e59
RH
48212013-05-16 Richard Henderson <rth@redhat.com>
4822
4823 * math/atest-exp2.c (LIMB64): New macro.
4824 (CONSTSZ): New macro.
4825 (mp_exp1, mp_exp_m1, mp_log2): New variables.
4826 (hexdig): Move ...
4827 (print_mpn_fp): ... to function scope.
4828 (read_mpn_hex): Remove.
4829 (get_log2): Remove.
4830 (exp2_mpn): Use mp_log2.
4831 (main): Use mp_exp1.
4832
15c7c18d
JM
48332013-05-16 Joseph Myers <joseph@codesourcery.com>
4834
105a07df
JM
4835 * math/libm-test.inc: Remove comment about not testing "inexact"
4836 exceptions.
4837 (INEXACT_EXCEPTION): New macro.
4838 (NO_INEXACT_EXCEPTION): Likewise.
4839 (INVALID_EXCEPTION_OK): Update value.
4840 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4841 (OVERFLOW_EXCEPTION_OK): Likewise.
4842 (UNDERFLOW_EXCEPTION_OK): Likewise.
4843 (IGNORE_ZERO_INF_SIGN): Likewise.
4844 (ERRNO_UNCHANGED): Likewise.
4845 (ERRNO_EDOM): Likewise.
4846 (ERRNO_ERANGE): Likewise.
4847 (test_exceptions): Handle testing "inexact" exceptions.
4848 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
4849 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
4850 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
4851 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
4852 INEXACT_EXCEPTION.
4853 (rint_towardzero_test_data): Likewise.
4854 (rint_downward_test_data): Likewise.
4855 (rint_upward_test_data): Likewise.
4856
e9eee333
JM
4857 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
4858 with OVERFLOW_EXCEPTION.
4859 (exp10_test_data): Likewise.
4860 (exp2_test_data): Likewise.
4861 (expm1_test_data): Likewise.
4862 (lgamma_test_data): Likewise.
4863 (pow_test_data): Likewise.
4864 (tgamma_test_data): Likewise.
4865 (yn_test_data): Remove duplicate test of overflow.
4866
1c38ff73
JM
4867 * math/libm-test.inc (struct test_cc_c_data): New type.
4868 (RUN_TEST_LOOP_cc_c): New macro.
4869 (cpow_test_data): New variable.
4870 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
4871
15c7c18d
JM
4872 * math/libm-test.inc (struct test_f_L_data): New type.
4873 (RUN_TEST_LOOP_f_L): New macro.
4874 (llrint_test_data): New variable.
4875 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
4876 (llrint_tonearest_test_data): New variable.
4877 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
4878 (llrint_towardzero_test_data): New variable.
4879 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
4880 (llrint_downward_test_data): New variable.
4881 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
4882 (llrint_upward_test_data): New variable.
4883 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
4884 (llround_test_data): New variable.
4885 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
4886
f137ff13
PC
48872013-05-13 Peter Collingbourne <pcc@google.com>
4888
4889 * math/atest-exp2.c (get_log2): Remove const attribute.
4890
3608cb24
JM
48912013-05-15 Joseph Myers <joseph@codesourcery.com>
4892
4893 * math/libm-test.inc (struct test_f_l_data): New type.
4894 (RUN_TEST_LOOP_f_l): New macro.
4895 (lrint_test_data): New variable.
4896 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
4897 (lrint_tonearest_test_data): New variable.
4898 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
4899 (lrint_towardzero_test_data): New variable.
4900 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
4901 (lrint_downward_test_data): New variable.
4902 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
4903 (lrint_upward_test_data): New variable.
4904 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
4905 (lround_test_data): New variable.
4906 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
4907
39b1f617
PC
49082013-05-15 Peter Collingbourne <pcc@google.com>
4909
1deff3dc
PC
4910 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
4911 (EXTRACT_WORDS64) Use where appropriate.
4912 (INSERT_WORDS64) Likewise.
4913
791f3ba0
PC
4914 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
4915 constraints with x constraints.
4916 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
4917
39b1f617
PC
4918 * malloc/obstack.c (_obstack_compat): Add initializer.
4919
12fba011
EM
49202013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
4921
4922 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
4923 si_trapno and add si_addr_lsb to _sifields.sigfault.
4924 (si_trapno): Remove macro.
4925 (si_addr_lsb): Define new macro.
4926 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4927
d369f531
JM
49282013-05-15 Joseph Myers <joseph@codesourcery.com>
4929
b861c6c4
JM
4930 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
4931 instead of TEST_f_l.
4932 (llrint_test_tonearest): Likewise.
4933 (llrint_test_towardzero): Likewise.
4934 (llrint_test_downward): Likewise.
4935 (llrint_test_upward): Likewise.
4936 (llround_test): Likewise.
4937
7abeee12
JM
4938 * math/libm-test.inc (struct test_f_i_data): Add comment.
4939 (RUN_TEST_LOOP_f_b): New macro.
4940 (RUN_TEST_LOOP_f_b_tg): Likewise.
4941 (finite_test_data): New variable.
4942 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
4943 (isfinite_test_data): New variable.
4944 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4945 (isinf_test_data): New variable.
4946 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4947 (isnan_test_data): New variable.
4948 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4949 (isnormal_test_data): New variable.
4950 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4951 (issignaling_test_data): New variable.
4952 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4953 (signbit_test_data): New variable.
4954 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4955
cbe8c4d3
JM
4956 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
4957 with INVALID_EXCEPTION.
4958 (acosh_test_data): Likewise.
4959 (asin_test_data): Likewise.
4960 (atanh_test_data): Likewise.
4961 (fmod_test_data): Likewise.
4962 (log_test_data): Likewise.
4963 (log10_test_data): Likewise.
4964 (log2_test_data): Likewise.
4965 (pow_test_data): Likewise.
4966 (sqrt_test_data): Likewise.
4967 (y0_test_data): Likewise.
4968 (y1_test_data): Likewise.
4969 (yn_test_data): Likewise.
4970
5575c0e5
JM
4971 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
4972 function contents.
4973
d369f531
JM
4974 * math/libm-test.inc (struct test_ff_i_data): New type.
4975 (RUN_TEST_LOOP_ff_i_tg): New macro.
4976 (isgreater_test_data): New variable.
4977 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4978 (isgreaterequal_test_data): New variable.
4979 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4980 (isless_test_data): New variable.
4981 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4982 (islessequal_test_data): New variable.
4983 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4984 (islessgreater_test_data): New variable.
4985 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4986 (isunordered_test_data): New variable.
4987 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4988
781fd748
DM
49892013-05-14 David S. Miller <davem@davemloft.net>
4990
4991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4992
87aa21df
JM
49932013-05-14 Joseph Myers <joseph@codesourcery.com>
4994
5e908270
JM
4995 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4996
f71172e5
JM
4997 * math/libm-test.inc (struct test_fF_f1_data): Change type of
4998 extra_test to int.
4999 (struct test_f_i_data): Change type of max_ulp to int.
5000
8cfa635a
JM
5001 * math/libm-test.inc (test_ffI_f1_data): New type.
5002 (RUN_TEST_LOOP_ffI_f1): New macro.
5003 (remquo_test_data): New variable.
5004 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
5005
2bcb36b2
JM
5006 * setjmp/tst-setjmp-fp.c: New file.
5007 * setjmp/Makefile (tests): Add tst-setjmp-fp.
5008 (link-libm): New variable.
5009 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
5010
acbd839a
JM
5011 * math/libm-test.inc (struct test_f_i_data): New type.
5012 (RUN_TEST_LOOP_f_i): New macro.
5013 (RUN_TEST_LOOP_f_i_tg): Likewise.
5014 (fpclassify_test_data): New variable.
5015 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
5016 (ilogb_test_data): New variable.
5017 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
5018
e414d745
JM
5019 * math/libm-test.inc (scalbln_test): Correct function name in END
5020 call.
5021
d9c2a0fd
JM
5022 * math/libm-test.inc (struct test_f_f1_data): Add comment.
5023 (RUN_TEST_LOOP_fI_f1): New macro.
5024 (frexp_test_data): New variable.
5025 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
5026
9dc9095d
JM
5027 * math/libm-test.inc (struct test_fF_f1_data): New type.
5028 (RUN_TEST_LOOP_fF_f1): New macro.
5029 (modf_test_data): New variable.
5030 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
5031
87aa21df
JM
5032 * math/libm-test.inc (struct test_f_f1_data): New type.
5033 (RUN_TEST_LOOP_f_f1): New macro.
5034 (gamma_test_data): New variable.
5035 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5036 (lgamma_test_data): New variable.
5037 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5038
141af660
CD
50392013-05-13 Carlos O'Donell <carlos@redhat.com>
5040
5041 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
5042 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
5043 (main): Comment "tls" pseudo-hwcap.
5044
6d33265c
JM
50452013-05-13 Joseph Myers <joseph@codesourcery.com>
5046
68fc074c
JM
5047 * math/libm-test.inc (struct test_fl_f_data): New type.
5048 (RUN_TEST_LOOP_fl_f): New variable.
5049 (scalbln_test_data): New variable.
5050 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
5051
243216e1
JM
5052 * math/libm-test.inc (struct test_fi_f_data): New type.
5053 (RUN_TEST_LOOP_fi_f): New macro.
5054 (ldexp_test_data): New variable.
5055 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
5056 (scalbn_test_data): New variable.
5057 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
5058
6a1992e2
JM
5059 * math/libm-test.inc (struct test_c_f_data): New type.
5060 (RUN_TEST_LOOP_c_f): New macro.
5061 (cabs_test_data): New variable.
5062 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
5063 (carg_test_data): New variable.
5064 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
5065 (cimag_test_data): New variable.
5066 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
5067 (creal_test_data): New variable.
5068 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
5069
0e400df5
JM
5070 * math/libm-test.inc (struct test_if_f_data): New type.
5071 (RUN_TEST_LOOP_if_f): New macro.
5072 (jn_test_data): New variable.
5073 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
5074 (yn_test_data): New variable.
5075 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
5076
6d33265c
JM
5077 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
5078
f98ece5f
AZ
50792013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5080
5081 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
5082 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
5083
0f7d347b
SP
50842013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5085
43fe811b
SP
5086 * benchtests/Makefile (CPPFLAGS-nonlib): Add
5087 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
5088 (bench-deps): Add bench-timing.h.
5089 * benchtests-bench-skeleton.c: Include bench-timing.h.
5090 (main): Use TIMING_* macros instead of clock_gettime.
5091 * benchtests/bench-timing.h: New file.
5092
0f7d347b
SP
5093 [BZ #14582]
5094 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
5095 Renamed from _LIB_VERSION.
5096 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
5097
601a3a5f
JM
50982013-05-12 Joseph Myers <joseph@codesourcery.com>
5099
4f184d30
JM
5100 * math/libm-test.inc (struct test_fff_f_data): New type.
5101 (RUN_TEST_LOOP_fff_f): New macro.
5102 (fma_test_data): New variable.
5103 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
5104 (fma_towardzero_test_data): New variable.
5105 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
5106 (fma_downward_test_data): New variable.
5107 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
5108 (fma_upward_test_data): New variable.
5109 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
5110
08198877
JM
5111 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
5112 (struct test_c_c_data): New type.
5113 (RUN_TEST_LOOP_c_c): New macro.
5114 (cacos_test_data): New variable.
5115 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
5116 (cacosh_test_data): New variable.
5117 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
5118 (casin_test_data): New variable.
5119 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
5120 (casinh_test_data): New variable.
5121 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
5122 (catan_test_data): New variable.
5123 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
5124 (catanh_test_data): New variable.
5125 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
5126 (ccos_test_data): New variable.
5127 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
5128 (ccosh_test_data): New variable.
5129 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
5130 (cexp_test_data): New variable.
5131 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
5132 (clog_test_data): New variable.
5133 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
5134 (clog10_test_data): New variable.
5135 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
5136 (conj_test_data): New variable.
5137 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
5138 (cproj_test_data): New variable.
5139 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
5140 (csin_test_data): New variable.
5141 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
5142 (csinh_test_data): New variable.
5143 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
5144 (csqrt_test_data): New variable.
5145 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
5146 (ctan_test_data): New variable.
5147 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
5148 (ctan_tonearest_test_data): New variable.
5149 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5150 (ctan_towardzero_test_data): New variable.
5151 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5152 (ctan_downward_test_data): New variable.
5153 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5154 (ctan_upward_test_data): New variable.
5155 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5156 (ctanh_test_data): New variable.
5157 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
5158 (ctanh_tonearest_test_data): New variable.
5159 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5160 (ctanh_towardzero_test_data): New variable.
5161 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5162 (ctanh_downward_test_data): New variable.
5163 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5164 (ctanh_upward_test_data): New variable.
5165 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5166 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
5167 of BUILD_COMPLEX.
5168
601a3a5f
JM
5169 * math/libm-test.inc (struct test_ff_f_data): New type.
5170 (struct test_ff_f_data_nexttoward): Likewise.
5171 (RUN_TEST_LOOP_2_f): New macro.
5172 (RUN_TEST_LOOP_ff_f): Likewise.
5173 (atan2_test_data): New variable.
5174 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
5175 (copysign_test_data): New variable.
5176 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
5177 (fdim_test_data): New variable.
5178 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
5179 (fmax_test_data): New variable.
5180 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
5181 (fmin_test_data): New variable.
5182 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
5183 (fmod_test_data): New variable.
5184 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
5185 (hypot_test_data): New variable.
5186 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
5187 (nextafter_test_data): New variable.
5188 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
5189 (nexttoward_test_data): New variable.
5190 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
5191 (pow_test_data): New variable.
5192 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
5193 (pow_tonearest_test_data): New variable.
5194 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
5195 (pow_towardzero_test_data): New variable.
5196 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
5197 (pow_downward_test_data): New variable.
5198 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
5199 (pow_upward_test_data): New variable.
5200 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
5201 (remainder_test_data): New variable.
5202 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
5203 (scalb_test_data): New variable.
5204 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
5205 * sysdeps/i386/fpu/libm-test-ulps: Update.
5206
74c57478
JM
52072013-05-11 Joseph Myers <joseph@codesourcery.com>
5208
8329e4da
JM
5209 * math/libm-test.inc (fma_test): Use max_value instead of local
5210 variable fltmax.
5211 (nextafter_test): Likewise.
5212
74c57478
JM
5213 * math/libm-test.inc (acos_towardzero_test_data): New variable.
5214 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5215 (acos_downward_test_data): New variable.
5216 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5217 (acos_upward_test_data): New variable.
5218 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5219 (acosh_test_data): New variable.
5220 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
5221 (asin_test_data): New variable.
5222 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
5223 (asin_tonearest_test_data): New variable.
5224 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5225 (asin_towardzero_test_data): New variable.
5226 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5227 (asin_downward_test_data): New variable.
5228 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5229 (asin_upward_test_data): New variable.
5230 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5231 (asinh_test_data): New variable.
5232 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
5233 (atan_test_data): New variable.
5234 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
5235 (atanh_test_data): New variable.
5236 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
5237 (cbrt_test_data): New variable.
5238 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
5239 (ceil_test_data): New variable.
5240 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
5241 (cos_test_data): New variable.
5242 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
5243 (cos_tonearest_test_data): New variable.
5244 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5245 (cos_towardzero_test_data): New variable.
5246 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5247 (cos_downward_test_data): New variable.
5248 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5249 (cos_upward_test_data): New variable.
5250 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5251 (cosh_test_data): New variable.
5252 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
5253 (cosh_tonearest_test_data): New variable.
5254 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5255 (cosh_towardzero_test_data): New variable.
5256 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5257 (cosh_downward_test_data): New variable.
5258 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5259 (cosh_upward_test_data): New variable.
5260 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5261 (erf_test_data): New variable.
5262 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
5263 (erfc_test_data): New variable.
5264 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
5265 (exp_test_data): New variable.
5266 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
5267 (exp_tonearest_test_data): New variable.
5268 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5269 (exp_towardzero_test_data): New variable.
5270 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5271 (exp_downward_test_data): New variable.
5272 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5273 (exp_upward_test_data): New variable.
5274 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5275 (exp10_test_data): New variable.
5276 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
5277 (exp2_test_data): New variable.
5278 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
5279 (expm1_test_data): New variable.
5280 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
5281 (fabs_test_data): New variable.
5282 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
5283 (floor_test_data): New variable.
5284 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
5285 (j0_test_data): New variable.
5286 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
5287 (j1_test_data): New variable.
5288 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
5289 (log_test_data): New variable.
5290 (log_test): Run tests with RUN_TEST_LOOP_f_f.
5291 (log10_test_data): New variable.
5292 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
5293 (log1p_test_data): New variable.
5294 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
5295 (log2_test_data): New variable.
5296 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
5297 (logb_test_data): New variable.
5298 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
5299 (logb_downward_test_data): New variable.
5300 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5301 (nearbyint_test_data): New variable.
5302 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
5303 (rint_test_data): New variable.
5304 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
5305 (rint_tonearest_test_data): New variable.
5306 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5307 (rint_towardzero_test_data): New variable.
5308 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5309 (rint_downward_test_data): New variable.
5310 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5311 (rint_upward_test_data): New variable.
5312 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5313 (round_test_data): New variable.
5314 (round_test): Run tests with RUN_TEST_LOOP_f_f.
5315 (sin_test_data): New variable.
5316 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
5317 (sin_tonearest_test_data): New variable.
5318 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5319 (sin_towardzero_test_data): New variable.
5320 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5321 (sin_downward_test_data): New variable.
5322 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5323 (sin_upward_test_data): New variable.
5324 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5325 (sinh_test_data): New variable.
5326 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
5327 (sinh_tonearest_test_data): New variable.
5328 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5329 (sinh_towardzero_test_data): New variable.
5330 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5331 (sinh_downward_test_data): New variable.
5332 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5333 (sinh_upward_test_data): New variable.
5334 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5335 (sqrt_test_data): New variable.
5336 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
5337 (tan_test_data): New variable.
5338 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
5339 (tan_tonearest_test_data): New variable.
5340 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5341 (tan_towardzero_test_data): New variable.
5342 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5343 (tan_downward_test_data): New variable.
5344 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5345 (tan_upward_test_data): New variable.
5346 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5347 (tanh_test_data): New variable.
5348 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
5349 (tgamma_test_data): New variable.
5350 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
5351 (trunc_test_data): New variable.
5352 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
5353 (y0_test_data): New variable.
5354 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
5355 (y1_test_data): New variable.
5356 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
5357 (significand_test_data): New variable.
5358 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
5359
7187d844
CG
53602013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
5361
5362 [BZ #12387]
5363 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
5364
f63fae73
PT
53652013-05-10 Pino Toscano <toscano.pino@tiscali.it>
5366
5367 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
5368
8a67a4b3
AJ
53692013-05-10 Andreas Jaeger <aj@suse.de>
5370
5371 [BZ #15448]
5372 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
5373 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
5374
51df539d
JM
53752013-05-10 Joseph Myers <joseph@codesourcery.com>
5376
5377 * math/gen-libm-test.pl (adjust_arg): New function.
5378 (special_functions): Handle generating output in both functions
5379 and arrays.
5380 (parse_args): Likewise.
5381 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
5382 $in_func argument to parse_args.
5383 * math/libm-test.inc (struct test_f_f_data): New type.
5384 (IF_ROUND_INIT_): New macro.
5385 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
5386 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5387 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5388 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5389 (ROUND_RESTORE_): Likewise.
5390 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
5391 (ROUND_RESTORE_FE_TONEAREST): Likewise.
5392 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
5393 (ROUND_RESTORE_FE_UPWARD): Likewise.
5394 (RUN_TEST_LOOP_f_f): New macro.
5395 (acos_test_data): New variable.
5396 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
5397 (acos_tonearest_test_data): New variable.
5398 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5399
5c637fe5
SP
54002013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5401
5402 * benchtests/bench-skeleton.c (startup): Fix coding style.
5403
ab2b9461
JM
54042013-05-10 Joseph Myers <joseph@codesourcery.com>
5405
5406 [BZ #6809]
5407 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
5408 negative infinity argument.
5409 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
5410 negative infinity argument.
5411 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
5412 negative infinity argument.
5413 * math/libm-test.inc (tgamma_test): Expect errno to be set for
5414 domain errors.
5415
4c0fe6fe
FW
54162013-05-10 Florian Weimer <fweimer@redhat.com>
5417
5418 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
5419 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
5420 * iconv/iconv_prog.c (main): Likewise.
5421 * locale/programs/charmap-dir.c (charmap_readdir)
5422 (fopen_uncompressed): Likewise.
5423 * locale/programs/locfile.c (siblings_uncached)
5424 (write_locale_data): Use lstat64 instead of lstat.
5425 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
5426 stat.
5427
a3375d29
AJ
54282013-05-10 Andreas Jaeger <aj@suse.de>
5429
5430 [BZ #15395]
5431 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
5432 localization.
5433 Include <locale.h>.
5434
36129722
CD
54352013-05-09 Carlos O'Donell <carlos@redhat.com>
5436
5437 * elf/dl-close.c (_dl_close_worker): Add comments.
5438
faa7f811
JM
54392013-05-09 Joseph Myers <joseph@codesourcery.com>
5440
ed41ffef
JM
5441 [BZ #15359]
5442 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
5443 high part of pi/2.
5444 (__ieee754_rem_pio2l): Update comments.
5445
d0213cd0
JM
5446 [BZ #15429]
5447 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
5448 high part of pi/2.
5449 (__ieee754_rem_pio2l): Update comments.
5450
0d3e777a
JM
5451 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
5452 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
5453
24f56066
JM
5454 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
5455 M_PI_4l.
5456
faa7f811
JM
5457 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
5458 (M_PI_34_LOG10El): Likewise.
5459 (M_PI2_LOG10El): Likewise.
5460 (M_PI4_LOG10El): Likewise.
5461 (M_PI_LOG10El): Likewise.
5462
e9a5e0fd
AZ
54632013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5464
5465 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5466
d8cd06db
JM
54672013-05-08 Joseph Myers <joseph@codesourcery.com>
5468
a0d9f9d7
JM
5469 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
5470 (MINUS_ZERO_INIT): Likewise.
5471 (PLUS_INFTY_INIT): Likewise.
5472 (MINUS_INFTY_INIT): Likewise.
5473 (QNAN_VALUE_INIT): Likewise.
5474 (MAX_VALUE_INIT): Likewise.
5475 (MIN_VALUE_INIT): Likewise.
5476 (MIN_SUBNORM_VALUE_INIT): Likewise.
5477 (plus_zero): Initialize with PLUS_ZERO_INIT.
5478 (minus_zero): Initialize with MINUS_ZERO_INIT.
5479 (plus_infty): Initialize with PLUS_INFTY_INIT.
5480 (minus_infty): Initialize with MINUS_INFTY_INIT.
5481 (qnan_value): Initialize with QNAN_VALUE_INIT.
5482 (max_value): Initialize with MAX_VALUE_INIT.
5483 (min_value): Initialize with MIN_VALUE_INIT.
5484 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
5485
ae08db3b
JM
5486 * math/libm-test.inc (RUN_TEST_if_f): New macro.
5487 (jn_test): Use TEST_if_f instead of TEST_ff_f.
5488 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
5489 (yn_test): Use TEST_if_f instead of TEST_ff_f.
5490
f44bf14a
JM
5491 * math/libm-test.inc (RUN_TEST_f_f): New macro.
5492 (RUN_TEST_2_f): Likewise.
5493 (RUN_TEST_ff_f): Likewise.
5494 (RUN_TEST_fi_f): Likewise.
5495 (RUN_TEST_fl_f): Likewise.
5496 (RUN_TEST_fff_f): Likewise.
5497 (RUN_TEST_c_f): Likewise.
5498 (RUN_TEST_f_f1): Likewise.
5499 (RUN_TEST_fF_f1): Likewise.
5500 (RUN_TEST_fI_f1): Likewise.
5501 (RUN_TEST_ffI_f1): Likewise.
5502 (RUN_TEST_c_c): Likewise.
5503 (RUN_TEST_cc_c): Likewise.
5504 (RUN_TEST_f_i): Likewise.
5505 (RUN_TEST_f_i_tg): Likewise.
5506 (RUN_TEST_ff_i_tg): Likewise.
5507 (RUN_TEST_f_b): Likewise.
5508 (RUN_TEST_f_b_tg): Likewise.
5509 (RUN_TEST_f_l): Likewise.
5510 (RUN_TEST_f_L): Likewise.
5511 (RUN_TEST_sincos): Likewise.
5512 * math/gen-libm-test.pl (new_test): Take new argument to indicate
5513 whether to show exceptions. Do not include ");\n" in return
5514 value.
5515 (special_functions): Output call to RUN_TEST_sincos instead of
5516 check_float calls. Update calls to new_test.
5517 (parse_args): Output call to single RUN_TEST_* macro instead of
5518 check_* calls and other assignments. Update calls to new_test.
5519
d8cd06db
JM
5520 [BZ #2546]
5521 [BZ #2560]
5522 [BZ #5159]
5523 [BZ #15426]
5524 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
5525 input to result for tgamma overflow.
5526 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
5527 (gamma_coeff): New variable.
5528 (NCOEFF): New macro.
5529 (gamma_positive): New function.
5530 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
5531 underflow here. Use gamma_positive instead of exp (lgamma) for
5532 other arguments.
5533 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
5534 (gamma_coeff): New variable.
5535 (NCOEFF): New macro.
5536 (gammaf_positive): New function.
5537 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
5538 underflow here. Use gamma_positive instead of exp (lgamma) for
5539 other arguments.
5540 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
5541 (gamma_coeff): New variable.
5542 (NCOEFF): New macro.
5543 (gammal_positive): New function.
5544 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
5545 underflow here. Use gamma_positive instead of exp (lgamma) for
5546 other arguments.
5547 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
5548 (gamma_coeff): New variable.
5549 (NCOEFF): New macro.
5550 (gammal_positive): New function.
5551 (__ieee754_gammal_r): Handle positive infinity, overflow and
5552 underflow here. Handle NaN the same as positive infinity. Remove
5553 check x < 0xffffffff for negative integers. Use gamma_positive
5554 instead of exp (lgamma) for other arguments.
5555 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
5556 (gamma_coeff): New variable.
5557 (NCOEFF): New macro.
5558 (gammal_positive): New function.
5559 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
5560 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
5561 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5562 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
5563 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5564 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
5565 * sysdeps/generic/math_private.h (__gamma_productf): New
5566 prototype.
5567 (__gamma_product): Likewise.
5568 (__gamma_productl): Likewise.
5569 * math/Makefile (libm-calls): Add gamma_product.
5570 * math/libm-test.inc (tgamma_test): Add more tests.
5571 * sysdeps/i386/fpu/libm-test-ulps: Update.
5572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5573
bb7cf681
OB
55742013-05-08 Ondřej Bílka <neleai@seznam.cz>
5575
5576 * benchtests/bench-skeleton.c (main): Preheat CPU.
5577
ba853947
AJ
55782013-05-07 Aurelien Jarno <aurelien@aurel32.net>
5579
5580 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
5581
8347c74c
RM
55822013-05-07 Roland McGrath <roland@hack.frob.com>
5583
5584 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
5585 and _dl_skip_args_internal.
5586
e8dd4791
CD
55872013-05-07 Carlos O'Donell <carlos@redhat.com>
5588
5589 * manual/message.texi (Message Translation): Talk about users.
5590 Message to key mapping impacts design.
5591
c7405830
RM
55922013-05-06 Roland McGrath <roland@hack.frob.com>
5593
a9173057
RM
5594 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
5595
976e2f03
RM
5596 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
5597
9723ffc5
RM
5598 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
5599 * sysdeps/wordsize-64/glob64.c: ... here.
5600
962e6658
RM
5601 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
5602 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
5603 New macros.
5604
ee586a6d
RM
5605 * debug/getlogin_r_chk.c: Moved to ...
5606 * login/getlogin_r_chk.c: ... here.
5607 * debug/Makefile (routines): Move getlogin_r_chk to ...
5608 * login/Makefile (routines): ... here.
5609 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
5610 * login/Versions (libc: GLIBC_2.4): ... here.
5611
355f9165
RM
5612 * io/poll.c (__poll): Renamed from poll.
5613 Add libc_hidden_def.
5614 (poll): Define as weak alias.
5615
bd9ffde6
RM
5616 * debug/ptsname_r_chk.c: Moved to ...
5617 * login/ptsname_r_chk.c: ... here.
5618 * debug/Makefile (routines): Move ptsname_r_chk to ...
5619 * login/Makefile (routines): ... here.
5620 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
5621 * login/Versions (libc: GLIBC_2.4): ... here.
5622
8fb16a04
RM
5623 * posix/getlogin.c: Moved to ...
5624 * login/getlogin.c: ... here.
5625 * posix/getlogin_r.c: Moved to ...
5626 * login/getlogin_r.c: ... here.
5627 * posix/getlogin_r.c: Moved to ...
5628 * login/getlogin_r.c: ... here.
5629 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
5630 * login/Makefile (routines): ... here.
5631 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
5632 * login/Versions (libc: GLIBC_2.0): ... here.
5633
b99b892f
RM
5634 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
5635 (setrlimit): Define as weak alias.
5636
c7405830
RM
5637 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
5638 Call __ names for open, ftruncate, and close.
5639 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
5640 (truncate): Define as weak alias.
5641
5bf96de5
JM
56422013-05-06 Joseph Myers <joseph@codesourcery.com>
5643
9ea3513c
JM
5644 * math/gen-libm-test.pl (parse_args): Initialize x before each
5645 test of frexp, modf and remquo.
5646
5bf96de5
JM
5647 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
5648 test signgam value.
5649
16e616a7
AZ
56502013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5651
5652 [BZ #15418]
5653 [BZ #15419]
5654 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
5655 internal tests.
5656 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5657
d5e82754
RM
56582013-05-06 Roland McGrath <roland@hack.frob.com>
5659
5660 * elf/dl-writev.h: New file.
5661 * elf/dl-misc.c: Include it.
5662 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
5663 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
5664
a7548d41
JM
56652013-05-04 Joseph Myers <joseph@codesourcery.com>
5666
b7dab1e4
JM
5667 * math/libm-test.inc (noXFails): Remove variable.
5668 (noXPasses): Likewise.
5669 (BUILD_COMPLEX_INT): Remove macro.
5670 (print_screen): Remove xfail argument.
5671 (print_screen_max_error): Likewise.
5672 (update_stats): Likewise.
5673 (print_max_error): Likewise. Update calls to other affected
5674 functions.
5675 (print_complex_max_error): Likewise.
5676 (test_single_exception): Update calls to print_screen.
5677 (test_single_errno): Likewise.
5678 (check_float_internal): Remove xfail argument. Update calls to
5679 other affected functions.
5680 (check_float): Likewise.
5681 (check_complex): Likewise.
5682 (check_int): Likewise.
5683 (check_long): Likewise.
5684 (check_bool): Likewise.
5685 (check_longlong): Likewise.
5686 (main): Don't print noXFails and noXPasses.
5687 * math/gen-libm-test.pl (top level): Don't mention expected
5688 failure handling in comment.
5689 (new_test): Don't handle expected failures.
5690 (parse_args): Don't mention expected failure handling in comment.
5691 (generate_testfile): Don't handle expected failures.
5692 (parse_ulps): Likewise.
5693 (print_ulps_file): Likewise.
5694 (get_failure): Remove function.
5695 (output_test): Don't handle expected failures.
5696 * make/README.libm-test: Don't mention expected failure handling.
5697
a7548d41
JM
5698 * math/libm-test.inc (plus_zero): Make const. Add initializer.
5699 (minus_zero): Likewise.
5700 (plus_infty): Likewise.
5701 (minus_infty): Likewise.
5702 (qnan_value): Likewise.
5703 (max_value): Likewise.
5704 (min_value): Likewise.
5705 (min_subnorm_value): Likewise.
5706 (initialize): Do not initialize those variables dynamically.
5707
60bfd54c
RM
57082013-05-03 Roland McGrath <roland@hack.frob.com>
5709
cc0e6ed8
RM
5710 * io/open.c (__open_2): Moved to ...
5711 * io/open_2.c: ... this new file.
5712 * io/open64.c (__open64_2): Moved to ...
5713 * io/open64_2.c: ... this new file.
5714 * io/openat.c (__openat_2): Moved to ...
5715 * io/openat_2.c: ... this new file.
5716 * io/openat64.c (__openat64_2): Moved to ...
5717 * io/openat64_2.c: ... this new file.
5718 * io/Makefile (routines): Add them.
5719 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
5720 * sysdeps/unix/sysv/linux/open_2.c: File removed.
5721 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
5722 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
5723 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
5724 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
5725 (__openat64): Add hidden_ver.
5726 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
5727 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
5728
60bfd54c
RM
5729 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
5730 Separately conditionalize setting of GLRO(dl_sysinfo) so
5731 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
5732 as well, but the actual setting is only under [NEED_DL_SYSINFO].
5733
83e7640f
AZ
57342013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5735
5736 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
5737 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
5738 definition.
5739 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
5740 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5741 (_libc_vdso_platform_setup): Add __vdso_time initialization.
5742 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
5743 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
5744
d5dc2af3
JM
57452013-05-03 Joseph Myers <joseph@codesourcery.com>
5746
c31a5b1e
JM
5747 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
5748 test signgam value.
5749
d5dc2af3
JM
5750 * math/libm-test.inc (hypot_test): Do not use
5751 IGNORE_ZERO_INF_SIGN.
5752
164fd39d
AJ
57532013-05-03 Andreas Jaeger <aj@suse.de>
5754
5755 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
5756 Linux 3.9.
5757 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
5758 (PF_MAX): Adjust for VSOCK change.
5759
8237f48c
AZ
57602013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5761
5762 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5763
9df02941
CD
57642013-05-02 Carlos O'Donell <carlos@redhat.com>
5765
5766 [BZ #15264]
5767 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
5768 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
5769 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
5770
d422395e
DM
57712013-05-02 David S. Miller <davem@davemloft.net>
5772
5773 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5774
a07c5731
OB
57752013-05-01 Ondřej Bílka <neleai@seznam.cz>
5776
5777 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
5778
1324e37f
RM
57792013-05-01 Roland McGrath <roland@hack.frob.com>
5780
5781 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
5782
0695940b
RS
57832013-05-01 Richard Smith <richard@metafoo.co.uk>
5784
bb5f27ad 5785 [BZ #14952]
0695940b
RS
5786 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
5787 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5788 Use __attribute__ ((__gnu_inline__)).
5789 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5790 Don't use __attribute__ ((__gnu_inline__)).
5791
10de07f5
JM
57922013-05-01 Joseph Myers <joseph@codesourcery.com>
5793
5794 [BZ #15423]
5795 * math/s_catan.c (__catan): Handle small real or imaginary part of
5796 input specially to avoid spurious underflow.
5797 * math/s_catanf.c (__catanf): Likewise.
5798 * math/s_catanh.c (__catanh): Likewise.
5799 * math/s_catanhf.c (__catanhf): Likewise.
5800 * math/s_catanhl.c (__catanhl): Likewise.
5801 * math/s_catanl.c (__catanl): Likewise.
5802 * math/libm-test.inc (catan_test): Add more tests.
5803 (catanh_test): Likewise.
5804 * sysdeps/i386/fpu/libm-test-ulps: Update.
5805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5806
cb4d5414
AZ
58072013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5808
5809 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5810
caf84319
JM
58112013-04-30 Joseph Myers <joseph@codesourcery.com>
5812
5813 [BZ #15416]
5814 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
5815 accurately for denominator in atan2.
5816 * math/s_catanf.c (__catanf): Likewise.
5817 * math/s_catanh.c (__catanh): Likewise.
5818 * math/s_catanhf.c (__catanhf): Likewise.
5819 * math/s_catanhl.c (__catanhl): Likewise.
5820 * math/s_catanl.c (__catanl): Likewise.
5821 * math/libm-test.inc (catan_test): Add more tests.
5822 (catanh_test): Likewise.
5823 * sysdeps/i386/fpu/libm-test-ulps: Update.
5824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5825
d569c6ee
SP
58262013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5827
6dbe713d
SP
5828 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
5829
f0ee064b
SP
5830 * benchtests/Makefile (bench): Remove slow benchmarks.
5831 * benchtests/atan-inputs: Add slow benchmark inputs.
5832 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
5833 (BENCH_FUNC): Accept variant offset.
5834 (VARIANT): Define.
5835 * benchtests/bench-skeleton.c (main): Run benchmark for each
5836 variant.
5837 * benchtests/cos-inputs: Add slow benchmark inputs.
5838 * benchtests/exp-inputs: Likewise.
5839 * benchtests/pow-inputs: Likewise.
5840 * benchtests/sin-inputs: Likewise.
5841 * benchtests/slowatan-inputs: Remove.
5842 * benchtests/slowatan.c: Remove.
5843 * benchtests/slowcos-inputs: Remove.
5844 * benchtests/slowcos.c: Remove.
5845 * benchtests/slowexp-inputs: Remove.
5846 * benchtests/slowexp.c: Remove.
5847 * benchtests/slowpow-inputs: Remove.
5848 * benchtests/slowpow.c: Remove.
5849 * benchtests/slowsin-inputs: Remove.
5850 * benchtests/slowsin.c: Remove.
5851 * benchtests/slowtan-inputs: Remove.
5852 * benchtests/slowtan.c: Remove.
5853 * benchtests/tan-inputs: Add slow benchmark inputs.
5854 * scripts/bench.pl: Parse comments and directives.
5855
d569c6ee
SP
5856 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
5857 in CPPFLAGS.
5858 ($(objpfx)bench-%.c): Remove *-ITER.
5859 * benchtests/bench-modf.c: Remove definition of ITER.
5860 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
5861 (main): Loop for DURATION seconds instead of fixed number of
5862 iterations.
5863 * scripts/bench.pl: Don't expect iterations in parameters.
5864
a6a242fe
RM
58652013-04-29 Roland McGrath <roland@hack.frob.com>
5866
5867 * io/fchdir.c (__fchdir): Renamed from fchdir.
5868 (fchdir): Define as weak alias.
5869
f2da7793
JM
58702013-04-29 Joseph Myers <joseph@codesourcery.com>
5871
5872 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
5873 (ERRNO_EDOM): Likewise.
5874 (ERRNO_ERANGE): Likewise.
5875 (noErrnoTests): New variable.
5876 (init_max_error): Set errno to 0.
5877 (test_single_errno): New function.
5878 (test_errno): Likewise.
5879 (check_float_internal): Call test_errno. Set errno to 0.
5880 (check_complex): Refer to errno tests in comment.
5881 (check_int): Call test_errno. Set errno to 0.
5882 (check_long): Likewise.
5883 (check_bool): Likewise.
5884 (check_longlong): Likewise.
5885 (cos_test): Use ERRNO_* flags for errno tests instead of
5886 check_int.
5887 (expm1_test): Likewise.
5888 (fmod_test): Likewise.
5889 (ilogb_test): Likewise.
5890 (lgamma_test): Likewise.
5891 (pow_test): Likewise.
5892 (remainder_test): Likewise.
5893 (sin_test): Likewise.
5894 (tan_test): Likewise.
5895 (yn_test): Likewise.
5896 (initialize): Set errno to 0.
5897 (main): Print number of errno tests.
5898 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
5899
b1a36ceb
AJ
59002013-04-29 Andreas Jaeger <aj@suse.de>
5901
c3ed8088
AJ
5902 [BZ #15084]
5903 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
5904 and RES_USEVC.
5905
f1a24198
AJ
5906 [BZ #15085]
5907 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
5908 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
5909 unimplemented.
5910
9ce3b2cb
AJ
5911 [BZ #15380]
5912 * stdlib/random.c (__initstate): Return NULL if
5913 __initstate fails.
5914
f1a24198 5915 [BZ #15086]
b1a36ceb
AJ
5916 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
5917 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
5918 RES_SNGLKUPREOP.
5919
7e7b6f36
AZ
59202013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5921
5922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5923
4d14f449
JM
59242013-04-29 Joseph Myers <joseph@codesourcery.com>
5925
5926 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
5927 of individual tests.
5928 (casin_test): Likewise.
5929 (casinh_test): Likewise.
5930
5b4217d7
JM
59312013-04-27 Joseph Myers <joseph@codesourcery.com>
5932
5933 [BZ #15409]
5934 * math/s_catan.c (__catan): Handle arguments with large real or
5935 imaginary part separately without squaring.
5936 * math/s_catanf.c (__catanf): Likewise.
5937 * math/s_catanh.c (__catanh): Likewise.
5938 * math/s_catanhf.c (__catanhf): Likewise.
5939 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5940 and redefine.
5941 (__catanhl): Handle arguments with large real or imaginary part
5942 separately without squaring.
5943 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5944 and redefine.
5945 (__catanl): Handle arguments with large real or imaginary part
5946 separately without squaring.
5947 * math/libm-test.inc (catan_test): Add more tests.
5948 (catanh_test): Likewise.
5949 * sysdeps/i386/fpu/libm-test-ulps: Update.
5950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5951
4220c3ef
AJ
59522013-04-27 Andreas Jaeger <aj@suse.de>
5953
5954 [BZ #15007]
5955 * stdlib/stdlib.h: Update guards for qecvt.
5956 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5957 <stdlib.h>.
5958
4721b2d1
AM
59592013-04-27 Allan McRae <allan@archlinux.org>
5960
5961 * sysdeps/i386/fpu/libm-test-ulps: Update.
5962
f0302940
JM
59632013-04-26 Joseph Myers <joseph@codesourcery.com>
5964
9457fd95
JM
5965 [BZ #15406]
5966 * math/s_catan.c: Include <float.h>.
5967 (__catan): Ensure underflow exception occurs for underflowed
5968 result.
5969 * math/s_catanf.c: Include <float.h>.
5970 (__catanf): Ensure underflow exception occurs for underflowed
5971 result.
5972 * math/s_catanh.c: Include <float.h>.
5973 (__catanh): Ensure underflow exception occurs for underflowed
5974 result.
5975 * math/s_catanhf.c: Include <float.h>.
5976 (__catanhf): Ensure underflow exception occurs for underflowed
5977 result.
5978 * math/s_catanhl.c: Include <float.h>.
5979 (__catanhl): Ensure underflow exception occurs for underflowed
5980 result.
5981 * math/s_catanl.c: Include <float.h>.
5982 (__catanl): Ensure underflow exception occurs for underflowed
5983 result.
5984 * math/libm-test.inc (catan_test): Add more tests.
5985 (catanh_test): Likewise.
5986
f0302940
JM
5987 [BZ #15405]
5988 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
5989 underflowed result.
5990 * math/s_ccoshf.c (__ccoshf): Likewise.
5991 * math/s_ccoshl.c (__ccoshl): Likewise.
5992 * math/s_csin.c (__csin): Likewise.
5993 * math/s_csinf.c (__csinf): Likewise.
5994 * math/s_csinh.c (__csinh): Likewise.
5995 * math/s_csinhf.c (__csinhf): Likewise.
5996 * math/s_csinhl.c (__csinhl): Likewise.
5997 * math/s_csinl.c (__csinl): Likewise.
5998 * math/libm-test.inc (ccos_test): Add more tests.
5999 (ccosh_test): Likewise.
6000 (csin_test): Likewise.
6001 (csinh_test): Likewise.
6002
aa630f59
AZ
60032013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6004
6005 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
6006 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
6007 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
6008 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
6009 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
6010 powerpc/power5+/fpu folders.
6011 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
6012
6013
1b835983
MT
60142013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6015
6016 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6017
73709b26
JM
60182013-04-25 Joseph Myers <joseph@codesourcery.com>
6019
6020 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
6021 additions to variable.
6022 [$(config-machine) = x86_64] (modules-names): Likewise.
6023 ($(objpfx)tst-audit3): Remove dependency.
6024 ($(objpfx)tst-audit3.out): Likewise.
6025 ($(objpfx)tst-audit4): Likewise.
6026 ($(objpfx)tst-audit4.out): Likewise.
6027 ($(objpfx)tst-audit5): Likewise.
6028 ($(objpfx)tst-audit5.out): Likewise.
6029 ($(objpfx)tst-audit6): Likewise.
6030 ($(objpfx)tst-audit6.out): Likewise.
6031 ($(objpfx)tst-audit7): Likewise.
6032 ($(objpfx)tst-audit7.out): Likewise.
6033 (tst-audit3-ENV): Remove variable.
6034 (tst-audit4-ENV): Likewise.
6035 (tst-audit5-ENV): Likewise.
6036 (tst-audit6-ENV): Likewise.
6037 (tst-audit7-ENV): Likewise.
6038 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
6039 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
6040 addition to variable.
6041 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
6042 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
6043 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
6044 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
6045 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
6046 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
6047 tst-audit3, tst-audit4 and tst-audit5.
6048 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
6049 tst-audit6 and tst-audit7.
6050 [$(subdir) = elf] (modules-names): Add audit modules for those
6051 tests.
6052 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
6053 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
6054 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
6055 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
6056 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
6057 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
6058 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
6059 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
6060 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
6061 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
6062 [$(subdir) = elf] (tst-audit3-ENV): New variable.
6063 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
6064 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
6065 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
6066 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
6067 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
6068 Likewise.
6069 [$(subdir) = elf && $(config-cflags-avx) = yes]
6070 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
6071 [$(subdir) = elf && $(config-cflags-avx) = yes]
6072 (CFLAGS-tst-auditmod4a.c): Likewise.
6073 [$(subdir) = elf && $(config-cflags-avx) = yes]
6074 (CFLAGS-tst-auditmod4b.c): Likewise.
6075 [$(subdir) = elf && $(config-cflags-avx) = yes]
6076 (CFLAGS-tst-auditmod6b.c): Likewise.
6077 [$(subdir) = elf && $(config-cflags-avx) = yes]
6078 (CFLAGS-tst-auditmod6c.c): Likewise.
6079 [$(subdir) = elf && $(config-cflags-avx) = yes]
6080 (CFLAGS-tst-auditmod7b.c): Likewise.
6081 * elf/tst-audit3.c: Move to ...
6082 * sysdeps/x86_64/tst-audit3.c: ... here.
6083 * elf/tst-audit4.c: Move to ...
6084 * sysdeps/x86_64/tst-audit4.c: ... here.
6085 * elf/tst-audit5.c: Move to ...
6086 * sysdeps/x86_64/tst-audit5.c: ... here.
6087 * elf/tst-audit6.c: Move to ...
6088 * sysdeps/x86_64/tst-audit6.c: ... here.
6089 * elf/tst-audit7.c: Move to ...
6090 * sysdeps/x86_64/tst-audit7.c: ... here.
6091 * elf/tst-auditmod3a.c: Move to ...
6092 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
6093 * elf/tst-auditmod3b.c: Move to ...
6094 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
6095 * elf/tst-auditmod4a.c: Move to ...
6096 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
6097 * elf/tst-auditmod4b.c: Move to ...
6098 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
6099 * elf/tst-auditmod5a.c: Move to ...
6100 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
6101 * elf/tst-auditmod5b.c: Move to ...
6102 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
6103 * elf/tst-auditmod6a.c: Move to ...
6104 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
6105 * elf/tst-auditmod6b.c: Move to ...
6106 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
6107 * elf/tst-auditmod6c.c: Move to ...
6108 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
6109 * elf/tst-auditmod7a.c: Move to ...
6110 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
6111 * elf/tst-auditmod7b.c: Move to ...
6112 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
6113
1ef74943
PP
61142013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
6115
6116 [BZ #15366]
6117 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
6118 define unconditionally.
6119 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
6120 define unconditionally.
6121 (INT8_C, INT16_C, etc.): Likewise.
6122
93fd48c5
MR
61232013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
6124
ae9552cf
MR
6125 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
6126 __ehdr_start with hidden visibility.
6127
93fd48c5
MR
6128 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
6129
418601aa
CD
61302013-04-24 Carlos O'Donell <carlos@redhat.com>
6131
6132 * math/libm-test.inc (cos_test): Use accurate hex constants.
6133 (sincost_test): Likewise.
6134
2f38fbfe
JM
61352013-04-24 Joseph Myers <joseph@codesourcery.com>
6136
5e221800
JM
6137 * math/libm-test.inc (catan_test): Add more tests.
6138 (catanh_test): Likewise.
6139
77f143fd
JM
6140 * math/s_catanf.c (__catanf): Use suffixed floating-point
6141 constants.
6142 * math/s_catanhf.c (__catanhf): Likewise.
6143 * math/s_catanhl.c (__catanhl): Likewise.
6144 * math/s_catanl.c (__catanl): Likewise.
6145
2f38fbfe
JM
6146 [BZ #15394]
6147 * math/s_catan.c (__catan): Calculate imaginary part of result
6148 with log1p not log unless computing log of number close to 0.
6149 * math/s_catanf.c (__catanf): Likewise.
6150 * math/s_catanl.c (__catanl): Likewise.
6151 * math/s_catanh.c (__catanh): Calculate real part of result with
6152 log1p not log unless computing log of number close to 0.
6153 * math/s_catanhf.c (__catanhf): Likewise.
6154 * math/s_catanhl.c (__catanhl): Likewise.
6155 * math/libm-test.inc (catan_test): Add more tests.
6156 (catanh_test): Likewise.
6157 * sysdeps/i386/fpu/libm-test-ulps: Update.
6158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6159
45d69176
SP
61602013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6161
6162 * benchtests/Makefile: Mention files in which fast and slow
6163 paths of math functions are implemented.
6164
87f51853
RM
61652013-04-23 Roland McGrath <roland@hack.frob.com>
6166
6167 * sysdeps/posix/timespec_get.c: New file.
6168
3c026539
AZ
61692013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6170
6171 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
6172 POWER.
6173 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
6174 for POWER.
6175 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
6176 powerpc/power5/fpu folders.
6177 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
6178 * benchtests/Makefile: Add modf testcase.
6179 * benchtests/bench-modf.c: New file: Benchmark test for mo
6180
ff491d14
SP
61812013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6182
6183 [BZ #14888]
6184 * time/Makefile (tests): Add tst-strptime-whitespace.
6185 * time/strptime_l.c (get_number): Use ISSPACE.
6186 (__strptime_internal): Likewise.
6187 * time/tst-strptime-whitespace.c: New test case.
6188
7ed3f4e8
AS
61892013-04-23 Andreas Schwab <schwab@linux-m68k.org>
6190
6191 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
6192 member.
6193 (_nss_files_init): Set it here.
6194
5c95f7b6
HC
61952013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
6196
6197 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
6198 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
6199 unsigned.
6200
d34c9158
JBG
62012013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
6202
6203 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
6204
2169712d
SP
62052013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6206
6207 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
6208 size just once.
6209
29c5de99
DM
62102013-04-21 David S. Miller <davem@davemloft.net>
6211
6212 * po/ru.po: Update Russion translation from translation project.
6213
ccdad15d
AC
62142013-04-17 Adam Conrad <adconrad@0c3.net>
6215
6216 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
6217 and setfsgid.
6218
0f122b8d
CD
62192013-04-17 Carlos O'Donell <carlos@redhat.com>
6220
5c5b07da 6221 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 6222 * configure: Regenerate.
5c5b07da 6223 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
6224 Add example to error message.
6225 * sysdeps/i386/configure: Regenerate.
6226
037714dd
SP
62272013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6228
6229 * benchtests/Makefile (bench): Add cos, tan, slowcos and
6230 slowtan.
6231 * benchtests/cos-inputs: New file.
6232 * benchtests/slowcos-inputs: New file.
6233 * benchtests/slowcos.c: New file.
6234 * benchtests/slowtan-inputs: New file.
6235 * benchtests/slowtan.c: New file.
6236 * benchtests/tan-inputs: New file.
6237
e913141d
RM
62382013-04-16 Roland McGrath <roland@hack.frob.com>
6239
6240 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
6241 considered kosher.
6242
a2964074
SP
62432013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6244
4856bcd2
SP
6245 * benchtests/Makefile: Include cppflags-iterator.mk to add
6246 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
6247
a2964074
SP
6248 * Makefile.in (bench-clean): New target.
6249 * benchtests/Makefile (bench-clean): Likewise.
6250
9fbf9aca
DH
62512013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
6252
6253 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
6254
207d1e2a
TS
62552013-04-15 Thomas Schwinge <thomas@codesourcery.com>
6256
6257 * stdio-common/tstdiomisc.c: Fix coding-style violation.
6258
306dfba9
AS
62592013-04-15 Andreas Schwab <schwab@suse.de>
6260
6261 * nscd/grpcache.c (cache_addgr): Properly check for short write.
6262 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6263 * nscd/pwdcache.c (cache_addpw): Likewise.
6264 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
6265 more than recsize.
6266
206a6699
SP
62672013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6268
6269 * benchtests/Makefile (bench): Write all output to
6270 bench-out.tmp together.
6271
0582f6b3
AS
62722013-04-15 Andreas Schwab <schwab@suse.de>
6273
6274 * nscd/nscd.c (main): Don't fork again after closing files.
6275
acb4325f
SP
62762013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6277
5cb26d0a
SP
6278 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
6279
acb4325f
SP
6280 * benchtests/Rules (bench-deps): Collect dependencies into a
6281 single variable. Add Makefile to dependencies.
6282 ($(objpfx)bench-%.c): Depend on bench-deps.
6283
47792506
RM
62842013-04-12 Roland McGrath <roland@hack.frob.com>
6285 Xavier Roche <roche+kml2@exalead.com>
6286
6287 [BZ #15361]
6288 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
6289 just that it's a file descriptor.
6290 * manual/llio.texi (Synchronizing AIO Operations): Update description
6291 for EBADF error from aio_fsync.
6292
8fc1bee5
SP
62932013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6294
6295 * Rules (bench): Move target definition...
6296 * benchtests/Makefile: ... here.
6297
aba5e333
CD
62982013-04-11 Carlos O'Donell <carlos@redhat.com>
6299
6300 * math/libm-test.inc (cos_test): Fix PI/2 test.
6301 (sincos_test): Likewise.
6302 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6303 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6304
273cdee8
AS
63052013-04-11 Andreas Schwab <schwab@suse.de>
6306
6ecec3b6
AS
6307 [BZ #13988]
6308 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
6309 accept exponent character only when digits were seen.
6310 * stdio-common/Makefile (tests): Add bug26.
6311 * stdio-common/bug26.c: New file.
6312
273cdee8
AS
6313 [BZ #14293]
6314 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
6315 non-freeable.
6316
8da491f5
SP
63172013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6318
01dc6df9
SP
6319 * Makeconfig (rtld-prefix): Define built linker prefix.
6320 * Rules (run-bench): Use it.
6321 * math/Makefile (run-regen-ulps): Likewise.
6322
8da491f5
SP
6323 * Rules (bench): Remove eval.
6324
abe7f530
SP
63252013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6326 Roland McGrath <roland@hack.frob.com>
6327 Ondrej Bilka <neleai@seznam.cz>
6328
6329 [BZ #15346]
6330 * time/getdate.c: Include ctype.h and alloca.h.
6331 (__getdate_r): Trim leading and trailing spaces of input.
6332 * time/tst-getdate.c (tests): Add tests with leading and
6333 trailing spaces.
6334
61c23e62
RM
63352013-04-08 Roland McGrath <roland@hack.frob.com>
6336
6337 [BZ #14280]
6338 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
6339 when computing value.
6340
7208a313
CD
63412013-04-06 Carlos O'Donell <carlos@redhat.com>
6342
085b2d41
CD
6343 * math/README.libm-test (How can I generate "libm-test-ulps"?):
6344 Use testrun.sh to run libm tests.
6345
7208a313
CD
6346 [BZ #15309]
6347 * elf/dl-open.c (dl_open_worker): memset all of seen array.
6348
872c0acd
MM
63492013-04-06 Marko Myllynen <myllynen@redhat.com>
6350
6351 [BZ #15264]
6352 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
6353
26510bdd
CD
63542013-04-06 Carlos O'Donell <carlos@redhat.com>
6355
6356 * Makefile.in (regen-ulps): New target.
6357 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
6358 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
6359 [ifneq (no,$(PERL)] (regen-ulps): New target.
6360 [ifeq (no,$(PERL)] (regen-ulps): New target.
6361 * math/libm-test.inc (ulps_file_name): Define.
6362 (output_dir): New variable.
6363 (options): Add "output-dir" option.
6364 (parse_opt): Handle 'o' case.
6365 (main): If output_dir is non-NULL use it as a prefix
6366 otherwise use "".
6367 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
6368
a01f19c8
CD
63692013-04-06 Carlos O'Donell <carlos@redhat.com>
6370
6371 [BZ #10060, #10062]
6372 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
6373 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
6374 fail configure if __sync_val_compare_and_swap is not inlined.
6375 * sysdeps/i386/configure: Regenerate.
6376 * configure.in: Build for i686 when configured for i386.
6377 * configure: Regenerate.
6378 * README: Remove i386 reference.
6379
b7a329a5
CD
63802013-04-06 Carlos O'Donell <carlos@redhat.com>
6381
6382 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
6383 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6384
bf0f50df
TS
63852013-04-05 Thomas Schwinge <thomas@codesourcery.com>
6386
ee091edf
TS
6387 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
6388 (lmsnanval): New variables.
6389 (F): Add conversion tests.
6390 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
6391 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
6392
a8b792d6
TS
6393 * stdio-common/tstdiomisc.c (F): Properly collect individual
6394 tests' results.
6395
a1cbf437
TS
6396 [BZ #14686, #15336]
6397 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
6398 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6399 Instead, use input NaN values or generate a qNaN by arithmetic
6400 operation. Also fix bugs to comply with the standard.
6401 * math/libm-test.inc (remainder_test): Add more tests.
6402
8b43a0c9
TS
6403 [BZ #15335, #15342]
6404 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
6405 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
6406 input NaN values or generate a qNaN by arithmetic operation.
6407
d91da4ce
TS
6408 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
6409 unreachable code.
6410
bf0f50df
TS
6411 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
6412 definitions.
6413
05e166c8
JM
64142013-04-03 Joseph Myers <joseph@codesourcery.com>
6415
6416 [BZ #14478]
6417 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
6418 underflowed result.
6419 * math/s_cexpf.c (__cexpf): Likewise.
6420 * math/s_cexpl.c (__cexpl): Likewise.
6421 * math/libm-test.inc (cexp_test): Add more tests.
6422
1cef1b19
AS
64232013-04-03 Andreas Schwab <schwab@suse.de>
6424
6425 [BZ #15330]
6426 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
6427 order arrays from heap if bigger than alloca cutoff.
6428
74d87055
TS
64292013-04-03 Thomas Schwinge <thomas@codesourcery.com>
6430
6431 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
6432 (SNAN_TESTS_double): Refer to GCC PR56831.
6433 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
6434 GCC PR56828.
6435
d755bba4
SP
64362013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6437
90d5d5bb
SP
6438 * Rules (bench): Move bench.out after the run is complete.
6439
73e0cd5d
SP
6440 * Rules (bench): Echo currently running benchmark.
6441
64aabd4b
SP
6442 * benchtests/Makefile (bench): Add atan and slowatan.
6443 * benchtests/atan-inputs: New file.
6444 * benchtests/slowatan-inputs: New file.
6445 * benchtests/slowatan.c: New file.
6446
c871eccd
SP
6447 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
6448 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
6449 its value.
6450
d755bba4
SP
6451 [BZ #15305]
6452 * sysdeps/unix/sysv/linux/kernel-features.h
6453 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
6454 __ASSUME_XFS_RESTRICTED_CHOWN.
6455 * sysdeps/unix/sysv/linux/pathconf.c
6456 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6457 Save and restore errno.
6458
52ce4860
JM
64592013-04-02 Joseph Myers <joseph@codesourcery.com>
6460
6461 [BZ #15327]
6462 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
6463 arguments using __kernel_casinh.
6464 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
6465 arguments using __kernel_casinhf.
6466 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
6467 arguments using __kernel_casinhl.
6468 * math/libm-test.inc (cacosh_test): Add more tests.
6469 * sysdeps/i386/fpu/libm-test-ulps: Update.
6470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6471
81f311c2
SP
64722013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6473
e7906a47
SP
6474 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
6475 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
6476
92e3664b
SP
6477 * bench/Makefile (bench): Add sin and slowsin.
6478 * benchtests/sin-inputs: New file.
6479 * benchtests/slowsin-inputs: New file.
6480 * benchtests/slowsin.c: New file.
6481
81f311c2
SP
6482 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
6483 (bench): Add slowexp and slowpow.
6484 (exp-ITER): Increase iterations.
6485 (pow-ITER): Likewise.
6486 * benchtests/exp-inputs: Change input.
6487 * benchtests/pow-inputs: Likewise.
6488 * benchtests/slowexp-inputs: New file.
6489 * benchtests/slowexp.c: New file.
6490 * benchtests/slowpow-inputs: New file.
6491 * benchtests/slowpow.c: New file.
6492
ab0f1aa9
AZ
64932013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6494
6495 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
6496 instructions.
6497 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6498 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
6499 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6500 * benchtests/Makefile: Add rint benchtest.
6501 * benchtests/rint-inputs: Input for rint benchtest.
6502
57267616
TS
65032013-04-02 Thomas Schwinge <thomas@codesourcery.com>
6504
6505 * Versions.def (libm): Add GLIBC_2.18.
6506 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
6507 hidden libm prototypes.
6508 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
6509 * math/Makefile (libm-calls): Add s_issignaling.
6510 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
6511 __issignalingf, __issignalingl. Adjust all libm.abilist files.
6512 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
6513 declaration.
6514 * math/math.h [__USE_GNU] (issignaling): New macro.
6515 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
6516 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
6517 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
6518 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
6519 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6520 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
6521 * manual/arith.texi (issignaling): New section.
6522 * manual/libm-err-tab.pl (@all_functions): Update comment.
6523 * math/gen-libm-test.pl (parse_args): Apply special handling for
6524 issignaling.
6525 * math/libm-test.inc (print_float, issignaling_test): New
6526 functions.
6527 (check_float_internal): Add issignaling checks.
6528 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
6529 default definition.
6530 * sysdeps/powerpc/math-tests.h: New file.
6531 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
6532 tests.
6533 * math/test-snan.c (TEST_FUNC): Likewise.
6534
6142896d
DM
65352013-03-30 David S. Miller <davem@davemloft.net>
6536
6537 * po/de.po: Update from translation team.
6538
ccc8cadf
JM
65392013-03-30 Joseph Myers <joseph@codesourcery.com>
6540
6541 [BZ #10357]
6542 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6543 imaginary part less than 1.0 and real part less than 0.5
6544 specially.
6545 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6546 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6547 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
6548 (cacos_test): Add more tests.
6549 (casin_test): Likewise.
6550 (casinh_test): Likewise.
6551 * sysdeps/i386/fpu/libm-test-ulps: Update.
6552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6553
0f6a8d4b
SP
65542013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6555
0d1029de
SP
6556 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
6557 ONE with its value.
6558
c2d94018
SP
6559 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
6560 (__pow_mp): Replace ONE and MONE with their values.
6561 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6562 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
6563 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6564 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
6565 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6566 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6567
27ec37f1
SP
6568 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
6569
a64d7e0e
SP
6570 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
6571 (__pow_mp): Replace ZERO and MZERO with their values.
6572 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6573 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6574 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6575 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6576 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6577 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
6578 (__sqr): Likewise.
6579
d26dd3eb
SP
6580 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
6581
0f6a8d4b
SP
6582 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
6583
e57b0c61
RM
65842013-03-28 Roland McGrath <roland@hack.frob.com>
6585
6586 * include/stdlib.h [!SHARED] (__call_tls_dtors):
6587 Declare with __attribute__ ((weak)).
6588 * stdlib/exit.c (__libc_atexit) [!SHARED]:
6589 Call __call_tls_dtors only if it's not NULL.
6590
356b3480
RM
65912013-03-28 Roland McGrath <roland@hack.frob.com>
6592
288f7d79
RM
6593 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
6594 didn't do it already, then set _dl_phdr and _dl_phnum based on the
6595 magic __ehdr_start linker symbol if it's defined.
6596 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
6597 them up here if it was already done.
6598
dc0a0263
RM
6599 * elf/dl-support.c (_dl_phdr): Make pointer to const.
6600 (_dl_aux_init): Use const in cast when setting it.
6601 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
6602 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
6603 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
6604
3d3436ae
RM
6605 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
6606 Declare them here.
6607 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
6608 * csu/libc-tls.c: Nor here.
6609 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
6610
356b3480
RM
6611 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
6612 (__libc_message): Never call vsyslog.
6613
b0f1246a
AM
66142013-03-28 Alan Modra <amodra@gmail.com>
6615
6616 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
6617 Define as empty.
6618 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
6619 Likewise.
6620
fbbe2b9a
AZ
66212013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6622
6623 [BZ #15214]
6624 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
6625 underflow.
6626 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6627
1728ab37
SP
66282013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6629
7a86be6e
SP
6630 [BZ #15304]
6631 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6632 Don't add gid passed as argument.
6633
1728ab37
SP
6634 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
6635
3a7182a1
JM
66362013-03-27 Joseph Myers <joseph@codesourcery.com>
6637
6638 [BZ #15307]
6639 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6640 imaginary part between 1.0 and 1.5 and real part less than 0.5
6641 specially.
6642 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6643 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6644 * math/libm-test.inc (cacos_test): Add more tests.
6645 (casin_test): Likewise.
6646 (casinh_test): Likewise.
6647 * sysdeps/i386/fpu/libm-test-ulps: Update.
6648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6649
6f2e90e7
SP
66502013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6651
5739f705
SP
6652 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
6653 constants.
6654 (norm): Likewise.
6655 (denorm): Likewise.
6656 (__dbl_mp): Likewise.
6657 (add_magnitudes): Likewise.
6658 (sub_magnitudes): Likewise.
6659 (__add): Likewise.
6660 (__sub): Likewise.
6661 (__mul): Likewise.
6662 (__sqr): Likewise.
6663 (__inv): Likewise.
6664 (__dvd): Likewise.
6665
e375e83d
SP
6666 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
6667 commented code.
6668 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
6669 (__dubcos): Likewise.
6670 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
6671 (__ieee754_acos): Likewise.
6672 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6673 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
6674 (__exp1): Likewise.
6675 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6676 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6677 (log1): Likewise.
6678 (my_log2): Likewise.
6679 (checkint): Likewise.
6680 * sysdeps/ieee754/dbl-64/e_remainder.c
6681 (__ieee754_remainder): Likewise.
6682 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6683 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6684 (bsloww): Likewise.
6685 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6686
6f2e90e7
SP
6687 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6688 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
6689 MANTISSA_STORE_T to store computations on mantissa. Use
6690 macros for rounding and division.
6691 (denorm): Likewise.
6692 (__dbl_mp): Likewise.
6693 (add_magnitudes): Likewise.
6694 (sub_magnitudes): Likewise.
6695 (__mul): Likewise.
6696 (__sqr): Likewise.
6697 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6698 powers of two in terms of TWOPOW macro.
6699 (mp_no): Make type of mantissa as MANTISSA_T.
6700 [!RADIXI]: Define RADIXI.
6701 [!TWO52]: Define TWO52.
6702 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6703
fce14d4e
AZ
67042013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6705
6706 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
6707 llroundl symbol when building for PPC32.
6708
9ad027fb
MW
67092013-03-24 Mark H Weaver <mhw@netris.org>
6710
6711 * manual/arith.texi (Normalization Functions): Fix prototypes for
6712 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
6713
e42a38dd
AZ
67142013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6715
6716 [BZ #13889]
6717 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
6718 high value to check if expl overflow.
6719 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
6720 to check for underflow and overflow.
6721 * math/libm-test.inc: Add exp test.
6722
2e0fb521
DL
67232013-03-21 Dmitry V. Levin <ldv@altlinux.org>
6724
6725 [BZ #11120]
6726 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
6727 with NOT_IN_libc.
6728
b5784d95
AZ
67292013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6730
6731 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6732 symbol.
6733
5aa4a1a1
TS
67342013-03-21 Thomas Schwinge <thomas@codesourcery.com>
6735
bdef0be7
TS
6736 * math/gen-libm-test.pl (parse_args, special_functions): Properly
6737 wrap blocks consisting of several statements.
6738
5aa4a1a1
TS
6739 * sysdeps/generic/math-tests.h: New file.
6740 * sysdeps/i386/fpu/math-tests.h: Likewise.
6741 * math/test-snan.c: Include it.
6742 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
6743
98c48fe5
JM
67442013-03-21 Joseph Myers <joseph@codesourcery.com>
6745
6746 [BZ #15285]
6747 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
6748 (__ieee754_j0l): Do not improve calculations using cos of twice
6749 input for inputs above LDBL_MAX / 2.0L.
6750 (__ieee754_y0l): Likewise.
6751 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
6752 (__ieee754_j1l): Do not improve calculations using cos of twice
6753 input for inputs above LDBL_MAX / 2.0L.
6754 (__ieee754_y1l): Likewise.
6755 * math/libm-test.inc (j0_test): Add another test.
6756 (j1_test): Likewise.
6757 (y0_test): Likewise.
6758 (y1_test): Likewise.
6759 * sysdeps/i386/fpu/libm-test-ulps: Update.
6760
3775a8bc
SP
67612013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6762
6763 * Rules ($(objpfx)bench-%.c): Include code from a C source
6764 file.
6765
0a1b2ae6
JM
67662013-03-21 Joseph Myers <joseph@codesourcery.com>
6767
6768 [BZ #15287]
6769 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6770 imaginary part 1.0 and real part less than 0.5 specially.
6771 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6772 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6773 * math/libm-test.inc (cacos_test): Add more tests.
6774 (casin_test): Likewise.
6775 (casinh_test): Likewise.
6776 * sysdeps/i386/fpu/libm-test-ulps: Update.
6777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6778
b33d4ce4
SP
67792013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6780
6781 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
6782 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
6783
bef0b507
JM
67842013-03-20 Joseph Myers <joseph@codesourcery.com>
6785
6786 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
6787 * config.make.in (config-cflags-sse4): Remove variable.
6788 (config-cflags-avx): Likewise.
6789 (config-cflags-sse2avx): Likewise.
6790 (config-cflags-novzeroupper): Likewise.
6791 (config-asflags-i686): Likewise.
6792 (have-mfma4): Likewise.
6793 (have-as-vis3): Likewise.
6794 (MIG): Likewise.
6795 * configure.in (MIG): Do not AC_SUBST.
6796 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
6797 (libc_cv_cc_sse4): Do not AC_SUBST.
6798 (libc_cv_cc_avx): Likewise.
6799 (libc_cv_cc_sse2avx): Likewise.
6800 (libc_cv_cc_novzeroupper): Likewise.
6801 (libc_cv_cc_fma4): Likewise.
6802 (libc_cv_as_i686): Likewise.
6803 (libc_cv_sparc_as_vis3): Likewise.
6804 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
6805 LIBC_CONFIG_VAR.
6806 (config-asflags-i686): Likewise.
6807 (config-cflags-avx): Likewise.
6808 (config-cflags-sse2avx): Likewise.
6809 (have-mfma4): Likewise.
6810 (config-cflags-novzeroupper): Likewise.
6811 * sysdeps/mach/configure.in (MIG): Likewise.
6812 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
6813 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
6814 LIBC_CONFIG_VAR.
6815 (config-cflags-avx): Likewise.
6816 (config-cflags-sse2avx): Likewise.
6817 (have-mfma4): Likewise.
6818 (config-cflags-novzeroupper): Likewise.
6819 * configure: Regenerated.
6820 * sysdeps/i386/configure: Likewise.
6821 * sysdeps/mach/configure: Likewise.
6822 * sysdeps/sparc/configure: Likewise.
6823 * sysdeps/x86_64/configure: Likewise.
6824
912cc4b3
RM
68252013-03-20 Roland McGrath <roland@hack.frob.com>
6826
6827 [BZ #14812]
6828 * locale/programs/localedef.c (options): Put N_ translation marker
6829 on argument names, not just descriptions.
6830
04eed2b0
MS
68312013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6832
6833 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
6834
a065ceff
OB
68352013-03-20 Ondřej Bílka <neleai@seznam.cz>
6836
9bb2a810 6837 [BZ #14176]
a065ceff
OB
6838 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
6839
a600e5ce
RM
68402013-03-19 Roland McGrath <roland@hack.frob.com>
6841
6842 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
6843 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
6844 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
6845 [!BEFORE_ABORT] (before_abort): New function.
6846 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
6847 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
6848 (writev_for_fatal): New function.
6849 (WRITEV_FOR_FATAL): New macro; call that.
6850 (backtrace_and_maps): New function.
6851 (BEFORE_ABORT): New macro; call that.
6852 (struct str_list): Type removed.
6853 (__libc_message, __libc_fatal): Functions removed.
6854 Include <sysdeps/posix/libc_fatal.c> instead.
6855
6b18bea6
JM
68562013-03-19 Joseph Myers <joseph@codesourcery.com>
6857
6858 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
6859 constants.
6860 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
6861 double constants.
6862
aaa8cb4b
AS
68632013-03-19 Andreas Schwab <schwab@suse.de>
6864
44673770
AS
6865 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
6866 * sysdeps/gnu/configure: Regenerate.
6867
aaa8cb4b
AS
6868 * configure.in: Substitute libc_cv_rtlddir.
6869 * configure: Regenerate.
6870 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
6871 * Makeconfig (rtlddir, inst_rtlddir): New variables.
6872 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
6873 * elf/Makefile (install-others, CFLAGS-interp.c)
6874 (ldso_install, common-ldd-rewrite): Likewise.
6875 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
6876 $(inst_slibdir)/$(rtld-installed-name).
6877 * scripts/rellns-sh: Add -p option.
6878 * Makerules (make-shlib-link): Use rellns-sh to get relative name
6879 for source.
6880
d3cfc668
SP
68812013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6882
6883 * manual/nptl.texi: Renamed to ...
6884 * manual/threads.texi: ... this.
6885 * manual/Makefile (chapters): Update.
6886
0e2b9cdd
RM
68872013-03-18 Roland McGrath <roland@hack.frob.com>
6888
6889 [BZ #14812]
6890 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
6891 on argument names, not just descriptions.
0e2b9cdd
RM
6892 * malloc/memusagestat.c (options): Likewise.
6893 * nss/getent.c (options): Likewise.
63270c24
RM
6894
68952013-03-18 Benno Schulenberg <bensberg@justemail.net>
6896
6897 [BZ #14812]
6898 * iconv/iconv_prog.c (options): Put N_ translation marker
6899 on argument names, not just descriptions.
6900 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 6901
b2e1393c
OB
69022013-03-18 Ondrej Bilka <neleai@seznam.cz>
6903
6904 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
6905 implementation which is faster on all x86_64 architectures.
6906 Tested on AMD, Intel Nehalem, SNB, IVB.
6907 * sysdeps/x86_64/strnlen.S: Likewise.
6908
6909 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6910 Remove all multiarch strlen and strnlen versions.
6911 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6912 Remove strlen and strnlen related parts.
6913
6914 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
6915 Inline strlen part.
6916 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6917
6918 * sysdeps/x86_64/multiarch/strlen.S: Remove.
6919 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
6920 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
6921 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
6922 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6923 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
6924
ec4ff04d
CD
69252013-03-17 Carlos O'Donell <carlos@redhat.com>
6926
6927 * manual/memory.texi (Malloc Tunable Parameters):
6928 Sort parameters alphabetically. Add comments for missing entries.
6929
cd18e90a
DM
69302013-03-17 David S. Miller <davem@davemloft.net>
6931
6932 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6933
2a185d32
JM
69342013-03-16 Joseph Myers <joseph@codesourcery.com>
6935
d2f9799e
JM
6936 [BZ #15283]
6937 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
6938 for arguments at most half maximum finite value.
6939 * math/libm-test.inc (j0_test): Add more tests.
6940 (j1_test): Likewise.
6941 (y0_test): Likewise.
6942 (y1_test): Likewise.
6943 * sysdeps/i386/fpu/libm-test-ulps: Update.
6944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6945
2a185d32
JM
6946 [BZ #14155]
6947 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
6948 1 / x and functions P and Q for arguments above 0x1p256L.
6949 (__ieee754_y0l): Likewise.
6950 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6951 (__ieee754_y1l): Likewise.
6952 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
6953 (j1_test): Likewise.
6954 (y0_test): Likewise.
6955 (y1_test): Likewise.
6956
6cbec759
TS
69572013-03-16 Thomas Schwinge <thomas@codesourcery.com>
6958
6959 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6960 variable.
6961
bc16e260
RM
69622013-03-15 Roland McGrath <roland@hack.frob.com>
6963
aefc9b8c
RM
6964 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
6965 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
6966 zero since it's initialized to EXEC_PAGESIZE.
6967
bc16e260
RM
6968 * sysdeps/unix/sysv/linux/ldsodefs.h
6969 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
6970 * sysdeps/generic/ldsodefs.h: ... here.
6971
a57da955
TS
69722013-03-15 Thomas Schwinge <thomas@codesourcery.com>
6973
af00a34d
TS
6974 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
6975
495ded2c
TS
6976 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
6977 math/test-snan.c.
6978 * math/test-snan.c: Renamed from
6979 sysdeps/powerpc/fpu/test-powerpc-snan.c.
6980 * math/Makefile (tests): Add test-snan.
6981 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
6982 test-powerpc-snan.
6983
777b0332
TS
6984 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
6985 SUFFIX. Initialize qNaN_var with __builtin_nan family of
6986 functions.
6987 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
6988 __builtin_nan family of functions.
6989 * math/libm-test.inc (initialize): Initialize qnan_value with
6990 __builtin_nan family of functions.
6991 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
6992 Remove variables.
6993 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6994 Remove functions.
6995 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
6996 storage class. Initialize qNaN_var and sNaN_var with
6997 __builtin_nan and __builtin_nans families of functions,
6998 respectively.
6999
64d063b8
TS
7000 * math/libm-test.inc (acosh_test): Also test with qNaN input.
7001 (sqrt_test): Remove duplicate test with qNaN input.
7002 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
7003 (round_test, signbit_test, significand_test): Note missing +/-Inf
7004 as well as qNaN tests.
7005
67e971f1
TS
7006 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
7007 qNaN_var. Fix a few strings, too.
7008 * math/libm-test.inc (nan_value): Rename to qnan_value.
7009 * math/gen-libm-test.pl (%beautify): Adjust to that.
7010 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
7011 * math/test-misc.c (main): Likewise.
7012 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
7013 to __qnan_bytes, and __qnan_union, respectively.
7014 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
7015 Likewise.
7016 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
7017 and lqnanval, respectively.
7018 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
7019 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
7020 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
7021 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
7022
64487e12
TS
7023 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
7024 * math/test-misc.c (main) [__x86_64__]: Enable test for long
7025 doubles.
7026
e015e27b
TS
7027 * math/test-misc.c (main): Fix copy'n'pastos.
7028 * misc/tst-efgcvt.c (special): Likewise.
7029
a57da955
TS
7030 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
7031 Remove declarations.
7032
1e380345
SP
70332013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7034
7035 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
7036 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
7037 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
7038 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
7039
ef26eece
AZ
70402013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7041
7042 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
7043 macro to return vdso values correctly in IFUNC implementations.
7044 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7045 Optimization by using IFUNC.
7046
8cfdb7e0
SP
70472013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7048 Richard Henderson <rth@redhat.com>
7049 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7050
7051 * Makefile.in (bench): New target.
7052 * NEWS: Mention the benchmark framework.
7053 * Rules (bench): Likewise.
7054 (binaries-bench): Generate binaries for functions to
7055 benchmark.
7056 * benchtests/Makefile: New makefile for benchmark tests.
7057 * benchtests/bench-skeleton.c: New skeleton file for benchmark
7058 programs.
7059 * benchtests/exp-inputs: New input file for EXP function.
7060 * benchtests/pow-inputs: New input file for POW function.
7061 * scripts/bench.pl: New script to generate source files for
7062 benchmark programs.
7063
bcda9880
SP
70642013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7065
d22ca8cd
SP
7066 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7067 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
7068 computations on mantissa. Use macros for rounding and
7069 division.
7070 (denorm): Likewise.
7071 (__dbl_mp): Likewise.
7072 (add_magnitudes): Likewise.
7073 (sub_magnitudes): Likewise.
7074 (__mul): Likewise.
7075 (__sqr): Likewise.
7076 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7077 powers of two in terms of TWOPOW macro.
7078 (mp_no): Make type of mantissa as MANTISSA_T.
7079 [!RADIXI]: Define RADIXI.
7080 [!TWO52]: Define TWO52.
7081 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7082
bcda9880
SP
7083 * manual/nptl.texi (cindex): Modify threads to pthreads.
7084
06d5adfb
JM
70852013-03-15 Joseph Myers <joseph@codesourcery.com>
7086
7087 * sysdeps/x86_64/preconfigure: Regenerated.
7088
41c7328e
JM
70892013-03-14 Joseph Myers <joseph@codesourcery.com>
7090
7091 [BZ #14155]
7092 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
7093 0x1p28 and above.
7094 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
7095 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
7096 0x1p28 and above.
7097 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
7098 * math/libm-test.inc (j0_test): Do not allow one spurious
7099 underflow exception.
7100 (y1_test): Likewise.
7101
e25cfa60
SP
71022013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7103
0409959c
SP
7104 * manual/Makefile (chapters): Add nptl.
7105 * manual/debug.texi (Debugging Support): Add link to Threads
7106 chapter.
7107 * manual/nptl.texi: New file.
7108
e25cfa60
SP
7109 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
7110
58a1335e
PB
71112013-03-14 Petr Baudis <pasky@ucw.cz>
7112
7113 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
7114 for non-NULL pointer before the memory validity test. Pointed
7115 out by Holger Brunck <holger.brunck@keymile.com>.
7116
9dc7c64f
AS
71172013-03-13 Andreas Schwab <schwab@suse.de>
7118
7119 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
7120 instead of .os.
7121
54206aa6
JM
71222013-03-13 Joseph Myers <joseph@codesourcery.com>
7123
7124 * timezone/zic.c: Update from tzcode 2013b.
7125
e98cdb38
CD
71262013-03-12 Carlos O'Donell <carlos@redhat.com>
7127
7128 * manual/install.texi (Configuring and compiling):
7129 Mention i686 and i586.
7130 * INSTALL: Regenerate.
7131
9967e003
RM
71322013-03-12 Roland McGrath <roland@hack.frob.com>
7133
7134 * sysdeps/init_array/elf-init.c: New file.
7135 * csu/elf-init.c
7136 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
7137 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
7138
7139 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
7140 __gmon_start__ as global, but as static with a .preinit_array pointer.
7141 * sysdeps/init_array/gmon-start.c: New file. Use that.
7142 * sysdeps/init_array/crti.S: New file, empty except for comments.
7143 * sysdeps/init_array/crtn.S: Likewise.
7144
e6b5a293 71452013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
7146
7147 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
7148 definining bcopy.
80f844c9
OB
7149 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7150 Remove Prefer_SSE_for_memop.
7151 * sysdeps/x86_64/multiarch/init-arch.h: Remove
7152 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
7153 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
7154 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7155 memset-x86-64.
80f844c9 7156 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 7157 Remove bzero, memset ifunc support.
80f844c9
OB
7158 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
7159 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
7160 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7161 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7162
fb6b0fcb
AS
71632013-03-11 Andreas Schwab <schwab@suse.de>
7164
7165 [BZ #15234]
7166 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
7167 by SHLIB_COMPAT.
7168 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
7169 (GLIBC_2.16): Remove pthread_atfork.
7170
3e6bd4b1
PP
71712013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7172
7173 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
7174 (ptestcases.h): Likewise.
7175
222d7f00
RM
71762013-03-08 Roland McGrath <roland@hack.frob.com>
7177
7178 * Makeconfig ($(common-objpfx)config.status): Depend on
7179 sysdeps/*/preconfigure{,.in} too.
7180
1ba4f030
JM
71812013-03-08 Joseph Myers <joseph@codesourcery.com>
7182
a222d91a
JM
7183 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
7184 (__free_hook): Use void * instead of __malloc_ptr_t.
7185 (__malloc_hook): Likewise.
7186 (__realloc_hook): Likewise.
7187 (__memalign_hook): Likewise.
7188 (__after_morecore_hook): Likewise.
7189 * malloc/arena.c (save_malloc_hook): Likewise.
7190 (save_free_hook): Likewise.
7191 * malloc/hooks.c (malloc_hook_ini): Likewise.
7192 (realloc_hook_ini): Likewise.
7193 (memalign_hook_ini): Likewise.
7194 * malloc/malloc.c (malloc_hook_ini): Likewise.
7195 (realloc_hook_ini): Likewise.
7196 (memalign_hook_ini): Likewise.
7197 (__free_hook): Likewise.
7198 (__malloc_hook): Likewise.
7199 (__realloc_hook): Likewise.
7200 (__memalign_hook): Likewise.
7201 (__libc_malloc): Likewise.
7202 (__libc_free): Likewise.
7203 (__libc_realloc): Likewise.
7204 (__libc_memalign): Likewise.
7205 (__libc_valloc): Likewise.
7206 (__libc_pvalloc): Likewise.
7207 (__libc_calloc): Likewise.
7208 (__posix_memalign): Likewise.
7209 * malloc/morecore.c (__sbrk): Likewise.
7210 (__default_morecore): Likewise.
7211
5cc45e10
JM
7212 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
7213
dd54b864
JM
7214 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
7215 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
7216 __malloc_ptrdiff_t.
7217
1ba4f030
JM
7218 * malloc/malloc.h (__malloc_size_t): Remove macro.
7219 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
7220 __malloc_size_t.
7221 (old_memalign_hook): Likewise.
7222 (old_realloc_hook): Likewise.
7223 (struct hdr): Likewise.
7224 (flood): Likewise.
7225 (mallochook): Likewise.
7226 (memalignhook): Likewise.
7227 (reallochook): Likewise.
7228 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
7229 (tr_old_realloc_hook): Likewise.
7230 (tr_old_memalign_hook): Likewise.
7231 (tr_mallochook): Likewise.
7232 (tr_reallochook): Likewise.
7233 (tr_memalignhook): Likewise.
7234
edf66e57
AZ
72352013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7236
7237 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
7238 default_ldbl_pack and using as default implementation.
7239 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
7240 implementation.
7241 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
7242 redundant definition.
7243 (ldbl_insert_mantissa): Likewise.
7244 (ldbl_canonicalize): Likewise.
7245 (ldbl_nearbyint): Likewise.
7246 (ldbl_pack): Rename to ldbl_pack_ppc.
7247 (ldbl_unpack): Rename to ldbl_unpack_ppc.
7248 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
7249 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
7250
6d9145d8
SP
72512013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7252
7253 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
7254 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
7255 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
7256 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
7257 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
7258 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
7259 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
7260 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
7261
4dd4e157
AJ
72622013-03-07 Andreas Jaeger <aj@suse.de>
7263
7264 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7265 bits/mman-linux.h.
7266
adbb8027
SP
72672013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7268
ce544b5b
SP
7269 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
7270 Include mpa.h and declare __MPEXP.
7271 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
7272 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7273 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7274 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
7275 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7276 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7277 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
7278
4cc149fd
SP
7279 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
7280 (__slowpow): Use long double EXPL and LOGL functions to
7281 compute POW.
7282 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7283 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7284 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
7285 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7286 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7287 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
7288
e6ebd4a7
SP
7289 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
7290 intermediate variable to calculate exponent.
7291 (__sqr): Likewise.
7292 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7293 Likewise.
7294 (__sqr): Likewise.
7295
82a9811d
SP
7296 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
7297 [!NO__SQR]: Define __sqr.
7298 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
7299 and NO__SQR. Remove all code except __mul and __sqr. Include
7300 sysdeps/ieee754/dbl-64/mpa.c.
7301 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7302
adbb8027
SP
7303 [BZ #12723]
7304 * posix/Makefile (tests): Add tst-pathconf.
7305 * posix/tst-pathconf.c: New test case.
7306 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
7307 _PC_PIPE_BUF.
7308 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
7309
39120df9
PF
73102013-03-06 Patsy Franklin <pfrankli@redhat.com>
7311
7312 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
7313
67525cb8
AJ
73142013-03-06 Andreas Jaeger <aj@suse.de>
7315
664a9ce4
AJ
7316 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
7317 definition via __MAP_ANONYMOUS.
7318
8e39047d
AJ
7319 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
7320 it's not part of Linux headers.
7321
67525cb8
AJ
7322 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
7323 (MAP_HUGE_MASK): Define.
7324
7325 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7326 Define.
7327 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7328 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7329 Define.
7330 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7331 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7332 Define.
7333 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7334 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
7335 Define.
7336 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7337
7338 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
7339 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
7340 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
7341 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
7342 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
7343 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
7344
7345 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7346 Handle f2fs.
7347
7348 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7349 Handle f2fs and efivarfs.
7350
7351 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
7352 f2fs.
7353
7354 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
7355 (EFIVARFS_MAGIC): Add.
7356 (F2FS_LINK_MAX): Add.
7357
e1b42695
PP
73582013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7359
7360 * stdio-common/vfprintf.c: Replace __builtin_expect with
7361 __glibc_unlikely.
7362
2d67d91a
JM
73632013-03-06 Joseph Myers <joseph@codesourcery.com>
7364
7365 [BZ #13550]
7366 * sysdeps/generic/bp-sym.h: Remove file.
7367 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
7368 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
7369 <bp-sym.h> and <bp-asm.h>.
7370 (__longjmp): Don't use BP_SYM.
7371 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
7372 and <bp-asm.h>.
7373 (memcpy): Don't use BP_SYM.
7374 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
7375 <bp-sym.h> and <bp-asm.h>.
7376 (memcpy): Don't use BP_SYM.
7377 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
7378 <bp-asm.h>.
7379 (memcpy): Don't use BP_SYM.
7380 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
7381 <bp-asm.h>.
7382 (memset): Don't use BP_SYM.
7383 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7384 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7385 (__bzero): Don't use BP_SYM.
7386 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7387 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7388 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
7389 <bp-sym.h> and <bp-asm.h>.
7390 (memcmp): Don't use BP_SYM. Remove comment about bounded
7391 pointers.
7392 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
7393 <bp-sym.h> and <bp-asm.h>.
7394 (memcpy): Don't use BP_SYM.
7395 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
7396 <bp-sym.h> and <bp-asm.h>.
7397 (memset): Don't use BP_SYM.
7398 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7399 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7400 (__bzero): Don't use BP_SYM.
7401 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7402 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7403 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
7404 <bp-sym.h> and <bp-asm.h>.
7405 (strncmp): Don't use BP_SYM. Remove comment about bounded
7406 pointers.
7407 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
7408 <bp-sym.h> and <bp-asm.h>.
7409 (memcpy): Don't use BP_SYM.
7410 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
7411 <bp-sym.h> and <bp-asm.h>.
7412 (memset): Don't use BP_SYM.
7413 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7414 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7415 (__bzero): Don't use BP_SYM.
7416 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7417 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7418 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
7419 <bp-sym.h> and <bp-asm.h>.
7420 (__memchr): Don't use BP_SYM.
7421 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
7422 <bp-sym.h> and <bp-asm.h>.
7423 (memcmp): Don't use BP_SYM. Remove comment about bounded
7424 pointers.
7425 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
7426 <bp-sym.h> and <bp-asm.h>.
7427 (memcpy): Don't use BP_SYM.
7428 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
7429 <bp-sym.h> and <bp-asm.h>.
7430 (__mempcpy): Don't use BP_SYM.
7431 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
7432 <bp-sym.h> and <bp-asm.h>.
7433 (__memrchr): Don't use BP_SYM.
7434 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
7435 <bp-sym.h> and <bp-asm.h>.
7436 (memset): Don't use BP_SYM.
7437 (__bzero): Likewise.
7438 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
7439 <bp-sym.h> and <bp-asm.h>.
7440 (__rawmemchr): Don't use BP_SYM.
7441 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
7442 <bp-sym.h> and <bp-asm.h>.
7443 (__STRCMP): Don't use BP_SYM.
7444 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
7445 <bp-sym.h> and <bp-asm.h>.
7446 (strchr): Don't use BP_SYM.
7447 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
7448 <bp-sym.h> and <bp-asm.h>.
7449 (__strchrnul): Don't use BP_SYM.
7450 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
7451 <bp-sym.h> and <bp-asm.h>.
7452 (strlen): Don't use BP_SYM.
7453 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
7454 <bp-sym.h> and <bp-asm.h>.
7455 (strncmp): Don't use BP_SYM. Remove comment about bounded
7456 pointers.
7457 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
7458 <bp-sym.h> and <bp-asm.h>.
7459 (__strnlen): Don't use BP_SYM.
7460 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
7461 <bp-sym.h> and <bp-asm.h>.
7462 (__GI__setjmp): Don't use BP_SYM.
7463 (_setjmp): Likewise.
7464 (__sigsetjmp): Likewise.
7465 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
7466 (L(start_addresses)): Don't use BP_SYM.
7467 (_start): Likewise.
7468 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
7469 <bp-asm.h>.
7470 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
7471 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
7472 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7473 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7474 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
7475 <bp-asm.h>.
7476 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
7477 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
7478 about bounded pointers.
7479 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7480 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7481 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
7482 <bp-asm.h>.
7483 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7484 about bounded pointers. Remove GKM FIXME comments.
7485 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7486 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
7487 <bp-asm.h>.
7488 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
7489 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
7490 Remove GKM FIXME comments.
7491 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7492 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7493 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
7494 <bp-asm.h>.
7495 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7496 about bounded pointers. Remove GKM FIXME comment.
7497 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
7498 and <bp-asm.h>.
7499 (strncmp): Don't use BP_SYM. Remove comment about bounded
7500 pointers.
7501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
7502 <bp-sym.h> and <bp-asm.h>.
7503 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
7505 <bp-sym.h> and <bp-asm.h>.
7506 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7507 comment.
7508
cdcf361f
PP
75092013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7510
7511 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
7512 call free(NULL).
7513
3c4a2b15
DM
75142013-03-05 David S. Miller <davem@davemloft.net>
7515
7516 * po/es.po: Update from translation team.
7517
cdcf361f 75182013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
7519
7520 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
7521 <bits/mman-linux.h>.
7522 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7523 is fine.
7524 * sysdeps/unix/sysv/linux/sh/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/x86/bits/mman.h: Move include of
7529 <bits/mman-linux.h> to end of file.
7530 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7531 is fine.
7532 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
7533 <bits/mman-linux.h> to end of file.
7534
7535 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
7536 (MCL_CURRENT, MCL_FUTURE): Define here.
7537
5f67c04f
AK
75382013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7539
8a4473cc 7540 [BZ #15232]
5f67c04f
AK
7541 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
7542 attribute_hidden.
7543 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7544
c3e94a95
AK
75452013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7546
7547 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
7548 fourth parameter needed for rt_sigprocmask syscall.
7549 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7550 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7551 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7552 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7553 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7554 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
7555
cfb6382a
JM
75562013-03-04 Joseph Myers <joseph@codesourcery.com>
7557
7558 [BZ #13550]
7559 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
7560 comment about bounded pointers.
7561 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
7562 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
7563
539d8e01
AJ
75642013-03-04 Andreas Jaeger <aj@suse.de>
7565
7566 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
7567 common definitions.
7568
7569 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
7570 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
7571 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
7572 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7573 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
7574 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7575
2e167a70 75762013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
7577
7578 [BZ #15055]
7579 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7580 __ieee754_sqrl instead of __sqrl.
7581
68508633
JM
75822013-03-01 Joseph Myers <joseph@codesourcery.com>
7583
7584 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
7585 * sysdeps/powerpc/fpu_control.h: ... here.
7586 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
7587 * sysdeps/powerpc/bits/fenvinline.h: ... here.
7588 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
7589 * sysdeps/powerpc/bits/mathinline.h: ... here.
7590
7775448e
RM
75912013-03-01 Roland McGrath <roland@hack.frob.com>
7592
7593 * elf/dl-hwcaps.c (_dl_important_hwcaps):
7594 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
7595 to just [NEED_DL_SYSINFO_DSO].
7596 * elf/dl-support.c: Likewise.
7597 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7598 * elf/rtld.c (dl_main): Likewise.
7599 * elf/setup-vdso.h (setup_vdso): Likewise.
7600 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
7601 * sysdeps/unix/sysv/linux/dl-sysdep.c
7602 (_dl_discover_osversion): Likewise.
7603
4e9b5995
CD
76042013-03-01 Carlos O'Donell <carlos@redhat.com>
7605
7606 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
7607 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7608
e23872c8
SP
76092013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7610
e5c74c63
SP
7611 * NEWS: Mention libm performance improvements and non-x86 PI
7612 futex support.
7613
e23872c8
SP
7614 * csu/libc-start.c (__pthread_initialize_minimal): Change
7615 function arguments.
7616 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7617
b5510883
JM
76182013-02-28 Joseph Myers <joseph@codesourcery.com>
7619
7620 [BZ #13550]
7621 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
7622 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
7623 <bp-sym.h> and <bp-asm.h>.
7624 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7625 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
7626 and <bp-asm.h>.
7627 (memcpy): Don't use BP_SYM.
7628 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
7629 <bp-asm.h>.
7630 (__mpn_add_n): Don't use BP_SYM.
7631 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
7632 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
7633 and <bp-asm.h>.
7634 (__mpn_addmul_1): Don't use BP_SYM.
7635 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7636 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
7637 <bp-sym.h>.
7638 (_setjmp): Don't use BP_SYM.
7639 (__novmx_setjmp): Likewise.
7640 (__GI__setjmp): Likewise.
7641 (__vmx_setjmp): Likewise.
7642 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
7643 <bp-sym.h>.
7644 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
7645 (__bzero): Don't use BP_SYM.
7646 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7647 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7648 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
7649 <bp-sym.h> and <bp-asm.h>.
7650 (memcpy): Don't use BP_SYM.
7651 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
7652 <bp-sym.h> and <bp-asm.h>.
7653 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7654 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
7655 <bp-sym.h> and <bp-asm.h>.
7656 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7657 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
7658 <bp-asm.h>.
7659 (__mpn_lshift): Don't use BP_SYM.
7660 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7661 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
7662 <bp-asm.h>.
7663 (memset): Don't use BP_SYM.
7664 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7665 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7666 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
7667 <bp-asm.h>.
7668 (__mpn_mul_1): Don't use BP_SYM.
7669 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7670 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
7671 <bp-sym.h> and <bp-asm.h>.
7672 (memcmp): Don't use BP_SYM.
7673 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
7674 <bp-sym.h> and <bp-asm.h>.
7675 (memcpy): Don't use BP_SYM.
7676 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
7677 <bp-sym.h> and <bp-asm.h>.
7678 (memset): Don't use BP_SYM.
7679 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
7680 <bp-sym.h> and <bp-asm.h>.
7681 (strncmp): Don't use BP_SYM.
7682 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
7683 <bp-sym.h> and <bp-asm.h>.
7684 (memcpy): Don't use BP_SYM.
7685 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
7686 <bp-sym.h> and <bp-asm.h>.
7687 (memset): Don't use BP_SYM.
7688 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
7689 <bp-sym.h> and <bp-asm.h>.
7690 (__memchr): Don't use BP_SYM.
7691 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
7692 <bp-sym.h> and <bp-asm.h>.
7693 (memcmp): Don't use BP_SYM.
7694 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
7695 <bp-sym.h> and <bp-asm.h>.
7696 (memcpy): Don't use BP_SYM.
7697 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
7698 <bp-sym.h> and <bp-asm.h>.
7699 (__mempcpy): Don't use BP_SYM.
7700 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
7701 <bp-sym.h> and <bp-asm.h>.
7702 (__memrchr): Don't use BP_SYM.
7703 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
7704 <bp-sym.h> and <bp-asm.h>.
7705 (memset): Don't use BP_SYM.
7706 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
7707 <bp-sym.h> and <bp-asm.h>.
7708 (__rawmemchr): Don't use BP_SYM.
7709 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
7710 <bp-sym.h> and <bp-asm.h>.
7711 (__STRCMP): Don't use BP_SYM.
7712 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
7713 <bp-sym.h> and <bp-asm.h>.
7714 (strchr): Don't use BP_SYM.
7715 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
7716 <bp-sym.h> and <bp-asm.h>.
7717 (__strchrnul): Don't use BP_SYM.
7718 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
7719 <bp-sym.h> and <bp-asm.h>.
7720 (strlen): Don't use BP_SYM.
7721 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
7722 <bp-sym.h> and <bp-asm.h>.
7723 (strncmp): Don't use BP_SYM.
7724 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
7725 <bp-sym.h> and <bp-asm.h>.
7726 (__strnlen): Don't use BP_SYM.
7727 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
7728 <bp-asm.h>.
7729 (__mpn_rshift): Don't use BP_SYM.
7730 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7731 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
7732 <bp-sym.h> and <bp-asm.h>.
7733 (__sigsetjmp): Don't use BP_SYM.
7734 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
7735 (L(start_addresses)): Don't use BP_SYM.
7736 (_start): Likewise.
7737 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
7738 <bp-asm.h>.
7739 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
7740 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7741 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7742 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
7743 <bp-asm.h>.
7744 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
7745 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7746 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7747 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
7748 <bp-asm.h>.
7749 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7750 comments.
7751 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7752 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
7753 <bp-asm.h>.
7754 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
7755 FIXME comments.
7756 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7757 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7758 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
7759 <bp-asm.h>.
7760 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7761 comment.
7762 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
7763 and <bp-asm.h>.
7764 (strncmp): Don't use BP_SYM,
7765 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
7766 <bp-asm.h>.
7767 (__mpn_sub_n): Don't use BP_SYM.
7768 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7769 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
7770 and <bp-asm.h>.
7771 (__mpn_submul_1): Don't use BP_SYM.
7772 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
7774 <bp-sym.h> and <bp-asm.h>.
7775 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
7777 <bp-sym.h> and <bp-asm.h>.
7778 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7779 comment.
7780
8d19fe64
SP
77812013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7782
7783 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
7784 Use ZK to minimize writes to Z.
7785 (sub_magnitudes): Simplify code a bit.
7786 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7787 Use ZK to minimize writes to Z.
7788 (sub_magnitudes): Simplify code a bit.
7789
85bd816a
RM
77902013-02-27 Roland McGrath <roland@hack.frob.com>
7791
7792 * csu/gmon-start.c: Add special exception to license text.
7793
b5977bf2
RH
77942013-02-27 Richard Henderson <rth@redhat.com>
7795
7796 * scripts/config.guess: Update from config.git.
7797 * scripts/config.sub: Likewise.
7798
11d6e2f2
SP
77992013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7800
09c14ed2
SP
7801 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
7802
a688864e
SP
7803 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
7804
6295157a
SP
7805 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
7806
b8de2202
SP
7807 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
7808
11d6e2f2
SP
7809 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
7810
7e80ddb8
RM
78112013-02-26 Roland McGrath <roland@hack.frob.com>
7812
7813 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
7814 [$(build-shared = yes].
7e80ddb8 7815
7da6d9ed
SP
78162013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7817
45f05884
SP
7818 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
7819 (__mul): Reduce iterations for calculating mantissa.
7820
2236d359
SP
7821 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
7822 MPTWO.
7823 (__mpranred): Likewise.
7824
7da6d9ed
SP
7825 [BZ #15160]
7826 * malloc/memusagestat.c (main): Draw graphs for heap and stack
7827 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
7828
b7688c42
PE
78292013-02-26 Paul Eggert <eggert@cs.ucla.edu>
7830
7831 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
7832 Define __attribute__.
7833
53a5c423
SP
78342013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7835
7836 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
7837 unused.
7838 * posix/regex_internal.h (__attribute): Remove.
7839 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
7840 (re_string_context_at): Likewise.
7841 (bitset_not): Use __attribute__ and mark function as possibly
7842 unused.
7843 (bitset_merge): Likewise.
7844 (bitset_mask): Likewise.
7845 (re_string_char_size_at): Likewise.
7846 (re_string_wchar_at): Likewise.
7847 (re_string_elem_size_at): Likewise.
7848
60f5a8b5
SP
78492013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7850
2a983a2e
SP
7851 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
7852 code.
7853 (cc32): Likewise.
7854
e69804d1
SP
7855 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
7856 (__acr): Likewise.
7857 (__cpy): Likewise.
7858 (norm): Likewise.
7859 (denorm): Likewise.
7860 (__dbl_mp): Likewise.
7861 (add_magnitudes): Likewise.
7862 (sub_magnitudes): Likewise.
7863 (__mul): Likewise.
7864 (__inv): Likewise.
7865
2f22a1e8
SP
7866 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
7867 style.
7868
8930ddc7
SP
7869 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
7870 style.
7871
dc60cb11
SP
7872 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
7873 code.
7874
60f5a8b5
SP
7875 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
7876 up changes with default code.
7877 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
7878 Likewise.
7879
b4d1fd33
AM
78802013-02-24 Allan McRae <allan@archlinux.org>
7881
faf6f8bc
AM
7882 * manual/socket.texi (The Internet Namespace): Order menu items
7883 to match that in the file.
7884
b4d1fd33
AM
7885 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
7886 node listing of the info page menu.
7887
2366713d
JM
78882013-02-21 Joseph Myers <joseph@codesourcery.com>
7889
7890 [BZ #13550]
7891 * sysdeps/i386/bp-asm.h: Remove file.
7892 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7893 (PARMS): Do not use macros from bp-asm.h.
7894 (S1): Likewise.
7895 (S2): Likewise.
7896 (SIZE): Likewise.
7897 (__mpn_add_n): Do not use BP_SYM
7898 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
7899 "bp-asm.h".
7900 (PARMS): Do not use macros from bp-asm.h.
7901 (S1): Likewise.
7902 (SIZE): Likewise.
7903 (__mpn_addmul_1): Do not use BP_SYM
7904 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
7905 "bp-asm.h".
7906 (PARMS): Do not use macros from bp-asm.h.
7907 (SIGMSK): Likewise.
7908 (_setjmp): Likewise. Do not use BP_SYM.
7909 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
7910 "bp-asm.h".
7911 (PARMS): Do not use macros from bp-asm.h.
7912 (SIGMSK): Likewise.
7913 (setjmp): Likewise. Do not use BP_SYM.
7914 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
7915 "bp-asm.h".
7916 (PARMS): Do not use macros from bp-asm.h.
7917 (__frexp): Do not use BP_SYM.
7918 (frexp): Likewise.
7919 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
7920 "bp-asm.h".
7921 (PARMS): Do not use macros from bp-asm.h.
7922 (__frexpf): Do not use BP_SYM.
7923 (frexpf): Likewise.
7924 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
7925 "bp-asm.h".
7926 (PARMS): Do not use macros from bp-asm.h.
7927 (__frexpl): Do not use BP_SYM.
7928 (frexpl): Likewise.
7929 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
7930 "bp-asm.h".
7931 (PARMS): Do not use macros from bp-asm.h.
7932 (__remquo): Do not use BP_SYM.
7933 (remquo): Likewise.
7934 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
7935 "bp-asm.h".
7936 (PARMS): Do not use macros from bp-asm.h.
7937 (__remquof): Do not use BP_SYM.
7938 (remquof): Likewise.
7939 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
7940 "bp-asm.h".
7941 (PARMS): Do not use macros from bp-asm.h.
7942 (__remquol): Do not use BP_SYM.
7943 (remquol): Likewise.
7944 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
7945 "bp-asm.h".
7946 (PARMS): Do not use macros from bp-asm.h.
7947 (DEST): Likewise.
7948 (SRC): Likewise.
7949 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
7950 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
7951 "bp-asm.h".
7952 (PARMS): Do not use macros from bp-asm.h.
7953 (strlen): Do not use BP_SYM.
7954 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
7955 "bp-asm.h".
7956 (PARMS): Do not use macros from bp-asm.h.
7957 (S1): Likewise.
7958 (S2): Likewise.
7959 (SIZE): Likewise.
7960 (__mpn_add_n): Do not use BP_SYM.
7961 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
7962 "bp-asm.h".
7963 (PARMS): Do not use macros from bp-asm.h.
7964 (S1): Likewise.
7965 (SIZE): Likewise.
7966 (__mpn_addmul_1): Do not use BP_SYM.
7967 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
7968 weak_alias.
7969 (bzero): Likewise.
7970 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
7971 "bp-asm.h".
7972 (PARMS): Do not use macros from bp-asm.h.
7973 (S): Likewise.
7974 (SIZE): Likewise.
7975 (__mpn_lshift): Do not use BP_SYM.
7976 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
7977 "bp-asm.h".
7978 (PARMS): Do not use macros from bp-asm.h.
7979 (DEST): Likewise.
7980 (SRC): Likewise.
7981 (LEN): Likewise.
7982 (memcpy): Likewise. Do not use BP_SYM.
7983 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
7984 libc_hidden_def and weak_alias.
7985 (mempcpy): Do not use BP_SYM in weak_alias.
7986 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
7987 "bp-asm.h".
7988 (PARMS): Do not use macros from bp-asm.h.
7989 (DEST): Likewise.
7990 (LEN): Likewise.
7991 [!BZERO_P] (CHR): Likewise.
7992 (memset): Likewise. Do not use BP_SYM.
7993 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
7994 "bp-asm.h".
7995 (PARMS): Do not use macros from bp-asm.h.
7996 (S1): Likewise.
7997 (SIZE): Likewise.
7998 (__mpn_mul_1): Do not use BP_SYM.
7999 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
8000 "bp-asm.h".
8001 (PARMS): Do not use macros from bp-asm.h.
8002 (S): Likewise.
8003 (SIZE): Likewise.
8004 (__mpn_rshift): Do not use BP_SYM.
8005 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
8006 "bp-asm.h".
8007 (PARMS): Do not use macros from bp-asm.h.
8008 (STR): Likewise.
8009 (CHR): Likewise.
8010 (strchr): Likewise. Do not use BP_SYM.
8011 (index): Do not use BP_SYM in weak_alias.
8012 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
8013 "bp-asm.h".
8014 (PARMS): Do not use macros from bp-asm.h.
8015 (DEST): Likewise.
8016 (SRC): Likewise.
8017 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
8018 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
8019 "bp-asm.h".
8020 (PARMS): Do not use macros from bp-asm.h.
8021 (strlen): Do not use BP_SYM.
8022 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
8023 "bp-asm.h".
8024 (PARMS): Do not use macros from bp-asm.h.
8025 (S1): Likewise.
8026 (S2): Likewise.
8027 (SIZE): Likewise.
8028 (__mpn_sub_n): Do not use BP_SYM.
8029 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
8030 "bp-asm.h".
8031 (PARMS): Do not use macros from bp-asm.h.
8032 (S1): Likewise.
8033 (SIZE): Likewise.
8034 (__mpn_submul_1): Do not use BP_SYM.
8035 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
8036 "bp-asm.h".
8037 (PARMS): Do not use macros from bp-asm.h.
8038 (S1): Likewise.
8039 (S2): Likewise.
8040 (SIZE): Likewise.
8041 (__mpn_add_n): Do not use BP_SYM.
8042 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
8043 weak_alias.
8044 (bzero): Likewise.
8045 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
8046 "bp-asm.h".
8047 (PARMS): Do not use macros from bp-asm.h.
8048 (BLK2): Likewise.
8049 (LEN): Likewise.
8050 (memcmp): Do not use BP_SYM.
8051 (bcmp): Do not use BP_SYM in weak_alias.
8052 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
8053 "bp-asm.h".
8054 (PARMS): Do not use macros from bp-asm.h.
8055 (DEST): Likewise.
8056 (SRC): Likewise.
8057 (LEN): Likewise.
8058 (memcpy): Likewise. Do not use BP_SYM.
8059 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
8060 "bp-asm.h".
8061 (PARMS): Do not use macros from bp-asm.h.
8062 (DEST): Likewise.
8063 (SRC): Likewise.
8064 (LEN): Likewise.
8065 (memmove): Likewise. Do not use BP_SYM.
8066 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
8067 "bp-asm.h".
8068 (PARMS): Do not use macros from bp-asm.h.
8069 (DEST): Likewise.
8070 (SRC): Likewise.
8071 (LEN): Likewise.
8072 (__mempcpy): Likewise. Do not use BP_SYM.
8073 (mempcpy): Do not use BP_SYM in weak_alias.
8074 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
8075 "bp-asm.h".
8076 (PARMS): Do not use macros from bp-asm.h.
8077 (DEST): Likewise.
8078 (LEN): Likewise.
8079 [!BZERO_P] (CHR): Likewise.
8080 (memset): Likewise. Do not use BP_SYM.
8081 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
8082 "bp-asm.h".
8083 (PARMS): Do not use macros from bp-asm.h.
8084 (STR2): Likewise.
8085 (strcmp): Do not use BP_SYM.
8086 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
8087 "bp-asm.h".
8088 (PARMS): Do not use macros from bp-asm.h.
8089 (STR): Likewise.
8090 (DELIM): Likewise.
8091 [USE_AS_STRTOK_R] (SAVE): Likewise.
8092 (FUNCTION): Likewise. Do not use BP_SYM.
8093 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
8094 aliases.
8095 (strtok_r): Likewise.
8096 (__GI___strtok_r): Likewise.
8097 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8098 (PARMS): Do not use macros from bp-asm.h.
8099 (S): Likewise.
8100 (SIZE): Likewise.
8101 (__mpn_lshift): Do not use BP_SYM.
8102 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8103 (PARMS): Do not use macros from bp-asm.h.
8104 (STR): Likewise.
8105 (CHR): Likewise.
8106 (__memchr): Do not use BP_SYM.
8107 (memchr): Do not use BP_SYM in weak_alias.
8108 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8109 (PARMS): Do not use macros from bp-asm.h.
8110 (BLK2): Likewise.
8111 (LEN): Likewise.
8112 (memcmp): Do not use BP_SYM.
8113 (bcmp): Do not use BP_SYM in weak_alias.
8114 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
8115 (PARMS): Do not use macros from bp-asm.h.
8116 (S1): Likewise.
8117 (SIZE): Likewise.
8118 (__mpn_mul_1): Do not use BP_SYM.
8119 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
8120 "bp-asm.h".
8121 (PARMS): Do not use macros from bp-asm.h.
8122 (STR): Likewise.
8123 (CHR): Likewise.
8124 (__rawmemchr): Do not use BP_SYM.
8125 (rawmemchr): Do not use BP_SYM in weak_alias.
8126 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8127 (PARMS): Do not use macros from bp-asm.h.
8128 (S): Likewise.
8129 (SIZE): Likewise.
8130 (__mpn_rshift): Do not use BP_SYM.
8131 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8132 (PARMS): Do not use macros from bp-asm.h.
8133 (SIGMSK): Likewise.
8134 (__sigsetjmp): Likewise. Do not use BP_SYM.
8135 * sysdeps/i386/start.S: Do not include "bp-sym.h".
8136 (_start): Do not use BP_SYM.
8137 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
8138 (PARMS): Do not use macros from bp-asm.h.
8139 (DEST): Likewise.
8140 (SRC): Likewise.
8141 (__stpcpy): Likewise. Do not use BP_SYM.
8142 (stpcpy): Do not use BP_SYM in weak_alias.
8143 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
8144 "bp-asm.h".
8145 (PARMS): Do not use macros from bp-asm.h.
8146 (DEST): Likewise.
8147 (SRC): Likewise.
8148 (LEN): Likewise.
8149 (__stpncpy): Likewise. Do not use BP_SYM.
8150 (stpncpy): Do not use BP_SYM in weak_alias.
8151 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8152 (PARMS): Do not use macros from bp-asm.h.
8153 (STR): Likewise.
8154 (CHR): Likewise.
8155 (strchr): Likewise. Do not use BP_SYM.
8156 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
8157 "bp-asm.h".
8158 (PARMS): Do not use macros from bp-asm.h.
8159 (STR): Likewise.
8160 (CHR): Likewise.
8161 (__strchrnul): Likewise. Do not use BP_SYM.
8162 (strchrnul): Do not use BP_SYM in weak_alias.
8163 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
8164 "bp-asm.h".
8165 (PARMS): Do not use macros from bp-asm.h.
8166 (STOP): Likewise.
8167 (strcspn): Do not use BP_SYM.
8168 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
8169 "bp-asm.h".
8170 (PARMS): Do not use macros from bp-asm.h.
8171 (STR): Likewise.
8172 (STOP): Likewise.
8173 (strpbrk): Likewise. Do not use BP_SYM.
8174 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
8175 "bp-asm.h".
8176 (PARMS): Do not use macros from bp-asm.h.
8177 (STR): Likewise.
8178 (CHR): Likewise.
8179 (strrchr): Likewise. Do not use BP_SYM.
8180 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
8181 (PARMS): Do not use macros from bp-asm.h.
8182 (SKIP): Likewise.
8183 (strspn): Do not use BP_SYM.
8184 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
8185 (PARMS): Do not use macros from bp-asm.h.
8186 (STR): Likewise.
8187 (DELIM): Likewise.
8188 (SAVE): Likewise.
8189 (FUNCTION): Likewise. Do not use BP_SYM.
8190 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
8191 aliases.
8192 (strtok_r): Likewise.
8193 (__GI___strtok_r): Likewise.
8194 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8195 (PARMS): Do not use macros from bp-asm.h.
8196 (S1): Likewise.
8197 (S2): Likewise.
8198 (SIZE): Likewise.
8199 (__mpn_sub_n): Do not use BP_SYM.
8200 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
8201 "bp-asm.h".
8202 (PARMS): Do not use macros from bp-asm.h.
8203 (S1): Likewise.
8204 (SIZE): Likewise.
8205 (__mpn_submul_1): Do not use BP_SYM.
8206 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
8207 <bp-sym.h>.
8208 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
8209 and <bp-asm.h>.
8210 (PARMS): Do not use macros from bp-asm.h.
8211 (FLAGS): Likewise.
8212 (PTID): Likewise.
8213 (TLS): Likewise.
8214 (CTID): Likewise.
8215 (__clone): Do not use BP_SYM.
8216 (clone): Do not use BP_SYM in weak_alias.
8217 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
8218 and <bp-asm.h>.
8219 (PARMS): Do not use macros from bp-asm.h.
8220 (LEN): Likewise.
8221 (__mmap64): Do not use BP_SYM.
8222 (mmap64): Do not use BP_SYM in weak_alias.
8223 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8224 <bp-sym.h> and <bp-asm.h>.
8225 (PARMS): Do not use macros from bp-asm.h.
8226 (__posix_fadvise64_l64): Do not use BP_SYM.
8227 * sysdeps/unix/sysv/linux/i386/semtimedop.S
8228 (PARMS): Do not use macros from bp-asm.h.
8229 (NSOPS): Likewise.
8230 (semtimedop): Do not use BP_SYM.
8231 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
8232 and <bp-asm.h>.
8233
582a3cff
AM
82342013-02-21 Allan McRae <allan@archlinux.org>
8235
8236 * manual/message.texi (Charset conversion in gettext):
8237 Move @end statement to beginning of line.
8238
bab8a695
SP
82392013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8240
80945231
SP
8241 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
8242 static.
8243 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8244 Likewise.
8245
bab8a695
SP
8246 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
8247 (denorm): Likewise.
8248 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
8249 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
8250
e21d7aa7
AK
82512013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8252
8253 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
8254 tail-call to the resolved function if pltexit isn't needed.
8255
4c7a4263
SP
82562013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8257
8258 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
8259 or Y being zero as being unlikely.
8260 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8261 Likewise.
8262
41f49342
CD
82632013-02-20 Carlos O'Donell <carlos@redhat.com>
8264
8265 * manual/nss.texi (System Databases and Name Service Switch):
8266 Remove frobnicate @pxref.
8267
50022a93
TS
82682013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8269
8270 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8271 __attribute__ ((unused)) to __attribute__ ((__unused__)).
8272
08cbd996
PM
82732013-02-20 Petr Machata <pmachata@redhat.com>
8274
8275 * elf/elf.h (R_ARM_TARGET1): New macro.
8276 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
8277 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
8278 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
8279 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
8280 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
8281 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
8282 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
8283 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
8284 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
8285 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
8286 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
8287 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
8288 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
8289 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
8290 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
8291 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
8292 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
8293 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
8294 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
8295 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
8296 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
8297 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
8298 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
8299 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
8300 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
8301 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
8302 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
8303 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
8304 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
8305 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
8306 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
8307 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
8308 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
8309 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
8310 (R_ARM_THM_GOT_BREL12): Likewise.
8311 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
8312 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
8313 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
8314 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
8315 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
8316 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
8317 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
8318 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
8319 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
8320
c7b275d6
TS
83212013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8322
8323 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8324 __attribute_used__ to __attribute__ ((unused)).
8325
20cd7fb3
SP
83262013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8327
8328 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
8329 powerpc mpa.c.
8330 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
8331 comment formatting.
8332 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
8333
92945b52
JM
83342013-02-19 Joseph Myers <joseph@codesourcery.com>
8335
8336 [BZ #13550]
8337 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
8338 Remove macro.
8339 (ENTER): Remove both macro definitions.
8340 (LEAVE): Likewise.
8341 (CHECK_BOUNDS_LOW): Likewise.
8342 (CHECK_BOUNDS_HIGH): Likewise.
8343 (CHECK_BOUNDS_BOTH): Likewise.
8344 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
8345 (RETURN_BOUNDED_POINTER): Likewise.
8346 (RETURN_NULL_BOUNDED_POINTER): Likewise.
8347 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
8348 (POP_ERRNO_LOCATION_RETURN): Likewise.
8349 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
8350 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8351 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
8352 macros.
8353 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8354 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
8355 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
8356 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
8357 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
8358 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
8359 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
8360 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
8361 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
8362 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
8363 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
8364 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
8365 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8366 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
8367 removed macros.
8368 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8369 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
8370 macros.
8371 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8372 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
8373 * sysdeps/i386/i586/memset.S (memset): Likewise.
8374 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
8375 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8376 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
8377 macros.
8378 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8379 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
8380 Change uses of L(2) to L(out).
8381 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
8382 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
8383 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
8384 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8385 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
8386 removed macros.
8387 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8388 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
8389 macros.
8390 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8391 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
8392 (RETURN): Do not use macro LEAVE.
8393 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
8394 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
8395 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
8396 * sysdeps/i386/i686/memset.S (memset): Likewise.
8397 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
8398 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
8399 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8400 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
8401 Likewise.
8402 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8403 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
8404 L(1_2) and L(1_3) into L(1).
8405 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8406 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
8407 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8408 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
8409 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8410 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
8411 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
8412 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8413 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
8414 macros.
8415 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
8416 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8417 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
8418 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
8419 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
8420 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8421 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
8422 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
8423 * sysdeps/i386/strcspn.S (strcspn): Likewise.
8424 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
8425 * sysdeps/i386/strrchr.S (strrchr): Likewise.
8426 * sysdeps/i386/strspn.S (strspn): Likewise.
8427 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
8428 conditional code.
8429 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8430 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
8431 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8432 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
8433 L(1_3) into L(1_1).
8434 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
8435 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8436 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
8437 macros.
8438 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8439
2389741a
JJ
84402013-02-19 Jakub Jelinek <jakub@redhat.com>
8441
8442 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
8443 macro.
8444
2016b3cd
SP
84452013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8446
e4f22324
SP
8447 * math/atest-exp.c (exp_mpn): Remove ROUND.
8448 * math/atest-exp2.c (exp_mpn): Likewise.
8449 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
8450
2016b3cd
SP
8451 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
8452 * stdlib/tst-tls-atexit-lib.c: Likewise.
8453 * stdlib/tst-tls-atexit.c: Likewise.
8454
4be9b544
MF
84552013-02-18 Mike Frysinger <vapier@gentoo.org>
8456
8457 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
8458 and __attribute_alloc_size__.
8459
2f62b9ee
MF
84602013-02-18 Mike Frysinger <vapier@gentoo.org>
8461
8462 * include/programs/xmalloc.h: Change __attribute_alloc_size to
8463 __attribute_alloc_size__.
8464 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
8465 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
8466
6ff444c4
MF
84672013-02-18 Mike Frysinger <vapier@gentoo.org>
8468
8469 * include/programs/xmalloc.h: New file.
8470 * catgets/gencat.c: Include it.
8471 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
8472 * elf/pldd.c: Likewise.
8473 * iconv/iconv_charmap.c: Likewise.
8474 * iconv/iconvconfig.c: Likewise.
8475 * iconv/strtab.c: Likewise.
8476 * locale/programs/locale.c: Likewise.
8477 * locale/programs/localedef.h: Likewise.
8478 * locale/programs/simple-hash.c: Likewise.
8479 * nscd/nscd.h: Likewise.
8480 * nss/makedb.c: Likewise.
8481 * sysdeps/generic/ldconfig.h: Likewise.
8482
be179c8a
SP
84832013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8484
ba384f6e
SP
8485 * Versions.def: Add GLIBC_2.18.
8486 * include/link.h (struct link_map): New member l_tls_dtor_count.
8487 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
8488 (__call_tls_dtors): Likewise.
8489 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
8490 __cxa_thread_atexit_impl.
8491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8492 Likewise.
8493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8494 Likewise.
8495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8496 Likewise.
8497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8498 Likewise.
8499 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8500 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
8501 Likewise.
8502 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
8503 Likewise.
8504 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8505 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8506 Likewise.
8507 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
8508 (tests): Add test case tst-tls-atexit.
8509 (modules-names): Add shared library for tst-tls-atexit.
85891aca 8510 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
8511 (GLIBC_PRIVATE): Add __call_tls_dtors.
8512 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
8513 for libstdc++.
8514 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
8515 * stdlib/tst-tls-atexit.c: New test case.
8516 * stdlib/tst-tls-atexit-lib.c: New test case.
8517
ffaa74cf 8518 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 8519
be179c8a
SP
8520 * elf/Versions (ld): Add _dl_find_dso_for_object.
8521 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
8522 * elf/dl-open.c (_dl_find_dso_for_object): New function.
8523 (dl_open_worker): Use _dl_find_dso_for_object.
8524 * elf/dl-sym.c (do_sym): Likewise.
8525 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
8526
f78b5caa
AK
85272013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8528
8529 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
8530 Syntactic changes only.
8531 (_dl_runtime_profile): Do a tail-call to the resolved function.
8532
29691210
JM
85332013-02-17 Joseph Myers <joseph@codesourcery.com>
8534
8535 [BZ #13550]
8536 * sysdeps/x86_64/bp-asm.h: Remove file.
8537 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
8538 <bp-sym.h> and <bp-asm.h>.
8539 (__clone): Do not use BP_SYM.
8540 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
8541 <bp-sym.h> and <bp-asm.h>.
8542 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8543 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
8544 "bp-asm.h".
8545 (_setjmp): Do not use BP_SYM.
8546 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
8547 "bp-asm.h".
8548 (setjmp): Do not use BP_SYM.
8549 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
8550 libc_hidden_def.
8551 (mempcpy): Do not use BP_SYM in weak_alias.
8552 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
8553 "bp-asm.h".
8554 (strchr): Do not use BP_SYM.
8555 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
8556 "bp-asm.h".
8557 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
8558 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
8559 (_start): Do not use BP_SYM.
8560 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
8561 "bp-asm.h".
8562 (strcat): Do not use BP_SYM.
8563 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
8564 "bp-asm.h".
8565 (STRCMP): Do not use BP_SYM.
8566 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
8567 "bp-asm.h".
8568 (STRCPY): Do not use BP_SYM.
8569 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
8570 "bp-asm.h".
8571 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
8572 "bp-asm.h".
8573 (FUNCTION): Do not use BP_SYM.
8574 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
8575 weak_alias.
8576 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
8577
f238fd19
AJ
85782013-02-17 Andreas Jaeger <aj@suse.de>
8579
8580 * time/Versions: Sort entries.
8581 * string/Versions: Likewise.
8582 * resolv/Versions: Likewise.
8583 * posix/Versions: Likewise.
8584 * iconv/Versions: Likewise.
8585 * elf/Versions: Likewise.
8586 * wcsmbs/Versions: Likewise.
8587
bd07f23c 85882013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 8589
22af19f9
SP
8590 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
8591 loop termination condition.
8592
4709fe76
SP
8593 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
8594 variable to calculate EZ.
8595 (__sqr): Likewise.
2d0e0f29
SP
8596
8597 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
8598 the lower precision input.
8599
daaa7713
JM
86002013-02-15 Joseph Myers <joseph@codesourcery.com>
8601
8602 [BZ #13550]
8603 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
8604 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
8605 (run-via-rtld-prefix): Do not handle %-bp tests.
8606 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
8607 (all-object-suffixes): Remove .ob.
8608 (bppfx): Remove variable.
8609 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
8610 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
8611 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
8612 [$(build-bounded) = yes] (libtype.ob): Likewise.
8613 * Makerules (elide-routines.ob): Remove variable.
8614 (do-tests-clean): Do not handle *-bp.out.
8615 (common-mostlyclean): Do not handle *-bp and *-bp.out.
8616 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
8617 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
8618 (tests): Do not include $(tests-bp.out).
8619 (xtests): Do not include $(xtests-bp.out).
8620 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
8621 [$(build-bounded) = yes] ($(addprefix
8622 $(objpfx),$(binaries-bounded))): Remove rule.
8623 ($(objpfx)%-bp.out): Remove rule.
8624 * config.make.in (build-bounded): Remove variable.
8625 * crypt/Makefile [$(build-bounded) = yes]
8626 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
8627 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
8628 append to variable.
8629 [$(build-bounded) = yes] (install-lib): Likewise.
8630 [$(build-bounded) = yes] (generated): Likewise.
8631 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
8632 Remove rule.
8633 * intl/Makefile [$(build-bounded) = yes]
8634 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
8635 * math/Makefile [$(build-bounded) = yes]
8636 ($(tests:%=$(objpfx)%-bp): Likewise.
8637 * misc/Makefile [$(build-bounded) = yes]
8638 ($(objpfx)tst-tsearch-bp): Likewise.
8639 * nptl/Makeconfig (bounded-thread-library): Remove variable.
8640 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
8641 Remove dependency.
8642 * string/Makefile (o-objects.ob): Remove variable.
8643 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
8644 (CFLAGS-.ob): Remove variable.
8645 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
8646 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
8647 both definitions of variable.
8648 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
8649 (ASFLAGS-.ob): Remove variable.
8650
e97ed6dd
JM
86512013-02-14 Joseph Myers <joseph@codesourcery.com>
8652
2bdd4ca6
JM
8653 [BZ #13550]
8654 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
8655 Remove __BOUNDED_POINTERS__ from condition.
8656 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
8657 * string/bits/string2.h [!__NO_STRING_INLINES &&
8658 !__BOUNDED_POINTERS__]: Likewise.
8659 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
8660 Likewise.
8661 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
8662 Remove conditional code.
8663 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
8664 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
8665 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
8666 condition.
8667
e97ed6dd
JM
8668 [BZ #13550]
8669 * csu/libc-start.c: Do not include <bp-sym.h>.
8670 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
8671 * elf/dl-open.c: Do not include <bp-sym.h>.
8672 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
8673 * math/fegetenv.c: Do not include <bp-sym.h>.
8674 (fegetenv): Do not use BP_SYM in versioned symbols.
8675 * nptl/sysdeps/pthread/bits/libc-lockP.h
8676 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
8677 <bp-sym.h>.
8678 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8679 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
8680 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8681 (__pthread_mutex_destroy): Likewise.
8682 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8683 (__pthread_mutex_lock): Likewise.
8684 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8685 (__pthread_mutex_trylock): Likewise.
8686 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8687 (__pthread_mutex_unlock): Likewise.
8688 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8689 (__pthread_mutexattr_init): Likewise.
8690 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8691 (__pthread_mutexattr_destroy): Likewise.
8692 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8693 (__pthread_mutexattr_settype): Likewise.
8694 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8695 (__pthread_rwlock_init): Likewise.
8696 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8697 (__pthread_rwlock_destroy): Likewise.
8698 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8699 (__pthread_rwlock_rdlock): Likewise.
8700 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8701 (__pthread_rwlock_tryrdlock): Likewise.
8702 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8703 (__pthread_rwlock_wrlock): Likewise.
8704 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8705 (__pthread_rwlock_trywrlock): Likewise.
8706 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8707 (__pthread_rwlock_unlock): Likewise.
8708 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8709 (__pthread_key_create): Likewise.
8710 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8711 (__pthread_setspecific): Likewise.
8712 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8713 (__pthread_getspecific): Likewise.
8714 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
8715 Likewise.
8716 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8717 (_pthread_cleanup_push_defer): Likewise.
8718 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8719 (_pthread_cleanup_pop_restore): Likewise.
8720 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8721 (pthread_setcancelstate): Likewise.
8722 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
8723 <bp-sym.h>.
8724 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
8725 (memchr): Do not use BP_SYM in weak_alias.
8726 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
8727 (fegetenv): Do not use BP_SYM in versioned symbols.
8728 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
8729 (fesetenv): Do not use BP_SYM in versioned symbols.
8730 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8731 (feupdateenv): Do not use BP_SYM in versioned symbols.
8732 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8733 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8734 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
8735 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
8736 (open64): Do not use BP_SYM in weak_alias.
8737 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
8738 (fegetenv): Do not use BP_SYM in versioned symbols.
8739 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
8740 (fesetenv): Do not use BP_SYM in versioned symbols.
8741 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8742 (feupdateenv): Do not use BP_SYM in versioned symbols.
8743 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
8744 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
8745 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
8746 (feraiseexcept): Do not use BP_SYM in versioned symbols.
8747 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8748 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8749 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
8750 <bp-sym.h>.
8751 (__libc_start_main): Do not use BP_SYM.
8752
d6752ccd
SP
87532013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8754
cb57ce60
SP
8755 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
8756 redundant return line.
8757 (norm): Likewise.
8758 (denorm): Likewise.
8759 (dbl_mp): Likewise.
8760 (sub_magnitudes): Likewise.
8761 (__add): Likewise.
8762 (__sub): Likewise.
8763 (__mul): Likewise.
8764 (__inv): Likewise.
8765 (__dvd): Likewise.
8766 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
8767 (norm): Likewise.
8768 (denorm): Likewise.
8769 (dbl_mp): Likewise.
8770 (sub_magnitudes): Likewise.
8771 (__add): Likewise.
8772 (__sub): Likewise.
8773 (__mul): Likewise.
8774 (__inv): Likewise.
8775 (__dvd): Likewise.
8776
f414520d
SP
8777 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
8778 instead of __mul.
8779 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8780 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
8781 (cc32): Likewise.
8782
d6752ccd
SP
8783 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
8784 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
8785 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
8786 of __mul for squares.
8787 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
8788 function
8789 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
8790 Likewise.
8791 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
8792 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8793
70d9946a
JM
87942013-02-13 Joseph Myers <joseph@codesourcery.com>
8795
8796 [BZ #13550]
8797 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
8798 code.
8799 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
8800 prototype or function definition. Rename ubp_* variables and
8801 parameters. Remove argv definitions conditional on
8802 [__BOUNDED_POINTERS__].
8803 * debug/backtrace.c (__backtrace): Do not use __unbounded.
8804 * elf/dl-runtime.c (_dl_fixup): Likewise.
8805 * include/set-hooks.h (RUN_HOOK): Likewise.
8806 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
8807 definition.
8808 * string/strcpy.c (strcpy): Do not use __unbounded.
8809 * sysdeps/generic/frame.h (struct layout): Likewise.
8810 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
8811 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
8812 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
8813 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
8814 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
8815 (__backtrace): Likewise.
8816 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
8817 use __ptrvalue.
8818 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8819 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8820 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8821 Likewise.
8822 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
8823 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
8824 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8825 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8826 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
8827 Do not use __unbounded.
8828 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
8829 Rename __unboundedrlimits parameter to rlimits in prototype.
8830 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
8831 Do not use __unbounded.
8832 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
8833 not use __ptrvalue.
8834 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8835 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
8836 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8837 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
8838 __ptrvalue or __unbounded.
8839 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
8840 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
8841 use __unbounded.
8842 (__new_msgctl): Do not use __ptrvalue.
8843 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
8844 __unbounded.
8845 (__libc_msgrcv): Do not use __ptrvalue.
8846 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
8847 startup_info): Do not use __unbounded.
8848 (__libc_start_main): Likewise. Rename ubp_* variables and
8849 parameters. Remove argv definitions conditional on
8850 [__BOUNDED_POINTERS__].
8851 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
8852 __ptrvalue.
8853 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
8854 use __unbounded.
8855 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
8856 or __ptrvalue.
8857 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
8858 use __unbounded.
8859 (__new_shmctl): Do not use __ptrvalue.
8860 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8861 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8862 Likewise.
8863 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8864 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
8865 (__libc_sigaction): Likewise.
8866 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
8867 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
8868 Likewise.
8869 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8870
cc7834d6
OB
88712013-02-13 Ondřej Bílka <neleai@seznam.cz>
8872
ffb1ec7b 8873 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
8874
8875 * string/mempcpy.c: Implement by calling memcpy.
8876
bdf02814
SP
88772013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8878
c2af38aa
SP
8879 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
8880
4e92d59e
SP
8881 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
8882 evaluation.
8883
909279a5
SP
8884 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
8885 values in the mantissa.
8886
bdf02814
SP
8887 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
8888 minimize writes to Z.
8889 (sub_magnitudes): Simplify code a bit.
8890
cd525923
RM
88912013-02-12 Roland McGrath <roland@hack.frob.com>
8892
8893 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
8894 from the message. The linker prefixes all warnings with that already.
8895
7e2f0d2d
AS
88962013-02-12 Andreas Schwab <schwab@suse.de>
8897
a445af0b
AS
8898 [BZ #15078]
8899 * posix/regexec.c (extend_buffers): Add parameter min_len.
8900 (check_matching): Pass minimum needed length.
8901 (clean_state_log_if_needed): Likewise.
8902 (get_subexp): Likewise.
8903 * posix/Makefile (tests): Add bug-regex34.
8904 (bug-regex34-ENV): Define.
8905 * posix/bug-regex34.c: New file.
8906
7e2f0d2d
AS
8907 [BZ #11561]
8908 * posix/regcomp.c (parse_bracket_exp): When looking up collating
8909 elements compare against the byte sequence of it, not its name.
8910 * posix/Makefile (tests): Add bug-regex35.
8911 (bug-regex35-ENV): Define.
8912 * posix/bug-regex35.c: New file.
8913
a175b684
TV
89142013-02-11 Tom de Vries <tom@codesourcery.com>
8915
8916 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
8917 comment.
8918 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
8919 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
8920 (CHECK_EOL): Add undef.
8921
310998fe 89222013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
8923
8924 * bits/stdlib-bsearch.h: New file.
8925 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 8926 * stdlib/stdlib.h: Likewise.
41eda41d 8927
8ded91fb
RM
89282013-02-11 Roland McGrath <roland@hack.frob.com>
8929
8930 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
8931 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
8932 declaration.
8933 * manual/search.texi (Array Search Function): Add missing const in
8934 lfind prototype.
8935 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
8936 declaration to use rlim_t.
8937 (Basic Scheduling Functions): Remove erroneous const from
8938 sched_getparam prototype. Remove erroneous * from
8939 sched_get_priority_max and sched_get_priority_min prototypes.
8940 (Resource Usage): Fix summary @comment on vtimes to refer to
8941 sys/vtimes.h rather than vtimes.h.
8942 Add missing *s in vtimes prototype.
8943 (Limits on Resources): Fix ulimit prototype to return long int.
8944 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
8945 prototypes to use long int rather than double.
8946 (BSD Random): Fix initstate and setstate to use char *, not void *.
8947 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
8948 prototype to make second argument 'struct aiocb64 *const[]'.
8949 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
8950 (Status of AIO Operations): Remove erroneous const in aio_return and
8951 aio_return64 prototypes.
8952 (Synchronizing I/O): Fix sync prototype to return void.
8953 * manual/startup.texi (Suboptions): Remove an erroneous const in
8954 getsubopt prototype.
8955 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
8956 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
8957 use size_t rather than int.
8958 (Scanning All Users): Likewise for getpwent_r.
8959 (Setting Groups): Add missing const to setgroups prototype.
8960 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
8961 * manual/socket.texi (Host Names): Fix gethostbyaddr and
8962 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
8963 'const void *' rather than 'const char *'.
8964 (Host Address Functions): Likewise for inet_ntop.
8965 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
8966 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
8967 ssize_t for return value.
8968 (Sending Data): Likewise for send, sendto, sendmsg.
8969 (Socket Option Functions): Add a missing const in setsockopt prototype.
8970 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
8971 use wchar_t for the argument.
8972 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
8973 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
8974 take no arguments.
8975 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
8976 double/float/long double for second argument.
8977 Fix return types of significand, significandf, significandl.
8978 * manual/filesys.texi (Setting Permissions): Use mode_t for second
8979 argument in fchmod prototype.
8980 (File Owner): Use uid_t and gid_t in fchown prototype.
8981 (File Times): Add const to utimes, futimes, and lutimes prototypes.
8982 (Making Special Files): Use mode_t and dev_t in mknod prototype.
8983 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
8984 use 'const struct dirent **' as argument types to CMP function pointer
8985 argument.
8986 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
8987 (File Times): Fix summary magic @comment for struct utimbuf and utime
8988 to refer to utime.h, not time.h.
8989 * manual/string.texi (Argz Functions): Add missing const in
8990 argz_extract and argz_next prototypes.
8991 (Finding Tokens in a String): Likewise for basename.
8992 (String/Array Comparison): Fix typo in wcscasecmp prototype.
8993 (Copying and Concatenation): Fix typo in wmemmove prototype.
8994 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
8995 (Signal Stack): Remove erroneous const in sigstack prototype.
8996 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
8997 prototype.
8998 (Simple Calendar Time): Likewise for stime.
8999 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
9000 prototype.
9001 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
9002 say sys/sysctl.h instead.
9003 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
9004 and vsyslog prototypes.
9005
fe77fe6d
TV
90062013-02-11 Tom de Vries <tom@codesourcery.com>
9007
9008 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
9009 Remove.
9010
3a09b620
RM
90112013-02-11 Roland McGrath <roland@hack.frob.com>
9012
9013 * misc/sys/mman.h: Fix typo in mremap comment.
9014
550a0b89
RM
90152013-02-08 Roland McGrath <roland@hack.frob.com>
9016
9017 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
9018 the '\0' terminator.
9019
a2da1673
JM
90202013-02-08 Joseph Myers <joseph@codesourcery.com>
9021
9022 [BZ #13550]
9023 * debug/segfault.c: Don't include <bp-checks.h>.
9024 * sysdeps/generic/bp-checks.h: Remove file.
9025 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
9026 (__GETDENTS): Don't use CHECK_N.
9027 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
9028 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9029 (__getgroups): Don't use CHECK_N.
9030 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
9031 (setgroups): Don't use CHECK_N.
9032 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
9033 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
9034 (__libc_msgrcv): Don't use CHECK_N.
9035 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
9036 (__libc_msgsnd): Don't use CHECK_N.
9037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
9038 <bp-checks.h>.
9039 (__libc_pread): Don't use CHECK_N.
9040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
9041 include <bp-checks.h>.
9042 (__libc_pread64): Don't use CHECK_N.
9043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
9044 include <bp-checks.h>.
9045 (__libc_pwrite): Don't use CHECK_N.
9046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
9047 include <bp-checks.h>.
9048 (__libc_pwrite64): Don't use CHECK_N.
9049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
9050 <bp-checks.h>.
9051 (__libc_pread): Don't use CHECK_N.
9052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
9053 include <bp-checks.h>.
9054 (__libc_pread64): Don't use CHECK_N.
9055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
9056 include <bp-checks.h>.
9057 (__libc_pwrite): Don't use CHECK_N.
9058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
9059 include <bp-checks.h>.
9060 (__libc_pwrite64): Don't use CHECK_N.
9061 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
9062 (do_pread): Don't use CHECK_N.
9063 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
9064 (do_pread64): Don't use CHECK_N.
9065 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
9066 (do_pwrite): Don't use CHECK_N.
9067 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
9068 (do_pwrite64): Don't use CHECK_N.
9069 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
9070 (__libc_readv): Don't use CHECK_N.
9071 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
9072 (semop): Don't use CHECK_N.
9073 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
9074 <bp-checks.h>.
9075 (semtimedop): Don't use CHECK_N.
9076 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
9077 (__libc_pread): Don't use CHECK_N.
9078 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
9079 <bp-checks.h>.
9080 (__libc_pread64): Don't use CHECK_N.
9081 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
9082 <bp-checks.h>.
9083 (__libc_pwrite): Don't use CHECK_N.
9084 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
9085 <bp-checks.h>.
9086 (__libc_pwrite64): Don't use CHECK_N.
9087 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
9088 <bp-checks.h>.
9089 (__libc_msgrcv): Don't use CHECK_N.
9090 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
9091 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
9092 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
9093 (__libc_writev): Don't use CHECK_N.
9094
b84660a8
RM
90952013-02-08 Roland McGrath <roland@hack.frob.com>
9096
7f3e75f8
RM
9097 * string/strcpy.c: Removed unused variable.
9098
b84660a8
RM
9099 * Makeconfig (+sysdep-includes): Define with := rather than =.
9100 Use an existing include/ subdir of each sysdeps dir before it.
9101
471514d3
CD
91022013-02-08 Carlos O'Donell <carlos@redhat.com>
9103
9104 * nscd/connection.c (register_traced_file): Comment function.
9105 [HAVE_INOTIFY] (union __inev): Define.
9106 [HAVE_INOTIFY] (inotify_check_files): New function.
9107 [HAVE_INOTIFY] (clear_db_cache): Likewise.
9108 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
9109 clear_db_cache.
9110 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
9111
b2d3c3be
CD
91122013-02-08 Carlos O'Donell <carlos@redhat.com>
9113
9114 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
9115 loaded if not already and that a failure is permanent.
9116
b39949d2
CD
91172013-02-08 Carlos O'Donell <carlos@redhat.com>
9118
ddacd1db 9119 [BZ #15006]
b39949d2
CD
9120 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
9121 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
9122
b2c9eff4
JM
91232013-02-08 Joseph Myers <joseph@codesourcery.com>
9124
f3aae3f3
JM
9125 [BZ #13550]
9126 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
9127 (CHECK_1_NULL_OK): Likewise.
9128 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
9129 (__fxstat): Do not use CHECK_1.
9130 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
9131 <bp-checks.h>.
9132 (___fxstat64): Do not use CHECK_1.
9133 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9134 <bp-checks.h>.
9135 (__fxstatat): Do not use CHECK_1.
9136 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9137 <bp-checks.h>.
9138 (__fxstatat64): Do not use CHECK_1.
9139 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
9140 <bp-checks.h>.
9141 (__fxstat): Do not use CHECK_1.
9142 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9143 <bp-checks.h>.
9144 (__fxstatat): Do not use CHECK_1.
9145 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9146 <bp-checks.h>.
9147 (__getresgid): Do not use CHECK_1.
9148 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9149 <bp-checks.h>.
9150 (__getresuid): Do not use CHECK_1.
9151 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
9152 <bp-checks.h>.
9153 (__lxstat): Do not use CHECK_1.
9154 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9155 <bp-checks.h>.
9156 (__old_msgctl): Do not use CHECK_1.
9157 (__new_msgctl): Likewise.
9158 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
9159 <bp-checks.h>.
9160 (__new_setrlimit): Do not use CHECK_1.
9161 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9162 <bp-checks.h>.
9163 (__old_shmctl): Do not use CHECK_1.
9164 (__new_shmctl): Likewise.
9165 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
9166 <bp-checks.h>.
9167 (__xstat): Do not use CHECK_1.
9168 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
9169 (__lxstat): Do not use CHECK_1.
9170 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
9171 <bp-checks.h>.
9172 (___lxstat64): Do not use CHECK_1.
9173 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
9174 (__old_msgctl): Do not use CHECK_1.
9175 (__new_msgctl): Likewise.
9176 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
9177 <bp-checks.h>.
9178 (__gettimeofday): Do not use CHECK_1.
9179 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
9180 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
9181 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
9182 <bp-checks.h>.
9183 (__gettimeofday): Do not use CHECK_1.
9184 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
9185 (__old_shmctl): Do not use CHECK_1_NULL_OK.
9186 (__new_shmctl): Do not use CHECK_1.
9187 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
9188 <bp-checks.h>.
9189 (do_sigtimedwait): Do not use CHECK_1.
9190 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
9191 <bp-checks.h>.
9192 (do_sigwaitinfo): Do not use CHECK_1.
9193 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
9194 <bp-checks.h>.
9195 (msgctl): Do not use CHECK_1.
9196 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
9197 <bp-checks.h>.
9198 (shmctl): Do not use CHECK_1.
9199 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
9200 (ustat): Do not use CHECK_1.
9201 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
9202 <bp-checks.h>.
9203 (__fxstat): Do not use CHECK_1.
9204 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9205 <bp-checks.h>.
9206 (__fxstatat): Do not use CHECK_1.
9207 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
9208 <bp-checks.h>.
9209 (__lxstat): Do not use CHECK_1.
9210 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
9211 <bp-checks.h>.
9212 (__xstat): Do not use CHECK_1.
9213 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
9214 (__xstat): Do not use CHECK_1.
9215 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
9216 (___xstat64): Do not use CHECK_1.
9217
b2c9eff4
JM
9218 [BZ #13550]
9219 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
9220 definitions.
9221 (CHECK_BOUNDS_HIGH): Likewise.
9222 * string/strcpy.c: Do not include <bp-checks.h>.
9223 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
9224
f1d70dad
RM
92252013-02-07 Roland McGrath <roland@hack.frob.com>
9226
9227 * nscd/nscd-client.h (__nscd_drop_map_ref):
9228 Add __attribute__ ((unused)).
9229 * nis/nss-nisplus.h (niserr2nss): Likewise.
9230
9231 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
9232 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
9233
9234 * csu/libc-tls.c (init_static_tls, init_slotinfo):
9235 Remove inline keyword.
9236 * include/rounding-mode.h (round_away): Likewise.
9237 * libio/wfileops.c (adjust_wide_data): Likewise.
9238 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
9239 (__m128i_strloadu_tolower): Likewise.
9240 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
9241 (__m128i_strloadu_tolower): Likewise.
9242 * time/mktime.c (ydhms_diff): Likewise.
9243 * locale/elem-hash.h (elem_hash): Likewise.
9244 * locale/setlocale.c (setdata): Likewise.
9245 * posix/regex_internal.h (re_string_char_size_at): Likewise.
9246 (re_string_wchar_at): Likewise.
9247 (bitset_not, bitset_merge, bitset_mask): Likewise.
9248 [!(__GNUC__ > 3)] (inline): Remove macro.
9249 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
9250 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
9251 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
9252 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
9253 * string/memcmp.c (memcmp_bytes): Likewise.
9254 * locale/programs/locarchive.c (compute_hashval): Likewise.
9255 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
9256 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
9257 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
9258 * nss/getent.c (print_rpc, print_protocols): Likewise.
9259 (print_passwd, print_group, print_aliases): Likewise.
9260 * nis/nss-nisplus.h (niserr2nss): Likewise.
9261 * nscd/connections.c (restart_p): Likewise.
9262 Change return type to bool.
9263
eab55bfb
RM
92642013-02-05 Roland McGrath <roland@hack.frob.com>
9265
7bd642f5
RM
9266 * Makeconfig (all-Depend-files): Add existing
9267 $(sorted-subdirs:=/Depend) files.
9268 (all-subdirs): Remove nss.
9269 * sysdeps/unix/inet/Subdirs: Add it here instead.
9270 * hesiod/Depend: New file.
9271
573c29b2
RM
9272 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
9273 instead of calling alloca.
9274
b2e25af0
RM
9275 * io/lseek.c (__lseek): Rename to __libc_lseek.
9276 Define __lseek as an alias.
9277
eab55bfb
RM
9278 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
9279
9a0d1941
CD
92802013-02-04 Carlos O'Donell <carlos@redhat.com>
9281
9282 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
9283 else clause and remove check for non-standard endianness.
9284
b83bbec4
DM
92852013-02-04 David S. Miller <davem@davemloft.net>
9286
9287 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9288
6277fdab
JM
92892013-02-04 Joseph Myers <joseph@codesourcery.com>
9290
9291 [BZ #13550]
9292 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
9293 (__ubp_memchr): Remove prototype.
9294 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
9295 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9296 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
9297 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9298 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
9299 Remove alias.
9300 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
9301 (__ubp_memchr): Likewise.
9302 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
9303 (__ubp_memchr): Likewise.
9304 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
9305 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
9306 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
9307 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
9308 CHECK_STRING.
9309 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9310 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
9311 (__getcwd): Do not use CHECK_STRING.
9312 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9313 <bp-checks.h>.
9314 (__real_chown): Do not use CHECK_STRING.
9315 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
9316 <bp-checks.h>.
9317 (fchownat): Do not use CHECK_STRING.
9318 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
9319 CHECK_STRING.
9320 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9321 <bp-checks.h>.
9322 (__lchown): Do not use CHECK_STRING.
9323 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9324 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9325 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9326 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9328 include <bp-checks.h>.
9329 (truncate64): Do not use CHECK_STRING.
9330 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9331 <bp-checks.h>.
9332 (__real_chown): Do not use CHECK_STRING.
9333 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9334 <bp-checks.h>.
9335 (__lchown): Do not use CHECK_STRING.
9336 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9337 <bp-checks.h>.
9338 (__chown): Do not use CHECK_STRING.
9339 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
9340 <bp-checks.h>.
9341 (truncate64): Do not use CHECK_STRING.
9342 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
9343 Likewise.
9344 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
9345 (__xmknod): Do not use CHECK_STRING.
9346 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9347 <bp-checks.h>.
9348 (__xmknodat): Do not use CHECK_STRING.
9349 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9350 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9351
903ae060
AS
93522013-02-04 Andreas Schwab <schwab@suse.de>
9353
9354 [BZ #14142]
9355 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
9356 * include/netdb.h: Likewise for h_errno.
9357 * elf/tst-stackguard1.c: Include <tls.h>.
9358
542f9466
JK
93592013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9360
9361 * elf/link.h (struct link_map): Extend the l_addr comment.
9362 * include/link.h (struct link_map): Likewise.
9363
e782a927
JM
93642013-02-01 Joseph Myers <joseph@codesourcery.com>
9365
9366 [BZ #13550]
9367 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
9368 (BOUNDED_1): Remove macro.
9369 * debug/backtrace.c: Don't include <bp-checks.h>.
9370 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
9371 (__backtrace): Likewise.
9372 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
9373 <bp-checks.h>.
9374 (__backtrace): Don't use BOUNDED_1.
9375 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
9376 <bp-checks.h>.
9377 (__backtrace): Don't use BOUNDED_1.
9378 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
9379 (__backtrace): Don't use BOUNDED_1.
9380 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
9381 (shmat): Don't use BOUNDED_N.
9382
8cf28c5e
JM
93832013-01-31 Joseph Myers <joseph@codesourcery.com>
9384
3a7ac8a0
JM
9385 [BZ #13550]
9386 * sysdeps/generic/bp-start.h: Remove file.
9387 * csu/libc-start.c: Don't include <bp-start.h>.
9388 (LIBC_START_MAIN): Set up __environ directly instead of using
9389 INIT_ARGV_and_ENVIRON.
9390 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
9391 <bp-start.h>.
9392
f3499f95
JM
9393 [BZ #13550]
9394 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
9395 definitions.
9396 (CHECK_FCNTL): Likewise.
9397 (CHECK_N_PAGES): Likewise.
9398
32a45bea
JM
9399 [BZ #13550]
9400 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
9401 definitions.
9402 (CHECK_SIGSET_NULL_OK): Likewise.
9403 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
9404 <bp-checks.h>.
9405 (sigpending): Don't use CHECK_SIGSET.
9406 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
9407 <bp-checks.h>.
9408 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9409 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
9410 <bp-checks.h>.
9411 (do_sigsuspend): Don't use CHECK_SIGSET.
9412 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
9413 use CHECK_SIGSET.
9414 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
9415 (do_sigwait): Don't use CHECK_SIGSET.
9416 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
9417 use CHECK_SIGSET.
9418 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
9419 include <bp-checks.h>.
9420 (sigpending): Don't use CHECK_SIGSET.
9421 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
9422 include <bp-checks.h>.
9423 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9424 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
9425 <bp-checks.h>.
9426 (sigpending): Don't use CHECK_SIGSET.
9427 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
9428 <bp-checks.h>.
9429 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9430
2e8a5c8c
JM
9431 [BZ #13550]
9432 * sysdeps/generic/bp-semctl.h: Remove file.
9433 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
9434 <bp-checks.h> and <bp-semctl.h>.
9435 (__old_semctl): Don't use CHECK_SEMCTL.
9436 (__new_semctl): Likewise.
9437 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
9438 and <bp-semctl.h>.
9439 (__old_semctl): Don't use CHECK_SEMCTL.
9440 (__new_semctl): Likewise.
9441 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
9442 <bp-checks.h> and <bp-semctl.h>.
9443 (__old_semctl): Don't use CHECK_SEMCTL.
9444 (__new_semctl): Likewise.
9445 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
9446 <bp-checks.h> and <bp-semctl.h>.
9447 (semctl): Don't use CHECK_SEMCTL.
9448
c2d54929
JM
9449 [BZ #13550]
9450 * Makerules (elide-bp-thunks): Remove variable.
9451 (elide-routines.oS): Don't use $(elide-bp-thunks).
9452 (elide-routines.os): Likewise.
9453 (elide-routines.o): Likewise.
9454 (elide-routines.op): Likewise.
9455 (elide-routines.og): Likewise.
9456 (objects): Don't use $(bp-thunks).
9457 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
9458 include.
9459 (common-generated): Do not add s-proto-bp.d.
9460 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
9461 (int): Likewise.
9462 (typ): Likewise.
9463 Do not generate makefile rules for bounded-pointer thunks.
9464 * sysdeps/generic/bp-thunks.h: Remove file.
9465 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
9466 * sysdeps/unix/s-proto-bp.S: Likewise.
9467
8cf28c5e
JM
9468 [BZ #15062]
9469 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
9470 parts of result separately when argument is not close to line from
9471 -i to i and one part of argument is small.
9472 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9473 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9474 * math/libm-test.inc (cacos_test): Add more tests.
9475 (casin_test): Likewise.
9476 (casinh_test): Likewise.
9477 * sysdeps/i386/fpu/libm-test-ulps: Update.
9478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9479
c4e33b8d
DM
94802013-01-31 David S. Miller <davem@davemloft.net>
9481
9482 * po/de.po: Update from translation team.
9483
3b60b421
MK
94842013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
9485
9486 * time/tzfile.c: Include stdint.h for SIZE_MAX.
9487
bb931195
TS
94882013-01-25 Thomas Schwinge <thomas@codesourcery.com>
9489
b5a5da23
TS
9490 * configure.in (_AC_PROG_CC_C89): New definition.
9491 * configure: Regenerate.
9492
bb931195
TS
9493 * configure.in (AC_PROG_CPP): New definition.
9494 * configure: Regenerate.
9495
8c53a12c
JM
94962013-01-23 Joseph Myers <joseph@codesourcery.com>
9497
9498 * debug/tst-backtrace.h: New file.
9499 * debug/tst-backtrace2.c: Include tst-backtrace.h.
9500 (ret): Remove variable.
9501 (x): Likewise.
9502 (FAIL): Remove macro.
9503 (NO_INLINE): Likewise.
9504 (fn1): Use match function instead of strstr.
9505 * debug/tst-backtrace3.c: Include tst-backtrace.h.
9506 (ret): Remove variable.
9507 (x): Likewise.
9508 (FAIL): Remove macro.
9509 (NO_INLINE): Likewise.
9510 (fn): Use match function instead of strstr.
9511 * debug/tst-backtrace4.c: Include tst-backtrace.h.
9512 (ret): Remove variable.
9513 (x): Likewise.
9514 (FAIL): Remove macro.
9515 (NO_INLINE): Likewise.
9516 (handle_signal): Use match function instead of strstr.
9517 * debug/tst-backtrace5.c: Include tst-backtrace.h.
9518 (ret): Remove variable.
9519 (x): Likewise.
9520 (FAIL): Remove macro.
9521 (NO_INLINE): Likewise.
9522 (handle_signal): Use match function instead of strstr.
9523
4858fa2a
RM
95242013-01-23 Roland McGrath <roland@hack.frob.com>
9525
9526 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
9527
bae8e7f5
DM
95282013-01-23 David S. Miller <davem@davemloft.net>
9529
9530 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
9531 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
9532 argument of CAS if possible.
9533 * sysdeps/sparc/sparc64/bits/atomic.h
9534 (__arch_compare_and_exchange_val_32_acq): Likewise.
9535 (__arch_compare_and_exchange_val_64_acq): Likewise.
9536
9cbbc4ae
PT
95372013-01-23 Pino Toscano <toscano.pino@tiscali.it>
9538
9539 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
9540 * sysdeps/posix/ulimit.c: ... this.
92a601b8 9541 Include <limits.h>.
67b3f58c 9542 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 9543
5655a0b5
AC
95442013-01-23 Adam Conrad <adconrad@0c3.net>
9545
9546 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
9547 (LDFLAGS-tst-array5): Likewise.
9548
052aff95
JM
95492013-01-23 Joseph Myers <joseph@codesourcery.com>
9550
9551 [BZ #15036]
9552 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
9553 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
9554 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
9555 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
9556
7c1e01aa
DM
95572013-01-21 David S. Miller <davem@davemloft.net>
9558
9559 * sysdeps/sparc/backtrace.c: New file.
9560 * sysdeps/sparc/sparc32/backtrace.h: New file.
9561 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
9562 * sysdeps/sparc/sparc64/backtrace.h: New file.
9563 * sysdeps/sparc/sparc64/backtrace.c: Delete.
9564 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
9565 -funwind-tables.
9566
ab087e0a
AS
95672013-01-21 Andreas Schwab <schwab@suse.de>
9568
9569 [BZ #15020]
9570 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
9571 closed its stdout.
9572
ed689c2f
AS
95732013-01-20 Andreas Schwab <schwab@linux-m68k.org>
9574
9575 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
9576 "mpa2.h".
9577 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9578
31d470ac
JM
95792013-01-18 Joseph Myers <joseph@codesourcery.com>
9580 Mark Mitchell <mark@codesourcery.com>
9581 Tom de Vries <tom@codesourcery.com>
9582 Paul Pluzhnikov <ppluzhnikov@google.com>
9583
9584 * debug/tst-backtrace2.c: New file.
9585 * debug/tst-backtrace3.c: Likewise.
9586 * debug/tst-backtrace4.c: Likewise.
9587 * debug/tst-backtrace5.c: Likewise.
9588 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
9589 (CFLAGS-tst-backtrace3.c): Likewise.
9590 (CFLAGS-tst-backtrace4.c): Likewise.
9591 (CFLAGS-tst-backtrace5.c): Likewise.
9592 (LDFLAGS-tst-backtrace2): Likewise.
9593 (LDFLAGS-tst-backtrace3): Likewise.
9594 (LDFLAGS-tst-backtrace4): Likewise.
9595 (LDFLAGS-tst-backtrace5): Likewise.
9596 (tests): Add new tests tst-backtrace2, tst-backtrace3,
9597 tst-backtrace4 and tst-backtrace5.
9598
90567f30 95992013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
9600 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9601
9602 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
9603 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
9604 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
9605 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
9606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9607 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
9608 "+r" and remove output regs list as redundant. Add explicit inline
9609 asm to specify register of return val to work around compiler codegen
9610 bug. Remove (int) cast on return value. Add return type parameter to
9611 use in macro so that this macro does not truncate return value for
9612 64-bit values.
9613 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
9614 pass to INTERNAL_VSYSCALL_NCS.
9615 (INLINE_VSYSCALL): Add 'long int' as return type to
9616 INTERNAL_VSYSCALL_NCS macro invocation.
9617 (INTERNAL_VSYSCALL): Add 'long int' as return type to
9618 INTERNAL_VSYSCALL_NCS macro invocation.
9619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9620
d3b9ea61
SP
96212013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9622
0b57daeb
SP
9623 [BZ #14496]
9624 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
9625 Fix application of SIMD FP exception mask.
9626
caa99d06
SP
9627 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
9628 mp_no from a power of two.
9629 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
9630 __mpexp_twomm1. Use __pow_mp.
9631
d3b9ea61
SP
9632 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
9633 multiplication.
9634
1dbaee3c
DM
96352013-01-17 David S. Miller <davem@davemloft.net>
9636
9637 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9638
728d7b43
JM
96392013-01-17 Joseph Myers <joseph@codesourcery.com>
9640
9641 [BZ #15023]
9642 * include/complex.h: Condition contents on [!_COMPLEX_H].
9643 (__kernel_casinhf): New prototype.
9644 (__kernel_casinh): Likewise.
9645 (__kernel_casinhl): Likewise.
9646 * math/Makefile (libm_calls): Add k_casinh.
9647 * math/k_casinh.c: New file.
9648 * math/k_casinhf.c: Likewise.
9649 * math/k_casinhl.c: Likewise.
9650 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
9651 finite nonzero arguments.
9652 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
9653 finite nonzero arguments.
9654 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
9655 finite nonzero arguments.
9656 * math/s_casinh.c: Do not include <float.h>.
9657 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
9658 * math/s_casinhf.c: Do not include <float.h>.
9659 (__casinhf): Move code for finite nonzero arguments to
9660 k_casinhf.c.
9661 * math/s_casinhl.c: Do not include <float.h>.
9662 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
9663 redefine.
9664 (__casinhl): Move code for finite nonzero arguments to
9665 k_casinhl.c.
9666 * math/libm-test.inc (cacos_test): Add more tests.
9667 * sysdeps/i386/fpu/libm-test-ulps: Update.
9668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9669
2a26ef3a
PT
96702013-01-17 Pino Toscano <toscano.pino@tiscali.it>
9671
9672 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
9673 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
9674 [!HAVE_MREMAP]: Remove [defined linux] case.
9675 * malloc/arena.c: Do not include <malloc-sysdep.h>.
9676
a897655d
SP
96772013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9678
9679 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
9680
881ebe89 96812013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
9682
9683 * elf/elf.h (R_386_SIZE32): New relocation.
9684 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
9685 R_386_SIZE32.
9686 (elf_machine_rela): Likewise.
9687 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9688 R_X86_64_SIZE64 and R_X86_64_SIZE32.
9689
59981e9b
JM
96902013-01-17 Joseph Myers <joseph@codesourcery.com>
9691
9692 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
9693 (FP_FAST_FMA): Do not define.
9694 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
9695 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
9696 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
9697 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
9698 !_SOFT_FLOAT]: Likewise.
9699 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
9700 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
9701 value.
9702 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
9703 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
9704 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
9705 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
9706 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
9707 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
9708 file.
9709
cfa8054f
AS
97102013-01-16 Andreas Schwab <schwab@suse.de>
9711
9712 [BZ #14327]
9713 * include/stdlib.h (__mktemp): Add declaration.
9714 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
9715 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
9716
dd930cc5
SP
97172013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9718
881ebe89
SP
9719 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
9720 definitions.
9721 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9722 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
9723 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
9724 definitions here.
9725 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
9726 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
9727 definitions.
9728 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
9729 and ONE.
9730 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
9731 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
9732 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
9733 definitions.
9734 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
9735 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
9736 definitions.
9737 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 9738
dd930cc5
SP
9739 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
9740
c19a9f89
DM
97412013-01-15 David S. Miller <davem@davemloft.net>
9742
1aa61767
DM
9743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9744 trunc{,f} to libm-sysdep_routes.
9745 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
9747 file.
9748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
9750 file.
9751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
9752 file.
9753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
9754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
9755 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
9756 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
9757 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
9758 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
9759 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
9760 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
9761
c42d5e98
DM
9762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9763 nearbyint{,f} to libm-sysdep_routes.
9764 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
9766 New file.
9767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
9768 file.
9769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
9770 New file.
9771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
9772 file.
9773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
9774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
9775 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
9776 file.
9777 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
9778 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
9779 file.
9780 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
9781 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
9782 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
9783
c19a9f89
DM
9784 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9785 libc_feholdexcept and libc_fesetenv.
9786
357679d2
MF
97872013-01-15 Mike Frysinger <vapier@gentoo.org>
9788
9789 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
9790
65a82e3d
DM
97912013-01-14 David S. Miller <davem@davemloft.net>
9792
8b954ab9
DM
9793 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
9794 (SPARC_ASM_VIS2_IFUNC): Likewise.
9795 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
9796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
9797 use of 'siam' instruction.
9798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
9799 Likewise.
9800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
9801 Likewise.
9802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
9803 Likewise.
9804 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9805 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9806 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9807 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
9809 file.
9810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
9811 file.
9812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
9813 file.
9814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
9815 file.
9816 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
9817 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
9818 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
9819 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
9820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
9821 new VIS2 routines.
9822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9825 Likewise.
9826 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9827 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9828 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9829 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
9831 routines to libm-sysdep_routines.
9832 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9833
65a82e3d
DM
9834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9835 fdim/fdimf to libm-sysdep_routines.
9836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
9837 file.
9838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
9839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
9840 file.
9841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
9842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
9843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
9844 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
9845 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
9846 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
9847 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
9848
e34ab705
SP
98492013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9850
2a91b573
SP
9851 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
9852 to optimize copies.
9853
1066a534
SP
9854 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
9855 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9856 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9857
e34ab705
SP
9858 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
9859 local variable MPTWO.
9860 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9861 Likewise.
9862
aba5e596
MF
98632013-01-13 Mike Frysinger <vapier@gentoo.org>
9864
9865 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
9866 GLOB_NOESCAPE.
9867
e557e9e5
MF
98682013-01-13 Mike Frysinger <vapier@gentoo.org>
9869
9870 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
9871
0428cec9
MF
98722013-01-13 Mike Frysinger <vapier@gentoo.org>
9873
9874 * manual/pattern.texi (glob_t): Document gl_flags.
9875 (glob64_t): Likewise.
9876
8794a964
DM
98772013-01-11 David S. Miller <davem@davemloft.net>
9878
66438c3f
RM
9879 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
9880 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
9881 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
9882 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
9883 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
9884 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
9885 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
9886 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
9887 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
9888 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
9889 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
9890 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
9891 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
9892
4ae4244d
DM
9893 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9894 sparc V9 rather than using V8 code.
9895 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9896 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9897
8794a964
DM
9898 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9899 Move to...
9900 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
9901 Here.
9902
6270516e
RM
99032013-01-11 Roland McGrath <roland@hack.frob.com>
9904
9905 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
9906 not in the main loop.
9907 * configure: Regenerated.
9908
6a57d931
JM
99092013-01-11 Joseph Myers <joseph@codesourcery.com>
9910
9911 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
9912 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
9913 to just #else.
9914 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
9915 [!__GLIBC_HAVE_LONG_LONG] case.
9916 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
9917 condition to just #else.
9918 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
9919 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
9920 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
9921 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
9922 unconditional.
9923 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
9924 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9925 #elif condition to just #else.
9926 * sysdeps/unix/sysv/linux/sys/sysmacros.h
9927 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
9928 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9929 #elif condition to just #else.
9930
0e8529e9
SE
99312013-01-11 Steve Ellcey <sellcey@mips.com>
9932
9933 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
9934 (EF_MIPS_ARCH_64): Fix value.
9935 (EF_MIPS_ARCH_32R2): New.
9936 (EF_MIPS_ARCH_64R2): New.
9937
740b3dbe
L
99382013-01-11 H.J. Lu <hongjiu.lu@intel.com>
9939
9940 * Makeconfig (+link-pie-before-libc): New.
9941 (+link-pie-after-libc): Likewise.
9942 (+link-pie-tests): Likewise.
9943 (+link-pie): Rewritten.
9944 (link-before-libc): Remove $(config-LDFLAGS).
9945 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
9946 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
9947 (config-LDFLAGS): Renamed to ...
9948 (rtld-LDFLAGS): This.
9949 (rtld-tests-LDFLAGS): New macro.
9950 (link-libc-rpath-link): Likewise.
9951 (link-libc-tests-rpath-link): Likewise.
9952 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
9953 (link-libc): Prepand $(link-libc-rpath-link).
9954 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
9955 (test-program-prefix): New macro.
9956 (test-via-rtld-prefix): Likewise.
9957 (test-program-cmd): Likewise.
9958 (host-test-program-cmd): Likewise.
9959 * Makefile ($(common-objpfx)testrun.sh): Replace
9960 $(run-program-prefix) with $(test-program-prefix).
9961 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
9962 $(rtld-LDFLAGS).
9963 ($(common-objpfx)shlib.lds): Likewise.
9964 (build-module-helper): Likewise.
9965 ($(common-objpfx)format.lds): Likewise.
9966 * Rules (binaries-pie-tests): New.
9967 (binaries-pie-notests): Likewise.
9968 (binaries-pie): Rewritten.
9969 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
9970 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
9971 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
9972 (make-test-out): Replace $(host-built-program-cmd) with
9973 $(host-test-program-cmd).
9974 * config.make.in (build-hardcoded-path-in-tests): New variable.
9975 * configure.in (--enable-hardcoded-path-in-tests): New configure
9976 option.
9977 (hardcoded_path_in_tests): New AC_SUBST.
9978 * configure: Regenerated.
9979 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
9980 $(built-program-cmd) with $(test-program-cmd).
9981 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
9982 (test_program_cmd): This.
9983 * elf/Makefile ($(objpfx)order.out): Run test with
9984 $(test-program-prefix).
9985 ($(objpfx)order2.out): Likewise.
9986 ($(objpfx)tst-initorder.out): Likewise.
9987 ($(objpfx)tst-initorder2.out): Likewise.
9988 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
9989 $(test-program-cmd).
9990 ($(objpfx)tst-array1-static.out): Likewise.
9991 ($(objpfx)tst-array2.out): Likewise.
9992 ($(objpfx)tst-array3.out): Likewise.
9993 ($(objpfx)tst-array4.out): Likewise.
9994 ($(objpfx)tst-array5.out): Likewise.
9995 ($(objpfx)tst-array5-static.out): Likewise.
9996 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
9997 $(test-program-cmd).
9998 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
9999 $(run-program-prefix) with $(test-program-prefix).
10000 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
10001 (test_program_prefix): This.
10002 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
10003 $(run-program-prefix) with $(test-program-prefix).
10004 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
10005 (test_program_prefix): This.
10006 * iconvdata/tst-tables.sh: Likewise.
10007 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
10008 $(run-program-prefix) with $(test-program-prefix).
10009 ($(objpfx)tst-translit.out): Likewise.
10010 ($(objpfx)tst-gettext2.out): Likewise.
10011 ($(objpfx)tst-gettext4.out): Likewise.
10012 ($(objpfx)tst-gettext6.out): Likewise.
10013 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
10014 (test_program_prefix): This.
10015 * intl/tst-gettext2.sh: Likewise.
10016 * intl/tst-gettext4.sh Likewise.
10017 * intl/tst-gettext6.sh: Likewise.
10018 * intl/tst-translit.sh: Likewise.
10019 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
10020 with $(test-program-cmd).
10021 * libio/Makefile ($(objpfx)test-freopen.out): Replace
10022 $(run-program-prefix) with $(test-program-prefix).
10023 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
10024 (test_program_prefix): This.
10025 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
10026 $(run-program-prefix) with $(test-program-prefix).
10027 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
10028 (test_program_prefix): This.
10029 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
10030 * posix/Makefile ($(objpfx)globtest.out): Replace
10031 $(run-via-rtld-prefix) and $(test-wrapper) with
10032 $(test-program-prefix) and $(test-via-rtld-prefix).
10033 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
10034 $(test-program-prefix).
10035 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
10036 $(host-test-program-cmd).
10037 (tst-spawn-ARGS): Likewise.
10038 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
10039 $(test-program-prefix).
10040 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
10041 (test_via_rtld_prefix): This.
10042 (test_wrapper): Renamed to ...
10043 (test_program_prefix): This.
10044 (run_program_prefix): Replaced by test_program_prefix.
10045 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
10046 (test_program_prefix): This.
10047 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
10048 with $(host-test-program-cmd).
10049 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
10050 $(run-program-prefix) with $(test-program-prefix).
10051 ($(objpfx)tst-printf.out): Likewise.
10052 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
10053 $(test-program-cmd).
10054 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
10055 (test_program_prefix): This.
10056 * stdio-common/tst-unbputc.sh: Likewise.
10057 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
10058 $(run-program-prefix) with $(test-program-prefix).
10059 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
10060 (test_program_prefix): This.
10061 * string/Makefile ($(objpfx)tst-svc.out): Replace
10062 $(built-program-cmd) with $(test-program-cmd).
10063
c6fe55cf
AJ
100642013-01-11 Andreas Jaeger <aj@suse.de>
10065
10066 [BZ #15003]
10067 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
10068 value. Sync with Linux 3.7.
10069
9e6919c8
DM
100702013-01-10 David S. Miller <davem@davemloft.net>
10071
10072 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
10073 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10074 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10075
1c9f1a02
RM
100762013-01-10 Roland McGrath <roland@hack.frob.com>
10077
10078 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
10079 never set.
10080 * configure: Regenerated.
10081
b9de2dde
DM
100822013-01-10 David S. Miller <davem@davemloft.net>
10083
10084 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10085 sparc V9 rather than using V8 code.
10086 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10087 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10088
e7f68ef4
RM
100892013-01-10 Roland McGrath <roland@hack.frob.com>
10090
10091 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
10092 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
10093 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
10094 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
10095 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
10096 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
10097 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
10098 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
10099 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
10100 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
10101 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
10102 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
10103 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
10104 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
10105 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
10106 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
10107 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
10108 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
10109 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
10110 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
10111 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
10112 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
10113 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
10114 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
10115 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
10116 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
10117 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
10118
5a47cc9c
DM
101192013-01-10 David S. Miller <davem@davemloft.net>
10120
10121 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10122
4cf8f209
L
101232013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10124
10125 * posix/Makefile (tests-static): New variable.
10126 (tests): Add $(tests-static).
10127 (tst-exec-static-ARGS): New variable.
10128 (tst-spawn-static-ARGS): Likewise.
10129 * posix/tst-exec-static.c: New file.
10130 * posix/tst-spawn-static.c: Likewise.
10131 * posix/tst-exec.c: Support run directly.
10132 * posix/tst-spawn.c: Likewise.
10133
fed0faa1
JM
101342013-01-10 Joseph Myers <joseph@codesourcery.com>
10135
828beb13
JM
10136 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
10137 long.
10138 * math/bits/mathcalls.h (llrint): Likewise.
10139 (llround): Likewise.
10140 * stdlib/stdlib.h (struct drand48_data): Likewise.
10141 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
10142 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
10143 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
10144 Likewise.
10145 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
10146 Likewise.
10147 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
10148 (elf_greg_t): Likewise.
10149 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
10150 (__jmp_buf): Likewise.
10151 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
10152 definitions.
10153 (llrint): Likewise, for all definitions.
10154 (llrintl): Likewise.
10155
fed0faa1
JM
10156 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
10157 Remove [__GNUC__] condition.
10158 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
10159 condition to just [__USE_ISOC99].
10160 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
10161
1a20cb20
L
101622013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10163
10164 [BZ #14200]
10165 * sysdeps/unix/sysv/linux/x86/bits/environments.h
10166 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
10167 defined.
10168 (_POSIX_V6_ILP32_OFF32): Likewise.
10169 (_XBS5_ILP32_OFF32): Likewise.
10170 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
10171 (__ILP32_OFFBIG_LDFLAGS): Likewise.
10172
751b85f7
SP
101732013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10174
7490eb81
SP
10175 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
10176
751b85f7
SP
10177 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
10178 doubles __mpexp_twomm1. Adjust usage.
10179 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
10180 Remove.
10181
988197f0
AS
101822013-01-10 Andreas Schwab <schwab@suse.de>
10183
10184 [BZ #14964]
10185 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
10186 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
10187
e83d7298
DM
101882013-01-09 David S. Miller <davem@davemloft.net>
10189
034ed64b 10190 [BZ #15003]
e83d7298
DM
10191 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
10192 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
10193 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
10194 TCP_FASTOPEN): Define.
10195 (tcp_repair_opt): New structure.
10196 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
10197 enum values.
10198 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
10199 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
10200 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
10201 (tcp_cookie_transactions): New structure.
10202
d5e0b9bd
AB
102032013-01-09 Anton Blanchard <anton@samba.org>
10204
10205 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
10206 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
10207 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
10208 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
10209
0c07e3ea
JM
102102013-01-09 Joseph Myers <joseph@codesourcery.com>
10211
10212 * include/features.h (__USE_ANSI): Remove.
10213
232f7002
RM
102142013-01-09 Roland McGrath <roland@hack.frob.com>
10215
ad98e30c
RM
10216 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
10217
232f7002
RM
10218 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
10219
950c99ca
SP
102202013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
10221
b5792741
SP
10222 * sysdeps/s390/fpu/libm-test-ulps: Update.
10223
47cf2278
SP
10224 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10225
950c99ca
SP
10226 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
10227 (__acr): Likewise.
10228 (__cpy): Likewise.
10229 (norm): Likewise.
10230 (denorm): Likewise.
10231 (__mp_dbl): Likewise.
10232 (__dbl_mp): Likewise.
10233 (add_magnitudes): Likewise.
10234 (sub_magnitudes): Likewise.
10235 (__add): Likewise.
10236 (__sub): Likewise.
10237 (__mul): Likewise.
10238 (__inv): Likewise.
10239 (__dvd): Likewise.
10240 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
10241 (__acr): Likewise.
10242 (__cpy): Likewise.
10243 (norm): Likewise.
10244 (denorm): Likewise.
10245 (__mp_dbl): Likewise.
10246 (__dbl_mp): Likewise.
10247 (add_magnitudes): Likewise.
10248 (sub_magnitudes): Likewise.
10249 (__add): Likewise.
10250 (__sub): Likewise.
10251 (__mul): Likewise.
10252 (__inv): Likewise.
10253 (__dvd): Likewise.
10254 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
10255 (__acr): Likewise.
10256 (__cpy): Likewise.
10257 (norm): Likewise.
10258 (denorm): Likewise.
10259 (__mp_dbl): Likewise.
10260 (__dbl_mp): Likewise.
10261 (add_magnitudes): Likewise.
10262 (sub_magnitudes): Likewise.
10263 (__add): Likewise.
10264 (__sub): Likewise.
10265 (__mul): Likewise.
10266 (__inv): Likewise.
10267 (__dvd): Likewise.
10268
eede9df9
JM
102692013-01-08 Joseph Myers <joseph@codesourcery.com>
10270
10271 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
10272 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
10273 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
10274 2 && __USE_EXTERN_INLINES]: Likewise.
10275
c40ea3d9
AJ
102762013-01-08 Andreas Jaeger <aj@suse.de>
10277
10278 [BZ# 14985]
10279 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
10280 Remove.
10281 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10282 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10283
2ccdea26
AB
102842013-01-07 Anton Blanchard <anton@samba.org>
10285
10286 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
10287 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
10288 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
10289 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
10290 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10291 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10292 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
10293 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10294 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10295 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10296 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10297 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10298 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10299 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10300 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10301 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10302 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10303 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10304 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10305 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10306 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10307 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
10308 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10309 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10310 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
10311 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10312 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10313 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
10314 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
10315 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10316 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10317 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10318 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10319 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10320 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10321 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10322 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10323 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10324 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
10325 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10326 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
10327 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10328 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10329
a9708fed
JM
103302013-01-07 Joseph Myers <joseph@codesourcery.com>
10331
375607b9
JM
10332 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
10333 (__MALLOC_PMT): Likewise.
10334 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
10335 [__GNUC__], only on [_LIBC].
10336 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10337 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
10338 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10339 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
10340 forward declaration.
10341 (realloc_hook_ini): Likewise.
10342 (memalign_hook_ini): Likewise.
10343 (__libc_memalign): Do not use __MALLOC_PMT in variable
10344 declaration.
10345 (__libc_valloc): Likewise.
10346 (__libc_pvalloc): Likewise.
10347 (__libc_calloc): Likewise.
10348 (__posix_memalign): Likewise.
10349
a9708fed
JM
10350 [BZ #14996]
10351 * math/s_casinh.c: Include <float.h>.
10352 (__casinh): Do not do computation with squaring and square root
10353 for large arguments.
10354 * math/s_casinhf.c: Include <float.h>.
10355 (__casinhf): Do not do computation with squaring and square root
10356 for large arguments.
10357 * math/s_casinhl.c: Include <float.h>.
10358 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
10359 (__casinhl): Do not do computation with squaring and square root
10360 for large arguments.
10361 * math/libm-test.inc (casin_test): Add more tests.
10362 (casinh_test): Likewise.
10363 * sysdeps/i386/fpu/libm-test-ulps: Update.
10364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10365
afec409a
L
103662013-01-04 H.J. Lu <hongjiu.lu@intel.com>
10367
10368 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
10369 (__x86_64_raw_data_cache_size): Likewise.
10370 (__x86_64_data_cache_size_half): Likewise.
10371 (__x86_64_raw_data_cache_size_half): Likewise.
10372 (__x86_64_shared_cache_size): Likewise.
10373 (__x86_64_raw_shared_cache_size): Likewise.
10374 (__x86_64_shared_cache_size_half): Likewise.
10375 (__x86_64_raw_shared_cache_size_half): Likewise.
10376 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
10377 to ...
10378 (__x86_data_cache_size): This.
10379 (__x86_64_raw_data_cache_size): Renamed to ...
10380 (__x86_raw_data_cache_size): This.
10381 (__x86_64_data_cache_size_half): Renamed to ...
10382 (__x86_data_cache_size_half): This.
10383 (__x86_64_raw_data_cache_size_half): Renamed to ...
10384 (__x86_raw_data_cache_size_half): This.
10385 (__x86_64_shared_cache_size): Renamed to ...
10386 (__x86_shared_cache_size): This.
10387 (__x86_64_raw_shared_cache_size): Renamed to ...
10388 (__x86_raw_shared_cache_size): This.
10389 (__x86_64_shared_cache_size_half): Renamed to ...
10390 (__x86_shared_cache_size_half): This.
10391 (__x86_64_raw_shared_cache_size_half): Renamed to ...
10392 (__x86_raw_shared_cache_size_half): This.
10393 * sysdeps/x86_64/memcpy.S: Updated.
10394 * sysdeps/x86_64/memset.S: Likewise.
10395 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10396 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10397 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10398
0b3986d0
DM
103992013-01-04 David S. Miller <davem@davemloft.net>
10400
10401 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10402
e47686e9
AS
104032013-01-04 Andreas Schwab <schwab@linux-m68k.org>
10404
d643bac1
AS
10405 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
10406 1 to avoid redefinition warning.
10407 (__USE_GNU): Don't define.
10408 (init_signaling_nan): Protoize.
10409
e47686e9
AS
10410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10411
b18decba
SP
104122013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10413
fffb407f
SP
10414 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
10415 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
10416 (__cpymn): Likewise.
10417 (norm): Remove commented code.
10418 (denorm): Likewise.
10419 (__mp_dbl): Likewise.
10420 (__inv): Likewise.
10421 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
10422 (__cpymn): Likewise.
10423 (norm): Remove commented code.
10424 (denorm): Likewise.
10425 (__mp_dbl): Likewise.
10426 (__inv): Likewise.
10427
b18decba
SP
10428 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
10429 mp_no value for 1.0 and 2.0.
10430 (norm): Use RADIXI instead of radixi.d.
10431 (denorm): Likewise.
10432 (__mul): Use 0.0 instead of zero.d.
10433 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
10434 mp_no value for 1.0 and 2.0.
10435 (norm): Use RADIXI instead of radixi.d.
10436 (denorm): Likewise.
10437 (__mul): Use 0.0 instead of zero.d.
10438
cdc1c96f
JM
104392013-01-04 Joseph Myers <joseph@codesourcery.com>
10440
10441 [BZ #14994]
10442 * math/s_casinh.c (__casinh): Reduce finite argument to first
10443 quadrant then set signs of results at the end.
10444 * math/s_casinhf.c (__casinhf): Likewise.
10445 * math/s_casinhl.c (__casinhl): Likewise.
10446 * math/libm-test.inc (casin_test): Add more tests.
10447 (casinh_test): Likewise.
10448 * sysdeps/i386/fpu/libm-test-ulps: Update.
10449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10450
302913e1
SP
104512013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10452
6420d207
SP
10453 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
10454
a9e48ab4
SP
10455 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
10456
b7837264
SP
10457 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
10458 declarations.
10459 (denorm): Likewise.
10460 (__mp_dbl): Likewise.
10461 (__inv): Likewise.
10462
f8af25d2
SP
10463 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
10464 and adjust the header comment.
10465
302913e1
SP
10466 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
10467 variable name from declaration.
10468
5d7dd1ca
L
104692013-01-03 H.J. Lu <hongjiu.lu@intel.com>
10470
10471 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10472 Initialize COMMON_CPUID_INDEX_7 element.
10473 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
10474 (CPUID_RTM): Likewise.
10475 (HAS_RTM): Likewise.
10476 (COMMON_CPUID_INDEX_7): New enum.
10477
2f5f40f4
AS
104782013-01-03 Andreas Schwab <schwab@linux-m68k.org>
10479
10480 [BZ #14981]
10481 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
10482 size is zero, record memory as freed.
10483
4056f4a0
AJ
104842013-01-03 Andreas Jaeger <aj@suse.de>
10485
10486 * po/ia.po: Add new Interlingua translation.
10487
ab15736f 104882012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
10489
10490 * locale/programs/localedef.c: Fix description of '--posix' flag.
10491
568035b7
JM
104922013-01-02 Joseph Myers <joseph@codesourcery.com>
10493
e6898b8d
JM
10494 * NEWS: Update dates in second copyright notice.
10495 * README: Update copyright dates in example.
10496 * manual/libc.texinfo: Update copyright dates.
10497 * scripts/test-installation.pl: Update copyright date in --version
10498 output.
10499
0e2f9562
JM
10500 * hurd/ctty-input.c: Fix copyright notice formatting.
10501 * hurd/ctty-output.c: Likewise.
10502 * hurd/dtable.c: Likewise.
10503 * hurd/hurd-raise.c: Likewise.
10504 * hurd/hurdprio.c: Likewise.
10505 * hurd/msgportdemux.c: Likewise.
10506 * misc/sys/file.h: Likewise.
10507 * misc/sys/ioctl.h: Likewise.
10508 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10509 * sysdeps/mach/hurd/chdir.c: Likewise.
10510 * sysdeps/mach/hurd/fchdir.c: Likewise.
10511 * sysdeps/mach/hurd/rename.c: Likewise.
10512 * sysdeps/mach/hurd/rmdir.c: Likewise.
10513 * sysdeps/mach/hurd/seekdir.c: Likewise.
10514 * sysdeps/mach/hurd/setsid.c: Likewise.
10515 * sysdeps/posix/wait3.c: Likewise.
10516
568035b7
JM
10517 * All files with FSF copyright notices: Update copyright dates
10518 using scripts/update-copyrights.
10519 * intl/plural.c: Regenerated.
10520 * locale/programs/charmap-kw.h: Likewise.
10521 * locale/programs/locfile-kw.h: Likewise.
10522
da08f647
SP
105232013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10524
0f5477af
SP
10525 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
10526 four values.
10527
44e0d4c2
SP
10528 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
10529 calculation loop and add branch prediction.
10530
4d55b4e5
SP
10531 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
10532 check access beyond bounds of m1np.
10533
da08f647
SP
10534 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10535 MPTWO.
10536 (__inv): Remove local variable MPTWO to use the global
10537 constant.
10538 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
10539 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10540 variable MPTWO.
10541 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
10542 MP3HALFS static const.
10543
8e051029
DM
105442013-01-01 David S. Miller <davem@davemloft.net>
10545
10546 * po/ca.po: Update from translation team.
10547
f4cf5f2d
JM
105482013-01-01 Joseph Myers <joseph@codesourcery.com>
10549
10550 * scripts/update-copyrights: New file.
10551 * Makeconfig: Reformat copyright notice.
10552 * ctype/ctype.h: Likewise.
10553 * debug/swprintf_chk.c: Likewise.
10554 * elf/dl-cache.c: Likewise.
10555 * elf/dl-debug.c: Likewise.
10556 * elf/dl-object.c: Likewise.
10557 * grp/initgroups.c: Likewise.
10558 * hurd/Makefile: Likewise.
10559 * hurd/hurd/signal.h: Likewise.
10560 * hurd/hurdfault.c: Likewise.
10561 * hurd/hurdioctl.c: Likewise.
10562 * hurd/hurdlookup.c: Likewise.
10563 * hurd/intr-msg.c: Likewise.
10564 * iconv/gconv_open.c: Likewise.
10565 * libio/swprintf.c: Likewise.
10566 * locale/lc-ctype.c: Likewise.
10567 * locale/nl_langinfo.c: Likewise.
10568 * mach/Machrules: Likewise.
10569 * mach/Makefile: Likewise.
10570 * malloc/obstack.h: Likewise.
10571 * manual/Makefile: Likewise.
10572 * manual/tsort.awk: Likewise.
10573 * misc/bits/stab.def: Likewise.
10574 * nis/nis_print_group_entry.c: Likewise.
10575 * nis/nis_table.c: Likewise.
10576 * nis/nss_compat/compat-pwd.c: Likewise.
10577 * nis/nss_compat/compat-spwd.c: Likewise.
10578 * po/Makefile: Likewise.
10579 * posix/fnmatch.c: Likewise.
10580 * posix/regex.h: Likewise.
10581 * resolv/Makefile: Likewise.
10582 * resolv/nss_dns/dns-network.c: Likewise.
10583 * resolv/res_hconf.c: Likewise.
10584 * scripts/gen-sorted.awk: Likewise.
10585 * soft-fp/soft-fp.h: Likewise.
10586 * stdio-common/printf.h: Likewise.
10587 * stdlib/monetary.h: Likewise.
10588 * stdlib/random.c: Likewise.
10589 * stdlib/random_r.c: Likewise.
10590 * sysdeps/generic/Makefile: Likewise.
10591 * sysdeps/gnu/Makefile: Likewise.
10592 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10593 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10594 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10595 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10596 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10597 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10598 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10599 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10600 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10601 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10602 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10603 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10604 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10605 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10606 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
10607 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10608 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10609 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10610 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10611 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10612 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10613 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10614 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10615 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
10616 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
10617 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10618 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10619 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
10620 * sysdeps/mach/hurd/errnos.awk: Likewise.
10621 * sysdeps/mach/hurd/fork.c: Likewise.
10622 * sysdeps/mach/hurd/getcwd.c: Likewise.
10623 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
10624 * sysdeps/mach/hurd/mmap.c: Likewise.
10625 * sysdeps/mach/hurd/utimes.c: Likewise.
10626 * sysdeps/mach/hurd/xmknod.c: Likewise.
10627 * sysdeps/posix/profil.c: Likewise.
10628 * sysdeps/posix/readdir_r.c: Likewise.
10629 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10630 * sysdeps/powerpc/bits/setjmp.h: Likewise.
10631 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
10632 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10633 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10634 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10635 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10636 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10637 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10638 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10639 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10640 * sysdeps/pthread/lio_listio.c: Likewise.
10641 * sysdeps/sparc/dl-procinfo.h: Likewise.
10642 * sysdeps/unix/i386/sysdep.S: Likewise.
10643 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
10644 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
10645 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
10646 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
10647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10648 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10649 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10650 * sysdeps/unix/sysv/linux/speed.c: Likewise.
10651 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10652 * sysdeps/wordsize-32/divdi3.c: Likewise.
10653 * time/sys/time.h: Likewise.
10654 * wcsmbs/Makefile: Likewise.
10655
0549fbba
DM
106562013-01-01 David S. Miller <davem@davemloft.net>
10657
a141f1a7
DM
10658 * po/fr.po: Update from translation team.
10659
0549fbba
DM
10660 * catgets/gencat.c: Update copyright year.
10661 * csu/version.c: Likewise.
10662 * debug/catchsegv.sh: Likewise.
10663 * debug/pcprofiledump.c: Likewise.
10664 * debug/xtrace.sh: Likewise.
10665 * elf/ldconfig.c: Likewise.
10666 * elf/ldd.bash.in: Likewise.
10667 * elf/pldd.c: Likewise.
10668 * elf/sotruss.ksh: Likewise.
10669 * elf/sprof.c: Likewise.
10670 * iconv/iconv_prog.c: Likewise.
10671 * iconv/iconvconfig.c: Likewise.
10672 * locale/programs/locale.c: Likewise.
10673 * locale/programs/localedef.c: Likewise.
10674 * login/programs/pt_chown.c: Likewise.
10675 * malloc/memusage.sh: Likewise.
10676 * malloc/memusagestat.c: Likewise.
10677 * malloc/mtrace.pl: Likewise.
10678 * nscd/nscd.c: Likewise.
10679 * nss/getent.c: Likewise.
10680 * nss/makedb.c: Likewise.
10681 * posix/getconf.c: Likewise.
10682
18ea052c
SP
106832012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10684
10685 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
10686 numbers.
10687
9c89fca6
MF
106882012-12-30 Mike Frysinger <vapier@gentoo.org>
10689
10690 * math/bits/mathcalls.h (modf): Use __nonnull.
10691
085ec079
SP
106922012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10693
10694 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
10695 (split): Use macro CN instead of the bare value.
10696 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
10697 could be used.
10698 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
10699 instead of the bare value.
10700 (power1): Likewise.
10701
6d9f97e1
SP
107022012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10703
d63f73be
SP
10704 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
10705 __ATAN_TWOM.
10706 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10707
6d9f97e1
SP
10708 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
10709 their values.
10710 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10711 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10712 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
10713 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10714
4c4febf5
AJ
107152012-12-28 Andreas Jaeger <aj@suse.de>
10716
af5843ef
AJ
10717 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
10718 values are from Linux 3.7.
10719
4c4febf5
AJ
10720 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
10721 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
10722
99136f82
SP
107232012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10724
2f216c3c 10725 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
10726 TRUE case.
10727
99136f82
SP
10728 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
10729 (norm): Likewise.
10730 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
10731 variables with preprocessor constants.
10732 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10733 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10734 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10735
7fffbdff
BH
107362012-12-27 Bruno Haible <bruno@clisp.org>
10737
10738 [BZ #14317]
10739 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
10740 only if needed.
10741
b76eb5f0
SP
107422012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10743
31a7fe5c
SP
10744 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
10745 and use variable directly.
10746 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
10747
b76eb5f0
SP
10748 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10749 MPONE.
10750 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10751 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10752 variable MPONE.
10753 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10754 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10755 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
10756 include directive. Remove local variable MPONE.
10757 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
10758 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
10759 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10760
2c8bfe7d
DM
107612012-12-25 David S. Miller <davem@davemloft.net>
10762
10763 * version.h (RELEASE): Set to "development".
10764 (VERSION): Set to "2.17.90".
10765 * NEWS: Add 2.18 section.
10766
147d03b0
DM
107672012-12-21 David S. Miller <davem@davemloft.net>
10768
10769 * po/hr.po: Update from translation team.
10770
a8ebb2b9
AK
107712012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10772
10773 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
10774
95b4f1b6
SE
107752012-12-19 Steve Ellcey <sellcey@mips.com>
10776
b2d94007 10777 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 10778
cedb2a90
MS
107792012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10780
10781 * manual/contrib.texi (Contributors): Spelling correction.
10782
bbf527d6
DM
107832012-12-15 David S. Miller <davem@davemloft.net>
10784
10785 * po/ru.po: Update from translation team.
10786
bc38c906
DM
107872012-12-13 David S. Miller <davem@davemloft.net>
10788
85429b1a
DM
10789 * NEWS: Mention IFUNC testsuite enhancements.
10790
d283e353
DM
10791 * po/pl.po: Update from translation team.
10792 * po/bg.po: Likewise.
10793
bc38c906
DM
10794 * manual/contrib.texi (Contributors): Update entries for Hongjiu
10795 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
10796
a181b0d7
DM
107972012-12-11 David S. Miller <davem@davemloft.net>
10798
4641d57e
DM
10799 * po/sv.po: Update from translation team.
10800
f7bc6495
DM
10801 * po/vi.po: Update from translation team.
10802
6fc9048f
DM
10803 * po/cs.po: Update from translation team.
10804
a181b0d7
DM
10805 * po/de.po: Update from translation team.
10806 * po/eo.po: Likewise.
10807 * po/nl.po: Likewise.
10808
f70bfe80
SP
108092012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10810
3c8b4190
SP
10811 [BZ #14246]
10812 * manual/argp.texi (Argp Helper Functions): Move node to follow
10813 Argp Parsing State.
10814
f70bfe80
SP
10815 [BZ #14872]
10816 * manual/conf.texi (Limits on File System Capacity): Mention if
10817 terminating null is included in the max size.
10818
188f0adf
AJ
108192012-12-10 Andreas Jaeger <aj@suse.de>
10820
10821 * po/cs.po: Update from translation team.
10822
56e7d3ad
SP
108232012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10824
10825 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
10826 void pointer and cast to uintptr_t.
10827 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
10828 path.
10829 * sysdeps/s390/s390-64/memcpy.S: Likewise.
10830 * sysdeps/s390/s390-64/memset.S: Likewise.
10831
76f2d2ea 108322012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
10833
10834 [BZ #14833]
10835 * menual/message.texi (Message Translation): Fix typos.
10836 (Helper programs for gettext): Likewise.
10837
67cbf9a2
AS
108382012-12-07 Andreas Schwab <schwab@linux-m68k.org>
10839
10840 [BZ #14898]
10841 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
10842 Change to -1.
10843
682d0e9a
DM
108442012-12-07 David S. Miller <davem@davemloft.net>
10845
10846 * po/libc.pot: Update.
10847
573cd484
RH
108482012-12-07 Richard Henderson <rth@redhat.com>
10849
7e9da188 10850 [BZ #10114]
573cd484
RH
10851 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
10852 normal/normal case to before the switch.
10853 (_FP_DIV): Likewise.
10854
e933a943
MF
108552012-12-06 Carlos O'Donell <carlos@systemhalted.org>
10856 Mike Frysinger <vapier@gentoo.org>
10857
10858 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
10859 check for __NR_fadvise64_64.
10860
82123268
CM
108612012-12-06 Chris Metcalf <cmetcalf@tilera.com>
10862
10863 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
10864 0, not just to plain "0" as a statement.
10865 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
10866 with cw.
10867
d9814526
JM
108682012-12-06 Joseph Myers <joseph@codesourcery.com>
10869
10870 * NEWS: Use sourceware.org in Bugzilla URL.
10871
7728c574
SP
108722012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10873
f16946dd
SP
10874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10875 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10876
5704bbcb
SP
10877 * stdio-common/tst-put-error.c (do_test): Add newline to the
10878 padded test to ensure flush.
10879
17aa0516
JL
108802012-12-05 Jeff Law <law@redhat.com>
10881
10882 * sunrpc/etc.rpc (fedfs_admin): Add entry.
10883
363313b5
JM
108842012-12-05 Joseph Myers <joseph@codesourcery.com>
10885
effbd42a
JM
10886 * README: Don't refer to ports add-on as distributed separately.
10887 Mention AArch64 in list of systems supported in the ports add-on.
10888
87600365
JM
10889 * LICENSES: Add more non-FSF copyright and license notices.
10890
a0d7066a
JM
10891 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
10892 ((unused)).
10893
66ca5a5b
JM
10894 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
10895
363313b5
JM
10896 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
10897 10000 as width of padded output.
10898
b37984ad
JM
108992012-12-04 Joseph Myers <joseph@codesourcery.com>
10900
9003570a
JM
10901 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
10902
b37984ad
JM
10903 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
10904 variable LX with __attribute__ ((unused)).
10905 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10906 Likewise.
10907 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10908 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10909 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
10910 with __attribute__ ((unused)).
10911
c8df52ec
DM
109122012-12-04 David S. Miller <davem@abraco.davemloft.net>
10913
10914 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
10915
b3b099af
JM
109162012-12-04 Joseph Myers <joseph@codesourcery.com>
10917
c33aa6e3
JM
10918 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
10919 (CFLAGS-nldbl-acos.c): New variable.
10920 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
10921 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
10922 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
10923 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
10924 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
10925 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
10926 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
10927 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
10928 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
10929 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
10930 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
10931 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
10932 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
10933 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
10934 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
10935 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
10936 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
10937 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
10938 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
10939 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
10940 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
10941 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
10942 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
10943 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
10944 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
10945 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
10946 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
10947 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
10948 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
10949 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
10950 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
10951 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
10952 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
10953 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
10954 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
10955 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
10956 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
10957 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
10958 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
10959 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
10960 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
10961 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
10962 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
10963 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
10964 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
10965 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
10966 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
10967 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
10968 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
10969 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
10970 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
10971 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
10972 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
10973 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
10974 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
10975 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
10976 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
10977 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
10978 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
10979 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
10980 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
10981 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
10982 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
10983 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
10984 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
10985 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
10986 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
10987 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
10988 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
10989 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
10990 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
10991 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
10992 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
10993 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
10994 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
10995 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
10996 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
10997 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
10998 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
10999 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
11000 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
11001 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
11002 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
11003 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
11004 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
11005 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
11006 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
11007 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
11008 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
11009 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
11010 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
11011 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
11012 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
11013 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
11014 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
11015 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
11016 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
11017
20f0018d
JM
11018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11019 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11020
b3b099af
JM
11021 [BZ #14914]
11022 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
11023 whole low double instead of just low 47 bits when splitting values
11024 into two parts.
11025
029264d1
AM
110262012-12-03 Allan McRae <allan@archlinux.org>
11027
11028 * manual/stdio.texi (Predefined Printf Handlers): Remove
11029 @hsep and @vsep usage.
11030
c9d6789e
MF
110312012-12-03 Mike Frysinger <vapier@gentoo.org>
11032
11033 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
11034 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
11035
4b7634a5
JL
110362012-12-03 Jeff Law <law@redhat.com>
11037
11038 * time/sys/time.h (settimeofday): Do not mark TV argument
11039 as __nonnull.
11040
eb6cbd24
MF
110412012-12-01 Mike Frysinger <vapier@gentoo.org>
11042
11043 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
11044 when currently writing and seek to current position when not.
11045 * libio/Makefile (tests): Remove bug-fclose1.
11046 * libio/bug-fclose1.c: Delete.
11047
f638872a
JM
110482012-12-01 Joseph Myers <joseph@codesourcery.com>
11049
11050 * manual/arith.texi (feenableexcept): Fix typo.
11051 (fedisableexcept): Likewise.
11052
48085d14
RM
110532012-11-30 Roland McGrath <roland@hack.frob.com>
11054
11055 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
11056 second, differently-typed declaration, rather than a cast.
11057
1a538b9f
SP
110582012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11059
11060 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
11061 * include/rpc/svc.h: ... here.
11062
d07f2ff1 110632012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
11064
11065 [BZ #13013]
11066 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
11067 depending n and resplen2 to catch cases where answer
11068 equals answerp2.
11069
c93ec1f0
CD
110702012-11-29 Carlos O'Donell <carlos@systemhalted.org>
11071
11072 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
11073 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
11074
37db69de
MF
110752012-11-29 Mike Frysinger <vapier@gentoo.org>
11076
11077 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
11078
e10c4e4f
RM
110792012-11-29 Roland McGrath <roland@hack.frob.com>
11080
11081 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
11082
2af1b328
JL
110832012-11-28 Jeff Law <law@redhat.com>
11084
11085 [BZ #13761]
11086 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
11087 dataset_temporary. Track alloca usage into alloca_used.
11088 If dataset is large allocate and release it via malloc/free.
11089
111db5b1
FW
110902012-06-04 Florian Weimer <fweimer@redhat.com>
11091
f06cc227 11092 [BZ #14197]
111db5b1
FW
11093 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
11094
dd694abd
DM
110952012-11-28 David S. Miller <davem@davemloft.net>
11096
11097 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11098
9984dd01
JM
110992012-11-28 Joseph Myers <joseph@codesourcery.com>
11100
11101 [BZ #14803]
11102 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
11103 of pi/2 rounded to nearest to 64 bits.
11104 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
11105 nearest to 64 bits.
11106 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
11107 bits.
11108
14bc93a9
JL
111092012-11-28 Jeff Law <law@redhat.com>
11110 Martin Osvald <mosvald@redhat.com>
11111
11112 [BZ #14889]
11113 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
11114 * sunrpc/svc.c: Include time.h.
11115 (__svc_accept_failed): New function.
11116 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
11117 any reason other than EINTR, call __svc_accept_failed.
11118 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
11119 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
11120
e3c6aa3a
AS
111212012-11-28 Andreas Schwab <schwab@suse.de>
11122
11123 * scripts/abilist.awk: Also handle indirect functions in .opd
11124 section.
11125
1bead169
JM
111262012-11-28 Joseph Myers <joseph@codesourcery.com>
11127
11128 [BZ #13881]
11129 * sysdeps/x86/fpu/powl_helper.c: New file.
11130 * sysdeps/x86/fpu/Makefile: Likewise.
11131 * sysdeps/i386/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 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
11136 (p3): New object.
11137 (__ieee754_powl): Use __powl_helper for finite arguments except
11138 integer exponents below 8.
11139 * math/libm-test.inc (pow_test): Add more tests and enable some
11140 previously disabled tests.
11141 * sysdeps/i386/fpu/libm-test-ulps: Update.
11142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11143
0817d63d
SP
111442012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11145 Carlos O'Donell <carlos_odonell@mentor.com>
11146
11147 * nss/makedb.c (is_prime): Assert that input is odd and greater
11148 than 4. Note that fact in a comment too.
11149 (next_prime): Add 4 to input.
11150
de2fd463
SP
111512012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11152
11153 [BZ #11741]
11154 * libio/Makefile (tests): Add test case tst-fwrite-error.
11155 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
11156 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11157 * libio/tst-fwrite-error.c: New test case.
11158
c515fb51
L
111592012-11-26 H.J. Lu <hongjiu.lu@intel.com>
11160
11161 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
11162 before casting to void *.
11163 * include/libc-internal.h (__pointer_type): New macro.
11164 (__integer_if_pointer_type_sub): Likewise.
11165 (__integer_if_pointer_type): Likewise.
11166 (cast_to_integer): Likewise.
11167 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
11168 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
11169 before casting to atomic64_t.
11170 (atomic_exchange_acq): Likewise.
11171 (__arch_exchange_and_add_body): Likewise.
11172 (__arch_add_body): Likewise.
11173 (atomic_add_negative): Likewise.
11174 (atomic_add_zero): Likewise.
11175
4cf77aa9
JM
111762012-11-26 Joseph Myers <joseph@codesourcery.com>
11177
11178 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
11179 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
11180 (add_fdes): Likewise.
11181 (linear_search_fdes): Likewise.
11182 (binary_search_unencoded_fdes): Likewise.
11183
d260b3b4
AS
111842012-11-26 Andreas Schwab <schwab@linux-m68k.org>
11185
11186 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
11187
67060746
AC
111882012-11-24 Adam Conrad <adconrad@0c3.net>
11189
11190 * configure.in: Autodetect C++ header directories.
11191 * configure: Regenerated.
11192
800938a1
MF
111932012-11-23 Mike Frysinger <vapier@gentoo.org>
11194
11195 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
11196
4e6e34e6
AS
111972012-11-23 Andreas Schwab <schwab@linux-m68k.org>
11198
11199 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11200
7c7feb47
JM
112012012-11-22 Joseph Myers <joseph@codesourcery.com>
11202
7184dcdf
JM
11203 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
11204 LDBL_MANT_DIG == 106]: Disable some tests.
11205 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11206 Likewise.
11207 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11208 Likewise.
11209
0a42601f
JM
11210 [BZ #14871]
11211 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
11212 input for small inputs. Return +/- pi/2 for large inputs.
11213 * math/libm-test.inc (atan_test): Add more tests.
11214
79c9b9fe
JM
11215 * sysdeps/generic/unwind-dw2-fde-glibc.c
11216 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
11217 __attribute__ ((unused)).
11218
c60d3bf2
JM
11219 [BZ #14645]
11220 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
11221 x * y if x and y are nonzero and z is zero.
11222
ef1e0867
JM
11223 [BZ #14811]
11224 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
11225 nonzero exponents with absolute value below 0x1p-117 to +/-
11226 0x1p-117.
11227
1468ded3
JM
11228 [BZ #14869]
11229 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
11230 up arguments below 2**-450, not just those below 2**-500.
11231 * math/libm-test.inc (hypot_test): Add another test.
11232
8e27e3cc
JM
11233 [BZ #14868]
11234 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11235 Return a+b for ratio over 2**120, not 2**60.
11236 * math/libm-test.inc (hypot_test): Add another test.
11237
c9c0279b
JM
11238 * math/libm-test.inc (clog_test): Use
11239 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
11240 (clog10_test): Likewise.
11241
7c7feb47
JM
11242 [BZ #6778]
11243 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
11244
fff1530e
AS
112452012-11-22 Andreas Schwab <schwab@suse.de>
11246
11247 * sysdeps/i386/fpu/libm-test-ulps: Update.
11248
94558d30
PT
112492012-11-22 Pino Toscano <toscano.pino@tiscali.it>
11250
11251 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
11252 printf output with newline.
11253
7e1be741
L
112542012-11-21 H.J. Lu <hongjiu.lu@intel.com>
11255
6bfea974
L
11256 [BZ #14865]
11257 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
11258 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
11259 -z nodlopen, -z initfirst and -z execstack support.
11260 * configure: Regenerated.
11261
7e1be741
L
11262 * elf/elf.h (DF_1_NODIRECT): New macro.
11263 (DF_1_IGNMULDEF): Likewise.
11264 (DF_1_NOKSYMS): Likewise.
11265 (DF_1_NOHDR): Likewise.
11266 (DF_1_EDITED): Likewise.
11267 (DF_1_NORELOC): Likewise.
11268 (DF_1_SYMINTPOSE): Likewise.
11269 (DF_1_GLOBAUDIT): Likewise.
11270 (DF_1_SINGLETON): Likewise.
11271 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
11272 DT_1_SUPPORTED_MASK bits.
11273 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
11274
105ce2ce
CD
112752012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
11276
11277 * sysdeps/unix/make-syscalls.sh: Document prefixes.
11278
123be9de
TS
112792012-11-20 Thomas Schwinge <thomas@codesourcery.com>
11280
d072f3f7
TS
11281 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
11282 macro.
11283
123be9de
TS
11284 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
11285 (sendmmsg): Move declarations...
11286 * socket/sys/socket.h: ... here.
11287 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
11288 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
11289 include it from...
11290 * socket/recvmmsg.c: ... this new file.
11291 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
11292 (sendmmsg): Rename to __sendmmsg, create weak alias and make
11293 definition of __sendmmsg hidden.
11294 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11295 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
11296 Move ENOSYS stub into and include it from...
11297 * socket/sendmmsg.c: ... this new file.
11298 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
11299 (sysdep_routines): Move recvmmsg and sendmmsg...
11300 * socket/Makefile (routines): ... here.
11301 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
11302 (GLIBC_PRIVATE): Add __sendmmsg.
11303 * include/sys/socket.h (__sendmmsg): Add declarations.
11304 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
11305 sendmmsg.
11306
cf9a5d18
JM
113072012-11-20 Joseph Myers <joseph@codesourcery.com>
11308
11309 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
11310 variable I1 with __attribute__ ((unused)).
11311 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11312
ecd4caf9
JM
113132012-11-19 Joseph Myers <joseph@codesourcery.com>
11314
be14d48f
JM
11315 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
11316 DUMMY variables with __attribute__ ((unused)).
11317
ecd4caf9
JM
11318 * bits/byteswap.h: Include <bits/types.h>.
11319 (__bswap_64): Use __uint64_t instead of unsigned long long int.
11320
986cab95
PT
113212012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11322
11323 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
11324 string_t. Do not manually set errno.
11325 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
11326 length with __strnlen. Make sure to both set errno and return it on
11327 failure.
11328
6d33cc9d
DM
113292012-11-19 David S. Miller <davem@davemloft.net>
11330
11331 With help from Joseph Myers.
11332 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
11333 very large arguments properly.
11334 * math/libm-test.inc (atan_test): New tests.
11335 (atan2_test): New tests.
11336 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11337 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11338
ee663277
JM
113392012-11-19 Joseph Myers <joseph@codesourcery.com>
11340
877f2d8e
JM
11341 [BZ #14856]
11342 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
11343 Define to 3.
11344
116fc08a
JM
11345 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
11346 [POSIX] (EADDRNOTAVAIL): Likewise.
11347 [POSIX] (EAFNOSUPPORT): Likewise.
11348 [POSIX] (EALREADY): Likewise.
11349 [POSIX] (ECONNABORTED): Likewise.
11350 [POSIX] (ECONNREFUSED): Likewise.
11351 [POSIX] (ECONNRESET): Likewise.
11352 [POSIX] (EDESTADDRREQ): Likewise.
11353 [POSIX] (EDQUOT): Likewise.
11354 [POSIX] (EHOSTUNREACH): Likewise.
11355 [POSIX] (EIDRM): Likewise.
11356 [POSIX] (EISCONN): Likewise.
11357 [POSIX] (ELOOP): Likewise.
11358 [POSIX] (EMULTIHOP): Likewise.
11359 [POSIX] (ENETDOWN): Likewise.
11360 [POSIX] (ENETUNREACH): Likewise.
11361 [POSIX] (ENOBUFS): Likewise.
11362 [POSIX] (ENODATA): Likewise.
11363 [POSIX] (ENOLINK): Likewise.
11364 [POSIX] (ENOMSG): Likewise.
11365 [POSIX] (ENOPROTOOPT): Likewise.
11366 [POSIX] (ENOSR): Likewise.
11367 [POSIX] (ENOSTR): Likewise.
11368 [POSIX] (ENOTCONN): Likewise.
11369 [POSIX] (ENOTSOCK): Likewise.
11370 [POSIX] (EOPNOTSUPP): Likewise.
11371 [POSIX] (EOVERFLOW): Likewise.
11372 [POSIX] (EPROTO): Likewise.
11373 [POSIX] (EPROTONOSUPPORT): Likewise.
11374 [POSIX] (EPROTOTYPE): Likewise.
11375 [POSIX] (ESTALE): Likewise.
11376 [POSIX] (ETIME): Likewise.
11377 [POSIX] (ETXTBSY): Likewise.
11378 [POSIX] (EWOULDBLOCK): Likewise.
11379 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
11380 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
11381 [POSIX] (SEEK_CUR): Likewise.
11382 [POSIX] (SEEK_END): Likewise.
11383 [POSIX || UNIX98] (mode_t): Do not require.
11384 [POSIX] (off_t): Likewise.
11385 [POSIX] (pid_t): Likewise.
11386 [POSIX] (sys/stat.h): Do not allow header.
11387 [POSIX] (unistd.h): Likewise.
11388 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
11389 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
11390 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
11391 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
11392 require.
11393 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
11394 sigevent): Specify elements.
11395 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
11396 entry.
11397 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
11398 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
11399
a483863f
JM
11400 * conform/data/cpio.h-data [POSIX]: Disable whole file.
11401 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
11402 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
11403 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
11404 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
11405 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
11406 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
11407 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
11408 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
11409 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
11410 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
11411 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
11412 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
11413 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
11414 Likewise.
11415 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
11416 Likewise.
11417 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
11418 Likewise.
11419 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
11420 Likewise.
11421 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
11422 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
11423 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
11424 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
11425 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
11426 Specify lower bound on value.
11427 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
11428 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
11429 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
11430 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
11431 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
11432 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
11433 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
11434 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
11435 value.
11436 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
11437 as optional.
11438 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
11439 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
11440 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
11441 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
11442 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
11443 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
11444 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
11445 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
11446 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
11447 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
11448 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
11449 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
11450 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
11451 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
11452 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
11453 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
11454 entry.
11455 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
11456 optional.
11457 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
11458 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
11459 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
11460 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
11461 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
11462 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
11463 Likewise.
11464 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
11465 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
11466 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
11467 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
11468 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
11469 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
11470 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
11471 as optional.
11472 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
11473 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
11474 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
11475 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
11476 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
11477 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
11478 specify as optional.
11479 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
11480 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
11481 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
11482 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
11483 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
11484 [XPG3] (NL_LANGMAX): Likewise.
11485 [POSIX || XPG3] (NL_MSGMAX): Likewise.
11486 [POSIX || XPG3] (NL_NMAX): Likewise.
11487 [POSIX || XPG3] (NL_SETMAX): Likewise.
11488 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
11489 [XPG3] (NZERO): Likewise.
11490 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
11491 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
11492 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
11493 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
11494 (REG_ERANGE): Expect.
11495 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
11496 optional-constant.
11497 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
11498 Use (void) in prototype.
11499 [POSIX] (*_t): Allow.
11500 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
11501 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
11502 (WRDE_BADVAL): Expect.
11503
5ba924e3
JM
11504 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
11505 expect.
11506 [XPG3 || XPG4] (O_RSYNC): Likewise.
11507 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
11508 Likewise.
11509 [XPG3 || XPG4] (pthread_sigmask): Likewise.
11510 [XPG3 || XPG4] (sigqueue): Likewise.
11511 [XPG3 || XPG4] (sigtimedwait): Likewise.
11512 [XPG3 || XPG4] (sigwaitinfo): Likewise.
11513 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
11514 [XPG3 || XPG4] (vsnprintf): Likewise.
11515 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
11516 Likewise.
11517 [XPG3 || XPG4] (blksize_t): Likewise.
11518 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
11519 Likewise.
11520 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
11521 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11522 [XPG3 || XPG4] (struct itimerspec): Likewise.
11523 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
11524 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
11525 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
11526 [XPG3 || XPG4] (clockid_t): Likewise.
11527 [XPG3 || XPG4] (timer_t): Likewise.
11528 [XPG3 || XPG4] (clock_getres): Likewise.
11529 [XPG3 || XPG4] (clock_gettime): Likewise.
11530 [XPG3 || XPG4] (clock_settime): Likewise.
11531 [XPG3 || XPG4] (nanosleep): Likewise.
11532 [XPG3 || XPG4] (timer_create): Likewise.
11533 [XPG3 || XPG4] (timer_delete): Likewise.
11534 [XPG3 || XPG4] (timer_gettime): Likewise.
11535 [XPG3 || XPG4] (timer_getoverrun): Likewise.
11536 [XPG3 || XPG4] (timer_settime): Likewise.
11537 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
11538 [XPG3 || XPG4] (getlogin_r): Likewise.
11539 [XPG3 || XPG4] (pread): Likewise.
11540 [XPG3 || XPG4] (pthread_atfork): Likewise.
11541 [XPG3 || XPG4] (pwrite): Likewise.
11542
ee663277
JM
11543 [BZ #14835]
11544 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
11545 <bits/siginfo.h>.
11546
942caa16
PT
115472012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11548
e19af380
PT
11549 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
11550 finalizing MALLSTREAM.
11551
942caa16
PT
11552 * sysdeps/mach/hurd/syncfs.c: New file.
11553
cfde9b46
SP
115542012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11555
11556 [BZ #14719]
11557 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
11558 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
11559 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
11560 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
11561 (_nss_dns_gethostbyname4_r): Likewise.
11562 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
11563 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
11564
f6da27e5
PH
115652012-11-19 Peng Haitao <penght@cn.fujitsu.com>
11566
11567 [BZ #13763]
11568 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
11569
6665d4a2
SM
115702012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
11571
1f51ee92
SM
11572 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
11573 * elf/cache.c (print_entry): Print ",AArch64" for
11574 FLAG_AARCH64_LIB64
11575
6665d4a2
SM
11576 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
11577 * elf/cache.c (print_entry): Print ",hard-float" for
11578 FLAG_ARM_LIBHF.
11579
05b227bd
DM
115802012-11-18 David S. Miller <davem@davemloft.net>
11581
11582 With help from Joseph Myers.
11583 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
11584 cutoff to 2**-13.
11585 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
11586 cutoff to 2**-25.
11587 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
11588 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
11589 small.
11590 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
11591 * math/libm-test.inc (y0_test): New tests.
11592 (y1_test): New tests.
11593 * sysdeps/i386/fpu/libm-test-ulps: Update.
11594 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11595 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11596
786b0b67
AS
115972012-11-18 Andreas Schwab <schwab@linux-m68k.org>
11598
11599 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
11600 64-bit targets.
11601 * configure: Regenerated.
11602
8e18b86d
DM
116032012-11-17 David S. Miller <davem@davemloft.net>
11604
11605 [BZ #14811]
11606 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
11607 nonzero exponents with absolute value below 0x1p-128 to +/-
11608 0x1p-128.
11609
531f1ae0
JM
116102012-11-17 Joseph Myers <joseph@codesourcery.com>
11611
12df29e2
JM
11612 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
11613
150dc1a0
JM
11614 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
11615
531f1ae0
JM
11616 * posix/getconf-speclist.c: New file.
11617 * posix/posix-envs.def: Likewise.
11618 * posix/confstr.c (START_ENV_GROUP): New macro.
11619 (END_ENV_GROUP): Likewise.
11620 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11621 (KNOWN_PRESENT_ENV_STRING): Likewise.
11622 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11623 (UNKNOWN_ENVIRONMENT): Likewise.
11624 (confstr): Include posix-envs.def instead of handling
11625 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
11626 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
11627 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
11628 (END_ENV_GROUP): Likewise.
11629 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11630 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11631 (UNKNOWN_ENVIRONMENT): Likewise.
11632 (__sysconf): Include posix-envs.def instead of handling associated
11633 cases directly here.
11634 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
11635 preprocessing getconf-speclist.c rather than running getconf or
11636 generating empty file.
11637
a93f9cbc
PT
116382012-11-16 Pino Toscano <toscano.pino@tiscali.it>
11639
11640 * scripts/check-local-headers.sh: Ignore 'mach' headers.
11641
d64d9f87
AL
116422012-11-16 Andrej Lajovic <natrij@gmail.com>
11643
11644 [BZ #14672]
11645 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
11646
447885eb
DM
116472012-11-16 David S. Miller <davem@davemloft.net>
11648
11649 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
11650 smaller than LDBL_EPSILON/2.0L, just return xm1.
11651
bcbf9830
L
116522012-11-16 H.J. Lu <hongjiu.lu@intel.com>
11653
11654 * elf/tst-array1.c (init): Set constructor priority to 1000.
11655 (fini): Set destructor priority to 1000.
11656 * elf/tst-array2dep.c: Likewise.
11657
2b766585
SP
116582012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11659
11660 [BZ #11741]
11661 * libio/fileops.c (_IO_new_file_write): Correctly return error.
11662 (_IO_new_file_xsputn): Also return EOF if none of the input
11663 data was written when overflow failed.
11664 * libio/iopadn.c (_IO_padn): Likewise.
11665 * libio/iowpadn.c (_IO_wpadn): Likewise.
11666 * stdio-common/tst-put-error.c: Add copyright notice.
11667 (do_test): Add case for printing padded string.
11668 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
11669 _IO_padn returned error.
11670 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
11671 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
11672 return EOF.
11673
b1848fde
SP
116742012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11675
11676 * libio/libioP.h: Add comment note that the references to C++
11677 bits are now obsolete.
11678
2fd89785
MS
116792012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11680
11681 * math/libm-test.inc (check_complex): Use asprintf.
11682
e3ea5409
JM
116832012-11-14 Joseph Myers <joseph@codesourcery.com>
11684
11685 * debug/pcprofiledump.c (print_version): Update copyright year.
11686 * malloc/memusagestat.c (print_version): Likewise.
11687
2e64d265
L
116882012-11-14 H.J. Lu <hongjiu.lu@intel.com>
11689
11690 [BZ #14831]
11691 * elf/Makefile (tests): Add tst-audit8.
11692 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
11693 ($(objpfx)tst-audit8.out): New target.
11694 (tst-audit8-ENV): New variable.
11695 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
11696 audit if l_reloc_result is NULL.
11697 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
11698 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
11699 * elf/tst-audit8.c: New file.
11700
c485e4d2
MS
117012012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11702
11703 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
11704 * misc/Makefile (CFLAGS-select.c): Define.
11705 * posix/Makefile (CFLAGS-pause.c): Define.
11706
3a0d900a
DM
117072012-11-13 David S. Miller <davem@davemloft.net>
11708
11709 * crypt/Makefile: Move test targets after toplevel Rules
11710 inclusion. Grab any necessary sysdep routines when linking.
11711 * crypt/md5.c (md5_process_block): Remove define, we will always
11712 name it __md5_process_block.
11713 (md5_finish_ctx): Update md5_process_block call.
11714 (md5_stream): Likewise.
11715 (md5_process_bytes): Likewise.
11716 (md5_process_block): Rename to __md5_process_block and move to ...
11717 * crypt/md5-block.c: ... here.
11718 * crypt/sha256.c (sha256_process_block): Move to ...
11719 * crypt/sha256-block.c: ... here.
11720 * crypt/sha512.c (sha512_process_block): Move to ...
11721 * crypt/sha512-block.c: ... here.
11722 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
11723 path.
11724 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
11725 * sysdeps/sparc/sparc64/multiarch/Makefile
11726 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
11727 crypt subdir.
11728 (localedef-aux): Add md5 crypto assembler when in locale subdir.
11729 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
11730 multiarch changes.
11731 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
11732 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
11733 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
11734 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
11735 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
11736 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
11737 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
11738 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
11739 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
11740 file.
11741 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
11742 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
11743 file.
11744 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
11745
8ca89318
JM
117462012-11-13 Joseph Myers <joseph@codesourcery.com>
11747
e27d476a
JM
11748 * timezone/tzselect.ksh: Update from tzcode git revision
11749 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
11750 * timezone/zdump.c: Likewise.
11751 * timezone/zic.c: Likewise.
11752 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
11753 in TZVERSION setting, not $(PKGVERSION).
11754 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
11755 REPORT_BUGS_TO settings.
11756
8ca89318
JM
11757 [BZ #14838]
11758 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
11759 macro.
11760
47594329
MS
117612012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11762
11763 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
11764 detection to immediately after _FP_ROUND().
11765 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
11766 bits are 0.
11767
640ac3f1
DM
117682012-11-11 David S. Miller <davem@davemloft.net>
11769
11770 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11771 inttypes.h
11772 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
11773 __close rather than their public counterparts.
11774
3d2577bb
JM
117752012-11-10 Joseph Myers <joseph@codesourcery.com>
11776
11777 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
11778 file.
11779 [UNIX98] (sem_timedwait): Do not expect.
11780 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
11781 [XPG4 || UNIX98] (sockatmark): Do not expect.
11782 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
11783 (clock_getcpuclockid): Do not expect.
11784 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
11785 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
11786 Do not expect.
11787 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
11788 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
11789 [UNIX98] (vwscanf): Likewise.
11790 [UNIX98] (vswscanf): Likewise.
11791
fb1ae1ee
JM
117922012-11-09 Joseph Myers <joseph@codesourcery.com>
11793
9ec6f8bd
JM
11794 * timezone/version.h: Remove file.
11795 * timezone/README: Do not refer to version.h.
11796 * timezone/Makefile ($(objpfx)zic.o): New dependency on
11797 $(objpfx)version.h.
11798 ($(objpfx)zdump.o): Likewise.
c3f81911 11799 ($(objpfx)version.h): New target.
9ec6f8bd 11800
0aa8f8a1
JM
11801 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
11802 2012i.
11803 * timezone/README: Don't mention modification to tzselect.ksh.
11804 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
11805 work on unmodified tzselect.ksh. Substitute version numbers in
11806 tzselect.ksh.
11807
4e87147f
JM
11808 * Makefile (format-me): Remove.
11809 (INSTALL): Adjust indentation. Use commands directly instead of
11810 using $(format-me).
11811
8b748aed
JM
11812 * aclocal.m4 (ACX_PKGVERSION): New macro.
11813 (ACX_BUGURL): Likewise.
11814 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
11815 (PKGVERSION): New AC_DEFINE_UNQUOTED.
11816 (REPORT_BUGS_TO): Likewise.
11817 * configure: Regenerated.
11818 * config.h.in (PKGVERSION): New macro.
11819 (REPORT_BUGS_TO): Likewise.
11820 * config.make.in (PKGVERSION): New variable.
11821 (PKGVERSION_TEXI): Likewise.
11822 (REPORT_BUGS_TO): Likewise.
11823 (REPORT_BUGS_TEXI): Likewise.
11824 * Makefile (format-me): Use -I$(common-objpfx)manual.
11825 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
11826 ($(common-objpfx)manual/%): New target.
11827 (manual/%): Remove target.
11828 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
11829 (print_version): Use PKGVERSION.
11830 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
11831 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
11832 and REPORT_BUGS_TO.
11833 ($(objpfx)xtrace): Likewise.
11834 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
11835 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
11836 (print_version): Use PKGVERSION.
11837 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
11838 (do_version): Use PKGVERSION.
11839 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
11840 REPORT_BUGS_TO.
11841 (common-ldd-rewrite): Likewise.
11842 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
11843 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
11844 (print_version): Use PKGVERSION.
11845 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
11846 * elf/pldd.c (argp_program_bug_address): Remove variable.
11847 (more_help): New function.
11848 (argp): Use more_help.
11849 (print_version): Use PKGVERSION.
11850 * elf/sln.c (main): Use PKGVERSION.
11851 (usage): Use REPORT_BUGS_TO.
11852 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
11853 (top level): Use PKGVERSION.
11854 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
11855 (print_version): Use PKGVERSION.
11856 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
11857 (print_version): Use PKGVERSION.
11858 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
11859 (print_version): Use PKGVERSION.
11860 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
11861 (print_version): Use PKGVERSION.
11862 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
11863 (print_version): Use PKGVERSION.
11864 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
11865 (print_version): Use PKGVERSION.
11866 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
11867 and BUGURL.
11868 ($(objpfx)memusage): Likewise.
11869 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
11870 (do_version): Use PKGVERSION.
11871 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
11872 (print_version): Use PKGVERSION.
11873 * malloc/mtrace.pl ($PACKAGE): Remove variable.
11874 ($PKGVERSION): New variable.
11875 ($REPORT_BUGS_TO): Likewise.
11876 (usage): Use $REPORT_BUGS_TO.
11877 (top level): Use $PKGVERSION.
11878 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
11879 ($(objpfx)pkgvers.texi): New rule.
11880 ($(objpfx)stamp-pkgvers): Likewise.
11881 * manual/install.texi: Include pkgvers.texi.
11882 (--with-pkgversion): Document new configure option.
11883 (--with-bugurl): Likewise.
11884 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
11885 than necessarily for this particular distribution. Use
11886 REPORT_BUGS_TO for where to report bugs.
11887 * INSTALL: Regenerated.
11888 * manual/libc.texinfo: Include pkgvers.texi.
11889 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
11890 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
11891 (print_version): Use PKGVERSION.
11892 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
11893 (print_version): Use PKGVERSION.
11894 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
11895 (print_version): Use PKGVERSION.
11896 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
11897 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
11898 macro.
11899 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
11900 (print_version): Use PKGVERSION.
11901 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
11902 (print_version): Use PKGVERSION.
11903 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
11904 and PKGVERSION.
11905
92e4b6a9
JM
11906 * timezone/checktab.awk: Update from tzcode 2012i.
11907 * timezone/ialloc.c: Likewise.
11908 * timezone/private.h: Likewise.
11909 * timezone/scheck.c: Likewise.
11910 * timezone/tzfile.h: Likewise.
11911 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
11912 (TZVERSION): Hardcode tzcode version number.
11913 * timezone/zdump.c: Update from tzcode 2012i.
11914 * timezone/zic.c: Likewise.
11915 * timezone/version.h: New file.
11916 * timezone/README: Describe version.h. Update upstream location.
11917
9bde902c
JM
11918 [BZ #14824]
11919 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
11920 (mktemp): Enable declaration.
11921 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
11922 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
11923 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
11924 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
11925 Likewise.
11926 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
11927 Likewise.
11928 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
11929 Likewise.
11930 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
11931 Likewise.
11932 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
11933 Likewise.
11934 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
11935 Likewise.
11936
fb1ae1ee
JM
11937 [BZ #14821]
11938 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
11939 offset in buffer as u_int32_t not u_long. Consistently use memcpy
11940 for copies of such integer values.
11941 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11942 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11943
2c1adbcb
AJ
119442012-11-09 Andreas Jaeger <aj@suse.de>
11945
11946 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
11947 definitions and declarations that are provided by
11948 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11949
d0f8457e
AK
119502012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11951
3a235abb 11952 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
11953 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
11954 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
11955 definition.
11956
57241e26
MS
119572012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11958
11959 * elf/elf.h: Update comment before AArch64 relocations.
11960
60e8270d
DM
119612012-11-07 David S. Miller <davem@davemloft.net>
11962
11963 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
11964 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11965 (__start_context): Declare.
11966 (__makecontext_ret): Delete.
11967 (__makecontext): Hook up __start_context instead of
11968 __makecontext_ret.
11969 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11970 (sysdep_routines): Add __start_context when in stdlib.
11971
0fbb0fbc
JM
119722012-11-07 Joseph Myers <joseph@codesourcery.com>
11973
11974 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
11975 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
11976 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
11977 hardcoded "nm".
11978 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
11979 (READELF): New variable. Use it instead of hardcoded "readelf".
11980
eb48db7e
L
119812012-11-07 H.J. Lu <hongjiu.lu@intel.com>
11982
11983 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
11984 * sysdeps/x86/Makefile: Here.
11985 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
11986 * sysdeps/x86/tst-xmmymm.sh: This.
11987
05bcf62a
JM
119882012-11-07 Joseph Myers <joseph@codesourcery.com>
11989
c4b6cf53
JM
11990 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11991 expectations.
11992 [UNIX98] (pthread_barrier_t): Do not expect.
11993 [UNIX98] (pthread_barrierattr_t): Likewise.
11994 [UNIX98] (pthread_spinlock_t): Likewise.
11995 [UNIX98] (pthread_barrier_destroy): Likewise.
11996 [UNIX98] (pthread_barrier_init): Likewise.
11997 [UNIX98] (pthread_barrier_wait): Likewise.
11998 [UNIX98] (pthread_barrierattr_destroy): Likewise.
11999 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
12000 [UNIX98] (pthread_barrierattr_init): Likewise.
12001 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
12002 [UNIX98] (pthread_getcpuclockid): Likewise.
12003 [UNIX98] (pthread_mutex_timedlock): Likewise.
12004 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
12005 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
12006 [UNIX98] (pthread_sigmask): Likewise.
12007 [UNIX98] (pthread_spin_destroy): Likewise.
12008 [UNIX98] (pthread_spin_init): Likewise.
12009 [UNIX98] (pthread_spin_lock): Likewise.
12010 [UNIX98] (pthread_spin_trylock): Likewise.
12011 [UNIX98] (pthread_spin_unlock): Likewise.
12012 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
12013 Do not expect.
12014 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
12015 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
12016 [XPG3 || XPG4] (pthread_cond_t): Likewise.
12017 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
12018 [XPG3 || XPG4] (pthread_key_t): Likewise.
12019 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
12020 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
12021 [XPG3 || XPG4] (pthread_once_t): Likewise.
12022 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
12023 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
12024 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
12025 [XPG3 || XPG4] (pthread_t): Likewise.
12026
cbe6e120
JM
12027 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
12028 not expect.
12029 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
12030
1b126443
JM
12031 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
12032 Change function return type to int.
12033
b961a573
JM
12034 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
12035 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
12036 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
12037 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
12038 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
12039 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
12040 [!POSIX] (posix_madvise): Likewise.
12041 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
12042 && !UNIX98].
12043 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
12044 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
12045 (mode_t): Likewise.
12046 (posix_mem_offset): Likewise.
12047 (posix_typed_mem_get_info): Likewise.
12048 (posix_typed_mem_open): Likewise.
12049
9e188909
JM
12050 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
12051 Change condition to [XOPEN2K8].
12052
05bcf62a
JM
12053 * conform/conformtest.pl: Preprocess allow-header data with -x c
12054 instead of from stdin.
12055 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
12056 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
12057 [C99-based standards] (cerfc): Likewise.
12058 [C99-based standards] (cexp2): Likewise.
12059 [C99-based standards] (cexpm1): Likewise.
12060 [C99-based standards] (clog10): Likewise.
12061 [C99-based standards] (clog1p): Likewise.
12062 [C99-based standards] (clog2): Likewise.
12063 [C99-based standards] (clgamma): Likewise.
12064 [C99-based standards] (ctgamma): Likewise.
12065 [C99-based standards] (cerff): Likewise.
12066 [C99-based standards] (cerfcf): Likewise.
12067 [C99-based standards] (cexp2f): Likewise.
12068 [C99-based standards] (cexpm1f): Likewise.
12069 [C99-based standards] (clog10f): Likewise.
12070 [C99-based standards] (clog1pf): Likewise.
12071 [C99-based standards] (clog2f): Likewise.
12072 [C99-based standards] (clgammaf): Likewise.
12073 [C99-based standards] (ctgammaf): Likewise.
12074 [C99-based standards] (cerfl): Likewise.
12075 [C99-based standards] (cerfcl): Likewise.
12076 [C99-based standards] (cexp2l): Likewise.
12077 [C99-based standards] (cexpm1l): Likewise.
12078 [C99-based standards] (clog10l): Likewise.
12079 [C99-based standards] (clog1pl): Likewise.
12080 [C99-based standards] (clog2l): Likewise.
12081 [C99-based standards] (clgammal): Likewise.
12082 [C99-based standards] (ctgammal): Likewise.
12083 * conform/data/inttypes.h-data [C99-based standards]: Include
12084 stdint.h-data. Remove all expectations for stdint.h contents.
12085 [C99-based standards] (PRI*): Do not allow.
12086 [C99-based standards] (SCN*): Likewise.
12087 [C99-based standards] (*_t): Likewise.
12088 [C99-based-standards] (PRId8): Expect macro.
12089 [C99-based-standards] (PRIi8): Likewise.
12090 [C99-based-standards] (PRIo8): Likewise.
12091 [C99-based-standards] (PRIu8): Likewise.
12092 [C99-based-standards] (PRIx8): Likewise.
12093 [C99-based-standards] (PRIX8): Likewise.
12094 [C99-based-standards] (SCNd8): Likewise.
12095 [C99-based-standards] (SCNi8): Likewise.
12096 [C99-based-standards] (SCNo8): Likewise.
12097 [C99-based-standards] (SCNu8): Likewise.
12098 [C99-based-standards] (SCNx8): Likewise.
12099 [C99-based-standards] (PRIdLEAST8): Likewise.
12100 [C99-based-standards] (PRIiLEAST8): Likewise.
12101 [C99-based-standards] (PRIoLEAST8): Likewise.
12102 [C99-based-standards] (PRIuLEAST8): Likewise.
12103 [C99-based-standards] (PRIxLEAST8): Likewise.
12104 [C99-based-standards] (PRIXLEAST8): Likewise.
12105 [C99-based-standards] (SCNdLEAST8): Likewise.
12106 [C99-based-standards] (SCNiLEAST8): Likewise.
12107 [C99-based-standards] (SCNoLEAST8): Likewise.
12108 [C99-based-standards] (SCNuLEAST8): Likewise.
12109 [C99-based-standards] (SCNxLEAST8): Likewise.
12110 [C99-based-standards] (PRIdFAST8): Likewise.
12111 [C99-based-standards] (PRIiFAST8): Likewise.
12112 [C99-based-standards] (PRIoFAST8): Likewise.
12113 [C99-based-standards] (PRIuFAST8): Likewise.
12114 [C99-based-standards] (PRIxFAST8): Likewise.
12115 [C99-based-standards] (PRIXFAST8): Likewise.
12116 [C99-based-standards] (SCNdFAST8): Likewise.
12117 [C99-based-standards] (SCNiFAST8): Likewise.
12118 [C99-based-standards] (SCNoFAST8): Likewise.
12119 [C99-based-standards] (SCNuFAST8): Likewise.
12120 [C99-based-standards] (SCNxFAST8): Likewise.
12121 [C99-based-standards] (PRId16): Likewise.
12122 [C99-based-standards] (PRIi16): Likewise.
12123 [C99-based-standards] (PRIo16): Likewise.
12124 [C99-based-standards] (PRIu16): Likewise.
12125 [C99-based-standards] (PRIx16): Likewise.
12126 [C99-based-standards] (PRIX16): Likewise.
12127 [C99-based-standards] (SCNd16): Likewise.
12128 [C99-based-standards] (SCNi16): Likewise.
12129 [C99-based-standards] (SCNo16): Likewise.
12130 [C99-based-standards] (SCNu16): Likewise.
12131 [C99-based-standards] (SCNx16): Likewise.
12132 [C99-based-standards] (PRIdLEAST16): Likewise.
12133 [C99-based-standards] (PRIiLEAST16): Likewise.
12134 [C99-based-standards] (PRIoLEAST16): Likewise.
12135 [C99-based-standards] (PRIuLEAST16): Likewise.
12136 [C99-based-standards] (PRIxLEAST16): Likewise.
12137 [C99-based-standards] (PRIXLEAST16): Likewise.
12138 [C99-based-standards] (SCNdLEAST16): Likewise.
12139 [C99-based-standards] (SCNiLEAST16): Likewise.
12140 [C99-based-standards] (SCNoLEAST16): Likewise.
12141 [C99-based-standards] (SCNuLEAST16): Likewise.
12142 [C99-based-standards] (SCNxLEAST16): Likewise.
12143 [C99-based-standards] (PRIdFAST16): Likewise.
12144 [C99-based-standards] (PRIiFAST16): Likewise.
12145 [C99-based-standards] (PRIoFAST16): Likewise.
12146 [C99-based-standards] (PRIuFAST16): Likewise.
12147 [C99-based-standards] (PRIxFAST16): Likewise.
12148 [C99-based-standards] (PRIXFAST16): Likewise.
12149 [C99-based-standards] (SCNdFAST16): Likewise.
12150 [C99-based-standards] (SCNiFAST16): Likewise.
12151 [C99-based-standards] (SCNoFAST16): Likewise.
12152 [C99-based-standards] (SCNuFAST16): Likewise.
12153 [C99-based-standards] (SCNxFAST16): Likewise.
12154 [C99-based-standards] (PRId32): Likewise.
12155 [C99-based-standards] (PRIi32): Likewise.
12156 [C99-based-standards] (PRIo32): Likewise.
12157 [C99-based-standards] (PRIu32): Likewise.
12158 [C99-based-standards] (PRIx32): Likewise.
12159 [C99-based-standards] (PRIX32): Likewise.
12160 [C99-based-standards] (SCNd32): Likewise.
12161 [C99-based-standards] (SCNi32): Likewise.
12162 [C99-based-standards] (SCNo32): Likewise.
12163 [C99-based-standards] (SCNu32): Likewise.
12164 [C99-based-standards] (SCNx32): Likewise.
12165 [C99-based-standards] (PRIdLEAST32): Likewise.
12166 [C99-based-standards] (PRIiLEAST32): Likewise.
12167 [C99-based-standards] (PRIoLEAST32): Likewise.
12168 [C99-based-standards] (PRIuLEAST32): Likewise.
12169 [C99-based-standards] (PRIxLEAST32): Likewise.
12170 [C99-based-standards] (PRIXLEAST32): Likewise.
12171 [C99-based-standards] (SCNdLEAST32): Likewise.
12172 [C99-based-standards] (SCNiLEAST32): Likewise.
12173 [C99-based-standards] (SCNoLEAST32): Likewise.
12174 [C99-based-standards] (SCNuLEAST32): Likewise.
12175 [C99-based-standards] (SCNxLEAST32): Likewise.
12176 [C99-based-standards] (PRIdFAST32): Likewise.
12177 [C99-based-standards] (PRIiFAST32): Likewise.
12178 [C99-based-standards] (PRIoFAST32): Likewise.
12179 [C99-based-standards] (PRIuFAST32): Likewise.
12180 [C99-based-standards] (PRIxFAST32): Likewise.
12181 [C99-based-standards] (PRIXFAST32): Likewise.
12182 [C99-based-standards] (SCNdFAST32): Likewise.
12183 [C99-based-standards] (SCNiFAST32): Likewise.
12184 [C99-based-standards] (SCNoFAST32): Likewise.
12185 [C99-based-standards] (SCNuFAST32): Likewise.
12186 [C99-based-standards] (SCNxFAST32): Likewise.
12187 [C99-based-standards] (PRId64): Likewise.
12188 [C99-based-standards] (PRIi64): Likewise.
12189 [C99-based-standards] (PRIo64): Likewise.
12190 [C99-based-standards] (PRIu64): Likewise.
12191 [C99-based-standards] (PRIx64): Likewise.
12192 [C99-based-standards] (PRIX64): Likewise.
12193 [C99-based-standards] (SCNd64): Likewise.
12194 [C99-based-standards] (SCNi64): Likewise.
12195 [C99-based-standards] (SCNo64): Likewise.
12196 [C99-based-standards] (SCNu64): Likewise.
12197 [C99-based-standards] (SCNx64): Likewise.
12198 [C99-based-standards] (PRIdLEAST64): Likewise.
12199 [C99-based-standards] (PRIiLEAST64): Likewise.
12200 [C99-based-standards] (PRIoLEAST64): Likewise.
12201 [C99-based-standards] (PRIuLEAST64): Likewise.
12202 [C99-based-standards] (PRIxLEAST64): Likewise.
12203 [C99-based-standards] (PRIXLEAST64): Likewise.
12204 [C99-based-standards] (SCNdLEAST64): Likewise.
12205 [C99-based-standards] (SCNiLEAST64): Likewise.
12206 [C99-based-standards] (SCNoLEAST64): Likewise.
12207 [C99-based-standards] (SCNuLEAST64): Likewise.
12208 [C99-based-standards] (SCNxLEAST64): Likewise.
12209 [C99-based-standards] (PRIdFAST64): Likewise.
12210 [C99-based-standards] (PRIiFAST64): Likewise.
12211 [C99-based-standards] (PRIoFAST64): Likewise.
12212 [C99-based-standards] (PRIuFAST64): Likewise.
12213 [C99-based-standards] (PRIxFAST64): Likewise.
12214 [C99-based-standards] (PRIXFAST64): Likewise.
12215 [C99-based-standards] (SCNdFAST64): Likewise.
12216 [C99-based-standards] (SCNiFAST64): Likewise.
12217 [C99-based-standards] (SCNoFAST64): Likewise.
12218 [C99-based-standards] (SCNuFAST64): Likewise.
12219 [C99-based-standards] (SCNxFAST64): Likewise.
12220 [C99-based-standards] (PRIdMAX): Likewise.
12221 [C99-based-standards] (PRIiMAX): Likewise.
12222 [C99-based-standards] (PRIoMAX): Likewise.
12223 [C99-based-standards] (PRIuMAX): Likewise.
12224 [C99-based-standards] (PRIxMAX): Likewise.
12225 [C99-based-standards] (PRIXMAX): Likewise.
12226 [C99-based-standards] (SCNdMAX): Likewise.
12227 [C99-based-standards] (SCNiMAX): Likewise.
12228 [C99-based-standards] (SCNoMAX): Likewise.
12229 [C99-based-standards] (SCNuMAX): Likewise.
12230 [C99-based-standards] (SCNxMAX): Likewise.
12231 [C99-based-standards] (PRIdPTR): Likewise.
12232 [C99-based-standards] (PRIiPTR): Likewise.
12233 [C99-based-standards] (PRIoPTR): Likewise.
12234 [C99-based-standards] (PRIuPTR): Likewise.
12235 [C99-based-standards] (PRIxPTR): Likewise.
12236 [C99-based-standards] (PRIXPTR): Likewise.
12237 [C99-based-standards] (SCNdPTR): Likewise.
12238 [C99-based-standards] (SCNiPTR): Likewise.
12239 [C99-based-standards] (SCNoPTR): Likewise.
12240 [C99-based-standards] (SCNuPTR): Likewise.
12241 [C99-based-standards] (SCNxPTR): Likewise.
12242 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
12243 allow.
12244 * conform/data/stdint.h-data: Update comments to clarify
12245 requirements.
12246 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
12247 type.
12248 [C99-based standards] (INT8_MAX): Likewise.
12249 [C99-based standards] (INT16_MIN): Likewise.
12250 [C99-based standards] (INT16_MAX): Likewise.
12251 [C99-based standards] (INT32_MIN): Likewise.
12252 [C99-based standards] (INT32_MAX): Likewise.
12253 [C99-based standards] (INT64_MIN): Likewise.
12254 [C99-based standards] (INT64_MAX): Likewise.
12255 [C99-based standards] (UINT8_MAX): Likewise.
12256 [C99-based standards] (UINT16_MAX): Likewise.
12257 [C99-based standards] (UINT32_MAX): Likewise.
12258 [C99-based standards] (UINT64_MAX): Likewise.
12259 [C99-based standards] (INT_LEAST8_MIN): Likewise.
12260 [C99-based standards] (INT_LEAST8_MAX): Likewise.
12261 [C99-based standards] (INT_LEAST16_MIN): Likewise.
12262 [C99-based standards] (INT_LEAST16_MAX): Likewise.
12263 [C99-based standards] (INT_LEAST32_MIN): Likewise.
12264 [C99-based standards] (INT_LEAST32_MAX): Likewise.
12265 [C99-based standards] (INT_LEAST64_MIN): Likewise.
12266 [C99-based standards] (INT_LEAST64_MAX): Likewise.
12267 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
12268 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
12269 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
12270 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
12271 [C99-based standards] (INT_FAST8_MIN): Likewise.
12272 [C99-based standards] (INT_FAST8_MAX): Likewise.
12273 [C99-based standards] (INT_FAST16_MIN): Likewise.
12274 [C99-based standards] (INT_FAST16_MAX): Likewise.
12275 [C99-based standards] (INT_FAST32_MIN): Likewise.
12276 [C99-based standards] (INT_FAST32_MAX): Likewise.
12277 [C99-based standards] (INT_FAST64_MIN): Likewise.
12278 [C99-based standards] (INT_FAST64_MAX): Likewise.
12279 [C99-based standards] (UINT_FAST8_MAX): Likewise.
12280 [C99-based standards] (UINT_FAST16_MAX): Likewise.
12281 [C99-based standards] (UINT_FAST32_MAX): Likewise.
12282 [C99-based standards] (UINT_FAST64_MAX): Likewise.
12283 [C99-based standards] (INTPTR_MIN): Likewise.
12284 [C99-based standards] (INTPTR_MAX): Likewise.
12285 [C99-based standards] (UINTPTR_MAX): Likewise.
12286 [C99-based standards] (INTMAX_MIN): Likewise.
12287 [C99-based standards] (INTMAX_MAX): Likewise.
12288 [C99-based standards] (UINTMAX_MAX): Likewise.
12289 [C99-based standards] (PTRDIFF_MIN): Likewise.
12290 [C99-based standards] (PTRDIFF_MAX): Likewise.
12291 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
12292 [C99-based standards] (SIZE_MAX): Likewise.
12293 [C99-based standards] (WCHAR_MAX): Likewise.
12294 [C99-based standards] (WINT_MAX): Likewise.
12295 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
12296 constraint on value.
12297 [C99-based standards] (WCHAR_MIN): Likewise.
12298 [C99-based standards] (WINT_MIN): Likewise.
12299 [C99-based standards] (*_t): Allow.
12300 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
12301 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
12302 Include math.h-data and complex.h-data. Remove all expectations
12303 of math.h and complex.h contents.
12304 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
12305 at end of line.
12306 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
12307 (struct tm): Expect tag.
12308 [C99-based-standards] (wcstof): Expect function.
12309 [C99-based-standards] (wcstold): Likewise.
12310 [C99-based-standards] (wcstoll): Likewise.
12311 [C99-based-standards] (wcstoull): Likewise.
12312 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
12313 macro-int-constant. Specify type.
12314 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
12315 constraint on value.
12316 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12317 Specify type.
12318 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
12319 Specify value.
12320 [ISO C standards]: Do not allow headers.
12321 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
12322 wcs[abcdefghijklmnopqrstuvwxyz]*.
12323 [ISO C standards] (*_t): Do not allow.
12324 * conform/data/wctype.h-data [C99-based standards] (iswblank):
12325 Expect function.
12326 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
12327 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12328 Specify type.
12329 [ISO C standards]: Do not allow headers.
12330 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
12331 is[abcdefghijklmnopqrstuvwxyz]*.
12332 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
12333 to[abcdefghijklmnopqrstuvwxyz]*.
12334 [ISO C standards] (*_t): Do not allow.
12335 * conform/data/stdalign.h-data: New file.
12336 * conform/data/stdbool.h-data: Likewise.
12337 * conform/data/stdnoreturn.h-data: Likewise.
12338
7514feb8
RM
123392012-11-07 Roland McGrath <roland@hack.frob.com>
12340
12341 [BZ #14815]
12342 * manual/filesys.texi (Directory Entries): Typo fix.
12343 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
12344
19b2ecfc
MS
123452012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12346
12347 * elf/elf.h (EM_AARCH64): New macro.
12348 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
12349 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
12350 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
12351 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
12352 (R_AARCH64_TLSDESC): Likewise.
12353 (NT_ARM_TLS): Likewise.
12354 (NT_ARM_HW_BREAK): Likewise.
12355 (NT_ARM_HW_WATCH): Likewise.
12356
60e235ee
JM
123572012-11-07 Joseph Myers <joseph@codesourcery.com>
12358
12359 [BZ #14811]
12360 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
12361 (__ieee754_powl): Saturate nonzero exponents with absolute value
12362 below 0x1p-79 to +/- 0x1p-79.
12363 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
12364 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
12365 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
12366 nonzero exponents with absolute value below 0x1p-32 to +/-
12367 0x1p-32.
12368 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
12369 (__ieee754_powl): Saturate nonzero exponents with absolute value
12370 below 0x1p-79 to +/- 0x1p-79.
12371 * math/libm-test.inc (pow_test): Add more tests.
12372
0ab234b7
AK
123732012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12374
12375 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
12376 _dl_s390_cap_flags with kernel. Increase string length.
12377 (_dl_s390_platforms): Add z196 and zEC12.
12378
45832f74
JM
123792012-11-07 Joseph Myers <joseph@codesourcery.com>
12380
12381 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
12382 Change XOPEN21K to XOPEN2K.
12383
19218757
MK
123842012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
12385
12386 * string/memmove.c: Use memcpy when possible.
12387
c5f45721
AJ
123882012-11-06 Andreas Jaeger <aj@suse.de>
12389
12390 * po/eo.po: Update from translation team.
12391
82477c28
JM
123922012-11-06 Joseph Myers <joseph@codesourcery.com>
12393
12394 [BZ #14793]
12395 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
12396 exponent and small x and y exponents, scale x or y up. Increase
12397 by 2 the exponent used in scaling up.
12398 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12399 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12400 * math/libm-test.inc (fma_test): Add more tests.
12401 (fma_test_towardzero): Likewise.
12402 (fma_test_downward): Likewise.
12403 (fma_test_upward): Likewise.
12404
99252c8c
JM
124052012-11-05 Joseph Myers <joseph@codesourcery.com>
12406
acfa885f
JM
12407 [BZ #14805]
12408 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
12409 fenv_t *.
12410
99252c8c
JM
12411 [BZ #14801]
12412 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
12413 namespace for names of struct fields.
12414 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
12415 fenv_t fields.
12416 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
12417 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
12418
d6d98dea
ST
124192012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12420
12421 [BZ #3665]
12422 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
12423
e10bb107
TS
124242012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12425
12426 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
12427 PTR_DEMANGLE.
12428
12429 [BZ #5246]
12430 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
12431 PTR_DEMANGLE.
12432
a0c2940d
JM
124332012-11-04 Joseph Myers <joseph@codesourcery.com>
12434
12435 [BZ #14797]
12436 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
12437 definitely overflow as x * y not x * y + z.
12438 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12439 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12440 * math/libm-test.inc (fma_test): Add more tests.
12441 (fma_test_towardzero): Likewise.
12442 (fma_test_downward): Likewise.
12443 (fma_test_upward): Likewise.
12444
b830319d
TS
124452012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12446
12447 [BZ #157]
12448
12449 * include/stub-tag.h: Remove file.
12450 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
12451 '#include' of it.
12452 * manual/maint.texi (Porting): Don't reference it.
12453 * Makerules ($(objpfx)stubs): Likewise.
12454 * dirent/closedir.c: Don't include <stub-tag.h>.
12455 * dirent/dirfd.c: Likewise.
12456 * dirent/fdopendir.c: Likewise.
12457 * dirent/getdents.c: Likewise.
12458 * dirent/getdents64.c: Likewise.
12459 * dirent/opendir.c: Likewise.
12460 * dirent/readdir.c: Likewise.
12461 * dirent/readdir64.c: Likewise.
12462 * dirent/readdir64_r.c: Likewise.
12463 * dirent/readdir_r.c: Likewise.
12464 * dirent/rewinddir.c: Likewise.
12465 * dirent/seekdir.c: Likewise.
12466 * dirent/telldir.c: Likewise.
12467 * gmon/profil.c: Likewise.
12468 * grp/setgroups.c: Likewise.
12469 * inet/if_index.c: Likewise.
12470 * io/access.c: Likewise.
12471 * io/chdir.c: Likewise.
12472 * io/chmod.c: Likewise.
12473 * io/chown.c: Likewise.
12474 * io/close.c: Likewise.
12475 * io/dup.c: Likewise.
12476 * io/dup2.c: Likewise.
12477 * io/dup3.c: Likewise.
12478 * io/euidaccess.c: Likewise.
12479 * io/faccessat.c: Likewise.
12480 * io/fchdir.c: Likewise.
12481 * io/fchmod.c: Likewise.
12482 * io/fchmodat.c: Likewise.
12483 * io/fchown.c: Likewise.
12484 * io/fchownat.c: Likewise.
12485 * io/fcntl.c: Likewise.
12486 * io/flock.c: Likewise.
12487 * io/fstatfs.c: Likewise.
12488 * io/fstatfs64.c: Likewise.
12489 * io/fstatvfs.c: Likewise.
12490 * io/fstatvfs64.c: Likewise.
12491 * io/futimens.c: Likewise.
12492 * io/fxstat.c: Likewise.
12493 * io/fxstat64.c: Likewise.
12494 * io/fxstatat.c: Likewise.
12495 * io/fxstatat64.c: Likewise.
12496 * io/getcwd.c: Likewise.
12497 * io/isatty.c: Likewise.
12498 * io/lchmod.c: Likewise.
12499 * io/lchown.c: Likewise.
12500 * io/link.c: Likewise.
12501 * io/linkat.c: Likewise.
12502 * io/lseek.c: Likewise.
12503 * io/lseek64.c: Likewise.
12504 * io/lxstat64.c: Likewise.
12505 * io/mkdir.c: Likewise.
12506 * io/mkdirat.c: Likewise.
12507 * io/mkfifo.c: Likewise.
12508 * io/mkfifoat.c: Likewise.
12509 * io/open.c: Likewise.
12510 * io/open64.c: Likewise.
12511 * io/openat.c: Likewise.
12512 * io/openat64.c: Likewise.
12513 * io/pipe.c: Likewise.
12514 * io/pipe2.c: Likewise.
12515 * io/poll.c: Likewise.
12516 * io/posix_fadvise.c: Likewise.
12517 * io/posix_fadvise64.c: Likewise.
12518 * io/posix_fallocate.c: Likewise.
12519 * io/posix_fallocate64.c: Likewise.
12520 * io/read.c: Likewise.
12521 * io/readlink.c: Likewise.
12522 * io/readlinkat.c: Likewise.
12523 * io/rmdir.c: Likewise.
12524 * io/sendfile.c: Likewise.
12525 * io/sendfile64.c: Likewise.
12526 * io/statfs.c: Likewise.
12527 * io/statfs64.c: Likewise.
12528 * io/statvfs.c: Likewise.
12529 * io/statvfs64.c: Likewise.
12530 * io/symlink.c: Likewise.
12531 * io/symlinkat.c: Likewise.
12532 * io/ttyname.c: Likewise.
12533 * io/ttyname_r.c: Likewise.
12534 * io/umask.c: Likewise.
12535 * io/unlink.c: Likewise.
12536 * io/unlinkat.c: Likewise.
12537 * io/utime.c: Likewise.
12538 * io/utimensat.c: Likewise.
12539 * io/write.c: Likewise.
12540 * io/xmknod.c: Likewise.
12541 * io/xmknodat.c: Likewise.
12542 * io/xstat.c: Likewise.
12543 * io/xstat64.c: Likewise.
12544 * login/getpt.c: Likewise.
12545 * login/grantpt.c: Likewise.
12546 * login/unlockpt.c: Likewise.
12547 * math/e_acoshl.c: Likewise.
12548 * math/e_acosl.c: Likewise.
12549 * math/e_asinl.c: Likewise.
12550 * math/e_atan2l.c: Likewise.
12551 * math/e_atanhl.c: Likewise.
12552 * math/e_coshl.c: Likewise.
12553 * math/e_expl.c: Likewise.
12554 * math/e_fmodl.c: Likewise.
12555 * math/e_gammal_r.c: Likewise.
12556 * math/e_hypotl.c: Likewise.
12557 * math/e_j0l.c: Likewise.
12558 * math/e_j1l.c: Likewise.
12559 * math/e_jnl.c: Likewise.
12560 * math/e_lgammal_r.c: Likewise.
12561 * math/e_log10l.c: Likewise.
12562 * math/e_log2l.c: Likewise.
12563 * math/e_logl.c: Likewise.
12564 * math/e_powl.c: Likewise.
12565 * math/e_rem_pio2l.c: Likewise.
12566 * math/e_sinhl.c: Likewise.
12567 * math/e_sqrtl.c: Likewise.
12568 * math/fclrexcpt.c: Likewise.
12569 * math/fedisblxcpt.c: Likewise.
12570 * math/feenablxcpt.c: Likewise.
12571 * math/fegetenv.c: Likewise.
12572 * math/fegetexcept.c: Likewise.
12573 * math/fegetround.c: Likewise.
12574 * math/feholdexcpt.c: Likewise.
12575 * math/fesetenv.c: Likewise.
12576 * math/fesetround.c: Likewise.
12577 * math/feupdateenv.c: Likewise.
12578 * math/fgetexcptflg.c: Likewise.
12579 * math/fraiseexcpt.c: Likewise.
12580 * math/fsetexcptflg.c: Likewise.
12581 * math/ftestexcept.c: Likewise.
12582 * math/k_cosl.c: Likewise.
12583 * math/k_rem_pio2l.c: Likewise.
12584 * math/k_sinl.c: Likewise.
12585 * math/k_tanl.c: Likewise.
12586 * math/s_asinhl.c: Likewise.
12587 * math/s_atanl.c: Likewise.
12588 * math/s_cbrtl.c: Likewise.
12589 * math/s_erfl.c: Likewise.
12590 * math/s_expm1l.c: Likewise.
12591 * math/s_log1pl.c: Likewise.
12592 * math/s_tanhl.c: Likewise.
12593 * misc/acct.c: Likewise.
12594 * misc/brk.c: Likewise.
12595 * misc/chflags.c: Likewise.
12596 * misc/chroot.c: Likewise.
12597 * misc/fchflags.c: Likewise.
12598 * misc/fgetxattr.c: Likewise.
12599 * misc/flistxattr.c: Likewise.
12600 * misc/fremovexattr.c: Likewise.
12601 * misc/fsetxattr.c: Likewise.
12602 * misc/fsync.c: Likewise.
12603 * misc/ftruncate.c: Likewise.
12604 * misc/futimes.c: Likewise.
12605 * misc/futimesat.c: Likewise.
12606 * misc/getdomain.c: Likewise.
12607 * misc/getdtsz.c: Likewise.
12608 * misc/gethostid.c: Likewise.
12609 * misc/gethostname.c: Likewise.
12610 * misc/getloadavg.c: Likewise.
12611 * misc/getpagesize.c: Likewise.
12612 * misc/getsysstats.c: Likewise.
12613 * misc/getxattr.c: Likewise.
12614 * misc/gtty.c: Likewise.
12615 * misc/ioctl.c: Likewise.
12616 * misc/lgetxattr.c: Likewise.
12617 * misc/listxattr.c: Likewise.
12618 * misc/llistxattr.c: Likewise.
12619 * misc/lremovexattr.c: Likewise.
12620 * misc/lsetxattr.c: Likewise.
12621 * misc/lutimes.c: Likewise.
12622 * misc/madvise.c: Likewise.
12623 * misc/mincore.c: Likewise.
12624 * misc/mlock.c: Likewise.
12625 * misc/mlockall.c: Likewise.
12626 * misc/mmap.c: Likewise.
12627 * misc/mprotect.c: Likewise.
12628 * misc/msync.c: Likewise.
12629 * misc/munlock.c: Likewise.
12630 * misc/munlockall.c: Likewise.
12631 * misc/munmap.c: Likewise.
12632 * misc/preadv.c: Likewise.
12633 * misc/preadv64.c: Likewise.
12634 * misc/ptrace.c: Likewise.
12635 * misc/pwritev.c: Likewise.
12636 * misc/pwritev64.c: Likewise.
12637 * misc/readv.c: Likewise.
12638 * misc/reboot.c: Likewise.
12639 * misc/remap_file_pages.c: Likewise.
12640 * misc/removexattr.c: Likewise.
12641 * misc/revoke.c: Likewise.
12642 * misc/select.c: Likewise.
12643 * misc/setdomain.c: Likewise.
12644 * misc/setegid.c: Likewise.
12645 * misc/seteuid.c: Likewise.
12646 * misc/sethostid.c: Likewise.
12647 * misc/sethostname.c: Likewise.
12648 * misc/setregid.c: Likewise.
12649 * misc/setreuid.c: Likewise.
12650 * misc/setxattr.c: Likewise.
12651 * misc/sstk.c: Likewise.
12652 * misc/stty.c: Likewise.
12653 * misc/swapoff.c: Likewise.
12654 * misc/swapon.c: Likewise.
12655 * misc/sync.c: Likewise.
12656 * misc/syncfs.c: Likewise.
12657 * misc/syscall.c: Likewise.
12658 * misc/truncate.c: Likewise.
12659 * misc/ualarm.c: Likewise.
12660 * misc/usleep.c: Likewise.
12661 * misc/ustat.c: Likewise.
12662 * misc/utimes.c: Likewise.
12663 * misc/vhangup.c: Likewise.
12664 * misc/writev.c: Likewise.
12665 * posix/_exit.c: Likewise.
12666 * posix/alarm.c: Likewise.
12667 * posix/execve.c: Likewise.
12668 * posix/fexecve.c: Likewise.
12669 * posix/fork.c: Likewise.
12670 * posix/fpathconf.c: Likewise.
12671 * posix/getaddrinfo.c: Likewise.
12672 * posix/getegid.c: Likewise.
12673 * posix/geteuid.c: Likewise.
12674 * posix/getgid.c: Likewise.
12675 * posix/getgroups.c: Likewise.
12676 * posix/getlogin.c: Likewise.
12677 * posix/getlogin_r.c: Likewise.
12678 * posix/getpgid.c: Likewise.
12679 * posix/getpid.c: Likewise.
12680 * posix/getppid.c: Likewise.
12681 * posix/getresgid.c: Likewise.
12682 * posix/getresuid.c: Likewise.
12683 * posix/getsid.c: Likewise.
12684 * posix/getuid.c: Likewise.
12685 * posix/glob64.c: Likewise.
12686 * posix/nanosleep.c: Likewise.
12687 * posix/pathconf.c: Likewise.
12688 * posix/pause.c: Likewise.
12689 * posix/posix_madvise.c: Likewise.
12690 * posix/pread.c: Likewise.
12691 * posix/pread64.c: Likewise.
12692 * posix/pwrite.c: Likewise.
12693 * posix/pwrite64.c: Likewise.
12694 * posix/sched_getaffinity.c: Likewise.
12695 * posix/sched_getp.c: Likewise.
12696 * posix/sched_gets.c: Likewise.
12697 * posix/sched_primax.c: Likewise.
12698 * posix/sched_primin.c: Likewise.
12699 * posix/sched_rr_gi.c: Likewise.
12700 * posix/sched_setaffinity.c: Likewise.
12701 * posix/sched_setp.c: Likewise.
12702 * posix/sched_sets.c: Likewise.
12703 * posix/sched_yield.c: Likewise.
12704 * posix/setgid.c: Likewise.
12705 * posix/setlogin.c: Likewise.
12706 * posix/setpgid.c: Likewise.
12707 * posix/setresgid.c: Likewise.
12708 * posix/setresuid.c: Likewise.
12709 * posix/setsid.c: Likewise.
12710 * posix/setuid.c: Likewise.
12711 * posix/sleep.c: Likewise.
12712 * posix/spawni.c: Likewise.
12713 * posix/sysconf.c: Likewise.
12714 * posix/times.c: Likewise.
12715 * posix/wait.c: Likewise.
12716 * posix/wait3.c: Likewise.
12717 * posix/wait4.c: Likewise.
12718 * posix/waitpid.c: Likewise.
12719 * resolv/gai_sigqueue.c: Likewise.
12720 * resource/getpriority.c: Likewise.
12721 * resource/getrlimit.c: Likewise.
12722 * resource/getrusage.c: Likewise.
12723 * resource/nice.c: Likewise.
12724 * resource/setpriority.c: Likewise.
12725 * resource/setrlimit.c: Likewise.
12726 * resource/ulimit.c: Likewise.
12727 * rt/aio_cancel.c: Likewise.
12728 * rt/aio_fsync.c: Likewise.
12729 * rt/aio_read.c: Likewise.
12730 * rt/aio_sigqueue.c: Likewise.
12731 * rt/aio_suspend.c: Likewise.
12732 * rt/aio_write.c: Likewise.
12733 * rt/clock_getres.c: Likewise.
12734 * rt/clock_gettime.c: Likewise.
12735 * rt/clock_nanosleep.c: Likewise.
12736 * rt/clock_settime.c: Likewise.
12737 * rt/lio_listio.c: Likewise.
12738 * rt/mq_close.c: Likewise.
12739 * rt/mq_getattr.c: Likewise.
12740 * rt/mq_notify.c: Likewise.
12741 * rt/mq_open.c: Likewise.
12742 * rt/mq_receive.c: Likewise.
12743 * rt/mq_send.c: Likewise.
12744 * rt/mq_setattr.c: Likewise.
12745 * rt/mq_timedreceive.c: Likewise.
12746 * rt/mq_timedsend.c: Likewise.
12747 * rt/mq_unlink.c: Likewise.
12748 * rt/shm_open.c: Likewise.
12749 * rt/shm_unlink.c: Likewise.
12750 * rt/timer_create.c: Likewise.
12751 * rt/timer_delete.c: Likewise.
12752 * rt/timer_getoverr.c: Likewise.
12753 * rt/timer_gettime.c: Likewise.
12754 * rt/timer_settime.c: Likewise.
12755 * setjmp/__longjmp.c: Likewise.
12756 * setjmp/setjmp.c: Likewise.
12757 * signal/kill.c: Likewise.
12758 * signal/killpg.c: Likewise.
12759 * signal/raise.c: Likewise.
12760 * signal/sigaction.c: Likewise.
12761 * signal/sigaltstack.c: Likewise.
12762 * signal/sigblock.c: Likewise.
12763 * signal/sigignore.c: Likewise.
12764 * signal/sigintr.c: Likewise.
12765 * signal/signal.c: Likewise.
12766 * signal/sigpause.c: Likewise.
12767 * signal/sigpending.c: Likewise.
12768 * signal/sigqueue.c: Likewise.
12769 * signal/sigreturn.c: Likewise.
12770 * signal/sigset.c: Likewise.
12771 * signal/sigsetmask.c: Likewise.
12772 * signal/sigstack.c: Likewise.
12773 * signal/sigsuspend.c: Likewise.
12774 * signal/sigtimedwait.c: Likewise.
12775 * signal/sigvec.c: Likewise.
12776 * signal/sigwait.c: Likewise.
12777 * signal/sigwaitinfo.c: Likewise.
12778 * signal/sysv_signal.c: Likewise.
12779 * socket/accept.c: Likewise.
12780 * socket/accept4.c: Likewise.
12781 * socket/bind.c: Likewise.
12782 * socket/connect.c: Likewise.
12783 * socket/getpeername.c: Likewise.
12784 * socket/getsockname.c: Likewise.
12785 * socket/getsockopt.c: Likewise.
12786 * socket/isfdtype.c: Likewise.
12787 * socket/listen.c: Likewise.
12788 * socket/recv.c: Likewise.
12789 * socket/recvfrom.c: Likewise.
12790 * socket/recvmsg.c: Likewise.
12791 * socket/send.c: Likewise.
12792 * socket/sendmsg.c: Likewise.
12793 * socket/sendto.c: Likewise.
12794 * socket/setsockopt.c: Likewise.
12795 * socket/shutdown.c: Likewise.
12796 * socket/sockatmark.c: Likewise.
12797 * socket/socket.c: Likewise.
12798 * socket/socketpair.c: Likewise.
12799 * stdio-common/ctermid.c: Likewise.
12800 * stdio-common/cuserid.c: Likewise.
12801 * stdio-common/remove.c: Likewise.
12802 * stdio-common/rename.c: Likewise.
12803 * stdio-common/renameat.c: Likewise.
12804 * stdio-common/tempname.c: Likewise.
12805 * stdlib/getcontext.c: Likewise.
12806 * stdlib/makecontext.c: Likewise.
12807 * stdlib/setcontext.c: Likewise.
12808 * stdlib/swapcontext.c: Likewise.
12809 * stdlib/system.c: Likewise.
12810 * streams/fattach.c: Likewise.
12811 * streams/fdetach.c: Likewise.
12812 * streams/getmsg.c: Likewise.
12813 * streams/getpmsg.c: Likewise.
12814 * streams/putmsg.c: Likewise.
12815 * streams/putpmsg.c: Likewise.
12816 * sysdeps/unix/bsd/getpt.c: Likewise.
12817 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
12818 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
12819 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12821 Likewise.
12822 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
12823 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12824 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12825 * sysvipc/msgctl.c: Likewise.
12826 * sysvipc/msgget.c: Likewise.
12827 * sysvipc/msgrcv.c: Likewise.
12828 * sysvipc/msgsnd.c: Likewise.
12829 * sysvipc/semctl.c: Likewise.
12830 * sysvipc/semget.c: Likewise.
12831 * sysvipc/semop.c: Likewise.
12832 * sysvipc/semtimedop.c: Likewise.
12833 * sysvipc/shmat.c: Likewise.
12834 * sysvipc/shmctl.c: Likewise.
12835 * sysvipc/shmdt.c: Likewise.
12836 * sysvipc/shmget.c: Likewise.
12837 * termios/tcdrain.c: Likewise.
12838 * termios/tcflow.c: Likewise.
12839 * termios/tcflush.c: Likewise.
12840 * termios/tcgetattr.c: Likewise.
12841 * termios/tcgetpgrp.c: Likewise.
12842 * termios/tcsendbrk.c: Likewise.
12843 * termios/tcsetattr.c: Likewise.
12844 * termios/tcsetpgrp.c: Likewise.
12845 * time/adjtime.c: Likewise.
12846 * time/clock.c: Likewise.
12847 * time/getitimer.c: Likewise.
12848 * time/gettimeofday.c: Likewise.
12849 * time/setitimer.c: Likewise.
12850 * time/settimeofday.c: Likewise.
12851 * time/stime.c: Likewise.
12852 * time/time.c: Likewise.
12853
128542012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 12855
a20492cf
PT
12856 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
12857 /usr/old/bin.
12858
72e182e3
PT
12859 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
12860 instead of spaces.
12861 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
12862
fbeafede
JM
128632012-11-03 Joseph Myers <joseph@codesourcery.com>
12864
5b5b04d6
JM
12865 [BZ #14796]
12866 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
12867 FE_TONEAREST before applying Dekker multiplication and Knuth
12868 addition. Clear inexact exceptions and check for exact zero
12869 results afterwards.
12870 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12871 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12872 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12873 * math/libm-test.inc (fma_test): Add more tests.
12874 (fma_test_towardzero): Likewise.
12875 (fma_test_downward): Likewise.
12876 (fma_test_upward): Likewise.
12877 * sysdeps/generic/math_private.h (default_libc_fesetround): New
12878 function.
12879 (libc_fesetround): New macro.
12880 (libc_fesetroundf): Likewise.
12881 (libc_fesetroundl): Likewise.
12882 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
12883 function.
12884 (libc_fesetround_387): Likewise.
12885 (libc_fesetroundf): New macro.
12886 (libc_fesetround): Likewise.
12887 (libc_fesetroundl): Likewise.
12888 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
12889 function.
12890 (libc_fesetroundf): New macro.
12891 (libc_fesetround): Likewise.
12892 (libc_fesetroundl): Likewise.
12893 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
12894 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
12895 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
12896 libm_hidden_ver.
12897 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
12898 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
12899 libm_hidden_def.
12900 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
12901 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
12902 libm_hidden_ver.
12903 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
12904 libm_hidden_def.
12905
fbeafede
JM
12906 [BZ #3439]
12907 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
12908 integer constant usable in #if and use that to give value to enum
12909 constant.
12910 (FE_DIVBYZERO): Likewise.
12911 (FE_UNDERFLOW): Likewise.
12912 (FE_OVERFLOW): Likewise.
12913 (FE_INVALID): Likewise.
12914 (FE_INVALID_SNAN): Likewise.
12915 (FE_INVALID_ISI): Likewise.
12916 (FE_INVALID_IDI): Likewise.
12917 (FE_INVALID_ZDZ): Likewise.
12918 (FE_INVALID_IMZ): Likewise.
12919 (FE_INVALID_COMPARE): Likewise.
12920 (FE_INVALID_SOFTWARE): Likewise.
12921 (FE_INVALID_SQRT): Likewise.
12922 (FE_INVALID_INTEGER_CONVERSION): Likewise.
12923 (FE_TONEAREST): Likewise.
12924 (FE_TOWARDZERO): Likewise.
12925 (FE_UPWARD): Likewise.
12926 (FE_DOWNWARD): Likewise.
12927 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
12928 (FE_DIVBYZERO): Likewise.
12929 (FE_OVERFLOW): Likewise.
12930 (FE_UNDERFLOW): Likewise.
12931 (FE_INEXACT): Likewise.
12932 (FE_TONEAREST): Likewise.
12933 (FE_DOWNWARD): Likewise.
12934 (FE_UPWARD): Likewise.
12935 (FE_TOWARDZERO): Likewise.
12936 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
12937 (FE_UNDERFLOW): Likewise.
12938 (FE_OVERFLOW): Likewise.
12939 (FE_DIVBYZERO): Likewise.
12940 (FE_INVALID): Likewise.
12941 (FE_TONEAREST): Likewise.
12942 (FE_TOWARDZERO): Likewise.
12943 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
12944 (FE_OVERFLOW): Likewise.
12945 (FE_UNDERFLOW): Likewise.
12946 (FE_DIVBYZERO): Likewise.
12947 (FE_INEXACT): Likewise.
12948 (FE_TONEAREST): Likewise.
12949 (FE_TOWARDZERO): Likewise.
12950 (FE_UPWARD): Likewise.
12951 (FE_DOWNWARD): Likewise.
12952 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
12953 (FE_DIVBYZERO): Likewise.
12954 (FE_OVERFLOW): Likewise.
12955 (FE_UNDERFLOW): Likewise.
12956 (FE_INEXACT): Likewise.
12957 (FE_TONEAREST): Likewise.
12958 (FE_DOWNWARD): Likewise.
12959 (FE_UPWARD): Likewise.
12960 (FE_TOWARDZERO): Likewise.
12961
105ca950
CM
129622012-11-02 Chris Metcalf <cmetcalf@tilera.com>
12963
12964 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
12965
a542b389
AS
129662012-11-03 Andreas Schwab <schwab@linux-m68k.org>
12967
12968 * scripts/cross-test-ssh.sh (command): Use newlines to separate
12969 commands. Quote $PWD.
12970 (blacklist_exports): Don't use remove_newlines. Replace "declare
12971 -x" by "export".
12972 (remove_newlines): Remove.
12973
f62c8abc
L
129742012-11-02 H.J. Lu <hongjiu.lu@intel.com>
12975
12976 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
12977 * stdlib/stdlib.h (atof): Moved to ...
12978 * include/bits/stdlib-float.h: Here. New file.
12979 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
12980 * stdlib/bits/stdlib-float.h: New file.
12981 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
12982 -mno-sse -mno-mmx.
12983 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
12984 <xmmintrin.h>.
12985
0155d5b2
JM
129862012-11-02 Joseph Myers <joseph@codesourcery.com>
12987
a68d0680
JM
12988 * conform/conformtest.pl (@headers): Add fenv.h.
12989 * conform/data/fenv.h-data: New file.
12990 * include/fenv.h [_ISOMAC]: Disable all contents of file except
12991 include of <math/fenv.h>.
12992
caf7f573
JM
12993 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
12994 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
12995 && !UNIX98]. Enables tests for XOPEN2K8.
12996 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
12997 POSIX2008]: Likewise.
12998
6c073ad6
JM
12999 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
13000 (struct rusage): Do not expect type or its members.
13001
0155d5b2
JM
13002 [BZ #3439]
13003 * math/math.h (FP_NAN): Define macro to integer constant usable in
13004 #if and use that to give value to enum constant.
13005 (FP_INFINITE): Likewise.
13006 (FP_ZERO): Likewise.
13007 (FP_SUBNORMAL): Likewise.
13008 (FP_NORMAL): Likewise.
13009
b5dcacb4
AS
130102012-11-02 Andreas Schwab <schwab@linux-m68k.org>
13011
13012 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
13013 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
13014 arguments.
13015
f7934be8
RM
130162012-11-02 Roland McGrath <roland@hack.frob.com>
13017
13018 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
13019 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
13020 autoconf-time if not.
13021 * configure.in: Remove AC_PREREQ.
13022
d7d08bde
TMQMF
130232012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13024
13025 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
13026 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
13027 of the internal implementation.
13028
dcdae19a
JM
130292012-11-02 Joseph Myers <joseph@codesourcery.com>
13030
13031 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
13032 except include of <misc/sys/syslog.h>.
13033
d6cffd3e
AS
130342012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13035
13036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
13037 function returns with a NULL context exit with zero.
13038
b3563932
TMQMF
130392012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13040
13041 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
13042
b288a93d
L
130432012-11-01 H.J. Lu <hongjiu.lu@intel.com>
13044
13045 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
13046 (run_program_cmd): This.
13047 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
13048 (tst_langinfo): New variable. Use it.
13049
a2421a68
SAS
130502012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
13051
13052 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
13053 floating point opcodes.
13054
6f796e1b
TS
130552012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13056
7402596b
TS
13057 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
13058 variable.
13059
d0d4f868
TS
13060 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
13061
6f796e1b
TS
13062 * sysdeps/mach/hurd/powerpc: Remove directory.
13063 * sysdeps/mach/powerpc: Likewise.
13064
4da224a2
AS
130652012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13066
13067 * scripts/check-local-headers.sh: Ignore c++ headers.
13068
341dd673
TS
130692012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13070
13071 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
13072 __libc_cleanup_region_start argument.
13073
473611b2
JM
130742012-11-01 Joseph Myers <joseph@codesourcery.com>
13075
13076 [BZ #14784]
13077 [BZ #14785]
13078 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
13079 x * y using scaling, not as x * y + z.
13080 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13081 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13082 * math/libm-test.inc (fma_test): Add more tests.
13083 (fma_test_towardzero): Likewise.
13084 (fma_test_downward): Likewise.
13085 (fma_test_upward): Likewise.
13086
4078da3d
TS
130872012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13088
13089 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
13090
903252aa
JM
130912012-10-31 Joseph Myers <joseph@codesourcery.com>
13092
13093 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
13094 New variable.
13095
cbc818d0
TS
130962012-10-31 Thomas Schwinge <thomas@codesourcery.com>
13097
13098 * rt/tst-shm.c (worker): Correct checking for mmap failure.
13099
5a03cb1e
AS
131002012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13101
13102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13103 Fix sort order.
13104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13105 Likewise.
13106
90aff2ff
TMQMF
131072012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13108
13109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13110 Fix the order of the list for glibc 2.17.
13111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13112 Likewise.
13113
1818fcb7
AS
131142012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13115
13116 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13117
ef82f4da
JM
131182012-10-31 Joseph Myers <joseph@codesourcery.com>
13119
16a0e2ec
JM
13120 [BZ #14610]
13121 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
13122 for low part of x being zero before using __atanl (y).
13123 * math/libm-test.inc (atan2_test): Add another test.
13124
0eb69512
JM
13125 * manual/install.texi (Configuring and compiling): Document
13126 general use of test-wrapper and test-wrapper-env.
13127 * INSTALL: Regenerated.
13128
ef82f4da
JM
13129 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
13130 (__fma): 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-128/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 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
13138 (__fmal): Do not extract and scale down low bits on after-rounding
13139 systems when result rounded to normal precision would have normal
13140 exponent.
13141 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
13142 macro.
13143 (fma_test): Add more tests.
13144 (fma_test_towardzero): Likewise.
13145 (fma_test_downward): Likewise.
13146 (fma_test_upward): Likewise.
13147
954ef0d9
L
131482012-10-30 H.J. Lu <hongjiu.lu@intel.com>
13149
13150 * sysdeps/i386/tininess.h: Renamed to ...
13151 * sysdeps/x86/tininess.h: This.
13152 * sysdeps/x86_64/tininess.h: Removed.
13153
df61ffb2
JM
131542012-10-30 Joseph Myers <joseph@codesourcery.com>
13155
13156 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
13157 input. Use $(build-program-cmd).
13158 ($(objpfx)tst-array1-static.out): Likewise.
13159 ($(objpfx)tst-array2.out): Likewise.
13160 ($(objpfx)tst-array3.out): Likewise.
13161 ($(objpfx)tst-array4.out): Likewise.
13162 ($(objpfx)tst-array5.out): Likewise.
13163 ($(objpfx)tst-array5-static.out): Likewise.
13164
01767843
CM
131652012-10-30 Chris Metcalf <cmetcalf@tilera.com>
13166
47cc1490
CM
13167 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
13168 if defined.
13169
01767843
CM
13170 * nss/nsswitch.h (nss_interface_function): Provide new
13171 macro for use with NSS functions.
13172 * grp/initgroups.c: Use new macro.
13173 * nss/getXXbyYY.c: Likewise.
13174 * nss/getXXbyYY_r.c: Likewise.
13175 * nss/getXXent.c: Likewise.
13176 * nss/getXXent_r.c: Likewise.
13177 * sysdeps/posix/getaddrinfo.c: Likewise.
13178
8321aa97
AJ
131792012-10-30 Andreas Jaeger <aj@suse.de>
13180
13181 * po/ru.po: Update Russion translation from translation project.
13182
2a27fd6d
JM
131832012-10-30 Joseph Myers <joseph@codesourcery.com>
13184
8627a232
JM
13185 [BZ #14152]
13186 [BZ #14783]
13187 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
13188 result and shift together with sticky bit instead of replicating
13189 round-to-nearest rounding.
13190 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13191 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13192 * math/libm-test.inc (fma_test): Add more tests. Do not permit
13193 missing underflow exceptions.
13194 (fma_test_towardzero): Add more tests.
13195 (fma_test_downward): Likewise.
13196 (fma_test_upward): Likewise.
13197
2a27fd6d
JM
13198 [BZ #14047]
13199 * sysdeps/generic/tininess.h: New file.
13200 * sysdeps/i386/tininess.h: Likewise.
13201 * sysdeps/sh/tininess.h: Likewise.
13202 * sysdeps/x86_64/tininess.h: Likewise.
13203 * stdlib/tst-strtod-underflow.c: Likewise.
13204 * stdlib/tst-tininess.c: Likewise.
13205 * stdlib/strtod_l.c: Include <tininess.h>.
13206 (round_and_return): Do not set errno for exact underflow cases.
13207 Force an underflow exception when setting errno for underflow.
13208 Determine underflow based on rounding to normal precision if
13209 TININESS_AFTER_ROUNDING.
13210 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
13211 ERANGE for exact underflow cases.
13212 * stdlib/Makefile (tests): Add tst-tininess and
13213 tst-strtod-underflow.
13214 ($(objpfx)tst-tininess): Use $(link-libm).
13215 ($(objpfx)tst-strtod-underflow): Likewise.
13216
e7170363
AJ
132172012-10-30 Andreas Jaeger <aj@suse.de>
13218
e5088dc6
AJ
13219 [BZ#14767]
13220 * elf/Makefile (tests): Remove conditional for have-initfini-array
13221 since this is now always required and the variable does not exist
13222 anymore.
13223 (tests-static): Likewise.
13224 (modules-names): Likewise.
13225
e7170363 13226 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
13227
13228 * elf/tst-array1.c (fini_array): Make writeable so that it can be
13229 merged with constructor/destructor.
13230 (init_array): Likewise.
13231 * elf/tst-array2dep.c (fini_array): Likewise.
13232 (init_array): Likewise.
13233
60457d8a
MF
132342012-10-29 Mike Frysinger <vapier@gentoo.org>
13235
13236 * manual/message.texi: Delete @cartouche tags.
13237
8bece752
PT
132382012-10-29 Pino Toscano <toscano.pino@tiscali.it>
13239
94ce799f
PT
13240 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
13241 EOPNOTSUPP.
13242 * sysdeps/mach/hurd/fsync.c: Likewise.
13243
8bece752
PT
13244 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
13245 [_POSIX_REALTIME_SIGNALS]: Change condition to
13246 [_POSIX_REALTIME_SIGNALS > 0].
13247
86ebe6b1
AJ
132482012-10-27 Andreas Jaeger <aj@suse.de>
13249
13250 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
13251 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
13252 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
13253 [__WORDSIZE != 64]: Likewise.
13254
54399c08
L
132552012-10-26 H.J. Lu <hongjiu.lu@intel.com>
13256
13257 * iconvdata/tst-table.sh: Remove ${SHELL}.
13258 * iconvdata/tst-tables.sh: Likewise.
13259
e2211bed
DM
132602012-10-25 David S. Miller <davem@davemloft.net>
13261
13262 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13263 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
13264 of strtoull.
13265
f303f97c
DM
13266 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
13267 ifunc-impl-list.c
13268 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13269 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
13270 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
13271 file.
13272
1e9d84cd
RM
132732012-10-25 Roland McGrath <roland@hack.frob.com>
13274
13275 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13276 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
13277 __getdirentries.
13278
df381762
JM
132792012-10-25 Joseph Myers <joseph@codesourcery.com>
13280 Jim Blandy <jimb@codesourcery.com>
13281
13282 * scripts/cross-test-ssh.sh: New file.
13283 * manual/install.texi (Configuring and compiling): Document use of
13284 cross-test-ssh.sh.
13285 * INSTALL: Regenerated.
13286
bff64913
PT
132872012-10-25 Pino Toscano <toscano.pino@tiscali.it>
13288
13289 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
13290 EOPNOTSUPP.
13291
25fe8932
JM
132922012-10-25 Joseph Myers <joseph@codesourcery.com>
13293
13294 * Makeconfig (run-program-prefix): Fix comment.
13295
cc1290d0
JM
132962012-10-24 Joseph Myers <joseph@codesourcery.com>
13297 Jim Blandy <jimb@codesourcery.com>
13298
13299 * Makeconfig (test-wrapper): New variable,
13300 (test-wrapper-env): Likewise.
13301 [$(cross-compiling) = yes && $(test-wrapper) != ""]
13302 (run-built-tests): Define to yes.
13303 (run-program-prefix): Use $(test-wrapper).
13304 (built-program-cmd): Likewise.
13305 * Rules (make-test-out): Use $(test-wrapper-env) and
13306 $(host-built-program-cmd).
13307 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
13308 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
13309 tst-pathopt.sh.
13310 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
13311 $(test-wrapper-env) to tst-rtld-load-self.sh.
13312 ($(objpfx)order2.out): Use $(test-wrapper).
13313 ($(objpfx)tst-initorder.out): Likewise.
13314 ($(objpfx)tst-initorder2.out): Likewise.
13315 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
13316 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
13317 (test_wrapper_env): New variable. Use it to run ld.so.
13318 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
13319 Use it to run ld.so.
13320 (test_wrapper_env): Likewise.
13321 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
13322 $(test-wrapper) to run-iconv-test.sh.
13323 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
13324 (ICONV): Use $test_wrapper.
13325 * posix/Makefile ($(objpfx)globtest.out): Pass
13326 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
13327 globtest.sh, not $(run-program-prefix).
13328 * posix/globtest.sh (run_via_rtld_prefix): New variable.
13329 (test_wrapper): Likewise.
13330 (test_wrapper_env): Likewise. Use it to run globtest with HOME
13331 set together with run_via_rtld_prefix.
13332 (run_program_prefix): Define in terms of test_wrapper and
13333 run_via_rtld_prefix.
13334
6e6249d0
RM
133352012-10-24 Roland McGrath <roland@hack.frob.com>
13336
13337 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
13338 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
13339 Targets removed.
13340
13341 [BZ #14743]
13342 * include/time.h: Remove librt_hidden_proto (clock_gettime).
13343 Declare __clock_getres, __clock_gettime, __clock_settime,
13344 __clock_nanosleep, and __clock_getcpuclockid.
13345 * rt/clock_gettime.c: Define __clock_gettime as an alias.
13346 Remove librt_hidden_def (clock_gettime).
13347 * sysdeps/unix/clock_gettime.c: Likewise.
13348 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
13349 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13350 * rt/clock_getres.c: Define __clock_getres as an alias.
13351 * sysdeps/posix/clock_getres.c: Likewise.
13352 * rt/clock_settime.c: Define __clock_settime as an alias.
13353 * sysdeps/unix/clock_settime.c: Likewise.
13354 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
13355 * sysdeps/unix/clock_nanosleep.c: Likewise.
13356 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13357 * rt/clock-compat.c: New file.
13358 * rt/Makefile (librt-routines): Add clock-compat and move
13359 $(clock-routines) to ...
13360 (routines): ... here, new variable.
13361 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
13362 Don't add get_clockfreq here.
13363 * rt/Versions (libc: GLIBC_2.17): New version set.
13364 Add clock_* symbols here.
13365 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
13366 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
13367 (GLIBC_2.17): Add clock_* symbols.
13368 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13369 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13370 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13372 Likewise.
13373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13374 Likewise.
13375 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13376 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13377 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13379 * NEWS: Mention the move.
13380
13381 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13382 Use __open, __read, __close rather than their public counterparts.
13383 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13384 (__get_clockfreq_via_cpuinfo): Likewise.
13385 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
13386 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
13387
13388 * config.h.in (HAVE_IFUNC): New #undef.
13389 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
13390 was successful.
13391 * configure: Regenerated.
13392
0cae3f4b
MF
133932012-10-24 Mike Frysinger <vapier@gentoo.org>
13394
13395 * configure.in: Move READELF check to start of file.
13396 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
13397 libc_cv_asm_gnu_indirect_function in the process.
13398 * configure: Regenerated.
13399
8175a253
MF
134002012-10-24 Mike Frysinger <vapier@gentoo.org>
13401
13402 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
13403 send the output to /dev/null.
13404 (libc_cv_cc_with_libunwind): Likewise.
13405 (libc_cv_as_noexecstack): Likewise.
13406 * configure: Regenerate.
13407
0708a7d1
JM
134082012-10-24 Joseph Myers <joseph@codesourcery.com>
13409
10b40d85
JM
13410 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
13411
0708a7d1
JM
13412 * posix/globtest.sh (TMPDIR): Do not set.
13413 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
13414 (testout): Likewise.
13415
9fddec1a
AJ
134162012-10-24 Andreas Jaeger <aj@suse.de>
13417
3a8db22f
AJ
13418 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
13419 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
13420 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
13421 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
13422 posix_fadvise64, posix_fallocate64.
13423
9fddec1a
AJ
13424 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
13425 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
13426 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
13427 Likewise.
13428 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
13429 Likewise.
13430 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
13431
13432 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
13433 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
13434 <bits/fcntl-linux.h>.
13435 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
13436
13437 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
13438 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
13439 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
13440 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
13441 [__WORDSIZE != 64]: Likewise.
13442
ebfd1bbd
JM
134432012-10-23 Joseph Myers <joseph@codesourcery.com>
13444
03ac099f
JM
13445 * Makeconfig (run-built-tests): New variable.
13446 * Rules [$(cross-compiling) = yes]: Change condition to
13447 [$(run-built-tests) = no].
13448 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
13449 to [$(run-built-tests) = yes].
13450 * elf/Makefile [$(cross-compiling) = no]: Likewise
13451 * grp/Makefile [$(cross-compiling) = no]: Likewise.
13452 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
13453 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
13454 * intl/Makefile [$(cross-compiling) = no]: Likewise.
13455 * io/Makefile [$(cross-compiling) = no]: Likewise.
13456 * libio/Makefile [$(cross-compiling) = no]: Likewise.
13457 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
13458 * misc/Makefile [$(cross-compiling) = no]: Likewise.
13459 * posix/Makefile [$(cross-compiling) = no]: Likewise.
13460 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
13461 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
13462 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
13463 * string/Makefile [$(cross-compiling) = no]: Likewise.
13464
ebfd1bbd
JM
13465 * posix/Makefile ($(objpfx)globtest.out): Pass
13466 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
13467 $(rtld-installed-name).
13468 * posix/globtest.sh (elf_objpfx): Remove variable.
13469 (rtld_installed_name): Likewise.
13470 (library_path): Likewise.
13471 (run_program_prefix): New variable. Use for running globtest
13472 binary.
13473
166bca24
JB
134742012-10-23 Jim Blandy <jimb@codesourcery.com>
13475 Joseph Myers <joseph@codesourcery.com>
13476
13477 * Makeconfig (host-built-program-cmd): New variable.
13478 * elf/Makefile (tst-stackguard1-ARGS): Use
13479 $(host-built-program-cmd).
13480 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
13481 (tst-spawn-ARGS): Likewise.
13482 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
13483
88866099
JM
134842012-10-23 Joseph Myers <joseph@codesourcery.com>
13485 Jim Blandy <jimb@codesourcery.com>
13486
13487 * Makeconfig (run-via-rtld-prefix): New variable.
13488 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
13489 (built-program-cmd): Likewise.
13490
b4b4c296
AJ
134912012-10-22 Andreas Jaeger <aj@suse.de>
13492
13493 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
13494 __O_RSYNC if it exists, otherwise to O_SYNC.
13495
6fb54a22
JB
134962012-10-22 Jim Blandy <jimb@codesourcery.com>
13497 Joseph Myers <joseph@codesourcery.com>
13498
13499 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
13500 /dev/null.
13501 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
13502 from /dev/null
13503 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
13504 /dev/null.
13505
481b90b9
AJ
135062012-10-22 Andreas Jaeger <aj@suse.de>
13507
2a0e2669
AJ
13508 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
13509 Define always.
13510 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
13511
76e38f9a
AJ
13512 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13513 bits/fcntl-linux.h.
13514
7cd37b43
AJ
13515 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
13516 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
13517
481b90b9
AJ
13518 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
13519 to __O_LARGEFILE.
13520 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
13521 to __O_LARGEFILE.
13522
aba75984
JB
135232012-10-21 Jim Blandy <jimb@codesourcery.com>
13524 Joseph Myers <joseph@codesourcery.com>
13525
13526 * config.make.in (NM): New variable.
13527
88d4247f
AJ
135282012-10-21 Andreas Jaeger <aj@suse.de>
13529
13530 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
13531 definitions and declarations that are provided by
13532 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13533
f2eed205
L
135342012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13535
13536 [BZ #14683]
13537 * elf/Makefile (tests-static): Add tst-leaks1-static.
13538 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
13539 ($(objpfx)tst-leaks1-static): New rule.
13540 ($(objpfx)tst-leaks1-static-mem): Likewise.
13541 (tst-leaks1-static-ENV): New macro.
13542 * elf/dl-open.c (dl_open_worker): Check the main application
13543 only if SHARED is defined.
13544 * elf/tst-leaks1-static.c: New file.
13545
335e6931
AJ
135462012-10-20 Andreas Jaeger <aj@suse.de>
13547
13548 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
13549 generic values for Linux.
13550 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
13551 and declarations that are provided by <bits/fcntl-linux.h> and
13552 include <bits/fcntl-linux.h>.
13553 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13554 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13555
ac5c94d3
RM
135562012-10-20 Roland McGrath <roland@hack.frob.com>
13557
13558 * io/fcntl.h: Move include of <bits/types.h> to the top and
13559 include it unconditionally.
13560
de54b33a
L
135612012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13562
228cfb01
L
13563 * wcsmbs/Makefile (tests-ifunc): New variable.
13564 (tests): Add $(tests-ifunc).
13565 * wcsmbs/test-wcschr-ifunc.c: New file.
13566 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13567 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13568 * wcsmbs/test-wcslen-ifunc.c: Likewise.
13569 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13570 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13571
69f07e5f
L
13572 * string/Makefile (tests-ifunc): New variable.
13573 (tests): Add $(tests-ifunc).
13574 * string/test-memccpy.c (TEST_NAME): New macro.
13575 * string/test-memchr.c (TEST_NAME): Likewise.
13576 * string/test-memcmp.c (TEST_NAME): Likewise.
13577 * string/test-memcpy.c (TEST_NAME): Likewise.
13578 * string/test-memmem.c (TEST_NAME): Likewise.
13579 * string/test-memmove.c (TEST_NAME): Likewise.
13580 * string/test-memset.c (TEST_NAME): Likewise.
13581 * string/test-rawmemchr.c (TEST_NAME): Likewise.
13582 * string/test-stpcpy.c (TEST_NAME): Likewise.
13583 * string/test-stpncpy.c (TEST_NAME): Likewise.
13584 * string/test-strcasecmp.c (TEST_NAME): Likewise.
13585 * string/test-strcasestr.c (TEST_NAME): Likewise.
13586 * string/test-strcat.c (TEST_NAME): Likewise.
13587 * string/test-strchr.c (TEST_NAME): Likewise.
13588 * string/test-strcmp.c(TEST_NAME): Likewise.
13589 * string/test-strcpy.c (TEST_NAME): Likewise.
13590 * string/test-strcspn.c (TEST_NAME): Likewise.
13591 * string/test-strlen.c (TEST_NAME): Likewise.
13592 * string/test-strncasecmp.c (TEST_NAME): Likewise.
13593 * string/test-strncmp.c (TEST_NAME): Likewise.
13594 * string/test-strncpy.c (TEST_NAME): Likewise.
13595 * string/test-strnlen.c (TEST_NAME): Likewise.
13596 * string/test-strpbrk.c (TEST_NAME): Likewise.
13597 * string/test-strrchr.c (TEST_NAME): Likewise.
13598 * string/test-strspn.c (TEST_NAME): Likewise.
13599 * string/test-strstr.c (TEST_NAME): Likewise.
13600 * string/test-bcopy-ifunc.c: New file.
13601 * string/test-bzero-ifunc.c: Likewise.
13602 * string/test-memccpy-ifunc.c: Likewise.
13603 * string/test-memchr-ifunc.c: Likewise.
13604 * string/test-memcmp-ifunc.c: Likewise.
13605 * string/test-memcpy-ifunc.c: Likewise.
13606 * string/test-memmem-ifunc.c: Likewise.
13607 * string/test-memmove-ifunc.c: Likewise.
13608 * string/test-mempcpy-ifunc.c: Likewise.
13609 * string/test-memset-ifunc.c: Likewise.
13610 * string/test-rawmemchr-ifunc.c: Likewise.
13611 * string/test-stpcpy-ifunc.c: Likewise.
13612 * string/test-stpncpy-ifunc.c: Likewise.
13613 * string/test-strcasecmp-ifunc.c: Likewise.
13614 * string/test-strcasestr-ifunc.c: Likewise.
13615 * string/test-strcat-ifunc.c: Likewise.
13616 * string/test-strchr-ifunc.c: Likewise.
13617 * string/test-strchrnul-ifunc.c: Likewise.
13618 * string/test-strcmp-ifunc.c: Likewise.
13619 * string/test-strcpy-ifunc.c: Likewise.
13620 * string/test-strcspn-ifunc.c: Likewise.
13621 * string/test-strlen-ifunc.c: Likewise.
13622 * string/test-strncasecmp-ifunc.c: Likewise.
13623 * string/test-strncat-ifunc.c: Likewise.
13624 * string/test-strncmp-ifunc.c: Likewise.
13625 * string/test-strncpy-ifunc.c: Likewise.
13626 * string/test-strnlen-ifunc.c: Likewise.
13627 * string/test-strpbrk-ifunc.c: Likewise.
13628 * string/test-strrchr-ifunc.c: Likewise.
13629 * string/test-strspn-ifunc.c: Likewise.
13630 * string/test-strstr-ifunc.c: Likewise.
13631
de54b33a
L
13632 * debug/Makefile (tests-ifunc): New variable.
13633 (tests): Add $(tests-ifunc).
13634 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
13635 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
13636 * debug/test-stpcpy_chk-ifunc.c: New file.
13637 * debug/test-strcpy_chk-ifunc.c: Likewise.
13638
88481c16
SP
136392012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13640
13641 [BZ #13601]
13642 * elf/dl-load.c (open_verify): Retry read if the entire ELF
13643 header is not read in.
13644
135948bd
JM
136452012-10-19 Joseph Myers <joseph@codesourcery.com>
13646
89f1c388
JM
13647 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
13648 script to $(SHELL) as $<. Pass $(common-objpfx) to script
13649 directly. Pass built executable to script as
13650 $(built-program-cmd).
13651 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
13652 $testprogram without using LD_LIBRARY_PATH and $ldso.
13653
e40a0d21
JM
13654 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
13655 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
13656 $(rtld-installed-name).
13657 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
13658 (rtld_installed_name): Likewise.
13659 (library_path): Likewise.
13660 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
13661 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
13662 $(run-program-prefix) to tst-tables.sh.
13663 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
13664 it to run tst-table-from and tst-table-to.
13665 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
13666 Pass it to tst-table.sh.
13667 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
13668 $(run-program-prefix) to tst-gettext.sh.
13669 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
13670 tst-translit.sh.
13671 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
13672 tst-gettext2.sh.
13673 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
13674 to run tst-gettext.
13675 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
13676 to run tst-gettext2.
13677 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
13678 to run tst-translit.
13679 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
13680 $(run-program-prefix) to tst-mtrace.sh.
13681 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
13682 to run tst-mtrace.
13683 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
13684 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
13685 $(rtld-installed-name).
13686 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
13687 (rtld_installed_name): Likewise.
13688 (run_program_prefix): New variable. Use it to run wordexp-test.
13689
728e272a
JM
13690 * Makeconfig (ARCH): Remove all definitions.
13691 (machine): Likewise.
13692 [ARCH]: Remove conditional code.
13693 [!objdir]: Give error.
13694 [!objdir] (objpfx): Remove.
13695 [!objdir] (common-objpfx): Likewise.
13696 [!objdir] (common-objdir): Likewise.
13697 * configure.in (config_makefile): Remove. Hardcode Makefile in
13698 AC_CONFIG_FILES call.
13699 * configure: Regenerated.
13700
d528cdcf
JM
13701 [BZ #13888]
13702 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
13703 or TMPDIR.
13704 (testout): Likewise.
13705
135948bd
JM
13706 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
13707 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
13708 $(rtld-installed-name).
13709 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
13710 (rtld_installed_name): Likwise.
13711 (runit): Remove function.
13712 (run_getconf): New variable, Use it for running getconf binary.
13713
38c78296
L
137142012-10-18 H.J. Lu <hongjiu.lu@intel.com>
13715
13716 [BZ #14716]
13717 * string/test-memmem.c (check_result): New function.
13718 (do_one_test): Use it.
13719 (check1): New function.
13720 (test_main): Use it.
13721
d077f65f
MT
137222012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
13723
13724 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
13725
ced52c71
JM
137262012-10-18 Joseph Myers <joseph@codesourcery.com>
13727
13728 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
13729 (_G_LSEEK64): Likewise.
13730 (_G_MMAP64): Likewise.
13731 (_G_FSTAT64): Likewise.
13732 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
13733 (_G_LSEEK64): Likewise.
13734 (_G_MMAP64): Likewise.
13735 (_G_FSTAT64): Likewise.
13736 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
13737 unconditional. Call __mmap64 directly.
13738 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
13739 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
13740 __lseek64 directly.
13741 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
13742 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
13743 __mmap64 directly.
13744 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
13745 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
13746 __lseek64 directly.
13747 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
13748 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
13749 __lseek64 directly.
13750 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
13751 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
13752 __lseek64 directly.
13753 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
13754 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
13755 __fxstat64 directly.
13756 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
13757 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
13758 unconditional.
13759 (freopen64) [!_G_OPEN64]: Remove conditional code.
13760 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
13761 unconditional.
13762 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
13763 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
13764 unconditional.
13765 (ftello64) [!_G_LSEEK64]: Remove conditional code.
13766 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
13767 unconditional.
13768 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13769 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
13770 unconditional.
13771 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
13772 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
13773 unconditional.
13774 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13775 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
13776 unconditional.
13777 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13778 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
13779 unconditional.
13780 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13781
b741de23
SP
137822012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13783
13784 [BZ #12140]
13785 * manual/memory.texi (Malloc Tunable Parameters): Add note
13786 about free list pointers overwriting some perturb bytes.
13787 Wording suggested by Roland McGrath.
13788
f9b9d9c9
JM
137892012-10-17 Joseph Myers <joseph@codesourcery.com>
13790
13791 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
13792 (lgamma_test): Likewise.
13793 (tgamma_test): Likewise.
13794
172a631a
FW
137952012-10-16 Florian Weimer <fweimer@redhat.com>
13796
13797 [BZ #14700]
13798 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
13799 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
13800
e9f37252
MK
138012012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
13802
13803 * NEWS: Mention BZ #14716.
13804 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
13805 when removing AVAILABLE1_USES_J macro.
13806
d394eb74
L
138072012-10-12 H.J. Lu <hongjiu.lu@intel.com>
13808
13809 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
13810 (__bswap_64): __uint64_t for unsigned 64-bit int.
13811
ca38dc17
AS
138122012-10-12 Andreas Schwab <schwab@linux-m68k.org>
13813
13814 * include/string.h (memmem): Declare libc hidden alias.
13815 * string/memmem.c (memmem): Define libc hidden alias.
13816 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
13817 __read, __close instead of open, read, close.
13818
9a387d1f
L
138192012-10-11 H.J. Lu <hongjiu.lu@intel.com>
13820
ac49ecaf
L
13821 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
13822 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
13823 global and hidden.
13824 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
13825 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
13826 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
13827 Likewise.
13828 (__rawmemchr_sse2): Likewise.
13829 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
13830 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
13831 (__strchr_sse2): Likewise.
13832 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
13833 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
13834 (__strcasecmp_sse2): Likewise.
13835 (__strncasecmp_sse2): Likewise.
13836 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
13837 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
13838 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
13839 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
13840 (__strrchr_sse2): Likewise.
13841 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
13842 ifunc-impl-list.c.
13843 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13844 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13845 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13846 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13847 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13848 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13849 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13850 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13851 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
13852 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
13853 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
13854 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
13855 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
13856 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13857 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13858 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13859 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13860 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13861 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
13862 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
13863 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
13864 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
13865 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
13866 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13867 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
13868 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13869 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13870 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13871 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13872 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13873
b090e8ea
L
13874 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
13875 global and hidden.
13876 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
13877 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
13878 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
13879 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
13880 Likewise.
13881 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
13882 Likewise.
13883 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
13884 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
13885 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
13886 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
13887 ifunc-impl-list.c.
13888 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13889 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13890 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13891 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13892 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13893 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13894 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13895 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13896 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13897 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13898 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13899 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13900 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13901 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13902 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13903 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13904 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13905 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
13906 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13907 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13908 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13909 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13910 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13911 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13912 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13913 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13914 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13915 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13916 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13917 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13918 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13919 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13920 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13921 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
13922 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13923 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13924 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13925 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13926 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13927 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13928 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
13929
11dd4af6
L
13930 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
13931 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
13932 * include/ifunc-impl-list.h: New file.
13933 * misc/ifunc-impl-list.c: Likewise.
13934 * misc/Makefile (routines): Add ifunc-impl-list.
13935 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
13936 * string/test-string.h: Include <ifunc-impl-list.h>.
13937 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
13938 impl_array): New variables.
13939 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
13940 are defined.
13941 (test_init): Call __libc_ifunc_impl_list to initialize
13942 func_list if TEST_IFUNC and TEST_NAME are defined.
13943
9a387d1f
L
13944 * string/Makefile (strop-tests): Add bcopy and bzero.
13945 * string/test-bcopy.c: New file.
13946 * string/test-bzero.c: Likewise.
13947 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
13948 defined.
13949 * string/test-memset.c: Support bzero test if TEST_BZERO is
13950 defined.
13951 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
13952 __libc_memmove.
13953 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13954 __libc_memset.
13955 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13956 of memset.
13957
472371b9
JM
139582012-10-10 Joseph Myers <joseph@codesourcery.com>
13959
1e4a9536
JM
13960 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13961 * configure: Regenerated.
13962
d173d12e
JM
13963 * Makeconfig (+link-static-before-libc): Don't include
13964 $(link-static-libc).
13965
472371b9
JM
13966 * libio/libio.h (_IO_pos_t): Remove.
13967
89a3ad0b
AO
139682012-10-10 Alexandre Oliva <aoliva@redhat.com>
13969
13970 * NEWS: Add note about FIPS mode. Wording suggested by Roland
13971 McGrath.
13972
e7451425
AO
139732012-10-10 Alexandre Oliva <aoliva@redhat.com>
13974
13975 * crypt/crypt-entry.c: Include fips-private.h.
13976 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
13977 * crypt/md5c-test.c (main): Tolerate disabled MD5.
13978 * sysdeps/unix/sysv/linux/fips-private.h: New file.
13979 * sysdeps/generic/fips-private.h: New file, dummy fallback.
13980
4ba74a35
AO
139812012-10-10 Alexandre Oliva <aoliva@redhat.com>
13982
13983 * crypt/crypt-private.h: Include stdbool.h.
13984 (_ufc_setup_salt_r): Return bool.
13985 * crypt/crypt-entry.c: Include errno.h.
13986 (__crypt_r): Return NULL with EINVAL for bad salt.
13987 * crypt/crypt_util.c (bad_for_salt): New.
13988 (_ufc_setup_salt_r): Check that salt is long enough and within
13989 the specified alphabet.
13990 * crypt/badsalttest.c: New file.
13991 * crypt/Makefile (tests): Add it.
13992 ($(objpfx)badsalttest): New.
13993
f96f1242
MK
139942012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
13995
13996 * NEWS: Add entry for BZ #14602.
13997
0e8e0c1c
JM
139982012-10-09 Joseph Myers <joseph@codesourcery.com>
13999
14000 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
14001 type-generic.
14002 * math/libm-test.inc: Update comment listing what functions and
14003 macros are tested.
14004 (isgreater_test): New function.
14005 (isgreaterequal_test): Likewise.
14006 (isless_test): Likewise.
14007 (islessequal_test): Likewise.
14008 (islessgreater_test): Likewise.
14009 (isunordered_test): Likewise.
14010 (main): Call the new functions.
14011
273edc5e
RM
140122012-10-09 Roland McGrath <roland@hack.frob.com>
14013
b8493de0
RM
14014 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
14015 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
14016 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
14017 * sysdeps/i386/configure: Regenerated.
14018 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
14019 * sysdeps/mach/configure: Regenerated.
14020 * sysdeps/mach/hurd/configure: Regenerated.
14021 * sysdeps/powerpc/configure: Regenerated.
14022 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14023 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14024 * sysdeps/s390/s390-32/configure: Regenerated.
14025 * sysdeps/s390/s390-64/configure: Regenerated.
14026 * sysdeps/sh/configure: Regenerated.
14027 * sysdeps/sparc/configure: Regenerated.
14028 * sysdeps/unix/sysv/linux/configure: Regenerated.
14029 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14030 * sysdeps/x86_64/configure: Regenerated.
14031
273edc5e
RM
14032 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
14033 defined. Don't check if MAP is NULL.
14034
c8450f70
JM
140352012-10-09 Joseph Myers <joseph@codesourcery.com>
14036
14037 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
14038 (_G_stat64): Likewise.
14039 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
14040 (_G_stat64): Likewise.
14041 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
14042 instead of struct _G_stat64.
14043 * libio/fileops.c (mmap_remap_check): Likewise.
14044 (decide_maybe_mmap): Likewise.
14045 (_IO_new_file_seekoff): Likewise.
14046 (_IO_file_stat): Likewise.
14047 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
14048 _G_off64_t.
14049 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
14050 instead of struct _G_stat64.
14051 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14052
57e605ba
MK
140532012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
14054
14055 [BZ #14602]
14056 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14057 Replace with ...
14058 (CHECK_EOL): New macro.
14059 (two_way_short_needle): Check beginning of haystack for EOL. Use
14060 CHECK_EOL.
14061 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14062 Replace with CHECK_EOL.
14063 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14064 Replace with CHECK_EOL.
14065
ef1bb361
JM
140662012-10-08 Joseph Myers <joseph@codesourcery.com>
14067
14068 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
14069 type-generic.
14070 * math/libm-test.inc: Update comment listing what functions and
14071 macros are tested.
14072 (finite_test): New function.
14073 (isinf_test): Likewise.
14074 (isnan_test): Likewise.
14075 (fpclassify_test): Test subnormal input.
14076 (isfinite_test): Likewise.
14077 (isnormal_test): Likewise.
14078 (main): Call the new functions.
14079
55f11534
JN
140802012-10-08 Jonathan Nieder <jrnieder@gmail.com>
14081
14082 [BZ #14660]
14083 * Makerules (%.dynsym): Force C locale when running
14084 $(OBJDUMP) --dynamic-syms.
14085
1ab29350
AS
140862012-10-08 Andreas Schwab <schwab@linux-m68k.org>
14087
14088 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
14089 <stdint.h>.
14090
f1ecb7ef
DM
140912012-10-06 David S. Miller <davem@davemloft.net>
14092
14093 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
14094 upper 32-bits of the length value in %o2 since we use branch-on-register
14095 tests which consider the entire 64-bit register.
14096
5d41d91a
L
140972012-10-06 H.J. Lu <hongjiu.lu@intel.com>
14098
14099 * string/test-strstr.c (check2): Add a test for page boundary.
14100
3baddb72
DM
141012012-10-05 David S. Miller <davem@davemloft.net>
14102
14103 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
14104 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
14105 file.
14106 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14107 sysdep_routines.
14108 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14109 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
14110 and bzero when HWCAP_SPARC_CRYPTO is present.
14111
9cee5585
L
141122012-10-05 H.J. Lu <hongjiu.lu@intel.com>
14113
d7e0dab9
L
14114 [BZ #14602]
14115 * string/test-strstr.c (check2): New function.
14116 (test_main): Call check2.
14117
03759f47
L
14118 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
14119 and bug-strchr1.
14120 * string/bug-strcasestr1.c (do_test): Moved to ...
14121 * string/test-strcasestr.c (check1): Here. New function.
14122 (do_one_test): Break out result checking code into ...
14123 (check_result): This. New function.
14124 (do_one_test): Call check_result.
14125 (test_main): Call check1.
14126 * string/bug-strchr1.c (do_test): Moved to ...
14127 * string/test-strchr.c (check1): Here. New function.
14128 (do_one_test): Break out result checking code into ...
14129 (check_result): This. New function.
14130 (do_one_test): Call check_result.
14131 (test_main): Call check1.
14132 * string/bug-strstr1.c (main): Moved to ...
046f153e 14133 * string/test-strstr.c (check1): Here. New function.
03759f47
L
14134 (do_one_test): Break out result checking code into ...
14135 (check_result): This. New function.
14136 (do_one_test): Call check_result.
14137 (test_main): Call check1.
14138 * string/bug-strcasestr1.c: Removed.
14139 * string/bug-strchr1.c: Likewise.
14140 * string/bug-strstr1.c: Likewise.
14141
53cea63e
L
14142 * elf/Makefile (dl-routines): Add hwcaps.
14143 * elf/dl-support.c (_dl_important_hwcaps): Removed.
14144 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
14145 (_dl_important_hwcaps): Moved to ...
14146 * elf/dl-hwcaps.c: Here. New file.
14147 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
14148
9cee5585 14149 [BZ #14557]
bb859b06
L
14150 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
14151 if IS_IN_rtld isn't defined.
14152
9cee5585
L
14153 * elf/dl-support.c (_dl_sysinfo_map): New.
14154 Include "get-dynamic-info.h" and "setup-vdso.h".
14155 (_dl_non_dynamic_init): Call setup_vdso.
14156 * elf/dynamic-link.h: Don't include <assert.h>.
14157 (elf_get_dynamic_info): Moved to ...
14158 * elf/get-dynamic-info.h: Here. New file.
14159 * elf/dynamic-link.h: Include "get-dynamic-info.h".
14160 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
14161 * elf/setup-vdso.h: Here. New file.
14162 * elf/rtld.c: Include "setup-vdso.h".
14163 (dl_main): Call setup_vdso.
14164
23c31b76
JM
141652012-10-05 Joseph Myers <joseph@codesourcery.com>
14166
28234b07
JM
14167 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
14168 creal in comment listing functions tested. List finite, isinf,
14169 isnan, isless, islessequal, isgreater, isgreaterequal,
14170 islessgreater, isunordered, lgamma_r and pow10 as functions and
14171 macros not tested. Mention which functions not tested are aliases
14172 for other functions. Fix typo. Note that signs of NaNs are not
14173 tested.
14174
23c31b76
JM
14175 * scripts/config.guess: Update from config.git.
14176 * scripts/config.sub: Likewise.
14177
9043e228
RM
141782012-10-04 Roland McGrath <roland@hack.frob.com>
14179
14180 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
14181 * misc/madvise.c (madvise): Renamed to __madvise.
14182 Make madvise a weak alias.
14183 * include/sys/mman.h: Declare __madvise.
14184 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
14185 * sysdeps/unix/syscalls.list
14186 (madvise): Make __madvise the strong name, and madvise a weak alias.
14187 * sysdeps/unix/sysv/linux/syscalls.list
14188 (madvise, mmap): Remove redundant entries.
14189 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
14190 * malloc/malloc.c (mtrim): Likewise.
14191 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
14192
f57f8055
RM
141932012-10-03 Roland McGrath <roland@hack.frob.com>
14194
14195 * sysdeps/mach/hurd/dl-cache.c: File removed.
14196 * config.h.in (USE_LDCONFIG): New #undef.
14197 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
14198 * configure: Regenerated.
14199 * elf/Makefile (dl-routines): Add dl-cache only under
14200 [$(use-ldconfig) = yes].
14201 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
14202 cache on [USE_LDCONFIG].
14203 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
14204 [USE_LDCONFIG].
14205 * elf/rtld.c (dl_main): Likewise.
14206
5bb0c10a
PT
142072012-10-03 Pino Toscano <toscano.pino@tiscali.it>
14208
14209 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
14210 _SC_LEVEL4_CACHE_LINESIZE.
14211
010188c6
RM
142122012-10-03 Roland McGrath <roland@hack.frob.com>
14213
14214 * sysdeps/unix/bsd/confstr.h: File removed.
14215
b6c5ec07
AO
142162012-10-02 Alexandre Oliva <aoliva@redhat.com>
14217
14218 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
14219 sys/sdt-config.h.
14220
408223d4
RM
142212012-10-02 Roland McGrath <roland@hack.frob.com>
14222
14223 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
14224 Make 'mapoff' field ElfW(Off) rather than off_t.
14225
bb9510dc
DL
142262012-10-02 Dmitry V. Levin <ldv@altlinux.org>
14227
fc997c6e
DL
14228 * nscd/Makefile: Remove nscd-cflags and all its users.
14229 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
14230 (CFLAGS-nonlib): Add compiler flags for nscd modules.
14231
bb9510dc
DL
14232 [BZ #10631]
14233 * malloc.c (malloc_printerr): Clarify error message.
14234
05699367
L
142352012-10-02 H.J. Lu <hongjiu.lu@intel.com>
14236
14237 [BZ #14648]
14238 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14239 Set bit_FMA_Usable if FMA is supported.
14240 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
14241 macro.
14242 (bit_FMA4_Usable): Updated.
14243 (index_FMA_Usable): New macro.
14244 (CPUID_FMA): Likewise
14245 (HAS_FMA): Defined with bit_FMA_Usable.
14246
51367701
RM
142472012-10-01 Roland McGrath <roland@hack.frob.com>
14248
14249 * bits/types.h (__swblk_t): Type removed.
14250 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
14251 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
14252 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14253 (__SWBLK_T_TYPE): Likewise.
14254 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14255 (__SWBLK_T_TYPE): Likewise.
14256 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14257 (__SWBLK_T_TYPE): Likewise.
14258 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14259 (__SWBLK_T_TYPE): Likewise.
14260
4d57bf63 142612012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 14262 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
14263
14264 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
14265 (xdr_mapname): Use YPMAXMAP as maxsize.
14266 (xdr_peername): Use YPMAXPEER as maxsize.
14267 (xdr_keydat): Use YPAXRECORD as maxsize.
14268 (xdr_valdat): Use YPMAXRECORD as maxsize.
14269
93c65d43
RM
142702012-10-01 Roland McGrath <roland@hack.frob.com>
14271
497a03d6
RM
14272 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
14273
93c65d43
RM
14274 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
14275 * csu/init-first.c: ... here.
14276 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
14277 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
14278 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14279 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14280 * sysdeps/i386/init-first.c: File removed.
14281 * sysdeps/sh/init-first.c: File removed.
14282
bec749fd
JM
142832012-10-01 Joseph Myers <joseph@codesourcery.com>
14284
14285 [BZ #14645]
14286 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
14287 if x * y might underflow to zero and z is zero.
14288 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14289 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14290 * math/libm-test.inc (min_subnorm_value): New variable.
14291 (fma_test): Add more tests.
14292 (fma_test_towardzero): Likewise.
14293 (fma_test_downward): Likewise
14294 (fma_test_upward): Likewise.
14295 (initialize): Set min_subnorm_value.
14296
8ec5b013
JM
142972012-09-29 Joseph Myers <joseph@codesourcery.com>
14298
14299 [BZ #14638]
14300 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
14301 0 + 0.
14302 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
14303 mode for addition resulting in exact zero.
14304 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
14305 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
14306 exact 0 + 0.
14307 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14308 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14309 * math/libm-test.inc (fma_test): Add more tests.
14310 (fma_test_towardzero): New function.
14311 (fma_test_downward): Likewise.
14312 (fma_test_upward): Likewise.
14313 (main): Call the new functions.
14314
b1fa802e
DM
143152012-09-28 David S. Miller <davem@davemloft.net>
14316
14317 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
14318
d3b9fd9e
RM
143192012-09-28 Roland McGrath <roland@hack.frob.com>
14320
ea4d37b3
RM
14321 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
14322 instead of SIGALRM.
14323
ac51c949
RM
14324 * sysdeps/gnu/_G_config.h: Moved to ...
14325 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
14326 * sysdeps/mach/hurd/_G_config.h: Moved to ...
14327 * sysdeps/generic/_G_config.h: ... here.
14328
28c195f7
RM
14329 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
14330
848917f9
RM
14331 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
14332
6bacf05b
RM
14333 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
14334 Conditionalize target on [libnss_test1.so-version].
14335
91363dbb
RM
14336 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
14337
cc87f7d8
RM
14338 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
14339 (elfobjdir): Move out of conditionals.
14340
b1c608fe
RM
14341 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
14342 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
14343 (__nss_lookup_function): Conditionalize label remove_from_tree on
14344 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 14345
1d9a6d96
DM
143462012-09-28 David S. Miller <davem@davemloft.net>
14347
14348 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
14349 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
14350 file.
14351 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14352 sysdep_routines.
14353 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14354 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
14355 when HWCAP_SPARC_CRYPTO is present.
14356
72581615
PT
143572012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14358
14359 * io/tst-mknodat.c: Create a FIFO instead of a socket.
14360
715a900c
JL
143612012-09-28 Andreas Schwab <schwab@linux-m68k.org>
14362
14363 [BZ #6530]
14364 * stdio-common/vfprintf.c (process_string_arg): Revert
14365 2000-07-22 change.
14366
143672011-09-28 Jonathan Nieder <jrnieder@gmail.com>
14368
14369 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
14370 for testcase.
14371 * stdio-common/tst-sprintf.c: Include <locale.h>
14372 (main): Test sprintf's handling of incomplete multibyte
14373 characters.
14374
9bac1d86
L
143752012-09-28 H.J. Lu <hongjiu.lu@intel.com>
14376
14377 * elf/dl-runtime.c (VERSYMIDX): Removed.
14378 * elf/dl-version.c (VERSYMIDX): Likewise.
14379 * elf/do-rel.h (VERSYMIDX): Likewise.
14380 (VALIDX): Likewise.
14381 * elf/dynamic-link.h (VERSYMIDX): Likewise.
14382 * elf/rtld.c (VALIDX): Likewise.
14383 (ADDRIDX): Likewise.
9bac1d86
L
14384 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
14385 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
14386 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
14387 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
14388 (VALIDX): Likewise.
14389 (ADDRIDX): Likewise.
9bac1d86 14390
b31606c0
PT
143912012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14392
14393 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
14394
11541177
JL
143952012-09-28 Dmitry V. Levin <ldv@altlinux.org>
14396
14397 [BZ #11438]
14398 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
14399 to global scope.
14400 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
14401 addresses are in the same scope as 192.0.2/24.
14402 * posix/gai.conf: Document new scope table defaults.
14403
adb26fae
SP
144042012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14405
14406 [BZ #5298]
14407 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
14408 for ftell. Compute offsets from write pointers instead.
14409 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14410
4573c6b0
SP
144112012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14412
14413 [BZ #14543]
14414 * libio/Makefile (tests): New test case tst-fseek.
14415 * libio/tst-fseek.c: New test case to verify that fseek/ftell
14416 combination works in wide mode.
14417 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
14418 state when the external buffer state changes.
14419
aa9bbfe6
DM
144202012-09-27 David S. Miller <davem@davemloft.net>
14421
14422 [BZ #14376]
14423 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
14424 pass reloc->r_addend in as the 'high' argument to
14425 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
14426
784421e7
DM
14427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14428
c39bc8b8
PT
144292012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14430
14431 * rt/tst-aio2.c: Include <pthread.h>.
14432 * rt/tst-aio3.c: Likewise.
14433
1ccc2399
SE
144342012-09-27 Steve Ellcey <sellcey@mips.com>
14435
14436 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
14437
31ed4153
L
144382012-09-27 H.J. Lu <hongjiu.lu@intel.com>
14439
25f5f885
L
14440 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
14441 contents on [SHARED].
31ed4153 14442
b7bfe116
MP
144432012-09-26 Marek Polacek <polacek@redhat.com>
14444
14445 [BZ #14530]
14446 [BZ #13741]
14447 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
14448 for C++ and GCC <4.3 as well as for non GCC compilers.
14449
43c4edba
MT
144502012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14451
14452 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14453
6a1bf82f
RM
144542012-09-25 Roland McGrath <roland@hack.frob.com>
14455
14456 * Makefile.in (all, install): Declare with .PHONY.
14457 Reported by Michael Hope <michael.hope@linaro.org>.
14458
8ad11b9a
TMQMF
144592012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14460
14461 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
14462 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
14463 system header.
14464 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
14465 Likewise.
14466 (sydep_routines): Add the new and the internal functions.
14467 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
14468 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
14469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
14470 (GLIBC_2.17): Add the new function.
14471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14472 (GLIBC_2.17): Likewise.
14473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14474 (GLIBC_2.17): Likewise.
14475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
14476 (GLIBC_2.17): Likewise.
14477 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
14478
7e2fca8d
AM
144792012-09-25 Alan Modra <amodra@gmail.com>
14480
14481 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
14482 Add release barrier before setting once_control to say
14483 initialisation is done. Add hints on lwarx. Use macro in
14484 place of isync.
14485 (clear_once_control): Add release barrier.
14486
b87c4b24
JM
144872012-09-25 Joseph Myers <joseph@codesourcery.com>
14488
d032e0d2
JM
14489 [BZ #13629]
14490 * math/s_clog.c (__clog): Handle more values close to |z| = 1
14491 specially.
14492 * math/s_clog10.c (__clog10): Likewise.
14493 * math/s_clog10f.c (__clog10f): Likewise.
14494 * math/s_clog10l.c (__clog10l): Likewise.
14495 * math/s_clogf.c (__clogf): Likewise.
14496 * math/s_clogl.c (__clogl): Likewise.
14497 * math/Makefile (libm-calls): Add x2y2m1.
14498 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
14499 (__x2y2m1): Likewise.
14500 (__x2y2m1l): Likewise.
14501 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
14502 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
14503 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14504 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14505 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
14506 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
14507 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
14508 * sysdeps/i386/fpu/libm-test-ulps: Update.
14509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14510
b87c4b24
JM
14511 [BZ #14621]
14512 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
14513 int as type of variable DEPTH.
14514 (glob): Use size_t instead of int as type of variables NEWCOUNT
14515 and OLD_PATHC.
14516
6d3bf199
LD
145172012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14518
22bf5c17
LD
14519 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14520 Add s_sincosf-sse2.
14521 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
14522 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
14523 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
14524 macros for using routine as __sincosf_ia32.
14525 Use macro for function declaration and weak_alias.
14526 * sysdeps/i386/fpu/libm-test-ulps: Update.
14527
14528 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
14529 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14530
14531 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
14532 subnormal argument.
14533 * math/s_cexpf.c (__cexpf): Likewise.
14534 * math/s_csinf.c (__csinf): Likewise.
14535 * math/s_csinhf.c (__csinhf): Likewise.
14536 * math/s_ctanf.c (__ctanf): Likewise.
14537 * math/s_ctanhf.c (__ctanhf): Likewise.
14538 * math/s_ccosh.c (__ccoshf): Likewise.
14539 * math/s_cexp.c (__cexpl): Likewise.
14540 * math/s_csin.c (__csin): Likewise.
14541 * math/s_csinh.c (__csinh): Likewise.
14542 * math/s_ctan.c (__ctan): Likewise.
14543 * math/s_ctanh.c (ctanh): Likewise.
14544 * math/s_ccoshl.c (__ccoshl): Likewise.
14545 * math/s_cexpl.c (__cexpl): Likewise.
14546 * math/s_csinl.c (__csinl): Likewise.
14547 * math/s_csinhl.c (__csinhl): Likewise.
14548 * math/s_ctanl.c (__ctanl): Likewise.
14549 * math/s_ctanhl.c (__ctanhl): Likewise.
14550
203e5603
JM
145512012-09-25 Joseph Myers <joseph@codesourcery.com>
14552
14553 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
14554 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
14555 (_IO_off_t): Define to __off_t, not _G_off_t.
14556 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
14557 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
14558 (_IO_wint_t): Define to wint_t, not _G_wint_t.
14559 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
14560 type of __dummy and __dummy2 fields.
14561 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
14562 (_G_ssize_t): Likewise.
14563 (_G_off_t): Likewise.
14564 (_G_pid_t): Likewise.
14565 (_G_uid_t): Likewise.
14566 (_G_wchar_t): Likewise.
14567 (_G_wint_t): Likewise.
14568 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
14569 (_G_ssize_t): Likewise.
14570 (_G_off_t): Likewise.
14571 (_G_pid_t): Likewise.
14572 (_G_uid_t): Likewise.
14573 (_G_wchar_t): Likewise.
14574 (_G_wint_t): Likewise.
14575 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
14576 (_G_ssize_t): Likewise.
14577 (_G_off_t): Likewise.
14578 (_G_pid_t): Likewise.
14579 (_G_uid_t): Likewise.
14580 (_G_wchar_t): Likewise.
14581 (_G_wint_t): Likewise.
14582
9fab36eb
SP
145832012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14584
14585 * malloc/arena.c: Include malloc-sysdep.h.
14586 (shrink_heap): Use check_may_shrink_heap to decide if madvise
14587 is sufficient to shrink the heap or an unmap is needed.
14588 * sysdeps/generic/malloc-sysdep.h: New file. Define
14589 new function check_may_shrink_heap.
14590 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
14591 new function check_may_shrink_heap.
14592
2b4f00d1
SP
145932012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14594
14595 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
14596 comments.
14597
9a9028b1
DL
145982012-09-24 Dmitry V. Levin <ldv@altlinux.org>
14599
57c69bef
DL
14600 * catgets/test-gencat.sh: Add "set -e".
14601 * elf/tst-pathopt.sh: Likewise.
14602 * grp/tst_fgetgrent.sh: Likewise.
14603 * iconvdata/run-iconv-test.sh: Likewise.
14604 * intl/tst-gettext.sh: Likewise.
14605 * intl/tst-gettext2.sh: Likewise.
14606 * intl/tst-gettext4.sh: Likewise.
14607 * intl/tst-gettext6.sh: Likewise.
14608 * intl/tst-translit.sh: Likewise.
14609 * io/ftwtest-sh: Likewise.
14610 * libio/test-freopen.sh: Likewise.
14611 * malloc/tst-mtrace.sh: Likewise.
14612 * posix/globtest.sh: Likewise.
14613 * posix/tst-getconf.sh: Likewise.
14614 * posix/wordexp-tst.sh: Likewise.
14615 * stdio-common/tst-printf.sh: Likewise.
14616 * stdio-common/tst-unbputc.sh: Likewise.
14617 * stdlib/tst-fmtmsg.sh: Likewise.
14618 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14619 * catgets/Makefile: Do not specify -e option when running
14620 testsuite shell scripts.
14621 * elf/Makefile: Likewise.
14622 * grp/Makefile: Likewise.
14623 * iconvdata/Makefile: Likewise.
14624 * intl/Makefile: Likewise.
14625 * io/Makefile: Likewise.
14626 * libio/Makefile: Likewise.
14627 * malloc/Makefile: Likewise.
14628 * posix/Makefile: Likewise.
14629 * stdio-common/Makefile: Likewise.
14630 * stdlib/Makefile: Likewise.
14631 * sysdeps/x86_64/Makefile: Likewise.
14632
9a9028b1
DL
14633 * io/ftwtest-sh: Add copyright header.
14634 * posix/globtest.sh: Likewise.
14635 * posix/tst-getconf.sh: Likewise.
14636 * posix/wordexp-tst.sh: Likewise.
14637 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14638
ced6f16e
L
146392012-09-24 H.J. Lu <hongjiu.lu@intel.com>
14640
94b32c39
L
14641 [BZ #13679]
14642 * Makeconfig (+link): Defined as $(+link-static) if
14643 $(build-shared) isn't yes.
14644 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
14645 isn't yes.
14646 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
14647
189e935b
L
14648 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
14649
ced6f16e
L
14650 [BZ #14562]
14651 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
14652 new chunk size with MALLOC_ALIGN_MASK.
14653
a9f8e53a
JM
146542012-09-24 Joseph Myers <joseph@codesourcery.com>
14655
14656 [BZ #5044]
14657 * stdio-common/printf_fphex.c: Include <stdbool.h> and
14658 <rounding-mode.h>.
14659 (__printf_fphex): Determine rounding using get_rounding_mode and
14660 round_away.
14661 * stdio-common/tst-printf-round.c (struct hex_test): New
14662 structure.
14663 (hex_tests): New variable.
14664 (test_hex_in_one_mode): New function.
14665 (do_test): Also run tests for hex float output.
14666
43153109
JM
146672012-09-21 Joseph Myers <joseph@codesourcery.com>
14668
14669 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14670 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14671 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
14672 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14673 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14674 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
14675 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14676 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14677
8a26625d
JM
146782012-09-20 Joseph Myers <joseph@codesourcery.com>
14679
14680 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
14681 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
14682 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
14683 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
14684
f3fd569c
DL
146852012-09-19 Dmitry V. Levin <ldv@altlinux.org>
14686
14687 [BZ #14579]
14688 * elf/rtld.c (dl_main): Limit the check for self loading to normal
14689 mode only.
14690 * elf/tst-rtld-load-self.sh: New test.
14691 * elf/Makefile: Run it.
14692
63bbedd4
JM
146932012-09-18 Joseph Myers <joseph@codesourcery.com>
14694
14695 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
14696 (tst-writev-ENV): Remove.
14697 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
14698
626f8b6a
CM
146992012-09-17 Chris Metcalf <cmetcalf@tilera.com>
14700
14701 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
14702
b7aaa4d6
JM
147032012-09-17 Joseph Myers <joseph@codesourcery.com>
14704
14705 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
14706 unconditional.
14707 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
14708 Likewise.
14709 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
14710 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
14711 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
14712 Likewise.
14713
65513990
L
147142012-09-14 H.J. Lu <hongjiu.lu@intel.com>
14715
14716 [BZ #14587]
14717 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
14718 * config.make.in (have-cpp-asm-debuginfo): Removed.
14719 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
14720 * configure: Regenerated.
14721
784761be
JM
147222012-09-14 Joseph Myers <joseph@codesourcery.com>
14723
14724 [BZ #5044]
14725 * stdio-common/printf_fp.c: Include <stdbool.h> and
14726 <rounding-mode.h>.
14727 (___printf_fp): Determine rounding using get_rounding_mode and
14728 round_away.
14729 * stdio-common/tst-printf-round.c: New file.
14730 * stdio-common/Makefile (tests): Add tst-printf-round.
14731 (link-libm): New variable.
14732 ($(objpfx)tst-printf-round): Depend in $(link-libm).
14733
9503345f
L
147342012-09-13 H.J. Lu <hongjiu.lu@intel.com>
14735
14736 [BZ #14576]
14737 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
14738 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
14739 Likewise.
14740 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
14741 Likewise.
14742
ad35fc00
JM
147432012-09-13 Joseph Myers <joseph@codesourcery.com>
14744
14745 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
14746 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14747 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14748 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14749
6c9b0f68
JM
147502012-09-12 Joseph Myers <joseph@codesourcery.com>
14751
14752 [BZ #14518]
14753 * include/rounding-mode.h: New file.
14754 * sysdeps/generic/get-rounding-mode.h: Likewise.
14755 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
14756 * stdlib/strtod_l.c: Include <rounding-mode.h>.
14757 (MAX_VALUE): New macro.
14758 (MIN_VALUE): Likewise.
14759 (overflow_value): New function.
14760 (underflow_value): Likewise.
14761 (round_and_return): Use overflow_value and underflow_value to
14762 determine return values in overflow and underflow cases. Use
14763 round_away to determine rounding depending on rounding mode.
14764 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
14765 determine return values in overflow and underflow cases.
14766 * stdlib/tst-strtod-round.c: Include <fenv.h>.
14767 (struct test_results): New structure.
14768 (struct test): Use struct test_results to store expected results
14769 for all rounding modes.
14770 (TEST): Include expected results for all rounding modes.
14771 (test_in_one_mode): New function.
14772 (do_test): Use test_in_one_mode to compute and check results.
14773 Check results for all rounding modes.
14774 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
14775 $(link-libm).
14776
19fcedd5
AM
147772012-12-09 Allan McRae <allan@archlinux.org>
14778
1e9d84cd 14779 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 14780
8bbfd2f1
JM
147812012-09-11 Joseph Myers <joseph@codesourcery.com>
14782
14783 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
14784 (_G_int32_t): Likewise.
14785 (_G_uint16_t): Likewise.
14786 (_G_uint32_t): Likewise.
14787 (_G_HAVE_BOOL): Likewise.
14788 (_G_HAVE_ATEXIT): Likewise.
14789 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14790 (_G_HAVE_IO_FILE_OPEN): Likewise.
14791 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
14792 (_G_int32_t): Likewise.
14793 (_G_uint16_t): Likewise.
14794 (_G_uint32_t): Likewise.
14795 (_G_HAVE_BOOL): Likewise.
14796 (_G_HAVE_ATEXIT): Likewise.
14797 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14798 (_G_HAVE_IO_FILE_OPEN): Likewise.
14799 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
14800 (_G_int32_t): Likewise.
14801 (_G_uint16_t): Likewise.
14802 (_G_uint32_t): Likewise.
14803 (_G_HAVE_BOOL): Likewise.
14804 (_G_HAVE_ATEXIT): Likewise.
14805 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14806 (_G_HAVE_IO_FILE_OPEN): Likewise.
14807
b1dc5912
L
148082012-09-11 H.J. Lu <hongjiu.lu@intel.com>
14809
14810 * csu/libc-tls.c: Update copyright years.
14811
0e886ef9
JM
148122012-09-10 Joseph Myers <joseph@codesourcery.com>
14813
28361c5e
JM
14814 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
14815 [!_G_USING_THUNKS]: Remove conditional code.
14816 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
14817 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
14818
0e886ef9
JM
14819 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
14820 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
14821 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14822 (_G_VTABLE_LABEL_PREFIX): Likewise.
14823 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14824 * sysdeps/gnu/_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 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14829 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14830 (_G_VTABLE_LABEL_PREFIX): Likewise.
14831 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14832
bcba7aa2
L
148332012-09-10 H.J. Lu <hongjiu.lu@intel.com>
14834
14835 * libio/Makefile: Include ../Makeconfig before tests.
14836 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
14837 only if $(build-shared) is yes.
14838
06585ee8
L
14839 * iconv/gconv_db.c: Update copyright years.
14840
80ccd52c
LD
148412012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14842
14843 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
14844 unwind info if defined PIC. Fix special cases description.
14845 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
14846
14847 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
14848 DP_HI_MASK entry.
14849 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
14850
691bc9c1
L
148512012-09-07 H.J. Lu <hongjiu.lu@intel.com>
14852
3d9b46b3
L
14853 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
14854
de2139a9
L
14855 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
14856 is NULL.
14857
5ca78dd0
L
14858 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
14859 (LDLIBS-tst-chk4): This.
14860 (LDFLAGS-tst-chk5): Renamed to ...
14861 (LDLIBS-tst-chk5): This.
14862 (LDFLAGS-tst-chk6): Renamed to ...
14863 (LDLIBS-tst-chk6): This.
14864 (LDFLAGS-tst-lfschk4): Renamed to ...
14865 (LDLIBS-tst-lfschk4): This.
14866 (LDFLAGS-tst-lfschk5): Renamed to ...
14867 (LDLIBS-tst-lfschk5): This.
14868 (LDFLAGS-tst-lfschk6): Renamed to ...
14869 (LDLIBS-tst-lfschk6): This.
14870
691bc9c1
L
14871 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
14872 on $(common-objpfx)soversions.mk.
14873
65cafb1c
JM
148742012-09-07 Joseph Myers <joseph@codesourcery.com>
14875
14876 [BZ #10014]
14877 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
14878 example host name.
14879
c78ab094
SP
148802012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14881
14882 * malloc/arena.c (arena_get_retry): New function that gets
14883 another arena for the caller to try its request on.
14884 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
14885 current arena cannot fulfill the request.
14886 (__libc_memalign): Likewise.
14887 (__libc_memalign): Likewise.
14888 (__libc_pvalloc): Likewise.
14889 (__libc_calloc): Likewise.
14890
01f49f59
JT
148912012-09-05 John Tobey <john.tobey@gmail.com>
14892
14893 [BZ #13542]
14894 * manual/arith.texi (Operations on Complex): Fix description
14895 of carg branch cut.
14896
4c23fed5
JM
148972012-09-06 Joseph Myers <joseph@codesourcery.com>
14898
1d3c8572
JM
14899 [BZ #10014]
14900 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
14901 host name.
14902
4c23fed5
JM
14903 [BZ #10038]
14904 * manual/memory.texi (Memory): Make order of menu items match
14905 order of sections.
14906
04570aaa
L
149072012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14908
14909 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
14910 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
14911 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
14912
b80af2f4
L
149132012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14914
14915 * csu/libc-tls.c (static_dtv): Renamed to ...
14916 (_dl_static_dtv): This. Make it global.
14917 (_dl_initial_dtv): Removed.
14918 (__libc_setup_tls): Updated.
14919 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
14920 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
14921 DL_INITIAL_DTV.
14922
2abe9f15
PM
149232012-09-06 Petr Machata <pmachata@redhat.com>
14924
14925 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
14926 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
14927 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
14928 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
14929
0948c3af
L
149302012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14931
14932 [BZ #14545]
14933 * csu/libc-tls.c (_dl_initial_dtv): New variable.
14934 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
14935 freeing dtv[-1].
14936
a5055ad1
L
149372012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14938
14939 [BZ #14544]
14940 * Makeconfig (link-static-before-libc): Replace $(+prector)
14941 with $(+prectorT).
14942 (link-static-after-libc): Replace $(+postctor) with
14943 $(+postctorT).
14944 (link-bounded): Replace $(+prector)/$(+postctor) with
14945 $(+prectorT)/$(+postctorT).
14946 (+prectorT): New macro.
14947 (+postctorT): Likewise.
14948
ed8c2ecd
JM
149492012-09-06 Joseph Myers <joseph@codesourcery.com>
14950
14951 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
14952 (round_str): Handle values above the maximum for IBM long double
14953 as inexact.
14954 * stdlib/tst-strtod-round.c (tests): Regenerated.
14955
14c996c8
AK
149562012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14957
14958 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14959 assembler flag.
14960 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
14961 zarch_nohighgprs around the zarch optimized routines.
14962 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14963 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14964 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
14965 for zarch.
14966
430d6ce6
DM
149672012-09-05 David S. Miller <davem@davemloft.net>
14968
14969 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14970
ff04dda4
DM
14971 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
14972 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
14973 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
14974 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14975 entries.
14976
24d4e01b
AO
149772012-09-05 Alexandre Oliva <aoliva@redhat.com>
14978
14979 * malloc/arena.c: Fold copyright years.
14980 * malloc/mcheck.c, malloc/memusage.c: Likewise.
14981
61d58174
AO
149822012-09-05 Alexandre Oliva <aoliva@redhat.com>
14983
14984 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14985
20196a5e
AO
149862012-09-05 Alexandre Oliva <aoliva@redhat.com>
14987
14988 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
14989
5c447383
AO
149902012-09-05 Alexandre Oliva <aoliva@redhat.com>
14991
14992 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14993 change internal state upon failure.
14994
fad64255
AO
149952012-09-05 Alexandre Oliva <aoliva@redhat.com>
14996
14997 * malloc/mcheck.c (mcheck_check_all): Fix typo.
14998 * malloc/memusage.c (mmap): Likewise.
14999 (mmap64, mremap): Likewise. Adjust name in comment.
15000
1ffb8c90
SP
150012012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15002
15003 * libio/fileops.c: Fix typos in comments.
15004 * libio/oldfileops.c: Likewise.
15005 * libio/wfileops.c: Likewise.
15006
6ef9cc37
SP
150072012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15008
15009 [BZ #1349]
15010 * malloc/Makefile (tests): Add tst-malloc-usable test case.
15011 (tst-malloc-usable-ENV): Set environment for test case.
15012 * malloc/hooks.c (malloc_check_get_size): New function to get
15013 requested size.
15014 * malloc/malloc.c (musable): Use malloc_check_get_size.
15015 * malloc/tst-malloc-usable.c: New test case.
15016
4d038ae3
AS
150172012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15018
15019 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
15020
c4e85184
AM
150212012-09-05 Allan McRae <allan@archlinux.org>
15022
b9dafc56 15023 [BZ #13966]
c4e85184
AM
15024 * configure.in (CXX_SYSINCLUDES): Use compiler output to
15025 determine header location.
15026 * configure: Regenerated.
15027
e1343020
AS
150282012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15029
15030 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
15031 float format.
15032 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
15033 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
15034 format.
e1343020
AS
15035 (test): Regenerate.
15036
0a9f1987
DM
150372012-09-04 David S. Miller <davem@davemloft.net>
15038
15039 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
15040 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
15041 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
15042
29237804
FW
150432012-09-04 Florian Weimer <fweimer@redhat.com>
15044
15045 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
15046 failures.
15047
edb3cb88
FW
15048 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
15049
60160d83
JM
150502012-09-04 Joseph Myers <joseph@codesourcery.com>
15051
15052 [BZ #9914]
15053 * libio/iogetdelim.c: Include <limits.h>.
15054 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
15055 + len + 1 would overflow.
15056
bcd6c8dc
AJ
150572012-09-03 Andreas Jaeger <aj@suse.de>
15058
15059 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15060 * sysdeps/i386/fpu/libm-test-ulps: Update.
15061
4ffffbd2
LD
150622012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15063
15064 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15065 Add s_sinf-sse2, s_conf-sse2.
15066
15067 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
15068 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
15069 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
15070 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
15071
15072 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
15073 for using routine as __sinf_ia32.
15074 Use macro for function declaration and weak_alias.
15075 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
15076 for using routine as __cosf_ia32.
15077 Use macro for function declaration and weak_alias.
15078
15079 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
15080 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
15081
15082 * sysdeps/x86_64/fpu/s_sinf.S: New file.
15083 * sysdeps/x86_64/fpu/s_cosf.S: New file.
15084 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15085
15086 * math/libm-test.inc (cos_test): Add more test cases.
15087 (sin_test): Likewise.
15088 (sincos_test): Likewise.
15089
511fa286
AK
150902012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15091
15092 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15093 (IFUNC_RESOLVE): Make pointers to the specialized implementations
15094 hidden.
15095 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15096
5f30cfec
L
150972012-09-02 H.J. Lu <hongjiu.lu@intel.com>
15098
15099 [BZ #14538]
15100 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
15101 first element of the GOT.
15102 (elf_machine_load_address): Return the difference between
15103 the runtime address of _DYNAMIC and elf_machine_dynamic ().
15104
0786794f
AM
151052012-09-01 Allan McRae <allan@archlinux.org>
15106
5f30cfec
L
15107 [BZ #13412]
15108 * configure.in (AWK): Require gawk version 3.0 or later.
15109 * configure: Regenerated.
0786794f 15110
26889eac
JM
151112012-09-01 Joseph Myers <joseph@codesourcery.com>
15112
15113 * sysdeps/unix/sysv/linux/kernel-features.h
15114 (__ASSUME_POSIX_CPU_TIMERS): Remove.
15115 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15116 [__NR_clock_getres]: Make code unconditional.
15117 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
15118 (clock_getcpuclockid): Remove code left unreachable by removal of
15119 conditionals.
15120 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
15121 code unconditional.
15122 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15123 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15124 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
15125 Make code unconditional.
15126 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15127 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15128 * sysdeps/unix/sysv/linux/clock_settime.c
15129 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
15130 conditional code.
15131 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
15132 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15133
d22e28b0
L
151342012-08-29 H.J. Lu <hongjiu.lu@intel.com>
15135
15136 [BZ #14476]
15137 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
15138 scripts/test-installation.pl.
15139
15140 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
15141 and $ld_so_version if it is set.
15142
050af9c4
SP
151432012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15144
15145 [BZ #14516]
15146 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
15147 failure if reading from procfs failed.
15148 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
15149
ad845c0b
JM
151502012-08-27 Joseph Myers <joseph@codesourcery.com>
15151
15152 * sysdeps/unix/sysv/linux/kernel-features.h
15153 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
15154 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15155 Remove conditional code.
15156 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15157 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
15158 Remove conditional code.
15159 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15160 * sysdeps/unix/sysv/linux/i386/fxstat.c
15161 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15162 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15163 * sysdeps/unix/sysv/linux/i386/fxstatat.c
15164 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15165 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15166 * sysdeps/unix/sysv/linux/i386/lxstat.c
15167 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15168 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15169 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
15170 Remove conditional code.
15171 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15172 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15173 Remove conditional code.
15174 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15175 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
15176 <kernel-features.h>.
15177 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
15178 Remove.
15179 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
15180 Remove conditional code.
15181 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15182 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
15183 Remove conditional.
15184
5dbf56af
MF
151852012-08-27 Mike Frysinger <vapier@gentoo.org>
15186
15187 [BZ #5400]
15188 * NEWS: Add fixed bug number.
15189
d6e70f43
JM
151902012-08-27 Joseph Myers <joseph@codesourcery.com>
15191
7efb4737
JM
15192 [BZ #14519]
15193 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
15194 underflowing exponent in case of negative sign.
15195 * stdlib/tst-strtod-round-data: Add more tests.
15196 * stdlib/tst-strtod-round.c (tests): Regenerated.
15197
af92131a
JM
15198 [BZ #3479]
15199 * stdlib/strtod_l.c (NDIG): Remove.
15200 (HEXNDIG): Likewise.
15201 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
15202 smallest representable value.
15203 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
15204 lie within an exact representation of 1/2 ulp of the result.
15205 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
15206 unconditionally.
15207 (TENS_P9_IDX): Define unconditionally.
15208 (TENS_P9_SIZE): Likewise.
15209 (TENS_P10_IDX): Likewise.
15210 (TENS_P10_SIZE): Likewise.
15211 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
15212 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
15213 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
15214 entries for 10^2^13 and 10^2^14.
15215 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
15216 (TENS_P13_IDX): Define.
15217 (TENS_P13_SIZE): Likewise.
15218 (TENS_P14_IDX): Likewise.
15219 (TENS_P14_SIZE): Likewise.
15220 (_fpioconst_pow10): Change array size to
15221 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
15222 unconditional.
15223 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
15224 1024]: Add entries for 10^2^13 and 10^2^14.
15225 [LAST_POW10 > _LAST_POW10]: Remove #error.
15226 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
15227 (_fpioconst_pow10): Change array size to
15228 FPIOCONST_POW10_ARRAY_SIZE.
15229 * stdlib/gen-fpioconst.c: New file.
15230 * stdlib/gen-tst-strtod-round.c: Likewise.
15231 * stdlib/tst-strtod-round-data: Likewise.
15232 * stdlib/tst-strtod-round.c: Likewise.
15233 * stdlib/Makefile (tests): Add tst-strtod-round.
15234
d6e70f43
JM
15235 [BZ #14459]
15236 * stdlib/strtod_l.c: Include <stdint.h>.
15237 (NDEBUG): Do not define.
15238 (round_and_return): Change EXPONENT parameter to type intmax_t.
15239 Rearrange calculations to avoid internal overflow possibilities.
15240 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
15241 Rearrange calculations to avoid internal overflow possibilities.
15242 Assert that number fits inside MPNSIZE limbs.
15243 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
15244 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
15245 calculations and add assertions to avoid internal overflow
15246 possibilities. Add casts to avoid signed/unsigned operations.
15247 * stdlib/tst-strtod-overflow.c: New file.
15248 * stdlib/Makefile (tests): Add tst-strtod-overflow.
15249
1f529f7d
MP
152502012-08-25 Marek Polacek <polacek@redhat.com>
15251
15252 * time/time.h: Fix some typos in comments.
15253
59a629f1
RM
152542012-08-23 Roland McGrath <roland@hack.frob.com>
15255
15256 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
15257 * posix/tst-rfc3484-2.c: Likewise.
15258 * posix/tst-rfc3484-3.c: Likewise.
15259
d3bafbc9
SM
152602012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
15261
15262 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
15263 (EF_ARM_ABI_FLOAT_HARD): Likewise.
15264
4efcc022
JM
152652012-08-23 Joseph Myers <joseph@codesourcery.com>
15266
15267 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
15268 #include of fxstatat64.c.
15269
3cc3ef96
RM
152702012-08-22 Roland McGrath <roland@hack.frob.com>
15271
f04e2132
RM
15272 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
15273 * shadow/getspent_r.c: Likewise.
15274 * shadow/getspnam.c: Likewise.
15275 * shadow/getspnam_r.c: Likewise.
15276 * gshadow/getsgent.c: Likewise.
15277 * gshadow/getsgent_r.c: Likewise.
15278 * gshadow/getsgnam.c: Likewise.
15279 * gshadow/getsgnam_r.c: Likewise.
15280 * inet/getnetbyad.c: Likewise.
15281 * inet/getnetbyad_r.c: Likewise.
15282 * inet/getnetbynm.c: Likewise.
15283 * inet/getnetbynm_r.c: Likewise.
15284 * inet/getnetent.c: Likewise.
15285 * inet/getnetent_r.c: Likewise.
15286 * inet/getproto.c: Likewise.
15287 * inet/getproto_r.c: Likewise.
15288 * inet/getprtent.c: Likewise.
15289 * inet/getprtent_r.c: Likewise.
15290 * inet/getprtname.c: Likewise.
15291 * inet/getprtname_r.c: Likewise.
15292 * inet/getrpcbyname.c: Likewise.
15293 * inet/getrpcbyname_r.c: Likewise.
15294 * inet/getrpcbynumber.c: Likewise.
15295 * inet/getrpcbynumber_r.c: Likewise.
15296 * inet/getrpcent.c: Likewise.
15297 * inet/getrpcent_r.c: Likewise.
15298 * inet/getaliasent.c: Likewise.
15299 * inet/getaliasent_r.c: Likewise.
15300 * inet/getaliasname.c: Likewise.
15301 * inet/getaliasname_r.c: Likewise.
15302 * nscd/getgrgid_r.c: Likewise.
15303 * nscd/getgrnam_r.c: Likewise.
15304 * nscd/gethstbyad_r.c: Likewise.
15305 * nscd/gethstbynm3_r.c: Likewise.
15306 * nscd/getpwnam_r.c: Likewise.
15307 * nscd/getpwuid_r.c: Likewise.
15308 * nscd/getsrvbynm_r.c: Likewise.
15309 * nscd/getsrvbypt_r.c: Likewise.
15310 * nscd/gai.c: Likewise.
15311
c53d909c
RM
15312 * configure.in (build_nscd): New substituted variable, set
15313 by --disable-build-nscd and defaults to $use_nscd.
15314 * configure: Regenerated.
15315 * config.make.in (build-nscd): New substituted variable.
15316 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
15317 Change conditional to require [$(build-nscd) = yes] as well.
15318 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
15319
3cc3ef96
RM
15320 [BZ# 13696]
15321 * configure.in (use_nscd): New substituted variable, set by
15322 --disable-nscd. If enabled, define USE_NSCD.
15323 * configure: Regenerated.
15324 * config.h.in: Add USE_NSCD.
15325 * config.make.in (use-nscd): New substituted variable.
15326 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
15327 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
15328 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
15329 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
15330 (CFLAGS-getgrnam_r.c): Likewise.
15331 (CFLAGS-initgroups.c): Likewise.
15332 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
15333 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
15334 Variables removed.
15335 * inet/getnetgrent_r.c
15336 (nscd_setnetgrent): New function, broken out of ...
15337 (setnetgrent): ... here. Call it.
15338 (innetgr): Conditionalize nscd bits on [USE_NSCD].
15339 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
15340 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
15341 * nscd/Makefile (routines, aux): Move definitions after include of
15342 Makeconfig. Conditionalize on [$(use-nscd) != no].
15343 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
15344 Conditionalize on [USE_NSCD].
15345 (is_nscd, nscd_init_cb): Likewise.
15346 (nss_load_library): Conditionalize init callback on [USE_NSCD].
15347 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
15348 * nss/nss_db/db-init.c: Likewise.
15349 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
15350 [USE_NSCD].
15351 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
15352 (make_request): Use it.
15353 (cache_valid_p): New function.
15354 (__check_pf): Use it.
15355 * NEWS: Add item for --disable-nscd.
15356
07e51550
DL
153572012-08-22 Dmitry V. Levin <ldv@altlinux.org>
15358
15359 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
15360 to support sed >= 4.2.1-20-ga9bf076.
15361 * configure: Regenerated.
15362
35a5b08b
RM
153632012-08-22 Roland McGrath <roland@hack.frob.com>
15364
15365 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
15366 Conditionalize whole body on [IREL].
15367
8479f23a
JL
153682012-08-22 Jeff Law <law@redhat.com>
15369
15370 [BZ #14505]
15371 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
15372 if the family is PF_UNSPEC.
15373
48da0b21
MF
153742012-08-22 Mike Frysinger <vapier@gentoo.org>
15375
15376 * Makerules (lib-version): Rename from V.
15377 (install-lib-nosubdir): Change V to lib-version.
15378
15d0da8c
WS
153792012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
15380
15381 [BZ #14252]
15382 * powerpc32/power6/wcschr.c: New file.
15383 * powerpc32/power6/wcscpy.c: New file.
15384 * powerpc32/power6/wcsrchr.c: New file.
15385 * powerpc64/power6/wcschr.c: New file.
15386 * powerpc64/power6/wcscpy.c: New file.
15387 * powerpc64/power6/wcsrchr.c: New file.
15388
bcca0895
MK
153892012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15390
15391 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
15392 (two_way_short_needle): Use it.
5a4aaa33
RM
15393 * string/strstr.c (AVAILABLE1_USES_J): Define.
15394 * string/strcasestr.c: Likewise.
99677e57
MK
15395
15396 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
15397 array references.
15398 * string/strcasestr.c (TOLOWER): Make side-effect safe.
15399
400726de
MK
15400 [BZ #11607]
15401 * NEWS: Add an entry.
15402 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
15403 define their defaults.
15404 (two_way_short_needle): Detect end-of-string on-the-fly.
15405 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
15406 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
15407 * string/bug-strcasestr1.c: New test.
15408 * string/Makefile: Run it.
15409
20a71f2c
MK
154102012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15411
15412 [BZ #11607]
15413 * string/str-two-way.h (two_way_short_needle): Optimize matching of
15414 the first character.
15415
21ad0558
RM
154162012-08-21 Roland McGrath <roland@hack.frob.com>
15417
15418 * csu/elf-init.c (__libc_csu_irel): Function removed.
15419 * csu/libc-start.c (apply_irel): New function.
15420 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
15421
0e1d9911
JM
154222012-08-21 Joseph Myers <joseph@codesourcery.com>
15423
15424 * sysdeps/unix/sysv/linux/kernel-features.h
15425 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
15426 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
15427 <kernel-features.h>.
15428 [__NR_fadvise64_64]: Make code unconditional.
15429 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
15430 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15431 !__NR_fadvise64_64)]: Likewise.
15432 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15433 !__NR_fadvise64_64))]: Likewise.
15434 [__NR_fadvise64]: Make code unconditional.
15435 [!__NR_fadvise64]: Remove conditional code.
15436 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
15437 <kernel-features.h>.
15438 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15439 unconditional.
15440 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15441 conditional code.
15442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
15443 not include <kernel-features.h>.
15444 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15445 unconditional.
15446 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15447 conditional code.
15448 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
15449 include <kernel-features.h>.
15450 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15451 unconditional.
15452 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15453 conditional code.
15454
14a50c9d
WS
154552012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15456
15457 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
15458 slight instruction rearrangements per scrollpipe analysis.
15459 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15460
c0f4faf0
RM
154612012-08-20 Roland McGrath <roland@hack.frob.com>
15462
696da859
RM
15463 * manual/syslog.texi (syslog; vsyslog, closelog):
15464 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
15465 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
15466
c0f4faf0
RM
15467 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
15468 DSOCAPS to match condition on defining it.
15469
348363b2
JM
154702012-08-20 Joseph Myers <joseph@codesourcery.com>
15471
a35cbf28
JM
15472 * sysdeps/unix/sysv/linux/kernel-features.h
15473 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
15474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
15475 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15476 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
15478 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15479 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
15481 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15482 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15483
445f7ecd
JM
15484 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
15485 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
15486
348363b2
JM
15487 * sysdeps/unix/sysv/linux/kernel-features.h
15488 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
15489 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
15490 unconditional.
15491 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15492 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
15493 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15494 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15495 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
15496 Make code unconditional.
15497 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15498 (__mmap64) [!__NR_mmap2]: Likewise.
15499 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
15500 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15501 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15502 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
15503 [__NR_mmap2]: Make code unconditional.
15504 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15505 (__mmap64) [!__NR_mmap2]: Likewise.
15506
bc5bc0e5
AK
155072012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15508
15509 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
15510
88d506de
AJ
155112012-08-18 Andreas Jaeger <aj@suse.de>
15512
15513 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
15514
493387d2
MF
155152012-08-18 Mike Frysinger <vapier@gentoo.org>
15516
15517 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
15518 * include/unistd.h (__have_sock_cloexec): Likewise.
15519 (__have_pipe2): Likewise.
15520 (__have_dup3): Likewise.
15521
a277af22
MF
155222012-08-18 Mike Frysinger <vapier@gentoo.org>
15523
15524 [BZ #9685]
15525 * include/unistd.h (__have_pipe2): Change define into an extern int.
15526 (__have_dup3): Likewise.
15527 * socket/have_sock_cloexec.c: Include fcntl.h.
15528 (__have_pipe2): New variable.
15529 (__have_dup3): Likewise.
15530
fdab8fd3
MF
155312012-08-17 Mike Frysinger <vapier@gentoo.org>
15532
15533 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
15534
31035e80
MP
155352012-08-17 Marek Polacek <polacek@redhat.com>
15536
15537 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
15538 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
15539
3bd9e993
RM
155402012-08-17 Roland McGrath <roland@hack.frob.com>
15541
c91c505f
RM
15542 * configure.in: Add AC_SUBST for sysheaders.
15543 * configure: Regenerated.
15544 * config.make.in (sysheaders): New substituted variable.
15545
7c6f9d53
RM
15546 * sysdeps/unix/mkfifo.c: Moved ...
15547 * sysdeps/posix/mkfifo.c: ... here.
15548 * sysdeps/unix/mkfifoat.c: Moved ...
15549 * sysdeps/posix/mkfifoat.c: ... here.
15550
15551 * sysdeps/unix/utime.c: Moved ...
15552 * sysdeps/posix/utime.c: ... here.
15553
15554 * sysdeps/unix/time.c: Moved ...
15555 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
15556 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
15557 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
15558
15559 * sysdeps/unix/nice.c: Moved ...
15560 * sysdeps/posix/nice.c: ... here.
15561
15562 * sysdeps/unix/alarm.c: Moved ...
15563 * sysdeps/posix/alarm.c: ... here.
15564
3bd9e993
RM
15565 * intl/Makefile ($(codeset_mo)): Depend on the input file.
15566
d1f09384
JL
155672012-08-17 Jeff Law <law@redhat.com>
15568
15569 * intl/Makefile (codeset_mo): New variable.
15570 ($(codeset_mo)): New target.
15571 (tst-codeset.out): Depend on that. Remove explicit rule.
15572 (tst-gettext3.out, tst-gettext5.out): Likewise.
15573 (LOCPATH-ENV, tst-codeset-ENV): New variables.
15574 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
15575 * intl/tst-codeset.sh: Remove.
15576 * intl/tst-gettext3.sh: Likewise.
15577 * intl/tst-gettext5.sh: Likewise.
15578
2ae1ae5c
RM
155792012-08-17 Roland McGrath <roland@hack.frob.com>
15580
c31fdb83
RM
15581 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
15582 * sysdeps/unix/syscalls.list: ... here.
15583
a0844057
RM
15584 * sysdeps/posix/getaddrinfo.c
15585 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
15586 (gaiconf_init, gaiconf_reload): Use them.
15587 [!_STATBUF_ST_NSEC]
15588 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
15589 Define using time_t rather than struct timespec.
15590
750c1f2a
RM
15591 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
15592 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
15593 Macros removed.
15594 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
15595 [!NO_THREADS].
15596 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
15597 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
15598 Likewise.
15599
2ae1ae5c
RM
15600 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
15601 __libc_cleanup_push argument.
15602
e66a42f5
RM
15603 * bits/param.h: New file.
15604 * misc/sys/param.h: New file.
15605 * include/sys/param.h: New file.
15606 * misc/Makefile (headers): Add bits/param.h.
15607 * sysdeps/generic/sys/param.h: File removed.
15608 * sysdeps/unix/sysv/linux/bits/param.h: New file.
15609 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
15610 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 15611 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 15612
b7c08a66
RM
15613 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
15614 last change.
15615
b2e1c562
RM
15616 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
15617 [_IO_MTSAFE_IO].
15618 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
15619 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
15620 New macros.
15621
c75ccd4c
RM
15622 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
15623 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
15624 rather than -D_IO_MTSAFE_IO conditionally.
15625 * stdio-common/Makefile (CPPFLAGS): Likewise.
15626 * wcsmbs/Makefile (CPPFLAGS): Likewise.
15627 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
15628 Use $(libio-mtsafe).
15629 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
15630 of -D_IO_MTSAFE_IO.
15631 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
15632 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
15633 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
15634 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
15635 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
15636 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
15637 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
15638 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
15639 (CFLAGS-fread_u_chk.c): Likewise.
15640 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
15641 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
15642 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
15643 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
15644 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
15645 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
15646 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
15647 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
15648 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
15649
15650 * libio/Makefile: Test [$(libc-reentrant) = yes]
15651 instead of [$(filter %REENTRANT, $(defines)) nonempty].
15652
15653 * Makeconfig
15654 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
15655 * sysdeps/pthread/configure: File removed.
15656 * sysdeps/pthread/Makeconfig: New file.
15657 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
15658 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
15659
d9195db8
GB
156602012-08-16 Gary Benson <gbenson@redhat.com>
15661
15662 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
15663 unmapping the first object in a namespace.
15664
86466cd9
RM
156652012-08-16 Roland McGrath <roland@hack.frob.com>
15666
15667 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
15668 (__internal_setnetgrent): ... this. Add internal_function to
15669 definition. Add libc_hidden_def.
15670 (setnetgrent): Update caller.
15671 (internal_endnetgrent): Renamed to ...
15672 (__internal_endnetgrent): ... this. Add internal_function to
15673 definition. Add libc_hidden_def.
15674 (endnetgrent): Update caller.
15675 (internal_getnetgrent_r): Renamed to ...
15676 (__internal_getnetgrent_r): ... this. Add internal_function to
15677 definition. Add libc_hidden_def.
15678 (__getnetgrent_r): Update caller.
15679 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
15680
c3c8283c
JM
156812012-08-16 Joseph Myers <joseph@codesourcery.com>
15682
15683 * stdlib/longlong.h: Update from GCC.
15684
db1ee0a8
RM
156852012-08-16 Roland McGrath <roland@hack.frob.com>
15686
15687 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
15688 on _QL, which is set by umul_ppmm but never used.
15689 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
15690 variables, which are set by GMP macros but never used.
15691 * stdio-common/_itowa.c (_itowa): Likewise.
15692 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
15693 * stdlib/mod_1.c (mpn_mod_1): Likewise.
15694
30f69637
CD
156952012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
15696
15697 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
15698 struct La_sh_regs is not constant.
15699 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
15700 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
15701 and struct La_sparc64_regs are not constant.
15702
93a78ac4
JM
157032012-08-16 Joseph Myers <joseph@codesourcery.com>
15704
15705 * sysdeps/unix/sysv/linux/kernel-features.h
15706 (__ASSUME_POSIX_TIMERS): Remove.
15707 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15708 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15709 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
15710 Make code unconditional.
15711 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15712 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
15713 Make code unconditional.
15714 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15715 * sysdeps/unix/sysv/linux/clock_nanosleep.c
15716 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
15717 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15718 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
15719 Make code unconditional.
15720 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15721 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
15722 (__libc_missing_posix_timers): Remove.
15723
dd924cd7
RM
157242012-08-15 Roland McGrath <roland@hack.frob.com>
15725
4b4f2771
RM
15726 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
15727 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
15728
601c888b
RM
15729 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
15730
176790a7
RM
15731 * elf/dl-sym.c: Include <stdlib.h>.
15732
329bc018
RM
15733 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
15734 constants, which avoids warnings in 32-bit builds.
15735
e04e272d
RM
15736 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
15737 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
15738
952bf94a
RM
15739 * misc/lseek.c: File moved to ...
15740 * io/lseek.c: ... here.
15741
7c99b50a
RM
15742 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
15743
dd924cd7
RM
15744 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
15745 shifting LEN more than 31 bits at once.
15746
b3f479a8
LD
157472012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15748
15749 [BZ #14195]
8c4ae0d4
RM
15750 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
15751 segmentation fault for a case of two empty input strings.
b3f479a8
LD
15752 * string/test-strncasecmp.c (check1): Renamed to...
15753 (bz12205): ...this.
15754 (bz14195): Add new testcase for two empty input strings and N > 0.
15755 (test_main): Call new testcase, adapt for renamed function.
15756
9c55864e
AJ
157572012-08-15 Andreas Jaeger <aj@suse.de>
15758
15759 [BZ #14090]
15760 * crypt/md5test2.c: New test, based on test supplied by Serge
15761 Belyshev <belyshev@depni.sinp.msu.ru>.
15762 * crypt/Makefile (xtests): Add md5test-giant..
15763 * crypt/Makefile ($(objpfx)md5test-giant): Add.
15764
02dcb6c5
PE
157652012-08-15 Paul Eggert <eggert@cs.ucla.edu>
15766
15767 [BZ #14090]
15768 * crypt/md5.c (md5_process_block): Don't assume the buffer
15769 length is less than 2**32.
15770 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
15771 length is less than 2**64.
15772
a3f95dcc
RM
157732012-08-15 Roland McGrath <roland@hack.frob.com>
15774
be75d758
RM
15775 * string/str-two-way.h: Include <sys/param.h>.
15776 (MAX): Macro removed.
15777
7312ca90
RM
15778 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
15779 Move #define and #undef of memmove to just before and after
15780 including <string.h>.
15781
9a0a5486
RM
15782 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
15783 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
15784 and after including <string.h>. Move declarations of
15785 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
15786 to before #include "string/memmove.c".
15787
67cc348d
RM
15788 * include/dirent.h: Declare __getdirentries.
15789
a3f95dcc
RM
15790 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
15791 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
15792
ca98e171
MF
157932012-08-14 Mike Frysinger <vapier@gentoo.org>
15794
15795 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
15796 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
15797 * sysdeps/i386/configure: Regenerated.
15798 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
15799 STABS_CURRENT_FILE, and STABS_FUN.
15800 (END): Remove call to STABS_FUN_END.
15801 (STABS_CURRENT_FILE1): Delete.
15802 (STABS_CURRENT_FILE): Likewise.
15803 (STABS_FUN): Likewise.
15804 (STABS_FUN_END): Likewise.
15805 (STABS_FUN2): Likewise.
15806 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
15807 * sysdeps/x86_64/configure: Regenerated.
15808
5908bf46
RM
158092012-08-14 Roland McGrath <roland@hack.frob.com>
15810
15811 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 15812 * elf/dl-lookup.c: Likewise.
5908bf46 15813
f2c05b9e
JM
158142012-08-14 Joseph Myers <joseph@codesourcery.com>
15815
15816 * sysdeps/unix/sysv/linux/kernel-features.h
15817 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
15818 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
15819 unconditionally.
15820 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
15821 unconditionally.
15822 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
15823 condition on __ASSUME_CLONE_THREAD_FLAGS.
15824
e11f5155
AJ
158252012-08-14 Andreas Jaeger <aj@suse.de>
15826
15827 * sysdeps/i386/fpu/libm-test-ulps: Update.
15828
51a9ba86
MK
158292012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
15830
2fdd4f78
AJ
15831 * include/atomic.h (atomic_exchange_and_add): Split into ...
15832 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
15833 New atomic macros.
51a9ba86 15834
ba6cba9e
MT
158352012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
15836
15837 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15838
42443a47
JL
158392012-08-13 Jeff Law <law@redhat.com>
15840
15841 * manual/stdio.texi (snprintf): Clarify handling of the trailing
15842 null byte in the output string.
15843
121dce05
JM
158442012-08-10 Joseph Myers <joseph@codesourcery.com>
15845
15846 * sysdeps/unix/sysv/linux/kernel-features.h
15847 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
15848 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
15849 (__ASSUME_ARG_MAX_STACK_BASED): Define.
15850 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15851 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
15852 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
15853 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
15854
bf51f568
JL
158552012-08-09 Jeff Law <law@redhat.com>
15856
15857 [BZ #13939]
15858 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
15859 When avoid_arena is set, don't retry in the that arena. Pick the
15860 next one, whatever it might be.
15861 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
15862 (arena_lock): Pass in new parameter to arena_get2.
15863 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
15864 arena_get2.
15865 (__libc_malloc): Unify retrying after main arena failure with
15866 __libc_memalign version.
15867 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
15868
f85fa270
L
158692012-08-09 H.J. Lu <hongjiu.lu@intel.com>
15870
15871 [BZ #14166]
15872 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
15873 to __redirect_strstr.
15874 (__strstr_sse42): Use typeof __redirect_strstr.
15875 (__strstr_ia32): Likewise.
15876 (__libc_strstr): New prototype.
15877 (strstr): Renamed to ...
15878 (__libc_strstr): This.
15879 (strstr): New strong alias of __libc_strstr.
15880 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15881 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
15882 __redirect_time.
15883 Include <time.h>.
15884 (__libc_time): New prototype.
15885 (time_ifunc): Replace time with __libc_time.
15886 (time): New strong alias and hidden definition of __libc_time.
15887 (__GI_time): Remove strong alias.
15888 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
15889 Include <stddef.h>.
15890 (memmove): Redefined to __redirect_memmove.
15891 (__memmove_sse2): Use typeof __redirect_memmove.
15892 (__memmove_ssse3): Likewise.
15893 (__memmove_ssse3_back): Likewise.
15894 (__libc_memmove): New prototype.
15895 (memmove): Renamed to ...
15896 (__libc_memmove): This.
15897 (memmove): New strong alias of __libc_memmove.
15898
33b4a91e
MS
158992012-08-08 Mark Salter <msalter@redhat.com>
15900
15901 * elf/elf.h
15902 (R_MN10300_TLS_GD): Define.
15903 (R_MN10300_TLS_LD): Likewise.
15904 (R_MN10300_TLS_LDO): Likewise.
15905 (R_MN10300_TLS_GOTIE): Likewise.
15906 (R_MN10300_TLS_IE): Likewise.
15907 (R_MN10300_TLS_LE): Likewise.
15908 (R_MN10300_TLS_DTPMOD): Likewise.
15909 (R_MN10300_TLS_DTPOFF): Likewise.
15910 (R_MN10300_TLS_TPOFF): Likewise.
15911 (R_MN10300_SYM_DIFF): Likewise.
15912 (R_MN10300_ALIGN): Likewise.
15913 (R_MN10300_NUM): Update.
15914
b36137f1
JM
159152012-08-08 Joseph Myers <joseph@codesourcery.com>
15916
15917 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
15918 Remove.
15919
cdd915fd
RM
159202012-08-08 Roland McGrath <roland@hack.frob.com>
15921
a2433aac
RM
15922 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
15923
cdd915fd
RM
15924 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
15925 sysdeps/unix -> sysdeps/posix move.
15926 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15927
bf9b740a
AM
159282012-08-07 Allan McRae <allan@archlinux.org>
15929
15930 [BZ #14303]
15931 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
15932 (SUNOS_CPP): Likewise.
15933 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
15934 not found.
15935 (open_input): Call CPP using execvp.
15936
93df14ee
JM
159372012-08-07 Joseph Myers <joseph@codesourcery.com>
15938
15939 * sysdeps/unix/sysv/linux/kernel-features.h
15940 (__ASSUME_PROT_GROWSUPDOWN): Remove.
15941 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15942 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15943 (__ASSUME_WAITID_SYSCALL): Likewise.
15944 * sysdeps/unix/sysv/linux/dl-execstack.c
15945 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
15946 code unconditional.
15947 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
15948 conditional code.
15949 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
15950 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
15951 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
15952 code.
15953 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15954 unconditional.
15955 [__ASSUME_WAITID_SYSCALL]: Likewise.
15956 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15957
d34689de
RM
159582012-08-07 Roland McGrath <roland@hack.frob.com>
15959
a281decc
RM
15960 * sysdeps/unix/closedir.c: Renamed to ...
15961 * sysdeps/posix/closedir.c: ... here.
15962 * sysdeps/unix/dirfd.c: Renamed to ...
15963 * sysdeps/posix/dirfd.c: ... here.
15964 * sysdeps/unix/dirstream.h: Renamed to ...
15965 * sysdeps/posix/dirstream.h: ... here.
15966 * sysdeps/unix/fdopendir.c: Renamed to ...
15967 * sysdeps/posix/fdopendir.c: ... here.
15968 * sysdeps/unix/opendir.c: Renamed to ...
15969 * sysdeps/posix/opendir.c: ... here.
15970 * sysdeps/unix/readdir.c: Renamed to ...
15971 * sysdeps/posix/readdir.c: ... here.
15972 * sysdeps/unix/readdir_r.c: Renamed to ...
15973 * sysdeps/posix/readdir_r.c: ... here.
15974 * sysdeps/unix/rewinddir.c: Renamed to ...
15975 * sysdeps/posix/rewinddir.c: ... here.
15976 * sysdeps/unix/seekdir.c: Renamed to ...
15977 * sysdeps/posix/seekdir.c: ... here.
15978 * sysdeps/unix/telldir.c: Renamed to ...
15979 * sysdeps/posix/telldir.c: ... here.
15980 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
15981 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
15982 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15983 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15984
22895b47
RM
15985 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
15986 * bits/fcntl.h: ... here.
15987
707a53b6
RM
15988 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
15989 not 0.
15990 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
15991 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
15992 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
15993 (struct flock): Move l_start, l_len to the beginning.
15994 Use __pid_t for l_pid.
15995 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
15996 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
15997 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
15998 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
15999 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
16000 [__USE_LARGEFILE64] (struct flock64): New type.
16001 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
16002
f0bd3e25
RM
16003 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
16004 * bits/dirent.h: ... here.
16005
d34689de
RM
16006 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
16007 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
16008
6dad2c06
JM
160092012-08-07 Joseph Myers <joseph@codesourcery.com>
16010
16011 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16012 Change from 2.6.0 to 2.6.16.
16013 * sysdeps/unix/sysv/linux/configure: Regenerated.
16014 * sysdeps/unix/sysv/linux/kernel-features.h
16015 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
16016 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
16017 version.
16018 (__ASSUME_UTIMES): Likewise.
16019 (__ASSUME_CLONE_STOPPED): Remove.
16020 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
16021 architectures, not kernel version.
16022 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
16023 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16024 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16025 (__ASSUME_WAITID_SYSCALL): Likewise.
16026 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
16027 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
16028 * README: State 2.6.16 as minimum Linux kernel version. Do not
16029 refer to older versions.
16030
03af9520
RM
160312012-08-06 Roland McGrath <roland@hack.frob.com>
16032
8e49df1d
RM
16033 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
16034 Define alphasort64 as an alias.
16035 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
16036 Define versionsort64 as an alias.
16037 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
16038 Define scandir64 as an alias.
16039 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
16040 Define scandirat64 as an alias.
16041 * dirent/alphasort64.c (alphasort64):
16042 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
16043 * dirent/versionsort64.c: Likewise.
16044 * dirent/scandir64.c: Likewise.
16045 * dirent/scandirat64.c: Likewise.
16046 * sysdeps/wordsize-64/alphasort.c: File removed.
16047 * sysdeps/wordsize-64/alphasort64.c: File removed.
16048 * sysdeps/wordsize-64/scandir.c: File removed.
16049 * sysdeps/wordsize-64/scandir64.c: File removed.
16050 * sysdeps/wordsize-64/scandirat.c: File removed.
16051 * sysdeps/wordsize-64/scandirat64.c: File removed.
16052 * sysdeps/wordsize-64/versionsort.c: File removed.
16053 * sysdeps/wordsize-64/versionsort64.c: File removed.
16054 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
16055 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
16056 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
16057 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
16058 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
16059 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
16060 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
16061 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
16062
16063 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
16064 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16065 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
16066 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16067 [defined __arch64__ || defined __sparcv9]
16068 (__INO_T_MATCHES_INO64_T): New macro.
16069 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16070 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
16071 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
16072 * sysdeps/unix/sysv/linux/bits/dirent.h
16073 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
16074 (_DIRENT_MATCHES_DIRENT64): New macro.
16075
03af9520
RM
16076 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
16077 Define lockf64 as an alias.
16078 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
16079 Define fseeko64 as an alias.
16080 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
16081 Define ftello64 as an alias.
16082 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
16083 Define _IO_fgetpos64 and fgetpos64 as aliases.
16084 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
16085 Define _IO_fsetpos64 and fsetpos64 as aliases.
16086 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
16087 Conditionalize body on this.
16088 * libio/fseeko64.c: Likewise.
16089 * libio/ftello64.c: Likewise.
16090 * libio/iofgetpos64.c: Likewise.
16091 * libio/iofsetpos64.c: Likewise.
16092 * sysdeps/wordsize-64/lockf.c: File removed.
16093 * sysdeps/wordsize-64/lockf64.c: File removed.
16094 * sysdeps/wordsize-64/fseeko.c: File removed.
16095 * sysdeps/wordsize-64/fseeko64.c: File removed.
16096 * sysdeps/wordsize-64/ftello.c: File removed.
16097 * sysdeps/wordsize-64/ftello64.c: File removed.
16098 * sysdeps/wordsize-64/iofgetpos.c: File removed.
16099 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
16100 * sysdeps/wordsize-64/iofsetpos.c: File removed.
16101 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
16102 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
16103 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
16104 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
16105 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
16106 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
16107 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
16108 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
16109 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
16110 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
16111 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
16112
16113 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16114 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16115 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
16116 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16117 [defined __arch64__ || defined __sparcv9]
16118 (__OFF_T_MATCHES_OFF64_T): New macro.
16119 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16120 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16121 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16122 (__OFF_T_MATCHES_OFF64_T): New macro.
16123
c5757acd
L
161242012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16125
16126 * stdlib/secure-getenv.c (__secure_getenv): Replace
16127 GLIBC_2_16 with GLIBC_2_17.
16128
3a31811e
L
161292012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16130
16131 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
16132 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16133
faa2bccb
DM
161342012-08-03 David S. Miller <davem@davemloft.net>
16135
16136 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16137
85fe1997
JM
161382012-08-03 Joseph Myers <joseph@codesourcery.com>
16139
16140 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
16141 Remove.
16142 (__ASSUME_CORRECT_SI_PID): Likewise.
16143 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
16144 (__ASSUME_TMPFS_NAME): Likewise.
16145 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
16146 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
16147 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
16148 (HAVE_AUX_SECURE): Make definition unconditional.
16149 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
16150 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
16151
4f75b7a0
RM
161522012-08-03 Roland McGrath <roland@hack.frob.com>
16153
16154 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
16155 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
16156 * sysdeps/mach/hurd/eloop-threshold.h: New file.
16157 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16158 __eloop_threshold instead of SYMLOOP_MAX.
16159
16160 * sysdeps/generic/eloop-threshold.h: New file.
16161 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
16162 of MAXSYMLINKS.
16163 * elf/chroot_canon.c (chroot_canon): Likewise.
16164
7aab07e4
JM
161652012-08-03 Joseph Myers <joseph@codesourcery.com>
16166
16167 [BZ #13717]
16168 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16169 Change to 2.6.0 everywhere.
16170 * sysdeps/unix/sysv/linux/configure: Regenerated.
16171 * sysdeps/unix/sysv/linux/kernel-features.h
16172 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
16173 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
16174 kernel versions.
16175 (__ASSUME_POSIX_TIMERS): Define unconditionally.
16176 (__ASSUME_FUTEX_REQUEUE): Remove.
16177 (__ASSUME_STATFS64): Define unconditionally.
16178 (__ASSUME_AT_SECURE): Likewise.
16179 (__ASSUME_CORRECT_SI_PID): Likewise.
16180 (__ASSUME_TGKILL): Define without depending on kernel version for
16181 i386.
16182 (__ASSUME_UTIMES): Likewise.
16183 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
16184 kernel version.
16185 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
16186 (__ASSUME_TMPFS_NAME): Likewise.
16187 * README: Update reference to Linux kernel versions.
16188
b67e9372
MP
161892012-08-02 Marek Polacek <polacek@redhat.com>
16190
1f529f7d 16191 [BZ# 14150]
b67e9372
MP
16192 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
16193 libc_cv_asm_type_prefix with %.
16194 * configure: Regenerated.
d2441631
RM
16195 * include/libc-symbols.h: Remove comment about
16196 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
16197 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
16198 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
16199 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
16200 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
16201 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16202 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
16203 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
16204 * elf/tst-unique2mod1.c: Likewise.
16205 * elf/tst-unique1mod2.c: Likewise.
16206 * elf/tst-unique1mod1.c: Likewise.
16207 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
16208 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
16209 Replace ASM_TYPE_DIRECTIVE with .type.
16210 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16211 * sysdeps/i386/sysdep.h: Likewise.
16212 * sysdeps/x86_64/sysdep.h: Likewise.
16213 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
16214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16215 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 16216 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
16217 * sysdeps/powerpc/powerpc32/sysdep.h:
16218 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
16219 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16220 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16221 * sysdeps/i386/fpu/e_powf.S: Likewise.
16222 * sysdeps/i386/fpu/e_expl.S: Likewise.
16223 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16224 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16225 * sysdeps/i386/fpu/e_pow.S: Likewise.
16226 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16227 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16228 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16229 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16230 * sysdeps/i386/fpu/e_log2.S: Likewise.
16231 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16232 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16233 * sysdeps/i386/fpu/e_powl.S: Likewise.
16234 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16235 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16236 * sysdeps/i386/fpu/e_logl.S: Likewise.
16237 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16238 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16239 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16240 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16241 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16242 * sysdeps/i386/fpu/e_log.S: Likewise.
16243 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16244 * sysdeps/i386/fpu/e_logf.S: Likewise.
16245 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16246 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16247 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16248 * sysdeps/i386/fpu/e_log10.S: Likewise.
16249 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16250 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16251 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16252 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16253 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16254 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
16255 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16256 * sysdeps/i386/i686/strtok.S: Likewise.
16257 * sysdeps/i386/i386-mcount.S: Likewise.
16258 * sysdeps/i386/strtok.S: Likewise.
16259 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
16260 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16261 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16262 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16263 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16264 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16265 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16266 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16267 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16268 * sysdeps/x86_64/_mcount.S: Likewise.
16269 * sysdeps/x86_64/strtok.S: Likewise.
16270 * sysdeps/sh/_mcount.S: Likewise.
16271
2747bf9a
RM
162722012-08-01 Roland McGrath <roland@hack.frob.com>
16273
16274 * libio/iofopen.c: Include <fcntl.h>.
16275 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
16276 (_IO_fopen64, fopen64): Define as aliases.
16277 * libio/iofopen64.c: Include <fcntl.h>.
16278 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
16279 Conditionalize body on this.
16280 * sysdeps/wordsize-64/iofopen.c: File removed.
16281 * sysdeps/wordsize-64/iofopen64.c: File removed.
16282
3fb791b8
MP
162832012-08-01 Marek Polacek <polacek@redhat.com>
16284
16285 * libc/Makeconfig: Use elf in place of binfmt-subdir.
16286 Use dlfcn directly instead of a variable.
16287 (binfmt-subdir): Do not define.
16288 (dlfcn): Likewise.
16289
a9f1039f
JM
162902012-08-01 Joseph Myers <joseph@codesourcery.com>
16291
23bddc06
JM
16292 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
16293 Remove all definitions.
16294 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
16295 <kernel-features.h>.
16296 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16297 (miss_F_GETOWN_EX): Remove all definitions.
16298 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
16299 macro definition.
16300 [!__ASSUME_FCNTL64]: Remove conditional code.
16301 [__ASSUME_FCNTL64]: Make code unconditional.
16302 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
16303 <kernel-features.h>.
16304 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16305 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
16306 (lockf64) [__NR_fcntl64]: Make code unconditional.
16307 (lockf64) [__ASSUME_FCNTL64]: Likewise.
16308
a9f1039f
JM
16309 * sysdeps/unix/sysv/linux/kernel-features.h
16310 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
16311 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
16312 Make code unconditional.
16313 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16314 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
16316 [__NR_vfork]: Make code unconditional.
16317 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16318 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
16320 [__NR_vfork]: Make code unconditional.
16321 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16322 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16323
09c0ee5f
RM
163242012-08-01 Roland McGrath <roland@hack.frob.com>
16325
48aec5b9
RM
16326 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
16327 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
16328
cd97c966
RM
16329 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16330 Define mkstemp64 as an alias.
3f55550c
RM
16331 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16332 Define mkstemps64 as an alias.
cd97c966
RM
16333 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16334 Define mkostemp64 as an alias.
b8625cfc
RM
16335 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16336 Define mkostemps64 as an alias.
cd97c966
RM
16337 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
16338 Conditionalize body on this.
16339 * misc/mkostemp64.c: Likewise.
b8625cfc 16340 * misc/mkostemps64.c: Likewise.
3f55550c 16341 * misc/mkstemps64.c: Likewise.
cd97c966
RM
16342 * sysdeps/wordsize-64/mkstemp64.c: File removed.
16343 * sysdeps/wordsize-64/mkostemp64.c: File removed.
16344 * sysdeps/wordsize-64/mkostemp.c: File removed.
16345 * sysdeps/wordsize-64/mkstemp.c: File removed.
16346 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
16347 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
16348 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
16349 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
16350
09c0ee5f
RM
16351 [BZ #14138]
16352 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
16353 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
16354 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
16355 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
16356
16357 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
16358 compat_symbol macros from <shlib-compat.h> rather than the underlying
16359 default_symbol_version and symbol_version macros, so that DEFAULT
16360 lines in shlib-versions are respected.
16361 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
16362
7e66ee51
FW
163632012-08-01 Florian Weimer <fweimer@redhat.com>
16364
16365 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
16366 Declare with warn_unused_result.
16367 (setgid, setregid, setegid, setresgid): Likewise.
16368 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
16369 Likewise.
16370 * WUR-REPORT: Remove set*id functions.
16371
d2a54255
PT
163722012-07-31 Pino Toscano <toscano.pino@tiscali.it>
16373
16374 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
16375
7ecdb005
RM
163762012-07-31 Roland McGrath <roland@hack.frob.com>
16377
b4180a5e 16378 [BZ #10191]
789bd351
RM
16379 * include/sys/socket.h (__libc_accept, __libc_accept4):
16380 Add attribute_hidden.
16381 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
16382
40ce302d
RM
16383 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
16384 use of PTR_MANGLE.
16385 * inet/getnetgrent_r.c (setup): Likewise.
16386
7ecdb005
RM
16387 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
16388
e2eabb2c
DM
163892012-07-31 David S. Miller <davem@davemloft.net>
16390
16391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16392
d0419dbf
JM
163932012-07-31 Joseph Myers <joseph@codesourcery.com>
16394
16395 [BZ #13629]
16396 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
16397 value between 1.0 and 2.0 and smaller part has absolute value less
16398 than 1.0.
16399 * math/s_clog10.c (__clog10): Likewise.
16400 * math/s_clog10f.c (__clog10f): Likewise.
16401 * math/s_clog10l.c (__clog10l): Likewise.
16402 * math/s_clogf.c (__clogf): Likewise.
16403 * math/s_clogl.c (__clogl): Likewise.
16404 * math/libm-test.inc (clog_test): Add more tests.
16405 (clog10_test): Likewise.
16406 * sysdeps/i386/fpu/libm-test-ulps: Update.
16407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16408
2bc13872
FW
164092012-07-31 Florian Weimer <fweimer@redhat.com>
16410
16411 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
16412 Exit with zero in case no suitable GID is found, and write a
16413 message to standard error.
16414
bea9b193
RM
164152012-07-30 Roland McGrath <roland@hack.frob.com>
16416
16417 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
16418 rather than to 1.
16419 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
16420 (MAXPATHLEN): Removed.
16421 (NOGROUP, NODEV): New macros.
16422 (setbit, clrbit, isset, isclr): New macros.
16423 (howmany, roundup, powerof2): New macros.
16424 (DEV_BSIZE): New macro.
16425
16426 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
16427 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
16428
16429 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
16430 definition on [!__NO_LONG_DOUBLE_MATH].
16431
16432 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
16433 PTR_MANGLE and PTR_DEMANGLE.
16434
16435 * socket/accept4.c (accept4): Rename to __libc_accept4.
16436 Define accept4 as a weak alias.
16437
16438 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
16439 on [_DIRENT_HAVE_D_TYPE].
16440 * io/ftw.c (ftw_dir): Likewise.
16441
16442 * io/xmknod.c (__xmknod): Don't check PATH for being null.
16443
16444 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
16445
16446 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
16447 Use the BSD numbers rather than the arbitrary ones we had.
16448 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
16449 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
16450 (SIGXCPU, SIGXFSZ): New macros.
16451 (_NSIG): Now 32.
16452
16453 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
16454 initializer on [_LIBC_REENTRANT].
16455
16456 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
16457 definitions inside [_POSIX_MAPPED_FILES].
16458
16459 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
16460
16461 * dirent/opendir.c: Include <fcntl.h>.
16462
16463 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
16464 (__libc_getspecific): Likewise.
16465 (__libc_key_create): Likewise.
16466
16467 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
16468 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
16469 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
16470 (tmpfile64): Define as alias.
16471 * sysdeps/wordsize-64/tmpfile.c: File removed.
16472 * sysdeps/wordsize-64/tmpfile64.c: File removed.
16473 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
16474 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
16475
16476 * stdio-common/vfscanf.c: Include <stdbool.h>.
16477 * nss/makedb.c: Likewise.
16478 * stdio-common/_i18n_number.h: Likewise.
16479 * argp/argp-help.c: Likewise.
16480 * posix/wordexp.c: Likewise.
16481 * sysdeps/posix/spawni.c: Likewise.
16482 * nss/nss_files/files-initgroups.c: Likewise.
16483 * stdio-common/reg-modifier.c: Include <stdlib.h>.
16484 * nss/nss_files/files-initgroups.c: Likewise.
16485 * nss/nss_db/db-netgrp.c: Likewise.
16486 * nss/nss_db/db-initgroups.c: Likewise.
16487 * io/fchmodat.c: Include <sys/stat.h>.
16488
16489 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
16490 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
16491
16492 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
16493 [HAVE_MMAP].
16494
16495 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
16496 Add multiple inclusion protection.
16497
e5abc686
DM
164982012-07-27 David S. Miller <davem@davemloft.net>
16499
16500 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16501
815e6fa3
GB
165022012-07-27 Gary Benson <gbenson@redhat.com>
16503
16504 [BZ #14298]
16505 * elf/rtld.c: Include <stap-probe.h>.
16506 (dl_main): Added static probes "init_start" and "init_complete".
16507 * elf/dl-load.c: Include <stap-probe.h>.
16508 (lose): Take new parameter "nsid".
16509 Added static probe "map_failed".
16510 (_dl_map_object_from_fd): Pass namespace id to lose.
16511 Added static probe "map_start".
16512 (open_verify): Pass namespace id to lose.
16513 * elf/dl-open.c: Include <stap-probe.h>.
16514 (dl_open_worker) Added static probes "map_complete", "reloc_start"
16515 and "reloc_complete".
16516 * elf/dl-close.c: Include <stap-probe.h>.
16517 (_dl_close_worker): Added static probes "unmap_start" and
16518 "unmap_complete".
16519 * elf/rtld-debugger-interface.txt: New file documenting the above.
16520
9f98c16c
RM
165212012-07-26 Roland McGrath <roland@hack.frob.com>
16522
16523 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
16524 rather than a string variable.
16525 * sunrpc/rpc_main.c (h_output): Likewise.
16526 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
16527
f3c22df3
PT
165282012-07-26 Pino Toscano <toscano.pino@tiscali.it>
16529
16530 * inet/check_native.c: New file.
16531
3129cfc6
JM
165322012-07-26 Joseph Myers <joseph@codesourcery.com>
16533
da865e95
JM
16534 [BZ #13629]
16535 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
16536 if larger part has absolute value 1.0.
16537 * math/s_clog10.c (__clog10): Likewise.
16538 * math/s_clog10f.c (__clog10f): Likewise.
16539 * math/s_clog10l.c (__clog10l): Likewise.
16540 * math/s_clogf.c (__clogf): Likewise.
16541 * math/s_clogl.c (__clogl): Likewise.
16542 * math/libm-test.inc (clog_test): Add more tests.
16543 (clog10_test): Likewise.
16544 * sysdeps/i386/fpu/libm-test-ulps: Update.
16545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16546
3129cfc6
JM
16547 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
16548 (pltexit): Likewise.
16549 (La_regs): Likewise.
16550 (La_retval): Likewise.
16551 (int_retval): Likewise.
16552 Update #error for removed macros to refer only to definitions in
16553 tst-audit.h.
16554 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
16555 macro.
16556 (pltexit): Likewise.
16557 (La_regs): Likewise.
16558 (La_retval): Likewise.
16559 (int_retval): Likewise.
16560 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
16561 macro.
16562 (pltexit): Likewise.
16563 (La_regs): Likewise.
16564 (La_retval): Likewise.
16565 (int_retval): Likewise.
16566 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
16567 macro.
16568 (pltexit): Likewise.
16569 (La_regs): Likewise.
16570 (La_retval): Likewise.
16571 (int_retval): Likewise.
16572 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
16573 macro.
16574 (pltexit): Likewise.
16575 (La_regs): Likewise.
16576 (La_retval): Likewise.
16577 (int_retval): Likewise.
16578 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
16579 macro.
16580 (pltexit): Likewise.
16581 (La_regs): Likewise.
16582 (La_retval): Likewise.
16583 (int_retval): Likewise.
16584 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
16585 macro.
16586 (pltexit): Likewise.
16587 (La_regs): Likewise.
16588 (La_retval): Likewise.
16589 (int_retval): Likewise.
16590 * sysdeps/generic/tst-audit.h: Update comment to refer only to
16591 macro definitions in tst-audit.h.
16592 * sysdeps/i386/tst-audit.h: New file.
16593 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
16594 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
16595 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
16596 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
16597 * sysdeps/sh/tst-audit.h: Likewise.
16598 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
16599 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
16600 * sysdeps/x86_64/tst-audit.h: Likewise.
16601
bfc07087
AJ
166022012-07-26 Andreas Jaeger <aj@suse.de>
16603
b1b2aaf8
AJ
16604 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
16605 ptrace.
16606
16607 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
16608 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
16609 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
16610 PTRACE_O_MASK.
16611 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
16612 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
16613 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
16614
bfc07087
AJ
16615 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
16616 value.
16617
16618 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
16619 _sigsys.
16620 (si_call_addr, si_syscall, si_arch): Define new macro.
16621 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
16622 _sigsys.
16623 (si_call_addr, si_syscall, si_arch): Define new marcro.
16624 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
16625 _sigsys.
16626 (si_call_addr, si_syscall, si_arch): Define new macro.
16627 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
16628 _sigsys.
16629 (si_call_addr, si_syscall, si_arch): Define new macro.
16630
89b4b02f
JM
166312012-07-25 Joseph Myers <joseph@codesourcery.com>
16632
16633 [BZ #13717]
16634 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16635 Change to 2.4.21 where previously 2.4.1.
16636 * sysdeps/unix/sysv/linux/configure: Regenerated.
16637 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
16638 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
16639 Linux kernel version.
16640 (__ASSUME_STD_AUXV): Remove.
16641 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
16642 kernel version.
16643 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
16644 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
16645 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
16646 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
16647 (__ASSUME_NETLINK_SUPPORT): Likewise.
16648 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
16649 (__no_netlink_support): Remove conditional definition.
16650 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
16651 Remove.
16652 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16653 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
16654 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
16655 (if_nameindex_ioctl): Remove.
16656 (if_nameindex_netlink): Do not handle __no_netlink_support.
16657 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16658 code.
16659 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
16660 Remove conditional code.
16661 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16662 code.
16663 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
16664 unconditional.
16665 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16666 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
16667 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
16668 Remove.
16669 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
16670 [!__ASSUME_STD_AUXV]: Remove conditional code.
16671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
16672 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
16673 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
16674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
16675 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
16676 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16677 code.
16678 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16680 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
16681 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16682 conditional code.
16683 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16685 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16686 code.
16687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16688 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16689 conditional code.
16690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
16691 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16692 code unconditional.
16693 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16694 conditional code.
16695 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16696 unconditional.
16697 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16698 conditional code.
16699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16700 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16701 unconditional.
16702 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16703 conditional code.
16704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16705 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16706 code unconditional.
16707 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16708 conditional code.
16709 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16710 unconditional.
16711 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16712 conditional code.
16713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16714 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16715 code unconditional.
16716 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16717 conditional code.
16718 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16719 unconditional.
16720 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16721 conditional code.
16722
842a39cd
AS
167232012-07-25 Andreas Schwab <schwab@linux-m68k.org>
16724
16725 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
16726 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
16727 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16728 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
16729 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
16730 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16731 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16732 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16733 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
16734 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16735 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
16736 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
16737 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16738 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16739 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
16740 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
16741 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
16742 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
16743 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
16744 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
16745 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
16746 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
16747 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16748
84b3fd84
FW
167492012-07-25 Florian Weimer <fweimer@redhat.com>
16750
16751 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
16752 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
16753 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
16754 Introduce __libc_secure_getenv.
0c7936d5
FW
16755 * stdlib/Versions (2.17): Add secure_getenv
16756 (GLIBC_PRIVATE): Add __libc_secure_getenv.
16757 * stdlib/secure-getenv.c: Rename __secure_getenv to
16758 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
16759 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
16760 * stdlib/tst-secure-getenv.c: New.
16761 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
16762 * manual/startup.texi (Environment Access): Document
16763 secure_getenv.
84b3fd84
FW
16764 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
16765 __libc_secure_getenv.
16766 * inet/ruserpass.c (ruserpass): Likewise.
16767 * malloc/mtrace.c (mtrace): Likewise.
16768 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 16769 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
16770 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
16771 * sysdeps/posix/tempname.c: Likewise. Evaluate
16772 HAVE_SECURE_GETENV.
16773 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 16774 __secure_getenv to __libc_secure_getenv.
84b3fd84 16775 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
16776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16777 Likewise.
16778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16779 Likewise.
16780 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16781 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16782 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16783 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16784 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16786 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 16787
56e49b71
JM
167882012-07-25 Joseph Myers <joseph@codesourcery.com>
16789
16790 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
16791 (struct La_i86_retval): Likewise.
16792 (struct La_x86_64_regs): Likewise.
16793 (struct La_x86_64_retval): Likewise.
16794 (struct La_x32_regs): Likewise.
16795 (struct La_x32_retval): Likewise.
16796 (struct La_ppc32_regs): Likewise.
16797 (struct La_ppc32_retval): Likewise.
16798 (struct La_ppc64_regs): Likewise.
16799 (struct La_ppc64_retval): Likewise.
16800 (struct La_sh_regs): Likewise.
16801 (struct La_sh_retval): Likewise.
16802 (struct La_s390_32_regs): Likewise.
16803 (struct La_s390_32_retval): Likewise.
16804 (struct La_s390_64_regs): Likewise.
16805 (struct La_s390_64_retval): Likewise.
16806 (struct La_sparc32_regs): Likewise.
16807 (struct La_sparc32_retval): Likewise.
16808 (struct La_sparc64_regs): Likewise.
16809 (struct La_sparc64_retval): Likewise.
16810 (struct audit_ifaces): Remove architecture-specific pltenter and
16811 pltexit members.
16812 * sysdeps/i386/ldsodefs.h: New file.
16813 * sysdeps/powerpc/ldsodefs.h: Likewise.
16814 * sysdeps/s390/ldsodefs.h: Likewise.
16815 * sysdeps/sh/ldsodefs.h: Likewise.
16816 * sysdeps/sparc/ldsodefs.h: Likewise.
16817 * sysdeps/x86_64/ldsodefs.h: Likewise.
16818
354691b7
MP
168192012-07-25 Marek Polacek <polacek@redhat.com>
16820
16821 [BZ #6808]
16822 * math/libm-test.inc (yn_test): Add another test.
16823 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
16824 to ERANGE when the result is +-Inf.
16825 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16826 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16827 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
16828 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
16829
bf9e2071
JM
168302012-07-24 Joseph Myers <joseph@codesourcery.com>
16831
16832 * conform/data/time.h-data (NULL): Use macro-constant. Require
16833 equal to 0.
16834 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
16835 clock_t.
16836 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
16837
57633811
TS
168382012-07-23 Thomas Schwinge <thomas@codesourcery.com>
16839
16840 * configure.in <sysdeps resolving>: Correct printing
16841 Implies_before.
16842 * configure: Regenerate.
16843
c23c33b0
TS
168442012-07-22 Thomas Schwinge <thomas@codesourcery.com>
16845
16846 * math/w_ilogb.c: Include <limits.h>.
16847 * math/w_ilogbl.c: Likewise.
16848
b5982523
JM
168492012-07-20 Joseph Myers <joseph@codesourcery.com>
16850
16851 * manual/lang.texi (__va_copy): Document primarily as ISO C99
16852 va_copy. Document allowing for unavailable va_copy only as
16853 pre-C99 compatibility.
16854 * manual/string.texi (Copying and Concatenation): Use va_copy
16855 instead of __va_copy in concat example.
16856
ac4ea442
PT
168572012-07-20 Pino Toscano <toscano.pino@tiscali.it>
16858
16859 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
16860 (__sendto): Use create_address_port. Initialize APORT and deallocate
16861 it if not null.
16862
f98eafbd
PT
16863 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
16864 with O_NOLINK passed to __file_name_lookup.
16865
898c7aab
PT
16866 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
16867 with O_NOLINK passed to __file_name_lookup.
16868
0ced335a
PT
16869 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
16870 negative N or less than NGIDS.
16871
b3404dbd
PT
16872 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
16873 type to string_t. Set ERANGE as errno and return it if NAME is not big
16874 enough. Use memcpy instead of strncpy.
16875
0f48659e
JM
168762012-07-20 Joseph Myers <joseph@codesourcery.com>
16877
16878 * elf/Makefile (check-data): Remove.
16879 (localplt.data): New vpath directive.
16880 ($(objpfx)check-localplt.out): Use localplt.data from vpath
16881 instead of $(check-data).
16882 * scripts/data/localplt-generic.data: Move to ...
16883 * sysdeps/generic/localplt.data: ... here.
16884 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
16885 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
16886 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
16887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16888 ... here.
16889 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
16890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16891 ... here.
16892 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
16893 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
16894 ... here.
16895 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
16896 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16897 ... here.
16898 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
16899 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
16900 ... here.
16901 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
16902 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
16903 ... here.
16904
d37cbdaa
AZ
169052012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16906
16907 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
16908 PPC32 and PPC64 files.
16909 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
16910 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
16911
46f85fc2
AK
169122012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16913
16914 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
16915 __makecontext_ret to ...
16916 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16917 ... here and call exit if uc_link is NULL. New file.
16918 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
16919 __makecontext_ret.S.
16920 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
16921 __makecontext_ret to ...
16922 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16923 ... here and call exit if uc_link is NULL. New file.
16924 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
16925 __makecontext_ret.S.
16926
08f43f9b
AK
169272012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16928
16929 * elf/elf.h (R_390_IRELATIVE): New definition.
16930 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
16931 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
16932 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
16933 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16934 (elf_machine_lazy_rel): Likewise.
16935 * sysdeps/s390/dl-irel.h: New file.
16936 * sysdeps/s390/s390-64/memcpy.S: New asm code.
16937 * sysdeps/s390/s390-64/memset.S: New asm code.
16938 * sysdeps/s390/s390-64/memcmp.S: New asm code.
16939 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
16940 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
16941 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
16942 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
16943 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
16944 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
16945 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
16946 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
16947 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
16948 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
16949 * sysdeps/s390/s390-32/memcpy.S: New asm code.
16950 * sysdeps/s390/s390-32/memset.S: New asm code.
16951 * sysdeps/s390/s390-32/memcmp.S: New asm code.
16952
3b05db33
MP
169532012-07-17 Marek Polacek <polacek@redhat.com>
16954
16955 [BZ #14349]
16956 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
16957 * sysdeps/s390/s390-64/configure.in: Likewise.
16958 * sysdeps/sparc/configure.in: Likewise.
16959 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
16960 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
16961 * sysdeps/i386/configure.in: Likewise.
16962 * sysdeps/x86_64/configure.in: Likewise.
16963 * sysdeps/sh/configure.in: Likewise.
16964 * sysdeps/s390/s390-32/configure: Regenerated.
16965 * sysdeps/s390/s390-64/configure: Likewise.
16966 * sysdeps/x86_64/configure: Likewise.
16967 * sysdeps/sh/configure: Likewise.
16968 * sysdeps/powerpc/powerpc64/configure: Likewise.
16969 * sysdeps/powerpc/powerpc32/configure: Likewise.
16970 * sysdeps/sparc/configure: Likwise.
16971 * sysdeps/i386/configure: Likewise.
16972
a66877c6
MP
16973 * elf/dl-open.c: Comment fixes.
16974
cfc82fd8
JM
169752012-07-17 Joseph Myers <joseph@codesourcery.com>
16976
bd29910a
JM
16977 * Makefile [CXX] (check-data): Remove.
16978 [CXX] (c++-types.data): New vpath directive.
16979 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
16980 vpath. Do not allow for C++ type data being missing.
16981 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
16982 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
16983 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
16984 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
16985 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
16986 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
16987 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
16988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16989 ... here.
16990 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16992 ... here.
16993 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16994 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16995 ... here.
16996 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16997 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16998 ... here.
16999 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
17000 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
17001 ... here.
17002 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
17003 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
17004 ... here.
17005 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
17006 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
17007 ... here.
17008 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
17009 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
17010
cfc82fd8
JM
17011 * elf/tls-macros.h (TLS_LE): Move architecture-specific
17012 definitions to architecture-specific files.
17013 (TLS_IE): Likewise.
17014 (TLS_LD): Likewise.
17015 (TLS_GD): Likewise.
17016 * sysdeps/i386/tls-macros.h: New file.
17017 * sysdeps/powerpc/tls-macros.h: Likewise.
17018 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17019 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17020 * sysdeps/sh/tls-macros.h: Likewise.
17021 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
17022 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
17023 * sysdeps/x86_64/tls-macros.h: Likewise.
17024
f7db3170
TS
170252012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17026
07cbfc23
TS
17027 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
17028 zero value for regular exit case.
17029
f7db3170
TS
17030 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17031 (__start_context): Preserve zero value for regular exit case.
17032
dc97c227
TS
170332012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17034 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17035
17036 * manual/setjmp.texi (setcontext): Clarify normal process
17037 termination when uc_link is the null pointer.
17038 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
17039 exit call.
17040
d0cd7d02
AS
170412012-07-16 Andreas Schwab <schwab@linux-m68k.org>
17042
17043 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
17044 preprocessor. Test for each exception mask separately.
17045
dd318934
AJ
170462012-07-16 Andreas Jaeger <aj@suse.de>
17047
17048 * po/ru.po: Update from translation team.
17049
8048311a
JM
170502012-07-15 Joseph Myers <joseph@codesourcery.com>
17051
17052 * conform/data/string.h-data (NULL): Use macro-constant. Require
17053 equal to 0.
17054 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17055 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17056 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
17057 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
17058 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17059
b637d46e
AJ
170602012-07-13 Andreas Jaeger <aj@suse.de>
17061
17062 * po/fr.po: Update from translation team.
17063
541428fe
MP
170642012-07-12 Marek Polacek <polacek@redhat.com>
17065
17066 [BZ #14173]
17067 * math/libm-test.inc (yn_test): Add test for BZ #14173.
17068 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
17069 loop condition.
17070
ec332e94
JM
170712012-07-12 Joseph Myers <joseph@codesourcery.com>
17072
17073 [BZ #13717]
17074 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17075 Change to 2.4.1 where previously 2.4.0.
17076 * sysdeps/unix/sysv/linux/configure: Regenerated.
17077 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
17078 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
17079 version.
17080 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
17081 (__ASSUME_AT_CLKTCK): Remove.
17082 (__ASSUME_AT_PAGESIZE): Likewise.
17083 (__ASSUME_AT_XID): Likewise.
17084 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
17085 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
17086 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
17087 unconditionally.
17088 (HAVE_AUX_PAGESIZE): Likewise.
17089 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
17090 [__ASSUME_AT_CLKTCK]: Make code unconditional.
17091 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
17092
7b6e99be
JB
170932012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
17094
17095 [BZ #14307]
17096 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
17097 the temporary buffer used to invoke __gethostbyname2_r,
17098 __gethostbyaddr_r and gethostbyname4_r to make room for struct
17099 host_data / struct gaih_addrtuple.
17100 * resolv/nss_dns/dns-host.c (global scope): Move definition of
17101 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
17102 header file nss/nsswitch.h.
17103 * nss/nsswitch.h (global scope): Add definition of implementation
17104 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
17105 resolv/nss_dns/dns-host.c).
17106
608404eb
AJ
171072012-07-11 Andreas Jaeger <aj@suse.de>
17108
17109 * po/fr.po: Update from translation team.
17110
71220aca
AJ
17111 * po/sv.po: Update from translation team
17112 * po/fr.po: Another update from translation team.
17113
28cfe843
AZ
171142012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17115
17116 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
17117 for subnormals or multiply small sinh result by itself.
17118 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17119 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17120
6b90f981
DM
171212012-07-11 David S. Miller <davem@davemloft.net>
17122
17123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17124
c6825772
AS
171252012-07-10 Andreas Schwab <schwab@linux-m68k.org>
17126
17127 [BZ #14347]
17128 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
17129 (INTERNAL_MARK): Shift it here.
17130
7b8e0d49
MP
171312012-07-10 Marek Polacek <polacek@redhat.com>
17132
17133 [BZ #14151]
17134 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
17135 libc_cv_asm_global_directive with .globl.
17136 * configure: Regenerated.
17137 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
17138 with .globl.
17139 * sysdeps/i386/configure: Regenerated.
17140 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
17141 with .globl.
17142 * sysdeps/x86_64/configure: Regenerated.
17143 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
17144 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
17145 * elf/tst-unique2mod2.c: Likewise.
17146 * elf/tst-unique2mod1.c: Likewise.
17147 * elf/tst-unique1mod2.c: Likewise.
17148 * elf/tst-unique1mod1.c: Likewise.
17149 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17150 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17151 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17152 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17153 * sysdeps/mach/sysdep.h: Likewise.
17154 * sysdeps/i386/sysdep.h: Likewise.
17155 * sysdeps/i386/i386-mcount.S: Likewise.
17156 * sysdeps/x86_64/_mcount.S: Likewise.
17157 * sysdeps/x86_64/sysdep.h: Likewise.
17158 * sysdeps/sh/_mcount.S: Likewise.
17159 * sysdeps/sh/sysdep.h: Likewise.
17160 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
17161 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
17162 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
17163 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17164 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
17165 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
17166 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
17167 * locale/localeinfo.h: Likewise.
17168 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
17169 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
17170
6c55cda3
RM
171712012-07-09 Roland McGrath <roland@hack.frob.com>
17172
17173 [BZ #14336]
17174 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
17175 system".
17176 * manual/message.texi (The Uniforum approach): Likewise.
17177 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
17178 (glibc iconv Implementation): Likewise.
17179
638a572e
JM
171802012-07-09 Joseph Myers <joseph@codesourcery.com>
17181
17182 [BZ #14337]
17183 * math/s_clog.c (__clog): Avoid scaling a value down where that
17184 could result in underflow.
17185 * math/s_clog10.c (__clog10): Likewise.
17186 * math/s_clog10f.c (__clog10f): Likewise.
17187 * math/s_clog10l.c (__clog10l): Likewise.
17188 * math/s_clogf.c (__clogf): Likewise.
17189 * math/s_clogl.c (__clogl): Likewise.
17190 * math/libm-test.inc (clog_test): Add more tests.
17191 (clog10_test): Likewise.
17192 * sysdeps/i386/fpu/libm-test-ulps: Update.
17193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17194
261f4859
AS
171952012-07-06 Andreas Schwab <schwab@linux-m68k.org>
17196
0abaf3e4
AS
17197 [BZ #14283]
17198 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
17199 by 7 not 8 to examine high bit of fractional part.
17200
261f4859
AS
17201 [BZ #14042]
17202 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
17203 for call to __mcount_internal.
17204 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
17205 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
17206 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
17207
f17ac40d
JM
172082012-07-06 Joseph Myers <joseph@codesourcery.com>
17209
9ad63c23
JM
17210 [BZ #14154]
17211 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
17212 approximation for values within 0x1p-13f of an odd multiple of
17213 pi/4.
17214 * math/libm-test.inc (tan_test): Do not allow spurious underflow
17215 exception. Add more tests.
17216 * sysdeps/i386/fpu/libm-test-ulps: Update.
17217
f17ac40d
JM
17218 [BZ #6778]
17219 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
17220 inputs and return -1 for them. Do not check for +Inf in case not
17221 reachable for +Inf.
17222 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17223 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
17224 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17225 and return -1 for them. Do not check for +Inf in case not
17226 reachable for +Inf.
17227 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
17228 define.
17229 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17230 and return -1 for them. Do not check for +Inf in case not
17231 reachable for +Inf.
17232 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
17233 spurious underflow.
17234 * sysdeps/i386/fpu/libm-test-ulps: Update.
17235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17236
fb21f89b
MF
172372012-07-06 Mike Frysinger <vapier@gentoo.org>
17238
17239 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
17240
cdfe2c5e
JM
172412012-07-05 Joseph Myers <joseph@codesourcery.com>
17242
17243 [BZ #14157]
17244 [BZ #14331]
17245 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
17246 could result in spurious underflow. Scale down values above
17247 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
17248 * math/s_csqrtf.c (__csqrtf): Likewise.
17249 * math/s_csqrtl.c (__csqrtl): Likewise.
17250 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
17251 spurious underflow.
17252 * sysdeps/i386/fpu/libm-test-ulps: Update.
17253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17254
70d35b67
AS
172552012-07-04 Andreas Schwab <schwab@linux-m68k.org>
17256
704bc459
AS
17257 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
17258 xopen-msg.sed.
17259 * catgets/xopen-msg.awk: New file.
17260 * catgets/xopen-msg.sed: Removed.
17261
70d35b67
AS
17262 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
17263 po2text.sed.
17264 * intl/po2test.awk: New file.
17265 * intl/po2test.sed: Removed.
17266
ca61cf32
JM
172672012-07-04 Joseph Myers <joseph@codesourcery.com>
17268
17269 [BZ #14328]
17270 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
17271 or multiply small sinh result by itself.
17272 * math/s_ctanf.c (__ctanf): Likewise.
17273 * math/s_ctanh.c (__ctanh): Likewise.
17274 * math/s_ctanhf.c (__ctanhf): Likewise.
17275 * math/s_ctanhl.c (__ctanhl): Likewise.
17276 * math/s_ctanl.c (__ctanl): Likewise.
17277 * math/libm-test.inc (ctan_test_tonearest): New function.
17278 (ctan_test_towardzero): Likewise.
17279 (ctan_test_downward): Likewise.
17280 (ctan_test_upward): Likewise.
17281 (ctanh_test_tonearest): Likewise.
17282 (ctanh_test_towardzero): Likewise.
17283 (ctanh_test_downward): Likewise.
17284 (ctanh_test_upward): Likewise.
17285 (main): Call these new functions.
17286 * sysdeps/i386/fpu/libm-test-ulps: Update.
17287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17288
ca48a46a
MF
172892012-07-03 Mike Frysinger <vapier@gentoo.org>
17290
17291 * .gitignore: Delete /ports entry.
17292
9d63d37d
AJ
172932012-07-03 Andreas Jaeger <aj@suse.de>
17294
17295 * po/bg.po: Update from translation team.
17296 * po/cs.po: Likewise.
17297 * po/de.po: Likewise.
17298 * po/hr.po: Likewise.
17299 * po/nl.pl: Likewise.
17300 * po/pl.po: Likewise.
17301 * po/vi.po: Likewise.
17302
370ca3d2
JM
173032012-07-03 Joseph Myers <joseph@codesourcery.com>
17304
95f5a9a8
JM
17305 * Makeconfig [!+link] (+link-before-libc): New variable.
17306 [!+link] (+link-after-libc): Likewise.
17307 [!+link] (+link-tests): Likewise.
17308 [!+link] (+link): Define in terms of $(+link-before-libc) and
17309 $(+link-after-libc).
17310 [!+link-static] (+link-static-before-libc): New variable.
17311 [!+link-static] (+link-static-after-libc): Likewise.
17312 [!+link-static] (+link-static-tests): Likewise.
17313 [!+link-static] (+link-static): Define in terms of
17314 $(+link-static-before-libc) and $(+link-static-after-libc).
17315 [build-shared] (link-libc-before-gnulib): New variable.
17316 [build-shared] (link-libc-tests): Likewise.
17317 [build-shared] (link-libc): Define in terms of
17318 $(link-libc-before-gnulib).
17319 [!build-shared] (link-libc-tests): New variable.
17320 (link-libc-static-tests): New variable.
17321 [!gnulib] (gnulib-arch): New variable.
17322 [!gnulib] (gnulib-tests): Likewise.
17323 [!gnulib] (static-gnulib-arch): Likewise.
17324 [!gnulib] (static-gnulib-tests): Likewise.
17325 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
17326 Define with "=" instead of ":=".
17327 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
17328 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
17329 * Rules (binaries-all-notests): New variable.
17330 (binaries-all-tests): Likewise.
17331 (binaries-static-notests): Likewise.
17332 (binaries-static-tests): Likewise.
17333 (binaries-all): Define using $(binaries-all-notests) and
17334 $(binaries-all-tests).
17335 (binaries-static): Define using $(binaries-static-notests) and
17336 $(binaries-static-tests).
17337 (binaries-shared-tests): New variable.
17338 (binaries-shared-notests): Likewise.
17339 (binaries-shared): Remove variable.
17340 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
17341 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
17342 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
17343 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
17344 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
17345 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
17346 * elf/Makefile (sln-modules): New variable.
17347 (extra-objs): Add $(sln-modules:=.o).
17348 (ldconfig-modules): Add static-stubs.
17349 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
17350 * elf/static-stubs.c: New file.
17351
7a845b2c
JM
17352 [BZ #14283]
17353 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
17354 by 7 not 8 to examine high bit of fractional part. Use volatile
17355 variables when splitting into final array of floats if
17356 __FLT_EVAL_METHOD__ != 0.
17357 * math/libm-test.inc (cos_test): Add another test.
17358 (sin_test): Likewise.
17359 * sysdeps/i386/fpu/libm-test-ulps: Update.
17360
e2283f38
JM
17361 [BZ #14273]
17362 * math/libm-test.inc (cosh_test): Add more tests.
17363
370ca3d2
JM
17364 * version.h (RELEASE): Set to "development".
17365 (VERSION): Set to "2.16.90".
17366
ee9247c3
CD
173672012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
17368
17369 * NEWS: Update copyright. Remove last-updated date.
17370 Mention math library bug fixes and timezone data changes.
17371 * README: Mention GNU/Hurd, x32, and HPPA support status.
17372
4648c381
TS
173732012-06-28 Thomas Schwinge <thomas@codesourcery.com>
17374
17375 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
17376
aac78a43
AJ
173772012-06-27 Andreas Jaeger <aj@suse.de>
17378
17379 * manual/contrib.texi (Contributors): Add Samuel Thibault.
17380
ed3dbfad
AJ
173812012-06-25 Andreas Jaeger <aj@suse.de>
17382
17383 * sysdeps/s390/fpu/libm-test-ulps: Update.
17384
4d0ee855
AS
173852012-06-23 Andreas Schwab <schwab@linux-m68k.org>
17386 Thomas Schwinge <thomas@codesourcery.com>
17387
17388 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
17389 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
17390 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
17391 fanotify_mark.
17392
af1bce34
TS
173932012-06-23 Thomas Schwinge <thomas@codesourcery.com>
17394
a9fa33ba
TS
17395 * sysdeps/mach/start.c: Remove file.
17396 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
17397 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
17398 * sysdeps/sh/init-first.c: Likewise.
17399
58f902b8
TS
17400 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
17401 registers for frame unwinding purposes, add CFI directives.
17402 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17403 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
17404 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
17405 Likewise.
17406
1518f58b
TS
17407 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
17408 __fortify_fail returning.
17409 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17410
db9b5059
TS
17411 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
17412 sysdeps/sh/____longjmp_chk.S.
17413 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
17414 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
17415 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
17416 (gen-as-const-headers): Append sigaltstack-offsets.sym.
17417
967705fe
TS
17418 * sysdeps/sh/abort-instr.h: New file.
17419 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
17420 process in case exit returns.
17421
a9def8c4
TS
17422 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
17423 initialize the GOT register before use.
17424
2a649725
TS
17425 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
17426 calculation of ARGC > 4.
17427
af1bce34
TS
17428 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
17429 meaningful names to some local labels.
17430
d230f50a
KK
174312012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17432 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17433
17434 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
17435 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
17436 (__arch_compare_and_exchange_val_16_acq): Likewise.
17437 (__arch_compare_and_exchange_val_32_acq): Likewise.
17438 (atomic_exchange_and_add): Fix gUSA sequence.
17439 (atomic_add): Likewise.
17440 (atomic_add_negative): Likewise.
17441 (atomic_add_zero): Likewise.
17442 (atomic_bit_test_set): Likewise.
17443
0479b305
AS
174442012-06-22 Andreas Schwab <schwab@redhat.com>
17445
17446 [BZ #13579]
17447 * include/link.h (struct link_map): Add l_free_initfini.
17448 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
17449 l_initfini.
17450 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
17451 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
17452 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
17453 set.
17454
0e3933b9
CD
174552012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
17456
17457 * configure.in: Use AC_LANG_SOURCE.
17458 * configure: Regenerate.
17459
4248b1b1
RM
174602012-06-22 Roland McGrath <roland@hack.frob.com>
17461
17462 * configure.in (libc_cv_localstatedir): New substituted variable.
17463 * configure: Regenerated.
17464 * config.make.in (localstatedir): New variable, substituted from
17465 libc_cv_localstatedir.
17466 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
17467 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
17468 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
17469 * sysdeps/gnu/configure: Regenerated.
17470
006dd861
JL
174712012-06-21 Jeff Law <law@redhat.com>
17472
17473 [BZ #14277]
17474 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
17475 free. Simplify list management for _LIBC case.
17476
79662d42
JM
174772012-06-21 Joseph Myers <joseph@codesourcery.com>
17478
b7abb4bf
JM
17479 [BZ #14273]
17480 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17481 Clear sign bit of 64-bit integer value before comparing against
17482 overflow value.
17483
79662d42
JM
17484 * sysdeps/mach/configure: Regenerated.
17485
1f150908
L
174862012-06-21 H.J. Lu <hongjiu.lu@intel.com>
17487
17488 [BZ #14278]
17489 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
17490
28363bbf
JL
174912012-06-21 Jeff Law <law@redhat.com>
17492
17493 [BZ #13882]
17494 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
17495 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 17496 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
17497 * elf/dl-open.c (dl_open_worker): Likewise.
17498
09615db4
CD
174992012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
17500
17501 * scripts/list-sources.sh: Scan PORTS for translations.
17502 * po/libc.pot: Regenerated.
17503
2174c6dd
AJ
175042012-06-21 Andreas Jaeger <aj@suse.de>
17505
17506 [BZ #12194]
17507 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
17508 warning.
17509 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
17510 * bits/byteswap-16.h (__bswap_16): Likewise.
17511 * bits/byteswap.h (__bswap_constant_16): Likewise.
17512
3ee947b1
L
175132012-06-18 H.J. Lu <hongjiu.lu@intel.com>
17514
17515 [BZ #14117]
a2f34833
L
17516 * sysdeps/i386/fpu_control.h: Removed.
17517 * sysdeps/x86_64/fpu_control.h: Moved to ...
17518 * sysdeps/x86/fpu_control.h: Here.
17519
3ee947b1
L
17520 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
17521 (_FPU_SETCW): Likewise.
17522
ed1825f8
L
175232012-06-15 H.J. Lu <hongjiu.lu@intel.com>
17524
25f1282a
L
17525 [BZ #14117]
17526 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
17527 * sysdeps/x86/fpu/bits/mathinline.h: This.
17528 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
17529
ed1825f8
L
17530 [BZ #14050]
17531 [BZ #14117]
17532 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
17533 functions if __x86_64__ is defined.
17534
36d54b74
CLT
175352012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
17536
17537 * string/endian.h: Add !__ASSEMBLER__ condition for including
17538 conversion interfaces.
17539
10285c21
JM
175402012-06-15 Joseph Myers <joseph@codesourcery.com>
17541
17542 [BZ #14241]
17543 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
17544 of ABS(x) in calculating zero to negative powers other than odd
17545 integers.
17546 * math/libm-test.inc (pow_test): Add more tests.
17547
06c5abbd
AJ
175482012-06-15 Andreas Jaeger <aj@suse.de>
17549
17550 * manual/contrib.texi (Contributors): Update entry of Liubov
17551 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
17552 Machado Filho.
17553
a3aeac40
CH
175542012-06-15 Cyril Hrubis <metan@ucw.cz>
17555
17556 * string/string.h: Add __wur to GNU version of strerror_r.
17557
49bdf4c1
L
175582012-06-14 H.J. Lu <hongjiu.lu@intel.com>
17559
17560 [BZ #14229]
17561 * string/Makefile (tests): Add tst-strtok_r.
17562 * string/tst-strtok_r.c: New file.
17563 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
17564 RAX_LP/RDX_LP on SAVE_PTR.
17565
834f9b8d
RM
175662012-06-14 Roland McGrath <roland@hack.frob.com>
17567
17568 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
17569
75fa1921
JM
175702012-06-14 Joseph Myers <joseph@codesourcery.com>
17571
17572 * libm_test.inc (csqrt_test): Allow more spurious underflow
17573 exceptions.
17574 (j0_test): Likewise.
17575 (j1_test): Likewise.
17576 (y0_test): Likewise.
17577 (y1_test): Likewise.
17578
771766df
CD
175792012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
17580
17581 * po/Makefile (libc.pot): Use UTF-8 charset.
17582
ceb9e56b
PP
175832012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
17584
17585 [BZ #14210]
17586 Suppress sign-conversion warning from FD_SET.
17587 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
17588 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
17589 not unsigned long int.
17590 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
17591
ddb28975
L
175922012-06-12 H.J. Lu <hongjiu.lu@intel.com>
17593
17594 [BZ #14050]
17595 [BZ #14117]
17596 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
17597 __extern_always_inline instead of __extern_inline.
17598 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
17599 (__signbit): Likewise.
17600 (__signbitl): Support C++ namespace.
17601 (lrintf): New inline function.
17602 (lrint): Likewise.
17603 (llrintf): Likewise.
17604 (llrint): Likewise.
17605 (fmaxf): Likewise.
17606 (fmax): Likewise.
17607 (fminf): Likewise.
17608 (fmin): Likewise.
17609 (rint): Likewise.
17610 (rintf): Likewise.
17611 (ceil): Likewise.
17612 (ceilf): Likewise.
17613 (floor): Likewise.
17614 (floorf): Likewise.
17615 (nearbyint): Likewise.
17616 (nearbyintf): Likewise.
17617
d7b4fb26
TS
176182012-06-12 Thomas Schwinge <thomas@codesourcery.com>
17619
17620 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
17621 non-default versions.
17622
eb55f5c2
RM
176232012-06-11 Roland McGrath <roland@hack.frob.com>
17624
17625 [BZ #14218]
17626 * manual/argp.texi (Argp): Reword argp_parse description slightly.
17627
366af02c
TS
176282012-06-09 Thomas Schwinge <thomas@codesourcery.com>
17629
99ff6e5c
TS
17630 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
17631 (FE_UPWARD, FE_DOWNWARD): Don't define.
17632 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
17633 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17634
366af02c
TS
17635 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
17636 reading it.
17637 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17638 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17639
793ea851
KK
176402012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17641
17642 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17643 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
17644 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
17645 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
17646
a728a38f
L
176472012-06-06 H.J. Lu <hongjiu.lu@intel.com>
17648
17649 [BZ #14117]
c08010c7
L
17650 * sysdeps/i386/fpu/bits/fenv.h: Removed.
17651 * sysdeps/i386/fpu/Implies: New file.
17652 * sysdeps/x86_64/fpu/Implies: Likewise.
17653 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
17654 * sysdeps/x86/fpu/bits/fenv.h: This.
17655
a728a38f
L
17656 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
17657 __SSE_MATH__.
17658
6e230d11
SP
176592012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17660
17661 [BZ #14134]
17662 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
17663 character 0xffff that matches the last element of the
17664 conversion table.
17665
1b671feb
AZ
176662012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17667
17668 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
17669 fmodl commit.
17670
6043738b
AZ
176712012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17672
17673 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
17674 values higher than 25.6283.
17675
34ae0b32
AZ
176762012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17677
17678 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
17679 subnormal exponent extraction and add some __builtin_expect.
17680 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
17681 Fix for subnormal mantissa calculation.
17682
1214ec8f
MF
176832012-06-04 Mike Frysinger <vapier@gentoo.org>
17684
17685 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
17686 cpu2 is -1 and errno is not ENOSYS.
17687
f3d1f93c
L
176882012-06-04 H.J. Lu <hongjiu.lu@intel.com>
17689
17690 [BZ #14117]
0e4a3cd7
L
17691 * sysdeps/i386/i486/bits/string.h: Renamed to ...
17692 * sysdeps/x86/bits/string.h: This.
17693 * sysdeps/x86_64/bits/string.h: Removed.
17694
6704c645
L
17695 * sysdeps/i386/i486/bits/string.h: Define inline functions only
17696 if not compiling for x86-64, but compiling for >= i486.
17697
48495318
L
17698 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
17699 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
17700
14adcbfc
L
17701 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
17702 New macro from Linux kernel 3.4.0.
17703 (FP_XSTATE_MAGIC2): Likewise.
17704 (FP_XSTATE_MAGIC2_SIZE): Likewise.
17705 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
17706 (struct _fpx_sw_bytes): New struct.
17707 (struct _xsave_hdr): Likewise.
17708 (struct _ymmh_state): Likewise.
17709 (struct _xstate): Likewise.
17710
68e408ab
L
17711 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
17712 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
17713 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
17714 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
17715 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
17716 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
17717
f3d1f93c
L
17718 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
17719 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
17720 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
17721 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
17722 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
17723 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
17724
d9dc34cd
TMQMF
177252012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17726
17727 [BZ #13743]
17728 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
17729 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
17730 (sysdep_headers): Include sys/platform/ppc.h.
17731 * sysdeps/powerpc/test-gettimebase.c: Test for
17732 __ppc_get_timebase() to catch future ISA opcode/insn changes.
17733 * manual/Makefile (appendices): Include platform.texi.
17734 * manual/contrib.texi (Contributors): Update @node pointers.
17735 * manual/maint.texi (Maintenance): Likewise.
17736 (Platform): New node.
17737 * manual/platform.texi: New file. Document the new features.
17738
4af3879c
SP
177392012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17740 Jakub Jelinek <jakub@redhat.com>
17741
17742 [BZ #14188]
17743 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
17744 where __builtin_expect is unavailable.
17745
2fd6ff13
DM
177462012-06-03 David S. Miller <davem@davemloft.net>
17747
17748 * stdlib/longlong.h: Updated from GCC.
17749
173f7220
AS
177502012-06-02 Andreas Schwab <schwab@linux-m68k.org>
17751
17752 [BZ #14042]
17753 * sysdeps/powerpc/powerpc32/mcount.c: New file.
17754 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17755 __mcount_internal.
17756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17757 (GLIBC_2.16): Likewise.
17758
f34a1c6f
L
177592012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17760
17761 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
17762
88a4576f
JM
177632012-06-01 Joseph Myers <joseph@codesourcery.com>
17764
ea32bcdd
JM
17765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
17766 (default-abi): New variable.
17767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
17768 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
17769 variable.
17770 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
17771 Likewise.
17772 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
17773 Likewise.
17774 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
17775 Likewise.
17776
88a4576f
JM
17777 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
17778 definition. Document in comment.
17779
402fe938
DM
177802012-06-01 David S. Miller <davem@davemloft.net>
17781
17782 * stdlib/longlong.h: Updated from GCC.
17783
3553723f
L
177842012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17785
17786 [BZ #14117]
3bd872c4
L
17787 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
17788 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
17789 sys/debugreg.h sys/io.h here.
17790 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
17791 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
17792 sys/io.h.
17793 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
17794 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
17795 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
17796 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
17797 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
17798 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
17799
3553723f
L
17800 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
17801 Define only if __x86_64__ is defined.
17802
4842e4fe
JM
178032012-06-01 Joseph Myers <joseph@codesourcery.com>
17804
c5bfe3d5
JM
17805 [BZ #14048]
17806 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
17807 Use int64_t for variable i.
17808 * math/libm-test.inc (fmod_test): Add more tests.
17809
4842e4fe
JM
17810 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
17811 z computation is not scheduled after fetestexcept.
17812 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
17813 Use math_force_eval instead of asm to ensure calculation scheduled
17814 before exception test.
17815 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
17816 Ensure a1 + u.d computation is not scheduled after fetestexcept.
17817
efb73488
AJ
178182012-06-01 Aurelien Jarno <aurelien@aurel32.net>
17819
17820 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
17821 computation is not scheduled after fetestexcept.
17822
29bcce7c
L
178232012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17824
17825 [BZ #14117]
17826 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
17827 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
17828
73a68f94
AZ
178292012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17830
17831 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
17832 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17833
67b6df78
L
178342012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17835
edf2933a 17836 [BZ #14117]
ebc64a18
L
17837 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
17838 <bits/wordsize.h>.
17839 (__WCHAR_MIN): Support __WORDSIZE == 64.
17840 (__WCHAR_MAX): Likewise.
17841
edf2933a
L
17842 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
17843 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
17844
57c6cf40
L
17845 [BZ #14183]
17846 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
17847 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
17848
67b6df78 17849 [BZ #14117]
8eb6281e
L
17850 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
17851 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
17852
aac639f4
L
17853 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
17854 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
17855
67b6df78
L
17856 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
17857 Defined to 1 if __x86_64__ isn't defined.
17858 (_STAT_VER_LINUX_OLD): New.
17859 (st_atime): Remove duplicate.
17860 (st_mtime): Likewise.
17861 (st_ctime): Likewise.
17862
1c2cfe81
DM
178632012-05-31 David S. Miller <davem@davemloft.net>
17864
17865 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
17866 entries.
17867
5be8418c
AS
178682012-06-01 Andreas Schwab <schwab@linux-m68k.org>
17869
e7725326
AS
17870 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
17871 gen-libm-test.pl.
17872
5be8418c
AS
17873 [BZ #14132]
17874 * elf/dl-reloc.c: Include <_itoa.h>.
17875 (_dl_reloc_bad_type): Remove use of INTUSE.
17876 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
17877 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
17878 * stdio-common/psiginfo.c (psiginfo): Likewise.
17879 * stdio-common/psignal.c (psignal): Likewise.
17880 * string/strsignal.c (strsignal): Likewise.
17881 * include/signal.h (_sys_siglist): Declare hidden proto.
17882 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
17883 INTVARDEF with libc_hidden_data_def.
17884 * stdio-common/itoa-udigits.c: Likewise.
17885 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
17886 (_itoa_lower_digits_internal): Remove declaration.
17887 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
17888 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
17889 (_sys_sigabbrev_internal): Remove aliases.
17890 (_sys_siglist): Define hidden alias.
17891
507352f1
MT
178922012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
17893
17894 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17895 bits/sysctl.h.
17896
42bbb1c3
L
178972012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17898
17899 [BZ #14117]
6bd784b6
L
17900 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
17901 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
17902
8bca20f0
L
17903 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
17904 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
17905 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
17906 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
17907 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
17908 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
17909
f9e890a9
L
17910 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
17911 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
17912 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
17913
471101a1
L
17914 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
17915 with __addr.
17916 (insw): Likewise.
17917 (insl): Likewise.
17918 (outsb): Likewise.
17919 (outsw): Likewise.
17920 (outsl): Likewise.
17921
6451c862
L
17922 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
17923 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
17924 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
17925
a254b8c9
L
17926 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
17927 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
17928 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
17929 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
17930 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
17931 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
17932
b8dfdd92
L
17933 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
17934 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
17935
578cd270
L
17936 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
17937 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17938
de662f5f
L
17939 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
17940 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
17941 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
17942
25653439
L
17943 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
17944 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
17945 to ...
17946 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
17947
6bad24a0
L
17948 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
17949 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
17950 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
17951
42bbb1c3
L
17952 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
17953 for x86-64.
17954 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17955
2d10d547
JM
179562012-05-31 Joseph Myers <joseph@codesourcery.com>
17957
17958 * math/math.h (M_El): Use two more decimal places.
17959 (M_LOG2El): Likewise.
17960 (M_LOG10El): Likewise.
17961 (M_LN2l): Likewise.
17962 (M_LN10l): Likewise.
17963 (M_PIl): Likewise.
17964 (M_PI_2l): Likewise.
17965 (M_PI_4l): Likewise.
17966 (M_1_PIl): Likewise.
17967 (M_2_PIl): Likewise.
17968 (M_2_SQRTPIl): Likewise.
17969 (M_SQRT2l): Likewise.
17970 (M_SQRT1_2l): Likewise.
17971
f230c29b
DM
179722012-05-31 David S. Miller <davem@davemloft.net>
17973
17974 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
17975 values between float registers.
17976 * sysdeps/sparc/sparc64/memset.S: Likewise.
17977 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17978
fed806c3
MF
179792012-05-31 Mike Frysinger <vapier@gentoo.org>
17980
17981 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
17982 -D_FORTIFY_SOURCE=1.
17983 (CPPFLAGS-tst-longjmp_chk.c): Define.
17984 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
17985 (CPPFLAGS-tst-longjmp_chk2.c): Define.
17986 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
17987 CFLAGS-tst-wchar-h.c.
17988
30917259
MP
179892012-05-31 Marek Polacek <polacek@redhat.com>
17990
17991 [BZ #14132]
17992 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
17993 __endmntent_internal): Remove declaration.
17994 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
17995 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
17996 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
17997
1c58d5dc
DM
179982012-05-30 David S. Miller <davem@davemloft.net>
17999
18000 * sysdeps/sparc/sparc32/soft-fp/q_util.c
18001 (___Q_simulate_exceptions): Use real FP ops rather than writing
18002 into the %fsr.
18003 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
18004 Likewise.
18005
7dc00e0d
L
180062012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18007
18008 [BZ #14117]
0bd53985
L
18009 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
18010 * sysdeps/x86/bits/xtitypes.h: This.
18011
3a257e66
L
18012 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
18013 * sysdeps/x86/bits/wordsize.h: This.
18014
62f62904
L
18015 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
18016 * sysdeps/x86/bits/huge_vall.h: This.
18017
404fe9d9
L
18018 * sysdeps/i386/bits/select.h: Removed.
18019 * sysdeps/x86_64/bits/select.h: Renamed to ...
18020 * sysdeps/x86/bits/select.h: This.
18021
d48d0446
L
18022 * sysdeps/i386/bits/setjmp.h: Removed.
18023 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
18024 * sysdeps/x86/bits/setjmp.h: This.
18025
7dc00e0d
L
18026 * sysdeps/i386/bits/mathdef.h: Removed.
18027 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
18028 * sysdeps/x86/bits/mathdef.h: This.
18029
03277f8f
AS
180302012-05-30 Andreas Schwab <schwab@linux-m68k.org>
18031
18032 [BZ #14132]
18033 * include/sys/socket.h (__connect_internal)
18034 (__libc_sa_len_internal): Remove declaration.
18035 (__connect, __libc_sa_len): Declare hidden_proto.
18036 (SA_LEN): Remove use of INTUSE.
18037 * socket/connect.c: Add libc_hidden_def.
18038 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
18039 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
18040 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
18041 alias.
18042 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18043 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
18044 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
18045 of adding _internal alias.
18046
13764867
L
180472012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18048
18049 [BZ #14117]
6bd97696
L
18050 * sysdeps/i386/bits/link.h: Removed.
18051 * sysdeps/i386/bits/linkmap.h: Likewise.
18052 * sysdeps/x86_64/bits/link.h: Renamed to ...
18053 * sysdeps/x86/bits/link.h: This.
18054 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
18055 * sysdeps/x86/bits/linkmap.h: This.
18056
f726f0bb
L
18057 * sysdeps/i386/bits/endian.h: Removed.
18058 * sysdeps/x86_64/bits/endian.h: Renamed to ...
18059 * sysdeps/x86/bits/endian.h: This.
18060
13764867
L
18061 * sysdeps/i386/bits/byteswap.h: Removed.
18062 * sysdeps/i386/bits/byteswap-16.h: Likewise.
18063 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
18064 * sysdeps/x86/bits/byteswap.h: This.
18065 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
18066 * sysdeps/x86/bits/byteswap-16.h: This.
18067 * sysdeps/i386/Implies: Add x86.
18068 * sysdeps/x86_64/Implies: Likewise.
18069
ae251b0b
DM
180702012-05-30 David S. Miller <davem@davemloft.net>
18071
18072 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
18073 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
18074 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18075 (FP_TRAPPING_EXCEPTIONS): Define.
18076 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18077 (FP_TRAPPING_EXCEPTIONS): Define.
18078 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
18079 subnormals only when inexact has been signalled or underflow
18080 exceptions are enabled.
18081 (_FP_PACK_CANONICAL): Likewise.
18082
d5c90867
L
180832012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18084
18085 [BZ #14183]
18086 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
18087 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
18088
63f1549e
RH
180892012-05-30 Richard Henderson <rth@twiddle.net>
18090
8d8f2279
RH
18091 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
18092 with #ifndef NOT_IN_libc.
18093
63f1549e
RH
18094 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
18095 marked to avoid plt entry.
18096
0ab0291b
L
180972012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18098
18099 [BZ #14112]
18100 * Makeconfig (default-abi): New macro.
18101 (abi-includes): Likewise.
18102 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
18103 $(abi-$(default-abi)-lib-soname) for soname if defined.
18104 ($(common-objpfx)gnu/lib-names.stmp): Generate from
18105 abi-variants.
18106 * Makefile (installed-stubs): Likewise.
18107 * include/stubs-biarch.h: Removed.
18108 * scripts/lib-names.awk: Only handle one library at a time.
18109 * scripts/soversions.awk: Remove WORDSIZE support.
18110 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
18111 entries.
18112 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
18113 Removed.
18114 (syscall-list-default-condition): Likewise.
18115 (syscall-list-default-condition): Likewise.
18116 (syscall-list-includes): Likewise.
18117 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
18118 syscall-list-* with abi-*. Handle undefined abi-variants.
18119 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
18120 * sysdeps/unix/sysv/linux/i386/Implies: New file.
18121 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
18122 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
18123 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
18124 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
18125 Removed.
18126 (syscall-list-32-options): Likewise.
18127 (syscall-list-32-condition): Likewise.
18128 (syscall-list-64-options): Likewise.
18129 (syscall-list-64-condition): Likewise.
18130 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
18131 macro.
18132 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
18133 Renamed to ...
18134 (abi-*): This.
18135 (abi-64-ld-soname): New macro.
18136 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
18137 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
18138 Renamed to ...
18139 (abi-*): This.
18140 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
18141 * sysdeps/x86_64/x32/shlib-versions: Likewise.
18142
4da0431d
JM
181432012-05-30 Joseph Myers <joseph@codesourcery.com>
18144
3a85279c
JM
18145 * sysdeps/unix/sysv/linux/kernel-features.h
18146 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
18147 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
18148 include <kernel-features.h>.
18149 [!__NR_ftruncate64]: Remove conditional code.
18150 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18151 [__NR_ftruncate64]: Make code unconditional.
18152 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18153 * sysdeps/unix/sysv/linux/truncate64.c: Do not
18154 include <kernel-features.h>.
18155 [!__NR_ftruncate64]: Remove conditional code.
18156 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18157 [__NR_ftruncate64]: Make code unconditional.
18158 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
18160 include <kernel-features.h>.
18161 [!__NR_ftruncate64]: Remove conditional code.
18162 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18163 [__NR_ftruncate64]: Make code unconditional.
18164 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18166 include <kernel-features.h>.
18167 [!__NR_ftruncate64]: Remove conditional code.
18168 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18169 [__NR_ftruncate64]: Make code unconditional.
18170 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18171
4da0431d
JM
18172 * configure.in (libc_cv_fpie): Weaken to a compile test using
18173 LIBC_TRY_CC_OPTION.
18174 * configure: Regenerated.
18175
11ef492c
AK
181762012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18177
18178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
18179 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
18180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
18181 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18182 Refreshed.
18183 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
18184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
18185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
18186 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
18187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
18188 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18189 Refreshed.
18190
d66ef399
DM
181912012-05-27 David S. Miller <davem@davemloft.net>
18192
18193 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
18194 (___Q_zero): New.
18195 (__Q_simulate_exceptions): Return void. Change to simulate
18196 exceptions by writing into the %fsr.
18197 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
18198 (__Qp_handle_exceptions): Likewise.
18199 (numbers): Delete.
18200 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
18201 __Qp_handle_exceptions.
18202 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
18203 __Qp_handle_exceptions.
18204 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18205 as unused and give dummy FP_RND_NEAREST initializer.
18206 (FP_INHIBIT_RESULTS): Define.
18207 (___Q_simulate_exceptions): Update declaration.
18208 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
18209 formatting.
18210 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18211 as unused and give dummy FP_RND_NEAREST initializer.
18212 (__Qp_handle_exceptions): Update declaration.
18213 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
18214 formatting.
18215
04fb54b5
TS
182162012-05-27 Thomas Schwinge <thomas@codesourcery.com>
18217
18218 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
18219 the temporary FPU control word.
18220 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18221 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
18222 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18223 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18224 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18225 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18226 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18227 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18228 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18229 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
18230 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18231
3f99608f
KK
182322012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18233
18234 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
18235 fields.
18236
65a4de4e
CLT
182372012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
18238
18239 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
18240 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
18241 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
18242 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
18243 Likewise.
18244 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
18245 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
18246 Likewise.
18247
15749d40
UD
182482012-05-27 Ulrich Drepper <drepper@gmail.com>
18249
18250 * po/h.po: Update from translation team.
18251
25dbcb27
AS
182522012-05-26 Andreas Schwab <schwab@linux-m68k.org>
18253
3d3f8e55
AS
18254 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
18255
25dbcb27
AS
18256 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
18257 handling of denormals.
18258 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18259 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18260 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18261 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18262 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18263 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
18264 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
18265 Likewise.
18266
7ad47a80 182672012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
18268
18269 [BZ #14152]
18270 * math/libm-test.inc (fma_test): Don't always expect underflow
18271 exception.
18272
9c6ea9fa
SP
182732012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18274
18275 [BZ #12416]
18276 * elf/tst-execstack.c: Include stackinfo.h.
18277 (do_test): Adjust test case to ensure that pthread_getattr_np
18278 behaviour remains the same after marking stack executable.
18279
a8239222
JM
182802012-05-25 Joseph Myers <joseph@codesourcery.com>
18281
18282 * sysdeps/unix/sysv/linux/kernel-features.h
18283 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
18284 * sysdeps/unix/sysv/linux/i386/getrlimit.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 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
18289 kernel-features.h.
18290 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18291 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18292
918b5606
L
182932012-05-25 H.J. Lu <hongjiu.lu@intel.com>
18294
18295 * configure.in: Define the default includes to being none.
18296 * configure: Regenerated.
18297
3a097cc7
RM
182982012-05-25 Roland McGrath <roland@hack.frob.com>
18299
8422c9a5
RM
18300 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
18301 * sysdeps/x86_64/setjmp.S: Likewise.
18302 * sysdeps/i386/bsd-setjmp.S: Likewise.
18303 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18304 * sysdeps/i386/setjmp.S: Likewise.
18305 * sysdeps/i386/__longjmp.S: Likewise.
18306 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18307 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
18308
3a097cc7
RM
18309 * include/stap-probe.h: New file.
18310 * configure.in: Handle --enable-systemtap.
18311 * configure: Regenerated.
18312 * config.h.in (USE_STAP_PROBE): New #undef.
18313 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
18314 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
18315 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18316
21708942
JM
183172012-05-25 Joseph Myers <joseph@codesourcery.com>
18318
18319 [BZ #13717]
18320 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18321 to 2.4.0 where earlier.
18322 * sysdeps/unix/sysv/linux/configure: Regenerated.
18323 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.c: Do not include
18328 <kernel-features.h>.
18329 [__ASSUME_32BITUIDS]: Make code unconditional.
18330 [!__ASSUME_32BITUIDS]: Remove conditional code.
18331 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
18332 [__ASSUME_32BITUIDS]: Make code unconditional.
18333 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
18334 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.c: Do not include
18371 <kernel-features.h>.
18372 [__ASSUME_32BITUIDS]: Make code unconditional.
18373 [!__ASSUME_32BITUIDS]: Remove conditional code.
18374 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
18375 <kernel-features.h>.
18376 [__NR_setresgid] (__setresgid): Do not declare.
18377 [__ASSUME_32BITUIDS]: Make code unconditional.
18378 [!__ASSUME_32BITUIDS]: Remove conditional code.
18379 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
18380 <kernel-features.h>.
18381 [__NR_setresuid] (__setresuid): Do not declare.
18382 [__ASSUME_32BITUIDS]: Make code unconditional.
18383 [!__ASSUME_32BITUIDS]: Remove conditional code.
18384 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/i386/shmctl.c: Do not include
18421 <kernel-features.h>.
18422 [__ASSUME_32BITUIDS]: Make code unconditional.
18423 [!__ASSUME_32BITUIDS]: Remove conditional code.
18424 * sysdeps/unix/sysv/linux/kernel-features.h
18425 (__ASSUME_SETRESUID_SYSCALL): Remove.
18426 (__ASSUME_SETRESGID_SYSCALL): Likewise.
18427 (__ASSUME_32BITUIDS): Likewise.
18428 (__ASSUME_LDT_WORKS): Likewise.
18429 (__ASSUME_O_DIRECTORY): Likewise.
18430 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
18431 architecture but not kernel version.
18432 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18433 (__ASSUME_MMAP2_SYSCALL): Likewise.
18434 (__ASSUME_STAT64_SYSCALL): Likewise.
18435 (__ASSUME_IPC64): Likewise.
18436 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
18437 <kernel-features.h>.
18438 [__ASSUME_32BITUIDS]: Make code unconditional.
18439 [!__ASSUME_32BITUIDS]: Remove conditional code.
18440 * sysdeps/unix/sysv/linux/opendir.c: Do not include
18441 <kernel-features.h>.
18442 [__ASSUME_O_DIRECTORY]: Make code unconditional.
18443 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
18444 132096]: Remove conditional code.
18445 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
18446 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.c: Do not include
18451 <kernel-features.h>.
18452 [__ASSUME_32BITUIDS]: Make code unconditional.
18453 [!__ASSUME_32BITUIDS]: Remove conditional code.
18454 * sysdeps/unix/sysv/linux/setegid.c: Do not include
18455 <kernel-features.h>.
18456 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
18457 unconditional.
18458 (__setresgid): Do not declare.
18459 [__ASSUME_32BITUIDS]: Make code unconditional.
18460 [!__ASSUME_32BITUIDS]: Remove conditional code.
18461 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
18462 <kernel-features.h>.
18463 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
18464 unconditional.
18465 (__setresuid): Do not declare.
18466 [__ASSUME_32BITUIDS]: Make code unconditional.
18467 [!__ASSUME_32BITUIDS]: Remove conditional code.
18468 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18469 <kernel-features.h>.
18470 [__ASSUME_32BITUIDS]: Make code unconditional.
18471 [!__ASSUME_32BITUIDS]: Remove conditional code.
18472 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
18473 <kernel-features.h>.
18474 [__ASSUME_32BITUIDS]: Make code unconditional.
18475 [!__ASSUME_32BITUIDS]: Remove conditional code.
18476
a386f1cc
RH
184772012-05-25 Richard Henderson <rth@twiddle.net>
18478
18479 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
18480 dl_hwcap to ifunc resolver.
18481 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
18482 elf_ifunc_invoke.
18483 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
18484 dl_hwcap to ifunc resolver.
18485 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
18486
b6550497
JM
184872012-05-24 Joseph Myers <joseph@codesourcery.com>
18488
18489 [BZ #14153]
18490 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
18491 for |x| <= 2**-26, not 2**-57.
18492 * math/libm-test.inc (acos_test): Do not allow spurious underflow
18493 exception.
18494
b0bc23a1
JL
184952012-05-24 Jeff Law <law@redhat.com>
18496
18497 * stdio-common/Makefile (tests): Add bug25.
18498 * stdio-common/bug25.c: New test.
18499
347c92e9
L
185002012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18501
18502 [BZ #13576]
18503 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
18504 multiple of MALLOC_ALIGNMENT in size.
18505 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
18506
6bcc8b3f
JM
185072012-05-24 Joseph Myers <joseph@codesourcery.com>
18508
18509 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
18510 Require >= 256.
18511 (FILENAME_MAX): Use macro-int-constant.
18512 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
18513 (_IOFBF): Use macro-int-constant.
18514 (_IOLBF): Likewise.
18515 (_IONBF): Likewise.
18516 (SEEK_CUR): Likewise.
18517 (SEEK_END): Likewise.
18518 (SEEK_SET): Likewise.
18519 (TMP_MAX): Likewise.
18520 (EOF): Use macro-int-constant. Require < 0.
18521 (NULL): Use macro-constant. Require == 0.
18522 (stdin): Require type to be FILE *.
18523 (stdout): Likewise.
18524 (stderr): Likewise.
18525 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
18526 macro-int-constant.
18527 (EXIT_SUCCESS): Likewise.
18528 (NULL): Use macro-constant. Require == 0.
18529 (RAND_MAX): Use macro-int-constant.
18530 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
18531 [C99-based standards] (strtof): Require function.
18532 [C99-based standards] (strtold): Likewise.
18533 [C99-based standards] (strtoll): Likewise.
18534 [C99-based standards] (strtoull): Likewise.
18535 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18536 [ISO || ISO99 || ISO11] (limits.h): Likewise.
18537 [ISO || ISO99 || ISO11] (math.h): Likewise.
18538 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
18539 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18540 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18541
d18ea0c5
AS
185422012-05-24 Andreas Schwab <schwab@linux-m68k.org>
18543
18544 [BZ #14132]
56d25bb8
AS
18545 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
18546 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
18547 * intl/dgettext.c (DCGETTEXT): Likewise.
18548 * intl/gettext.c (DCGETTEXT): Likewise.
18549 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
18550 * posix/regex_internal.h (gettext): Likewise.
18551 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
18552 Remove declaration.
18553 * include/argz.h (__argz_count_internal)
18554 (__argz_stringify_internal): Remove declaration.
18555 (__argz_count, __argz_stringify): Declare hidden proto.
18556 * intl/dcgettext.c: Remove use of INTDEF.
18557 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
18558 * string/argz-stringify.c: Likewise.
18559 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18560 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18561 Declare hidden proto.
d18ea0c5
AS
18562 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18563 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18564 Declare hidden proto.
18565 * include/stdio.h (__asprintf_internal): Don't declare.
18566 (__asprintf): Don't define as macro. Declare hidden proto.
18567 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
18568 (__fsetlocking): Declare hidden proto.
18569 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
18570 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
18571 hidden proto.
18572 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
18573 (_IO_setlinebuf): Remove use of INTUSE.
18574 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
18575 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
18576 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
18577 Remove declaration.
18578 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
18579 (_IO_do_flush): Remove use of INTUSE.
18580 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
18581 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
18582 (_IO_adjust_column, _IO_least_wmarker)
18583 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
18584 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
18585 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
18586 (_IO_default_doallocate, _IO_wdefault_doallocate)
18587 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
18588 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
18589 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
18590 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
18591 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
18592 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
18593 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
18594 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
18595 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
18596 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
18597 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
18598 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
18599 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
18600 proto.
18601 (_IO_flush_all_internal, _IO_adjust_column_internal)
18602 (_IO_default_uflow_internal, _IO_default_finish_internal)
18603 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
18604 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
18605 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
18606 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
18607 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
18608 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
18609 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
18610 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
18611 (_IO_file_close_internal, _IO_file_close_it_internal)
18612 (_IO_file_underflow_internal, _IO_file_overflow_internal)
18613 (_IO_file_init_internal, _IO_file_attach_internal)
18614 (_IO_file_fopen_internal, _IO_file_read_internal)
18615 (_IO_file_sync_internal, _IO_file_seek_internal)
18616 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
18617 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
18618 (_IO_str_underflow_internal, _IO_str_overflow_internal)
18619 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
18620 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
18621 (_IO_list_all_internal, _IO_link_in_internal)
18622 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
18623 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
18624 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
18625 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
18626 (_IO_do_write_internal, _IO_padn_internal)
18627 (_IO_getline_info_internal, _IO_getline_internal)
18628 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
18629 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
18630 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
18631 (_IO_vfscanf_internal, _IO_vfprintf_internal)
18632 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
18633 (_IO_init_internal, _IO_un_link_internal): Don't declare.
18634 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
18635 with libc_hidden_ver, remove use of INTUSE.
18636 * libio/genops.c: Likewise.
18637 * libio/freopen.c: Likewise.
18638 * libio/freopen64.c: Likewise.
18639 * libio/iofclose.c: Likewise.
18640 * libio/iofdopen.c: Likewise.
18641 * libio/iofflush.c: Likewise.
18642 * libio/iofflush_u.c: Likewise.
18643 * libio/iofgets.c: Likewise.
18644 * libio/iofgets_u.c: Likewise.
18645 * libio/iofopen.c: Likewise.
18646 * libio/iofopncook.c: Likewise.
18647 * libio/iofread.c: Likewise.
18648 * libio/iofread_u.c: Likewise.
18649 * libio/ioftell.c: Likewise.
18650 * libio/iofwrite.c: Likewise.
18651 * libio/iogetline.c: Likewise.
18652 * libio/iogets.c: Likewise.
18653 * libio/iogetwline.c: Likewise.
18654 * libio/iopadn.c: Likewise.
18655 * libio/iopopen.c: Likewise.
18656 * libio/ioseekoff.c: Likewise.
18657 * libio/ioseekpos.c: Likewise.
18658 * libio/iosetbuffer.c: Likewise.
18659 * libio/iosetvbuf.c: Likewise.
18660 * libio/ioungetc.c: Likewise.
18661 * libio/ioungetwc.c: Likewise.
18662 * libio/iovdprintf.c: Likewise.
18663 * libio/iovsprintf.c: Likewise.
18664 * libio/iovsscanf.c: Likewise.
18665 * libio/memstream.c: Likewise.
18666 * libio/obprintf.c: Likewise.
18667 * libio/oldfileops.c: Likewise.
18668 * libio/oldiofclose.c: Likewise.
18669 * libio/oldiofdopen.c: Likewise.
18670 * libio/oldiofopen.c: Likewise.
18671 * libio/oldiopopen.c: Likewise.
18672 * libio/oldstdfiles.c: Likewise.
18673 * libio/putc.c: Likewise.
18674 * libio/setbuf.c: Likewise.
18675 * libio/setlinebuf.c: Likewise.
18676 * libio/stdfiles.c: Likewise.
18677 * libio/strops.c: Likewise.
18678 * libio/vasprintf.c: Likewise.
18679 * libio/vscanf.c: Likewise.
18680 * libio/vsnprintf.c: Likewise.
18681 * libio/vswprintf.c: Likewise.
18682 * libio/wfiledoalloc.c: Likewise.
18683 * libio/wfileops.c: Likewise.
18684 * libio/wgenops.c: Likewise.
18685 * libio/wmemstream.c: Likewise.
18686 * libio/wstrops.c: Likewise.
18687 * libio/__fpurge.c: Likewise.
18688 * libio/__fsetlocking.c: Likewise.
18689 * assert/assert.c: Likewise.
18690 * debug/fgets_chk.c: Likewise.
18691 * debug/fgets_u_chk.c: Likewise.
18692 * debug/fread_chk.c: Likewise.
18693 * debug/fread_u_chk.c: Likewise.
18694 * debug/gets_chk.c: Likewise.
18695 * debug/obprintf_chk.c: Likewise.
18696 * debug/vasprintf_chk.c: Likewise.
18697 * debug/vdprintf_chk.c: Likewise.
18698 * debug/vsnprintf_chk.c: Likewise.
18699 * debug/vsprintf_chk.c: Likewise.
18700 * malloc/mtrace.c: Likewise.
18701 * misc/error.c: Likewise.
18702 * misc/syslog.c: Likewise.
18703 * stdio-common/asprintf.c: Likewise.
18704 * stdio-common/fxprintf.c: Likewise.
18705 * stdio-common/getw.c: Likewise.
18706 * stdio-common/isoc99_fscanf.c: Likewise.
18707 * stdio-common/isoc99_scanf.c: Likewise.
18708 * stdio-common/isoc99_vfscanf.c: Likewise.
18709 * stdio-common/isoc99_vscanf.c: Likewise.
18710 * stdio-common/isoc99_vsscanf.c: Likewise.
18711 * stdio-common/printf-prs.c: Likewise.
18712 * stdio-common/printf_fp.c: Likewise.
18713 * stdio-common/printf_fphex.c: Likewise.
18714 * stdio-common/printf_size.c: Likewise.
18715 * stdio-common/putw.c: Likewise.
18716 * stdio-common/scanf.c: Likewise.
18717 * stdio-common/sprintf.c: Likewise.
18718 * stdio-common/tmpfile.c: Likewise.
18719 * stdio-common/vfprintf.c: Likewise.
18720 * stdio-common/vfscanf.c: Likewise.
18721 * stdlib/strfmon_l.c: Likewise.
18722 * sunrpc/openchild.c: Likewise.
18723 * sunrpc/xdr_stdio.c: Likewise.
18724 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18725 * sysdeps/mach/hurd/tmpfile.c: Likewise.
18726
d6c33fda
RM
187272012-05-24 Roland McGrath <roland@hack.frob.com>
18728
c1487492
RM
18729 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18730
18731 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
18732 in the third column, to generate for the shared library an IFUNC
18733 that uses _dl_vdso_vsym.
18734 * Makerules (COMPILE.c, compile-stdin.c): New variables.
18735 * Makeconfig (object-suffixes-noshared): New variable.
18736
18737 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
18738 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
18739 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
18740 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
18741
d6c33fda
RM
18742 [BZ #14132]
18743 * include/sys/time.h (__gettimeofday): Remove macro.
18744 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
18745 * time/gettimeofday.c (__gettimeofday): Remove #undef.
18746 Remove INTDEF.
18747 (__gettimeofday): Add libc_hidden_def.
18748 (gettimeofday): Add libc_hidden_weak.
18749 * sysdeps/mach/gettimeofday.c: Likewise.
18750 * sysdeps/posix/gettimeofday.c: Likewise.
18751 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18752 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18753 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
18754 (__gettimeofday_internal): Remove strong_alias.
18755 (__gettimeofday): Add libc_hidden_def.
18756 (gettimeofday): Add libc_hidden_weak.
18757 * sysdeps/unix/syscalls.list (gettimeofday):
18758 Remove __gettimeofday_internal alias.
18759
b5a2bbe6
L
187602012-05-24 Daniel Jacobowitz <drow@false.org>
18761 H.J. Lu <hongjiu.lu@intel.com>
18762
18763 [BZ #12495]
18764 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
18765 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
18766 (largebin_index_32_big): New.
18767 (largebin_index): Use it for 16-byte alignment.
18768 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
18769 correction with front_misalign.
18770
cfba4fda
L
187712012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18772
7f907421
L
18773 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
18774 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18775 Likewise.
18776 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
18777 Likewise.
18778 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18779 Likewise.
18780 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
18781 Likewise.
18782 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
18783 Likewise.
18784 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
18785 Likewise.
18786 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
18787 Likewise.
18788 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18789 Likewise.
18790 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
18791 Likewise.
18792 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
18793 Likewise.
18794 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18795 Likewise.
18796 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
18797 Likewise.
18798
cfba4fda
L
18799 * scripts/data/c++-types-x32-linux-gnu.data: New file.
18800 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
18801
80bad0cc
JM
188022012-05-24 Joseph Myers <joseph@codesourcery.com>
18803
7a25eb06
JM
18804 [BZ #10846]
18805 [BZ #14036]
18806 * math/libm-test.inc (exp_test): Add test from bug 14036.
18807 (pow_test): Add test from bug 10846.
18808
795405f9
JM
18809 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
18810 and other flags.
18811 (special_function): Do not include flags in test name.
18812 (parse_args): Likewise.
18813 * sysdeps/i386/fpu/libm-test-ulps: Update.
18814 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18815 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18816 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18818
80bad0cc
JM
18819 * math/gen-libm-test.pl (%beautify): Add entries for underflow
18820 exceptions.
18821 * math/libm-test.inc ("Philosophy"): Update comment about
18822 exception testing.
18823 (UNDERFLOW_EXCEPTION): New macro.
18824 (UNDERFLOW_EXCEPTION_OK): Likewise.
18825 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
18826 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
18827 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
18828 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
18829 (INVALID_EXCEPTION_OK): Update value.
18830 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18831 (OVERFLOW_EXCEPTION_OK): Likewise.
18832 (IGNORE_ZERO_INF_SIGN): Likewise.
18833 (test_exceptions): Handle underflow exceptions.
18834 (acos_test): Update for underflow exception expectations.
18835 (cexp_test): Likewise.
18836 (clog_test): Likewise.
18837 (clog10_test): Likewise.
18838 (csqrt_test): Likewise.
18839 (ctan_test): Likewise.
18840 (ctanh_test): Likewise.
18841 (exp_test): Likewise.
18842 (exp10_test): Likewise.
18843 (exp2_test): Likewise.
18844 (expm1_test): Likewise.
18845 (fma_test): Likewise.
18846 (j0_test): Likewise.
18847 (jn_test): Likewise.
18848 (nexttoward_test): Likewise.
18849 (pow_test): Likewise.
18850 (scalbn_test): Likewise.
18851 (scalbln_test): Likewise.
18852 (tan_test): Likewise.
18853 (y1_test): Likewise.
18854 * sysdeps/i386/fpu/libm-test-ulps: Update.
18855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18856
9e0e3d0b
DM
188572012-05-23 David S. Miller <davem@davemloft.net>
18858
18859 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18860 (__libc_sigaction): Remove unused local variables.
18861
ccd0a08f
L
188622012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18863
18864 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
18865
62bdf9a6
PE
188662012-05-23 Paul Eggert <eggert@cs.ucla.edu>
18867
f8591f80
PE
18868 mktime: avoid signed integer overflow
18869 * time/mktime.c (__mktime_internal): Do not mishandle the case
18870 where diff == INT_MIN.
18871
94c7d826
PE
18872 mktime: simplify computation of average
18873 * time/mktime.c (ranged_convert): Use new time_t_avg function
18874 instead of rolling our own (probably-slower) code.
18875
ce73d683
PE
18876 mktime: do not assume signed right shift propagates sign bit
18877 * time/mktime.c (isdst_differ): New static function.
18878 (__mktime_internal): No need to normalize tm_isdst now.
18879 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
18880 tm_isdst values.
18881
72a22e59
PE
18882 mktime: merge another wrapv change from gnulib
18883 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
18884 from some compilers.
18885
68605433
PE
18886 mktime: remove incorrect attempt at unusual arithmetics
18887 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
18888 The code didn't really work on such machines anyway.
18889 (TYPE_MINIMUM): Assume two's complement.
18890 (twos_complement_arithmetic): Verify that long_int and time_t
18891 are two's complement (or unsigned, in the latter case).
18892
03cf7fe3
PE
18893 mktime: check signed shifts on long_int and time_t, too
18894 * time/mktime.c (SHR): Check that shifts work as desired
18895 on the types long_int and time_t too, as SHR is used on
18896 such types.
18897
f04dfbc2
PE
18898 mktime: do not assume 'long' is wide enough
18899 * time/mktime.c (verify): Move decl up.
18900 (long_int): New type.
18901 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
18902 to remove assumption in the code that 'long' is wide enough to
18903 store year values. This assumption is not true on x32 and on
18904 some non-glibc platforms.
18905
62bdf9a6
PE
18906 mktime: merge wrapv change from gnulib
18907 * time/mktime.c (WRAPV): New macro.
18908 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
18909 (guess_time_tm, __mktime_internal): Do not assume that signed
18910 integer overflow wraps around; modern compilers generate code
18911 where this assumption is no longer valid.
18912
5e292e4f
L
189132012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18914
18915 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18916 Replace "jmp L(pseudo_end)" with "ret".
18917 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
18918 Likewise.
18919
8caf8c87
AJ
189202012-05-23 Andreas Jaeger <aj@suse.de>
18921
18922 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
18923 * sysdeps/unix/sysv/linux/poll.c: Remove file.
18924
1a09dc56
AJ
189252012-05-23 Andreas Jaeger <aj@suse.de>
18926 Maximilian Attems <max@stro.at>
18927
18928 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
18929 New macros.
18930
1c87aba0
L
189312012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18932
18933 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
18934 code so that pseudo_end is just ret and the stack pointer is
18935 correct also for static library in error case.
18936
40e45bd5
JM
189372012-05-23 Joseph Myers <joseph@codesourcery.com>
18938
c2670533
JM
18939 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
18940 move to syscalls.list.
18941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18945
40e45bd5
JM
18946 * manual/install.texi (Running make install): Do not mention Linux
18947 kernel version for which pt_chown is not needed.
18948 (Linux): Do not mention problems with nscd with 2.0 kernels.
18949 * INSTALL: Regenerated.
18950
be08eda5
AJ
189512012-05-23 Andreas Jaeger <aj@suse.de>
18952
18953 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
18954 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18955 macro.
18956 * sysdeps/unix/sysv/linux/s390/bits/mman.h
18957 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18958 * sysdeps/unix/sysv/linux/sh/bits/mman.h
18959 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18960 * sysdeps/unix/sysv/linux/i386/bits/mman.h
18961 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18962 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
18963 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18964 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
18965 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18966 * sysdeps/unix/sysv/linux/bits/in.h
18967 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
18968
a6a056bb
RM
189692012-05-22 Roland McGrath <roland@hack.frob.com>
18970
18971 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
18972 (PREPARE_VERSION): Just use assert instead, it will be elided
18973 under [NDEBUG] anyway.
18974
c9009328
L
189752012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18976
18977 * sysdeps/unix/sysv/linux/Makefile: Include
18978 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 18979 (sysdep_routines): Remove sysctl.
c9009328
L
18980 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
18981 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
18982 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
18983 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
18984 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
18985
73338355
AJ
189862012-05-22 Andreas Jaeger <aj@suse.de>
18987
18988 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
18989 that pseudo_end is just ret and the stack pointer is correct also
18990 for static library in error case.
18991
d44638b0
PP
189922012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
18993
18994 [BZ #14122]
18995 * nss/nsswitch.c (defconfig_entries): New variable.
18996 (__nss_database_lookup): Don't leak defconfig entries.
18997 (nss_parse_service_list): Don't leak on error paths.
18998 (free_database_entries): New function.
18999 (free_defconfig): New function.
19000 (free_mem): Move common code to free_database_entries.
19001
31a39bd8
L
190022012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19003
da0331a8
L
19004 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
19005 Add arch_prctl.
19006 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
19007
31a39bd8
L
19008 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19009 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
19010 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
19011 New macro.
19012 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19013 (INTERNAL_SYSCALL_TYPES): Likewise.
19014 (LOAD_ARGS_TYPES_[1-6]): Likewise.
19015 (LOAD_REGS_TYPES_[1-6]): Likewise.
19016 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
19017 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
19018
45470df3
AZ
190192012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19020
19021 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
19022 copysignl for GLIBC_2_0.
19023 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
19024 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
19025 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
19026 logbl for GLIBC_2_0.
19027 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19028 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19029
98a61bcb
L
190302012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19031
a4f6e481
L
19032 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
19033 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19034
f63d5db6
L
19035 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19036 Use "neg %eax".
19037
98a61bcb
L
19038 * time/mktime.c: Update copyright years.
19039
95770f14
PE
190402012-05-22 Paul Eggert <eggert@cs.ucla.edu>
19041
6226efbd
PE
19042 mktime: merge comment-quoting-style change from gnulib
19043 * time/mktime.c: Quote 'like this' in comments.
19044 The GNU coding standards suggest that we no longer quote `like this',
19045 as "`" and "'" are typically rendered asymmetrically nowadays.
19046 The typical gnulib style is to quote 'like this' when quoting
19047 code, and "like this" when quoting English.
19048
b99e4f78
PE
19049 * time/mktime.c (compile-command): Add "-I.".
19050
643e01e6
PE
19051 mktime: merge mktime-internal.h change from gnulib
19052 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
19053
2554247d
PE
19054 mktime: merge time_r change from gnulib
19055 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
19056
826dd0ab
PE
19057 mktime: merge DEBUG change from gnulib
19058 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
19059 case system <time.h> has a #define.
19060
bd83aabe
PE
19061 mktime: merge <sys/types.h> change from gnulib
19062 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
19063 since <time.t> is now guaranteed to define time_t.
19064
95770f14
PE
19065 mktime: merge HAVE_CONFIG_H change from gnulib
19066 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
19067
5e1a27a9
L
190682012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19069
0e44a77e
L
19070 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19071 Use "neg %eax".
19072
5e1a27a9
L
19073 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
19074 __rlim_t cast.
19075 (struct rusage): Use anonymous union to pad each field to
19076 __syscall_slong_t.
19077
46259bec
DM
190782012-05-21 David S. Miller <davem@davemloft.net>
19079
19080 * Makefules (o-iterator): Remove .s cases.
19081 (compile-command.s): Delete.
19082 (COMPILE.s): Delete.
19083 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
19084
59f0c22e
JM
190852012-05-21 Joseph Myers <joseph@codesourcery.com>
19086
19087 * configure.in (libc_cv_predef_stack_protector): Only consider
19088 "foobar" and "__stack_chk_fail" lines in libc_undefs.
19089 * configure: Regenerated.
19090
20c07380
L
190912012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19092
bbb3154b
L
19093 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19094 New macro. Use R*LP on int and pointer.
19095 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
19096 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
19097 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
19098 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
19099
20c07380
L
19100 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
19101 [__WORDSIZE_TIME64_COMPAT32] instead of
19102 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
19103 (struct utmp): Likewise.
19104 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
19105 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
19106 Renamed to ...
19107 (__WORDSIZE_TIME64_COMPAT32): This.
19108 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
19109 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
19110 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
19111 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
19112 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
19113 (__WORDSIZE_TIME64_COMPAT32): New macro.
19114
d8d1017e
AJ
191152012-05-21 Andreas Jaeger <aj@suse.de>
19116
19117 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
19118 only if [SHARED]. Add prototype for __wcschr_ia32.
19119
6c7fb145
RM
191202012-05-21 Roland McGrath <roland@hack.frob.com>
19121
19122 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
19123 of %rbp unmolested in the jmp_buf while mangling the low bits.
19124 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
19125 unmolested high bits of %rbp while demangling the low bits.
19126 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19127
66274218
AJ
191282012-05-21 Andreas Jaeger <aj@suse.de>
19129
07c58f8f
AJ
19130 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
19131 * sunrpc/svc_simple.c: Use it for registerrpc.
19132 * sunrpc/xcrypt.c: Use it for passwd2des.
19133
66274218
AJ
19134 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
19135
61f65140
L
191362012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19137
19138 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
19139 Don't define if [__SYSCALL_WORDSIZE != 32].
19140 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
19141 New macro.
19142
5fefb436
AJ
191432012-05-21 Bruno Haible <bruno@clisp.org>
19144 Andreas Jaeger <aj@suse.de>
19145
19146 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
19147 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
19148 inptr and inend for must_buffer_ch.
19149 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
19150 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
19151 * stdio-common/Makefile (tests): Remove bug15.
19152 (bug15-ENV): Remove macro.
19153 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
19154 anymore.
19155
d8e272ab
AJ
191562012-05-19 Andreas Jaeger <aj@suse.de>
19157 Roland McGrath <roland@hack.frob.com>
19158
19159 * manual/contrib.texi: Completely rewritten. It contains now an
19160 alphabetical list of contributors and their contributions.
19161
4a56a162
RH
191622012-05-21 Richard Henderson <rth@twiddle.net>
19163
19164 * misc/getauxval.c (__getauxval): Use unsigned long int.
19165 * misc/sys/auxv.h: Include <sys/cdefs.h>.
19166 (getauxval): Use unsigned long int.
19167
d024d23c
L
191682012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19169
19170 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19171
cbc00a03
RM
191722012-05-21 Roland McGrath <roland@hack.frob.com>
19173
19174 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
19175 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
19176 __alignof__ (long double).
19177
478143fa
AZ
191782012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19179
19180 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19181
c7683a6d
RH
191822012-05-20 Richard Henderson <rth@twiddle.net>
19183
19184 * misc/getauxval.c: New file.
19185 * misc/sys/auxv.h: New file.
19186 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
19187 (routines): Add getauxval.
19188 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
19189 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
19190 * elf/dl-sysdep.c (_dl_auxv): Remove.
19191 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
19192 * elf/dl-support.c (_dl_auxv): New variable.
19193 (_dl_aux_init): Initialize it.
19194 * manual/startup.texi (Auxiliary Vector): New node.
19195 * sysdeps/generic/bits/hwcap.h: New file.
19196 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
19197 * sysdeps/powerpc/sysdep.h: ... here. Include it.
19198 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
19199 * sysdeps/sparc/sysdep.h: ... here. Include it.
19200 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
19201 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
19202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19203 Update.
c7683a6d
RH
19204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
19205 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
19206 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
19207 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
19208 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19209 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19210 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
19211 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
19212
a6f1845d
AZ
192132012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19214
19215 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19216
cbcbe830
DM
192172012-05-19 David S. Miller <davem@davemloft.net>
19218
19219 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19220
e0b16cc2
JM
192212012-05-19 Joseph Myers <joseph@codesourcery.com>
19222
19223 [BZ #14123]
19224 * math/s_ccosh.c: Include <float.h>
19225 (__ccosh): Avoid internal overflow calculating sinh and cosh
19226 values before multiplying by sin and cos values.
19227 * math/s_ccoshf.c: Likewise.
19228 * math/s_ccoshl.c: Likewise.
19229 * math/s_csin.c: Likewise.
19230 * math/s_csinf.c: Likewise.
19231 * math/s_csinl.c: Likewise.
19232 * math/s_csinh.c: Likewise.
19233 * math/s_csinhf.c: Likewise.
19234 * math/s_csinhl.c: Likewise.
19235 * math/libm-test.inc (ccos_test): Add more tests.
19236 (ccosh_test): Likewise.
19237 (csin_test): Likewise.
19238 (csinh_test): Likewise.
19239 * sysdeps/i386/fpu/libm-test-ulps: Update.
19240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19241
6ad13e08
L
192422012-05-19 H.J. Lu <hongjiu.lu@intel.com>
19243
f66f0ce8
L
19244 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
19245 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
19246
6ad13e08
L
19247 * sysdeps/x86_64/x32/_itoa.h: Add comment.
19248
b1d072a7
JM
192492012-05-19 Joseph Myers <joseph@codesourcery.com>
19250
19251 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
19252 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
19253 * sysdeps/powerpc/soft-fp/Versions: Likewise.
19254 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
19255 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
19256 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
19257 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
19258 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
19259 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
19260 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
19261 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
19262 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
19263 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
19264 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
19265 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
19266 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
19267 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
19268 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
19269 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
19270 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
19271 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
19272 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
19273 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
19274 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
19275 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
19276 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
19277 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
19278 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
19279 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
19280 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
19281 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
19282
9eae47cb
AJ
192832012-05-18 Andreas Jaeger <aj@suse.de>
19284
19285 * csu/.gitignore: Delete.
19286
bb07f69f
L
192872012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19288
19289 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
19290 (timex): Use __syscall_slong_t.
19291
e6bdb741
AJ
192922012-05-18 Andreas Jaeger <aj@suse.de>
19293 Carlos O'Donell <carlos_odonell@mentor.com>
19294
19295 * manual/install.texi (Configuring and compiling): Update
19296 description about files modified in the source directory.
d6c33fda 19297 * INSTALL: Regenerated.
e6bdb741 19298
1b74487e
L
192992012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19300
19301 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
19302 value. Use "or" to set return value to -1.
19303 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
19304 negate return value.
19305
a88b64b9
TMQMF
193062012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19307
19308 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
19309 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
19310 failure if the compiler has Graphite support disabled.
19311 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
19312 Likewise.
19313 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
19314 CFLAGS-memmove.c): Likewise.
19315 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
19316 Likewise.
19317
3707636e
L
193182012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19319
610b8622
L
19320 * sysdeps/x86_64/x32/_itoa.h: New file.
19321
7cd195df
L
19322 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
19323 getdents system call only if kernel and user dirents have the
19324 same d_ino and d_off.
19325
94b07d20
L
19326 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19327 LLONG_MAX != LONG_MAX.
19328 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19329 (_fitoa_word): Likewise.
19330
18298070
L
19331 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
19332 years.
19333 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
19334 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
19335 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
19336
553c7ea4
L
19337 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
19338 include <bits/wordsize.h>. Check __x86_64__ instead of
19339 __WORDSIZE.
19340 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
19341 if __x86_64__ is defined. Use anonymous union on fpstate.
19342
3707636e
L
19343 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
19344 anonymous union.
19345
b53ef01a
AS
193462012-05-18 Andreas Schwab <schwab@linux-m68k.org>
19347
37fb1dc0
AS
19348 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19349 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
19350 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
19351 Refer to _rtld_local_ro instead of _rtld_global_ro.
19352 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
19353 Likewise.
19354 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
19355 Likewise.
19356 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
19357 Likewise.
19358 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
19359 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
19360 of _rtld_global, and rtld_progname instead of _dl_argv[0].
19361
b53ef01a
AS
19362 * sysdeps/powerpc/powerpc32/dl-machine.c
19363 (__elf_machine_runtime_setup) [PROF]: Don't reference
19364 _dl_prof_resolve.
19365
7a185db2
AJ
193662012-05-18 Andreas Jaeger <aj@suse.de>
19367
19368 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
19369 function only available for GCCs before 3.4 since GCC 3.4
19370 introduced a builtin.
19371 (lrint): Likewise.
19372 (llrintf): Likewise.
19373 (llrint): Likewise.
19374 (fmaxf): Likewise.
19375 (fmax): Likewise.
19376 (fminf): Likewise.
19377 (fmin): Likewise.
19378 (rint): Likewise.
19379 (rintf): Likewise.
19380 (nearbyint): Likewise.
19381 (nearbyintf): Likewise.
19382 (ceil): Likewise.
19383 (ceilf): Likewise.
19384 (floor): Likewise.
19385 (floorf): Likewise.
19386
3e5aef87
L
193872012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19388
428bd707
L
19389 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
19390 on both fields and cast pointer to __syscall_ulong_t.
19391
3e5aef87
L
19392 * bits/types.h (__fsword_t): New type.
19393 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
19394 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
19395 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19396 (__FSWORD_T_TYPE): Likewise.
19397 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19398 (__FSWORD_T_TYPE): Likewise.
19399 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19400 (__FSWORD_T_TYPE): Likewise.
19401 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
19402 (__FSWORD_T_TYPE): Likewise.
19403 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
19404 __SWORD_TYPE with __fsword_t.
19405 (statfs64): Likewise.
19406
1ba7c3dc
DM
194072012-05-17 David S. Miller <davem@davemloft.net>
19408
19409 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
19410
59910343
AJ
194112012-05-17 Andreas Jaeger <aj@suse.de>
19412
19413 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
19414 warning.
19415
2e4c1e9e
L
194162012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19417
19418 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
19419
de7f5ce7
AJ
194202012-05-17 Andreas Jaeger <aj@suse.de>
19421
19422 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
19423 when it is used.
19424
286abc3d
CM
194252012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19426
19427 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
19428
477cc68e
L
194292012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19430
19431 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
19432 * sysdeps/x86_64/tst-mallocalign1.c: New file.
19433
1a0994f5
CD
194342012-05-17 Andreas Jaeger <aj@suse.de>
19435 Carlos O'Donell <carlos_odonell@mentor.com>
19436
19437 [BZ #14059]
19438 * sysdeps/x86_64/multiarch/init-arch.h
19439 (bit_YMM_Usable): Rename to...
19440 (bit_AVX_Usable): ... this.
19441 (bit_FMA4_Usable): New macro.
19442 (bit_XMM_state): New macro.
19443 (bit_YMM_state): New macro.
19444 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
19445 [__ASSEMBLER__] (index_AVX_Usable): ... this.
19446 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
19447 (CPUID_OSXSAVE): New macro.
19448 (CPUID_AVX): New macro.
19449 (CPUID_FMA4): New macro.
19450 (index_YMM_Usable): Rename to...
19451 (index_AVX_Usable): ... this.
19452 (HAS_AVX): Use HAS_ARCH_FEATURE.
19453 (HAS_FMA4): Likewise.
19454 (HAS_YMM_USABLE): Remove.
19455 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19456 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
19457 are present.
19458 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
19459 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
19460 * sysdeps/x86_64/multiarch/Makefile: Likewise.
19461 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
19462 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
19463
0af797de
CM
194642012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19465
19466 * math/libm-test.c: Support platforms without multiple rounding modes.
19467 * math/bug-nextafter.c: Support platforms without FP exceptions.
19468 * math/bug-nexttoward.c: Likewise.
19469 * math/test-fenv.c: Likewise.
19470 * math/test-misc.c: Likewise.
19471 * stdlib/bug-getcontext.c: Likewise.
19472
e39745ff
AJ
194732012-05-17 Andreas Jaeger <aj@suse.de>
19474
19475 * manual/examples/search.c (critter_cmp): Change signature to
19476 avoid warnings.
19477 * manual/string.texi (Collation Functions): Likewise.
19478
48970aba
L
194792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19480
19481 * bits/types.h: Fold copyright years.
19482 * bits/typesizes.h: Likewise.
19483 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
19484 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19485 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
19486 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
19487 * time/time.h: Likewise.
19488
bedee953
PP
194892012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
19490
19491 [BZ #208]
19492 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
19493 in instead of returning them. Return void.
19494 (__libc_mallinfo): Accumulate over all arenas.
19495 (__malloc_stats): Adjust for change in int_mallinfo interface.
19496
61653dfb
RM
194972012-05-16 Roland McGrath <roland@hack.frob.com>
19498
30b99d79
RM
19499 [BZ #10375]
19500 * configure.in (NM): Add AC_CHECK_TOOL for it.
19501 (libc_extra_cflags): New substituted variable.
19502 Check for -fstack-protector being used implicitly.
19503 * configure: Regenerated.
19504 * config.make.in (config-extra-cflags): New variable,
19505 gets @libc_extra_cflags@.
19506 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
19507
61653dfb
RM
19508 [BZ #10375]
19509 * configure.in: Check for _FORTIFY_SOURCE being predefined.
19510 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
19511 * configure: Regenerated.
19512 * config.make.in (CPPUNDEFS): New substituted variable.
19513 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
19514 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
19515 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
19516
661768bb
L
195172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19518
19519 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
19520 (mq_attr): Use __syscall_slong_t.
19521
d4261567
L
195222012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19523
19524 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
19525 Check __x86_64__ instead of __WORDSIZE.
19526 (_STAT_VER_LINUX): Likewise.
19527 (stat): Check __x86_64__ instead of __WORDSIZE. Use
19528 __syscall_ulong_t and __syscall_slong_t.
19529 (stat64): Likewise.
19530
cf3ff365
L
195312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19532
19533 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
19534
76cf3e4d
L
195352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19536
19537 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
19538
a637753a
L
195392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19540
19541 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
19542 __syscall_ulong_t.
19543
d5e05119
L
19544 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
19545 include <bits/wordsize.h>. Check __x86_64__ instead of
19546 __WORDSIZE.
19547 (greg_t): Use "__extension__ long long int" if __x86_64__ is
19548 defined.
19549 (mcontext_t): Replace "unsigned long" with "unsigned long long".
19550
f62ee380
L
19551 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
19552 include <bits/wordsize.h>. Check __x86_64__ instead of
19553 __WORDSIZE.
19554 (user_regs_struct): Use "__extension__ unsigned long long"
19555 instead of "unsigned long" if __x86_64__ is defined.
19556 (user): Likewise. Pad after pointer field if __ILP32__ is
19557 defined.
19558
4e124ced
JM
195592012-05-16 Joseph Myers <joseph@codesourcery.com>
19560
6a3951a0
JM
19561 * configure.in (makeinfo): Require version 4.5 or later. Allow
19562 versions 5 to 9.
19563 * configure: Regenerated.
19564 * manual/install.texi (texinfo): Increase version requirement to
19565 4.5 or later.
19566 * INSTALL: Regenerated.
19567
4e124ced
JM
19568 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
19569
953ca31a
L
195702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19571
19572 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
19573
617aca05
L
19574 * sysdeps/x86_64/x32/ffs.c: New file.
19575
5762f7ae
L
19576 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
19577 __syscall_ulong_t.
19578 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
19579 defined. Use __syscall_ulong_t.
19580 (shminfo): Use __syscall_ulong_t.
19581 (shm_info): Likewise.
19582
a26b6856
L
19583 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
19584 __syscall_ulong_t.
19585
cb2b9ef7
L
19586 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
19587 <bits/wordsize.h>.
19588 (msgqnum_t): Use __syscall_ulong_t.
19589 (msglen_t): Likewise.
19590 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
19591 __syscall_ulong_t.
19592
34683bb0
L
19593 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
19594 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19595
84a68786
L
19596 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
19597
48baa5f1
L
19598 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
19599 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
19600
180be88b
L
19601 * sysvipc/sys/msg.h (msgbuf): Replace long int with
19602 __syscall_slong_t.
19603
5e90c8ad
L
19604 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
19605 include <bits/wordsize.h>. Check __x86_64__ instead of
19606 __WORDSIZE.
19607
23dfb58b
L
19608 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
19609 "unsigned long long int" if __x86_64__ is defined.
19610 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
19611
ce5d54b0
L
19612 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
19613 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19614 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
19615
13dc9eac
L
19616 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
19617 <stdint.h>.
19618 (GET_PC): Cast to uintptr_t first.
19619 (GET_FRAME): Likewise.
19620 (GET_STACK): Likewise.
19621
a7895d15
L
19622 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
19623 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
19624 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
19625 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
19626 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
19627 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
19628 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
19629 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
19630 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
19631 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
19632 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
19633 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
19634 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19635 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
19636 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
19637 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
19638 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
19639 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
19640 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
19641 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
19642 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
19643 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
19644 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
19645 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
19646 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
19647 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
19648 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
19649 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
19650 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
19651
656416c9
AS
196522012-05-16 Andreas Schwab <schwab@linux-m68k.org>
19653
5bd66283
AS
19654 * Makerules (+depfiles): Also collect depfiles from .oS in
19655 $(extra-objs).
19656 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
19657 .oS, $(libnldbl-routines)).
19658
656416c9
AS
19659 * Makerules (native-compile-mkdep-flags): Define.
19660 * sunrpc/Makefile (extra-objs): Add $(addprefix
19661 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
19662 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
19663 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
19664 calling $(make-target-directory).
19665
a46f2169
L
196662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19667
19668 * bits/types.h (__snseconds_t): Removed.
19669 * time/time.h (struct timespec): Replace __snseconds_t with
19670 __syscall_slong_t.
19671 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
19672 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
19673 Likewise.
19674 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19675 (__SNSECONDS_T_TYPE): Likewise.
19676 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19677 (__SNSECONDS_T_TYPE): Likewise.
19678 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19679 (__SNSECONDS_T_TYPE): Likewise.
19680
6af6528b
L
196812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19682
19683 * sysdeps/mach/hurd/bits/typesizes.h
19684 (__SYSCALL_SLONG_TYPE): New macro.
19685 (__SYSCALL_ULONG_TYPE): Likewise.
19686
de986b56
L
196872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19688
19689 * bits/types.h (__syscall_slong_t): New type.
19690 (__syscall_ulong_t): Likewise.
19691
19692 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
19693 (__SYSCALL_ULONG_TYPE): Likewise.
19694 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19695 (__SYSCALL_SLONG_TYPE): Likewise.
19696 (__SYSCALL_ULONG_TYPE): Likewise.
19697 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19698 (__SYSCALL_SLONG_TYPE): Likewise.
19699 (__SYSCALL_ULONG_TYPE): Likewise.
19700 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19701 (__SYSCALL_SLONG_TYPE): Likewise.
19702 (__SYSCALL_ULONG_TYPE): Likewise.
19703
85736dc7
L
197042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19705
19706 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
19707 Add sigaltstack-offsets.sym.
19708 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
19709 <sigaltstack-offsets.h>.
19710 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
19711 longjmp_msg pointer.
19712 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
19713 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
19714 signal stack.
19715 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
19716
cc03b296
JM
197172012-05-15 Joseph Myers <joseph@codesourcery.com>
19718
a9538892
JM
19719 * elf/stackguard-macros.h: Remove file.
19720 * sysdeps/generic/stackguard-macros.h: New file.
19721 * sysdeps/i386/stackguard-macros.h: Likewise.
19722 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19723 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19724 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19725 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19726 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19727 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19728 * sysdeps/x86_64/stackguard-macros.h: Likewise.
19729 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
19730 <elf/stackguard-macros.h>.
19731
cc03b296
JM
19732 [BZ #14109]
19733 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
19734 __aligned__ in attribute.
19735 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
19736 (gregset_t): Likewise.
19737
93171016
L
197382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19739
19740 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
19741 * sysdeps/x86_64/64/Implies-after: Here. New file.
19742 * sysdeps/x86_64/x32/Implies-after: New file.
19743
d86813a0
L
197442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19745
19746 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
19747 and access return value for _dl_profile_fixup. Use R10_LP to
19748 load frame size.
19749
2953ec75
L
197502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19751
19752 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
19753
3b550e9e
L
197542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19755
19756 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
19757 * sysdeps/x86_64/x32/sysdep.h: New file.
19758
eda41706
L
197592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19760
19761 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19762 * sysdeps/x86_64/setjmp.S: Likewise.
19763
9ea01d93
AZ
197642012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19765
19766 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
19767 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
19768 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
19769 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
19770 remove unused global constant.
19771
02a91938
CM
197722012-05-15 Chris Metcalf <cmetcalf@tilera.com>
19773
19774 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
19775 include of <not-cancel.h>.
19776
6540185f
RM
197772012-05-15 Roland McGrath <roland@hack.frob.com>
19778
19779 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
19780
509072a0
AJ
197812012-05-15 Jeff Law <law@redhat.com>
19782 Andreas Jaeger <aj@suse.de>
19783
19784 [BZ #13594]
19785 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
19786 out from...
19787 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
19788 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
19789 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
19790 code changing __hst_map_handle.map.
19791
ba75122d
RM
197922012-05-15 Roland McGrath <roland@hack.frob.com>
19793
19794 * configure.in (sysnames): Look for Implies-before and Implies-after
19795 files.
19796 * configure: Regenerated.
19797
890d8bd8
L
197982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19799
19800 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
19801 8-byte data alignment with LP_SIZE alignment.
19802
f6ee6623
L
198032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19804
19805 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
19806 into R10_LP.
19807
ea2626f6
L
198082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19809
19810 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
19811
085f715e
L
198122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19813
19814 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
19815 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
19816 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
19817 Likewise.
19818 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19819
be8498fc
L
198202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19821
19822 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
19823 (stackinfo_sub_sp): Likewise.
19824
70bc83b9
L
198252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19826
19827 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
19828 RAX_LP.
19829
9bc0b730
L
198302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19831
19832 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
19833 into R*_LP.
19834
6d2850e7
L
198352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19836
19837 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
19838 sizes into R*_LP.
19839
3cb84561
L
198402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19841
19842 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
19843
54e2ed81
L
198442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19845
19846 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
19847 into R11_LP and load __x86_64_shared_cache_size_half into
19848 R8_LP.
19849
8a17f349
L
198502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19851
19852 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
19853 R8_LP.
19854
777b1eea
AZ
198552012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19856
19857 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
19858 logb for POWER7.
19859 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
19860 logbf for POWER7.
19861 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
19862 logbl for POWER7.
19863 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
19864 powerpc32/power7/fpu/s_logb.c via #include.
19865 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
19866 powerpc32/power7/fpu/s_logbf.c via #include.
19867 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
19868 powerpc32/power7/fpu/s_logbl.c via #include.
19869
d20d4ac2
JM
198702012-05-15 Joseph Myers <joseph@codesourcery.com>
19871
19872 * README.libm: Remove file.
19873
6cdef1ab
L
198742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19875
19876 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
19877 count for x32. Use R*_LP and omit operand-size suffix.
19878
0b254d8f
L
198792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19880
19881 * shlib-versions: Move x86_64-.*-linux.* entries to ...
19882 * sysdeps/x86_64/64/shlib-versions: Here. New file.
19883 * sysdeps/x86_64/x32/shlib-versions: New file.
19884
ceb809dc
RM
198852012-05-14 Roland McGrath <roland@hack.frob.com>
19886
19887 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
19888 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
19889 Use _dl_fatal_printf instead.
19890
37f1abd4
JM
198912012-05-14 Joseph Myers <joseph@codesourcery.com>
19892
19893 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
19894 set if not set by the user. Do not allow for being unset.
19895 * sysdeps/unix/sysv/linux/configure: Regenerated.
19896
11de3a33
L
198972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19898
19899 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
19900 the `q' suffix from lea and replace .quad with ASM_ADDR.
19901
e02f153a
L
199022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19903
19904 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
19905 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
19906 instead of $17.
19907 (PTR_DEMANGLE): Likewise.
19908
520ae0fd
L
199092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19910
19911 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
19912 (LP_OP): Likewise.
19913 (ASM_ADDR): Likewise.
19914 (RAX_LP): Likewise.
19915 (RBP_LP): Likewise.
19916 (RBX_LP): Likewise.
19917 (RCX_LP): Likewise.
19918 (RDI_LP): Likewise.
19919 (RSI_LP): Likewise.
19920 (RSP_LP): Likewise.
19921 (R8_LP): Likewise.
19922 (R9_LP): Likewise.
19923 (R10_LP): Likewise.
19924 (R10_LP): Likewise.
19925 (R11_LP): Likewise.
19926 (R12_LP): Likewise.
19927 (R13_LP): Likewise.
19928 (R14_LP): Likewise.
19929 (R15_LP): Likewise.
19930
b985be81
L
199312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19932
19933 * sysdeps/x86_64/x32/dl-machine.h: New file.
19934
6a4888ff
AJ
199352012-05-14 Andreas Jaeger <aj@suse.de>
19936
19937 * manual/Makefile (subdir): Remove export of subdir.
19938 (all): Remove target.
19939 (.PHONY): Remove all from list.
19940 (mkinstalldirs): Remove.
19941 (.PHONY): Remove installdirs from list.
19942 ($(inst_infodir)/libc.info): Use make-target-directory.
19943 (installdirs): Remove.
19944 (subdir_%): Remove.
19945 (glibc-targets): Remove.
19946 (lib): Remove.
19947 (stubs): Remove.
19948 ($(objpfx)stubs ../po/manual.pot): Remove.
19949 ($(objpfx)stamp%): Remove.
19950 (make-target-directory): Remove.
19951 (subdir_install): Remove.
19952 (routines): Remove.
19953 (aux): Remove.
19954 (sources): Remove.
19955 (objects): Remove.
19956 (headers): Remove.
19957
19958 [BZ #13750]
19959 * manual/.gitignore: Remove, it's not needed anymore.
19960 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19961 all files in it.
19962 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
19963 directory.
19964 (texis): Renamed to $(objpfx)texis.
19965 (texis-path): New, contains path to generated files.
19966 (chapters.%): Use texis-path for complete path, add extra argument
19967 libc-texinfo.sh.
19968 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
19969 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
19970 (summary,texi, stamp-summary): Use complete path of
19971 files. Generate files in build dir.
19972 (dir-add.texi): Build in build dir.
19973 (libm-err.texi,stamp-libm-err): Likewise.
19974 (version.texi, stamp-version): Likewise.
19975 (.%c.texi): Likewise.
19976 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
19977 (mostlyclean): Remove target.
19978 (realclean): Remove target.
19979 (generated): Add new variable with contents from mostlyclean and
19980 realclean, remove entries duplicated in common-mostlyclean, add
19981 stamp-libm-err and stamp-version.
19982 (generated-dirs): Add libc directory.
19983 ($(inst_infodir)/libc.info): Install files from build dir.
19984
19985 * manual/install.texi (Configuring and compiling): Adjust since
19986 the info files are not part of the tar ball anymore.
19987
7ac77294
AJ
199882012-05-14 Andreas Jaeger <aj@suse.de>
19989
19990 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19991 variable.
19992
ffb7875d
JM
199932012-05-14 Joseph Myers <joseph@codesourcery.com>
19994
19995 [BZ #13717]
19996 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19997 to 2.2.0 where earlier.
19998 * sysdeps/unix/sysv/linux/configure: Regenerated.
19999 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
20000 Remove conditional code.
20001 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
20002 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
20003 Remove conditional code.
20004 [!__NR_lchown]: Likewise.
20005 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20006 [__NR_lchown]: Likewise.
20007 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
20008 comment referencing __ASSUME_LCHOWN_SYSCALL.
20009 * sysdeps/unix/sysv/linux/i386/sigaction.c
20010 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20011 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20012 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
20013 Remove conditional code.
20014 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
20015 (__protocol_available): Remove #if 0 code.
20016 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
20017 conditional code.
20018 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
20019 * sysdeps/unix/sysv/linux/kernel-features.h
20020 (__ASSUME_GETCWD_SYSCALL): Don't define.
20021 (__ASSUME_REALTIME_SIGNALS): Likewise.
20022 (__ASSUME_PREAD_SYSCALL): Likewise.
20023 (__ASSUME_PWRITE_SYSCALL): Likewise.
20024 (__ASSUME_POLL_SYSCALL): Likewise.
20025 (__ASSUME_LCHOWN_SYSCALL): Likewise.
20026 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
20027 non-SPARC.
20028 (__ASSUME_SIOCGIFNAME): Don't define.
20029 (__ASSUME_MSG_NOSIGNAL): Likewise.
20030 (__ASSUME_SENDFILE): Define unconditionally.
20031 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
20032 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
20033 conditional code.
20034 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
20035 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
20036 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20037 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20038 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
20039 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20040 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
20042 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20043 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20045 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20046 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
20048 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20049 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20051 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20052 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
20054 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20055 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20057 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20058 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
20060 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20061 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20063 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20064 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20065 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
20066 Remove conditional code.
20067 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20068 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20069 Remove conditional code.
20070 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20071 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
20072 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
20073 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20074 Remove conditional code.
20075 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20076 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
20077 Remove conditional code.
20078 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20079 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
20080 Remove conditional code.
20081 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20082 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20083 Remove conditional code.
20084 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20085 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20086 Remove conditional code.
20087 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20088 * sysdeps/unix/sysv/linux/sh/pwrite64.c
20089 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20090 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20091 * sysdeps/unix/sysv/linux/sigaction.c
20092 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20093 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20094 * sysdeps/unix/sysv/linux/sigpending.c
20095 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20096 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20097 * sysdeps/unix/sysv/linux/sigprocmask.c
20098 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20099 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20100 * sysdeps/unix/sysv/linux/sigsuspend.c
20101 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20102 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20103 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20104 (__libc_missing_rt_sigs): Remove.
20105 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
20106 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
20107 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
20108 Remove conditional code.
20109 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
20110 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
20111 return 1.
20112 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
20113 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
20114 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
20115 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
20116
1bfb7291
AJ
201172012-05-14 Andreas Jaeger <aj@suse.de>
20118
caae5a81
AJ
20119 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
20120 it's not used in glibc.
20121 (__coshm1): Likewise.
20122 (__acosh1p): Likewise.
20123 (__sgn): Likewise.
20124
1bfb7291
AJ
20125 * manual/string.texi (Copying and Concatenation): Add missing
20126 variable in concat example.
20127 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20128
c044d724
L
201292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20130
144c5467 20131 [BZ #14103]
c044d724
L
20132 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
20133 __builtin_clzl with __builtin_clzll.
20134
2523c62b
L
201352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20136
20137 [BZ #14104]
20138 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
20139 libc_freeres_ptr.
20140
d7bb4c42
LD
201412012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20142
20143 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
20144 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
20145 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
20146 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
20147
9dc4e1fb
MF
201482012-05-14 Mike Frysinger <vapier@gentoo.org>
20149
20150 * NEWS: Update ia64 info.
20151
c7df0112
AS
201522012-05-12 Andreas Schwab <schwab@linux-m68k.org>
20153
20154 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
20155 used as bcopy.
20156
dc70356c
TS
201572012-05-12 Thomas Schwinge <thomas@codesourcery.com>
20158
20159 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
20160 * sysdeps/unix/syscalls.list (dup3): Likewise.
20161 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
20162 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
20163
9fb1a21f
L
201642012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20165
20166 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
20167 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
20168
4822a2a5
L
201692012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20170
20171 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
20172 thread pointer.
20173 (TLS_IE): Use mov/add instead of movq/addq to load thread
20174 pointer.
20175 (TLS_GD_PREFIX): New.
20176 (TLS_GD): Use it.
20177
842b81d6
DM
201782012-05-11 David S. Miller <davem@davemloft.net>
20179
20180 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
20181 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
20182 (_FPU_SETCW): Likewise.
20183
1cf463cd
L
201842012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20185
20186 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
20187 is 32-byte aligned.
20188
60cc4a18
AS
201892012-05-11 Andreas Schwab <schwab@linux-m68k.org>
20190
20191 [BZ #11837]
20192 * iconvdata/gb18030.c: Update tables.
20193 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
20194 characters specially.
20195 (BODY for TO_LOOP): Add encoding of missing ranges.
20196
febb44a4
TS
201972012-05-11 Thomas Schwinge <thomas@codesourcery.com>
20198
20199 [BZ #13673]
20200 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
20201 * sysdeps/mach/hurd/dup3.c: Likewise.
20202 * sysdeps/mach/hurd/readlinkat.c: Likewise.
20203 * sysdeps/powerpc/memmove.c:: Likewise.
20204
0a10fb9e
L
202052012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20206
20207 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
20208 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
20209
df8a552f
L
202102012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20211
20212 * elf/elf.h (R_X86_64_RELATIVE64): New.
20213 (R_X86_64_NUM): Updated.
20214 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20215 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
20216 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
20217 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
20218 tst-quad1pie tst-quad2pie
20219 (modules-names): Add tst-quadmod1 tst-quadmod2.
20220 ($(objpfx)tst-quad1): New dependency.
20221 ($(objpfx)tst-quad2): Likewise.
20222 ($(objpfx)tst-quad1pie): Likewise.
20223 ($(objpfx)tst-quad2pie): Likewise.
20224 * sysdeps/x86_64/tst-quad1.c: New file.
20225 * sysdeps/x86_64/tst-quad1pie.c: New file.
20226 * sysdeps/x86_64/tst-quad2.c: Likewise.
20227 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
20228 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
20229 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
20230 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
20231 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
20232
f34d6f84
ST
202332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20234
f42d41d1
ST
20235 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
20236 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
20237 * streams/stropts.h (t_scalar_t): Define type.
20238
3c3571fc
ST
20239 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
20240 (_PATH_PRESERVE): Set to "/var/lib".
20241 (_PATH_RWHODIR): Set to "/var/spool/rwho".
20242
61f06bd3
ST
20243 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
20244 instead of int.
20245
918d4d71
ST
20246 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
20247 if __dir_mkfile succeeded.
20248
f34d6f84
ST
20249 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
20250 checking for _hurd_dtablesize. Unlock it right after having
20251 finished _hurd_dtable allocation.
20252
10589b4a
TS
202532012-05-10 Thomas Schwinge <thomas@schwinge.name>
20254
674cdbc7
TS
20255 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
20256 * sysdeps/mach/hurd/configure: Regenerated.
20257 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
20258 special-casing to...
20259 * sysdeps/gnu/configure.in: ... this new file.
20260 * sysdeps/unix/sysv/linux/configure: Regenerated.
20261 * sysdeps/gnu/configure: New generated file.
20262
8e41b99f
TS
20263 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
20264 for Linux: use nsec instead of usec, as well as:
20265 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
20266 members of type struct timespec.
20267 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
20268 New macros.
20269 (struct stat64): Likewise.
20270 (_STATBUF_ST_NSEC): New macro.
20271 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
20272
10589b4a
TS
20273 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20274 __strtoul_internal rather than strtoul.
20275
63643c85
PT
202762012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20277
20278 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
20279 and reject them.
20280
3faebe6a
ST
202812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20282
20283 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
20284 which preserves existing values.
20285 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
20286
c6474b07
PT
202872012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20288
20289 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
20290 TIMEOUT values. Return EINVAL for NFDS values either negative or
20291 greater than FD_SETSIZE.
20292
1043890b
ST
202932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20294
20295 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
20296 allocated, call __vm_protect to finish enabling the existing space, and
20297 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
20298 allocate the remainder.
20299
37ed8b9b
PT
203002012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20301
20302 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
20303 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
20304
db653660
ST
203052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20306
37ed8b9b
PT
20307 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
20308 sysdeps/mach/hurd/readlink.c.
b29d4053 20309
db653660
ST
20310 * posix/tst-sysconf.c (posix_options): Only use
20311 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
20312 _POSIX_SYNCHRONIZED_IO when they are defined
20313 * sysdeps/mach/hurd/bits/posix_opt.h:
20314 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
20315 (_XOPEN_REALTIME): Undefine macro.
20316 (_XOPEN_REALTIME_THREADS): Undefine macro.
20317 (_XOPEN_SHM): Undefine macro.
20318 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
20319 macro to -1.
20320 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
20321 macro to -1.
20322 (_POSIX_ASYNC_IO): Undefine macro.
20323 (_POSIX_PRIORITIZED_IO): Undefine macro.
20324 (_POSIX_SPIN_LOCKS): Define macro to -1.
20325
ee16e894
ST
20326 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
20327 SA_NODEFER, SA_RESETHAND.
20328 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
20329 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
20330 F_DUPFD_CLOEXEC.
20331
6103ae3b
TS
203322012-05-10 Thomas Schwinge <thomas@schwinge.name>
20333
20334 * elf/Makefile (pldd-modules): Define unconditionally.
20335
80b4e5f3
TS
203362012-05-10 Thomas Schwinge <thomas@schwinge.name>
20337
20338 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
20339
edadcbd6
ST
203402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20341
20342 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
20343 Return ENOENT when name is empty.
20344 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
20345
80694780
TS
203462012-05-10 Thomas Schwinge <thomas@schwinge.name>
20347
1792c087
TS
20348 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
20349
80694780
TS
20350 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
20351
6b645f0d
ST
203522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20353
80694780
TS
20354 Fix mlock in all cases except non-readable pages.
20355 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
20356 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 20357
6b645f0d
ST
20358 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
20359 (__mkdir): When path is `/', just fail with EEXIST.
20360 * sysdeps/mach/hurd/mkdirat.c: Likewise.
20361
e468f8a3
TS
203622012-05-10 Thomas Schwinge <thomas@schwinge.name>
20363
20364 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
20365 <sys/uio.h> (for writev).
20366 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
20367 and <sys/param.h> (for MIN).
20368
a4186cff
PT
203692012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20370
20371 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
20372 REQUESTED_TIME. Properly set the remaining time and return EINTR
20373 if interrupted.
20374
510bbf14
TS
203752012-05-10 Thomas Schwinge <thomas@schwinge.name>
20376
20377 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
20378 Depend on against $(link-rpcuserlibs).
20379
5d5722e8
ST
203802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20381
a4186cff
PT
20382 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
20383 (__libc_stack_end): Do not use attribute_relro.
20384 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
20385 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 20386 to libthread-provided value.
a4186cff
PT
20387 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
20388 attribute_relro.
5d5722e8 20389
37233df9
TS
203902012-05-10 Thomas Schwinge <thomas@schwinge.name>
20391
be971a2b
TS
20392 [BZ #3748]
20393 * bits/libc-lock.h (__libc_once_get): New macro.
20394 * sysdeps/mach/bits/libc-lock.h: Likewise.
20395 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
20396 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
20397 instead of using implementation details.
20398
37233df9
TS
20399 * libio/fileops.c: Unconditionally include <kernel-features.h>.
20400 * libio/freopen.c: Likewise.
20401 * libio/freopen64.c: Likewise.
20402 * misc/syslog.c: Likewise.
20403 * nscd/connections.c: Likewise.
20404 * nscd/netgroupcache.c: Likewise.
20405 * sysdeps/posix/getcwd.c: Likewise.
20406
38de94a5
RM
204072012-05-10 Roland McGrath <roland@hack.frob.com>
20408
20409 * math/w_ilogbf.c: Add #include <limits.h>.
20410
67530489
ST
204112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20412
a4186cff 20413 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
20414 path instead of returning without unlocking.
20415
67530489
ST
20416 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
20417 immediate-write ioctls.
20418 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
20419
5aa3a74a
TS
204202012-05-10 Thomas Schwinge <thomas@schwinge.name>
20421
18bad2ae
TS
20422 * sysdeps/mach/hurd/i386/init-first.c (init): Use
20423 __builtin_frame_address instead of making assumptions about the
20424 location of the return address relative to DATA. Force early load of
20425 the return address.
20426 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
20427 __builtin_frame_address.
20428
5aa3a74a
TS
20429 dup3 for GNU Hurd.
20430 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
20431 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
20432 implement dup3 and do some further code clean-ups.
20433 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
20434 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
20435
ecd0de9a
ST
204362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20437
cd9fa985
ST
20438 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
20439
a4186cff
PT
20440 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
20441 HURD_CRITICAL_END around holding _hurd_dtable_lock.
20442 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
20443 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
20444 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
20445 d->port.lock.
802ca5a5 20446
a4186cff
PT
20447 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
20448 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
20449 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 20450
bcf55240
TS
204512012-05-10 Thomas Schwinge <thomas@schwinge.name>
20452
6960eb42
TS
20453 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
20454 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
20455 definitions.
20456
eb43375f
TS
20457 accept4 for GNU Hurd.
20458 * include/sys/socket.h (__libc_accept4): New prototype.
20459 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
20460 to implement __libc_accept4.
20461 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
20462 __libc_accept4.
20463 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
20464
bcf55240
TS
20465 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
20466 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
20467 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
20468 signal-defines.sym.
20469
6178c55b
ST
204702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20471
a4186cff 20472 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 20473
6f080c2f
TS
204742012-05-10 Thomas Schwinge <thomas@schwinge.name>
20475
20476 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
20477 assertion on O_CLOEXEC flag.
20478 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
20479 * hurd/intern-fd.c: Likewise.
20480 * hurd/port2fd.c: Likewise.
20481
bcfe3a54
ST
204822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20483
20484 [BZ #3906]
20485 * bits/in.h (IPV6_PKTINFO): Define new macro.
20486 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
20487
89c9aa49
AZ
204882012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20489
20490 [BZ #13954]
20491 [BZ #13955]
20492 [BZ #13956]
20493 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
20494 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20495 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
20496 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20497 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20498 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20499 * math/libm-test.inc (logb_test) : Additional logb tests.
20500
021db4be
AJ
205012012-05-09 Andreas Schwab <schwab@linux-m68k.org>
20502 Andreas Jaeger <aj@suse.de>
20503
20504 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
20505 * configure: Regenerated.
20506 * config.h.in (LINK_OBSOLETE_RPC): New macro.
20507 * config.make.in (link-obsolete-rpc): New substituted variable.
20508 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
20509 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
20510 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20511 (shared-only-routines): Don't set it under [link-obsolete-rpc],
20512 so that libc.a contains the symbols.
20513 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20514 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
20515 * sunrpc/auth_none.c: Likewise.
20516 * sunrpc/auth_unix.c: Likewise.
20517 * sunrpc/authdes_prot.c: Likewise.
20518 * sunrpc/authuxprot.c: Likewise.
20519 * sunrpc/clnt_gen.c: Likewise.
20520 * sunrpc/clnt_perr.c: Likewise.
20521 * sunrpc/clnt_raw.c: Likewise.
20522 * sunrpc/clnt_simp.c: Likewise.
20523 * sunrpc/clnt_tcp.c: Likewise.
20524 * sunrpc/clnt_udp.c: Likewise.
20525 * sunrpc/clnt_unix.c: Likewise.
20526 * sunrpc/des_crypt.c: Likewise.
20527 * sunrpc/des_soft.c: Likewise.
20528 * sunrpc/get_myaddr.c: Likewise.
20529 * sunrpc/key_call.c: Likewise.
20530 * sunrpc/key_prot.c: Likewise.
20531 * sunrpc/netname.c: Likewise.
20532 * sunrpc/pm_getmaps.c: Likewise.
20533 * sunrpc/pm_getport.c: Likewise.
20534 * sunrpc/pmap_clnt.c: Likewise.
20535 * sunrpc/pmap_prot.c: Likewise.
20536 * sunrpc/pmap_prot2.c: Likewise.
20537 * sunrpc/pmap_rmt.c: Likewise.
20538 * sunrpc/publickey.c: Likewise.
20539 * sunrpc/rpc_cmsg.c: Likewise.
20540 * sunrpc/rpc_common.c: Likewise.
20541 * sunrpc/rpc_dtable.c: Likewise.
20542 * sunrpc/rpc_prot.c: Likewise.
20543 * sunrpc/rpc_thread.c: Likewise.
20544 * sunrpc/rtime.c: Likewise.
20545 * sunrpc/svc.c: Likewise.
20546 * sunrpc/svc_auth.c: Likewise.
20547 * sunrpc/svc_raw.c: Likewise.
20548 * sunrpc/svc_run.c: Likewise.
20549 * sunrpc/svc_tcp.c: Likewise.
20550 * sunrpc/svc_udp.c: Likewise.
20551 * sunrpc/svc_unix.c: Likewise.
20552 * sunrpc/svcauth_des.c: Likewise.
20553 * sunrpc/xcrypt.c: Likewise.
20554 * sunrpc/xdr.c: Likewise.
20555 * sunrpc/xdr_array.c: Likewise.
20556 * sunrpc/xdr_float.c: Likewise.
20557 * sunrpc/xdr_intXX_t.c: Likewise.
20558 * sunrpc/xdr_mem.c: Likewise.
20559 * sunrpc/xdr_rec.c: Likewise.
20560 * sunrpc/xdr_ref.c: Likewise.
20561 * sunrpc/xdr_sizeof.c: Likewise.
20562 * sunrpc/xdr_stdio.c: Likewise.
20563
b5c086a2
RM
205642012-05-10 Roland McGrath <roland@hack.frob.com>
20565
20566 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
20567 change. Update copyright years.
20568
6d74dd09
JM
205692012-05-10 Joseph Myers <joseph@codesourcery.com>
20570
20571 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
20572
28e72501
MK
205732012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
20574 Joseph Myers <joseph@codesourcery.com>
20575 Paul Pluzhnikov <ppluzhnikov@google.com>
20576
20577 [BZ #14012]
20578 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
20579 requiring rpcgen.
20580 [cross-compiling] (extra-libs): Likewise.
20581 [cross-compiling] (extra-libs-others): Likewise.
20582 [cross-compiling] (librpcsvc-routines): Likewise.
20583 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
20584 [cross-compiling] (omit-deps): Likewise.
20585 (sunrpc-CPPFLAGS): New variable.
20586 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
20587 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
20588 (cross-rpcgen-objs): New variable.
20589 (extra-objs): Append $(cross-rpcgen-objs).
20590 ($(cross-rpcgen-objs)): New rule.
20591 ($(objpfx)cross-rpcgen): Likewise.
20592 (rpcgen-cmd): Define to use $(built-program-file). Expand
20593 comment.
20594 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
20595 ($(objpfx)x%.stmp): Likewise.
20596 * sunrpc/proto.h [IS_IN_build] (_): Define.
20597 [IS_IN_build] (_libc_intl_domainname): Likewise.
20598
c8c59454
L
205992012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20600
20601 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
20602 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
20603 and R_X86_64_TPOFF64.
20604
6f27cd16
JM
206052012-05-10 Joseph Myers <joseph@codesourcery.com>
20606
20607 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
20608 sysdeps/unix/sysv/syscalls.list.
20609 (stime): Likewise.
20610 (utime): Likewise.
20611 * sysdeps/unix/sysv/syscalls.list: Remove file.
20612
02467e1c
PE
206132012-05-10 Paul Eggert <eggert@cs.ucla.edu>
20614
20615 [BZ #3440]
20616 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
20617 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
20618 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
20619 (__LC_IDENTIFICATION): Make these macros useful in #if
20620 expressions, as required by C99.
20621
da392631
AS
206222012-05-10 Andreas Schwab <schwab@linux-m68k.org>
20623
20624 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
20625 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
20626 after this.
20627
8115f29b
L
206282012-05-09 H.J. Lu <hongjiu.lu@intel.com>
20629
20630 * stdlib/longlong.h: Updated from GCC.
20631
bdd74070
AJ
206322012-05-09 Andreas Jaeger <aj@suse.de>
20633
edfe0dbe
AJ
20634 * nscd/nscd.c (run_modes): Make named enum, reorder so that
20635 default is first entry.
20636 (run_mode): Set type.
20637 (main): Remove informal message about syslog.
20638 (options): Fix typo.
20639
bcfe3a54
ST
20640 [BZ #14053]
20641 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 20642 to asm.
bcfe3a54
ST
20643 (lrint): Likewise.
20644 (llrintf): Likewise.
20645 (llrint): Likewise.
20646 (rint): Likewise.
20647 (rintf): Likewise.
20648 (nearbyint): Likewise.
20649 (nearbyintf): Likewise.
bdd74070 20650
91d8d69e
AJ
206512012-05-09 Andreas Jaeger <aj@suse.de>
20652 Pedro Alves <palves@redhat.com>
20653
20654 * nscd/nscd.c (run_mode): Use enum.
20655 (main): Cleanup coding style issue.
20656
bb90b80b
AJ
206572012-05-09 Alexandre Oliva <aoliva@redhat.com>
20658 Andreas Jaeger <aj@suse.de>
20659
bcfe3a54
ST
20660 * nscd/nscd.c (go_background): Replaced with...
20661 (run_mode): ... this.
bb90b80b 20662 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
20663 (options): Add -F --foreground.
20664 (main): Implement it.
20665 (parse_opt): Parse it.
bb90b80b 20666
1a4b75a1
AJ
206672012-05-09 Andreas Jaeger <aj@suse.de>
20668
20669 [BZ #14083]
20670 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
20671 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
20672 -Wconversion warning.
20673 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
20674 Likewise.
20675
b1cc2472
JM
206762012-05-09 Joseph Myers <joseph@codesourcery.com>
20677
20678 * conform/data/locale.h-data (NULL): Use macro-constant. Require
20679 == 0.
20680 (LC_ALL): Use macro-int-constant.
20681 (LC_COLLATE): Likewise.
20682 (LC_CTYPE): Likewise.
20683 (LC_MESSAGES): Likewise.
20684 (LC_MONETARY): Likewise.
20685 (LC_NUMERIC): Likewise.
20686 (LC_TIME): Likewise.
20687 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
20688 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20689 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20690 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
20691 Specify type.
20692 [C99-based standards] (float_t): Expect type.
20693 [C99-based standards] (double_t): Expect type.
20694 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
20695 type.
20696 [C99-based standards] (HUGE_VALL): Likewise.
20697 [C99-based standards] (INFINITY): Likewise.
20698 [C99-based standards] (NAN): Likewise.
20699 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
20700 [C99-based standards] (FP_NAN): Likewise.
20701 [C99-based standards] (FP_NORMAL): Likewise.
20702 [C99-based standards] (FP_SUBNORMAL): Likewise.
20703 [C99-based standards] (FP_ZERO): Likewise.
20704 [C99-based standards] (FP_FAST_FMA): Use
20705 optional-macro-int-constant. Specify type. Require == 1.
20706 [C99-based standards] (FP_FAST_FMAF): Likewise.
20707 [C99-based standards] (FP_FAST_FMAL): Likewise.
20708 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
20709 [C99-based standards] (FP_ILOGBNAN): Likewise.
20710 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
20711 Specify type.
20712 [C99-based standards] (MATH_ERREXCEPT): Likewise.
20713 [C99-based standards] (math_errhandling): Specify type.
20714 [ISO99 || ISO11] (signgam): Do not allow.
20715 [non-C99-based standards] (copysignf): Do not allow.
20716 [non-C99-based standards] (exp2f): Likewise.
20717 [non-C99-based standards] (log2f): Likewise.
20718 [non-C99-based standards] (modff): Allow.
20719 [non-C99-based standards] (erff): Do not allow.
20720 [non-C99-based standards] (erfcf): Likewise.
20721 [non-C99-based standards] (gammaf): Likewise.
20722 [non-C99-based standards] (hypotf): Likewise.
20723 [non-C99-based standards] (j0f): Likewise.
20724 [non-C99-based standards] (j1f): Likewise.
20725 [non-C99-based standards] (jnf): Likewise.
20726 [non-C99-based standards] (lgammaf): Likewise.
20727 [non-C99-based standards] (tgammaf): Likewise.
20728 [non-C99-based standards] (y0f): Likewise.
20729 [non-C99-based standards] (y1f): Likewise.
20730 [non-C99-based standards] (ynf): Likewise.
20731 [non-C99-based standards] (isnanf): Likewise.
20732 [non-C99-based standards] (acoshf): Likewise.
20733 [non-C99-based standards] (asinhf): Likewise.
20734 [non-C99-based standards] (atanhf): Likewise.
20735 [non-C99-based standards] (cbrtf): Likewise.
20736 [non-C99-based standards] (expm1f): Likewise.
20737 [non-C99-based standards] (ilogbf): Likewise.
20738 [non-C99-based standards] (log1pf): Likewise.
20739 [non-C99-based standards] (logbf): Likewise.
20740 [non-C99-based standards] (nextafterf): Likewise.
20741 [non-C99-based standards] (remainderf): Likewise.
20742 [non-C99-based standards] (rintf): Likewise.
20743 [non-C99-based standards] (scalbf): Likewise.
20744 [non-C99-based standards] (copysignl): Likewise.
20745 [non-C99-based standards] (exp2l): Likewise.
20746 [non-C99-based standards] (log2l): Likewise.
20747 [non-C99-based standards] (modfl): Allow.
20748 [non-C99-based standards] (erfl): Do not allow.
20749 [non-C99-based standards] (erfcl): Likewise.
20750 [non-C99-based standards] (gammal): Likewise.
20751 [non-C99-based standards] (hypotl): Likewise.
20752 [non-C99-based standards] (j0l): Likewise.
20753 [non-C99-based standards] (j1l): Likewise.
20754 [non-C99-based standards] (jnl): Likewise.
20755 [non-C99-based standards] (lgammal): Likewise.
20756 [non-C99-based standards] (tgammal): Likewise.
20757 [non-C99-based standards] (y0l): Likewise.
20758 [non-C99-based standards] (y1l): Likewise.
20759 [non-C99-based standards] (ynl): Likewise.
20760 [non-C99-based standards] (isnanl): Likewise.
20761 [non-C99-based standards] (acoshl): Likewise.
20762 [non-C99-based standards] (asinhl): Likewise.
20763 [non-C99-based standards] (atanhl): Likewise.
20764 [non-C99-based standards] (cbrtl): Likewise.
20765 [non-C99-based standards] (expm1l): Likewise.
20766 [non-C99-based standards] (ilogbl): Likewise.
20767 [non-C99-based standards] (log1pl): Likewise.
20768 [non-C99-based standards] (logbl): Likewise.
20769 [non-C99-based standards] (nextafterl): Likewise.
20770 [non-C99-based standards] (remainderl): Likewise.
20771 [non-C99-based standards] (rintl): Likewise.
20772 [non-C99-based standards] (scalbl): Likewise.
20773 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20774 [non-C99-based standards] (FP_*): Do not allow.
20775 [C99-based standards] (FP_*): Change to
20776 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20777 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20778 allow.
20779 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
20780 (SIG_ERR): Likewise.
20781 [X/Open-based standards] (SIG_HOLD): Likewise.
20782 (SIG_IGN): Likewise.
20783 (SIGABRT): Use macro-int-constant. Specify type. Require
20784 positive value.
20785 (SIGFPE): Likewise.
20786 (SIGILL): Likewise.
20787 (SIGINT): Likewise.
20788 (SIGSEGV): Likewise.
20789 (SIGTER): Likewise.
20790 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
20791 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
20792 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
20793 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
20794 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
20795 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
20796 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
20797 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
20798 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
20799 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
20800 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
20801 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
20802 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
20803 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
20804 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
20805 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
20806 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
20807 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
20808 [X/Open-based standards] (SIGTRAP): Likewise.
20809 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
20810 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
20811 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
20812 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
20813 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20814 allow.
20815
b9f1922d
IW
208162012-05-08 Ian Wienand <ianw@vmware.com>
20817
20818 [BZ #14080]
20819 * time/tzset.c (__tzset_parse_tz): Update default rules for
20820 daylight time changes in the Energy Policy Act of 2005.
20821
1db86e88
AJ
208222012-05-09 Andreas Jaeger <aj@suse.de>
20823
20824 [BZ #13983]
20825 * elf/ldconfig.c (parse_conf): Change string to make clear that
20826 ldconfig only issued a warning if ld.so.conf does not exist.
20827
dee4a4e3
DM
208282012-05-08 David S. Miller <davem@davemloft.net>
20829
ee0db190
DM
20830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
20831 movxtod instead of popping the value on the stack.
20832
dee4a4e3
DM
20833 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20834
6a43ec98
CD
208352012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
20836
20837 * config.h.in: Add HAVE_ARM_PCS_VFP.
20838
05c2c961
RMG
208392012-05-08 Roland Mc Grath <roland@hack.frob.com>
20840
bcfe3a54
ST
20841 [BZ #13979]
20842 * include/features.h: Warn if user requests __FORTIFY_SOURCE
20843 checking but the checks are disabled for any reason.
05c2c961 20844
4b30f61a
L
208452012-05-08 H.J. Lu <hongjiu.lu@intel.com>
20846
20847 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
20848 and ELF64_R_TYPE with ELFW(R_TYPE).
20849
eee2bc67
JM
208502012-05-08 Joseph Myers <joseph@codesourcery.com>
20851
7ea5391a
JM
20852 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
20853 (ulimit): Likewise.
20854
eee2bc67
JM
20855 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
20856 (settimeofday): Likewise.
20857
abb66a67
MF
208582012-05-08 Mike Frysinger <vapier@gentoo.org>
20859
20860 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
20861 a struct th_u2 inside the union, and move tu_block/tu_code into
20862 a new th_u3 union of tu_block/tu_code inside of that. Move
20863 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
20864 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
20865 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
20866 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
20867 (th_stuff): Change to th_u1.tu_stuff.
20868 (th_data): Define.
20869 (th_msg): Change to th_u1.th_u2.tu_data.
20870
7f18b530
DM
208712012-05-07 David S. Miller <davem@davemloft.net>
20872
05760585
DM
20873 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20874
7f18b530
DM
20875 [BZ #14074]
20876 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
20877 (SETUP_PIC_REG): Use it.
20878 (SETUP_PIC_REG_LEAF): Use it.
20879
495fd99f
JM
208802012-05-07 Joseph Myers <joseph@codesourcery.com>
20881
20882 [BZ #13885]
20883 [BZ #13923]
20884 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20885 USE_AS_EXPM1L.
20886 (EXPL_FINITE): Likewise.
20887 (FLDLOG): Likewise.
20888 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20889 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20890 e_expl.S.
20891 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20892 USE_AS_EXPM1L.
20893 (EXPL_FINITE): Likewise.
20894 (FLDLOG): Likewise.
20895 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20896 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20897 e_expl.S.
20898 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
20899 test of -max_value argument for long double.
20900 * sysdeps/i386/fpu/libm-test-ulps: Update.
20901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20902
6693d694
DM
209032012-05-06 David S. Miller <davem@davemloft.net>
20904
20905 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
20906 quad soft-float symbols whose references which are compiler
20907 generated.
20908 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20909
6c23e11c
JM
209102012-05-06 Joseph Myers <joseph@codesourcery.com>
20911
d8b82cad
JM
20912 [BZ #13884]
20913 [BZ #13914]
20914 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20915 USE_AS_EXP10L.
20916 (EXPL_FINITE): Likewise.
20917 (FLDLOG): Likewise.
20918 (c0): Likewise.
20919 (c1): Likewise.
20920 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20921 Adjust comments for base varying.
20922 (__expl_finite): Change alias to EXPL_FINITE.
20923 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
20924 e_expl.S.
20925 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
20926 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20927 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20928 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
20929 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20930 USE_AS_EXP10L.
20931 (EXPL_FINITE): Likewise.
20932 (FLDLOG): Likewise.
20933 (c0): Likewise.
20934 (c1): Likewise.
20935 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20936 Adjust comments for base varying.
20937 (__expl_finite): Change alias to EXPL_FINITE.
20938 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
20939 tests for bugs.
20940 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20941
6c23e11c
JM
20942 [BZ #14064]
20943 * math/libm-test.inc (check_float_internal): Correct ulp
20944 calculation for subnormal expected results.
20945
29ba805c
AJ
209462012-05-06 Andreas Jaeger <aj@suse.de>
20947
20948 * Makeconfig (+math-flags): New, set to -frounding-math.
20949 (+cflags): Add +math-flags so that all of glibc gets compiled with
20950 it.
20951
20952 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
20953
7b17aeda
JM
209542012-05-05 Joseph Myers <joseph@codesourcery.com>
20955
5779f134
JM
20956 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20957 Disable one test.
20958
41498f4d
JM
20959 [BZ #13787]
20960 [BZ #13922]
20961 [BZ #14036]
20962 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
20963 (__ieee754_expl): Allow for and saturate large arguments.
20964 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
20965 (u_threshold): Likewise.
20966 (__exp): Call __ieee754_exp before checking for overflow and
20967 underflow.
20968 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
20969 (u_threshold): Likewise.
20970 (__expf): Call __ieee754_expf before checking for overflow and
20971 underflow.
20972 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
20973 (u_threshold): Likewise.
20974 (__expl): Call __ieee754_expl before checking for overflow and
20975 underflow.
20976 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
20977 (__ieee754_expl): Allow for and saturate large arguments.
20978 * math/libm-test.inc (exp_test): Add another test. Do not allow
20979 missing overflow exception on overflow.
20980 (expm1_test): Do not allow missing overflow exception on overflow.
20981
6698b8bf
JM
20982 * sysdeps/i386/fpu/e_expl.c: Move to ...
20983 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
20984 rather than using inline asm.
20985 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
20986 * sysdeps/x86_64/fpu/e_expl.S: Copy from
20987 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
20988
7b17aeda
JM
20989 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20990 (nice): Likewise.
20991 (poll): Likewise.
20992 (signal): Likewise.
20993 (time): Likewise.
20994 (times): Likewise.
20995
f7c85819
JM
209962012-05-04 Joseph Myers <joseph@codesourcery.com>
20997
20998 * sysdeps/unix/syscalls.list (adjtime): Add entry from
20999 sysdeps/unix/common/syscalls.list.
21000 (fchmod): Likewise.
21001 (fchown): Likewise.
21002 (ftruncate): Likewise.
21003 (getrusage): Likewise.
21004 (gettimeofday): Likewise.
21005 (setpgid): Likewise.
21006 (setregid): Likewise.
21007 (setreuid): Likewise.
21008 (sigaction): Likewise.
21009 (truncate): Likewise.
21010 (vhangup): Likewise.
21011 * sysdeps/unix/common/syscalls.list: Remove file.
21012 * sysdeps/unix/bsd/Implies: Don't include unix/common.
21013 * sysdeps/unix/sysv/linux/Implies: Likewise.
21014
336270d0
L
210152012-05-04 H.J. Lu <hongjiu.lu@intel.com>
21016
21017 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
21018 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
21019 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
21020 Moved to ...
21021 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21022 Here.
21023 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
21024 to ...
21025 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
21026 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
21027 to ...
21028 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
21029 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
21030 to ...
21031 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
21032 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
21033 to ...
21034 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
21035 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
21036 to ...
21037 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
21038 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
21039 to ...
21040 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
21041 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
21042 to ...
21043 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21044 Here.
21045 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
21046 to ...
21047 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
21048 Here.
21049 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
21050 to ...
21051 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
21052 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
21053 Moved to ...
21054 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
21055 Here.
21056 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
21057 to ...
21058 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
21059
d128e450
JM
210602012-05-04 Joseph Myers <joseph@codesourcery.com>
21061
fa8ee516
JM
21062 * sysdeps/unix/common/bits/dirent.h: Remove file.
21063 * sysdeps/unix/common/bits/fcntl.h: Likewise.
21064
d128e450
JM
21065 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
21066 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
21067 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
21068 * sysdeps/unix/bsd/isatty.c: Likewise.
21069 * sysdeps/unix/bsd/tcdrain.c: Likewise.
21070 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
21071 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
21072
ff8faaf0 210732012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 21074
62881be4 21075 [BZ #13563]
31dc8730
AZ
21076 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
21077 long double comparison inaccuracies.
21078 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21079 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21080
6fef930c
AS
210812012-05-04 Andreas Schwab <schwab@linux-m68k.org>
21082
21083 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
21084 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
21085
8f203e6c
JM
210862012-05-04 Joseph Myers <joseph@codesourcery.com>
21087
21088 [BZ #14049]
21089 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
21090 nonzero digits before rounding a hex value.
21091 * stdlib/tst-strtod.c (tests): Add another test.
21092
5197d9c2
AK
210932012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21094
21095 * sysdeps/s390/fpu/libm-test-ulps: Update.
21096
f0c1dedf
AJ
210972012-05-03 Andreas Jaeger <aj@suse.de>
21098
21099 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
21100 does not get optimized out.
21101 (malloc_opt_barrier): New.
21102
a65ef2ae 211032012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 21104 Roland McGrath <roland@hack.frob.com>
a65ef2ae 21105
2b942cb7 21106 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 21107 intermediate file deletion.
2b942cb7 21108 (generated): Add .symlist files.
a65ef2ae 21109
54b71e02
JM
211102012-05-03 Joseph Myers <joseph@codesourcery.com>
21111
21112 [BZ #13775]
21113 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
21114 Redirect under this condition.
21115 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21116 [__USE_GNU] (__dprintf_chk): Not under this condition.
21117 [__USE_GNU] (__vdprintf_chk): Likewise.
21118 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
21119 under this condition.
21120 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21121 [__USE_XOPEN2K8] (dprintf): Define under this condition.
21122 [__USE_XOPEN2K8] (vdprintf): Likewise.
21123 [__USE_GNU] (__dprintf_chk): Not under this condition.
21124 [__USE_GNU] (__vdprintf_chk): Likewise.
21125 [__USE_GNU] (dprintf): Likewise.
21126 [__USE_GNU] (vdprintf): Likewise.
21127
d3dfcc41
RM
211282012-05-03 Roland McGrath <roland@hack.frob.com>
21129
21130 * elf/Makefile (common-generated): Set this instead of generated for
21131 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
21132 $(all-built-dso)-derived lists.
21133
7ac30cc5
AJ
211342012-05-03 Andreas Jaeger <aj@suse.de>
21135
0c51e550
AJ
21136 * sysdeps/i386/fpu/libm-test-ulps: Update.
21137
7ac30cc5
AJ
21138 * FAQ: Removed.
21139 * FAQ.in: Likewise.
21140 * scripts/gen-FAQ.pl: Likewise.
21141 * manual/install.texi (Installation): Point to online location of
21142 FAQ.
21143 * Makefile (files-for-dist): Remove FAQ.
21144 (FAQ): Remove.
21145
d4c2917f
AM
211462012-05-02 Allan McRae <allan@archlinux.org>
21147
21148 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
21149 (LDFLAGS-reldepmod5.so): Likewise.
21150 (LDFLAGS-reldep6mod1.so): Likewise.
21151 (LDFLAGS-reldep6mod4.so): Likewise.
21152 (LDFLAGS-reldep8mod3.so): Likewise.
21153 (LDFLAGS-unload4mod1.so): Likewise.
21154 (LDFLAGS-unload4mod2.so): Likewise.
21155 (LDFLAGS-tst-initorder): Likewise.
21156 (LDFLAGS-tst-initordera2.so): Likewise.
21157 (LDFLAGS-tst-initordera3.so): Likewise.
21158 (LDFLAGS-tst-initordera4.so): Likewise.
21159 (LDFLAGS-tst-initorderb2.so): Likewise.
21160 (LDFLAGS-noload): Likewise.
21161 (LDFLAGS-next): Likewise.
21162 (LDFLAGS-order2mod1.so): Likewise.
21163 (LDFLAGS-order2mod2.so): Likewise.
21164 (LDFLAGS-tst-initorder2): Likewise.
21165 (LDFLAGS-tst-initorder2a.so): Likewise.
21166 (LDFLAGS-tst-initorder2b.so): Likewise.
21167 (LDFLAGS-tst-initorder2c.so): Likewise.
21168 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
21169
d77f993f
DM
211702012-05-02 David S. Miller <davem@davemloft.net>
21171
21172 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21173
171a70b4
PP
211742012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
21175
21176 [BZ #14055]
21177 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
21178
0be196ad
AJ
211792012-05-02 Andreas Jaeger <aj@suse.de>
21180
21181 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
21182 since we manipulate rounding mode.
21183 (CPPFLAGS-test-idouble.c): Likewise.
21184 (CPPFLAGS-test-ifloat.c): Likewise.
21185 (CFLAGS-test-ldouble.c): Likewise.
21186 (CFLAGS-test-double.c): Likewise.
21187 (CFLAGS-test-float.c): Likewise.
21188 (CFLAGS-test-misc.c): Likewise.
21189 (CFLAGS-test-test-fenv.c): Likewise.
21190
4f9d04aa
AZ
211912012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21192
2b942cb7
RM
21193 [BZ #2550]
21194 [BZ #2570]
21195 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
21196 comparisons to determine direction to adjust input.
4f9d04aa 21197
82a79e7d
RM
211982012-05-01 Roland McGrath <roland@hack.frob.com>
21199
f5a01ca9
RM
21200 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
21201 output to the target.
21202
90fe4186
RM
21203 * scripts/localplt.awk: New file.
21204 * elf/Makefile ($(objpfx)check-localplt): Target removed.
21205 (check-localplt-CFLAGS): Variable removed.
21206 ($(all-built-dso:=.jmprel)): New static pattern rule.
21207 (generated): Add those targets.
21208 (localplt-built-dso): New variable.
21209 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
21210
21211 * elf/check-localplt.c: File removed.
21212
82397ed6
RM
21213 * scripts/check-execstack.awk: New file.
21214 * elf/Makefile ($(objpfx)check-execstack): Target removed.
21215 (check-execstack-CFLAGS): Variable removed.
21216 ($(objpfx)check-execstack.h): Target removed.
21217 ($(objpfx)execstack-default): New target.
21218 (generated): Add that instead of check-execstack.h.
21219 ($(all-built-dso:=.phdr)): New static pattern rule.
21220 (generated): Add those targets.
21221 * elf/check-execstack.c: File removed.
21222
82a79e7d
RM
21223 * scripts/check-textrel.awk: New file.
21224 * elf/Makefile ($(objpfx)check-textrel): Target removed.
21225 (check-textrel-CFLAGS): Variable removed.
21226 (all-built-dso): Use := to define.o
21227 ($(all-built-dso:=.dyn)): New static pattern rule.
21228 (generated): Add those targets.
21229 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
21230 * config.make.in (READELF): New substituted variable.
21231 * elf/check-textrel.c: File removed.
21232
62fde54f 212332012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 21234
615605c9
JM
21235 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21236 allow.
21237 * conform/data/ctype.h-data [C99-based standards] (isblank):
21238 Expect function.
21239 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
21240 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
21241 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21242 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
21243 Specify type. Require positive value.
21244 (EILSEQ): Likewise.
21245 (ERANGE): Likewise.
21246 [ISO || POSIX] (EILSEQ): Do not expect.
21247 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
21248 Specify type. Require positive value.
21249 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
21250 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
21251 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
21252 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
21253 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
21254 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
21255 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
21256 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
21257 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
21258 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
21259 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
21260 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
21261 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
21262 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
21263 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
21264 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
21265 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
21266 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
21267 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
21268 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
21269 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
21270 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
21271 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
21272 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
21273 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
21274 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
21275 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
21276 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
21277 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
21278 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
21279 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
21280 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
21281 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
21282 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
21283 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
21284 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
21285 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
21286 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
21287 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
21288 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
21289 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
21290 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
21291 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
21292 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
21293 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
21294 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
21295 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
21296 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
21297 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
21298 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
21299 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
21300 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
21301 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
21302 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
21303 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
21304 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
21305 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
21306 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
21307 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
21308 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
21309 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
21310 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
21311 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
21312 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
21313 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
21314 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
21315 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
21316 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
21317 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
21318 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
21319 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
21320 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
21321 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
21322 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
21323 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
21324 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
21325 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
21326 Require >= 2.
21327 (FLT_ROUNDS): Expect as macro, not constant.
21328 (FLT_MANT_DIG): Use macro-int-constant.
21329 (DBL_MANT_DIG): Likewise.
21330 (LDBL_MANT_DIG): Likewise.
21331 (FLT_DIG): Likewise.
21332 (DBL_DIG): Likewise.
21333 (LDBL_DIG): Likewise.
21334 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
21335 (DBL_MIN_EXP): Likewise.
21336 (LDBL_MIN_EXP): Likewise.
21337 (FLT_MAX_EXP): Use macro-int-constant.
21338 (DBL_MAX_EXP): Likewise.
21339 (LDBL_MAX_EXP): Likewise.
21340 (FLT_MAX_10_EXP): Likewise.
21341 (DBL_MAX_10_EXP): Likewise.
21342 (LDBL_MAX_10_EXP): Likewise.
21343 (FLT_MAX): Use macro-constant.
21344 (DBL_MAX): Likewise.
21345 (LDBL_MAX): Likewise.
21346 (FLT_EPSILON): Use macro-constant. Give upper bound.
21347 (DBL_EPSILON): Likewise.
21348 (LDBL_EPSILON): Likewise.
21349 (FLT_MIN): Likewise.
21350 (DBL_MIN): Likewise.
21351 (LDBL_MIN): Likewise.
21352 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
21353 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
21354 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
21355 [ISO11] (FLT_HAS_SUBNORM): Likewise.
21356 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
21357 [ISO11] (DBL_DECIMAL_DIG): Likewise.
21358 [ISO11] (FLT_DECIMAL_DIG): Likewise.
21359 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
21360 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
21361 [ISO11] (FLT_TRUE_MIN): Likewise.
21362 [ISO11] (LDBL_TRUE_MIN): Likewise.
21363 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21364 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
21365 (SCHAR_MIN): Use macro-int-constant. Specify type.
21366 (SCHAR_MAX): Likewise.
21367 (UCHAR_MAX): Likewise.
21368 (CHAR_MIN): Likewise.
21369 (CHAR_MAX): Likewise.
21370 (MB_LEN_MAX): Use macro-int-constant.
21371 (SHRT_MIN): Use macro-int-constant. Specify type.
21372 (SHRT_MAX): Likewise.
21373 (USHRT_MAX): Likewise.
21374 (INT_MAX): Likewise.
21375 (INT_MIN): Use macro-int-constant. Specify type. Make upper
21376 bound negative.
21377 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
21378 bound with "U".
21379 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21380 bound with "L".
21381 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
21382 bound negative. Suffix upper bound with "L".
21383 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21384 bound with "UL".
21385 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
21386 Specify type.
21387 [C99-based standards] (LLONG_MAX): Likewise.
21388 [C99-based standards] (ULLONG_MAX): Likewise.
21389 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
21390 == 0.
21391 [ISO11] (max_align_t): Require type.
21392 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21393
c9140a62
JM
21394 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
21395 from $CFLAGS, without defining away __attribute__ calls.
21396 (checknamespace): Use $CFLAGS_namespace.
21397
9af0bf29
JM
21398 * conform/conformtest.pl (@keywords): Only include C99 keywords
21399 for standards based on C99 or C11.
21400
343222a2
JM
21401 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
21402 Disable tests.
21403 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
21404 UNIX98]: Likewise.
21405
661f8cf0
JM
21406 * conform/conformtest.pl: Handle "macro-int-constant" and test for
21407 usability of symbols in #if.
21408
ee74b9cb
JM
21409 * conform/conformtest.pl: If macro or constant types start
21410 "promoted:", expect the symbol to be of the following type
21411 promoted by the integer promotions.
62fde54f 21412
aafc49b3
JM
21413 * conform/conformtest.pl: Parse all "constant" and "macro" lines
21414 in one place. Also handle "macro-constant".
21415
fefdf574
JM
21416 * conform/conformtest.pl: Only accept expected macro values with
21417 "==". Parse all "macro" lines in one place.
21418 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
21419
f2d922fe
JM
21420 * conform/conformtest.pl: Handle braced types on "constant" lines
21421 instead of handling "typed-constant".
21422 * conform/data/signal.h-data: Use "constant" instead of
21423 "typed-constant".
21424
d22956c9
JM
21425 * conform/conformtest.pl: Handle "optional-" at start of lines in
21426 one place rather than duplicating several cases. Handle each
21427 format of "macro" line with initial "optional-".
21428
028e2e38
JM
21429 * conform/conformtest.pl: Only accept expected constant or
21430 optional-constant values with "==". Parse all "constant" lines in
21431 one place. Parse all "optional-constant" lines in one place.
21432 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
21433 * conform/data/fmtmsg.h-data: Likewise.
21434 * conform/data/netinet/in.h-data: Likewise.
21435 * conform/data/tar.h-data: Likewise.
21436 * conform/data/limits.h-data: Use "==" form on "constant" and
21437 "optional-constant" lines.
21438
1b8f2850
JM
21439 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
21440 Use -std=c99 for XOPEN2K.
21441 (@knownproblems): Remove.
21442 (newtoken): Don't check %isknown.
21443
a05a144b
JM
21444 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
21445 Do not expect macro.
21446 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
21447 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
21448 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
21449 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
21450 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
21451 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
21452 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
21453 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
21454 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
21455 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
21456 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
21457 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
21458 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
21459 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
21460 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
21461 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
21462 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
21463 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
21464 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
21465 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
21466 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
21467 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
21468 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
21469 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
21470 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
21471 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
21472 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
21473 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
21474 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
21475 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
21476 [XPG3] (acosh): Likewise.
21477 [XPG3] (asinh): Likewise.
21478 [XPG3] (atanh): Likewise.
21479 [XPG3] (cbrt): Likewise.
21480 [XPG3] (expm1): Likewise.
21481 [XPG3] (ilogb): Likewise.
21482 [XPG3] (log1p): Likewise.
21483 [XPG3] (logb): Likewise.
21484 [XPG3] (nextafter): Likewise.
21485 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
21486 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
21487 [XPG3] (remainder): Likewise.
21488 [XPG3] (rint): Likewise.
21489 [XPG3 || XPG4 || UNIX98] (round): Likewise.
21490 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
21491 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
21492 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
21493 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
21494 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
21495 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
21496 [UNIX98 || XOPEN2K] (scalb): Expect.
21497 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
21498 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
21499 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
21500 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
21501 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
21502 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
21503 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
21504 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
21505 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
21506 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
21507 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
21508 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
21509 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
21510 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
21511 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
21512 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
21513 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
21514 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
21515 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
21516 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
21517 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
21518 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
21519 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
21520 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
21521 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
21522 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
21523 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
21524 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
21525 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
21526 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
21527 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
21528 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
21529 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
21530 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
21531 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
21532 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
21533 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
21534 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
21535 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
21536 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
21537 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
21538 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
21539 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
21540 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
21541 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
21542 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
21543 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
21544 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
21545 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
21546 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
21547 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
21548 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
21549 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
21550 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
21551 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
21552 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
21553 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
21554 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
21555 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
21556 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
21557 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
21558 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
21559 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
21560 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
21561 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
21562 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
21563 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
21564 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
21565 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
21566 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
21567 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
21568 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
21569 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
21570 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
21571 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
21572 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
21573 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
21574 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
21575 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
21576 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
21577 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
21578 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
21579 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
21580 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
21581 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
21582 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
21583 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
21584 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
21585 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
21586 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
21587 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
21588 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
21589 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
21590 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
21591 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
21592 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
21593 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
21594 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
21595 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
21596 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
21597 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
21598 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
21599 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
21600 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
21601 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
21602 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
21603 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
21604 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
21605 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
21606 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
21607 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
21608 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
21609 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
21610 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
21611 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
21612 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
21613 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
21614 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
21615 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
21616 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
21617 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
21618 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
21619 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
21620 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
21621 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
21622 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
21623 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
21624 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
21625 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
21626 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
21627 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
21628 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
21629 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
21630 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
21631 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
21632 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
21633 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
21634
73c5ebe3
JM
21635 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
21636 _XOPEN_SOURCE_EXTENDED for XPG4.
21637
39c33b6c
JM
21638 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
21639
62fde54f
JM
21640 * Makeconfig (localtime): Remove variable.
21641 (inst_localtime-file): Likewise.
21642
0741d64c
AS
216432012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21644
21645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
21646 Update.
21647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21648 Update.
21649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
21650 Update.
21651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21652 Update.
21653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
21654 Update.
21655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
21656 Update.
21657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21658 Update.
21659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
21660 Update.
21661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21662 Update.
21663
7cb029ee
JM
216642012-05-01 Joseph Myers <joseph@codesourcery.com>
21665
21666 [BZ #2550]
21667 [BZ #2570]
21668 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
21669 comparisons to determine direction to adjust input.
21670 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21671 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
21672 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
21673 Likewise.
21674 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
21675 Likewise.
21676 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21677 Likewise.
21678 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21679 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21680 Likewise.
21681 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21682 Likewise.
21683 * math/libm-test.inc (nexttoward_test): Add more tests.
21684
412bd966
AS
216852012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21686
21687 [BZ #14040]
21688 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
21689 in version GLIBC_2.1, not GLIBC_2.0.
21690 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
21691 Likewise.
21692
9568c0c2
JM
216932012-04-30 Joseph Myers <joseph@codesourcery.com>
21694
adfbc8ac
JM
21695 [BZ #13942]
21696 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
21697 (1 - x) * (1 + x).
21698 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21699 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
21700 * math/libm-test.inc (acos_test): Add more tests.
21701 (asin_test): Likewise.
21702 * sysdeps/i386/fpu/libm-test-ulps: Update.
21703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21704
5ba3cc69
JM
21705 [BZ #14034]
21706 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
21707 of square root.
21708 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
21709 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21710 * math/libm-test.inc (acos_test_tonearest): New function.
21711 (acos_test_towardzero): Likewise.
21712 (acos_test_downward): Likewise.
21713 (acos_test_upward): Likewise.
21714 (asin_test_tonearest): Likewise.
21715 (asin_test_towardzero): Likewise.
21716 (asin_test_downward): Likewise.
21717 (asin_test_upward): Likewise.
21718 (main): Call the new functions.
21719 * sysdeps/i386/fpu/libm-test-ulps: Update.
21720 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21721
9568c0c2
JM
21722 [BZ #13884]
21723 [BZ #13924]
21724 * math/e_exp10.c: Include <float.h>.
21725 (__ieee754_exp10): Handle underflow here rather than multiplying
21726 large negative argument by M_LN10.
21727 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
21728 of __ieee754_expf.
21729 * math/e_exp10l.c: Include <float.h>.
21730 (__ieee754_exp10l): Handle underflow here rather than multiplying
21731 large negative argument by M_LN10l.
21732 * math/libm-test.inc (exp10_test): Add another test. Do not allow
21733 spurious overflow exception on underflow.
21734
5ac3ea17
MP
217352012-04-29 Marek Polacek <polacek@redhat.com>
21736
21737 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
21738 (__fortify_function): New macro.
21739 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
21740 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
21741 __extern_always_inline.
21742 * libio/bits/stdio2.h: Likewise.
21743 * libio/bits/stdio.h: Likewise.
21744 * string/string.h: Likewise.
21745 * string/bits/string3.h: Likewise.
21746 * include/stdio.h: Likewise.
21747 * stdlib/bits/stdlib.h: Likewise.
21748 * stdlib/stdlib.h: Likewise.
21749 * rt/bits/mqueue2.h: Likewise.
21750 * rt/mqueue.h: Likewise.
21751 * posix/bits/unistd.h: Likewise.
21752 * posix/unistd.h: Likewise.
21753 * io/bits/poll2.h: Likewise.
21754 * io/bits/fcntl2.h: Likewise.
21755 * io/fcntl.h: Likewise.
21756 * io/sys/poll.h: Likewise.
21757 * misc/bits/syslog.h: Likewise.
21758 * misc/bits/syslog-ldbl.h: Likewise.
21759 * misc/sys/syslog.h: Likewise.
21760 * socket/bits/socket2.h: Likewise.
21761 * socket/sys/socket.h: Likewise.
21762 * debug/tst-chk1.c: Likewise.
21763 * wcsmbs/bits/wchar2.h: Likewise.
21764 * wcsmbs/bits/wchar-ldbl.h: Likewise.
21765 * wcsmbs/wchar.h: Likewise.
21766
ecf0ebfb
AJ
217672012-04-29 Andreas Jaeger <aj@suse.de>
21768
21769 * Makerules (tests): Remove enable-check-abi protection.
21770 (check-abi-warn): Remove.
21771 (check-abi-%): Remove check-abi-warn usage.
21772
21773 * configure.in: Remove check-abi configure option.
21774 * configure: Regenerated.
21775 * config.make.in (enable-check-abi): Remove.
21776
6d5c57fa
AS
217772012-04-28 Andreas Schwab <schwab@linux-m68k.org>
21778
24c5d07e 21779 [BZ #14033]
ded5180a
AS
21780 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
21781 double functions to double *_finite functions.
21782
7e0d315d
AS
21783 [BZ #13941]
21784 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
21785 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
21786 LDBL_MIN_EXP.
21787 * stdio-common/Makefile (tests): Add tst-sprintf3.
21788 * stdio-common/tst-sprintf3.c: New file.
21789
6d5c57fa
AS
21790 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
21791 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
21792
0749ff8b
JM
217932012-04-28 Joseph Myers <joseph@codesourcery.com>
21794
21795 * conform/conformtest.pl: Remove duplicate typed-constant
21796 handling.
21797
8dbd5d7b
DM
217982012-04-28 David S. Miller <davem@davemloft.net>
21799
21800 * Makerules (%.abilist): Add vpath on sysdep_dirs.
21801 (check-abi-%): Remove AWK script prerequisite and explicit
21802 abilist directory.
21803 (check-abi): Rewrite to just diff the symlist with the abilist.
21804 (config-tls, config-abi-config): Delete, no longer used.
21805 (update-abi-%): Remove AWK script and explicit abilist directory.
21806 (update-abi): Rewrite to simply compare and conditionally copy the
21807 symlist and the sysdep abilist file. Remove update-abi-config
21808 checks.
21809 * abilist/ld.abilist: Remove.
21810 * abilist/libBrokenLocale.abilist: Remove.
21811 * abilist/libanl.abilist: Remove.
21812 * abilist/libcrypt.abilist: Remove.
21813 * abilist/libdl.abilist: Remove.
21814 * abilist/librt.abilist: Remove.
21815 * abilist/libthread_db.abilist: Remove.
21816 * abilist/libutil.abilist: Remove.
21817 * scripts/extract-abilist.awk: Remove.
21818 * scripts/merge-abilist.awk: Remove.
21819 * sysdeps/generic/libcidn.abilist: New file.
21820 * sysdeps/generic/libnss_compat.abilist: New file.
21821 * sysdeps/generic/libnss_db.abilist: New file.
21822 * sysdeps/generic/libnss_dns.abilist: New file.
21823 * sysdeps/generic/libnss_files.abilist: New file.
21824 * sysdeps/generic/libnss_hesiod.abilist: New file.
21825 * sysdeps/generic/libnss_nis.abilist: New file.
21826 * sysdeps/generic/libnss_nisplus.abilist: New file.
21827 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
21828 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
21829 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
21830 file.
21831 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
21832 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
21833 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
21834 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
21835 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
21836 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
21837 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
21838 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
21839 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
21840 file.
21841 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
21842 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
21843 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
21844 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
21845 file.
21846 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
21847 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
21848 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
21849 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
21850 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
21851 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
21852 file.
21853 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
21854 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
21855 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
21856 file.
21857 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
21858 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
21859 New file.
21860 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
21861 New file.
21862 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
21863 New file.
21864 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
21865 New file.
21866 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
21867 New file.
21868 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
21869 New file.
21870 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
21871 New file.
21872 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
21873 New file.
21874 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
21875 New file.
21876 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
21877 New file.
21878 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
21879 New file.
21880 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
21881 New file.
21882 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
21883 New file.
21884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
21885 file.
21886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21887 New file.
21888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21889 New file.
21890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
21891 file.
21892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21893 New file.
21894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21895 New file.
21896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
21897 file.
21898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21899 New file.
21900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21901 New file.
21902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21903 New file.
21904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21905 New file.
21906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21907 New file.
21908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21909 New file.
21910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
21911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
21912 file.
21913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21914 New file.
21915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
21916 file.
21917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
21918 file.
21919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
21920 file.
21921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
21922 file.
21923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
21924 file.
21925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21926 New file.
21927 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
21928 file.
21929 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
21930 file.
21931 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21932 New file.
21933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
21934 file.
21935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
21936 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
21937 file.
21938 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21939 New file.
21940 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
21941 file.
21942 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
21943 file.
21944 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
21945 file.
21946 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
21947 file.
21948 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
21949 file.
21950 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21951 New file.
21952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
21953 file.
21954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21955 file.
21956 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21957 New file.
21958 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21959 file.
21960 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21961 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
21962 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
21963 file.
21964 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
21965 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
21966 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
21967 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
21968 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
21969 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
21970 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
21971 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
21972 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
21973 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
21974 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
21975 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
21976 file.
21977 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21978 New file.
21979 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
21980 file.
21981 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
21982 file.
21983 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
21984 file.
21985 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
21986 file.
21987 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
21988 file.
21989 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21990 New file.
21991 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21992 New file.
21993 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21994 file.
21995 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21996 New file.
21997 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21998 file.
21999 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
22000 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
22001 file.
22002 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
22003 New file.
22004 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
22005 file.
22006 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
22007 file.
22008 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
22009 file.
22010 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
22011 file.
22012 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
22013 file.
22014 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22015 New file.
22016 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22017 New file.
22018 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
22019 file.
22020 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22021 New file.
22022 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
22023 file.
22024
41d73a1b
JM
220252012-04-28 Joseph Myers <joseph@codesourcery.com>
22026
22027 * conform/conformtest.pl: Fix typo in handling typed-constant from
22028 allow-header.
22029
28aeeda4
JM
220302012-04-27 Joseph Myers <joseph@codesourcery.com>
22031
adae8f5e
JM
22032 * README: Cut down references to pre-2.6 Linux kernels and
22033 Linuxthreads. Update lists of configurations in libc and ports
22034 and sort alphabetically. Say "or newer" with Linux kernel version
22035 requirements.
22036
28aeeda4
JM
22037 * config.h.in [IS_IN_build]: Allow compiling without optimization.
22038
a462cb63
RA
220392012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22040
22041 [BZ #887]
22042 * math/libm-test.inc (logb_test_downward): New test to expose
22043 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
22044 rounding mode.
22045
6ad3493e
JM
220462012-04-27 Joseph Myers <joseph@codesourcery.com>
22047
22048 [BZ #14027]
22049 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
22050 to be done.
22051 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
22052 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
22053
2ce4f015
JM
220542012-04-26 Joseph Myers <joseph@codesourcery.com>
22055
5aeb141a
JM
22056 * sysdeps/unix/i386/brk.S: Remove file.
22057 * sysdeps/unix/i386/dl-brk.S: Likewise.
22058 * sysdeps/unix/i386/pipe.S: Likewise.
22059 * sysdeps/unix/i386/sigreturn.S: Likewise.
22060 * sysdeps/unix/i386/syscall.S: Likewise.
22061 * sysdeps/unix/i386/vfork.S: Likewise.
22062 * sysdeps/unix/i386/wait.S: Likewise.
22063
7143acae
JM
22064 * sysdeps/unix/common/tcsendbrk.c: Move to ...
22065 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
22066
2ce4f015
JM
22067 * configure.in (arm*-none*): Do not allow without
22068 --enable-hacker-mode.
22069 (netbsd*): Remove case setting base_os.
22070 (386bsd*): Likewise.
22071 (freebsd*): Likewise.
22072 (bsdi*): Likewise.
22073 (osf*): Likewise.
22074 (sunos*): Likewise.
22075 (ultrix*): Likewise.
22076 (newsos*): Likewise.
22077 (dynix*): Likewise.
22078 (*bsd*): Likewise.
22079 (sysv*): Likewise.
22080 (isc*): Likewise.
22081 (esix*): Likewise.
22082 (sco*): Likewise.
22083 (minix*): Likewise.
22084 (irix4*): Likewise.
22085 (irix6*): Likewise.
22086 (solaris[2-9]*): Likewise.
22087 (none): Likewise.
22088 * configure: Regenerated.
22089
0ac229c8
AZ
220902012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22091
22092 [BZ #11521]
22093 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
22094 overflow or cancellation in calculating denominator.
22095 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
22096 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
22097 down expression to avoid unexpected rounding in newer GCCs.
22098 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
22099
33f244f4
DM
221002012-04-26 David S. Miller <davem@davemloft.net>
22101
22102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
22103 long-double compat symbols.
22104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
22108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
22110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
22111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
22112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
22113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
22115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
22116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22117
cfa1f3e8
DM
221182012-04-25 David S. Miller <davem@davemloft.net>
22119
22120 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
22121 HWCAP_* values only after the memory barriers have been defined.
22122 (atomic_full_barrier): Define.
22123 (atomic_read_barrier): Define.
22124 (atomic_write_barrier): Define.
22125
6e236b92
SP
221262012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22127
22128 * shlib-versions: Add libgcc_s version information.
22129 * sysdeps/generic/libgcc_s.h: Remove.
22130 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
22131 libgcc_s.h.
22132 * sysdeps/gnu/unwind-resume.c: Likewise.
22133 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
22134
aab39a09
DM
221352012-04-25 David S. Miller <davem@davemloft.net>
22136
22137 * sysdeps/unix/sparc/brk.S: Delete.
22138 * sysdeps/unix/sparc/dl-brk.S: Delete.
22139 * sysdeps/unix/sparc/pipe.S: Delete.
22140 * sysdeps/unix/sparc/sysdep.S: Delete.
22141 * sysdeps/unix/sparc/sysdep.h: Delete.
22142 * sysdeps/unix/sparc/vfork.S: Delete.
22143 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
22144 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
22145 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
22146 ret_ERRVAL, r0, r1, MOVE): Define.
22147 (JUMPTARGET): Remove.
22148 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
22149 sysdeps/unix/sparc/sysdep.h
22150 (ENTRY, END): Remove.
22151 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22152
a3cc4f48
JM
221532012-04-25 Joseph Myers <joseph@codesourcery.com>
22154
2ed8cda2
JM
22155 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
22156 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
22157 -DIS_IN_build.
22158
35d76d59
JM
22159 * timezone/README: Update upstream location and email address for
22160 tzcode and tzdata.
22161 * timezone/zdump.c: Update from tzcode 2012b.
22162 * timezone/zic.c: Likewise.
22163
a3cc4f48
JM
22164 * configure.in (libc_cv_as_needed): Remove test.
22165 * configure: Regenerated.
22166 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
22167 conditional definition.
22168 [$(have-as-needed) != yes] (no-as-needed): Likewise.
22169 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
22170 * config.make.in (have-as-needed): Remove variable.
22171
ceab42c3
SP
221722012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22173 Paul Pluzhnikov <ppluzhnikov@google.com>
22174
22175 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
22176 strings correctly.
22177
3ce2865f
CLT
221782012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
22179
22180 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
22181 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
22182 * sysdeps/sh/strlen.S: Likewise.
22183
f37e0d68
JM
221842012-04-24 Joseph Myers <joseph@codesourcery.com>
22185
ae186e9a
JM
22186 * sysdeps/unix/fork.S: Remove file.
22187 * sysdeps/unix/i386/fork.S: Likewise.
22188 * sysdeps/unix/sparc/fork.S: Likewise.
22189
b96914af
JM
22190 * sysdeps/unix/system.c: Remove file.
22191 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
22192
f37e0d68
JM
22193 * sysdeps/unix/getegid.S: Remove file.
22194 * sysdeps/unix/geteuid.S: Likewise.
22195
87ef29ca
RM
221962012-04-24 Roland McGrath <roland@hack.frob.com>
22197
83bcd236
RM
22198 * scripts/check-localplt.awk: New file.
22199 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
22200 of diff.
22201 * scripts/data/localplt-generic.data: Add a comment.
22202
87ef29ca
RM
22203 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
22204 NODE when __dir_mkfile failed.
22205 * sysdeps/mach/hurd/symlinkat.c: Likewise.
22206 Reported by Ludovic Courtès <ludo@gnu.org>.
22207
e5a6e567
AJ
222082012-04-24 Andreas Jaeger <aj@suse.de>
22209
22210 * Makerules (common-clean): Also remove gen-as-const-headers
22211 files.
22212
c1820385
JM
222132012-04-24 Joseph Myers <joseph@codesourcery.com>
22214
22215 * Makerules (native-compile): Do not change working directory for
22216 build. Use $(OUTPUT_OPTION) in command.
22217 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
22218
94e02fc4
AZ
222192012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22220
22221 [BZ #13886]
22222 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
22223 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
22224 * math/libm-test.inc (floor_test): Add more tests.
22225 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
22226
3a533ca3
JM
222272012-04-24 Joseph Myers <joseph@codesourcery.com>
22228
940ab4b3
JM
22229 * sysdeps/unix/getdents.c: Remove file.
22230 * sysdeps/unix/sysv/getdents.c: Likewise.
22231 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
22232
90e037bd
JM
22233 * sysdeps/unix/syscalls.list (madvise): Add syscall from
22234 sysdeps/unix/mman/syscalls.list.
22235 (mmap): Likewise.
22236 (mprotect): Likewise.
22237 (msync): Likewise.
22238 (munmap): Likewise.
22239 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
22240 * sysdeps/unix/mman/syscalls.list: Remove.
22241 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
22242
3a533ca3
JM
22243 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
22244 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
22245 * configure: Regenerated.
22246 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
22247 $(libgcc_s_suffix).
22248 * config.make.in (libgcc_s_suffix): Remove variable.
22249
1ad743de
JM
222502012-04-23 Joseph Myers <joseph@codesourcery.com>
22251
4ad451e2
JM
22252 * sysdeps/unix/sysv/gethostname.c: Move to ...
22253 * sysdeps/posix/gethostname.c: ... here.
22254
5e37ce39
JM
22255 * sysdeps/unix/execve.S: Remove file.
22256
1ad743de
JM
22257 * sysdeps/unix/_exit.S: Remove file.
22258
4e681b5b
AJ
222592012-04-23 Andreas Jaeger <aj@suse.de>
22260
22261 [BZ #13739]
22262 * manual/Makefile: Remove make dist support, there's no
22263 need for a stand-alone documentation tar ball.
22264 (TEXI2DVI): Define always, it's not in Makeconfig.
22265 (dist): Removed.
22266 (tar-it): Removed.
22267 (edition): Removed.
22268 (glibc-doc-$(edition).tar): Removed
22269 (%.Z): Removed.
22270 (%.gz): Removed.
22271 (%.uu): Removed.
22272 (ETAGS): Remove, it's in Makeconfig.
22273 (move-if-change): Remove, it's in Makeconfig.
22274
38686a03 222752012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
22276
22277 [BZ #13970]
22278 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
22279 (strtod, strtof, strtold, strtol, strtoul, strtoq)
22280 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
22281 (strtod_l, strtof_l, strtold_l): Remove __wur.
22282 It is not necessarily an error to ignore strtol's return value.
22283 One can reliably look at the stored endptr to decide whether
22284 the number had valid syntax.
22285
7c0616fa
AJ
222862012-04-21 Andreas Jaeger <aj@suse.de>
22287
803cb6b7 22288 [BZ #13739]
7c0616fa
AJ
22289 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
22290
b0fe253f
JM
222912012-04-21 Joseph Myers <joseph@codesourcery.com>
22292
22293 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
22294 * sysdeps/unix/sysv/Versions: Remove file.
22295
8280f22d
MT
222962012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
22297
22298 [BZ #13927]
22299 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22300
75ce411f 223012012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
22302
22303 [BZ #7064]
22304 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
22305 version from __vm86.
22306
097d59fa
JM
223072012-04-20 Joseph Myers <joseph@codesourcery.com>
22308
a90f3bcb
JM
22309 * sysdeps/unix/common/lxstat.c: Remove file.
22310 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
22311
edc7ea78
JM
22312 * sysdeps/unix/sysv/Makefile: Remove file.
22313
cb78c221
JM
22314 * sysdeps/unix/sysv/direct.h: Remove file.
22315
efa6a45f
JM
22316 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
22317 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
22318 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
22319 * sysdeps/unix/sysv/bits/signum.h: Likewise.
22320 * sysdeps/unix/sysv/bits/stat.h: Likewise.
22321 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
22322 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
22323
9c9f2d0c
JM
22324 * sysdeps/unix/sysv/setrlimit.c: Remove file.
22325
4541c83b
JM
22326 * sysdeps/unix/xmknod.c: Remove file.
22327 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
22328
f5d153a0
JM
22329 * sysdeps/unix/sysv/settimeofday.c: Remove file.
22330
aa746595
JM
22331 * sysdeps/unix/sysv/i386/time.S: Remove file.
22332
cce5905e
JM
22333 * sysdeps/unix/fxstat.c: Remove file.
22334 * sysdeps/unix/xstat.c: Likewise.
22335 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
22336
37fa3841
JM
22337 * sysdeps/unix/sysv/sigaction.c: Remove file.
22338
ff1962a3
JM
22339 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
22340 (sysdep_headers): Remove variable.
22341 [termio.h not in sysdep_headers] (generated): Likewise.
22342 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
22343 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
22344 * sysdeps/unix/sysv/tcdrain.c: Likewise.
22345 * sysdeps/unix/sysv/tcflow.c: Likewise.
22346 * sysdeps/unix/sysv/tcflush.c: Likewise.
22347 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
22348 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
22349 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
22350 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
22351 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
22352
e7740d31
JM
22353 * sysdeps/unix/siglist.c: Remove file.
22354
ee06f18b
JM
22355 * sysdeps/unix/getppid.S: Remove file.
22356
097d59fa
JM
22357 * sysdeps/unix/mkdir.c: Remove file.
22358 * sysdeps/unix/rmdir.c: Likewise.
22359
ff3d51ec
AS
223602012-04-19 Andreas Schwab <schwab@linux-m68k.org>
22361
22362 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
22363 ERR_MAX value.
22364 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
22365 errlist-compat value.
22366
50f81fd7
DM
223672012-04-18 David S. Miller <davem@davemloft.net>
22368
22369 * sysdeps/generic/memcopy.h (reg_char): Delete.
22370 * debug/strcat_chk.c: Use char, not reg_char.
22371 * debug/strcpy_chk.c: Likewise.
22372 * debug/strncat_chk.c: Likewise.
22373 * debug/strncpy_chk.c: Likewise.
22374 * string/memchr.c: Likewise.
22375 * string/memrchr.c: Likewise.
22376 * string/rawmemchr.c: Likewise.
22377 * string/strcat.c: Likewise.
22378 * string/strchr.c: Likewise.
22379 * string/strchrnul.c: Likewise.
22380 * string/strcmp.c: Likewise.
22381 * string/strcpy.c: Likewise.
22382 * string/strncat.c: Likewise.
22383 * string/strncmp.c: Likewise.
22384 * string/strncpy.c: Likewise.
22385
8ff41c46
WS
223862012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22387
22388 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
22389 __builtin_memcopy is called when src and dest ranges are known to not
22390 overlap.
22391
6b652f46
WS
223922012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22393
22394 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
22395 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
22396 fwd_align_merge macro call.
22397 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
22398 bwd_align_merge macro call.
22399 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22400
b282631e
WS
224012012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22402
22403 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
22404 bwd_align_merge macros.
22405 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
22406 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
22407 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22408
95aa737c
DM
224092012-04-18 David S. Miller <davem@davemloft.net>
22410
22411 * sysdeps/sparc/sparc64/memcopy.h: Delete.
22412
7a99a614
AJ
224132012-04-18 Andreas Jaeger <aj@suse.de>
22414
22415 [BZ# 6794]
22416 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
22417 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
22418 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22419
22420 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
22421 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
22422 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22423
22424 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
22425 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
22426 Adjust for changed ldbl-128 files.
22427
22428 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
22429 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
22430 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22431
e5270c23
DM
224322012-04-17 David S. Miller <davem@davemloft.net>
22433
22434 * sysdeps/sparc/sparc32/memcopy.h: Delete.
22435
fb5e92c9
AS
224362012-04-17 Andreas Schwab <schwab@linux-m68k.org>
22437
22438 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
22439 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
22440 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
22441 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
22442 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22443 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
22444
76da7265
AZ
224452012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22446
22447 [BZ #6794]
22448 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
22449 * math/libm-test.inc: Add ilogb errno and exception tests.
22450 * math/w_ilogb.c: New file: ilogb wrapper.
22451 * math/w_ilogbf.c: New file: ilogbf wrapper.
22452 * math/w_ilogbl.c: New file: ilogbl wrapper.
22453 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
22454 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
22455 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
22456 exception being thrown with 0.0 as argument.
22457 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
22458 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
22459 exception being thrown with 0.0 as argument.
22460 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
22461 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22462 exception being thrown with 0.0 as argument.
22463 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
22464 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22465 exception being thrown with 0.0 as argument.
22466 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
22467 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 22468 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
22469 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
22470 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
22471 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
22472 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
22473 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
22474 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
22475
0396e69d
PB
224762012-04-17 Petr Baudis <pasky@ucw.cz>
22477
22478 * include/sys/uio.h: Change __vector to __iovec to avoid clash
22479 with altivec.
22480
750b5926
MP
224812012-04-16 Marek Polacek <polacek@redhat.com>
22482
22483 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
22484
751728a1
MP
224852012-04-16 Marek Polacek <polacek@redhat.com>
22486
22487 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
22488 operands of fdivp instruction.
22489
34a27407
L
224902012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22491
22492 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
22493 * elf/tst-auditmod3b.c: Likewise.
22494 * elf/tst-auditmod4b.c: Likewise.
22495 * elf/tst-auditmod5b.c: Likewise.
22496 * elf/tst-auditmod6b.c: Likewise.
22497 * elf/tst-auditmod6c.c: Likewise.
22498 * elf/tst-auditmod7b.c: Likewise.
22499 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
22500 * sysdeps/x86_64/preconfigure.in: Likewise.
22501 * sysdeps/x86_64/preconfigure: Regenerated.
22502
7e73e17d
L
225032012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22504
22505 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
22506 __ILP32__.
22507
c7a6ab72
AB
225082012-04-13 Antoine Balestrat <merkil33@gmail.com>
22509
22510 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22511 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
22512
a9e8e0e0
CL
225132012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
22514
22515 [BZ #13973]
22516 * locale/iso-639.def: Fix gl language name. Spotted by
22517 Yaron Shahrabani.
22518
ec98af7d
RM
225192012-04-12 Roland McGrath <roland@hack.frob.com>
22520
22521 [BZ #2074]
22522 * libio/libio.h (__io_write_fn): Update comment.
22523
247c3ede
PB
225242012-04-12 Petr Baudis <pasky@ucw.cz>
22525
22526 [BZ #2074]
22527 * stdio.texi (Hook Functions): The user provided writer function
22528 is not allowed to return -1.
22529
55939d6d
DM
225302012-04-11 David S. Miller <davem@davemloft.net>
22531
22532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22533
90020f5a
MF
225342012-04-11 Mike Frysinger <vapier@gentoo.org>
22535
22536 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
22537 Add a leading slash to rtkaio.
22538
288f9098
JM
225392012-04-11 Jim Meyering <meyering@redhat.com>
22540
90020f5a
MF
22541 [BZ #11959]
22542 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
22543 It is not necessarily an error to ignore fwrite's return
22544 value. One can reliably use ferror to test for errors after
22545 the fact.
288f9098 22546
4be2b570
L
225472012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22548
22549 * bits/types.h (__snseconds_t): New type.
22550 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
22551
22552 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
22553 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22554 (__SNSECONDS_T_TYPE): Likewise.
22555 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22556 (__SNSECONDS_T_TYPE): Likewise.
22557 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22558 (__SNSECONDS_T_TYPE): Likewise.
22559
288f9098 225602012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
22561
22562 [BZ #2636]
22563 * manual/time.texi (Processor Time): Return type of times is
22564 elapsed real time since an arbitrary point in the past.
22565 (CPU Time): Move CLK_TCK from here...
22566 (Processor Time): ...to here. Correct description.
22567 * manual/conf.texi (Constants for Sysconf): Correct description of
22568 _SC_CLK_TCK.
22569
d7dd4413
DM
225702012-04-10 David S. Miller <davem@davemloft.net>
22571
22572 [BZ #13967]
22573 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
22574 where the is a gap between DT_REL(A) and DT_JMPREL.
22575
b46068fc
L
225762012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22577
22578 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
22579 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22580 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22581
73d65cc3
SP
225822012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22583
22584 * elf/dl-support.c (_dl_inhibit_cache): New variable.
22585 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
22586 (dl_main): Handle --inhibit-cache.
22587 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
22588 _dl_inhibit_cache.
22589 * elf/dl-load.c (_dl_map_object): Use it.
22590 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
22591
bcc8d661
JM
225922012-04-09 Joseph Myers <joseph@codesourcery.com>
22593
8f9a2fae
JM
22594 [BZ #13872]
22595 * sysdeps/i386/fpu/e_powl.S (p78): New object.
22596 (__ieee754_powl): Saturate large exponents rather than testing for
22597 overflow of y*log2(x).
22598 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22599 * math/libm-test.inc (pow_test): Do not permit spurious overflow
22600 exceptions.
22601
bcc8d661
JM
22602 [BZ #11521]
22603 * math/s_ctan.c: Include <float.h>.
22604 (__ctan): Avoid internal overflow or cancellation in calculating
22605 denominator.
22606 * math/s_ctanf.c: Likewise.
22607 * math/s_ctanl.c: Likewise.
22608 * math/s_ctanh.c: Likewise.
22609 * math/s_ctanhf.c: Likewise.
22610 * math/s_ctanhl.c: Likewise.
22611 * math/libm-test.inc (ctan_test): Add more tests.
22612 (ctanh_test): Likewise.
22613 * sysdeps/i386/fpu/libm-test-ulps: Update.
22614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22615
823fbbb4
AJ
226162012-04-09 Andreas Jaeger <aj@suse.de>
22617
03879793
AJ
22618 [BZ #6894]
22619 * manual/filesys.texi (Directory Entries): Mention that d_namlen
22620 is an optional BSD extension.
22621
823fbbb4
AJ
22622 [BZ #10254]
22623 * manual/stdio.texi (Opening Streams): Document additional fopen
22624 parameters.
22625
8de131cb
RM
226262012-04-09 Roland McGrath <roland@hack.frob.com>
22627
22628 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
22629 %eax without telling the compiler.
22630
c0ed9d7d
CD
226312012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
22632
22633 [BZ # 13963]
22634 * manual/install.texi: Use sourceware.org.
22635
c483f6b4
JM
226362012-04-09 Joseph Myers <joseph@codesourcery.com>
22637
d7dd9453
JM
22638 [BZ #13873]
22639 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
22640 (__ieee754_pow): Generate overflow and underflow using huge*huge
22641 and tiny*tiny rather than just returning constant infinity or zero
22642 for large exponents.
22643 * math/libm-test.inc (pow_test): Require overflow exceptions for
22644 applicable cases of large exponents.
22645
c483f6b4
JM
22646 [BZ #706]
22647 * sysdeps/i386/fpu/e_pow.S (p10): New object.
22648 (__ieee754_pow): Use iterative multiplication algorithm only for
22649 integer exponents with absolute value below 1024. Check for odd
22650 integer exponents when using algorithm for real exponents.
22651 * math/libm-test.inc (pow_test): Add more tests.
22652 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22653
d2de7579
JM
226542012-04-08 Joseph Myers <joseph@codesourcery.com>
22655
22656 [BZ #13705]
22657 * math/libm-test.inc (exp_test): Do not allow overflow exception
22658 on underflow test.
22659
f77f1232
AJ
226602012-04-08 Aurelien Jarno <aurelien@aurel32.net>
22661
22662 [BZ #13705]
22663 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
22664 instead of __kernel_standard_f.
22665
3884932b
MF
226662012-04-08 Mike Frysinger <vapier@gentoo.org>
22667
22668 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
22669 * sysdeps/x86_64/memset_chk.S: Likewise.
22670
54472e9c
AJ
226712012-04-08 Andreas Jaeger <aj@suse.de>
22672
6ab0fbfc
AJ
22673 [BZ #10153]
22674 * manual/startup.texi (Environment Access): Describe return value
22675 for putenv and setenv.
22676
61efba8c
AJ
22677 [BZ #6895]
22678 * manual/filesys.texi (Directory Entries): Add description for
22679 DT_LNK.
22680
95c3f29a
AJ
22681 [BZ #6890]
22682 * manual/filesys.texi (Directory Entries): Clarify that it's file
22683 system not operating system in the description of DT_UNKNOWN.
22684
54472e9c
AJ
22685 [BZ #6578]
22686 * manual/syslog.texi (closelog): Fix reference, it's openlog.
22687
624254b1
SC
226882012-04-08 Stephen Compall <s11@member.fsf.org>
22689
22690 [BZ #6649]
22691 * manual/llio.texi (Opening and Closing Files): Add cross
22692 reference to explain mode argument.
22693
1e4920e0
MF
226942012-04-07 Mike Frysinger <vapier@gentoo.org>
22695
22696 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
22697 * sysdeps/x86_64/memset_chk.S: Likewise.
22698
5ed848f3
DM
226992012-04-07 David S. Miller <davem@davemloft.net>
22700
22701 * elf/elf.h (R_SPARC_WDISP10): Define.
22702 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
22703 R_SPARC_SIZE32.
22704 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
22705 R_SPARC_SIZE64 and R_SPARC_H34.
22706
96154cd8
CD
227072012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
22708
22709 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
22710 conditions and remove no longer applicable assertion.
22711
9904dc47
L
227122012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22713
22714 * bits/byteswap.h: Include <features.h>.
22715 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22716 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22717
f8887d0a
L
227182012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22719
22720 * bits/byteswap.h (__bswap_16): Removed.
22721 Include <bits/byteswap-16.h> to get __bswap_16.
22722 * sysdeps/i386/bits/byteswap.h: Likewise.
22723 * sysdeps/s390/bits/byteswap.h: Likewise.
22724 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22725 * bits/byteswap-16.h: New file.
22726 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22727 * sysdeps/s390/bits/byteswap-16.h: Likewise.
22728 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
22729 * string/Makefile (headers): Add bits/byteswap-16.h.
22730
62470f60
PP
227312012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22732
22733 [BZ #13895]
22734 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
22735 extra indirection.
22736 * nss/Makefile (tests-static, tests): Add tst-nss-static.
22737 * nss/tst-nss-static.c: New.
22738
4dad7bab
RM
227392012-04-06 Robert Millan <rmh@gnu.org>
22740
22741 [BZ #6486]
22742 * manual/llio.texi (File Position Primitive): lseek
22743 refers to WHENCE when it really means OFFSET.
22744
e9142a17
AJ
227452012-04-06 Andreas Jaeger <aj@suse.de>
22746
2c040eff
AJ
22747 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
22748 strncmp declarations.
22749
e9142a17
AJ
22750 * abilist/libc.abilist: Add __poll and __ppoll.
22751
ff9f1c5f
DM
227522012-04-05 David S. Miller <davem@davemloft.net>
22753
dcd2ae90
DM
22754 * scripts/check-local-headers.sh: Accept a host triplet in the
22755 path matched by the exclude regexp.
22756
993eb054
DM
22757 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
22758 definition.
22759 * sysdeps/powerpc/powerpc32/dl-machine.h
22760 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
22761 * sysdeps/s390/s390-32/dl-machine.h
22762 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22763 * sysdeps/sparc/sparc32/dl-machine.h
22764 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22765 * sysdeps/sparc/sparc64/dl-machine.h
22766 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22767
ff9f1c5f
DM
22768 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22769 lazy binding.
48e2e132 22770 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
22771 undefined symbol errors.
22772
48e2e132 22773 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
22774 DT_NEEDED entries.
22775
e80d6f94
MM
227762012-04-05 Michael Matz <matz@suse.de>
22777
22778 [BZ #13592]
22779 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
22780
349fa79f
AJ
227812012-04-05 Andreas Jaeger <aj@suse.de>
22782
22783 [BZ #13908]
22784 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
22785 comment.
22786
f402708f
KK
227872012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22788
22789 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
22790 which ROUND is no valid rounding mode.
22791
2ecccfc9
KK
227922012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22793
22794 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
22795 read again.
22796 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
22797
8a53f50f
KK
227982012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22799
22800 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
22801 an exception using FPU order intentionally.
22802
228032012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22804
22805 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
22806 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
22807 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
22808 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
22809
d653abb7
SJ
228102012-04-05 Simon Josefsson <simon@josefsson.org>
22811
22812 [BZ #12340]
22813 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
22814 EINVAL when BUFLEN is too smal.
22815
c3b1bf7d
TS
228162012-04-05 Thomas Schwinge <thomas@codesourcery.com>
22817
22818 [BZ #13553]
22819 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
22820 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
22821
b1aa60f3
AJ
228222012-04-03 Andreas Jaeger <aj@suse.de>
22823
c3b1bf7d 22824 [BZ #13938]
67f60a26
AJ
22825 * manual/setjmp.texi (System V contexts): Fix sentence.
22826
b1aa60f3
AJ
22827 [BZ #13926]
22828 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
22829 New macro for this case.
22830 [!__GNUC__] (__bswap_64): New inline function for this case.
22831 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22832 * bits/byteswap.h: Likewise.
22833 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
22834 ull, guard with __GLIBC_HAVE_LONG_LONG.
22835
22836 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
22837 __GLIBC_HAVE_LONG_LONG.
22838
22839 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
22840 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
22841
39c59c35
TMQMF
228422012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22843
22844 [BZ #13691]
22845 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
22846 inptr and inend, rather than using last_ch.
22847
135ffda8
DM
228482012-04-02 David S. Miller <davem@davemloft.net>
22849
22850 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
22851 * stdio-common/printf-parse.h (read_int): Change return type to
22852 'int', return -1 on INT_MAX overflow.
22853 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
22854 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
22855 overflows INT_MAX. Check for overflow of in-format-string precision
22856 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
22857 SIZE_MAX not INT_MAX for integer overflow test.
22858 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
22859 skip the construct in the format string but do not record anything.
22860 * stdio-common/bug22.c: Adjust to test both width/prevision
22861 INT_MAX overflow as well as total length INT_MAX overflow. Check
22862 explicitly for proper errno values.
22863
228c019e
TS
228642012-04-02 Thomas Schwinge <thomas@codesourcery.com>
22865
302cadd3
TS
22866 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
22867 CHAR_MAX.
22868 * string/test-strcmp.c [! WIDE]: Likewise.
22869 * time/tst-mktime2.c: Likewise for INT_MAX.
22870 * string/test-string.h: #include <sys/param.h> for MIN.
22871
228c019e
TS
22872 * csu/init-first.c (__libc_init_first): Call __ctype_init.
22873 * sysdeps/i386/init-first.c (init): Likewise.
22874 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
22875 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
22876 * sysdeps/sh/init-first.c (init): Likewise.
22877
cfa633f5
UD
228782012-04-01 Ulrich Drepper <drepper@gmail.com>
22879
22880 * po/ru.po: Update from translation team.
d1635ef8 22881 * po/vi.po: Likewise.
cfa633f5 22882
6cd0a5ea
SP
228832012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22884
22885 * resolv/nss_dns/dns-host.c: Merge copyright years.
22886
4b43400f
LD
228872012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22888
22889 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22890 Optimize memcpy with prefetch if
22891 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
22892 src, dst pointers have unequal 16 byte alignments.
22893
48c41d04
SP
228942012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22895
22896 [BZ #13928]
22897 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
22898 from a CNAME entry and return the minimum ttl for the query.
22899 (gaih_getanswer_slice): Likewise.
22900
b8dc394d
JL
229012012-03-30 Jeff Law <law@redhat.com>
22902
22903 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
22904 due to long keys.
22905 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22906 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22907
2f5a5ed0
JL
22908 * resolv/nss_dns/dns-host.c: Update copyright year.
22909
1d39e359
UD
229102012-03-30 Ulrich Drepper <drepper@gmail.com>
22911
c030f70c 22912 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 22913 requests to save a system call. Fix check that all bytes are sent.
c030f70c 22914
1d39e359
UD
22915 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
22916 comments for sendmmsg.
22917
229182012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
22919
22920 [BZ #13691]
22921 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
22922 with only 1 character between 0x0041 and 0x01b0.
22923 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
22924 * wcsmbs/tst-mbsnrtowcs.c: New file.
22925
20fde227
DM
229262012-03-29 David S. Miller <davem@davemloft.net>
22927
22928 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
22929 small copies by hand.
22930
984a4237
JL
229312012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22932
22933 [BZ #13761]
22934 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
22935 _nss_compat_initgroups_dyn): Fall back to malloc/free
22936 for large group memberships.
22937
18c9d62b
DM
229382012-03-28 David S. Miller <davem@davemloft.net>
22939
88d85d4f
DM
22940 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
22941 that branches into memcpy.
22942 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22943 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22944 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22945 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22946 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
22947 bits.
22948 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
22949 implementation too.
22950 * sysdeps/sparc/mempcpy.S: New file.
22951
e5aa83e1
DM
22952 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
22953 the IFUNC routine in the libc case.
22954 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22955
88570753
DM
22956 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
22957 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
22958 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
22959 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
22960 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
22961 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
22962 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
22963 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
22964
249d7567
DM
22965 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
22966 loop to 256 bytes instead of 64 bytes and fix test signedness.
22967
18c9d62b
DM
22968 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
22969 * sysdeps/sparc/sparc32/Makefile: rather than here...
22970 * sysdeps/sparc/sparc64/Makefile: and here.
22971
05f3d1f6
UD
229722012-03-28 Ulrich Drepper <drepper@gmail.com>
22973
22974 * malloc/mallocbug.c: Avoid warnings about unused variables.
22975
86ae07a8
JL
229762012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22977
22978 [BZ #13760]
22979 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
22980 in the right place. Discard and retry query if response is
22981 larger than input buffer size.
22982
41bf21a1
JM
229832012-03-28 Joseph Myers <joseph@codesourcery.com>
22984
d6270972
JM
22985 [BZ #369]
22986 [BZ #2678]
22987 [BZ #3866]
22988 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
22989 x for large integer exponent.
22990 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22991 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
22992 sign of result as needed afterwards.
22993 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22994 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
22995 result for underflowing pow the same as for overflow.
22996 (__kernel_standard_l): Handle powl overflow and underflow here
22997 rather than calling __kernel_standard.
22998 * math/libm-test.inc (pow_test): Add more tests.
22999
414fca03 23000 [BZ #3868]
41bf21a1
JM
23001 [BZ #13879]
23002 [BZ #13910]
23003 [BZ #13911]
23004 [BZ #13912]
23005 [BZ #13913]
23006 [BZ #13915]
23007 [BZ #13916]
23008 [BZ #13917]
23009 [BZ #13918]
23010 [BZ #13919]
23011 [BZ #13920]
23012 [BZ #13921]
23013 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
23014 * sysdeps/ieee754/k_standard.c: Include <float.h>.
23015 (__kernel_standard_l): New function.
23016 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
23017 __kernel_standard.
23018 * math/w_acosl.c (__acosl): Likewise.
23019 * math/w_asinl.c (__asinl): Likewise.
23020 * math/w_atan2l.c (__atan2l): Likewise.
23021 * math/w_atanhl.c (__atanhl): Likewise.
23022 * math/w_coshl.c (__coshl): Likewise.
23023 * math/w_exp10l.c (__exp10l): Likewise.
23024 * math/w_exp2l.c (__exp2l): Likewise.
23025 * math/w_fmodl.c (__fmodl): Likewise.
23026 * math/w_hypotl.c (__hypotl): Likewise.
23027 * math/w_j0l.c (__j0l, __y0l): Likewise.
23028 * math/w_j1l.c (__j1l, __y1l): Likewise.
23029 * math/w_jnl.c (__jnl, __ynl): Likewise.
23030 * math/w_lgammal.c (__lgammal): Likewise.
23031 * math/w_log10l.c (__log10l): Likewise.
23032 * math/w_log2l.c (__log2l): Likewise.
23033 * math/w_logl.c (__logl): Likewise.
23034 * math/w_powl.c (__powl): Likewise.
23035 * math/w_remainderl.c (__remainderl): Likewise.
23036 * math/w_scalbl.c (sysv_scalbl): Likewise.
23037 * math/w_sinhl.c (__sinhl): Likewise.
23038 * math/w_sqrtl.c (__sqrtl): Likewise.
23039 * math/w_tgammal.c (__tgammal): Likewise.
23040 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
23041 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
23042 * math/libm-test.inc (acos_test): Add more tests.
23043 (acosh_test): Likewise.
23044 (asin_test): Likewise.
23045 (atanh_test): Likewise.
23046 (exp_test): Likewise.
23047 (exp10_test): Likewise.
23048 (exp2_test): Likewise.
23049 (expm1_test): Likewise.
23050 (lgamma_test): Likewise.
23051 (log_test): Likewise.
23052 (log10_test): Likewise.
23053 (log1p_test): Likewise.
23054 (log2_test): Likewise.
23055 (pow_test): Do not allow some spurious overflow exceptions.
23056 (sqrt_test): Add more tests.
23057 (tgamma_test): Likewise.
23058 (y0_test): Likewise.
23059 (y1_test): Likewise.
23060 (yn_test): Likewise.
23061
dd62fda6
AB
230622012-03-27 Anton Blanchard <anton@samba.org>
23063
23064 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
23065 MAP_HUGETLB.
23066 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23067 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23068 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23069
1e3cdfda
AJ
230702012-03-27 David S. Miller <davem@davemloft.net>
23071
b855ab85
DM
23072 * conform/Makefile: Run run-conformtest.sh using $(BASH).
23073
1e3cdfda
AJ
23074 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
23075 have-as-vis3 check.
23076
230772012-03-27 Andreas Jaeger <aj@suse.de>
23078
23079 * sysdeps/x86_64/elf/configure.in: Moved to ...
23080 * sysdeps/x86_64/configure.in: ... here.
23081 * sysdeps/x86_64/elf/start.S: Moved to ...
23082 * sysdeps/x86_64/start.S: ... here.
23083 * sysdeps/x86_64/elf/configure: Delete.
23084
23085 * sysdeps/x86_64/configure.in: Merge contents from
23086 sysdeps/i386/configure.in (without i686 check).
23087
23088 * sysdeps/i386/elf/Versions: Merge into ...
23089 * sysdeps/i386/Versions: ... this.
23090 * sysdeps/i386/elf/Versions: Delete file.
23091 * sysdeps/i386/elf/start.S: Moved to ...
23092 * sysdeps/i386/start.S: ...here.
23093 * sysdeps/i386/elf/configure.in: Merge into...
23094 * sysdeps/i386/configure.in: ...here.
23095 * sysdeps/i386/elf/configure.in: Delete file.
23096 * sysdeps/i386/elf/configure: Delete file.
23097
23098 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
23099 * debug/backtracesyms.c: ... here.
23100 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
23101 * debug/backtracesymsfd.c: ... here.
23102 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
23103 * sysdeps/generic/ifunc-sel.h: ... here.
23104
23105 * sysdeps/unix/i386/start.c: Delete file.
23106 * sysdeps/unix/sparc/start.c: Delete file.
23107 * sysdeps/unix/start.c: Delete file.
23108
23109 * sysdeps/sh/elf/configure.in: Moved to ...
23110 * sysdeps/sh/configure.in: ... here.
23111 * sysdeps/sh/elf/start.S: Moved to ...
23112 * sysdeps/sh/start.S: ... here.
23113 * sysdeps/sh/elf/configure: Delete file.
23114
23115 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
23116 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
23117 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
23118 * sysdeps/powerpc/powerpc64/entry.h: ... here.
23119 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
23120 * sysdeps/powerpc/powerpc64/start.S: here.
23121 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
23122 * sysdeps/powerpc/powerpc64/Makefile: ... this.
23123 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
23124 * sysdeps/powerpc/powerpc64/configure.in: ... this.
23125 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
23126
23127 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
23128 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
23129 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
23130 * sysdeps/powerpc/powerpc32/start.S: ... here.
23131 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
23132 * sysdeps/powerpc/powerpc32/configure.in: ... this.
23133 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
23134
23135 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
23136 * sysdeps/powerpc/ifunc-sel.h: ... here.
23137 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
23138 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
23139
23140 * sysdeps/sparc/elf/configure.in: Moved to ...
23141 * sysdeps/sparc/configure.in: ... here.
23142 * sysdeps/sparc/elf/configure: Delete file.
23143 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
23144 * sysdeps/sparc/sparc32/start.S: ... here.
23145 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
23146 * sysdeps/sparc/sparc64/start.S: ... here.
23147 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
23148 * sysdeps/sparc/sparc32/Makefile: ... this.
23149 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
23150 * sysdeps/sparc/sparc64/Makefile: ... this.
23151
23152 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
23153 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
23154 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
23155 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
23156 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
23157 * sysdeps/s390/s390-32/setjmp.S: ... here.
23158 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
23159 * sysdeps/s390/s390-32/configure.in: ... here.
23160 * sysdeps/s390/s390-32/elf/configure: Delete file.
23161 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
23162 * sysdeps/s390/s390-32/start.S: ... here.
23163
23164 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
23165 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
23166 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
23167 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
23168 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
23169 * sysdeps/s390/s390-64/setjmp.S: ... here.
23170 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
23171 * sysdeps/s390/s390-64/configure.in: ... here
23172 * sysdeps/s390/s390-64/elf/configure: Delete file.
23173 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
23174 * sysdeps/s390/s390-64/start.S: ... here.
23175 * sysdeps/s390/s390-64/elf/configure: Delete.
23176
23177 * configure.in: Remove support for elf directories in sysdeps.
23178
23179 * configure: Regenerated.
23180 * sysdeps/i386/configure: Regenerated.
23181 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23182 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23183 * sysdeps/s390/s390-32/configure: Regenerated.
23184 * sysdeps/s390/s390-64/configure: Regenerated.
23185 * sysdeps/sh/configure: Regenerated.
23186 * sysdeps/sparc/configure: Regenerated.
23187 * sysdeps/x86_64/configure: Regenerated.
23188
a3f61311
AS
231892012-03-26 Andreas Schwab <schwab@linux-m68k.org>
23190
c876e002
AS
23191 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23192
a3f61311
AS
23193 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
23194 denormal result into account.
23195
ac4c54f0
RM
231962012-03-25 Roland McGrath <roland@hack.frob.com>
23197
23198 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
23199 Reported by Allan McRae <allan@archlinux.org>.
23200
6a9b9c02
JL
232012012-03-23 Jeff Law <law@redhat.com>
23202
23203 * nss/getnssent.c (__nss_getent): Fix typo.
23204
4c42a0c1
DM
232052012-03-23 David S. Miller <davem@davemloft.net>
23206
23207 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23208
1532c7ac
L
232092012-03-23 H.J. Lu <hongjiu.lu@intel.com>
23210
23211 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
23212 to pad to uint64_t for each field.
23213 (dl_tls_index): Replace unsigned long with uint64_t.
23214
3ff42526
PP
232152012-03-23 Daniel Jacobowitz <dmj@google.com>
23216 Paul Pluzhnikov <ppluzhnikov@google.com>
23217
23218 [BZ #6528]
23219 * grp/Makefile (otherlibs): Don't set it.
23220 * inet/Makefile (otherlibs): Likewise.
23221 * login/Makefile (otherlibs): Likewise.
23222 * nscd/Makefile (otherlibs): Likewise.
23223 * posix/Makefile (otherlibs): Likewise.
23224 * pwd/Makefile (otherlibs): Likewise.
23225 * rt/Makefile (otherlibs): Likewise.
23226 * sunrpc/Makefile (otherlibs): Likewise.
23227 * nss/Makefile (otherlibs): Likewise.
23228 Add libnss_files to routines and static-only-routines.
23229 ($(objpfx)getent): Remove rule.
23230 * resolv/Makefile: Add libnss_dns and libresolv to routines and
23231 static-only-routines.
23232
7c69cd14
JM
232332012-03-22 Joseph Myers <joseph@codesourcery.com>
23234
23235 [BZ #13892]
23236 * math/s_cexp.c: Include <float.h>.
23237 (__cexp): Handle exp result overflowing not necessarily
23238 overflowing both real and imaginary parts of result.
23239 * math/s_cexpf.c: Likewise.
23240 * math/s_cexpl.c: Likewise.
23241 * math/libm-test.inc (cexp_test): Add more tests.
23242 * sysdeps/i386/fpu/libm-test-ulps: Update.
23243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23244
81b035fe
L
232452012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23246
23247 * include/link.h (ELFW): New macro.
23248 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
23249 Replace ELF64_R_TYPE with ELFW(R_TYPE).
23250
1da7940c
L
232512012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23252
23253 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
23254 with uint64_t.
23255
b749dbb9
L
232562012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23257
23258 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
23259 declaration.
23260 (struct La_x32_retval): Likewise.
23261
2ff87f3f
L
232622012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23263
23264 * sysdeps/x86_64/preconfigure.in: New file.
23265 * sysdeps/x86_64/preconfigure: New generated file.
23266
c0df8e69
JM
232672012-03-22 Joseph Myers <joseph@codesourcery.com>
23268
48e44791
JM
23269 [BZ #13824]
23270 * math/e_exp2l.c: Include <float.h>.
23271 (__ieee754_exp2l): Handle overflow and underflow cases
23272 separately. Only pass fractional part of argument to
23273 __ieee754_expl.
23274 * math/libm-test.inc (exp2_test): Add more tests.
23275
c0df8e69
JM
23276 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
23277 negating x to take absolute value.
23278 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23279 Likewise.
23280 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23281 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
23282 Likewise.
23283 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
23284 computing low part if x was negated.
23285 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23286
c8e43ba7
L
232872012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23288
23289 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
23290 la_x32_gnu_pltexit.
23291 (pltexit): Cast int_retval to ptrdiff_t.
23292 * elf/tst-auditmod3b.c: Likewise.
23293 * elf/tst-auditmod4b.c: Likewise.
23294 * elf/tst-auditmod5b.c: Likewise.
23295 * elf/tst-auditmod6b.c: Likewise.
23296 * elf/tst-auditmod6c.c: Likewise.
23297 * elf/tst-auditmod7b.c: Likewise.
23298
23299 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
23300 and x32_gnu_pltexit.
23301
23302 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
23303 __ELF_NATIVE_CLASS.
23304 (La_x32_regs): New macro.
23305 (La_x32_retval): Likewise.
23306 (la_x32_gnu_pltenter): New function prototype.
23307 (la_x32_gnu_pltexit): Likewise.
23308
7998fa78
AS
233092012-03-21 Andreas Schwab <schwab@linux-m68k.org>
23310
dcb33988
AS
23311 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
23312 exponent.
23313
233fc563
AS
23314 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23315
7998fa78
AS
23316 * configure.in (libc_cv_cc_nofma): Check for option to disable
23317 generation of FMA instructions.
23318 * configure: Regenerate.
23319 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
23320 * sysdeps/ieee754/dbl-64/Makefile: New file.
23321 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23322 Remove brandred-fma4.
23323 (CFLAGS-brandred-fma4.c): Remove.
23324 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
23325 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
23326 define.
23327 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
23328 define.
23329
8e95c99a
L
233302012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23331
23332 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23333 LLONG_MAX != LONG_MAX.
23334 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23335 (_fitoa_word): Likewise.
23336 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
23337 LLONG_MAX != LONG_MAX.
23338 * stdio-common/_itowa.h: Include <_itoa.h>.
23339 (_itowa_word): Use _ITOA_WORD_TYPE on value.
23340 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
23341 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
23342 only if not defined.
23343 (_ITOA_WORD_TYPE): Likewise.
23344 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23345 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
23346
6f4db457
DM
233472012-03-21 David S. Miller <davem@davemloft.net>
23348
23349 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23350
7785fe5a
L
233512012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23352
23353 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
23354 of x86_64 when setting libc_cv_slibdir, libdir and
23355 libc_cv_localedir.
23356 * sysdeps/unix/sysv/linux/configure: Regenerated.
23357
4535cd55
JM
233582012-03-21 Joseph Myers <joseph@codesourcery.com>
23359
23360 * manual/lang.texi (Old Varargs): Remove section.
23361 (How Variadic): Update menu.
23362 (va_start): Do not mention varargs.h.
23363
17228132
TS
233642012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23365 Joseph Myers <joseph@codesourcery.com>
23366
23367 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
23368 link test.
23369 * configure: Regenerated.
23370
8149f976
TS
233712012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23372
05f3d1f6
UD
23373 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
23374 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
23375 conformtest.pl
8149f976 23376
1a4ac776
JM
233772012-03-21 Joseph Myers <joseph@codesourcery.com>
23378
be22ce65
JM
23379 * NOTES: Remove.
23380 * Makefile (files-for-dist): Remove NOTES.
23381 (NOTES): Remove rule.
23382 * README: Don't refer to NOTES.
23383 * manual/creature.texi: Don't include macros.texi.
23384 * manual/intro.texi (creature.texi): Remove comment referring to
23385 NOTES.
23386
40b601fb
JM
23387 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
23388 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
23389 * configure: Regenerated.
23390 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
23391 LIBC_TRY_CC_OPTION.
23392 (libc_cv_as_i686): Likewise.
23393 (libc_cv_cc_avx): Likewise.
23394 (libc_cv_cc_sse2avx): Likewise.
23395 (libc_cv_cc_fma4): Likewise.
23396 (libc_cv_cc_novzeroupper): Likewise.
23397 * sysdeps/i386/configure: Regenerated.
23398
1a4ac776
JM
23399 [BZ #13883]
23400 * sysdeps/i386/fpu/s_cexp.S: Remove.
23401 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23402 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23403 * math/libm-test.inc (cexp_test): Add more tests.
23404 * sysdeps/i386/fpu/libm-test-ulps: Update.
23405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23406
a458e7fe
AM
234072012-03-21 Allan McRae <allan@archlinux.org>
23408
23409 * timezone/Makefile: Do not install iso3166.tab and zone.tab
23410
0cb7efc5
JM
234112012-03-21 Joseph Myers <joseph@codesourcery.com>
23412
23413 [BZ #13871]
23414 * math/w_exp2.c: Do not include <float.h>.
23415 (o_threshold, u_threshold): Remove.
23416 (__exp2): Calculate result before checking finiteness and calling
23417 __kernel_standard.
23418 * math/w_exp2f.c: Likewise.
23419 * math/w_exp2l.c: Likewise.
23420 * math/libm-test.inc (exp2_test): Require overflow exception for
23421 1e6 input.
2460d3aa
JM
23422
23423 [BZ #3866]
23424 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
23425 range of signed 64-bit integers before using fistpll. Remove
23426 checks for whether integers fit in mantissa bits.
23427 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
23428 the range of signed 32-bit integers before using fistpl. Remove
23429 checks for whether integers fit in mantissa bits.
23430 * sysdeps/i386/fpu/e_powl.S (p64): New object.
23431 (__ieee754_powl): Test for y outside the range of signed 64-bit
23432 integers before using fistpll. Reduce 64-bit values to 63-bit
23433 ones as needed.
23434 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
23435 divide-by-zero is raised for zero to large negative powers.
23436 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
23437 (__ieee754_powl): Test for y outside the range of signed 64-bit
23438 integers before using fistpll. Reduce 64-bit values to 63-bit
23439 ones as needed.
23440 * math/libm-test.inc (pow_test): Add more tests.
23441
eb96ffb0
L
234422012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23443
23444 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
23445 <stdio-common/_itoa.h>.
23446 * debug/segfault.c: Likewise.
23447 * elf/dl-cache.c: Likewise.
23448 * elf/dl-minimal.c: Likewise.
23449 * elf/dl-misc.c: Likewise.
23450 * elf/dl-sysdep.c: Likewise.
23451 * elf/dl-version.c: Likewise.
23452 * elf/rtld.c: Likewise.
23453 * hurd/hurdsock.c: Likewise.
23454 * hurd/lookup-retry.c: Likewise.
23455 * malloc/malloc.c: Likewise.
23456 * malloc/mtrace.c: Likewise.
23457 * nscd/nscd_getgr_r.c: Likewise.
23458 * nscd/nscd_getpw_r.c: Likewise.
23459 * nscd/nscd_getserv_r.c: Likewise.
23460 * posix/getopt_init.c: Likewise.
23461 * posix/wordexp.c: Likewise.
23462 * stdio-common/_itoa.c: Likewise.
23463 * stdio-common/printf_fphex.c: Likewise.
23464 * stdio-common/vfprintf.c: Likewise.
23465 * string/_strerror.c: Likewise.
23466 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
23467 * sysdeps/i386/i686/hp-timing.h: Likewise.
23468 * sysdeps/mach/_strerror.c: Likewise.
23469 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
23470 * sysdeps/mach/hurd/sethostid.c: Likewise.
23471 * sysdeps/mach/hurd/xmknodat.c: Likewise.
23472 * sysdeps/mach/xpg-strerror.c: Likewise.
23473 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23474 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23475 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
23476 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
23477 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23478 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
23479 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23480 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23481 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
23482 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
23483 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
23484 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23485 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
23486 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23487 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23488 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
23489 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
23490 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
23491 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23492 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23493 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
23494
23495 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
23496
23497 * stdio-common/_itoa.h: Moved to ...
23498 * sysdeps/generic/_itoa.h: Here.
23499
23500 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
23501
23502 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
23503 instead of "_itoa.h" and "_itowa.h".
23504 * stdio-common/vfprintf.: Likewise.
23505
d1af992d
L
235062012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23507
23508 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
23509 <bits/wordsize.h>.
23510 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
23511 (__signbit): Likwise.
23512 (llrintf): Likwise.
23513 (llrint): Likwise.
23514
114883e0
L
235152012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23516
23517 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
23518 __WORDSIZE != 64.
23519
c135cc1b
JM
235202012-03-20 Joseph Myers <joseph@codesourcery.com>
23521
23522 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
23523 OVERFLOW_EXCEPTION_OK.
23524 * math/libm-test.inc ("Philosophy"): Update comment about
23525 exception testing.
23526 (OVERFLOW_EXCEPTION): Define.
23527 (OVERFLOW_EXCEPTION_OK): Likewise.
23528 (INVALID_EXCEPTION_OK): Renumber.
23529 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23530 (IGNORE_ZERO_INF_SIGN): Likewise.
23531 (test_exceptions): Handle FE_OVERFLOW.
23532 (exp10_test): Expect overflow exceptions.
23533 (exp2_test): Likewise.
23534 (expm1_test): Likewise.
23535 (nextafter_test): Likewise.
23536 (pow_test): Likewise.
23537 (scalbn_test): Likewise.
23538 (scalbln_test): Likewise.
23539
95443d88
L
235402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23541
23542 * sysdeps/x86_64/bits/atomic.h
23543 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
23544 64bit integer.
23545 (atomic_exchange_acq): Likewise.
23546 (__arch_exchange_and_add_body): Likewise.
23547 (__arch_add_body): Likewise.
23548 (atomic_add_negative): Likewise.
23549 (atomic_add_zero): Likewise.
23550
490df6c4
L
235512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23552
c2722551 23553 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
23554 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
23555
5e52b189
L
235562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23557
23558 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
23559 Check __x86_64__ instead of __WORDSIZE.
23560
a9879d4c
L
235612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23562
23563 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
23564
5df98260
DM
235652012-03-19 David S. Miller <davem@davemloft.net>
23566
e1497744
DM
23567 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23568
5df98260
DM
23569 * sysdeps/sparc/fpu/fenv_private.h: New file.
23570 * sysdeps/sparc/fpu/math_private.h: Use it.
23571 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
23572 Remove.
23573 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
23574 (libc_feholdexcept_setroundl): Remove.
23575 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
23576 Remove.
23577 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
23578 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
23579
b4c35121
L
235802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23581
23582 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
23583 int64_t instead of long int.
23584 (INSERT_WORDS64): Likwise.
23585
56965fd7
L
235862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23587
23588 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
23589 _Unwind_GetCFA return to _Unwind_Ptr first.
23590
83d1aec8
JM
235912012-03-19 Joseph Myers <joseph@codesourcery.com>
23592
1897ad44
JM
23593 [BZ #13629]
23594 * math/s_clog.c: Include <float.h>.
23595 (__clog): Scale large or subnormal inputs.
23596 * math/s_clogf.c: Likewise.
23597 * math/s_clogl.c: Likewise.
23598 * math/s_clog10.c: Include <float.h>.
23599 (M_LOG10_2): Define.
23600 (__clog10): Scale large or subnormal inputs.
23601 * math/s_clog10f.c: Likewise.
23602 * math/s_clog10l.c: Likewise.
23603 * math/libm-test.inc (clog_test): Add more tests.
23604 (clog10_test): Likewise.
23605 * sysdeps/i386/fpu/libm-test-ulps: Update.
23606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23607
7726d6a9
JM
23608 [BZ #11451]
23609 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
23610 x and y.
23611 * math/libm-test.inc (atan2_test): Add another test.
23612
83d1aec8
JM
23613 * Makerules (common-objdir-compile): Remove.
23614 * sysdeps/unix/Makefile (config-generated): Do not add
23615 $(unix-generated) to variable.
23616 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
23617 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
23618 Remove rule.
23619 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
23620 Likewise.
23621 [generic bits/local_lim.h] (before-compile): Do not append to
23622 variable.
23623 [generic bits/local_lim.h] (common-generated): Likewise.
23624 [generic sys/param.h] (before-compile): Do not append to variable.
23625 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
23626 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
23627 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
23628 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
23629 include.
23630 [generic sys/param.h] (sys/param.h-includes): Remove variable.
23631 [generic sys/param.h] (sys/param.h-includes): Remove rule.
23632 [generic sys/param.h] ($(addprefix
23633 $(common-objpfx),$(sys/param.h-includes))): Likewise.
23634 [generic sys/param.h] (common-generated): Do not append to
23635 variable.
23636 [generic sys/param.h] (sysdep_headers): Likewise.
23637 [generic bits/errno.h] (before-compile): Do not append to
23638 variable.
23639 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
23640 rule.
23641 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
23642 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
23643 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
23644 [generic bits/errno.h] (common-generated): Do not append to
23645 variable.
23646 [generic bits/ioctls.h] (before-compile): Do not append to
23647 variable.
23648 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
23649 rule.
23650 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
23651 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
23652 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
23653 rule.
23654 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
23655 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
23656 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
23657 [generic bits/ioctls.h] (common-generated): Do not append to
23658 variable.
23659 [generic sys/syscall.h] (syscall.h): Remove variable.
23660 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
23661 rule.
23662 [generic sys/syscall.h] (before-compile): Do not append to
23663 variable.
23664 [generic sys/syscall.h] (common-generated): Likewise.
23665 * sysdeps/unix/errnos-tmpl.c: Remove file.
23666 * sysdeps/unix/errnos.awk: Likewise.
23667 * sysdeps/unix/ioctls-tmpl.c: Likewise.
23668 * sysdeps/unix/ioctls.awk: Likewise.
23669 * sysdeps/unix/mk-local_lim.c: Likewise.
23670 * sysdeps/unix/snarf-ioctls: Likewise.
23671
4851a949
RH
236722012-03-19 Richard Henderson <rth@twiddle.net>
23673
bd37f2ee
RH
23674 * sysdeps/i386/fpu/fenv_private.h: New file.
23675 * sysdeps/i386/fpu/math_private.h: Use it.
23676 (math_opt_barrier, math_force_eval): Remove.
23677 (libc_feholdexcept_setround_53bit): Remove.
23678 (libc_feupdateenv_53bit): Remove.
23679 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23680 (math_opt_barrier, math_force_eval): Remove.
23681 (libc_feholdexcept): Remove.
23682 (libc_feholdexcept_setround): Remove.
23683 (libc_fetestexcept, libc_fesetenv): Remove.
23684 (libc_feupdateenv_test): Remove.
23685 (libc_feupdateenv, libc_feholdsetround): Remove.
23686 (libc_feresetround): Remove.
23687
d0adc922
RH
23688 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
23689 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23690
0fe0f1f8
RH
23691 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
23692 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
23693 (libc_feupdateenv_testl): New.
23694 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
23695 (libc_feupdateenv_testf): New.
23696 (libc_feupdateenv): Use libc_feupdateenv_test.
23697 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
23698 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
23699
eb92c487
RH
23700 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
23701 (libc_feholdsetroundf, libc_feholdsetroundl): New.
23702 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
23703 (libc_feresetround_noex): New.
23704 (libc_feresetround_noexf): New.
23705 (libc_feresetround_noexl): New.
23706 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
23707 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
23708 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
23709 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
23710 SET_RESTORE_ROUND.
23711 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23712 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
23713 (__cos): Likewise.
23714 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
23715 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23716 SET_RESTORE_ROUND_NOEX.
23717 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
23718 SET_RESTORE_ROUND_NOEXF.
23719 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
23720 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
23721 (libc_feholdsetroundf): New.
23722 (libc_feresetround, libc_feresetroundf): New.
23723
7d2e8012
RH
23724 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
23725 (libc_feholdexcept_setround_53bit): Convert from macro to function.
23726 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
23727
b4dabbb4
RH
23728 * sysdeps/generic/math_private.h: Include <fenv.h>.
23729 (default_libc_feholdexcept): New.
23730 (default_libc_feholdexcept_setround): New.
23731 (default_libc_fesetenv, default_libc_feupdateenv): New.
23732 (libc_feholdexcept): Only define if undefined.
23733 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
23734 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
23735 (libc_feholdexcept_setroundl): Likewise.
23736 (libc_feholdexcept_setround_53bit): Likewise.
23737 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
23738 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
23739 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
23740 (libc_feupdateenv_53bit): Likewise.
23741 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
23742 (libc_feholdexcept): Convert from macro to inline function.
23743 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
23744 (libc_fesetenv, libc_feupdateenv): Likewise.
23745
4851a949
RH
23746 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
23747 not previously defined.
23748 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
23749 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
23750 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
23751 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
23752 * sysdeps/ieee754/flt-32/math_private.h: New file.
23753 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
23754 math_private.h below SET_FLOAT_WORD.
23755 (__isnan, __isinf_ns, __finite): Remove.
23756 (__isnanf, __isinf_nsf, __finitef): Remove.
23757
e79d442e
AS
237582012-03-18 Andreas Schwab <schwab@linux-m68k.org>
23759
23760 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23761
90b80344
DM
237622012-03-17 David S. Miller <davem@davemloft.net>
23763
23764 [BZ #6471]
23765 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
23766 for 2.16.
23767
edc21804
DM
237682012-03-16 David S. Miller <davem@davemloft.net>
23769
77e927af
DM
23770 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
23771 warnings.
23772
374976dd
DM
23773 [BZ #6471]
23774 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
23775 properly.
23776 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
23777 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
23778 sysdep_routines when subdir is sysvipc.
23779 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
23780 __getshmlba helper.
23781
edc21804
DM
23782 * sysdeps/sparc/fpu/libm-test/ulps: Update.
23783
473c3ef3
L
237842012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23785
23786 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
23787 [__LP64__].
23788
eb0f39b6
L
237892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23790
23791 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
23792 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
23793 (__lround): Renamed to ...
23794 (__llround): This. Replace long int with long long int.
23795 Define lround functions as aliases of llround functions.
23796 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
23797
6b6cd74b
L
237982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23799
23800 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
23801 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
23802 adresses to uintptr_t. Replace "long int" and "unsigned long
23803 int" with "greg_t" on va_arg.
23804
f1a77b01
L
238052012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23806
23807 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
23808 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
23809
23810 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
23811 Move e_machine check before EI_CLASS check. Handle x32
23812 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
23813 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
23814 SKIP_EM_IA_64 and include
23815 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
23816
23817 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
23818 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
23819 (add_system_dir): New macro.
23820
23821 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
23822 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
23823
11b90b9f
JM
238242012-03-16 Joseph Myers <joseph@codesourcery.com>
23825
c36e1d23
JM
23826 [BZ #2551]
23827 [BZ #2552]
23828 [BZ #2553]
23829 [BZ #2554]
23830 [BZ #2562]
23831 [BZ #2563]
23832 [BZ #2565]
23833 [BZ #2566]
23834 [BZ #2576]
23835 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
23836 (y0): Likewise.
23837 * math/w_j0f.c (j0f): Likewise.
23838 (y0f): Likewise.
23839 * math/w_j0l.c (__j0l): Likewise.
23840 (__y0l): Likewise.
23841 * math/w_j1.c (j1): Likewise.
23842 (y1): Likewise.
23843 * math/w_j1f.c (j1f): Likewise.
23844 (y1f): Likewise.
23845 * math/w_j1l.c (__j1l): Likewise.
23846 (__y1l): Likewise.
23847 * math/w_jn.c (jn): Likewise.
23848 (yn): Likewise.
23849 * math/w_jnf.c (jnf): Likewise.
23850 (ynf): Likewise.
23851 * math/w_jnl.c (__jnl): Likewise.
23852 (__ynl): Likewise.
23853 * math/libm-test.inc (j0_test): Add more tests.
23854 (j1_test): Likewise.
23855 (jn_test): Likewise. Add trailing semicolon to existing test.
23856 (y0_test): Likewise.
23857 (y1_test): Likewise.
23858 * sysdeps/i386/fpu/libm-test-ulps: Update.
23859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23860
11b90b9f
JM
23861 [BZ #13851]
23862 [BZ #13854]
23863 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23864 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
23865 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
23866 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
23867 (__tanl): Set errno for infinite argument.
23868 * sysdeps/i386/fpu/mptan.c: Remove.
23869 * sysdeps/i386/fpu/s_tan.S: Likewise.
23870 * sysdeps/i386/fpu/s_tanl.S: Likewise.
23871 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
23872 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
23873 * math/libm-test.inc (tan_test): Add more tests and enable more
23874 tests for double and long double.
23875 * sysdeps/i386/fpu/libm-test-ulps: Update.
23876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23877
6a1bd2a1
JK
238782012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23879
23880 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
23881 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
23882
10a803e0
RM
238832012-03-16 Roland McGrath <roland@hack.frob.com>
23884
23885 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
23886 * configure.in: Use it for both main tree and add-ons.
23887 * configure: Regenerated.
23888
f196c7f7
L
238892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23890
23891 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
23892
8848d99d
JM
238932012-03-16 Joseph Myers <joseph@codesourcery.com>
23894
96cbe7f4
JM
23895 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
23896 in comment.
23897
8848d99d
JM
23898 [BZ #13851]
23899 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
23900 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
23901 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
23902 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
23903 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
23904 infinite argument.
23905 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
23906 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
23907 != 0 for prec == 2.
23908 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
23909 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
23910 * sysdeps/i386/fpu/s_cosl.S: Likewise.
23911 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
23912 * sysdeps/i386/fpu/s_sinl.S: Likewise.
23913 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
23914 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
23915 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
23916 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
23917 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
23918 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
23919 * math/libm-test.inc (cos_test): Add more tests and enable more
23920 tests for long double.
23921 (sin_test): Likewise.
23922 (sincos_test): Likewise.
23923 * sysdeps/i386/fpu/libm-test-ulps: Update.
23924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23925
dd7f4703
DM
239262012-03-16 David S. Miller <davem@davemloft.net>
23927
23928 * sysdeps/sparc/fpu/math_private.h: New file.
23929
006f1daa
DM
239302012-03-15 David S. Miller <davem@davemloft.net>
23931
c0c83bc8
DM
23932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
23933 file.
e6a62e18 23934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
23935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
23936 file.
e6a62e18
DM
23937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
23938 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
23939 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
23940 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
23941 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
23942 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
23943 sysdep routines.
23944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23945
88cb87d9
DM
23946 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
23947 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
23948
006f1daa 23949 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
23950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
23951 sparc-ifunc.h
006f1daa 23952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
23953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23954 Likewise.
23955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23956 Likewise.
006f1daa
DM
23957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
23958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
23960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23961 Likewise.
006f1daa
DM
23962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
23964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
23966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
23967 Likewise.
23968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
23969 Likewise.
006f1daa
DM
23970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
23973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
23974 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23975 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23976 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
23977 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
23978 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23979 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23980 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
23981 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
23982 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
23983 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
23984 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
23985 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23986 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
23987 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23988 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
23989 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23990 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
23991 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23992 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
23993 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23994
11e0098e
AS
239952012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23996
23997 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23998 scaling.
23999 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24000
e85b09d0
AJ
240012012-03-15 Andreas Jaeger <aj@suse.de>
24002
24003 [BZ #13852]
24004 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
24005 ieee754/flt-32 implementation for sin, cos and sincos.
24006 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
24007 * sysdeps/i386/fpu/s_cosf.S: Likewise.
24008 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
24009 * sysdeps/i386/fpu/s_sinf.S: Likewise.
24010 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
24011 ieee754/flt-32 implementation for tan.
24012
24013 * math/libm-test.inc (cos_test): Enable some large input tests for
24014 float as well
24015 (sin_test): Likewise.
24016 (sincos_test): Likewise.
24017 (tan_test): Add tests for large input.
24018
24019 * sysdeps/i386/fpu/libm-test-ulps: Update.
24020
81c64153
AJ
240212012-03-15 Andreas Jaeger <aj@suse.de>
24022
24023 [BZ #13658]
24024 * math/libm-test.inc (cos_test): Add more test cases.
24025 (sin_test): Likewise.
24026 (sincos_test): Likewise.
24027
7bbfa5c6
AJ
240282012-03-15 Andreas Jaeger <aj@suse.de>
24029
24030 [BZ #13837]
24031 * math/libm-test.inc (cos_test): Add a test case for large input
24032 value.
24033 (sin_test): Likewise.
24034 (sincos_test): Likewise.
24035
240362012-03-15 Andreas Jaeger <aj@suse.de>,
24037 Joseph Myers <joseph@codesourcery.com>
24038
24039 [BZ #13658]
0671f479 24040 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
24041 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
24042 * sysdeps/i386/fpu/branred.c: Likewise.
24043 * sysdeps/i386/fpu/dosincos.c: Likewise.
24044 * sysdeps/i386/fpu/mpa.c: Likewise.
24045 * sysdeps/i386/fpu/s_cos.S: Likewise.
24046 * sysdeps/i386/fpu/s_sin.S: Likewise.
24047 * sysdeps/i386/fpu/s_sincos.S: Likewise.
24048 * sysdeps/i386/fpu/sincos32.c: Likewise.
24049
24050 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
24051 Define.
24052 (libc_feupdateenv_53bit): Define.
24053 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
24054 Define.
24055 (libc_feupdateenv_53bit): Define.
24056
24057 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
24058 53 bit (without extend i386 double precision).
24059
24060 * math/libm-test.inc (sincos_test): Add tests for large input.
24061 (sin): Likewise.
24062 (cos): Likewise.
24063
24064 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24065
9cad04ea
AS
240662012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24067
24068 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24069
f7062b9a
DM
240702012-03-15 David S. Miller <davem@davemloft.net>
24071
24072 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
24073 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
24074 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
24075 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
24076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
24077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
24078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
24079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
24080 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
24081 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
24082 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
24083 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
24084 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
24085 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
24086 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
24087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
24088 file.
f7062b9a 24089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
24090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
24091 file.
f7062b9a 24092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
24093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
24094 file.
f7062b9a 24095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
24096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
24097 file.
f7062b9a
DM
24098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
24099 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
24100 fmin/fmax sysdep routines.
24101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24102
7bd951ff
DM
241032012-03-14 David S. Miller <davem@davemloft.net>
24104
559398ab
DM
24105 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
24106 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
24107 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
24108 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
24109 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
24110 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
24111 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
24112 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
24113 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
24114 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
24115 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
24116 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
24117 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
24118 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
24119 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
24120 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
24121 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
24122 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
24123 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
24124 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
24125 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
24126 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
24127 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
24128 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
24129 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
24130 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
24131 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
24132 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
24133 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
24134 routines.
24135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
24136 file.
559398ab 24137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
24138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
24139 file.
559398ab 24140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
24141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
24142 file.
559398ab 24143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
24144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
24145 file.
559398ab 24146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
24147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
24148 file.
559398ab 24149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
24150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
24151 file.
24152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
24153 file.
24154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
24155 file.
24156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
24157 file.
24158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
24159 New file.
24160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
24161 file.
24162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
24163 file.
559398ab 24164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
24165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
24166 file.
559398ab 24167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
24168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
24169 file.
559398ab 24170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
24171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
24172 file.
559398ab 24173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
24174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
24175 VIS3 routines.
559398ab
DM
24176
24177 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24178 New file.
24179
5a1c1e32
DM
24180 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24181
eae47a36
DM
24182 * sysdeps/sparc/configure.in: New file.
24183 * sysdeps/sparc/configure: Generate.
24184 * configure.in (libc_cv_sparc_as_vis3): Substitute.
24185 * configure: Regenerate.
24186 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
24187 * config.make.in (have-as-vis3): New.
24188 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
24189 available use -Av9d instead of -Av9a.
24190 * sysdeps/sparc/sparc64/Makefile: Likewise.
24191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
24192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
24193 New file.
24194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
24195 file.
24196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
24197 New file.
24198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
24199 file.
eae47a36
DM
24200 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
24201 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
24202 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
24203 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
24204 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
24205
c0c83bc8
DM
24206 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
24207 fzeros/fnegs to load 0x80000000 into a float register instead of
24208 using the stack.
7bd951ff
DM
24209 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
24210
bd951ccb
JM
242112012-03-14 Joseph Myers <joseph@codesourcery.com>
24212
24213 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24214 bits/syscall.h.
24215 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
24216 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
24217 ($(inst_includedir)/bits/syscall.h): Remove rule.
24218 ($(objpfx)bits/syscall.d): Include instead of
24219 $(objpfx)syscall-list.d.
24220 (generated): Change syscall-list.h and syscall-list.d to
24221 bits/syscall.h and bits/syscall.d.
24222
bb4e6db2
RM
242232012-03-14 Roland McGrath <roland@hack.frob.com>
24224
24225 [BZ #13846]
24226 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
24227
aa4a2ae1
JM
242282012-03-14 Joseph Myers <joseph@codesourcery.com>
24229
e456826d
JM
24230 [BZ #13841]
24231 * math/s_csqrt.c: Include <float.h>.
24232 (__csqrt): Scale large or subnormal inputs.
24233 * math/s_csqrtf.c: Likewise.
24234 * math/s_csqrtl.c: Likewise.
24235 * math/libm-test.inc (csqrt_test): Add more tests.
24236 * sysdeps/i386/fpu/libm-test-ulps: Update.
24237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24238
aa4a2ae1
JM
24239 [BZ #13840]
24240 * math/libm-test.inc (hypot_test): Add more tests.
24241
7c10fd35
DM
242422012-03-13 David S. Miller <davem@davemloft.net>
24243
24244 [BZ #13840]
24245 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
24246 double-precision for the calculation instead of scaling.
24247
f453b98b
JM
242482012-03-13 Joseph Myers <joseph@codesourcery.com>
24249
24250 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
24251 manipulate bits before adding and subtracting TWO52[sx].
24252 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
24253 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
24254 Likewise.
24255 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
24256
09a3453f
DM
242572012-03-13 David S. Miller <davem@davemloft.net>
24258
8e59da90
DM
24259 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
24260 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
24261 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
24262 rtld-global-offsets.h
24263 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24264
2a8ab7f2
DM
24265 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
24266 large parameters.
24267
10f62770
DM
24268 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
24269
5f0bdb18
DM
24270 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
24271 'err' in the ifdef scope in which it is actually used.
24272
09a3453f
DM
24273 * nss/nss_db/db-init.c: Include string.h
24274
b4b2eb5e
DM
242752012-03-12 David S. Miller <davem@davemloft.net>
24276
98bb2f1c
DM
24277 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24278 masking out of the most significant byte of random value used.
24279 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24280 Fix coding style in previous change.
24281
b4b2eb5e
DM
24282 * sysdeps/unix/sysv/linux/kernel-features.h
24283 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
24284 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
24285 expression.
24286 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
24287 later.
24288
6e226b09
DM
242892012-03-11 David S. Miller <davem@davemloft.net>
24290
a1bcbd40
DM
24291 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24292 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
24293 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
24294 for 'resultvar' otherwise things get truncated on 64-bit.
24295
cb9d6174
DM
24296 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24297 Fix masking out of the most significant byte of random value used.
24298
6e226b09
DM
24299 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24300
058c132d
AS
243012012-03-10 Andreas Schwab <schwab@linux-m68k.org>
24302
24303 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24304
2d2cd515
DM
243052012-03-09 David S. Miller <davem@davemloft.net>
24306
24307 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
24308 variables with appropriate CPP guards.
24309 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
24310 frame pointer, not the stack pointer. Correct layout comments. Fix test
24311 on resulting framesize and the management of the outregs buffer for pltexit.
24312 Preserve floating point return values across _dl_call_pltexit call.
24313 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
24314 framesize and the management of the outregs buffer for pltexit.
24315 Preserve floating point return values across _dl_call_pltexit
24316 call.
24317 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
24318 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
24319 (print_exit): Fix format string for return register value.
24320
9a07f9d0
JM
243212012-03-10 Joseph Myers <joseph@codesourcery.com>
24322
24323 * sunrpc/Makefile (others): Add rpcgen.
24324 ($(objpfx)rpcgen): Remove special build rule and dependency on
24325 libc.
24326 * sunrpc/rpcgen.c: New file.
24327
547b5e30
PE
243282012-03-09 Paul Eggert <eggert@cs.ucla.edu>
24329
c524201a
PE
24330 [BZ #13673]
24331 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
24332 * stdio-common/bug-vfprintf-nargs.c: Likewise.
24333 * sysdeps/i386/crti.S: Likewise.
24334 * sysdeps/i386/crtn.S: Likewise.
24335 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
24336 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
24337 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
24338 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
24339 * sysdeps/sh/crti.S: Likewise.
24340 * sysdeps/sh/crtn.S: Likewise.
24341 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24342
7b6235f2
PE
24343 [BZ #13673]
24344 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
24345 with URL.
24346 * locale/programs/locfile-kw.gperf: Likewise.
24347 * locale/programs/charmap-kw.h: Regenerated.
24348 * locale/programs/locfile-kw.h: Likewise.
24349
547b5e30
PE
24350 [BZ #13673]
24351 * intl/plural.y: Replace FSF snail mail address with URL.
24352 * intl/plural.c: Regenerated.
24353
5f0a5dae
RH
243542012-03-09 Richard Henderson <rth@twiddle.net>
24355
24356 * include/math_private.h: Remove file.
24357 * math/math_private.h: Move file ...
24358 * sysdeps/generic/math_private.h: ... here.
24359
b8c03620
RH
24360 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
24361 * sysdeps/powerpc/fpu/math_private.h: Likewise.
24362 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24363
4e234f5d 24364 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
24365 and <math_private.h>.
24366 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24367 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24368 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24369 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24370 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24371 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
24372 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24373 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24374 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24375 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24376 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24377 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24378 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24379 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24380 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24381 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24382 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24383 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24384 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24385 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24386 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24387 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24388 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24389 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24390 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24391 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24392 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24393 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24394 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24395 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24396 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24397 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24398 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24399 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24400 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24401 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24402 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24403 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24404 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24405 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24406 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
24407 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24408 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24409 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24410 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24411 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24412 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
24413 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24414 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24415 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24416 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24417 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
24418 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24419 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24420 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24421 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24422 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24423 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24424 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
24425 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
24426 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24427 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24428 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24429 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24430 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
24431 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24432 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24433 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24434 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
24435 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
24436 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24437 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24438 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24439 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24440 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
24441 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
24442 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
24443 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24444 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
24445 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
24446 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24447 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
24448 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24449 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
24450 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24451 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24452 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
24453 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
24454 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24455 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24456 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24457 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24458 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24459 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24460 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24461 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24462 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24463 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24464 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24465 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24466 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24467 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24468 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24469 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24470 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24471 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24472 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24473 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24474 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24475 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24476 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24477 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24478 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24479 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24480 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
24481 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24482 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24483 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24484 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24485 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24486 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24487 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24488 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24489 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
24490 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24491 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24492 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24493 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
24494 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24495 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
24496 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
24497 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24498 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24499 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
24500 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
24501 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24502 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24503 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24504 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
24505 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
24506 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24507 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24508 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24509 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
24510 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
24511 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24512 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24513 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24514 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
24515 * sysdeps/ieee754/k_standard.c: Likewise.
24516 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24517 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24518 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24519 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24520 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24521 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24522 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24523 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24524 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24525 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24526 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24527 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24528 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24529 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24530 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24531 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24532 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24533 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24534 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24535 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
24536 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
24537 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
24538 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24539 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24540 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24541 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
24542 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24543 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24544 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24545 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24546 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24547 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24548 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24549 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24550 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24551 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24552 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24553 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
24554 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
24555 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24556 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24557 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24558 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24559 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24560 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24561 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24562 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24563 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24564 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24565 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24566 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24567 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24568 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24569 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
24570 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24571 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24572 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
24573 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
24574 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24575 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24576 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24577 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24578 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24579 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24580 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24581 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24582 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24583 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24584 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24585 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24586 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24587 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24588 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24589 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24590 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24591 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24592 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
24593 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24594 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24595 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24596 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24597 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24598 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24599 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24600 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
24601 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24602 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24603 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24604 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24605 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24606 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
24607 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24608 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24609 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24610 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24611 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24612 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
24613 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24614 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24615 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
24616 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24617 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24618 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24619 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24620 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
24621 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24622 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24623 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24624 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
24625 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24626 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24627 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24628 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24629 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24630 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24631 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24632 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24633 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24634 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24635 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24636 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24637 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24638 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24639 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24640 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24641 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
24642 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24643 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24644 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24645 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24646 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24647 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24648 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24649 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24650 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24651 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24652 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
24653 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24654 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24655 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
24656 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
24657 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24658 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
24659 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
24660 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24661 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24662 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24663 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24664 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24665 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
24666 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24667 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24668 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24669 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24670 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
24671 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
24672 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24673 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24674 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24675 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24676 * sysdeps/ieee754/s_lib_version.c: Likewise.
24677 * sysdeps/ieee754/s_matherr.c: Likewise.
24678 * sysdeps/ieee754/s_signgam.c: Likewise.
24679 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24680 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24681 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
24682 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
24683 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
24684 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24685 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
24686 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
24687 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
24688 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
24689 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24690 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
24691 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24692 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24693 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
24694 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24695 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24696 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24697 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24698 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24699 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 24700
1991fa03
JM
247012012-03-09 Joseph Myers <joseph@codesourcery.com>
24702
24703 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
24704 * sunrpc/rpc_main.c: Likewise.
24705 * sunrpc/rpc_svcout.c: Likewise.
24706
60d6f5a6
DM
247072012-03-09 David S. Miller <davem@davemloft.net>
24708
24709 * include/math_private.h: New file.
24710
4962050e
JM
247112012-03-09 Joseph Myers <joseph@codesourcery.com>
24712
02a6f887
JM
24713 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
24714 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
24715 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
24716 from <bits/socket_type.h>.
24717 (enum __socket_type): Don't define here.
24718 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
24719 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24720 bits/socket_type.h.
24721
c6e013c1
JM
24722 [BZ #13566]
24723 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
24724 checking __USE_GNU.
24725
4962050e
JM
24726 * Makerules ($(inst_includedir)/%.h): New rule.
24727 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
24728 (install-others): Remove variable setting.
24729 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
24730
38842f45
RH
247312012-03-08 Richard Henderson <rth@twiddle.net>
24732
67bb6da6
RH
24733 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
24734 from macro to inline function; merge with the
24735 !__LIBC_INTERNAL_MATH_INLINES version.
24736 (__ieee754_sqrtf): Likewise.
24737
15194b4b
RH
24738 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
24739 to inline function.
24740 (__rintf, __floor, __floorf): Likewise.
24741
64e21ede
RH
24742 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
24743 macro to inline function.
24744 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
24745
38842f45
RH
24746 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
24747 not <math/math_private.h>.
24748
c64bf5fe
DM
247492012-03-08 David S. Miller <davem@davemloft.net>
24750
24751 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
24752 copyright year.
24753 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24754
82d86f28
TS
247552012-03-08 Thomas Schwinge <thomas@codesourcery.com>
24756
24757 * resolv/gai_misc.c (handle_requests): Fix struct timespec
24758 normalization.
24759 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
24760 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24761
aea5d727
UD
247622012-03-08 Ulrich Drepper <drepper@gmail.com>
24763
24764 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
24765 be defined individually, they must be defined as a block. Define
24766 S for printing a string instead of hidint the different by using a
24767 macro for adding the 'l'.
24768 * stdio-common/tst-fphex-wide.c: Adjust.
24769
70bca0a3
MP
247702012-03-07 Marek Polacek <polacek@redhat.com>
24771
24772 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
24773
65b81130
MP
247742012-03-08 Marek Polacek <polacek@redhat.com>
24775
24776 [BZ #13806]
24777 * stdio-common/Makefile (tests): Add tst-fphex-wide.
24778 * stdio-common/tst-fphex.c: Define a few macros to make the
24779 test reusable. Use them.
24780 * stdio-common/tst-fphex-wide.c: New file.
24781
07037eeb
JM
247822012-03-08 Joseph Myers <joseph@codesourcery.com>
24783
a7a93d50
JM
24784 [BZ #6911]
24785 * manual/macros.texi (gnusystems): New macro.
24786 (nongnusystems): Likewise.
24787 (gnulinuxhurdsystems): Likewise.
24788 (gnuhurdsystems): Likewise..
24789 (gnulinuxsystems): Likewise.
24790 * manual/charset.texi: Use new macros or @theglibc{} to refer to
24791 variants of the GNU system, not "GNU system".
24792 * manual/conf.texi: Likewise.
24793 * manual/errno.texi: Likewise. Update example of errno macro
24794 expansion.
24795 * manual/filesys.texi: Likewise.
24796 (getumask): Document as specific to GNU/Hurd.
24797 * manual/install.texi: Likewise. Reword some references to
24798 GNU/Linux.
24799 * manual/intro.texi: Likewise.
24800 * manual/io.texi: Likewise.
24801 (File Name Portability): Detail which constraints are inapplicable
24802 to all GNU systems and which are only inapplicable to GNU/Hurd.
24803 * manual/job.texi: Likewise.
24804 * manual/llio.texi: Likewise.
24805 (O_NOCTTY): Document as present on GNU/Linux.
24806 * manual/maint.texi: Likewise.
24807 * manual/memory.texi: Likewise.
24808 * manual/pattern.texi: Likewise.
24809 * manual/pipe.texi: Likewise.
24810 * manual/process.texi: Likewise.
24811 * manual/resource.texi: Likewise.
24812 (RUSAGE_CHILDREN): Remove statement about specifying a particular
24813 child on GNU/Hurd.
24814 * manual/setjmp.texi: Likewise.
24815 * manual/signal.texi: Likewise.
24816 * manual/startup.texi: Likewise.
24817 * manual/stdio.texi: Likewise.
24818 * manual/terminal.texi: Likewise.
24819 (ONLCR): Document as POSIX.
24820 (OXTABS): Document availability on GNU/Linux as XTABS.
24821 (ONOEOT): Document availability separately from other bits.
24822 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
24823 * manual/time.texi: Likewise.
24824 * manual/users.texi: Likewise.
24825 * INSTALL: Regenerated.
24826 * sysdeps/gnu/errlist.c: Regenerated.
24827
07037eeb
JM
24828 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
24829 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
24830 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
24831 puts.
24832 * configure: Regenerated.
24833
d1d3431a
JM
248342012-03-07 Joseph Myers <joseph@codesourcery.com>
24835
af6a1e37
JM
24836 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
24837 default includes instead of AC_HEADER_CHECK.
24838 * sysdeps/i386/configure: Regenerated.
24839
d1d3431a
JM
24840 [BZ #10716]
24841 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
24842 * math/s_cacoshf.c (__cacoshf): Likewise.
24843 * math/s_cacoshl.c (__cacoshl): Likewise.
24844 * math/s_casinh.c (__casinh): Set signs of result from argument.
24845 * math/s_casinhf.c (__casinhf): Likewise.
24846 * math/s_casinhl.c (__casinhl): Likewise.
24847 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
24848 (casinh_test): Add more tests.
24849 * sysdeps/i386/fpu/libm-test-ulps: Update.
24850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24851
482ff4da
UD
248522012-03-07 Ulrich Drepper <drepper@gmail.com>
24853
872fda05
UD
24854 * po/zh_TW.po: Update from translation team.
24855
a4300c7a
UD
24856 * login/Makefile (distribute): Remove variable.
24857 * catgets/Makefile: Likewise.
24858 * mach/Makefile: Likewise.
24859 * malloc/Makefile: Likewise.
24860 * misc/Makefile: Likewise.
24861 * iconv/Makefile: Likewise.
24862 * nscd/Makefile: Likewise.
24863 * hurd/Makefile: Likewise.
24864 * manual/Makefile: Likewise.
24865 * locale/Makefile: Likewise.
24866 * intl/Makefile: Likewise.
24867 * conform/Makefile: Likewise.
24868 * nss/Makefile: Likewise.
24869 * time/Makefile: Likewise.
24870 * soft-fp/Makefile: Likewise.
24871 * dirent/Makefile: Likewise.
24872 * gmon/Makefile: Likewise.
24873 * po/Makefile: Likewise.
24874 * rt/Makefile: Likewise.
24875 * socket/Makefile: Likewise.
24876 * math/Makefile: Likewise.
24877 * signal/Makefile: Likewise.
24878 * debug/Makefile: Likewise.
24879 * elf/Makefile: Likewise.
24880 * timezone/Makefile: Likewise.
24881 * stdlib/Makefile: Likewise.
24882 * iconvdata/Makefile: Likewise.
24883 * sunrpc/Makefile: Likewise.
24884 * io/Makefile: Likewise.
24885 * argp/Makefile: Likewise.
24886 * inet/Makefile: Likewise.
24887 * hesiod/Makefile: Likewise.
24888 * grp/Makefile: Likewise.
24889 * csu/Makefile: Likewise.
24890 * wctype/Makefile: Likewise.
24891 * crypt/Makefile: Likewise.
24892 * libio/Makefile: Likewise.
24893 * string/Makefile: Likewise.
24894 * nis/Makefile: Likewise.
24895 * resolv/Makefile: Likewise.
24896 * stdio-common/Makefile: Likewise.
24897 * wcsmbs/Makefile: Likewise.
24898 * dlfcn/Makefile: Likewise.
24899 * posix/Makefile: Likewise.
24900
3b7c4e74 24901 [BZ #6959]
482ff4da
UD
24902 * timezone/Makefile: Don't install timezone files, just the programs
24903 and scripts.
24904
f72ed77d
UD
249052012-03-06 Ulrich Drepper <drepper@gmail.com>
24906
a000466f
UD
24907 * nss/databases.def: Add missing gshadow entry.
24908
f72ed77d
UD
24909 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
24910
a53b7a4e
MP
249112012-03-06 Marek Polacek <polacek@redhat.com>
24912
24913 [BZ #13726]
24914 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
24915 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24916 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
24917 * stdio-common/tst-long-dbl-fphex.c: New file.
24918
e9258400
DM
249192012-03-06 David S. Miller <davem@davemloft.net>
24920
24921 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24922 (set_obp_int): New function.
24923 (get_obp_int): New function.
24924 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
24925 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
24926 Avoid unused variable warnings on 'val' and use builtin_expect.
24927 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
24928 __builtin_expect.
e9258400
DM
24929 (INLINE_CLONE_SYSCALL): Likewise.
24930
3bd2c723
DM
249312012-03-05 David S. Miller <davem@davemloft.net>
24932
24933 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24934
bbb78d03
AS
249352012-03-05 Andreas Schwab <schwab@linux-m68k.org>
24936
884c5db4
AS
24937 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24938
bbb78d03
AS
24939 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
24940 only for |x| >= 40.
24941 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24942
1c9f702a 249432012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
24944
24945 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
24946 Replace gettimeofday with __vdso_gettimeofday.
24947
7be16f82
RM
24948 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24949 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
24950 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
24951
24952 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
24953 time with __vdso_time.
24954
ed58a00f
JM
249552012-03-05 Joseph Myers <joseph@codesourcery.com>
24956
24957 * manual/lang.texi (size_t): Note types to which size_t may be
24958 equivalent with the GNU C Library, but do not describe when
24959 differences between them are significant.
24960
30ee4ced
AJ
249612012-03-05 Andreas Jaeger <aj@suse.de>
24962
24963 * sysdeps/i386/fpu/libm-test-ulps: Update.
24964
b7cd39e8
JM
249652012-03-05 Joseph Myers <joseph@codesourcery.com>
24966
24967 [BZ #3976]
24968 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
24969 (__ieee754_pow): Save and restore rounding mode and use
24970 round-to-nearest for main computations.
24971 * math/libm-test.inc (pow_test_tonearest): New function.
24972 (pow_test_towardzero): Likewise.
24973 (pow_test_downward): Likewise.
24974 (pow_test_upward): Likewise.
24975 (main): Call the new functions.
24976 * sysdeps/i386/fpu/libm-test-ulps: Update.
24977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
24978
24979 [BZ #3976]
24980 * math/libm-test.inc (cosh_test_tonearest): New function.
24981 (cosh_test_towardzero): Likewise.
24982 (cosh_test_downward): Likewise.
24983 (cosh_test_upward): Likewise.
24984 (sinh_test_tonearest): Likewise.
24985 (sinh_test_towardzero): Likewise.
24986 (sinh_test_downward): Likewise.
24987 (sinh_test_upward): Likewise.
24988 (main): Call the new functions.
24989 * sysdeps/i386/fpu/libm-test-ulps: Update.
24990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24991
6c6a98c9
TV
249922012-03-05 Tom de Vries <tom@codesourcery.com>
24993
24994 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
24995 default stack guard is set in last bytes.
24996 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
24997
21bb2d2e 249982012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 24999
21bb2d2e 25000 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 25001
21bb2d2e
AJ
25002 [BZ #13656]
25003 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
25004 possibly allocate from heap instead of stack.
25005 * stdio-common/bug-vfprintf-nargs.c: New file.
25006 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 25007
c6922934
AS
250082012-03-03 Andreas Schwab <schwab@linux-m68k.org>
25009
25010 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25011
bc957d53
MP
250122012-03-03 Marek Polacek <polacek@redhat.com>
25013
25014 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
25015 * math/math_private.h: Likewise.
25016 * stdlib/tst-strtod.c: Likewise.
25017 * sysdeps/i386/i486/bits/atomic.h: Likewise.
25018 * sysdeps/x86_64/bits/atomic.h: Likewise.
25019
6358490d
DM
250202012-03-02 David S. Miller <davem@davemloft.net>
25021
25022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
25023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
25024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
25025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
25026 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
25027 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
25028 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
25029 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
25030
01ae168d
RM
250312012-03-02 Roland McGrath <roland@hack.frob.com>
25032
d9a17c07
RM
25033 [BZ #13792]
25034 * manual/examples/README: New file, says the example source files
25035 can be used under GPL>=2.
25036 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
25037 line containing just "*/".
25038 * manual/examples/add.c: Add copyright header (GPL>=2).
25039 * manual/examples/argp-ex1.c: Likewise.
25040 * manual/examples/argp-ex2.c: Likewise.
25041 * manual/examples/argp-ex3.c: Likewise.
25042 * manual/examples/argp-ex4.c: Likewise.
25043 * manual/examples/atexit.c: Likewise.
25044 * manual/examples/db.c: Likewise.
25045 * manual/examples/dir.c: Likewise.
25046 * manual/examples/dir2.c: Likewise.
25047 * manual/examples/execinfo.c: Likewise.
25048 * manual/examples/filecli.c: Likewise.
25049 * manual/examples/filesrv.c: Likewise.
25050 * manual/examples/fmtmsgexpl.c: Likewise.
25051 * manual/examples/genpass.c: Likewise.
25052 * manual/examples/inetcli.c: Likewise.
25053 * manual/examples/inetsrv.c: Likewise.
25054 * manual/examples/isockad.c: Likewise.
25055 * manual/examples/longopt.c: Likewise.
25056 * manual/examples/memopen.c: Likewise.
25057 * manual/examples/memstrm.c: Likewise.
25058 * manual/examples/mkfsock.c: Likewise.
25059 * manual/examples/mkisock.c: Likewise.
25060 * manual/examples/mygetpass.c: Likewise.
25061 * manual/examples/pipe.c: Likewise.
25062 * manual/examples/popen.c: Likewise.
25063 * manual/examples/rprintf.c: Likewise.
25064 * manual/examples/search.c: Likewise.
25065 * manual/examples/select.c: Likewise.
25066 * manual/examples/setjmp.c: Likewise.
25067 * manual/examples/sigh1.c: Likewise.
25068 * manual/examples/sigusr.c: Likewise.
25069 * manual/examples/stpcpy.c: Likewise.
25070 * manual/examples/strdupa.c: Likewise.
25071 * manual/examples/strftim.c: Likewise.
25072 * manual/examples/strncat.c: Likewise.
25073 * manual/examples/subopt.c: Likewise.
25074 * manual/examples/swapcontext.c: Likewise.
25075 * manual/examples/termios.c: Likewise.
25076 * manual/examples/testopt.c: Likewise.
25077 * manual/examples/testpass.c: Likewise.
25078 * manual/examples/timeval_subtract.c: Likewise.
25079
01ae168d
RM
25080 [BZ #13792]
25081 * manual/time.texi (Elapsed Time): Move timeval_subtract example
25082 function to ...
25083 * manual/timeval_subtract.c.texi: ... here, new file.
25084
49efa33d
DM
250852012-03-02 David S. Miller <davem@davemloft.net>
25086
25087 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
25088
28afd92d
JM
250892012-03-02 Joseph Myers <joseph@codesourcery.com>
25090
804360ed
JM
25091 [BZ #3976]
25092 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
25093 (__sin): Save and restore rounding mode and use round-to-nearest
25094 for all computations.
25095 (__cos): Save and restore rounding mode and use round-to-nearest
25096 for all computations.
25097 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
25098 <fenv.h>.
25099 (tan): Save and restore rounding mode and use round-to-nearest for
25100 all computations.
25101 * math/libm-test.inc (cos_test_tonearest): New function.
25102 (cos_test_towardzero): Likewise.
25103 (cos_test_downward): Likewise.
25104 (cos_test_upward): Likewise.
25105 (sin_test_tonearest): Likewise.
25106 (sin_test_towardzero): Likewise.
25107 (sin_test_downward): Likewise.
25108 (sin_test_upward): Likewise.
25109 (tan_test_tonearest): Likewise.
25110 (tan_test_towardzero): Likewise.
25111 (tan_test_downward): Likewise.
25112 (tan_test_upward): Likewise.
25113 (main): Call the new functions.
25114 * sysdeps/i386/fpu/libm-test-ulps: Update.
25115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25116
a6d06d7b
JM
25117 [BZ #10135]
25118 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
25119 small n, then large n, before computing and testing k+n.
25120 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25121 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
25122 Likewise.
25123 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
25124 Likewise.
25125 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
25126 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
25127 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
25128 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
25129 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25130 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25131 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
25132 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
25133 * math/libm-test.inc (scalbn_test): Add more tests.
25134 (scalbln_test): Likewise.
25135
07e12bb3
JM
25136 * manual/filesys.texi (mode_t): Describe constraints on size and
25137 signedness, not exact equivalence to a particular type.
25138 (ino_t): Likewise.
25139 (ino64_t): Likewise.
25140 (dev_t): Likewise.
25141 (nlink_t): Likewise.
25142 (blkcnt_t): Likewise.
25143 (blkcnt64_t): Likewise.
25144 * manual/llio.texi (off_t): Likewise.
25145
28afd92d
JM
25146 [BZ #3976]
25147 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
25148 (__ieee754_exp): Save and restore rounding mode and use
25149 round-to-nearest for all computations.
25150 * math/libm-test.inc (exp_test_tonearest): New function.
25151 (exp_test_towardzero): Likewise.
25152 (exp_test_downward): Likewise.
25153 (exp_test_upward): Likewise.
25154 (main): Call the new functions.
25155 * sysdeps/i386/fpu/libm-test-ulps: Update.
25156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25157
b1eeb65d
CD
251582012-03-01 Chris Demetriou <cgd@google.com>
25159
25160 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
25161 have predictable order.
25162
53362a4b
DM
251632012-03-01 David S. Miller <davem@davemloft.net>
25164
3c969083
DM
25165 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
25166
759707de
DM
25167 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
25168 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
25169 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
25170 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
25171
dfdb8ff2
DM
25172 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
25173 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
25174 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
25175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
25176 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
25177 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
25178 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
25179 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
25180 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
25181
ead89f96
DM
25182 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25183
7f66bd07
DM
25184 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
25185 * sysdeps/sparc/fpu/libm-test-ulps: to here.
25186 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
25187
53362a4b
DM
25188 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
25189 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25190 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25191 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
25192 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
25193 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
25194 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
25195 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25196 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25197 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
25198 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
25199 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25200 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25201 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25202 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25203 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25204 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
25205 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
25206 * sysdeps/sparc/elf/configure: Regenerated.
25207
7b1902cb
JM
252082012-03-01 Joseph Myers <joseph@codesourcery.com>
25209
bec039bc
JM
25210 * configure.in (AS, LD): Require binutils 2.20 or later.
25211 * configure: Regenerated.
25212 * manual/install.texi (Tools for Compilation): Give binutils 2.20
25213 as required minimum version.
25214 * INSTALL: Regenerated.
25215
7b1902cb
JM
25216 [BZ #2541]
25217 [BZ #4108]
25218 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
25219 before squaring exponent.
25220 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
25221 bottom long double and 27 bits of top long double before squaring
25222 exponent.
25223 * math/libm-test.inc (erfc_test): Add more tests.
25224 * sysdeps/i386/fpu/libm-test-ulps: Update.
25225 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25227
f775c276
KT
252282012-03-01 Kai Tietz <ktietz@redhat.com>
25229
25230 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
25231 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
25232 containing bit-fields.
25233 * soft-fp/extended.h (_FP_UNION_E): Likewise.
25234 * soft-fp/single.h (_FP_UNION_S): Likewise.
25235 * soft-fp/double.h (_FP_UNION_D): Likewise.
25236
5b8a4d4a
JM
252372012-02-29 Joseph Myers <joseph@codesourcery.com>
25238
0bab47b6
JM
25239 [BZ #13786]
25240 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
25241 not include ../strcmp.S.
25242 [USE_AS_STRNCASECMP_L]: Likewise.
25243 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
25244 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
25245 * sysdeps/i386/i686/multiarch/strncase_l-c.c
25246 (__strncasecmp_l_ia32): Define as alias to
25247 __strncasecmp_l_nonascii.
25248
0fcad3e2
JM
25249 [BZ #5794]
25250 * math/libm-test.inc (expm1_test): Add test for bug 5794.
25251 * sysdeps/i386/fpu/libm-test-ulps: Update.
25252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25253
5b8a4d4a
JM
25254 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
25255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25256
8fdceb2e
JL
252572012-02-29 Jeff Law <law@redhat.com>
25258
25259 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
25260 out of bounds read.
25261
1f393a11
MP
252622012-02-29 Marek Polacek <polacek@redhat.com>
25263
25264 [BZ #13706]
25265 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
25266 * elf/Makefile: Add rules to run tst-unused-dep.out.
25267
8847f037
DM
252682012-02-28 David S. Miller <davem@davemloft.net>
25269
25270 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
25271 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
25272 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
25273 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
25274 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
25275 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
25276
169d7f11
JM
252772012-02-29 Joseph Myers <joseph@codesourcery.com>
25278
25279 * math/libm-test.inc (llround_test): Move one test from
25280 lround_test. Use TEST_f_L in moved test.
25281 (lround_test): Move misplaced test to llround_test. Add testcase
25282 from bug 2561.
25283
39adf059
UD
252842012-02-28 Ulrich Drepper <drepper@gmail.com>
25285
25286 * sysdeps/x86_64/fpu/e_expf.S: New file.
25287 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
25288
71b5d1c5
SB
252892012-02-28 Stanislav Brabec <sbrabec@suse.cz>
25290
25291 [BZ #13637]
25292 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
25293 of remain_len that may cause incomplete multi-byte character and
25294 false match.
25295 * posix/bug-regex33.c: New file.
25296 * posix/Makefile (tests): Add bug-regex33.
25297
1f77f049
JM
252982012-02-28 Joseph Myers <joseph@codesourcery.com>
25299
25300 * manual/macros.texi: New file.
25301 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
25302 * manual/libc.texinfo: Include macros.texi.
25303 * manual/creatute.texi: Likewise.
25304 * manual/install.texi: Likewise.
25305 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
25306 @glibcadj{} in references to the GNU C Library.
25307 * manual/charset.texi: Likewise.
25308 * manual/conf.texi: Likewise.
25309 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
25310 when not using those macros.
25311 * manual/creature.texi: Likewise.
25312 * manual/crypt.texi: Likewise.
25313 * manual/errno.texi: Likewise.
25314 * manual/filesys.texi: Likewise.
25315 * manual/header.texi: Likewise.
25316 * manual/install.texi: Likewise.
25317 * manual/intro.texi: Likewise.
25318 * manual/io.texi: Likewise.
25319 * manual/job.texi: Likewise.
25320 * manual/lang.texi: Likewise.
25321 * manual/libc.texiinfo: Likewise.
25322 * manual/llio.texi: Likewise.
25323 * manual/locale.texi: Likewise.
25324 * manual/maint.texi: Likewise.
25325 * manual/math.texi: Likewise.
25326 * manual/memory.texi: Likewise.
25327 * manual/message.texi: Likewise.
25328 * manual/nss.texi: Likewise.
25329 * manual/pattern.texi: Likewise.
25330 * manual/process.texi: Likewise.
25331 * manual/resource.texi: Likewise.
25332 * manual/search.texi: Likewise.
25333 * manual/setjmp.texi: Likewise.
25334 * manual/signal.texi: Likewise.
25335 * manual/socket.texi: Likewise.
25336 * manual/startup.texi: Likewise.
25337 * manual/stdio.texi: Likewise.
25338 * manual/string.texi: Likewise.
25339 * manual/sysinfo.texi: Likewise.
25340 * manual/syslog.texi: Likewise.
25341 * manual/terminal.texi: Likewise.
25342 * manual/time.texi: Likewise.
25343 * manual/users.texi: Likewise.
25344 * INSTALL: Regenerated.
25345 * NOTES: Regenerated.
d40c5d54 25346 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 25347
450bf206
AS
253482012-02-28 Andreas Schwab <schwab@linux-m68k.org>
25349
25350 * include/dirent.h: Include <dirstream.h> before
25351 <dirent/dirent.h>.
25352
741a235b
DM
253532012-02-28 David S. Miller <davem@davemloft.net>
25354
25355 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
25356 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
25357 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
25358 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
25359
d6b5aa58
DM
253602012-02-27 David S. Miller <davem@davemloft.net>
25361
1aff59a3
DM
25362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
25363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
25364 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
25365 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
25366
d6b5aa58
DM
25367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
25368 frame pointer instead of stack pointer relative arg slot.
25369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25370 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25371 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25372
433f48bf
CD
253732012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
25374
25375 [BZ #3992]
25376 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
25377
d674b76d
DM
253782012-02-27 David S. Miller <davem@davemloft.net>
25379
25380 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
25381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
25384 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25385 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25386 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
25387 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
25388
0e7727f7
JM
253892012-02-27 Joseph Myers <joseph@codesourcery.com>
25390
25391 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
25392 later. Allow versions 5-9.
43be4ca2 25393 * configure: Regenerated.
0e7727f7
JM
25394 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
25395 required minimum version and 4.6 as recommended version. Do not
25396 mention bugs in GCC 2.7 and 2.8.
43be4ca2 25397 * INSTALL: Regenerated.
0e7727f7 25398
a78bc654
DM
253992012-02-27 David S. Miller <davem@davemloft.net>
25400
428d5830
DM
25401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
25402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
25403 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
25404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
25405 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
25406 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
25407 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
25408 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
25409
a78bc654
DM
25410 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
25411 manipulate bits before adding and subtracting TWO112[sx].
25412 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25413
4579f81c
RM
254142012-02-27 Roland McGrath <roland@hack.frob.com>
25415
36c8acb4
RM
25416 [BZ #13775]
25417 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
25418 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
25419 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
25420 being in POSIX, because they are in 1003.1-2008.
25421
84ad622b
RM
25422 * rt/tst-aio.c: Include <fcntl.h>.
25423 * rt/tst-aio7.c: Likewise.
25424 * rt/tst-aio64.c: Likewise.
25425
4579f81c
RM
25426 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
25427
abd923db
JM
254282012-02-27 Joseph Myers <joseph@codesourcery.com>
25429
25430 * manual/install.texi (--with-headers): Describe headers as
25431 interface headers, not private headers.
25432 (Specific advice for GNU/Linux systems): Describe use of headers
25433 from "make headers_install", not private headers from older
25434 kernels.
43be4ca2 25435 * INSTALL: Regenerated.
abd923db
JM
25436 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
25437 Change to 2.6.19.
25438 * sysdeps/unix/sysv/linux/configure: Regenerated.
25439
6664049b
JM
25440 * manual/llio.texi (fclean): Remove documentation.
25441
bb8b6697
JM
25442 * manual/Makefile (libc-texi-generated): New variable. Include
25443 version.texi.
25444 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
25445 $(libc-texi-generated), not duplicated list of files.
25446 (version.texi, stamp-version): New rules.
25447 (realclean): Remove $(libc-texi-generated), not individual files
25448 from that list. Do not remove dir-add.texinfo.
25449 * manual/libc.texinfo: Comment out uses of edition numbers and
25450 references to printed manual. Remove last-updated dates.
25451 (EDITION): Comment out.
25452 (ISBN): Likewise.
25453 (VERSION, UPDATED): Remove.
25454 (version.texi): Include.
25455
12e5c3b9
AS
254562012-02-27 Andreas Schwab <schwab@linux-m68k.org>
25457
25458 * sysdeps/posix/spawni.c: Include <signal.h>.
25459 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
25460 * sysdeps/pthread/aio_fsync.c: Likewise.
25461
4efeffc1 254622012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 25463
ba63ba08
UD
25464 * conform/Makefile (tests): Run only when not cross-compiling and
25465 when fast-check is not defined.
25466
d94a4670
UD
25467 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
25468 * conform/data/limits.h-data: Fixes for POSIX2008.
25469 * conform/run-conformtest.sh: Run all tests.
25470 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
25471 headers.
25472 * include/bits/dlfcn.h: Likewise.
25473 * include/langinfo.h: Likewise.
25474 * include/monetary.h: Likewise.
25475 * include/sys/poll.h: Likewise.
25476
25477 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
25478 for __USE_GNU.
25479 * posix/spawn.h: Define __need_sigset_t.
25480 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
25481 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
25482 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
25483 to get sigevent_t only.
25484 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
25485 only for __USE_GNU.
25486 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25487 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25488 process_vm_writev only for __USE_GNU.
25489 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
25490
25491 * conform/Makefile: For now ignore errors from run-conformtest.
25492 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
25493 POSIX to avoid namespace pollution. Don't prepend headers.
25494 * conform/data/aio.h-data: Fixes for POSIX testing.
25495 * conform/data/fcntl.h-data: Likewise.
25496 * conform/data/glob.h-data: Likewise.
25497 * conform/data/grp.h-data: Likewise.
25498 * conform/data/pthread.h-data: Likewise.
25499 * conform/data/pwd.h-data: Likewise.
25500 * conform/data/signal.h-data: Likewise.
25501 * conform/data/spawn.h-data: Likewise.
25502 * conform/data/stdio.h-data: Likewise.
25503 * conform/data/stdlib.h-data: Likewise.
25504 * conform/data/stropts.h-data: Likewise.
25505 * conform/data/sys/mman.h-data: Likewise.
25506 * conform/data/sys/stat.h-data: Likewise.
25507 * conform/data/sys/types.h-data: Likewise.
25508 * conform/data/sys/wait.h-data: Likewise.
25509 * conform/data/time.h-data: Likewise.
25510 * conform/data/unistd.h-data: Likewise.
25511 * conform/data/utime.h-data: Likewise.
25512
25513 * io/sys/stat.h: fchmod was always in POSIX.
25514 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
25515 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
25516 * rt/aio.h: Define __need_timespec before including <time.h>.
25517 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
25518 struct. Add forward declaration of pthread_attr_t and use it in
25519 sigevent.
25520 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25521 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25522 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
25523 always remove CLK_TCK definition.
25524
c20105c3
AS
255252012-02-26 Andreas Schwab <schwab@linux-m68k.org>
25526
25527 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
25528
7a270350
UD
255292012-02-25 Ulrich Drepper <drepper@gmail.com>
25530
31341567
UD
25531 * conform/run-conformtest.sh: New file.
25532 * conform/Makefile: Run run-conformtest for tests.
25533 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
25534 support.
25535
25536 * conform/data/uchar.h-data: New file.
25537 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
25538 * conform/data/arpa/inet.h-data: Likewise.
25539 * conform/data/assert.h-data: Likewise.
25540 * conform/data/complex.h-data: Likewise.
25541 * conform/data/cpio.h-data: Likewise.
25542 * conform/data/ctype.h-data: Likewise.
25543 * conform/data/dirent.h-data: Likewise.
25544 * conform/data/dlfcn.h-data: Likewise.
25545 * conform/data/errno.h-data: Likewise.
25546 * conform/data/fcntl.h-data: Likewise.
25547 * conform/data/float.h-data: Likewise.
25548 * conform/data/fmtmsg.h-data: Likewise.
25549 * conform/data/fnmatch.h-data: Likewise.
25550 * conform/data/ftw.h-data: Likewise.
25551 * conform/data/glob.h-data: Likewise.
25552 * conform/data/grp.h-data: Likewise.
25553 * conform/data/iconv.h-data: Likewise.
25554 * conform/data/inttypes.h-data: Likewise.
25555 * conform/data/langinfo.h-data: Likewise.
25556 * conform/data/libgen.h-data: Likewise.
25557 * conform/data/limits.h-data: Likewise.
25558 * conform/data/locale.h-data: Likewise.
25559 * conform/data/math.h-data: Likewise.
25560 * conform/data/monetary.h-data: Likewise.
25561 * conform/data/mqueue.h-data: Likewise.
25562 * conform/data/ndbm.h-data: Likewise.
25563 * conform/data/net/if.h-data: Likewise.
25564 * conform/data/netdb.h-data: Likewise.
25565 * conform/data/netinet/in.h-data: Likewise.
25566 * conform/data/nl_types.h-data: Likewise.
25567 * conform/data/poll.h-data: Likewise.
25568 * conform/data/pthread.h-data: Likewise.
25569 * conform/data/pwd.h-data: Likewise.
25570 * conform/data/regex.h-data: Likewise.
25571 * conform/data/sched.h-data: Likewise.
25572 * conform/data/search.h-data: Likewise.
25573 * conform/data/semaphore.h-data: Likewise.
25574 * conform/data/setjmp.h-data: Likewise.
25575 * conform/data/signal.h-data: Likewise.
25576 * conform/data/spawn.h-data: Likewise.
25577 * conform/data/stdarg.h-data: Likewise.
25578 * conform/data/stdio.h-data: Likewise.
25579 * conform/data/stdlib.h-data: Likewise.
25580 * conform/data/string.h-data: Likewise.
25581 * conform/data/strings.h-data: Likewise.
25582 * conform/data/stropts.h-data: Likewise.
25583 * conform/data/sys/ipc.h-data: Likewise.
25584 * conform/data/sys/mman.h-data: Likewise.
25585 * conform/data/sys/msg.h-data: Likewise.
25586 * conform/data/sys/resource.h-data: Likewise.
25587 * conform/data/sys/select.h-data: Likewise.
25588 * conform/data/sys/sem.h-data: Likewise.
25589 * conform/data/sys/shm.h-data: Likewise.
25590 * conform/data/sys/socket.h-data: Likewise.
25591 * conform/data/sys/stat.h-data: Likewise.
25592 * conform/data/sys/statvfs.h-data: Likewise.
25593 * conform/data/sys/time.h-data: Likewise.
25594 * conform/data/sys/timeb.h-data: Likewise.
25595 * conform/data/sys/times.h-data: Likewise.
25596 * conform/data/sys/types.h-data: Likewise.
25597 * conform/data/sys/uio.h-data: Likewise.
25598 * conform/data/sys/un.h-data: Likewise.
25599 * conform/data/sys/utsname.h-data: Likewise.
25600 * conform/data/sys/wait.h-data: Likewise.
25601 * conform/data/syslog.h-data: Likewise.
25602 * conform/data/tar.h-data: Likewise.
25603 * conform/data/termios.h-data: Likewise.
25604 * conform/data/utime.h-data: Likewise.
25605 * conform/data/utmpx.h-data: Likewise.
25606 * conform/data/varargs.h-data: Likewise.
25607 * conform/data/wchar.h-data: Likewise.
25608 * conform/data/wctype.h-data: Likewise.
25609 * conform/data/wordexp.h-data: Likewise.
25610
25611 * include/stropts.h: New file.
25612 * include/uchar.h: New file.
25613 * include/aio.h: Changes to allow conformtest.pl to use the headers.
25614 * include/assert.h: Likewise.
25615 * include/ctype.h: Likewise.
25616 * include/dirent.h: Likewise.
25617 * include/dlfcn.h: Likewise.
25618 * include/fcntl.h: Likewise.
25619 * include/fnmatch.h: Likewise.
25620 * include/glob.h: Likewise.
25621 * include/grp.h: Likewise.
25622 * include/libio.h: Likewise.
25623 * include/locale.h: Likewise.
25624 * include/math.h: Likewise.
25625 * include/net/if.h: Likewise.
25626 * include/netdb.h: Likewise.
25627 * include/netinet/in.h: Likewise.
25628 * include/pthread.h: Likewise.
25629 * include/pwd.h: Likewise.
25630 * include/regex.h: Likewise.
25631 * include/sched.h: Likewise.
25632 * include/search.h: Likewise.
25633 * include/setjmp.h: Likewise.
25634 * include/signal.h: Likewise.
25635 * include/stdio.h: Likewise.
25636 * include/stdlib.h: Likewise.
25637 * include/string.h: Likewise.
25638 * include/sys/cdefs.h: Likewise.
25639 * include/sys/mman.h: Likewise.
25640 * include/sys/msg.h: Likewise.
25641 * include/sys/resource.h: Likewise.
25642 * include/sys/select.h: Likewise.
25643 * include/sys/socket.h: Likewise.
25644 * include/sys/stat.h: Likewise.
25645 * include/sys/statvfs.h: Likewise.
25646 * include/sys/time.h: Likewise.
25647 * include/sys/times.h: Likewise.
25648 * include/sys/uio.h: Likewise.
25649 * include/sys/utsname.h: Likewise.
25650 * include/sys/wait.h: Likewise.
25651 * include/termios.h: Likewise.
25652 * include/time.h: Likewise.
25653 * include/ulimit.h: Likewise.
25654 * include/unistd.h: Likewise.
25655 * include/utime.h: Likewise.
25656 * include/wchar.h: Likewise.
25657 * include/wctype.h: Likewise.
25658 * include/wordexp.h: Likewise.
25659
25660 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
25661
7a270350
UD
25662 * time/time.h: TIME_UTC must be a macro.
25663 Make timespec_get available for ISO C11 only as well.
25664
7724defc
UD
256652012-02-24 Ulrich Drepper <drepper@gmail.com>
25666
25667 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
25668 Reported by Peng Haitao <penght@cn.fujitsu.com>.
25669
6b1d1d46
JM
256702012-02-24 Joseph Myers <joseph@codesourcery.com>
25671
25672 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 25673
0f8bbd69
JM
256742012-02-24 Joseph Myers <joseph@codesourcery.com>
25675
25676 * manual/texinfo.tex: Update to version 2012-01-19.16.
25677
66ab80bc
JM
256782012-02-24 Joseph Myers <joseph@codesourcery.com>
25679
25680 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
25681
74981cc5
RM
256822012-02-24 Roland McGrath <roland@hack.frob.com>
25683
ee968201
RM
25684 [BZ #13738]
25685 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
25686 * manual/fdl-1.3.texi: New file.
25687 * manual/fdl-1.1.texi: File removed.
25688
74981cc5
RM
25689 [BZ #13738]
25690 * manual/libc.texinfo (FDL_VERSION): New @set.
25691 Use it for mention of FDL in cover text.
25692 (Documentation License): Use it in @include file name.
25693
7bb764bc
JM
256942012-02-22 Joseph Myers <joseph@codesourcery.com>
25695 Roland McGrath <roland@hack.frob.com>
25696
25697 [BZ #5461]
25698 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
25699 not LONG_LONG_MAX and LONG_LONG_MIN.
25700 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
25701 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
25702 name.
25703 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
25704
6cbeae47
JM
257052012-02-22 Joseph Myers <joseph@codesourcery.com>
25706
25707 [BZ #2547]
25708 [BZ #11365]
25709 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
25710 manipulate bits before adding and subtracting TWO23[sx].
25711 * math/libm-test.inc (nearbyint_test): Add more tests.
25712
fe45ce09
JM
257132012-02-22 Joseph Myers <joseph@codesourcery.com>
25714
25715 [BZ #2548]
25716 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
25717 bits before adding and subtracting TWO23[sx].
25718 * math/libm-test.inc (rint_test): Add more tests.
25719 (rint_test_tonearest): Likewise.
25720 (rint_test_towardzero): Likewise.
25721 (rint_test_downward): Likewise.
25722 (rint_test_upward: Likewise.
25723
ff3b3d82
JM
257242012-02-22 Joseph Myers <joseph@codesourcery.com>
25725
25726 [BZ #10110]
25727 * include/stdc-predef.h: New file. Extracted from features.h.
25728 * include/features.h: Include stdc-predef.h.
25729 * Makefile (headers): Add stdc-predef.h.
25730 * CONFORMANCE (Compiler limitations): Update.
25731
ef0aab35
JM
257322012-02-22 Joseph Myers <joseph@codesourcery.com>
25733
25734 * manual/libc.texinfo (VERSION, UPDATED): Revert.
25735
58639409
DM
257362012-02-21 David S. Miller <davem@davemloft.net>
25737
25738 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
25739 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25740
c0e70b25
DM
257412012-02-20 David S. Miller <davem@davemloft.net>
25742
25743 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
25744 using a normal save/restore sequence, rather than allocating a
25745 dummy stack frame just to store a frame pointer and restore.
25746 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25747
fb06851d
JM
257482012-02-21 Joseph Myers <joseph@codesourcery.com>
25749
25750 * manual/install.texi: Fix stray word in line-wrapped comment.
25751
7a8b71c3
DM
257522012-02-20 David S. Miller <davem@davemloft.net>
25753
d510c123
DM
25754 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
25755 both binutils and gcc support GOTDATA.
25756
0722d7c2
DM
25757 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
25758 "rd %pc" in the PIC register setup sequences.
25759
3d2b3019
DM
25760 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
25761 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25762 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25763 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25764 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25765 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25766 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25767 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25768 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
25769 (SYSCALL_ERROR_HANDLER): Likewise.
25770 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25771 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25772 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
25773 (SYSCALL_ERROR_HANDLER): Likewise.
25774
c80098a9
DM
25775 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
25776 (HAVE_GCC_GOTDATA): New.
25777 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
25778 relocation support in both binutils and gcc.
25779 * sysdeps/sparc/elf/configure: Regenerate.
25780
3a2545a0
DM
25781 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
25782 * sysdeps/sparc/sparc32/elf/configure: Delete.
25783 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
25784 * sysdeps/sparc/sparc64/elf/configure: Delete.
25785 * sysdeps/sparc/elf/configure.in: New file.
25786 * sysdeps/sparc/elf/configure: Generate.
25787
7a8b71c3
DM
25788 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
25789 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
25790 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25791 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
25792 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
25793
f1e86fca
JM
257942012-02-21 Joseph Myers <joseph@codesourcery.com>
25795
25796 * manual/install.texi: Do not mention specific glibc version
25797 numbers.
25798 * manual/libc.texinfo (VERSION, UPDATED): Update.
25799 (@copying): Use @copyright{} and range of years.
25800
0e7dfaef
JM
258012012-02-21 Joseph Myers <joseph@codesourcery.com>
25802
25803 [BZ #13695]
25804 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
25805 [crti.S not in sysdirs] (generated): Do not append.
25806 [crti.S not in sysdirs] (omit-deps): Likewise.
25807 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
25808 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
25809 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
25810 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
25811 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
25812 Likewise.
25813 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
25814 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
25815 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
25816 * csu/defs.awk: Remove file.
25817 * sysdeps/generic/initfini.c: Likewise.
25818 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
25819 variable.
25820 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
25821 Likewise.
25822
599af3ca
JM
258232012-02-20 Joseph Myers <joseph@codesourcery.com>
25824
25825 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
25826 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
25827 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
25828 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
25829 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25830 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
25831 <bits/epoll.h>.
25832 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
25833 (__EPOLL_PACKED): Define to empty if not defined by
25834 <bits/epoll.h>.
25835 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
25836 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25837 bits/epoll.h.
25838
0e499750
JM
258392012-02-20 Joseph Myers <joseph@codesourcery.com>
25840
25841 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
25842 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
25843 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
25844 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
25845 <bits/timerfd.h>.
25846 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
25847 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25848 bits/timerfd.h.
25849
5ad91f6e
JM
258502012-02-20 Joseph Myers <joseph@codesourcery.com>
25851
25852 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
25853 in C locale.
25854 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25855 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25856 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
25857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25858
06b99b02
AJ
258592012-02-20 Aurelien Jarno <aurelien@aurel32.net>
25860
25861 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25862 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25863
7638c0fd
AS
258642012-02-19 Andreas Schwab <schwab@linux-m68k.org>
25865
25866 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
25867 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
25868 defined.
25869 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
25870 Likewise.
25871 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
25872 entry for 2.16.
25873
92221550
AJ
258742012-02-19 Aurelien Jarno <aurelien@aurel32.net>
25875
25876 * math/w_acos.c: Use non-signaling floating-point comparisons.
25877 * math/w_acosf.c: Likewise.
25878 * math/w_acosh.c: Likewise.
25879 * math/w_acoshf.c: Likewise.
25880 * math/w_acoshl.c: Likewise.
25881 * math/w_acosl.c: Likewise.
25882 * math/w_asin.c: Likewise.
25883 * math/w_asinf.c: Likewise.
25884 * math/w_asinl.c: Likewise.
25885 * math/w_atanh.c: Likewise.
25886 * math/w_atanhf.c: Likewise.
25887 * math/w_atanhl.c: Likewise.
25888 * math/w_exp2.c: Likewise.
25889 * math/w_exp2f.c: Likewise.
25890 * math/w_exp2l.c: Likewise.
25891 * math/w_j0.c: Likewise.
25892 * math/w_j0f.c: Likewise.
25893 * math/w_j0l.c: Likewise.
25894 * math/w_j1.c: Likewise.
25895 * math/w_j1f.c: Likewise.
25896 * math/w_j1l.c: Likewise.
25897 * math/w_jn.c: Likewise.
25898 * math/w_jnf.c: Likewise.
25899 * math/w_log.c: Likewise.
25900 * math/w_log10.c: Likewise.
25901 * math/w_log10f.c: Likewise.
25902 * math/w_log10l.c: Likewise.
25903 * math/w_log2.c: Likewise.
25904 * math/w_log2f.c: Likewise.
25905 * math/w_log2l.c: Likewise.
25906 * math/w_logf.c: Likewise.
25907 * math/w_logl.c: Likewise.
25908 * math/w_sqrt.c: Likewise.
25909 * math/w_sqrtf.c: Likewise.
25910 * math/w_sqrtl.c: Likewise.
25911 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25912 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25913 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25914 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25915 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25916
ebaf36eb
JM
259172012-02-19 Joseph Myers <joseph@codesourcery.com>
25918
25919 [BZ #9739]
25920 * manual/string.texi (strnlen): Use correct parameter name in
25921 equivalent expression.
25922
71c254a6
JM
259232012-02-19 Joseph Myers <joseph@codesourcery.com>
25924
25925 [BZ #11174]
25926 * manual/users.texi (seteuid): Consistently use neweuid for
25927 argument name.
25928
16d2c631
JM
259292012-02-19 Joseph Myers <joseph@codesourcery.com>
25930
25931 [BZ #13704]
25932 * manual/nss.texi (Services in the NSS configuration): Correct
25933 list of services in example configuration file.
25934
cd837b09
NB
259352012-02-19 Nick Bowler <nbowler@draconx.ca>
25936
25937 [BZ #11322]
25938 * manual/arith.texi: Remove statements about negative zero
25939 behaving identically to zero.
25940
02c4bbad
JM
259412012-02-18 Joseph Myers <joseph@codesourcery.com>
25942
25943 [BZ #5993]
25944 * manual/install.texi: Do not document upgrading from libc5.
25945
366842e7
JM
259462012-02-18 Joseph Myers <joseph@codesourcery.com>
25947
25948 [BZ #4596]
25949 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
25950
dd54084d
DM
259512012-02-18 David S. Miller <davem@davemloft.net>
25952
25953 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
25954 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
25955 %o7 across the call.
25956 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
25957 instead.
25958 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
25959 SETUP_PIC_REG_LEAF.
25960 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25961 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
25962 * sysdeps/sparc/crtn.S: Likewise.
25963
2bcc53a3
UD
259642012-02-17 Ulrich Drepper <drepper@gmail.com>
25965
25966 * aout/Makefile: Remove.
25967
09c093b5
RK
259682012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
25969
25970 [BZ #13058]
25971 * manual/examples/argp-ex1.c (main): Format definition in GNU
25972 style.
25973 * manual/examples/argp-ex2.c (main): Likewise.
25974 * manual/examples/argp-ex3.c (main): Likewise.
25975 * manual/examples/argp-ex4.c (main): Likewise.
25976 * manual/examples/longopt.c (main): Use new-style prototype
25977 definition.
25978 * manual/examples/strncat.c (main): Specify return type and use
25979 (void) for arguments.
25980 * manual/examples/subopt.c (main): Use char **argv argument.
25981
2ee633a2
JM
259822012-02-17 Joseph Myers <joseph@codesourcery.com>
25983
25984 [BZ #5077]
25985 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
25986 rounding modes.
25987
0520adde
FB
259882012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
25989
25990 [BZ #6907]
25991 * manual/string.texi (strchr): Change when strchrnul is
25992 recommended.
25993
3f4081cd
DGM
259942012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
25995
25996 [BZ #174]
25997 * manual/locale.texi (setlocale): Document LOCPATH.
25998
d1b10e78
JM
259992012-02-17 Joseph Myers <joseph@codesourcery.com>
26000
26001 [BZ #10210]
26002 * manual/process.texi (execle): Move @dots{} before last argument.
26003
79c6869c
PB
260042012-02-17 Paul Bolle <pebolle@tiscali.nl>
26005
26006 [BZ #12047]
26007 * manual/charset.texi (Generic Charset Conversion): Fix typo
26008 (LC_TYPE -> LC_CTYPE).
26009
cc6e48bc
NB
260102012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
26011
26012 [BZ #5805]
26013 * manual/arith.texi (scalbn): Use @var{} on parameter names.
26014 (scalbnf): Likewise.
26015 (scalbnl): Likewise.
26016 (scalbln): Likewise.
26017 (scalblnf): Likewise.
26018 (scalblnl): Likewise.
26019 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
26020 (vwarnx): Likewise.
26021 (verr): Likewise.
26022 (verrx): Likewise.
26023 * manual/filesys.texi (telldir): Use braces around return type.
26024 * manual/llio.texi (mmap): Add space after comma.
26025 (mmap64): Likewise.
26026 * manual/math.texi (jn): Use @var{} on parameter names.
26027 (jnf): Likewise.
26028 (jnl): Likewise.
26029 (yn): Likewise.
26030 (ynf): Likewise.
26031 (ynl): Likewise.
26032 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
26033 line.
26034 * manual/resource.texi (ulimit): Use @dots{} instead of literal
26035 "...".
26036 (sched_get_priority_min): Remove semicolon on @deftypefun line.
26037 (sched_get_priority_max): Likewise.
26038 * manual/signal.texi (sigvec): Add space after comma.
26039 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
26040 names.
26041 (if_indextoname): Likewise.
26042 (if_freenameindex): Likewise.
26043 (sendto): Use ',' instead of '.' in prototype.
26044 * manual/startup.texi (syscall): Use @dots{} instead of literal
26045 "...".
26046 * manual/stdio.texi (__fpending): Separate initial words of
26047 paragraph from @deftypefun line.
26048 * manual/syslog.texi (syslog): Use @dots{} instead of literal
26049 "...".
26050 (vsyslog): Use @var{} on parameter names.
26051 * manual/terminal.texi (stty): Use @var{} on parameter names.
26052 * manual/users.texi (getutmp): Use @var{} on parameter names.
26053 (getutmpx): Likewise.
26054
5b23062f
JM
260552012-02-17 Joseph Myers <joseph@codesourcery.com>
26056
26057 [BZ #6884]
26058 * manual/stdio.texi (fopen): Fix typos in description of
26059 ",ccs=STRING".
26060
8dee4833
AJ
260612012-02-17 Aurelien Jarno <aurelien@aurel32.net>
26062
26063 [BZ #4026]
26064 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
26065 get clock_id definition.
26066
9078ce93
TS
260672012-02-17 Thomas Schwinge <thomas@schwinge.name>
26068
26069 [BZ #4822]
26070 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
26071 (madvise): Cast every argument to void on its own.
26072
3835c55f
JM
260732012-02-17 Joseph Myers <joseph@codesourcery.com>
26074
26075 [BZ #9902]
26076 * manual/startup.texi (Exit Status): Fix typo.
26077
35c47e37
JM
260782012-02-17 Joseph Myers <joseph@codesourcery.com>
26079
26080 [BZ #10140]
26081 * manual/examples/argp-ex1.c: Include <stdlib.h>.
26082 * manual/examples/argp-ex2.c: Likewise.
26083 * manual/examples/argp-ex3.c: Likewise.
26084
e3b69ca7
RH
260852012-02-16 Richard Henderson <rth@redhat.com>
26086
26087 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
26088 * sysdeps/s390/s390-32/initfini.c: Remove.
26089 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
26090 * sysdeps/s390/s390-64/initfini.c: Remove.
26091
df83af67
KK
260922012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26093
26094 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
26095 compiler output for sysdeps/generic/initfini.c.
26096 * sysdeps/sh/elf/initfini.c: Remove file.
26097
f63f3380
DM
260982012-02-16 David S. Miller <davem@davemloft.net>
26099
fb59b3a4
DM
26100 [BZ #11494]
26101 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
26102
f63f3380
DM
26103 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
26104 * sysdeps/sparc/crti.S: New file.
26105 * sysdeps/sparc/crtn.S: New file.
26106 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
26107 * sysdeps/sparc/sparc64/Makefile: Likewise.
26108
df6a4a4a
MF
261092012-02-15 Mike Frysinger <vapier@gentoo.org>
26110
6dd8f3dc 26111 [BZ #3335]
df6a4a4a
MF
26112 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
26113
1cac7236
RM
261142012-02-15 Roland McGrath <roland@hack.frob.com>
26115
d2c736f8
RM
26116 [BZ #4822]
26117 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
26118
1cac7236
RM
26119 * mach/devstream.c (cookie_io_functions_t): Macro removed.
26120 (write, read, close): Likewise.
26121 Patch by Aurelien Jarno <aurelien@aurel32.net>.
26122
8e475601
JM
261232012-02-15 Joseph Myers <joseph@codesourcery.com>
26124
26125 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
26126 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
26127 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
26128 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
26129 <bits/signalfd.h>.
26130 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
26131 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26132 bits/signalfd.h.
26133
ed656b40
MP
261342012-02-14 Marek Polacek <polacek@redhat.com>
26135
26136 * sysdeps/x86_64/crti.S: New file.
26137 * sysdeps/x86_64/crtn.S: New file.
26138 * sysdeps/x86_64/elf/initfini.c: Remove file.
26139
2a979d3a
JM
261402012-02-13 Joseph Myers <joseph@codesourcery.com>
26141
26142 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
26143 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
26144 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
26145 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
26146 <bits/inotify.h>.
26147 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
26148 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26149 bits/inotify.h.
26150
2a418ac3
JM
261512012-02-13 Joseph Myers <joseph@codesourcery.com>
26152
26153 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
26154 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
26155 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
26156 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
26157 <bits/eventfd.h>.
26158 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
26159 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26160 bits/eventfd.h.
26161
fb779be7
TS
261622012-02-10 Thomas Schwinge <thomas@codesourcery.com>
26163
e19e83c5
RM
26164 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
26165 __feraiseexcept instead of feraiseexcept.
7c35ffed 26166
fb779be7
TS
26167 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
26168 nanosleep invocations.
26169 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
26170 strings, and add error checking for a nanosleep invocations.
26171
59ba27a6
PE
261722012-02-09 Paul Eggert <eggert@cs.ucla.edu>
26173
26174 Replace FSF snail mail address with URLs, as per GNU coding standards.
26175 Most of the snail mail addresses were wrong anyway, and omitting
26176 them makes the source code easier to maintain. Almost all of the
26177 changes are to license notices and to locale LC_IDENTIFICATION
26178 addresses, except for this one:
26179 * manual/libc.texinfo: In "Published by", give the FSF's URL,
26180 not its snail mail address.
26181
57b957eb
RH
261822012-02-09 Richard Henderson <rth@twiddle.net>
26183
af850b1c
RH
26184 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
26185 of kernel-features.h.
26186
57b957eb
RH
26187 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
26188
6b73181a
MP
261892012-02-08 Marek Polacek <polacek@redhat.com>
26190
26191 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
26192 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
26193 * sysdeps/gnu/_G_config.h: Likewise.
26194 * sysdeps/generic/_G_config.h: Likewise.
26195
26ecc33a
AS
261962012-02-08 Andreas Schwab <schwab@linux-m68k.org>
26197
6c6dbc63
AS
26198 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
26199 tests.
26200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26201
e216c012
AS
26202 * sysdeps/powerpc/powerpc32/crti.S: New file.
26203 * sysdeps/powerpc/powerpc32/crtn.S: New file.
26204 * sysdeps/powerpc/powerpc64/crti.S: New file.
26205 * sysdeps/powerpc/powerpc64/crtn.S: New file.
26206
26ecc33a
AS
26207 * Makeconfig (have-initfini): Don't set.
26208 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
26209 * configure.in (nopic_initfini): Don't substitute.
26210 * config.h.in (HAVE_INITFINI): Don't #undef.
26211 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
26212 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
26213
3add8e13
JM
262142012-02-08 Joseph Myers <joseph@codesourcery.com>
26215
26216 Support crti.S and crtn.S provided directly by architectures.
26217 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
26218 [crti.S in sysdirs] (omit-deps): Likewise.
26219 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
26220 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
26221 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
26222 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
26223 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
26224 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
26225 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
26226 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
26227 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
26228 compiler output for sysdeps/generic/initfini.c.
26229 * sysdeps/i386/elf/Makefile: Remove file.
26230 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
26231
a22f12b4
MP
262322012-02-07 Marek Polacek <polacek@redhat.com>
26233
26234 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
26235 * sysdeps/gnu/_G_config.h: Likewise.
26236 * sysdeps/mach/hurd/_G_config.h: Likewise.
26237
148cf100
MP
262382012-02-07 Marek Polacek <polacek@redhat.com>
26239
26240 * math/Makefile (tests): Add tst-CMPLX2.
26241 * math/tst-CMPLX2.c: New file.
26242
cfdc0dd7
AS
262432012-02-07 Andreas Schwab <schwab@linux-m68k.org>
26244
84ba42c4
AS
26245 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26246
cfdc0dd7
AS
26247 * math/libm-test.inc (jn_test): Add missing L suffix.
26248
622c86f4
MP
262492012-02-06 Marek Polacek <polacek@redhat.com>
26250
26251 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
26252 * sysdeps/i386/fpu/e_powf.S: Likewise.
26253 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26254 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26255 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26256 * sysdeps/i386/fpu/e_pow.S: Likewise.
26257 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26258 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26259 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26260 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26261 * sysdeps/i386/fpu/e_log2.S: Likewise.
26262 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26263 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26264 * sysdeps/i386/fpu/e_powl.S: Likewise.
26265 * sysdeps/i386/fpu/s_log1p.S: Likewise.
26266 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26267 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26268 * sysdeps/i386/fpu/e_logl.S: Likewise.
26269 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26270 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
26271 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26272 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26273 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26274 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26275 * sysdeps/i386/fpu/e_log.S: Likewise.
26276 * sysdeps/i386/fpu/s_cexp.S: Likewise.
26277 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26278 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
26279 * sysdeps/i386/fpu/e_logf.S: Likewise.
26280 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26281 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26282 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
26283 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26284 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26285 * sysdeps/i386/fpu/e_log10.S: Likewise.
26286 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26287 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26288 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26289 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26290 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26291 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26292 * sysdeps/i386/asm-syntax.h: Likewise.
26293 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26294 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26295 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26296 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
26297 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
26298 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26299 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26300 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26301 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26302 * sysdeps/powerpc/sysdep.h: Likewise.
26303 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
26304 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26305
d4a54ac6
JM
263062012-02-06 Joseph Myers <joseph@codesourcery.com>
26307
26308 [BZ #411]
26309 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
26310
314054ea
JM
263112012-02-06 Joseph Myers <joseph@codesourcery.com>
26312
26313 * sysdeps/i386/sysdep.h: Include <features.h>.
26314 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
26315 version.
26316
d8e0ca50
JM
263172012-02-05 Joseph Myers <joseph@codesourcery.com>
26318
26319 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
26320 Define.
26321 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
26322 LOAD_PIC_REG_STR.
26323
b1da7dd9
JM
263242012-02-03 Joseph Myers <joseph@codesourcery.com>
26325
26326 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
26327 (SETUP_PIC_REG): Use GET_PC_THUNK.
26328 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
26329 macro.
26330
9a1d9254
JM
263312012-02-03 Joseph Myers <joseph@codesourcery.com>
26332
26333 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
26334 for non-PIC compilation.
26335 (SETUP_PIC_REG): Add .p2align directive.
26336 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
26337 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26338 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26339 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26340 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26341 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26342 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26343 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26344 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26345 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26346 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26347 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26348 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26349 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26350 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26351 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26352 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26353 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26354 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26355 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26356 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26357 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26358 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26359 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26360 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26361 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26362 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26363 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26364 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26365 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26366 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26367 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26368 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26369 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26370 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26371 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26372 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26373 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26374 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26375 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26376 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26377
65dc3b75
JM
263782012-02-03 Joseph Myers <joseph@codesourcery.com>
26379
26380 * math/tst-CMPLX.c: Include <stdio.h>.
26381
d55bf177
JM
263822012-01-31 Joseph Myers <joseph@codesourcery.com>
26383
26384 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
26385 float.
26386 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26387 * sysdeps/sparc/bits/mathdef.h: Likewise.
26388
69db4f8f
MP
263892012-01-31 Marek Polacek <polacek@redhat.com>
26390
26391 * libio/libio.h: Don't define _PARAMS.
26392 * locale/programs/config.h: Don't define PARAMS.
26393 * stdlib/strtol_l.c: Likewise.
26394 (__strtol_l): Remove PARAMS from the prototype.
26395
41b81892
UD
263962012-01-31 Ulrich Drepper <drepper@gmail.com>
26397
3b49edc0
UD
26398 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
26399 names. Just use the correct names. Remove unnecessary wrapper
26400 functions.
26401 * malloc/arena.c: Likewise.
26402 * malloc/hooks.c: Likewise.
26403
41b81892
UD
26404 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
26405 ARENA_TEST says not to. Simplify test for creation of a new arena.
26406 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
26407
27a25b6e
UD
264082012-01-30 Ulrich Drepper <drepper@gmail.com>
26409
26410 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
26411 into tail calls.
26412 (update_get_addr): New function.
26413 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
26414 GET_ADDR_MODULE parameter.
26415
c8a89e7d
JM
264162012-01-30 Joseph Myers <joseph@codesourcery.com>
26417
26418 * crypt/cert.c: Remove __STDC__ conditionals.
26419 * crypt/crypt-entry.c: Likewise.
26420 * crypt/crypt_util.c: Likewise.
26421 * libio/filedoalloc.c: Likewise.
26422 * libio/fileops.c: Likewise.
26423 * libio/genops.c: Likewise.
26424 * libio/iofclose.c: Likewise.
26425 * libio/iofdopen.c: Likewise.
26426 * libio/iofopen.c: Likewise.
26427 * libio/iofopen64.c: Likewise.
26428 * libio/iogetdelim.c: Likewise.
26429 * libio/iopopen.c: Likewise.
26430 * libio/obprintf.c: Likewise.
26431 * libio/oldfileops.c: Likewise.
26432 * libio/oldiofclose.c: Likewise.
26433 * libio/oldiofdopen.c: Likewise.
26434 * libio/oldiofopen.c: Likewise.
26435 * libio/oldiopopen.c: Likewise.
26436 * libio/wfiledoalloc.c: Likewise.
26437 * libio/wgenops.c: Likewise.
26438 * locale/programs/xmalloc.c: Likewise.
26439 * misc/syslog.c: Likewise.
26440 * stdio-common/xbug.c: Likewise.
26441 * string/memchr.c: Likewise.
26442 * string/memcmp.c: Likewise.
26443 * string/memrchr.c: Likewise.
26444 * string/rawmemchr.c: Likewise.
26445 * sysdeps/posix/getcwd.c: Likewise.
26446 * time/strftime_l.c: Likewise.
26447
3b100462
JM
264482012-01-30 Joseph Myers <joseph@codesourcery.com>
26449
26450 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
26451 * config.make.in (config-cflags-sse2avx): Define.
26452 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
26453 Fix typo.
26454
607998af
CM
264552012-01-29 Chris Metcalf <cmetcalf@tilera.com>
26456
26457 * scripts/config.guess: Update from upstream config git repository.
26458 * scripts/config.sub: Likewise.
26459
3601428f
CM
264602012-01-28 Chris Metcalf <cmetcalf@tilera.com>
26461
3ac8b282
CM
26462 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
26463 (EM_NUM): Update.
26464 (R_TILEPRO_*, R_TILEGX_*): New macros.
26465
e034841e
CM
26466 * scripts/firstversions.awk: Fix bug in version range handling.
26467
540d7568
CM
26468 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
26469
3601428f
CM
26470 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
26471
463de862
CM
26472 * include/sys/epoll.h: New file.
26473 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
26474 libc_hidden_def.
26475
73139a76
UD
264762012-01-28 Ulrich Drepper <drepper@gmail.com>
26477
96bc5b45
UD
26478 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
26479 Avoid unnecessary __WORDSIZE == 64 test.
26480 (fmaxf): Use VEX format if possible.
26481 (fmax): Likewise.
26482 (fminf): Likewise.
26483 (fmin): Likewise.
26484
56f6f6a2
UD
26485 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
26486 * math/math_private.h: Remove libc_fegetround* and
26487 libc_fesetround*.
26488 * sysdeps/i386/configure.in: Check for -msse2avx.
26489 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
26490 also if SSE2AVX is defined.
26491 Remove libc_fegetround* and libc_fesetround*.
26492 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
26493 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
26494 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
26495 of HAS_YMM_USABLE.
26496 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26497 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26498 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26499 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26500 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26501
73139a76
UD
26502 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
26503
d73f93a4
AZ
265042012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26505
26506 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
26507 size is not set.
26508 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26509
6ee65ed6
UD
265102012-01-27 Ulrich Drepper <drepper@gmail.com>
26511
26512 [BZ #13618]
26513 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
26514 relocation.
26515 * Makeconfig (libm): Define.
26516 * elf/Makefile: Add rules to build and run tst-relsort1.
26517 * elf/tst-relsort1.c: New file.
26518 * elf/tst-relsort1mod1.c: New file.
26519 * elf/tst-relsort1mod2.c: New file.
26520
8db21882
JM
265212012-01-27 Joseph Myers <joseph@codesourcery.com>
26522
26523 * math/s_ldexp.c: Remove __STDC__ conditionals.
26524 * math/s_ldexpf.c: Likewise.
26525 * math/s_ldexpl.c: Likewise.
26526 * math/s_nextafter.c: Likewise.
26527 * math/s_nexttowardf.c: Likewise.
26528 * math/s_significand.c: Likewise.
26529 * math/s_significandf.c: Likewise.
26530 * math/s_significandl.c: Likewise.
26531 * math/w_jnl.c: Likewise.
26532 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26533 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26534 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26535 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26536 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26537 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26538 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
26539 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26540 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26541 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26542 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26543 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26544 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26545 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26546 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26547 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26548 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26549 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26550 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26551 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26552 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26553 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26554 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26555 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26556 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26557 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26558 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26559 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26560 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26561 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26562 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26563 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26564 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26565 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26566 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26567 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26568 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26569 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26570 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26571 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26572 * sysdeps/ieee754/k_standard.c: Likewise.
26573 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26574 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26575 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26576 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26577 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26578 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26579 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26580 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26581 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26582 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26583 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26584 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26585 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26586 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26587 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26588 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26589 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26590 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26591 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26592 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26593 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26594 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26595 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26596 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26597 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26598 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26599 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26600 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26601 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26602 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26603 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26604 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
26605 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26606 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26607 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26608 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26609 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
26610 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26611 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26612 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
26613 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
26614 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26615 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26616 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
26617 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26618 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26619 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26620 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26621 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26622 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26623 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
26624 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26625 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26626 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26627 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26628 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26629 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
26630 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26631 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26632 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26633 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26634 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26635 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26636 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26637 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26638 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26639 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26640 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26641 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26642 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26643 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26644 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26645 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26646 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26647 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26648 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26649 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26650 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26651 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26652 * sysdeps/ieee754/s_matherr.c: Likewise.
26653 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26654 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26655 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26656 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26657
965a54a4
JM
266582012-01-26 Joseph Myers <joseph@codesourcery.com>
26659
26660 * crypt/md5.h: Remove __STDC__ conditionals.
26661 * libio/libioP.h: Likewise.
26662 * locale/programs/config.h: Likewise.
26663 * sysdeps/generic/sysdep.h: Likewise.
26664 * sysdeps/i386/asm-syntax.h: Likewise.
26665 * sysdeps/s390/asm-syntax.h: Likewise.
26666 * sysdeps/unix/sysdep.h: Likewise.
26667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26669
7071ad79
JM
266702012-01-26 Joseph Myers <joseph@codesourcery.com>
26671
26672 * libio/libio.h: Remove __STDC__ conditionals.
26673 * malloc/obstack.h: Likewise.
26674 * math/complex.h: Likewise.
26675 * math/math.h: Likewise.
26676 * sysdeps/generic/_G_config.h: Likewise.
26677 * sysdeps/gnu/_G_config.h: Likewise.
26678 * sysdeps/mach/hurd/_G_config.h: Likewise.
26679 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26680 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26681 * sysdeps/sparc/bits/mathdef.h: Likewise.
26682
afc5ed09
UD
266832012-01-26 Ulrich Drepper <drepper@gmail.com>
26684
26685 [BZ #13583]
26686 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 26687 Clean up HAS_* macros.
afc5ed09 26688 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
26689 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
26690 possible.
26691 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
26692 HAS_AVX.
26693 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26694 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26695 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26696 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26697 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 26698
bdb6de1d
JM
266992012-01-25 Joseph Myers <joseph@codesourcery.com>
26700
26701 * elf/tst-unique3.cc (gets): Remove declaration.
26702 * elf/tst-unique3lib.cc (gets): Likewise.
26703 * elf/tst-unique3lib2.cc (gets): Likewise.
26704 * elf/tst-unique4.cc (gets): Likewise.
26705
b15549e6
UD
267062012-01-24 Ulrich Drepper <drepper@gmail.com>
26707
26708 * include/stdio.h: Add C++ protection. Add gets declarations and
26709 definitions.
26710 * debug/tst-chk1.c: Don't declare gets here.
26711 * stdio-common/tst-gets.c: Likewise.
26712
a037381f
JM
267132012-01-24 Joseph Myers <joseph@codesourcery.com>
26714
26715 * posix/glob: Remove directory.
26716
f1d4aa75
JM
267172012-01-24 Joseph Myers <joseph@codesourcery.com>
26718
26719 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
26720
81c0c964
PT
267212012-01-22 Pino Toscano <toscano.pino@tiscali.it>
26722
26723 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
26724 of the non-standard EPFNOSUPPORT.
26725
0ea698ae
ST
267262011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
26727
26728 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
26729 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
26730 ANYWHERE set to 1 only on KERN_NO_SPACE error.
26731
d220b117
UD
267322012-01-21 Ulrich Drepper <drepper@gmail.com>
26733
26734 * wcsmbs/uchar.h: Test __STDC_VERSION__.
26735
3e1aa84e
UD
267362012-01-20 Ulrich Drepper <drepper@gmail.com>
26737
26738 * nscd/aicache.c (addhstaiX): Do not cache negative results of
26739 transient errors.
26740 * nscd/grpcache.c (cache_addgr): Likewise.
26741 * nscd/hstcache.c (cache_addhst): Likewise.
26742 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26743 * nscd/pwdcache.c (cache_addpw): Likewise.
26744 * nscd/servicescache.c (cache_addserv): Likewise.
26745
400aa020
UD
267462012-01-16 Ulrich Drepper <drepper@gmail.com>
26747
d77e7869
UD
26748 * malloc/malloc.c: Various cleanups.
26749 * malloc/hooks.c: Likewise.
26750
400aa020
UD
26751 * stdlib/Makefile (tests): Add bug-fmtmsg1.
26752 * stdlib/bug-fmtmsg1.c: New file.
26753
26754 * stdlib/fmtmsg.c (init): Add missing unlock.
26755 Patch by Peng Haitao <penght@cn.fujitsu.com>.
26756
e0a309cf
MP
267572012-01-12 Marek Polacek <polacek@redhat.com>
26758
26759 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
26760 and _GNU_SOURCE.
26761
929d11c7
WS
267622012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26763
26764 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
26765 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
26766 macro to ensure uniqueness of label name.
26767 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26768 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26769
41d0e869
UD
267702012-01-11 Ulrich Drepper <drepper@gmail.com>
26771
0cc5ed3b
UD
26772 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
26773
41d0e869
UD
26774 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
26775 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26776 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26777 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
26778
a47a831a
UD
267792012-01-10 Ulrich Drepper <drepper@gmail.com>
26780
daa891c0
UD
26781 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
26782
26783 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
26784 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26785 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26786
e58ef0f2
UD
26787 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
26788
a47a831a 26789 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
26790 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26791 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 26792 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
26793
26794 * math/bits/math-finite.h: Add ldexp support.
26795
a0bfc9c7
MP
267962012-01-10 Marek Polacek <polacek@redhat.com>
26797
26798 * locale/programs/localedef.h (show_archive_content): Add noreturn
26799 attribute.
26800
d6e97a1d
UD
268012012-01-09 Ulrich Drepper <drepper@gmail.com>
26802
26803 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
26804
d5835c26
UD
268052012-01-08 Ulrich Drepper <drepper@gmail.com>
26806
e5f484c6
UD
26807 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
26808
d5835c26
UD
26809 * io/Makefile (headers): Add bits/poll2.h.
26810
d1f741e9
WS
268112011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
26812
26813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
26814 typo #include statement.
26815
ec09c1c4
UD
268162012-01-08 Ulrich Drepper <drepper@gmail.com>
26817
26818 * include/sys/cdefs.h: Define __attribute_alloc_size.
26819 * catgets/gencat.c: Add alloc_size attribute and apply consistently
26820 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
26821 * elf/pldd.c: Likewise.
26822 * iconv/iconv_charmap.c: Likewise.
26823 * iconv/iconvconfig.c: Likewise.
26824 * iconv/strtab.c: Likewise.
26825 * locale/programs/locale.c: Likewise.
26826 * locale/programs/localedef.h: Likewise.
26827 * locale/programs/simple-hash.c: Likewise.
26828 * nscd/nscd.h: Likewise.
26829 * nss/makedb.c: Likewise.
26830 * sysdeps/generic/ldconfig.h: Likewise.
26831 * locale/programs/localedef.c: Remove xmalloc prototype.
26832 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
26833
20b38e03
PP
268342012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26835
26836 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
26837 appropriate.
26838
a0da5fe1
UD
268392012-01-08 Ulrich Drepper <drepper@gmail.com>
26840
1d5a644a 26841 * math/Makefile (tests): Add tst-CMPLX.
669704fd 26842 * math/tst-CMPLX.c: New file.
1d5a644a 26843
8784a6db
UD
26844 * math/complex.h (CMPLXL): Fix typo.
26845
d9a216c0
UD
26846 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
26847 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
26848 GLIBC_2.16.
26849 * debug/tst-chk1.c: Add poll and ppoll tests.
26850 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
26851 * include/sys/poll.h: Add hidden proto for ppoll.
26852 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
26853 * sysdeps/mach/hurd/ppoll.c: Likewise.
26854 * io/ppoll.c: Likewise.
26855 * debug/poll_chk.c: New file.
26856 * debug/ppoll_chk.c: New file.
26857 * include/bits/poll2.h: New file.
26858 * io/bits/poll2.h: New file.
26859
ac097f5c
UD
26860 [BZ #1350]
26861 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
26862
2119dcfa
UD
26863 * configure.in: static is always set to yes. Remove.
26864 * config.make.in: Don't set build-static.
26865 * Makeconfig: Remove use of build-static.
26866 * dlfcn/Makefile: Likewise.
26867 * elf/Makefile: Likewise.
26868 * math/Makefile: Likewise.
26869 * misc/Makefile: Likewise.
26870 * nptl/Makefile: Likewise.
26871 * sysdeps/mach/hurd/Makefile: Likewise.
26872
121766a9
UD
26873 * configure.in: PWD_P is not used anymore.
26874 * config.make.in: Remove PWD_P entry.
26875
51a1d39c 26876 * configure.in: Remove last remnants of RANLIB.
8720d066 26877 No need to check for signed size_t anymore.
215f4bdc
UD
26878 Don't set libc_commonpagesize and libc_relro_required here for Alpha
26879 and IA-64.
3857022a 26880 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
26881 * aclocal.m4: Likewise.
26882
d3ed7225
UD
26883 * wcsmbs/mbrtoc16.c: Implement using towc function.
26884 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
26885 * wcsmbs/wcsmbsload.c: Likewise.
26886 * iconv/gconv_simple.c: Likewise.
26887 * iconv/gconv_int.h: Likewise.
26888 * iconv/gconv_builtin.h: Likewise.
26889 * iconv/iconv_prog.c: Remove CHAR16 handling.
26890
26891 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
26892
26893 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
26894
a0da5fe1
UD
26895 * configure.in: Remove --with-elf and --enable-bounded options.
26896 Dont set base_machine for ia64. More non-ELF conditions removed.
26897 Remove testing and setting of leading underscore information.
26898 * config.make.in (build-bounded): Set to no.
26899 * config.h.in: Remove NO_UNDERSCORES entry.
26900 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
26901 them.
26902 * csu/start.c: Remove !NO_UNDERSCORE code.
26903 * locale/localeinfo.h: Likewise.
26904 * sysdeps/generic/machine-gmon.h: Likewise.
26905 * sysdeps/generic/sysdep.h: Likewise.
26906 * sysdeps/i386/sysdep.h: Likewise.
26907 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26908 * sysdeps/mach/sysdep.h: Likewise.
26909 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26910 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26911 * sysdeps/sh/sysdep.h: Likewise.
26912 * sysdeps/sparc/sparc32/alloca.S: Likewise.
26913 * sysdeps/unix/i386/sysdep.S: Likewise.
26914 * sysdeps/unix/sparc/start.c: Likewise.
26915 * sysdeps/unix/sparc/sysdep.S: Likewise.
26916 * sysdeps/unix/sparc/sysdep.h: Likewise.
26917 * sysdeps/unix/start.c: Likewise.
26918 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26919 * sysdeps/x86_64/sysdep.h: Likewise.
26920
df78418a
UD
269212012-01-07 Ulrich Drepper <drepper@gmail.com>
26922
a784e502
UD
26923 [BZ #13553]
26924 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
26925 for non-gcc.
26926 * argp/argp-fmtstream.h: Use const instead __const.
26927 * argp/argp.h: Likewise.
26928 * assert/assert.h: Likewise.
26929 * bits/fenv.h: Likewise.
26930 * bits/sched.h: Likewise.
26931 * bits/sigset.h: Likewise.
26932 * bits/sigthread.h: Likewise.
26933 * catgets/nl_types.h: Likewise.
26934 * conform/data/pthread.h-data: Likewise.
26935 * crypt/crypt-private.h: Likewise.
26936 * crypt/crypt.h: Likewise.
26937 * crypt/crypt_util.c: Likewise.
26938 * ctype/ctype.h: Likewise.
26939 * debug/execinfo.h: Likewise.
26940 * debug/mbsnrtowcs_chk.c: Likewise.
26941 * debug/mbsrtowcs_chk.c: Likewise.
26942 * debug/wcsnrtombs_chk.c: Likewise.
26943 * debug/wcsrtombs_chk.c: Likewise.
26944 * debug/wcstombs_chk.c: Likewise.
26945 * dirent/dirent.h: Likewise.
26946 * dlfcn/dlfcn.h: Likewise.
26947 * elf/neededtest4.c: Likewise.
26948 * grp/grp.h: Likewise.
26949 * gshadow/gshadow.h: Likewise.
26950 * iconv/gconv.h: Likewise.
26951 * iconv/gconv_int.h: Likewise.
26952 * iconv/gconv_simple.c: Likewise.
26953 * iconv/iconv.h: Likewise.
26954 * iconv/loop.c: Likewise.
26955 * iconv/skeleton.c: Likewise.
26956 * include/aio.h: Likewise.
26957 * include/aliases.h: Likewise.
26958 * include/argz.h: Likewise.
26959 * include/arpa/inet.h: Likewise.
26960 * include/assert.h: Likewise.
26961 * include/dirent.h: Likewise.
26962 * include/dlfcn.h: Likewise.
26963 * include/execinfo.h: Likewise.
26964 * include/fcntl.h: Likewise.
26965 * include/fenv.h: Likewise.
26966 * include/glob.h: Likewise.
26967 * include/grp.h: Likewise.
26968 * include/libintl.h: Likewise.
26969 * include/mntent.h: Likewise.
26970 * include/netdb.h: Likewise.
26971 * include/pwd.h: Likewise.
26972 * include/rpc/netdb.h: Likewise.
26973 * include/sched.h: Likewise.
26974 * include/search.h: Likewise.
26975 * include/shadow.h: Likewise.
26976 * include/signal.h: Likewise.
26977 * include/stdio.h: Likewise.
26978 * include/stdlib.h: Likewise.
26979 * include/string.h: Likewise.
26980 * include/sys/socket.h: Likewise.
26981 * include/sys/stat.h: Likewise.
26982 * include/sys/statfs.h: Likewise.
26983 * include/sys/statvfs.h: Likewise.
26984 * include/sys/syslog.h: Likewise.
26985 * include/sys/time.h: Likewise.
26986 * include/sys/uio.h: Likewise.
26987 * include/time.h: Likewise.
26988 * include/unistd.h: Likewise.
26989 * include/utmp.h: Likewise.
26990 * include/wchar.h: Likewise.
26991 * include/wctype.h: Likewise.
26992 * inet/aliases.h: Likewise.
26993 * inet/arpa/inet.h: Likewise.
26994 * inet/netinet/ether.h: Likewise.
26995 * inet/netinet/in.h: Likewise.
26996 * intl/libintl.h: Likewise.
26997 * io/bits/fcntl2.h: Likewise.
26998 * io/fcntl.h: Likewise.
26999 * io/ftw.h: Likewise.
27000 * io/sys/poll.h: Likewise.
27001 * io/sys/stat.h: Likewise.
27002 * io/sys/statfs.h: Likewise.
27003 * io/sys/statvfs.h: Likewise.
27004 * io/utime.h: Likewise.
27005 * libio/bits/stdio.h: Likewise.
27006 * libio/bits/stdio2.h: Likewise.
27007 * libio/libio.h: Likewise.
27008 * libio/libioP.h: Likewise.
27009 * libio/stdio.h: Likewise.
27010 * locale/lc-ctype.c: Likewise.
27011 * locale/locale.h: Likewise.
27012 * login/utmp.h: Likewise.
27013 * malloc/arena.c: Likewise.
27014 * malloc/malloc.c: Likewise.
27015 * malloc/malloc.h: Likewise.
27016 * malloc/mcheck.c: Likewise.
27017 * malloc/mtrace.c: Likewise.
27018 * math/bits/mathcalls.h: Likewise.
27019 * math/fenv.h: Likewise.
27020 * math/math_private.h: Likewise.
27021 * misc/bits/error.h: Likewise.
27022 * misc/bits/syslog.h: Likewise.
27023 * misc/err.h: Likewise.
27024 * misc/error.h: Likewise.
27025 * misc/fstab.h: Likewise.
27026 * misc/mntent.h: Likewise.
27027 * misc/regexp.h: Likewise.
27028 * misc/search.h: Likewise.
27029 * misc/sgtty.h: Likewise.
27030 * misc/sys/mman.h: Likewise.
27031 * misc/sys/syslog.h: Likewise.
27032 * misc/sys/uio.h: Likewise.
27033 * misc/sys/xattr.h: Likewise.
27034 * misc/ttyent.h: Likewise.
27035 * nis/rpcsvc/ypclnt.h: Likewise.
27036 * nss/nss.h: Likewise.
27037 * posix/bits/unistd.h: Likewise.
27038 * posix/fnmatch.h: Likewise.
27039 * posix/glob.h: Likewise.
27040 * posix/sched.h: Likewise.
27041 * posix/spawn.h: Likewise.
27042 * posix/sys/wait.h: Likewise.
27043 * posix/unistd.h: Likewise.
27044 * posix/wordexp.h: Likewise.
27045 * pwd/pwd.h: Likewise.
27046 * resolv/netdb.h: Likewise.
27047 * resource/sys/resource.h: Likewise.
27048 * rt/aio.h: Likewise.
27049 * rt/bits/mqueue2.h: Likewise.
27050 * rt/mqueue.h: Likewise.
27051 * shadow/shadow.h: Likewise.
27052 * signal/signal.h: Likewise.
27053 * socket/send.c: Likewise.
27054 * socket/sendto.c: Likewise.
27055 * socket/sys/socket.h: Likewise.
27056 * stdio-common/printf.h: Likewise.
27057 * stdlib/bits/stdlib.h: Likewise.
27058 * stdlib/fmtmsg.h: Likewise.
27059 * stdlib/monetary.h: Likewise.
27060 * stdlib/stdlib.h: Likewise.
27061 * stdlib/ucontext.h: Likewise.
27062 * streams/stropts.h: Likewise.
27063 * string/argz.h: Likewise.
27064 * string/bits/string2.h: Likewise.
27065 * string/string.h: Likewise.
27066 * string/strings.h: Likewise.
27067 * sunrpc/rpc/auth.h: Likewise.
27068 * sunrpc/rpc/auth_des.h: Likewise.
27069 * sunrpc/rpc/clnt.h: Likewise.
27070 * sunrpc/rpc/netdb.h: Likewise.
27071 * sunrpc/rpc/pmap_clnt.h: Likewise.
27072 * sunrpc/rpc/xdr.h: Likewise.
27073 * sysdeps/generic/inttypes.h: Likewise.
27074 * sysdeps/generic/net/if.h: Likewise.
27075 * sysdeps/generic/sys/swap.h: Likewise.
27076 * sysdeps/gnu/net/if.h: Likewise.
27077 * sysdeps/gnu/utmpx.h: Likewise.
27078 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
27079 * sysdeps/i386/i486/bits/string.h: Likewise.
27080 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
27081 * sysdeps/s390/bits/string.h: Likewise.
27082 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
27083 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
27084 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27085 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
27086 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
27087 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
27088 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
27089 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
27090 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
27091 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27092 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
27093 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27094 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
27095 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27096 * sysdeps/unix/sysv/linux/readv.c: Likewise.
27097 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
27098 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27099 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27100 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27101 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27102 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27103 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
27104 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
27105 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
27106 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
27107 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
27108 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
27109 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27110 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
27111 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
27112 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
27113 * sysvipc/sys/ipc.h: Likewise.
27114 * sysvipc/sys/msg.h: Likewise.
27115 * sysvipc/sys/sem.h: Likewise.
27116 * sysvipc/sys/shm.h: Likewise.
27117 * termios/termios.h: Likewise.
27118 * time/sys/time.h: Likewise.
27119 * time/time.h: Likewise.
27120 * wcsmbs/bits/wchar2.h: Likewise.
27121 * wcsmbs/uchar.h: Likewise.
27122 * wcsmbs/wchar.h: Likewise.
27123 * wctype/wctype.h: Likewise.
27124
0269750c
UD
27125 [BZ #13551]
27126 * Makeconfig: Remove all but ELF support including AIX support.
27127 * Makerules: Likewise.
27128 * config.h.in: Likewise.
27129 * config.make.in: Likewise.
27130 * configure: Likewise.
27131 * configure.in: Likewise.
27132 * csu/Makefile: Likewise.
27133 * csu/version.c: Likewise.
27134 * debug/Makefile: Likewise.
27135 * dlfcn/Makefile: Likewise.
27136 * elf/Makefile: Likewise.
27137 * extra-lib.mk: Likewise.
27138 * iconv/Makefile: Likewise.
27139 * include/libc-symbols.h: Likewise.
27140 * include/shlib-compat.h: Likewise.
27141 * resolv/Makefile: Likewise.
27142 * resolv/res_libc.c: Likewise.
27143 * rt/Makefile: Likewise.
27144 * sysdeps/i386/asm-syntax.h: Likewise.
27145 * sysdeps/i386/sysdep.h: Likewise.
27146 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27147 * sysdeps/mach/sysdep.h: Likewise.
27148 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
27149 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
27150 * sysdeps/s390/asm-syntax.h: Likewise.
27151 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27152 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27153 * sysdeps/sh/sysdep.h: Likewise.
27154 * sysdeps/unix/sparc/sysdep.h: Likewise.
27155 * sysdeps/wordsize-32/divdi3.c: Likewise.
27156 * sysdeps/x86_64/sysdep.h: Likewise.
27157
00bbd29b
UD
27158 * argp/Versions: Remove _argp_unlock_xxx.
27159
27160 [BZ #13559]
27161 * abilist/ld.abilist: Update. Adjust for removal of tls option.
27162 * abilist/libBrokenLocale.abilist: Likewise.
27163 * abilist/libanl.abilist: Likewise.
27164 * abilist/libc.abilist: Likewise.
27165 * abilist/libcrypt.abilist: Likewise.
27166 * abilist/libdl.abilist: Likewise.
27167 * abilist/libm.abilist: Likewise.
27168 * abilist/libnsl.abilist: Likewise.
27169 * abilist/libpthread.abilist: Likewise.
27170 * abilist/libresolv.abilist: Likewise.
27171 * abilist/librt.abilist: Likewise.
27172 * abilist/libthread_db.abilist: Likewise.
27173 * abilist/libutil.abilist: Likewise.
27174 * abilist/libnss_db.abilist: New file.
27175
27176 * scripts/abilist.awk: Add support for indirect functions.
27177
a2693a0e
UD
27178 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
27179
3f05895f
UD
27180 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
27181
ecb6fb48
UD
27182 * shlib-versions: Remove entries for ports architectures.
27183
664f8cb9
UD
27184 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
27185 files in ports.
27186 * elf/stackguard-macros.h: Remove support for IA-64.
27187 * elf/tst-auditmod1.c: Likewise.
27188 * sysdeps/generic/ldsodefs.h: Likewise.
27189
7ae81d88
UD
27190 * sysdeps/unix/sysv/linux/configure.in: Ports should define
27191 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
27192 configure files.
27193
bdeba135
UD
27194 [BZ #13552]
27195 * configure.in: Remove --enable-omitfp support.
27196 * FAQ.in: Adjust.
27197 * config.make.in: Likewise.
27198 * Makeconfig: Likewise.
27199 * manual/install.texi: Likewise.
27200
d75a0a62
UD
27201 In case anyone cares, the IA-64 architecture could move to ports.
27202 * sysdeps/ia64/*: Removed.
27203 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 27204 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 27205
dcc9756b
UD
27206 [BZ #13555]
27207 * configure.in: Remove entries for unsupported architectures.
27208
d3761ebc 27209 [BZ #13533]
9954432e
UD
27210 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
27211 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
27212 routines.
27213 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
27214 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
27215 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
27216 fall back to using wcrtomb.
27217 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
27218 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
27219 renaming.
27220 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
27221 * wcsmbs/tst-c16c32-1.c: New file.
27222
27223 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
27224 local variable.
27225
c3a87236
UD
27226 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
27227
28926a1b
UD
27228 * elf/tst-unique3.cc: Add explicit declaration of gets.
27229 * elf/tst-unique3lib.cc: Likewise.
27230 * elf/tst-unique3lib2.cc: Likewise.
27231 * elf/tst-unique4.cc: Likewise.
27232
df78418a
UD
27233 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
27234
8ecd6b2a
JM
272352012-01-06 Joseph Myers <joseph@codesourcery.com>
27236
27237 [BZ #13566]
27238 * assert/assert.h (static_assert): Don't define for C++.
27239 * libio/stdio.h (gets): Do declare for C++ <= C++11.
27240 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
27241
9f115170
UD
272422012-01-03 Ulrich Drepper <drepper@gmail.com>
27243
5e0d0300
UD
27244 * iconv/loop.c (single loop): Fix assertion in storing of
27245 remaining bytes.
27246
9f115170
UD
27247 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
27248
81fb02b0
UD
272492012-01-01 Ulrich Drepper <drepper@gmail.com>
27250
27251 * posix/getconf.c: Update copyright year.
27252 * nss/getent.c: Likewise.
a316c1f6 27253 * nss/makedb.c: Likewise.
81fb02b0
UD
27254 * iconv/iconvconfig.c: Likewise.
27255 * iconv/iconv_prog.c: Likewise.
27256 * elf/ldconfig.c: Likewise.
a316c1f6
UD
27257 * elf/pldd.c: Likewise.
27258 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
27259 * catgets/gencat.c: Likewise.
27260 * csu/version.c: Likewise.
27261 * elf/ldd.bash.in: Likewise.
27262 * elf/sprof.c (print_version): Likewise.
27263 * locale/programs/locale.c: Likewise.
27264 * locale/programs/localedef.c: Likewise.
a316c1f6 27265 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
27266 * nscd/nscd.c (print_version): Likewise.
27267 * debug/xtrace.sh: Likewise.
27268 * malloc/memusage.sh: Likewise.
27269 * malloc/mtrace.pl: Likewise.
27270 * debug/catchsegv.sh: Likewise.
27271
2ba92745
JJ
272722011-12-30 Jakub Jelinek <jakub@redhat.com>
27273
27274 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
27275 pure attribute.
27276
dadebdae
UD
272772011-12-24 Ulrich Drepper <drepper@gmail.com>
27278
d3761ebc 27279 [BZ #13533]
db6af3eb
UD
27280 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
27281 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
27282 transformations.
27283 * iconv/gconv_int.h: Likewise.
27284 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
27285 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
27286 from libc for GLIBC_2.16.
27287 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
27288 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
27289 * wcsmbs/uchar.h: Really define mbstate_t.
27290 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
27291 * wcsmbs/c16rtomb.c: New file.
27292 * wcsmbs/mbrtoc16.c: New file.
27293 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
27294 for C/POSIX locale.
27295 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
27296 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
27297
dadebdae
UD
27298 * wcsmbs/wchar.h: Add missing __restrict.
27299
67371b56
UD
273002011-12-23 Ulrich Drepper <drepper@gmail.com>
27301
74033a25
UD
27302 [BZ #13532]
27303 * time/Makefile (routines): Add timespec_get.
27304 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
27305 * time/time.h: Define TIME_UTC and declare timespec_get. Define
27306 timespec for ISO C11.
27307 * time/timespec_get.c: New file.
27308 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
27309 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
27310
380d7e87
UD
27311 [BZ #13531]
27312 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
27313 * stdlib/stdlib.h: Declare aligned_alloc.
27314 * Versions.def: Add GLIBC_2.16 for libc.
27315 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
27316
4e9e7a35
UD
27317 [BZ 13527]
27318 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
27319 ISO C11.
27320
380d7e87 27321 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
27322 code.
27323
03a71829
UD
27324 [BZ #13528]
27325 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
27326
839e283e
UD
27327 [BZ #13529]
27328 * assert/assert.h (static_assert): Define.
27329
ce5294e2 27330 * version.h: Update for 2.16 development version.
90fa7312 27331
8d44e150 27332 [BZ #13526]
d7809905
UD
27333 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
27334 _ISOC11_SOURCE.
27335
c0da14cd
UD
27336 * version.h (RELEASE): Bump for 2.15 release.
27337 * include/features.h (__GLIBC_MINOR__): Bump to 15.
27338
530a3249
MP
27339 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
27340 Patch by Marek Polacek <mpolacek@redhat.com>.
27341
67371b56
UD
27342 * bits/byteswap.h: Protect long long constants with __extension__.
27343 * sysdeps/i386/bits/byteswap.h: Likewise.
27344 * sysdeps/ia64/bits/byteswap.h: Likewise.
27345 * sysdeps/s390/bits/byteswap.h: Likewise.
27346 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27347
15db4de1
LD
273482011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27349
27350 [BZ #13540]
bbe315ea
LD
27351 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
27352 destination buffer.
15db4de1
LD
27353 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27354
2b2596b1
MP
273552011-12-23 Marek Polacek <polacek@redhat.com>
27356
27357 * elf/dl-addr.c (determine_info): Add inline keyword.
27358 * elf/tst-auditmod4b.c (check_avx): Likewise.
27359 * elf/tst-auditmod6b.c (check_avx): Likewise.
27360 * elf/tst-auditmod6c.c (check_avx): Likewise.
27361 * elf/tst-auditmod7b.c (check_avx): Likewise.
27362
70c6c246
UD
273632011-12-23 Ulrich Drepper <drepper@gmail.com>
27364
27365 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
27366 !__SSE_MATH__.
27367
c044cf14
LD
273682011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27369
15db4de1 27370 [BZ #13540]
c044cf14
LD
27371 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
27372 processing for last bytes.
27373
6b13d9d9
BH
273742011-08-06 Bruno Haible <bruno@clisp.org>
27375
d455f537
BH
27376 [BZ #13061]
27377 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
27378 U+0385, not to U+1FEE.
27379
6b13d9d9
BH
27380 [BZ #13062]
27381 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
27382 entry for U+00A5 U+0301.
27383
db910efd
UD
273842011-12-22 Ulrich Drepper <drepper@gmail.com>
27385
27deeafc
UD
27386 [BZ #13166]
27387 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
27388 buffer for the output is too small.
27389
aed9d171
UD
27390 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
27391 optimization.
27392
db910efd
UD
27393 [BZ #13185]
27394 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
27395 SSE flags if possible.
27396
2bd779ae
LD
273972011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27398
e7f9dac3 27399 [BZ #13540]
2bd779ae
LD
27400 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
27401 processing for last bytes.
27402
154bfc16
JM
274032011-12-22 Joseph Myers <joseph@codesourcery.com>
27404
27405 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
27406 (syscall-list-default-options, syscall-list-default-condition)
27407 (syscall-list-includes): Define.
27408 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
27409 list of ABIs and options and #if conditions for each ABI. Do not
27410 handle common syscalls between ABIs specially.
27411 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
27412 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/s390/Makefile (64bit-predefine): Remove.
27417 (syscall-list-variants, syscall-list-32bit-options)
27418 (syscall-list-32bit-condition, syscall-list-64bit-options)
27419 (syscall-list-64bit-condition): Define.
27420 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
27421 Remove.
27422 (syscall-list-variants, syscall-list-32bit-options)
27423 (syscall-list-32bit-condition, syscall-list-64bit-options)
27424 (syscall-list-64bit-condition): Define.
27425 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
27426 Remove.
27427 (syscall-list-variants, syscall-list-32bit-options)
27428 (syscall-list-32bit-condition, syscall-list-64bit-options)
27429 (syscall-list-64bit-condition): Define.
27430
21eaf3a5
UD
274312011-12-22 Ulrich Drepper <drepper@gmail.com>
27432
16c6f992
UD
27433 * locale/iso-639.def: Add brx entry.
27434
41043168
UD
27435 [BZ #13328]
27436 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
27437 Proposed by Mariusz_Cukr <marcukr@op.pl>.
27438
21eaf3a5
UD
27439 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
27440 __feraiseexcept_renamed.
27441
e3a851a2
UD
274422011-12-21 Ulrich Drepper <drepper@gmail.com>
27443
4920765e
UD
27444 [BZ #13538]
27445 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
27446 EPOLLET with unsigned values.
27447 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27448 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27449
e3a851a2
UD
27450 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
27451 to large cancellation.
27452 * math/s_cacoshf.c: Likewise.
27453 * math/s_cacoshl.c: Likewise.
27454
b27e24b8
RK
274552011-11-18 Richard B. Kreckel <kreckel@ginac.de>
27456
27457 [BZ #13305]
aebefeee 27458 [BZ #12786]
b27e24b8
RK
27459 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
27460 * math/s_cacoshf.c: Likewise.
27461 * math/s_cacoshl.c: Likewise.
27462
ee190f67
UD
274632011-12-21 Ulrich Drepper <drepper@gmail.com>
27464
27465 [BZ #13439]
27466 * iconv/gconv.h: Define __GCONV_SWAP.
27467 * iconvdata/unicode.c: The swap bit must be stored in __flags.
27468 * iconvdata/utf-16.c: Likewise.
27469 * iconvdata/utf-32.c: Likewise.
27470
707f25df
AS
274712011-12-21 Andreas Schwab <schwab@linux-m68k.org>
27472
27473 [BZ #13524]
27474 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
27475 numerator after shifting it by one limb.
27476
d2daaa1e
RÁE
274772011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
27478
27479 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
27480 under [__USE_EXTERN_INLINES].
27481
a4647e72
UD
274822011-12-17 Ulrich Drepper <drepper@gmail.com>
27483
27484 [BZ #13446]
27485 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
27486
f0b264f1
AZ
274872011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27488
27489 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
27490 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
27491 optimized code.
27492 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
27493 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
27494 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
27495 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
27496 for strncasecmp/strncasecmp_l compilation.
27497 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
27498 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
27499
8ef4f244
MP
275002011-12-08 Marek Polacek <mpolacek@redhat.com>
27501
27502 [BZ #13484]
27503 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
27504 of __asm__.
27505
97ac2654
UD
275062011-12-17 Ulrich Drepper <drepper@gmail.com>
27507
27508 [BZ #13506]
27509 * time/tzfile.c (__tzfile_read): Check values from file header.
27510
91d2a845
WS
275112011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27512
27513 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
27514 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
27515 * powerpc/powerpc32/dl-start.S: Likewise.
27516 * powerpc/powerpc32/elf/start.S: Likewise.
27517 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27518 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
27519 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
27520 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
27521 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27522 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
27523 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
27524 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27525 * powerpc/powerpc32/fpu/s_round.S: Likewise.
27526 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27527 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27528 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27529 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27530 * powerpc/powerpc32/memset.S: Likewise.
27531 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27532 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27533 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27534 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27535 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27536 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27537 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27538 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27539 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
27540 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
27541 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
27542 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27543 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27544
a1267ba1
AZ
275452011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27546
27547 * math/libm-test.inc: Added more nearbyint tests.
27548 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
27549 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
27550 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
27551 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
27552
ad8ac1bd
RL
275532011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
27554
27555 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
27556 FD_CLOEXEC.
27557
1d3e4b61
UD
275582011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27559
27560 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
27561 Add wcscpy-ssse3 wcscpy-c.
27562 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
27563 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
27564 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
27565 * sysdeps/x86_64/wcschr.S: New file.
27566 * sysdeps/x86_64/wcsrchr.S: New file.
27567 * string/test-strcmp.c: Remove checking of wcscmp function for
27568 wrong alignments.
27569 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
27570 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
27571 wcsrchr-sse2 wcsrchr-c.
27572 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
27573 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
27574 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
27575 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
27576 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
27577 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
27578 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
27579 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
27580 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
27581 * wcsmbc/wcschr.c (WCSCHR): New macro.
27582
5b330a2d
UD
275832011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27584
27585 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
27586 * wcsmbs/test-wcsrchr.c: New file.
27587 * string/test-strrchr.c: Add wcsrchr support.
27588 (WIDE): New macro.
27589 * wcsmbs/test-wcscpy.c: New file.
27590 * string/test-strcpy.c: Add wcscpy support.
27591 (WIDE): New macro.
26428b7c 27592
f039c043
UD
275932011-12-10 Ulrich Drepper <drepper@gmail.com>
27594
27595 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
27596 the inner loop.
27597
850fb039
AS
275982011-12-06 Andreas Schwab <schwab@linux-m68k.org>
27599
27600 [BZ #13472]
27601 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
27602
4efbd5cb
UD
276032011-12-04 Ulrich Drepper <drepper@gmail.com>
27604
52ff5dd0 27605 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 27606 Minor optimizations.
52ff5dd0 27607
4efbd5cb
UD
27608 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
27609 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
27610 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27611
8a426e12
UD
276122011-12-03 Ulrich Drepper <drepper@gmail.com>
27613
aff2453d
UD
27614 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
27615 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
27616 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
27617 for gcc to avoid warnings.
27618 * inet/Makefile (tests): Add tst-checks.
27619 * inet/tst-checks.c: New file.
27620
27621 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
27622 warning.
27623
27624 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
27625 __wmemcmp_sse2.
27626
27627 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
27628 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
27629
8a426e12
UD
27630 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
27631
9bea3473
UD
276322011-12-02 Ulrich Drepper <drepper@gmail.com>
27633
3a965496
UD
27634 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
27635 problem.
27636
9bea3473
UD
27637 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
27638
f101631b
UD
276392011-11-29 Joseph Myers <joseph@codesourcery.com>
27640
27641 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
27642 conditional on GCC version.
27643 (__arch_compare_and_exchange_val_8_acq)
27644 (__arch_compare_and_exchange_val_16_acq)
27645 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
27646 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
27647 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
27648
a98275aa
UD
276492011-12-02 Joseph Myers <joseph@codesourcery.com>
27650
27651 * sysdeps/sh/backtrace.c: New file.
27652
d4cc29a2
AS
276532011-12-02 Andreas Schwab <schwab@redhat.com>
27654
27655 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
27656 parenthesis.
27657
6257af2d
AS
276582011-12-01 Andreas Schwab <schwab@redhat.com>
27659
27660 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
27661 falling back to utime.
27662
b5f44c1a
AS
276632011-11-30 Andreas Schwab <schwab@redhat.com>
27664
27665 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
27666 expectations for float.
27667
f3a6cc0a
AS
276682011-11-29 Andreas Schwab <schwab@redhat.com>
27669
27670 * locale/weight.h (findidx): Add parameter len.
27671 * locale/weightwc.h (findidx): Likewise.
27672 * posix/fnmatch_loop.c (FCT): Adjust caller.
27673 * posix/regcomp.c (build_equiv_class): Likewise.
27674 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
27675 * posix/regexec.c (check_node_accept_bytes): Likewise.
27676 * string/strcoll_l.c (STRCOLL): Likewise.
27677 * string/strxfrm_l.c (STRXFRM): Likewise.
27678
9d65ea3a
UD
276792011-11-17 Ulrich Drepper <drepper@gmail.com>
27680
27681 * Makefile.in: Remove CVSOPT handling.
27682 * configure.in: Remove use of AC_REVISION.
27683 * iconvdata/Makefile (distribute): No need to filter out CVS.
27684 * scripts/list-sources.sh: Remove CVS, subversion and monotone
27685 handling.
27686
5583a086
AS
276872011-11-16 Andreas Schwab <schwab@redhat.com>
27688
27689 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
27690 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
27691 [USE_AS_STRNCASECMP_L]: Likewise.
27692 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
27693 NO_TLS_DIRECT_SEG_REFS.
27694 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
27695 Fix argument offsets for non-PIC.
27696 [USE_AS_STRNCASECMP_L]: Likewise.
27697 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
27698 NO_TLS_DIRECT_SEG_REFS.
27699
d62a8200
UD
277002011-11-15 Ulrich Drepper <drepper@gmail.com>
27701
9d65ea3a 27702 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
27703 O_CLOEXEC.
27704 * locale/loadlocale.c (_nl_load_locale): Likewise.
27705
09f93bd3
AS
277062011-11-15 Andreas Schwab <schwab@redhat.com>
27707
446514f9
AS
27708 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
27709 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
27710 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
27711 (SYSCALL_GETTIME): Set errno on error.
27712
09f93bd3
AS
27713 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
27714 count references to noai6ai_cached.
27715
312be3f9
UD
277162011-11-15 Ulrich Drepper <drepper@gmail.com>
27717
27718 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
27719
27720 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
27721 FD_CLOEXEC for /proc/self/maps.
27722
27723 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
27724 FD_CLOEXEC for /proc/meminfo.
27725
27726 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
27727 gai.conf.
27728
27729 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
27730 FD_CLOEXEC for given file.
27731
27732 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
27733
27734 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
27735 FD_CLOEXEC for /etc/hosts.
27736 (_gethtent): Likewise.
27737
27738 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
27739
27740 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
27741 cancellation and set FD_CLOEXEC for /etc/netgroup.
27742
27743 * nss/nss_files/files-key.c (search): Don't allow cancellation when
27744 reading /etc/publickey.
27745
27746 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
27747 allow cancellation when reading /etc/group.
27748
27749 * nss/nss_files/files-alias.c (internal_setent): Don't allow
27750 cancellation.
27751 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
27752
27753 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
27754 when using data file.
27755
27756 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
27757
27758 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
27759 (write_nis_obj): Use "c" and "e" in fopen.
27760
27761 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
27762
27763 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
27764
27765 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
27766
27767 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
27768
27769 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
27770 locale.alias.
27771
27772 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
27773
27774 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
27775
27776 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
27777
27778 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
27779 file parsing and set FD_CLOEXEC.
27780
82af0fa8
UD
277812011-11-14 Ulrich Drepper <drepper@gmail.com>
27782
27783 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
27784
a5fb313c
AS
277852011-11-14 Andreas Schwab <schwab@redhat.com>
27786
27787 * malloc/arena.c (arena_get2): Don't call reused_arena when
27788 _int_new_arena failed.
27789
6abf3465
UD
277902011-11-14 Ulrich Drepper <drepper@gmail.com>
27791
27792 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
27793 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
27794 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
27795 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27796 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27797 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
27798 to compile strcasecmp and strncasecmp.
27799 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
27800 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
27801
27802 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
27803
76e3966e
UD
278042011-11-13 Ulrich Drepper <drepper@gmail.com>
27805
27806 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
27807 locale-defines.sym to gen-as-const-headers.
27808 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
27809 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
27810 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
27811 to compile strcasecmp and strncasecmp.
27812 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
27813 strcasecmp_l and strncasecmp_l.
27814 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
27815 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
27816 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
27817 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
27818 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
27819 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
27820 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
27821 * sysdeps/i386/i686/multiarch/strncase.S: New file.
27822 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
27823 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
27824 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
27825
ab26144e
UD
278262011-11-12 Ulrich Drepper <drepper@gmail.com>
27827
7edb22ef
UD
27828 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
27829 result of SYSDEP_GETTIME_CPU to retval.
27830 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
27831 parameter list to macro. Remove trailing semicolon. Adjust users.
27832
9694fc44
UD
27833 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
27834 variable.
27835
8ad89ef8
UD
27836 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
27837 mantissa words.
27838 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27839
0c822ef9
UD
27840 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
27841 from unused variable.
27842
874e0564
UD
27843 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
27844 DWARF definitions.
27845 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
27846 for assembling.
27847
3a2edc79
UD
27848 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
27849 over namespaces.
27850
f3c2577f
UD
27851 * sunrpc/rpc_prot.c (rejected): Fix case value.
27852
294ce126
UD
27853 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
27854 unsigned long long int to avoid warnings in shift.
27855
5e2b63c6
UD
27856 * posix/regex_internal.c (re_string_reconstruct): Actually use result
27857 of use of trans.
27858 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
27859 variable tmp.
27860
e7f4b08e
UD
27861 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
27862 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27863 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27864
ab26144e
UD
27865 * nis/nis_table.c (nis_list): Use variable of correct type for
27866 result of __follow_path call.
27867
8a6d5255
AZ
278682011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27869
27870 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
27871 of math functions ceil, trunc, floor, round, and sqrt, when
27872 avaliable on the platform.
27873 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
27874 name clash.
27875 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27876 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27877 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27878
aaddc98c
MP
278792011-10-30 Marek Polacek <mpolacek@redhat.com>
27880
27881 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
27882 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27883
95b7042b
RM
278842011-11-11 Roland McGrath <roland@hack.frob.com>
27885
27886 * include/unistd.h: Fix __readlink return type.
27887 Reported by Chris Metcalf <cmetcalf@tilera.com>.
27888
57769839
UD
278892011-11-11 Ulrich Drepper <drepper@gmail.com>
27890
27891 * stdlib/ucontext.h: Undo last change for makecontext.
27892
edc5984d
AS
278932011-11-11 Andreas Schwab <schwab@redhat.com>
27894
98591e58
AS
27895 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
27896
edc5984d
AS
27897 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
27898 * setjmp/setjmp.h: Mark functions as non-leaf.
27899 * setjmp/bits/setjmp2.h: Likewise.
27900 * stdlib/ucontext.h: Likewise.
27901
77cdc054
AS
279022011-11-10 Andreas Schwab <schwab@redhat.com>
27903
27904 * malloc/arena.c (_int_new_arena): Don't increment narenas.
27905 (reused_arena): Don't check arena limit.
27906 (arena_get2): Atomically check arena limit.
27907
fe72eebd
UD
279082011-11-08 Ulrich Drepper <drepper@gmail.com>
27909
5f078c32
UD
27910 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
27911 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
27912
fe72eebd
UD
27913 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
27914 instructions.
27915
ae1bc2fa
AS
279162011-11-07 Andreas Schwab <schwab@redhat.com>
27917
7583a88d
AS
27918 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
27919 handler when locking.
27920
ae1bc2fa
AS
27921 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27922 Fix size of allocated buffer.
27923
10fb0bfa
AS
279242011-11-04 Andreas Schwab <schwab@redhat.com>
27925
998832a4
AS
27926 [BZ #10103]
27927 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
27928 declarations for long double functions.
27929 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
27930
10fb0bfa
AS
27931 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
27932
3d7ba52b
AS
279332011-11-03 Andreas Schwab <schwab@redhat.com>
27934
a9ae54a1
AS
27935 * nscd/nscd.c (main): Don't start AVC thread until credentials are
27936 installed.
27937
3d7ba52b
AS
27938 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
27939 is disabled.
27940
bc8db248
ST
279412011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
27942
27943 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
27944
45b96dd6
AS
279452011-11-01 Andreas Schwab <schwab@linux-m68k.org>
27946
647776f6
AS
27947 * include/alloca.h (stackinfo_alloca_round): Define.
27948 (extend_alloca): Use it.
27949 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
27950 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
27951 here.
27952
d91a8b93
AS
27953 * scripts/check-local-headers.sh: Ignore libaudit.h.
27954
45b96dd6
AS
27955 * nscd/Makefile (extra-objs): Make recursively expanded.
27956
432d41ce
UD
279572011-11-01 Ulrich Drepper <drepper@gmail.com>
27958
34372fc6
UD
27959 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27960 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27961
fadb59f8
UD
27962 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
27963 * posix/tst-rfc3484-2.c: Likewise.
27964 * posix/tst-rfc3484-3.c: Likewise.
27965
78239589
UD
27966 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27967 process_vm_writev.
27968 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
27969 process_vm_writev.
27970 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
27971 process_vm_writev from libc using GLIBC_2.15 version.
27972
432d41ce
UD
27973 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
27974
02f9c6cf
PP
279752011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
27976
27977 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
27978 stack usage.
27979
3a2c0242
UD
279802011-10-31 Ulrich Drepper <drepper@gmail.com>
27981
f4ec4833
UD
27982 [BZ #13367]
27983 * nss/getent.c (initgroups_keys): Show error message in case no group
27984 names are given.
27985
3a2c0242
UD
27986 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
27987 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
27988 __bump_nl_timestamp.
27989 * nscd/connections (nscd_init): When host database is served open
27990 netlink socket and request notification about configuration changes.
27991 (main_loop_poll): Track netlink file descriptor and bump timestamp
27992 in case data becomes available.
27993 (main_loop_epoll): Likewise.
27994 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
27995 (database_pers_head): Add extra_data fileds.
27996 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27997 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
27998 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
27999 Adjust caller.
28000 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
28001 in6ai data, call __free_in6ai.
28002 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
28003 Add -DHAVE_NETLINK.
28004 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
28005 interface information. Reuse previous data if netlink timestamp
28006 is not changed.
28007 (__bump_nl_timestamp): New function.
28008 (__free_in6ai): New function.
28009
636064eb
UD
280102011-10-30 Ulrich Drepper <drepper@gmail.com>
28011
28012 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
28013 close_not_cancel_no_status here.
28014 (__check_pf): Reorganize code a bit to not call close twice if OOM.
28015
9beb2334
UD
280162011-10-29 Ulrich Drepper <drepper@gmail.com>
28017
6ef76f3b
UD
28018 [BZ #13276]
28019 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
28020 return value.
28021
0ffc4f3e 28022 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
28023 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
28024 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
28025
cb95113e
UD
280262011-07-03 Andreas Jaeger <aj@suse.de>
28027
28028 [BZ #10709]
28029 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
28030 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
28031 * math/libm-test.inc (sin_test): Add test case.
28032
a1b560ff
UD
280332011-10-29 Ulrich Drepper <drepper@gmail.com>
28034
c9aaface
UD
28035 [BZ #13337]
28036 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
28037 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28038
d272e7f1
UD
28039 * elf/chroot_canon.c (chroot_canon): Cleanups.
28040
1bc33071
UD
28041 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
28042
1760874d
TJ
28043 [BZ #13335]
28044 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
28045 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28046
51d91b18
UD
28047 * string/test-strchr.c: Make usable for strchrnul testing.
28048 * string/test-strchrnul.c: New file.
28049 * string/Makefile (strop-tests): Add strchrnul.
28050
a1b560ff 28051 * po/it.po: Update from translation team.
b611fb81 28052 * po/es.po: Likewise.
a1b560ff 28053
a5b81e1f
UD
280542011-10-28 Ulrich Drepper <drepper@gmail.com>
28055
fd52bc6d
UD
28056 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
28057 the three constants needed as parameters. Drop the others.
28058 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
28059 __m128i_strloadu_tolower.
52e4b9eb
UD
28060 Create and initialize variable zero and use it in all the places
28061 where _mm_setzero_si128 was used.
fd52bc6d 28062
a5b81e1f
UD
28063 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
28064 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
28065 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
28066 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
28067 anymore.
28068 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
28069 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
28070 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
28071 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
28072 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
28073 __mpranred, __mptan.
28074 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
28075 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
28076 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
28077 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
28078 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
28079 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
28080 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
28081 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
28082 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
28083
b4343346
AS
280842011-10-28 Andreas Schwab <schwab@redhat.com>
28085
0c92d8a8
AS
28086 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
28087 redefine if SHARED.
28088 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
28089
b4343346
AS
28090 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
28091 wide char related routines to wcsmbs subdir.
28092
3871f58f
AS
280932011-10-27 Andreas Schwab <schwab@redhat.com>
28094
28095 [BZ #13344]
28096 * misc/sys/cdefs.h (__THROWNL): Define.
28097 * posix/unistd.h: Use __THREADNL instead of __THREAD
28098 for memory synchronization functions.
28099
94d44d9f
RM
281002011-10-26 Roland McGrath <roland@hack.frob.com>
28101
21b64b15 28102 [BZ #13349]
94d44d9f
RM
28103 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
28104 doesn't exist.
28105 * manual/stdio.texi (Obstack Streams): Node removed.
28106
f6ce9294
AS
281072011-10-26 Andreas Schwab <schwab@redhat.com>
28108
80479147
AS
28109 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
28110 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28111 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28112
f6ce9294
AS
28113 * math/math_private.h (math_force_eval): Allow non-addressable
28114 arguments.
28115 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
28116
618280a1
UD
281172011-10-25 Ulrich Drepper <drepper@gmail.com>
28118
e0016b11
UD
28119 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
28120 file is not needed.
28121
28122 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
28123 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28124 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28125 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28126 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28127 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28128 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28129 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
28130 Add AVX variants.
28131 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
28132 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
28133 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
28134 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
28135 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
28136 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
28137 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
28138 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
28139 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
28140 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
28141 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
28142 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
28143 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
28144 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
28145 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
28146 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
28147 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
28148 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
28149 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
28150
28151 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
28152 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
28153
618280a1
UD
28154 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
28155 place. Use VEX encoding when compiling for AVX.
28156
37822576
AS
281572011-10-25 Andreas Schwab <schwab@redhat.com>
28158
1f1e1947
AS
28159 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
28160 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28161
37822576
AS
28162 * string/test-strchr.c (do_test): Don't generate NUL bytes.
28163
31ea014d
UD
281642011-10-25 Ulrich Drepper <drepper@gmail.com>
28165
d7826aa1 28166 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 28167 useless if() expression.
d7826aa1
UD
28168 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28169 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28170 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28171 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28172 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28173 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28174 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28175 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28176 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28177 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28178 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28179 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28180 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28181 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28182 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28183 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28184 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28185 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28186 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28187
31ea014d
UD
28188 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
28189
16437fec
AS
281902011-10-25 Andreas Schwab <schwab@redhat.com>
28191
28192 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
28193 condition.
28194 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28195
31d3cc00
UD
281962011-10-25 Ulrich Drepper <drepper@gmail.com>
28197
28198 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
28199 .text section. Avoid duplicate constants.
28200 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28201 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28202 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28203 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28204 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28205 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28206 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28207 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28208 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28209 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
28210 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28211 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28212 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28213 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28214 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28215 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28216 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28217 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28218 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28219 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28220 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28221 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28222 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28223 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
28224 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
28225 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
28226 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
28227 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
28228 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
28229 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
28230 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
28231 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
28232 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28233 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
28234 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
28235 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
28236 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
28237 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
28238 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
28239 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
28240 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
28241 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
28242 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
28243 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
28244 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
28245
58985aa9
UD
282462011-10-24 Ulrich Drepper <drepper@gmail.com>
28247
202c9deb
UD
28248 * sysdeps/x86_64/dla.h: Move to ...
28249 * sysdeps/x86_64/fpu/dla.h: ...here.
28250 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
28251 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 28252
af968f62
UD
28253 * config.make.in: Add have-mfma4 entry.
28254 * configure.in: Substitute libc_cv_cc_fma4.
28255 * math/Makefile (dbl-only-routines): Add sincostab.
28256 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
28257 Use __sincostab not sincos.
28258 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
28259 name is a macro.
28260 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28261 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28262 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28263 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
28264 using __copysign.
28265 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
28266 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
28267 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
28268 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
28269 and __inv.
28270 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
28271 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
28272 __copysign.
28273 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
28274 define aliases when function name is a macro.
28275 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
28276 sysdeps/ieee754/dbl-64/sincos.tbl.
28277 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
28278 fma4-enabled routines.
28279 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
28280 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
28281 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
28282 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
28283 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
28284 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
28285 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
28286 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
28287 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
28288 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
28289 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
28290 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
28291 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
28292 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
28293 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
28294 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
28295 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
28296 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
28297 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
28298 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
28299 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
28300 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
28301 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
28302 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
28303 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
28304 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
28305 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
28306 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
28307 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
28308 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
28309
58985aa9
UD
28310 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
28311 rename.
28312 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28313 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28314 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28315 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28316 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28317 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28318 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28319 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28320
a201fbcf
AS
283212011-10-24 Andreas Schwab <schwab@redhat.com>
28322
28323 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
28324
fc2ee42a
LD
283252011-10-23 Ulrich Drepper <drepper@gmail.com>
28326
bb3129bd
UD
28327 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
28328
0275fff8
UD
28329 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
28330 prediction.
28331 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
28332
2fa2ae85
UD
28333 * string/strnlen.c: Don't define STRNLEN, reverse logic.
28334 Remove unused variable magic_bits.
28335 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
28336
fc2ee42a
LD
28337 * string/strnlen.c: Define and use STRNLEN macro.
28338 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
28339 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
28340 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
28341 * wcsmbs/wcslen.c: Define and use WCSLEN.
28342 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
28343 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
28344 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
28345 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
28346 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
28347 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
28348 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28349
ce7dd29f
LD
283502011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28351
28352 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28353 strnlen-sse2-no-bsf.
28354 Rename strlen-no-bsf to strlen-sse2-no-bsf.
28355 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
28356 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
28357 Add strnlen support.
28358 (USE_AS_STRNLEN): New macro.
28359 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
28360 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
28361 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
28362 * sysdeps/x86_64/wcslen.S: New file.
28363
979c70a3
MZ
283642011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
28365
28366 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28367 XMM-moves are used for copying on small sizes.
28368
2d09f82f
LD
283692011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28370
28371 * wcsmbs/Makefile (strop-tests): Add wcschr.
28372 * wcsmbs/test-wcschr.c: New file.
28373 * string/test-strchr.c: Update.
28374 Add wcschr support.
28375 (WIDE): New macro.
28376
619fccca
LD
283772011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28378
2d09f82f 28379 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
28380 * wcsmbs/test-wcslen.c: New file.
28381 * string/test-strlen.c: Update.
28382 Add wcslen support.
28383 (WIDE): New macro.
28384
09f699ea
UD
283852011-10-23 Ulrich Drepper <drepper@gmail.com>
28386
28387 * po/it.po: Update from translation team.
28388
95584d3b
LD
283892011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28390
28391 * sysdeps/x86_64/wcscmp.S: Update.
28392 Fix wrong comparison semantics.
28393 wcscmp shall use signed comparison not unsigned.
28394 Don't use substraction to avoid overflow bug.
28395 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
28396 * wcsmbc/wcscmp.c: Likewise.
28397 * string/test-strcmp.c: Likewise.
28398 Add new tests to check cases with negative values.
28399
c8b3296b
UD
284002011-10-23 Ulrich Drepper <drepper@gmail.com>
28401
28402 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
28403 * sysdeps/x86_64/dla.h: ...here. New file.
28404 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
28405 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28406 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28407 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28408 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28409 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28410 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28411 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28412 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28413
246ad57a
AS
284142011-10-23 Andreas Schwab <schwab@linux-m68k.org>
28415
28416 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
28417 __ynl_finite aliases.
28418
a1a87169
UD
284192011-10-22 Ulrich Drepper <drepper@gmail.com>
28420
0d355eb7
UD
28421 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28422
a1a87169
UD
28423 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
28424 define DLA_FMA.
28425 [DLA_FMA] (EMULV): Use DLA_FMA.
28426 [DLA_FMA] (MUL12): Use EMULV.
28427 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
28428 that are not needed.
28429 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28430 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28431 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28432 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28433 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28434 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28435 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28436
ee2aafe0
AS
284372011-10-22 Andreas Schwab <schwab@linux-m68k.org>
28438
28439 * math/s_nan.c: Undef __nan.
28440 * math/s_nanf.c: Undef __nanf.
28441 * math/s_nanl.c: Undef __nanl.
28442 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
28443 "math_private.h".
28444
bc62c2fb
UD
284452011-10-22 Ulrich Drepper <drepper@gmail.com>
28446
77425c63
UD
28447 * math/s_catan.c: Add branch predictions.
28448 * math/s_catanf.c: Likewise.
28449 * math/s_catanh.c: Likewise.
28450 * math/s_catanhf.c: Likewise.
28451 * math/s_catanhl.c: Likewise.
28452 * math/s_catanl.c: Likewise.
28453 * math/s_cexp.c: Likewise.
28454 * math/s_cexpf.c: Likewise.
28455 * math/s_cexpl.c: Likewise.
28456 * math/s_clog.c: Likewise.
28457 * math/s_clog10.c: Likewise.
28458 * math/s_clog10f.c: Likewise.
28459 * math/s_clog10l.c: Likewise.
28460 * math/s_clogf.c: Likewise.
28461 * math/s_clogl.c: Likewise.
28462 * math/s_csqrt.c: Likewise.
28463 * math/s_csqrtf.c: Likewise.
28464 * math/s_csqrtl.c: Likewise.
28465 * math/s_ctanf.c: Likewise.
28466 * math/s_ctanh.c: Likewise.
28467 * math/s_ctanhf.c: Likewise.
28468 * math/s_ctanhl.c: Likewise.
28469 * math/s_ctanl.c: Likewise.
28470
bc62c2fb
UD
28471 * math/math_private.h: Define __nan, __nanf, __nanl.
28472 * math/s_cacosh.c: Include <math_private.h>.
28473 * math/s_cacoshl.c: Likewise.
28474 * math/s_casinh.c: Likewise.
28475 * math/s_casinhf.c: Likewise.
28476 * math/s_casinhl.c: Likewise.
28477 * math/s_ccos.c: Rely entire on ccosh.
28478 * math/s_ccosf.c: Rely entire on ccoshf.
28479 * math/s_ccosl.c: Rely entirely on ccoshl.
28480 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
28481 Remove tests for FE_INVALID.
28482 * math/s_ccoshf.c: Likewise.
28483 * math/s_ccoshl.c: Likewise.
28484 * math/s_csin.c: Likewise.
28485 * math/s_csinf.c: Likewise.
28486 * math/s_csinh.c Likewise.
28487 * math/s_csinhf.c: Likewise.
28488 * math/s_csinhl.c: Likewise.
28489 * math/s_csinl.c: Likewise.
28490 * math/s_ctan.c: Likewise.
28491 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
28492 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
28493 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
28494
8ec250a4
UD
284952011-10-21 Ulrich Drepper <drepper@gmail.com>
28496
c196fed8
UD
28497 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
28498 compilation problems.
28499
8ec250a4
UD
28500 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
28501 __builtin_expect.
28502
8d4f46c6
UD
285032011-10-20 Ulrich Drepper <drepper@gmail.com>
28504
ed72b654
UD
28505 * sysdeps/i386/configure.in: Test for -mfma4 option.
28506 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
28507 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
28508 COMMON_CPUID_INDEX_80000001.
28509 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
28510 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
28511 use it if FMA3 is not supported.
28512 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
28513
8d4f46c6
UD
28514 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
28515 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28516
d45c60c2
AS
285172011-10-20 Andreas Schwab <schwab@redhat.com>
28518
28519 [BZ #12892]
28520 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
28521 it would create a cycle with a link time dependency.
28522
d9a4d2ab
UD
285232011-10-19 Ulrich Drepper <drepper@gmail.com>
28524
855d1560
UD
28525 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
28526 instruction.
28527 * string/Makefile (strop-tests): Add rawmemchr.
28528 * string/test-rawmemchr.c: New file.
28529
d9a4d2ab
UD
28530 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
28531 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
28532 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
28533 when compiling str{,n}casecmp and when AVX is available. Hook up
28534 new optimized code in initializers.
28535
8f3b1ffe
AS
285362011-10-19 Andreas Schwab <schwab@redhat.com>
28537
28538 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
28539 __feraiseexcept instead of feraiseexcept.
28540
d38f1dba
UD
285412011-10-18 Ulrich Drepper <drepper@gmail.com>
28542
d9a8d0ab
UD
28543 * math/math_private.h: Define defaults for libc_fetestexcept and
28544 libc_feupdateenv.
28545 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
28546 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
28547 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28548 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28549 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28550 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28551 libc_fetestexcept and libc_feupdateenv.
28552
4855e3dd
UD
28553 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
28554 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
28555 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
28556 * sysdeps/x86_64/fpu/math_private.h: Define special version of
28557 libc_feholdexcept_setround.
28558
581d30e3
UD
28559 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
28560 Add s_nearbyint-c and s_nearbyintf-c.
28561 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
28562 nearbyintf inlines.
28563 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
28564 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
28565 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
28566 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
28567
d38f1dba
UD
28568 * math/math_private.h: Define defaults for libc_fegetround,
28569 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
28570 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
28571 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
28572 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
28573 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
28574 standard functions.
28575 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28576 Remove comments and hacks for old compiler versions.
28577 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28578 libc_fegetround, libc_fesetround, libc_feholdexcept, and
28579 libc_feholdexceptl.
28580
caa6c9d8
AS
285812011-10-18 Andreas Schwab <schwab@redhat.com>
28582
28583 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
28584 (__feraiseexcept_renamed): Add __NTH.
28585 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
28586 namespace violations.
28587
97c066e6
UD
285882011-10-17 Ulrich Drepper <drepper@gmail.com>
28589
99ce7b04
UD
28590 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
28591
1004d182
UD
28592 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
28593
228a984d
UD
28594 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
28595 recently added interfaces.
28596 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
28597
c8553a6a
UD
28598 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
28599 about macro parameter expansion.
28600
ed22dcf6
UD
28601 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
28602 __NO_MATH_INLINES is defined. Cleanups.
28603
28604 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
28605 and __floorf is target has SSE4.1.
28606 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
28607 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
28608 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
28609 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
28610
b171c137
UD
28611 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
28612 name.
28613 (floorf): Likewise.
28614
97c066e6
UD
28615 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
28616
629f62ef
AS
286172011-10-17 Andreas Schwab <schwab@redhat.com>
28618
49a43d80
AS
28619 * misc/sys/cdefs.h: Fix last change.
28620
629f62ef
AS
28621 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
28622 database lookup.
28623
e453f6cd
UD
286242011-10-16 Ulrich Drepper <drepper@gmail.com>
28625
aa78043a
UD
28626 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
28627
ad0f5cad
UD
28628 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
28629 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28630 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28631 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28632 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28633 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28634 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28635 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28636 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28637 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
28638 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
28639 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
28640 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
28641 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
28642 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
28643 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
28644 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
28645 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
28646 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
28647 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
28648 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
28649 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
28650
28651 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
28652 ceil, ceilf, floor, floorf.
28653
28654 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
28655 Perform IRELATIVE relocations last.
28656
e453f6cd
UD
28657 * elf/do-rel.h: Add another parameter nrelative, replacing the
28658 local variable with the same name. Change name of the function
28659 to end in Rel or Rela (uppercase).
28660 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
28661 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
28662 elf_dynamic_do_##reloc function.
28663
fd5bdc09
UD
286642011-10-15 Ulrich Drepper <drepper@gmail.com>
28665
79b195b5
UD
28666 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
28667 is sufficient, at least on modern CPUs.
28668
d4a28569
UD
28669 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
28670
b61099b5
UD
28671 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
28672 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
28673
bcf01e6d
UD
28674 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
28675 __expl_finite.
28676 * math/bits/math-finite.h: Add entries for exp.
28677 * math/e_expl.c: Add __*_finite alias.
28678 * sysdeps/i386/fpu/e_exp.S: Likewise.
28679 * sysdeps/i386/fpu/e_expf.S: Likewise.
28680 * sysdeps/i386/fpu/e_expl.c: Likewise.
28681 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28682 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28683 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28684 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28685 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
28686 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28687 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28688
ba1a0d59
UD
28689 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
28690 is sufficient, at least on modern CPUs.
28691
fd5bdc09
UD
28692 * ctype/ctype-info.c (__ctype_init): Define.
28693 * include/ctype.h (__ctype_init): Declare.
28694 (__ctype_b_loc): The variable is always initialized.
28695 (__ctype_toupper_loc): Likewise.
28696 (__ctype_tolower_loc): Likewise.
28697 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
28698 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
28699
7872cfb0
AS
287002011-10-15 Andreas Schwab <schwab@linux-m68k.org>
28701
b468825a
AS
28702 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
28703
7872cfb0
AS
28704 * configure.in: Also look in $cxxmachine/include for C++ system
28705 headers.
28706
be13f7bf
LD
287072011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28708
28709 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
28710 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
28711 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
28712 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
28713 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
28714 (USE_AS_WMEMCMP): New macro.
28715 Fixing indents.
28716 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
28717 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
28718 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
28719 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
28720 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28721 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
28722 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
28723 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
28724 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
28725 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
28726 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
28727 (USE_AS_WMEMCMP): New macro.
28728 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
28729 * sysdeps/string/test-memcmp.c: Update.
28730 Fix simple_wmemcmp.
28731 Add new tests.
28732 * wcsmbs/wmemcmp.c: Update.
28733 (WMEMCMP): New macro.
28734 Fix overflow bug.
28735
556a2007
AJ
287362011-10-12 Andreas Jaeger <aj@suse.de>
28737
28738 [BZ #13268]
28739 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
28740
538faaa7
UD
287412011-10-15 Ulrich Drepper <drepper@gmail.com>
28742
ab6737ff
UD
28743 * libio/iofwide.c (do_length): Avoid warning.
28744
538faaa7
UD
28745 * ctype/ctype.h (__isctype_f): Add missing __THROW.
28746
396a21b1
UD
287472011-10-14 Ulrich Drepper <drepper@gmail.com>
28748
cdf2901f
UD
28749 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
28750
38ad40ce
UD
28751 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
28752 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
28753 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
28754 * sysdeps/i386/i686/fpu/e_log.S: New file.
28755 * sysdeps/i386/i686/fpu/e_logf.S: New file.
28756 * sysdeps/i386/i686/fpu/e_logl.S: New file.
28757
396a21b1
UD
28758 * ctype/ctype.h: Add support for inlined isXXX functions when
28759 compiling C++ code.
28760
6b1f68c9
AS
287612011-10-14 Andreas Schwab <schwab@redhat.com>
28762
349290c0
AS
28763 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28764
6b1f68c9
AS
28765 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
28766
f2282d42
RM
287672011-10-13 Roland McGrath <roland@hack.frob.com>
28768
28769 [BZ #13291]
28770 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
28771
5298ffa8
AS
287722011-10-13 Andreas Schwab <schwab@redhat.com>
28773
714fad23
AS
28774 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
28775 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
28776 feraiseexcept.
28777
81dcc7fb
AS
28778 * sysdeps/x86_64/memrchr.S: Check for zero size.
28779
5298ffa8
AS
28780 * string/stratcliff.c: Add memrchr tests.
28781
951fbcec
LD
287822011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28783
28784 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28785 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
28786 rawmemchr-sse2 rawmemchr-sse2-bsf.
28787 * sysdeps/i386/i686/multiarch/memchr.S: New file.
28788 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
28789 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
28790 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
28791 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
28792 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
28793 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
28794 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
28795 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
28796 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
28797 * string/memrchr.c (MEMRCHR): New macro.
28798
0ac5ae23
UD
287992011-10-12 Ulrich Drepper <drepper@gmail.com>
28800
28801 Add integration with gcc's -ffinite-math-only and optimize wrapper
28802 functions in libm.
28803 * Versions.def: Define GLIBC_2.15 version for libm.
28804 * math/Makefile (headers): Add bits/math-finite.h.
28805 * math/bits/math-finite.h: New file.
28806 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
28807 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
28808 * math/e_acoshl.c: Add __*_finite alias.
28809 * math/e_acosl.c: Likewise.
28810 * math/e_asinl.c: Likewise.
28811 * math/e_atan2l.c: Likewise.
28812 * math/e_atanhl.c: Likewise.
28813 * math/e_coshl.c: Likewise.
28814 * math/e_exp10.c: Likewise.
28815 * math/e_exp10f.c: Likewise.
28816 * math/e_exp10l.c: Likewise.
28817 * math/e_exp2l.c: Likewise.
28818 * math/e_fmodl.c: Likewise.
28819 * math/e_gammal_r.c: Likewise.
28820 * math/e_hypotl.c: Likewise.
28821 * math/e_j0l.c: Likewise.
28822 * math/e_j1l.c: Likewise.
28823 * math/e_jnl.c: Likewise.
28824 * math/e_lgammal_r.c: Likewise.
28825 * math/e_log10l.c: Likewise.
28826 * math/e_log2l.c: Likewise.
28827 * math/e_logl.c: Likewise.
28828 * math/e_powl.c: Likewise.
28829 * math/e_sinhl.c: Likewise.
28830 * math/e_sqrtl.c: Likewise.
28831 * math/e_scalb.c: Completely rewritten and optimized.
28832 * math/e_scalbf.c: Likewise.
28833 * math/e_scalbl.c: Likewise.
28834 * math/w_acos.c: Likewise.
28835 * math/w_acosf.c: Likewise.
28836 * math/w_acosl.c: Likewise.
28837 * math/w_acosh.c: Likewise.
28838 * math/w_acoshf.c: Likewise.
28839 * math/w_acoshl.c: Likewise.
28840 * math/w_asin.c: Likewise.
28841 * math/w_asinf.c: Likewise.
28842 * math/w_asinl.c: Likewise.
28843 * math/w_atan2.c: Likewise.
28844 * math/w_atan2f.c: Likewise.
28845 * math/w_atan2l.c: Likewise.
28846 * math/w_atanh.c: Likewise.
28847 * math/w_atanhf.c: Likewise.
28848 * math/w_atanhl.c: Likewise.
28849 * math/w_exp10.c: Likewise.
28850 * math/w_exp10f.c: Likewise.
28851 * math/w_exp10l.c: Likewise.
28852 * math/w_fmod.c: Likewise.
28853 * math/w_fmodf.c: Likewise.
28854 * math/w_fmodl.c: Likewise.
28855 * math/w_j0.c: Likewise.
28856 * math/w_j0f.c: Likewise.
28857 * math/w_j0l.c: Likewise.
28858 * math/w_j1.c: Likewise.
28859 * math/w_j1f.c: Likewise.
28860 * math/w_j1l.c: Likewise.
28861 * math/w_jn.c: Likewise.
28862 * math/w_jnf.c: Likewise.
28863 * math/w_log.c: Likewise.
28864 * math/w_logf.c: Likewise.
28865 * math/w_logl.c: Likewise.
28866 * math/w_log10.c: Likewise.
28867 * math/w_log10f.c: Likewise.
28868 * math/w_log10l.c: Likewise.
28869 * math/w_log2.c: Likewise.
28870 * math/w_log2f.c: Likewise.
28871 * math/w_log2l.c: Likewise.
28872 * math/w_pow.c: Likewise.
28873 * math/w_powf.c: Likewise.
28874 * math/w_powl.c: Likewise.
28875 * math/w_remainder.c: Likewise.
28876 * math/w_remainderf.c: Likewise.
28877 * math/w_remainderl.c: Likewise.
28878 * math/w_scalb.c: Likewise.
28879 * math/w_scalbf.c: Likewise.
28880 * math/w_scalbl.c: Likewise.
28881 * math/w_sqrt.c: Likewise.
28882 * math/w_sqrtf.c: Likewise.
28883 * math/w_sqrtl.c: Likewise.
28884 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
28885 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
28886 used.
28887 * math/math_private.h: Declare __kernel_standard_f.
28888 * math/w_cosh.c: Remove cruft and optimize a bit.
28889 * math/w_coshf.c: Likewise.
28890 * math/w_coshl.c: Likewise.
28891 * math/w_exp2.c: Likewise.
28892 * math/w_exp2f.c: Likewise.
28893 * math/w_exp2l.c: Likewise.
28894 * math/w_hypot.c: Likewise.
28895 * math/w_hypotf.c: Likewise.
28896 * math/w_hypotl.c: Likewise.
28897 * math/w_lgamma.c: Likewise.
28898 * math/w_lgamma_r.c: Likewise.
28899 * math/w_lgammaf.c: Likewise.
28900 * math/w_lgammaf_r.c: Likewise.
28901 * math/w_lgammal.c: Likewise.
28902 * math/w_lgammal_r.c: Likewise.
28903 * math/w_sinh.c: Likewise.
28904 * math/w_sinhf.c: Likewise.
28905 * math/w_sinhl.c: Likewise.
28906 * math/w_tgamma.c: Likewise.
28907 * math/w_tgammaf.c: Likewise.
28908 * math/w_tgammal.c: Likewise.
28909 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28910 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28911 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
28912 Minor optimizations. Pretty printing. Remove cruft.
28913 * sysdeps/i386/fpu/e_acosf.S: Likewise.
28914 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28915 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28916 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28917 * sysdeps/i386/fpu/e_acosl.c: Likewise.
28918 * sysdeps/i386/fpu/e_asin.S: Likewise.
28919 * sysdeps/i386/fpu/e_asinf.S: Likewise.
28920 * sysdeps/i386/fpu/e_atan2.S: Likewise.
28921 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
28922 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
28923 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28924 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28925 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28926 * sysdeps/i386/fpu/e_exp10.S: Likewise.
28927 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
28928 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
28929 * sysdeps/i386/fpu/e_exp2.S: Likewise.
28930 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
28931 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
28932 * sysdeps/i386/fpu/e_fmod.S: Likewise.
28933 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
28934 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
28935 * sysdeps/i386/fpu/e_hypot.S: Likewise.
28936 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
28937 * sysdeps/i386/fpu/e_log.S: Likewise.
28938 * sysdeps/i386/fpu/e_log10.S: Likewise.
28939 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28940 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28941 * sysdeps/i386/fpu/e_log2.S: Likewise.
28942 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28943 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28944 * sysdeps/i386/fpu/e_logf.S: Likewise.
28945 * sysdeps/i386/fpu/e_logl.S: Likewise.
28946 * sysdeps/i386/fpu/e_pow.S: Likewise.
28947 * sysdeps/i386/fpu/e_powf.S: Likewise.
28948 * sysdeps/i386/fpu/e_powl.S: Likewise.
28949 * sysdeps/i386/fpu/e_remainder.S: Likewise.
28950 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
28951 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
28952 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28953 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28954 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28955 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
28956 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
28957 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
28958 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28959 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28960 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28961 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28962 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28963 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28964 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28965 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28966 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28967 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28968 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28969 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28970 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28971 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28972 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28973 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28974 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28975 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28976 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28977 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28978 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28979 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28980 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28981 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28982 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28983 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28984 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28985 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28986 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
28987 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28988 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28989 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28990 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28991 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28992 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28993 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28994 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28995 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28996 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28997 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28998 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28999 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29000 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29001 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29002 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29003 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29004 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29005 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29006 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29007 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
29008 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29009 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29010 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29011 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29012 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29013 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29014 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29015 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29016 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29017 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29018 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29019 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29020 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29021 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29022 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29023 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29024 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29025 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29026 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
29027 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29028 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29029 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29030 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29031 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29032 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29033 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29034 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29035 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29036 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29037 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29038 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29039 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29040 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
29041 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29042 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29043 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29044 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29045 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29046 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29047 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29048 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29049 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29050 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29051 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29052 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29053 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29054 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29055 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
29056 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
29057 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
29058 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
29059 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
29060 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
29061 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
29062 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29063 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29064 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29065 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29066 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
29067 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29068 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
29069 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
29070 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
29071 (__isnanf): Likewise.
29072 (__isinf_ns): Likewise.
29073 (__isinf_nsf): Likewise.
29074 (__finite): Likewise.
29075 (__finitef): Likewise.
29076 (__ieee754_sqrt): Define as macro.
29077 (__ieee754_sqrtf): Define as macro.
29078 (__ieee754_sqrtl): Define as macro.
29079 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
29080 inlined copy.
29081 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
29082 __FINITE_MATH_ONLY__ consistent.
29083 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
29084
12cc2fcd
AS
290852011-10-10 Andreas Schwab <schwab@linux-m68k.org>
29086
a843a204
AS
29087 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
29088 of rawmemchr.
29089
12cc2fcd
AS
29090 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
29091
c853acd5
UD
290922011-10-09 Ulrich Drepper <drepper@gmail.com>
29093
29094 * po/ja.po: Update from translation team.
29095
c658d255
RM
290962011-10-08 Roland McGrath <roland@hack.frob.com>
29097
110946e4
RM
29098 * locale/programs/locarchive.c (prepare_address_space): New function.
29099 (create_archive, enlarge_archive, open_archive): Use it.
29100
50604220
RM
29101 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
29102 inside [SHARED], where it is used.
29103
c658d255
RM
29104 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
29105
29106 * nss/getent.c (netgroup_keys): Remove unused variable.
29107 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29108
6a621eb7
UD
291092011-10-08 Ulrich Drepper <drepper@gmail.com>
29110
7edb55ce
UD
29111 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
29112 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
29113 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
29114 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
29115 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
29116 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
29117 * math/Makefile (libm-calls): Add s_isinf_ns.
29118 * math/divtc3.c: Use __isinf_nsl instead of isinf.
29119 * math/multc3.c: Likewise.
29120 * math/s_casin.c: Likewise.
29121 * math/s_casinf.c: Likewise.
29122 * math/s_casinl.c: Likewise.
29123 * math/s_ccos.c: Likewise.
29124 * math/s_ccosf.c: Likewise.
29125 * math/s_ccosl.c: Likewise.
29126 * math/s_ctan.c: Likewise.
29127 * math/s_ctanf.c: Likewise.
29128 * math/s_ctanh.c: Likewise.
29129 * math/s_ctanhf.c: Likewise.
29130 * math/s_ctanhl.c: Likewise.
29131 * math/s_ctanl.c: Likewise.
29132 * math/w_fmod.c: Likewise.
29133 * math/w_fmodf.c: Likewise.
29134 * math/w_fmodl.c: Likewise.
29135 * math/w_remainder.c: Likewise.
29136 * math/w_remainderf.c: Likewise.
29137 * math/w_remainderl.c: Likewise.
29138 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
29139 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
29140 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
29141 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
29142 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
29143 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
29144 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
29145 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
29146
187da0ae
UD
29147 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
29148 of the number.
29149 * stdio-common/printf_fphex.c: Likewise.
29150 * stdio-common/printf_size.c: Likewise.
29151
9277c064
UD
29152 * math/e_exp10.c: Include math_private.h using <...> not "...".
29153 * math/e_exp10f.c: Likewise.
29154 * math/e_exp10l.c: Likewise.
29155 * math/e_exp2l.c: Likewise.
29156 * math/e_j0l.c: Likewise.
29157 * math/e_j1l.c: Likewise.
29158 * math/e_jnl.c: Likewise.
29159 * math/e_lgammal_r.c: Likewise.
29160 * math/e_rem_pio2l.c: Likewise.
29161 * math/e_scalb.c: Likewise.
29162 * math/e_scalbf.c: Likewise.
29163 * math/e_scalbl.c: Likewise.
29164 * math/k_cosl.c: Likewise.
29165 * math/k_sinl.c: Likewise.
29166 * math/k_tanl.c: Likewise.
29167 * math/s_cacoshf.c: Likewise.
29168 * math/s_catan.c: Likewise.
29169 * math/s_catanf.c: Likewise.
29170 * math/s_catanh.c: Likewise.
29171 * math/s_catanhf.c: Likewise.
29172 * math/s_catanhl.c: Likewise.
29173 * math/s_catanl.c: Likewise.
29174 * math/s_ccosh.c: Likewise.
29175 * math/s_ccoshf.c: Likewise.
29176 * math/s_ccoshl.c: Likewise.
29177 * math/s_cexp.c: Likewise.
29178 * math/s_cexpf.c: Likewise.
29179 * math/s_cexpl.c: Likewise.
29180 * math/s_clog.c: Likewise.
29181 * math/s_clog10.c: Likewise.
29182 * math/s_clog10f.c: Likewise.
29183 * math/s_clog10l.c: Likewise.
29184 * math/s_clogf.c: Likewise.
29185 * math/s_clogl.c: Likewise.
29186 * math/s_csin.c: Likewise.
29187 * math/s_csinf.c: Likewise.
29188 * math/s_csinh.c: Likewise.
29189 * math/s_csinhf.c: Likewise.
29190 * math/s_csinhl.c: Likewise.
29191 * math/s_csinl.c: Likewise.
29192 * math/s_csqrt.c: Likewise.
29193 * math/s_csqrtf.c: Likewise.
29194 * math/s_csqrtl.c: Likewise.
29195 * math/s_ctan.c: Likewise.
29196 * math/s_ctanf.c: Likewise.
29197 * math/s_ctanh.c: Likewise.
29198 * math/s_ctanhf.c: Likewise.
29199 * math/s_ctanhl.c: Likewise.
29200 * math/s_ctanl.c: Likewise.
29201 * math/s_ldexp.c: Likewise.
29202 * math/s_ldexpf.c: Likewise.
29203 * math/s_ldexpl.c: Likewise.
29204 * math/s_significand.c: Likewise.
29205 * math/s_significandf.c: Likewise.
29206 * math/s_significandl.c: Likewise.
29207 * math/w_acos.c: Likewise.
29208 * math/w_acosf.c: Likewise.
29209 * math/w_acosh.c: Likewise.
29210 * math/w_acoshf.c: Likewise.
29211 * math/w_acoshl.c: Likewise.
29212 * math/w_acosl.c: Likewise.
29213 * math/w_asin.c: Likewise.
29214 * math/w_asinf.c: Likewise.
29215 * math/w_asinl.c: Likewise.
29216 * math/w_atan2.c: Likewise.
29217 * math/w_atan2f.c: Likewise.
29218 * math/w_atan2l.c: Likewise.
29219 * math/w_atanh.c: Likewise.
29220 * math/w_atanhf.c: Likewise.
29221 * math/w_atanhl.c: Likewise.
29222 * math/w_cosh.c: Likewise.
29223 * math/w_coshf.c: Likewise.
29224 * math/w_coshl.c: Likewise.
29225 * math/w_dremf.c: Likewise.
29226 * math/w_exp10.c: Likewise.
29227 * math/w_exp10f.c: Likewise.
29228 * math/w_exp10l.c: Likewise.
29229 * math/w_exp2.c: Likewise.
29230 * math/w_exp2f.c: Likewise.
29231 * math/w_fmod.c: Likewise.
29232 * math/w_fmodf.c: Likewise.
29233 * math/w_fmodl.c: Likewise.
29234 * math/w_hypot.c: Likewise.
29235 * math/w_hypotf.c: Likewise.
29236 * math/w_hypotl.c: Likewise.
29237 * math/w_j0.c: Likewise.
29238 * math/w_j0f.c: Likewise.
29239 * math/w_j0l.c: Likewise.
29240 * math/w_j1.c: Likewise.
29241 * math/w_j1f.c: Likewise.
29242 * math/w_j1l.c: Likewise.
29243 * math/w_jn.c: Likewise.
29244 * math/w_jnf.c: Likewise.
29245 * math/w_jnl.c: Likewise.
29246 * math/w_lgamma.c: Likewise.
29247 * math/w_lgamma_r.c: Likewise.
29248 * math/w_lgammaf.c: Likewise.
29249 * math/w_lgammaf_r.c: Likewise.
29250 * math/w_lgammal.c: Likewise.
29251 * math/w_lgammal_r.c: Likewise.
29252 * math/w_log.c: Likewise.
29253 * math/w_log10.c: Likewise.
29254 * math/w_log10f.c: Likewise.
29255 * math/w_log10l.c: Likewise.
29256 * math/w_log2.c: Likewise.
29257 * math/w_log2f.c: Likewise.
29258 * math/w_log2l.c: Likewise.
29259 * math/w_logf.c: Likewise.
29260 * math/w_logl.c: Likewise.
29261 * math/w_pow.c: Likewise.
29262 * math/w_powf.c: Likewise.
29263 * math/w_powl.c: Likewise.
29264 * math/w_remainder.c: Likewise.
29265 * math/w_remainderf.c: Likewise.
29266 * math/w_remainderl.c: Likewise.
29267 * math/w_scalb.c: Likewise.
29268 * math/w_scalbf.c: Likewise.
29269 * math/w_scalbl.c: Likewise.
29270 * math/w_sinh.c: Likewise.
29271 * math/w_sinhf.c: Likewise.
29272 * math/w_sinhl.c: Likewise.
29273 * math/w_sqrt.c: Likewise.
29274 * math/w_sqrtf.c: Likewise.
29275 * math/w_sqrtl.c: Likewise.
29276 * math/w_tgamma.c: Likewise.
29277 * math/w_tgammaf.c: Likewise.
29278 * math/w_tgammal.c: Likewise.
29279
6a621eb7
UD
29280 * po/ja.po: Update from translation team.
29281
bf582445
AJ
292822011-09-29 Andreas Jaeger <aj@suse.de>
29283
f9efbf3a
AJ
29284 [BZ #13179]
29285 * sunrpc/netname.c (netname2host): Fix logic.
29286
bf582445
AJ
29287 [BZ #6779]
29288 [BZ #6783]
29289 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
29290 correctly.
29291 * math/w_remainder.c (__remainder): Likewise.
29292 * math/w_remainderf.c (__remainderf): Likewise.
29293 * math/libm-test.inc (remainder_test): Add test cases.
29294
48693bea
AK
292952011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29296
29297 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
29298 sdiv_qrnnd.
29299
42622229
LD
293002011-10-07 Ulrich Drepper <drepper@gmail.com>
29301
29302 * string/test-memcmp.c: Avoid unncessary #defines.
29303 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29304
093ecf92
LD
293052011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29306
29307 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
29308 Use new sse2 version for core i3 - i7 as it's faster
29309 than sse42 version.
29310 (bit_Prefer_PMINUB_for_stringop): New.
29311 * sysdeps/x86_64/rawmemchr.S: Update.
29312 Replace with faster SSE2 version.
29313 * sysdeps/x86_64/memrchr.S: New file.
29314 * sysdeps/x86_64/memchr.S: Update.
29315 Replace with faster SSE2 version.
29316
fde56e5c
MP
293172011-09-12 Marek Polacek <mpolacek@redhat.com>
29318
29319 * elf/dl-load.c (lose): Add cast to avoid warning.
29320
21fd49a9
UD
293212011-10-07 Ulrich Drepper <drepper@gmail.com>
29322
5a06e643
UD
29323 * po/ca.po: Update from translation team.
29324
684ae515
UD
29325 * inet/getnetgrent_r.c: Hook up nscd.
29326 * nscd/Makefile (routines): Add nscd_netgroup.
29327 (nscd-modules): Add netgroupcache.
29328 (CFLAGS-netgroupcache.c): Define.
29329 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
29330 (cache_search): Add const to second parameter.
29331 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
29332 INNETGR.
29333 (dbs): Add netgrdb entry.
29334 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
29335 (verify_persistent_db): Handle netgrdb.
29336 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
29337 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
29338 GETFDNETGR.
29339 (netgroup_response_header): Define.
29340 (innetgroup_response_header): Define.
29341 (datahead): Add netgroup_response_header and innetgroup_response_header
29342 elements.
29343 * nscd/nscd.conf: Add entries for netgroup cache.
29344 * nscd/nscd.h (dbtype): Add netgrdb.
29345 (_PATH_NSCD_NETGROUP_DB): Define.
29346 (netgroup_iov_disabled): Declare.
29347 (xmalloc, xcalloc, xrealloc): Move declarations here.
29348 (cache_search): Adjust prototype.
29349 Add netgroup-related prototypes.
29350 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
29351 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
29352 (__nscd_innetgr): Declare.
29353 * nscd/selinux.c (perms): Use access_vector_t as element type and
29354 add netgroup-related initializers.
29355 * nscd/netgroupcache.c: New file.
29356 * nscd/nscd_netgroup.c: New file.
29357 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
29358 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
29359 For four parameters use innetgr.
29360 * nss/nss_files/files-init.c: Add definition and callback for netgr.
29361 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
29362 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
29363 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
29364
21fd49a9
UD
29365 * nscd/connections.c (register_traced_file): Don't register file
29366 for disabled databases.
29367
054c0457
UD
293682011-10-06 Ulrich Drepper <drepper@gmail.com>
29369
32b63198
UD
29370 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
29371
054c0457
UD
29372 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
29373 from tree and freeing node.
29374
64031225
JO
293752011-09-25 Jiri Olsa <jolsa@redhat.com>
29376
29377 * nss/nsswitch.c (__nss_database_lookup): Handle
29378 nss_parse_service_list out of memory case.
29379
0490345c
JO
293802011-09-15 Jiri Olsa <jolsa@redhat.com>
29381
29382 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
29383 out of memory case.
29384
3a62d00d
AS
293852011-10-04 Andreas Schwab <schwab@redhat.com>
29386
29387 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
29388 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
29389 pass it down.
29390 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
29391 elf_machine_rela, elf_machine_lazy_rel.
29392 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
29393 (ELF_DYNAMIC_DO_REL): Likewise.
29394 (ELF_DYNAMIC_DO_RELA): Likewise.
29395 (ELF_DYNAMIC_RELOCATE): Likewise.
29396 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
29397 to ELF_DYNAMIC_DO_REL.
29398 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
29399 (dl_main): In trace mode always set __RTLD_NOIFUNC.
29400 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
29401 elf_machine_rela.
29402 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
29403 skip_ifunc, don't call ifunc function if non-zero.
29404 (elf_machine_rela): Likewise.
29405 (elf_machine_lazy_rel): Likewise.
29406 (elf_machine_lazy_rela): Likewise.
29407 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
29408 (elf_machine_lazy_rel): Likewise.
29409 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
29410 Likewise.
29411 (elf_machine_lazy_rel): Likewise.
29412 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29413 Likewise.
29414 (elf_machine_lazy_rel): Likewise.
29415 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
29416 (elf_machine_lazy_rel): Likewise.
29417 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
29418 (elf_machine_lazy_rel): Likewise.
29419 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29420 (elf_machine_lazy_rel): Likewise.
29421 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
29422 (elf_machine_lazy_rel): Likewise.
29423 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
29424 (elf_machine_lazy_rel): Likewise.
29425 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29426 (elf_machine_lazy_rel): Likewise.
29427
68577918
UD
294282011-09-28 Ulrich Drepper <drepper@gmail.com>
29429
29430 * nss/nss_files/files-init.c (_nss_files_init): Use static
29431 initialization for all the *_traced_file variables.
29432
68822d74
AS
294332011-09-28 Andreas Schwab <schwab@redhat.com>
29434
29435 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29436
2056100b
RM
294372011-09-27 Roland McGrath <roland@hack.frob.com>
29438
29439 [BZ #13226]
29440 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
29441
32c76b63
AS
294422011-09-27 Andreas Schwab <schwab@redhat.com>
29443
29444 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29445 Reread the line before reparsing it.
29446
bf972c9d
AS
294472011-09-26 Andreas Schwab <schwab@redhat.com>
29448
29449 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
29450
e057a1b5
JM
294512011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
29452 Maxim Kuvyrkov <maxim@codesourcery.com>
29453 Joseph Myers <joseph@codesourcery.com>
29454
29455 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
29456 if needed for __stack_chk_guard.
29457
bc7e1c36
RM
294582011-09-19 Roland McGrath <roland@hack.frob.com>
29459
ecb1482f
RM
29460 * sysdeps/posix/spawni.c (script_execute): Always define it.
29461 It will be optimized away if unused.
29462 (maybe_script_execute): New function.
29463 (__spawni): Call it.
29464
bc7e1c36
RM
29465 * Makerules: Don't include tls.make.
29466 (config-tls): Always set to thread.
29467 * tls.make.c: File removed.
29468
1c3b002b
MF
294692011-09-19 Mike Frysinger <vapier@gentoo.org>
29470
29471 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
29472 * config.make.in (CPPFLAGS-config): New substituted variable.
29473
2840865d
UD
294742011-09-15 Ulrich Drepper <drepper@gmail.com>
29475
88738eb6
UD
29476 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
29477
cbf645a6 29478 [BZ #13192]
2840865d
UD
29479 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
29480 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
29481
b402e91a
RM
294822011-09-15 Roland McGrath <roland@hack.frob.com>
29483
29484 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
29485 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
29486 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29487 (CALL_FAIL): Likewise.
29488 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
29489 (CALL_FAIL): Macro removed.
29490 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
29491
4c1a1f71
UD
294922011-09-15 Ulrich Drepper <drepper@gmail.com>
29493
29494 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
29495 for __FINITE_MATH_ONLY__ == 1.
29496
edc121be
AS
294972011-09-15 Andreas Schwab <schwab@redhat.com>
29498
29499 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
29500 __ieee754_sqrt instead of sqrt.
29501 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
29502 __ieee754_sqrtf instead of sqrtf.
29503 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
29504 __floorf instead of floorf.
29505 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
29506 __floorf, __truncf instead of floorf, truncf.
29507
cd205654
UD
295082011-09-14 Ulrich Drepper <drepper@gmail.com>
29509
ee4d0315
UD
29510 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
29511
cd205654
UD
29512 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
29513 __extern_always_inline.
29514 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
29515 32-bit.
29516
48b67d71
AS
295172011-09-14 Andreas Schwab <schwab@redhat.com>
29518
29519 * elf/rtld.c (dl_main): Also relocate in dependency order when
29520 doing symbol dependency testing.
29521
1ae12c75
AS
295222011-09-13 Andreas Schwab <schwab@linux-m68k.org>
29523
29524 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29525 Always define `refsym'.
29526
995a80df
AS
295272011-09-13 Andreas Schwab <schwab@redhat.com>
29528
e529793b
AS
29529 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
29530 (__FD_ELT): Renamed from __FDELT.
29531 * misc/bits/select2.h (__FD_ELT): Likewise.
29532 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
29533 __FD_MASK instead of __FDELT, __FDMASK.
29534 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29535 Likewise.
29536 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29537 Likewise.
29538
52d4fef8
AS
29539 * elf/Makefile (gen-ldd): Fix pattern.
29540
995a80df
AS
29541 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
29542 (init_tls): Likewise.
29543
8682f8b0
UD
295442011-09-12 Ulrich Drepper <drepper@gmail.com>
29545
29546 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
29547
de82006d
AS
295482011-09-12 Andreas Schwab <schwab@redhat.com>
29549
a7c8e6a1
AS
29550 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
29551 `struct cmsghdr *' instead of `void *'.
29552 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
29553 Likewise.
29554
0f31fe77
AS
295552011-09-11 Andreas Schwab <schwab@linux-m68k.org>
29556
29557 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
29558 if non-absolute.
29559 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
29560 ldd_rewrite_script.
0f31fe77 29561
32b4c839
UD
295622011-09-11 Ulrich Drepper <drepper@gmail.com>
29563
83cd1420
UD
29564 * configure.in: Remove --with-tls option.
29565 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
29566 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
29567 out in case it is missing.
29568 * sysdeps/ia64/elf/configure.in: Likewise.
29569 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
29570 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
29571 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
29572 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
29573 * sysdeps/sh/elf/configure.in: Likewise.
29574 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
29575 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29576 * sysdeps/x86_64/elf/configure.in: Likewise.
29577 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
29578 * sysdeps/mach/hurd/tls.h: Likewise.
29579
633f745d
UD
29580 [BZ #13067]
29581 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
29582
f318beb8
UD
29583 [BZ #13090]
29584 * configure.in: Fix use of AC_INIT.
29585
32b4c839
UD
29586 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
29587
3ce1f295
UD
295882011-09-10 Ulrich Drepper <drepper@gmail.com>
29589
bb016596
UD
29590 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
29591 __set_errno.
8e58439c
UD
29592 * malloc/hooks.c: Likewise.
29593
aebae053 29594 [BZ #11929]
02d46fc4
UD
29595 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
29596 variables statically.
29597 (narenas): Initialize.
29598 (list_lock): Initialize.
bb016596
UD
29599 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
29600 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
29601 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
29602 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
29603 Add initializers to main_arena and mp_.
29604 (malloc_state): Remove pagesize member. Change all users to use
29605 GLRO(dl_pagesize).
29606
29607 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
29608 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
29609 is always initialized.
29610
22a89187
UD
29611 * malloc/malloc.c: Removed unused configurations and dead code.
29612 * malloc/arena.c: Likewise.
29613 * malloc/hooks.c: Likewise.
02d46fc4 29614 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 29615
d063d164
UD
29616 * include/tls.h: Removed. USE___THREAD must always be defined.
29617 * bits/libc-tsd.h: Don't handle !USE___THREAD.
29618 * elf/dl-libc.c: Likewise.
29619 * elf/dl-tsd.c: Likewise.
29620 * include/errno.h: Likewise.
29621 * include/netdb.h: Likewise.
29622 * include/resolv.h: Likewise.
29623 * inet/herrno-loc.c: Likewise.
29624 * inet/herrno.c: Likewise.
29625 * malloc/arena.c: Likewise.
29626 * malloc/hooks.c: Likewise.
29627 * malloc/malloc.c: Likewise.
29628 * resolv/res-state.c: Likewise.
29629 * resolv/res_libc.c: Likewise.
29630 * sysdeps/i386/dl-machine.h: Likewise.
29631 * sysdeps/ia64/dl-machine.h: Likewise.
29632 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29633 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29634 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29635 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29636 * sysdeps/sh/dl-machine.h: Likewise.
29637 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29638 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29639 * sysdeps/unix/i386/sysdep.S: Likewise.
29640 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29641 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
29642 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
29643 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29644 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
29645 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29646 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29647 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29648 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29649 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29650 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29651 * sysdeps/x86_64/dl-machine.h: Likewise.
29652 * tls.make.c: Likewise.
29653
3ce1f295
UD
29654 * configure.in: Remove --with-__thread option. Make tests for
29655 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
29656 tls_model attribute fail if no support is available. Remove
29657 USE_IN_LIBIO.
29658 * Makeconfig: Adjust for dropped configure option. All features are
29659 now mandatory.
29660 * Makerules: Likewise.
29661 * Versions.def: Likewise.
29662 * argp/argp-fmtstream.c: Likewise.
29663 * argp/argp-fmtstream.h: Likewise.
29664 * argp/argp-help.c: Likewise.
29665 * assert/assert.c: Likewise.
29666 * config.h.in: Likewise.
29667 * config.make.in: Likewise.
29668 * configure: Likewise.
29669 * configure.in: Likewise.
29670 * csu/Versions: Likewise.
29671 * csu/init.c: Likewise.
29672 * elf/tst-audit2.c: Likewise.
29673 * elf/tst-tls10.c: Likewise.
29674 * elf/tst-tls10.h: Likewise.
29675 * elf/tst-tls11.c: Likewise.
29676 * elf/tst-tls12.c: Likewise.
29677 * elf/tst-tls14.c: Likewise.
29678 * elf/tst-tlsmod11.c: Likewise.
29679 * elf/tst-tlsmod12.c: Likewise.
29680 * elf/tst-tlsmod13.c: Likewise.
29681 * elf/tst-tlsmod13a.c: Likewise.
29682 * elf/tst-tlsmod14a.c: Likewise.
29683 * elf/tst-tlsmod15b.c: Likewise.
29684 * elf/tst-tlsmod16a.c: Likewise.
29685 * elf/tst-tlsmod16b.c: Likewise.
29686 * elf/tst-tlsmod7.c: Likewise.
29687 * elf/tst-tlsmod8.c: Likewise.
29688 * elf/tst-tlsmod9.c: Likewise.
29689 * gmon/gmon.c: Likewise.
29690 * grp/fgetgrent_r.c: Likewise.
29691 * grp/putgrent.c: Likewise.
29692 * hurd/fopenport.c: Likewise.
29693 * include/libc-symbols.h: Likewise.
29694 * include/tls.h: Likewise.
29695 * intl/gettextP.h: Likewise.
29696 * intl/loadinfo.h: Likewise.
29697 * locale/global-locale.c: Likewise.
29698 * locale/localeinfo.h: Likewise.
29699 * mach/devstream.c: Likewise.
29700 * malloc/arena.c: Likewise.
29701 * malloc/set-freeres.c: Likewise.
29702 * misc/err.c: Likewise.
29703 * misc/getttyent.c: Likewise.
29704 * misc/mntent_r.c: Likewise.
29705 * posix/getopt.c: Likewise.
29706 * posix/wordexp.c: Likewise.
29707 * pwd/fgetpwent_r.c: Likewise.
29708 * resolv/Versions: Likewise.
29709 * resolv/res_hconf.c: Likewise.
29710 * shadow/fgetspent_r.c: Likewise.
29711 * shadow/putspent.c: Likewise.
29712 * stdio-common/printf_fphex.c: Likewise.
29713 * stdio-common/tmpfile.c: Likewise.
29714 * stdlib/abort.c: Likewise.
29715 * stdlib/fmtmsg.c: Likewise.
29716 * sunrpc/auth_unix.c: Likewise.
29717 * sunrpc/clnt_perr.c: Likewise.
29718 * sunrpc/clnt_tcp.c: Likewise.
29719 * sunrpc/clnt_udp.c: Likewise.
29720 * sunrpc/clnt_unix.c: Likewise.
29721 * sunrpc/openchild.c: Likewise.
29722 * sunrpc/svc_simple.c: Likewise.
29723 * sunrpc/svc_tcp.c: Likewise.
29724 * sunrpc/svc_udp.c: Likewise.
29725 * sunrpc/svc_unix.c: Likewise.
29726 * sunrpc/xdr.c: Likewise.
29727 * sunrpc/xdr_array.c: Likewise.
29728 * sunrpc/xdr_rec.c: Likewise.
29729 * sunrpc/xdr_ref.c: Likewise.
29730 * sunrpc/xdr_stdio.c: Likewise.
29731
1248c1c4
PB
297322011-09-09 Ulrich Drepper <drepper@gmail.com>
29733
29734 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29735
297362011-07-03 Andreas Jaeger <aj@suse.de>
29737
29738 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
29739 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
29740 regenerate with gen-libm-tests.pl.
29741
297422010-05-12 Petr Baudis <pasky@suse.cz>
29743
29744 [BZ #11589]
29745 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
29746 around j0() zero points by switching to j1().
29747 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29748 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29749 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29750 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29751
f22e1074
UD
297522011-09-09 Ulrich Drepper <drepper@gmail.com>
29753
f19009c1
UD
29754 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
29755 instead of 0.
29756 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 29757 instead of 0.
f19009c1
UD
29758 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29759 Patch in part by Pavel Roskin <proski@gnu.org>.
29760
3f8cc204
UD
29761 [BZ #13138]
29762 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
29763 realloc.
29764 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
29765 Free memory block if necessary.
29766
f22e1074
UD
29767 [BZ #12847]
29768 * libio/genops.c (INTDEF): For string streams the _lock pointer can
29769 be NULL. Don't lock in this case.
29770
0a2349f9
RM
297712011-09-09 Roland McGrath <roland@hack.frob.com>
29772
29773 * elf/elf.h (ELFOSABI_GNU): New macro.
29774 (ELFOSABI_LINUX): Define to that.
29775
f3cdd467
DZ
297762011-07-29 Denis Zaitceff <zaitceff@gmail.com>
29777
29778 * string/strncat.c (strncat): Undef the symbol in case it has been
29779 defined in bits/string.h.
29780
74718d13
UD
297812011-09-09 Ulrich Drepper <drepper@gmail.com>
29782
633e9e0f
UD
29783 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
29784
0a2349f9 29785 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
29786 link map.
29787
f9924780
AJ
297882011-08-17 Andreas Jaeger <aj@suse.de>
29789
29790 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
29791
7f5517aa
PP
297922011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
29793 Ian Lance Taylor <iant@google.com>
29794
29795 * math/libm-test.inc (lround_test): New testcase.
29796 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
29797
762011fe
UD
297982011-09-08 Ulrich Drepper <drepper@gmail.com>
29799
92963737
UD
29800 * Makefile: Remove support for automatic cvs check-ins.
29801 * Makerules: Likewise.
29802 * config.make.in: Likewise.
29803 * configure.in: Likewise.
29804 * intl/Makefile: Likewise.
29805 * locale/Makefile: Likewise.
29806 * po/Makefile: Likewise.
29807 * posix/Makefile: Likewise.
29808 * sysdeps/gnu/Makefile: Likewise.
29809 * sysdeps/mach/hurd/Makefile: Likewise.
29810 * sysdeps/sparc/sparc32/Makefile: Likewise.
29811
b0727fd8
JS
29812 [BZ #13118]
29813 * posix/Makefile (bug-regex32-ENV): Define.
29814 Patch by John Stanley <jpsinthemix@verizon.net>.
29815
a0f33f99
UD
29816 * misc/Makefile (headers): Add bits/select2.h.
29817 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
29818 * misc/bits/select2.h: New file.
29819 * include/bits/select2.h: New file.
29820 * debug/Makefile (routines): Add fdelt_chk.
29821 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
29822 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
29823 FD_ISSET.
29824 * debug/fdelt_chk.c: New file.
29825
762011fe
UD
29826 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
29827 * wcsmbs/test-wmemcmp.c: Likewise.
29828 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 29829 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
29830
298312011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29832
29833 * string/Makefile (strop-tests): Add memcmp.
29834 * string/test-wmemcmp.c: New file.
29835 * string/test-memcmp.c: Add wmemcmp support.
29836
7f513ec8
RM
298372011-09-08 Roland McGrath <roland@hack.frob.com>
29838
0442afb4
RM
29839 [BZ #13153]
29840 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
29841 2011-07-19 change.
29842
7f513ec8
RM
29843 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
29844 garbage value in a __mach_port_mod_refs call in the cases of the
29845 task-self and thread-self ports.
29846
a12b2239
ST
298472011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
29848
29849 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
29850
610f9ab4
AS
298512011-09-08 Andreas Schwab <schwab@redhat.com>
29852
7f513ec8 29853 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 29854
48882a1a
LD
298552011-09-07 Ulrich Drepper <drepper@gmail.com>
29856
b49865be
UD
29857 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
29858
fdc86bc9
UD
29859 * elf/dl-libc.c (dlerror_run): Pass back error code from
29860 dl_catch_error.
29861
c966526a
UD
29862 [BZ #13123]
29863 * elf/dl-load.c (lose): Free l_origin if it is valid.
29864
48882a1a
LD
29865 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
29866 names.
29867 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29868 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29869 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29870 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29871 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29872 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
29873
77a2a8b4
AZ
298742011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29875
29876 * sysdeps/powerpc/fpu/e_hypot.c: New file.
29877 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
29878 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
29879 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
29880 * sysdeps/powerpc/fpu/k_cosf.c: New file.
29881 * sysdeps/powerpc/fpu/k_sinf.c: New file.
29882 * sysdeps/powerpc/fpu/s_cosf.c: New file.
29883 * sysdeps/powerpc/fpu/s_sinf.c: New file.
29884 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
29885 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
29886
24f579d8
AM
298872011-08-15 Alan Modra <amodra@gmail.com>
29888
29889 [BZ #13092]
29890 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
29891 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
29892 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
29893 ppc_mcount to static-only-routines.
29894 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
29895 __mcount_internal.
29896 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
29897 __mcount_internal with usual JUMPTARGET. Remove useless nop.
29898
3d4837df
UD
298992011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
29900
29901 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
29902 for finite and infinity parameters.
29903
22700377
WS
299042011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29905
29906 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
29907 and add nop instructions for throughput optimization.
29908 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29909
5025581e
WS
299102011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
29911
29912 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
29913 aligned copy for power7 with vector-scalar instructions.
29914 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29915
08a300c9
L
299162011-07-24 H.J. Lu <hongjiu.lu@intel.com>
29917
29918 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
29919 AVX check.
29920
59178ef9
AS
299212011-09-07 Andreas Schwab <schwab@redhat.com>
29922
29923 [BZ #13144]
29924 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
29925 last change.
29926
e38ba7ab
UD
299272011-09-07 Ulrich Drepper <drepper@gmail.com>
29928
29929 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29930 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
29931 syscall wrapper around clock_gettime in __vdso_clock_gettime.
29932 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
29933 clock_gettime.
29934
d53a73ac
UD
299352011-09-06 Ulrich Drepper <drepper@gmail.com>
29936
fc8bffcc
UD
29937 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
29938 Forgot to demangle the pointer.
29939
ceaa0c5d
UD
29940 * sysdeps/i386/sysdep.h: Define atom_text_section.
29941 * sysdeps/x86_64/sysdep.h: Likewise.
29942 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
29943 section with atom_text_section.
29944 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29945 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29946 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29947 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29948 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
29949
a77d3c17
UD
29950 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
29951 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
29952 already be defined. Change to take two parameters and don't assign
29953 result to variable. Adjust all users.
29954 Define INTERNAL_GETTIME if not already defined.
29955 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
29956 call.
29957 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
29958 HAVE_CLOCK_GETTIME_VSYSCALL.
29959 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
29960
d53a73ac
UD
29961 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
29962 gettimeofday vsyscall, just use time.
29963
a8f84144
AS
299642011-09-06 Andreas Schwab <schwab@redhat.com>
29965
29966 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
29967 <errno.h>.
29968
ef606249
UD
299692011-09-06 Ulrich Drepper <drepper@gmail.com>
29970
29971 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
29972 syscall on x86-64.
29973 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
29974 syscall.
29975 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29976 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
29977 syscall if possible.
29978
6585cb60
UD
299792011-09-05 Ulrich Drepper <drepper@gmail.com>
29980
29981 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
29982 e_ident. Don't pass to find_mapsXX.
29983 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
29984
a5f524e4
LD
299852011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29986
29987 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29988 strchr-sse2-no-bsf strrchr-sse2-no-bsf
29989 * sysdeps/x86_64/multiarch/strchr.S: Update.
29990 Check bit_slow_BSF bit.
29991 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29992 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
29993 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
29994
554881ef
UD
299952011-09-05 Ulrich Drepper <drepper@gmail.com>
29996
d96de963
UD
29997 [BZ #13134]
29998 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29999 before glibc 2.15.
30000 (tryshell): Define.
30001 (__spawni): Change last parameter to be flag. Test
30002 SPAWN_XFLAGS_USE_PATH flag to use path or not.
30003 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
30004 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
30005 * posix/spawni.c: Likewise.
30006 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
30007 * posix/spawnp.c: Likewise. Change normal version to use
30008 SPAWN_XFLAGS_USE_PATH.
30009 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
30010 SPAWN_XFLAGS_TRY_SHELL.
30011
d48e5868
UD
30012 [BZ #13150]
30013 * posix/glob.h: Remove gcc 1.x support.
30014
554881ef
UD
30015 [BZ #13068]
30016 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
30017
693fb948
LD
300182011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30019
30020 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30021 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
30022 strrchr-sse2-bsf
30023 * sysdeps/i386/i686/multiarch/strchr.S: New file.
30024 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
30025 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
30026 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
30027 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
30028 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
30029
1b48c537
UD
300302011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30031
49d42c37
UD
30032 * sysdeps/x86_64/wcscmp.S: New file.
30033
1b48c537
UD
30034 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
30035 wcscmp-c wcscmp-sse2
30036 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
30037 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
30038 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
30039 * wcsmbs/wcscmp.c: Allow renaming.
30040
15c95c5d
DM
300412011-09-05 David S. Miller <davem@davemloft.net>
30042
30043 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
30044 stack slot, rather than the struct return pointer slot.
30045 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
30046 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
30047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
30048 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
30049
2f0ad8f3
UD
300502011-09-05 Ulrich Drepper <drepper@gmail.com>
30051
d88ae418
UD
30052 * po/ja.po: Update from translation team.
30053
2f0ad8f3
UD
30054 [BZ #13144]
30055 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
30056 kernel in 64-bit binaries.
30057
5f4318d1
DM
300582011-09-01 David S. Miller <davem@davemloft.net>
30059
30060 * elf/elf.h (HWCAP_SPARC_*): Move to..
30061 * sysdeps/sparc/sysdep.h: this new file and add new values.
30062 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
30063 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
30064 _DL_HWCAP_COUNT to 24.
30065 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30066 entries.
30067 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
30068 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
30069 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
30070 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
30071 instead of magic constants.
30072 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30073
3ba57516
DM
300742011-08-31 David S. Miller <davem@davemloft.net>
30075
30076 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
30077 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
30078 Reimplement to do errno handling inline.
30079 (SYSCALL_ERROR_HANDLER): New macro.
30080 (__SYSCALL_STRING): Do not do errno handling in asm.
30081 (__CLONE_SYSCALL_STRING): Delete.
30082 (__INTERNAL_SYSCALL_STRING): Delete.
30083 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
30084 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
30085 (PSEUDO): Reimplement to do errno handling inline.
30086 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
30087 (SYSCALL_ERROR_HANDLER): New macro.
30088 (__SYSCALL_STRING): Do not do errno handling in asm.
30089 (__CLONE_SYSCALL_STRING): Delete.
30090 (__INTERNAL_SYSCALL_STRING): Delete.
30091 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
30092 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
30093 i386.
30094 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
30095 (inline_syscall*): Add 'err' argument.
30096 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
30097 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
30098 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
30099 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
30100
30101 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
30102 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30103
2bc17433
AS
301042011-08-30 Andreas Schwab <schwab@redhat.com>
30105
30106 * elf/rtld.c (dl_main): Relocate objects in dependency order.
30107
fbeb5f4d
JO
301082011-08-29 Jiri Olsa <jolsa@redhat.com>
30109
30110 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
30111 directive.
30112
ad69cc26
DM
301132011-08-24 David S. Miller <davem@davemloft.net>
30114
30115 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
30116
39dd69df
AS
301172011-08-24 Andreas Schwab <schwab@redhat.com>
30118
30119 * elf/Makefile: Add rules to build and run unload8 test.
30120 * elf/unload8.c: New file.
30121 * elf/unload8mod1.c: New file.
30122 * elf/unload8mod1x.c: New file.
30123 * elf/unload8mod2.c: New file.
30124 * elf/unload8mod3.c: New file.
30125
30126 * elf/dl-close.c (_dl_close_worker): Reset private search list if
30127 it wasn't used.
30128
2c0b250a
DM
301292011-08-23 David S. Miller <davem@davemloft.net>
30130
30131 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
30132 subtract stack bias.
30133 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
30134 %sp not %fp in calculations.
30135 (_JMPBUF_UNWINDS_ADJ): Likewise.
30136
22044b48
DM
30137 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
30138 (aio_suspend): Call it to force an exception region around the
30139 AIO_MISC_WAIT() invocation.
30140
2cae4995
AS
301412011-08-23 Andreas Schwab <schwab@redhat.com>
30142
30143 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
30144 backslash.
30145
873a772e
AJ
301462011-07-04 Aurelien Jarno <aurelien@aurel32.net>
30147
30148 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
30149 protection macro.
30150 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
30151 and <dl-machine.h>.
30152 (Elf64_FuncDesc): Remove.
30153
25ad0df1
DM
301542011-08-22 David S. Miller <davem@davemloft.net>
30155
30156 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
30157 sigaltstack check, add missing cfi directives.
30158 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
30159 missing cfi directives, and sigaltstack handling.
30160
e888bcbe
AS
301612011-08-16 Andreas Schwab <schwab@redhat.com>
30162
30163 [BZ #11724]
30164 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
30165 object is seen twice.
30166 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30167
30168 * elf/Makefile (distribute): Add tst-initorder2.c.
30169 (tests): Add tst-initorder2.
30170 (modules-names): Add tst-initorder2a tst-initorder2b
30171 tst-initorder2c tst-initorder2d. Add rules to build them.
30172 ($(objpfx)tst-initorder2.out): New rule.
30173 * elf/tst-initorder2.c: New file.
30174 * elf/tst-initorder2.exp: New file.
30175
87162f46
AS
301762011-08-22 Andreas Schwab <schwab@redhat.com>
30177
70538b7f
AS
30178 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
30179
f55ffe58
AS
30180 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
30181 dependencies back to end of function.
30182
87162f46
AS
30183 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30184 $(elfobjdir)/ld.so.
30185
91b392a4
UD
301862011-08-21 Ulrich Drepper <drepper@gmail.com>
30187
30188 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
30189 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
30190 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
30191 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
30192 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
30193 of __vdso_gettimeofday.
30194 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
30195 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
30196 attribute_hidden.
30197 (_libc_vdso_platform_setup): Remove initialization of
30198 __vdso_gettimeofday and __vdso_time.
30199
5c43483f
UD
302002011-08-20 Ulrich Drepper <drepper@gmail.com>
30201
775a77e7
UD
30202 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
30203 and fgetc_unlocked.
30204 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
30205 getc_unlocked.
89f447ed 30206
49c74ba9
UD
30207 * elf/dl-open.c (add_to_global): Report additions to the global scope
30208 for LD_DEBUG=scopes.
30209 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 30210 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 30211
5c43483f
UD
30212 [BZ #13114]
30213 * stdio-common/Makefile (tests): Add bug24.
30214 * stdio-common/bug24.c: New file.
30215
a101b025
AJ
302162011-08-19 Andreas Jaeger <aj@suse.de>
30217
30218 [BZ #13114]
30219 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
30220 non-existant file when using close-on-exec mode.
30221
c88f1766
UD
302222011-08-20 Ulrich Drepper <drepper@gmail.com>
30223
0276a718
UD
30224 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
30225 the very first instruction.
30226
c88f1766
UD
30227 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
30228 the CFI state in the end.
30229 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
30230 inclusion of dl-trampoline.h.
30231 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
30232
51ccffa0
AS
302332011-08-19 Andreas Schwab <schwab@redhat.com>
30234
94d7165f
AS
30235 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
30236 expectations for long double.
30237
51ccffa0
AS
30238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
30239 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
30240
fd708658 302412011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
30242
30243 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
30244 artificual limit depends upon the system page size.
30245
44f0a71e
UD
302462011-08-17 Ulrich Drepper <drepper@gmail.com>
30247
30248 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
30249 * resolv/Makefile: Define CFLAGS-libresolv.
30250
8de79a24
AS
302512011-08-17 Andreas Schwab <schwab@redhat.com>
30252
30253 * nss/makedb.c (compute_tables): Make variables used in nested
30254 function static.
30255
27724598
UD
302562011-08-17 Ulrich Drepper <drepper@gmail.com>
30257
c5305d88
UD
30258 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
30259 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
30260 if buffer was too small.
30261
27724598
UD
30262 * elf/pldd.c (main): Attach to all threads in the process.
30263 Rewrite /proc handling to use *at functions.
30264
076fe015
UD
302652011-08-16 Ulrich Drepper <drepper@gmail.com>
30266
174baab3
UD
30267 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
30268 specifies first scope to show.
30269 (dl_open_worker): Update callers. Move printing scope of new
30270 object to before the relocation.
44f0a71e 30271 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
30272 * sysdeps/generic/ldsodefs.h: Update declaration.
30273
076fe015
UD
30274 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
30275 string for the scope number.
30276
a60df2c3
UD
302772011-08-14 Ulrich Drepper <drepper@gmail.com>
30278
30279 * nscd/servicescache.c (cache_addserv): Make sure written is always
30280 initialized.
30281
5e4287d1
RM
302822011-08-14 Roland McGrath <roland@hack.frob.com>
30283
85ae0589
RM
30284 * sysdeps/i386/i486/bits/atomic.h
30285 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
30286 statement expression, so as to suppress "set but not used" warning.
30287 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
30288
69f63097
RM
30289 * string/strncat.c (STRNCAT): Use prototype definition.
30290
675456ef
RM
30291 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
30292 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
30293 -Iprograms here.
30294 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
30295 (localedef-modules): Add localedef.
30296 (locale-modules): Add locale.
30297
5e4287d1
RM
30298 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
30299 * elf/rtld.c (dl_main): Invert order of assignment in last change,
30300 to avoid a warning.
30301
9c96ff23
DM
303022011-08-14 David S. Miller <davem@davemloft.net>
30303
30304 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
30305 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
30306
f9ddf089
UD
303072011-08-13 Ulrich Drepper <drepper@gmail.com>
30308
44f0a71e 30309 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
30310 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
30311 * elf/rtld.c (dl_main): Set l_name of vDSO.
30312 Call _dl_show_scope when DL_DEBUG_SCOPES.
30313 (process_dl_debug): Recognize scopes flag and also set it for all.
30314 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
30315 Declare _dl_show_scope.
30316
1dc27704
UD
30317 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
30318 (do_dlopen): Pass caller_dlopen to dl_open.
30319 (__libc_dlopen_mode): Initialize caller_dlopen.
30320
f9ddf089
UD
30321 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
30322 of libc. Make tolower call locale-independent. Optimize a bit by
30323 using isdigit instead of isalnum.
30324 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
30325
9ac533d3
UD
303262011-08-12 Ulrich Drepper <drepper@gmail.com>
30327
30328 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
30329 was a dependency or dynamically loaded.
30330
89edf2e9
UD
303312011-08-11 Ulrich Drepper <drepper@gmail.com>
30332
8e999d29
UD
30333 * intl/l10nflist.c: Allow architecture-specific pop function.
30334 * sysdeps/x86_64/l10nflist.c: New file.
30335
89edf2e9
UD
30336 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
30337 classification.
30338
14d96785
AS
303392011-08-10 Andreas Schwab <schwab@redhat.com>
30340
30341 * include/dirent.h: Add libc_hidden_proto for scandirat and
30342 scandirat64. Don't declare __scandirat64.
30343 * dirent/scandirat.c: Add libc_hidden_def.
30344 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
30345 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
30346
6761ac04
DM
303472011-08-10 David S. Miller <davem@davemloft.net>
30348
30349 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
30350 enum.
30351 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30352 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30353 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30354
c55fbd1e
UD
303552011-08-09 Ulrich Drepper <drepper@gmail.com>
30356
30357 * Versions.def [libc]: Add GLIBC_2.15.
30358 * dirent/Makefile (routines): Add scandirat and scandirat64.
30359 * dirent/Versions [libc]: Export scandirat and scandirat64 for
30360 GLIBC_2.15.
30361 * dirent/dirent.h: Declare scandirat and scandirat64.
30362 * dirent/scandirat.c: New file.
30363 * dirent/scandirat64.c: New file.
30364 * sysdeps/wordsize-64/scandirat.c: New file.
30365 * sysdeps/wordsize-64/scandirat64.c: New file.
30366 * dirent/opendir.c: Define opendirat.
30367 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
30368 using scandirat.
30369 * dirent/scandir64.c: Adjust for scandir.c change.
30370 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
30371 __scandirat64, and __scandir_cancel_handler.
30372 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
30373 additional parameter and use openat instead of open (outside of ld.so).
30374 Add new __opendir as wrapper around __opendirat.
30375 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
30376 here without requiring old scandirat implementation.
30377
879165f2
UD
303782011-08-08 Ulrich Drepper <drepper@gmail.com>
30379
30380 * dirent/scandir.c (cancel_handler): Renamed to
30381 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
30382 defined. Adjust users.
30383 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
30384 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
30385
cb7e923b
UD
303862011-08-04 Ulrich Drepper <drepper@gmail.com>
30387
16292edd
UD
30388 * string/test-string.h (IMPL): Use __STRING to expand name and then
30389 stringify it.
30390
cb7e923b
UD
30391 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
30392 of cleanups.
30393
cff82933
LD
303942011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30395
30396 * string/Makefile: Update.
30397 (strop-tests): Append strncat.
30398 * string/test-wcscmp.c: New file.
30399 New comprehensive test for wcscmp.
30400 * string/test-strcmp.c: Update.
30401 (WIDE): New define.
30402
9be9bfcc
AS
304032011-07-22 Andreas Schwab <schwab@redhat.com>
30404
30405 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
30406 line.
30407
2e96f1c7
AS
304082011-07-26 Andreas Schwab <schwab@redhat.com>
30409
30410 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30411 encoding to ACE if AI_IDN.
30412
85188888
JJ
304132011-08-01 Jakub Jelinek <jakub@redhat.com>
30414
30415 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
30416 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
30417
5fa16e9b
LD
304182011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30419
30420 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
30421 Fix overflow bug in strncat.
30422 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30423
30424 * string/test-strncat.c: Update.
30425 Add new tests for checking overflow bugs.
30426
304272011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30428
30429 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30430 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
30431 * sysdeps/i386/i686/multiarch/strcat.S: New file.
30432 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
30433 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
30434 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
30435 * sysdeps/i386/i686/multiarch/strncat.S: New file.
30436 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
30437 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
30438
30439 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
30440 (USE_AS_STRCAT): Define.
30441 Add strcat and strncat support.
30442 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30443
8c1a459f
AS
304442011-07-25 Andreas Schwab <schwab@redhat.com>
30445
30446 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
30447 __n bigger than INT_MAX+1.
30448 (__strncmp_g): Likewise.
30449
bba33c28
UD
304502011-07-23 Ulrich Drepper <drepper@gmail.com>
30451
798be72d
UD
30452 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
30453 * libio/stido.h: Likewise.
30454
8accd4dc
UD
30455 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
30456 (AF_NFC): Define.
30457 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
30458 (AF_NFC): Define.
30459
cbff0d96
UD
30460 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
30461 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30462 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30463 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30464 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30465
9191c04a
UD
30466 [BZ #13021]
30467 * scripts/test-installation.pl: Don't expect libnss_test1 to be
30468 installed.
30469
bba33c28
UD
30470 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
30471 typo.
30472 (_dl_x86_64_save_sse): Likewise.
30473
90f139dd
UD
304742011-07-22 Ulrich Drepper <drepper@gmail.com>
30475
1aae088a
UD
30476 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
30477 OSXSAVE.
30478 (_dl_x86_64_save_sse): Likewise.
30479
8e2045f5
UD
30480 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
30481
90f139dd
UD
30482 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
30483
1d002f25
AS
304842011-07-21 Andreas Schwab <schwab@redhat.com>
30485
30486 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
30487 change.
30488 (_dl_x86_64_save_sse): Use correct AVX check.
30489
21137f89
UD
304902011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30491
30492 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
30493 bug in strncpy/strncat.
30494 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30495
a65c0b7a
UD
304962011-07-21 Ulrich Drepper <drepper@gmail.com>
30497
30498 * string/tester.c (test_strcat): Add tests for different alignments
30499 of source and destination.
30500 (test_strncat): Likewise.
30501
6986b98a
UD
305022011-07-20 Ulrich Drepper <drepper@gmail.com>
30503
90bb2039
UD
30504 [BZ #12852]
30505 * posix/glob.c (glob): Check passed in values before using them in
30506 expressions to avoid some overflows.
30507 (glob_in_dir): Likewise.
30508
5644ef54
UD
30509 [BZ #13007]
30510 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
30511 check for AVX enablement so that we don't crash with old kernels and
30512 new hardware.
30513 * elf/tst-audit4.c: Add same checks here.
30514 * elf/tst-audit6.c: Likewise.
30515
30516 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 30517
bfc9dc9b
AS
305182011-07-09 Andreas Schwab <schwab@linux-m68k.org>
30519
30520 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
30521
702e64bb
UD
305222011-07-20 Ulrich Drepper <drepper@gmail.com>
30523
30524 * po/cs.po: Update from translation team.
30525 * po/bg.po: Likewise.
30526
295e904f
MP
305272011-07-12 Marek Polacek <mpolacek@redhat.com>
30528
30529 * misc/sys/cdefs.h: Add support for const attribute.
30530 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
30531 to gnu_dev_{major,minor,makedev} functions.
30532
3ff94596
MP
305332011-07-20 Marek Polacek <mpolacek@redhat.com>
30534
30535 * intl/dcigettext.c (get_output_charset): Add missing bracket.
30536
28b59fca
AS
305372011-07-20 Andreas Schwab <schwab@redhat.com>
30538
30539 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
30540 strlen results.
30541
19df733e
AK
305422011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30543
30544 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30545 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
30546 register in order to avoid conflicts with the soft frame pointer
30547 being held in r11 when necessary.
30548 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30549 (INTERNAL_VSYSCALL_NCS): Likewise.
30550
c8835729
MP
305512011-07-14 Marek Polacek <mpolacek@redhat.com>
30552
30553 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
30554 * elf/dl-fini.c (_dl_fini): Adjust caller.
30555 * elf/dl-close.c (_dl_close_worker): Likewise.
30556 * sysdeps/generic/ldsodefs.h: Adjust declaration.
30557
b902330c
MP
305582011-07-15 Marek Polacek <mpolacek@redhat.com>
30559
8991e135
MP
30560 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
30561 "aux_cache->nlibs < 0".
30562
b902330c
MP
30563 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
30564 in the reload-count case.
30565
99710781
LD
305662011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30567
30568 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30569 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
30570 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
30571 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
30572 * sysdeps/x86_64/multiarch/strcat.S: New file.
30573 * sysdeps/x86_64/multiarch/strncat.S: New file.
30574 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
30575 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
30576 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
30577 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
30578 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
30579 (USE_AS_STRCAT): Define.
30580 Add strcat and strncat support.
30581 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30582 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30583 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
30584 * string/strncat.c: Update.
30585 (USE_AS_STRNCAT): Define.
30586 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30587 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
30588 and i7.
30589 * sysdeps/x86_64/multiarch/init-arch.h
30590 (bit_Prefer_PMINUB_for_stringop): New.
30591 (index_Prefer_PMINUB_for_stringop): Likewise.
30592 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
30593 bit_Prefer_PMINUB_for_stringop.
30594
7dc6bd90
UD
305952011-07-19 Ulrich Drepper <drepper@gmail.com>
30596
30597 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
30598 buffer64.
30599 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
30600 of casting of buffer.
30601 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
30602 buffer32 and buffer64.
30603 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
30604 writes instead of casting of buffer.
30605 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
30606 buffer32.
30607 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
30608 casting of buffer.
30609
e0e72284
AS
306102011-07-19 Andreas Schwab <schwab@redhat.com>
30611
30612 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
30613
feb1eb0b
UD
306142011-07-19 Ulrich Drepper <drepper@gmail.com>
30615
30616 * nscd/nscd.c (termination_handler): Don't do anything for a database
30617 if it has not yet been initialized.
30618
298711ff
UD
306192011-07-18 Ulrich Drepper <drepper@gmail.com>
30620
30621 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30622
306232011-07-15 Marek Polacek <mpolacek@redhat.com>
30624
30625 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30626
f9d68389
UD
306272011-07-18 Ulrich Drepper <drepper@gmail.com>
30628
30629 * po/nl.po: Update from translation team.
30630 * po/sv.po: Likewise.
30631
db290cf5
RM
306322011-07-16 Roland McGrath <roland@hack.frob.com>
30633
30634 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
30635 now disallowed by GCC.
5c550700 30636
fd5e21c7
RM
30637 * configure.in (use-default-link): Default to yes if a test -shared
30638 link meets our qualifications.
30639 * configure: Regenerated.
30640
5c550700
RM
30641 * config.make.in (output-format): New variable.
30642 * configure.in: Check for ld --print-output-format support.
30643 * configure: Regenerated.
30644 * Makerules ($(common-objpfx)format.lds)
30645 [$(output-format) != unknown]: Just use $(output-format),
30646 instead of the linker-script munging.
30647
9fa2c032
RM
306482011-07-14 Roland McGrath <roland@hack.frob.com>
30649
a6928d51
RM
30650 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
30651 of $(common-objpfx)shlib.lds.
30652 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
30653
661607b3
RM
30654 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
30655 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
30656
9fa2c032
RM
30657 * configure.in (-z relro check): Adjust test code to add a large
30658 writable data section after it.
30659 * configure: Regenerated.
30660
defe9061
RM
306612011-07-11 Roland McGrath <roland@hack.frob.com>
30662
30663 * configure.in (-z relro check): Fix test code to make the variable
30664 truly const.
30665 * configure: Regenerated.
30666
319b9ad4
UD
306672011-07-11 Ulrich Drepper <drepper@gmail.com>
30668
30669 * nscd/nscd.h (struct traced_file): Define.
30670 (struct database_dyn): Remove inotify_descr, reset_res, and filename
30671 elements. Add traced_files.
30672 (inotify_fd): Declare.
30673 (register_traced_file): Declare.
30674 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
30675 (inotify_fd): Export.
30676 (resolv_conf_descr): Remove.
30677 (nscd_init): Move inotify descriptor creation to main.
30678 Don't register files for notification here.
30679 (register_traced_file): New function.
30680 (invalidate_cache): Don't use reset_res to determine whether to call
30681 res_init, go through the list of registered files.
30682 (main_loop_poll): The inotify descriptors are now stored in the
30683 structures for the traced files.
30684 (main_loop_epoll): Likewise
30685 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
30686 to __nss_disable_nscd.
30687 * nscd/cache.c (prune_cache): There is no single inotify descriptor
30688 for a database anymore. Check the records for all the registered
30689 files instead.
30690 * nss/Makefile (libnss_files-routines): Add files-init.
30691 (libnss_db-routines): Add db-init.
30692 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
30693 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
30694 * nss/nss_db/db-init.c: New file.
30695 * nss/nss_files/files-init.c: New file.
30696 * nss/nsswitch.c (nss_load_library): New function. Broken out of
30697 __nss_lookup_function.
30698 (__nss_lookup_function): Call nss_load_library.
30699 (nss_load_all_libraries): New function.
30700 (__nss_disable_nscd): Take parameter with callback function for files
30701 to register. Set is_nscd. Load all the DSOs for the NSS modules
30702 used for the cached services.
30703 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
30704 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
30705 options for features to all the files in nscd.
30706
30707 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
30708
23bee3e8
RM
307092011-07-10 Roland McGrath <roland@hack.frob.com>
30710
30711 * csu/elf-init.c (__libc_csu_init): Comment typo.
30712
46a5b7f0
UD
307132011-07-09 Ulrich Drepper <drepper@gmail.com>
30714
30715 * po/pl.po: Update from translation team.
30716 * po/ja.po: Likewise.
30717 * po/ru.po: Likewise.
30718 * po/ko.po: Likewise.
30719 * po/fr.po: Likewise.
30720
d30cf5bb
RM
307212011-07-09 Roland McGrath <roland@hack.frob.com>
30722
113ddea4
RM
30723 * configure.in (.ctors/.dtors header and trailer check):
30724 Use an empirical test on a built program.
30725 * configure: Regenerated.
30726
574920b4
RM
30727 * configure.in (-z relro check): Use an empirical test on a built DSO.
30728 Detect, but do not require, on ia64.
30729 * configure: Regenerated.
30730
d30cf5bb
RM
30731 * configure.in (READELF): Find it with AC_CHECK_TOOL.
30732 Update tests that use readelf to use $READELF instead.
30733 * configure: Regenerated.
30734
8538fdb3
UD
307352011-07-08 Ulrich Drepper <drepper@gmail.com>
30736
30737 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
30738 if the result is not used.
30739
04d08991
AJ
307402011-07-05 Andreas Jaeger <aj@suse.de>
30741
30742 [BZ#9696]
30743 * stdlib/tst-strtod.c: Add testcase.
30744
de283087
AD
307452011-07-07 Ulrich Drepper <drepper@gmail.com>
30746
4e5f31c8 30747 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 30748 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
30749 The latter has a higher limit. Take additional parameter to pass to
30750 the new function.
30751 (__pathconf): Pass file to __statfs_link_max.
30752 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
30753 __statfs_link_max.
30754 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
30755 __statfs_link_max.
30756
de283087
AD
30757 [BZ #12868]
30758 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
30759 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30760 Handle Lustre.
30761 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
30762 (__statfs_filesize_max): Likewise.
30763 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
30764
c75fa153
AJ
307652011-07-05 Andreas Jaeger <aj@suse.de>
30766
30767 * resolv/res_comp.c (dn_skipname): Remove unused variable.
30768
1a544854
UD
307692011-07-06 Marek Polacek <mpolacek@redhat.com>
30770
30771 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
30772 `status' variable.
30773 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
30774 Likewise.
30775
6f0eec67
UD
307762011-07-04 H.J. Lu <hongjiu.lu@intel.com>
30777
30778 * Makefile (strop-tests): Add strncat.
30779 * string/test-strncat.c: New file.
30780
aae30307
UD
307812011-06-30 Marek Polacek <mpolacek@redhat.com>
30782
30783 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
30784
c0cfb5eb
UD
307852011-06-21 Andreas Jaeger <aj@suse.de>
30786
30787 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
30788 Copy rule from iconvdata/Makefile.
30789
01636b21
UD
307902011-07-06 Ulrich Drepper <drepper@gmail.com>
30791
30792 [BZ #12922]
30793 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
30794 but no long options are defined, just return 'W'.
30795
9895c8bc
UD
307962011-06-22 Marek Polacek <mpolacek@redhat.com>
30797
30798 [BZ #9696]
30799 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
30800
5d4cf042
UD
308012011-07-06 Ulrich Drepper <drepper@gmail.com>
30802
30803 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
30804 netgroups to read.
960e5535 30805 (innetgr): Likewise.
5d4cf042 30806
751eb97e
RM
308072011-07-05 Roland McGrath <roland@hack.frob.com>
30808
30809 * config.make.in (install_root): Default to $(DESTDIR).
30810
f15f1e45
UD
308112011-07-05 Ulrich Drepper <drepper@gmail.com>
30812
30813 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
30814
4e34ac6a
RM
308152011-07-02 Roland McGrath <roland@hack.frob.com>
30816
5e9b6af4
RM
30817 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
30818
84f9ea0f
RM
30819 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
30820 containing directory rather than embedding absolute directory names.
30821
ea5ee9f7
RM
30822 * scripts/check-local-headers.sh: Rewritten using awk.
30823 Match by word, not by line. Print error messages for matches.
30824 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
30825
1b74661a
RM
30826 * Makerules [shlib-lds-flags empty]:
30827 ($(common-objpfx)libc_pic.opts): New target.
30828 ($(common-objpfx)libc_pic.os.clean): New target.
30829 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
30830
30831 * config.make.in (OBJCOPY): New variable.
30832 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
30833 * configure: Regenerated.
30834
f781ef40
RM
30835 * config.make.in (use-default-link): New variable.
30836 * configure.in (use_default_link): Grok --with-default-link to set it.
30837 * configure: Regenerated.
30838 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
30839 (shlib-lds, shlib-lds-flags): Define to empty.
30840
2d4fa81e
RM
30841 * Makerules (shlib-lds): New variable.
30842 (shlib-lds-flags): New variable.
30843 (build-shlib, build-moduile, build-module-asneeded): Use it.
30844 ($(common-objpfx)libc.so): Use $(shlib-lds).
30845 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
30846 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
30847
31fffa6b
RM
30848 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
30849 DT_FLAGS/DT_FLAGS_1 with zero flags.
30850
4e34ac6a
RM
30851 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
30852 linker script munging.
30853
fcfc776b
UD
308542011-07-02 Ulrich Drepper <drepper@gmail.com>
30855
30856 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
30857 as 128-bit value.
30858 * crypt/sha512.c (sha512_process_block): Perform total addition using
30859 128-bit if possible.
30860 (__sha512_finish_ctx): Likewise.
30861 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
30862 as 64-bit value.
30863 * crypt/sha256.c (SWAP64): Define.
30864 (sha256_process_block): Perform total addition using 64-bit if
30865 possible.
30866 (__sha256_finish_ctx): Likewise.
30867
99231d9a
UD
308682011-07-01 Ulrich Drepper <drepper@gmail.com>
30869
30870 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
30871 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30872 * nscd/hstcache.c (cache_addhst): Likewise.
30873 * nscd/grpcache.c (cache_addgr): Likewise.
30874 * nscd/aicache.c (addhstaiX): Likewise
30875 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
30876
445b4a53
TK
308772011-07-01 Thorsten Kukuk <kukuk@suse.de>
30878
30879 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
30880 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30881 * nscd/hstcache.c (cache_addhst): Likewise.
30882 * nscd/grpcache.c (cache_addgr): Likewise.
30883 * nscd/aicache.c (addhstaiX): Likewise
30884
6d4d8e8e
AS
308852011-07-01 Andreas Schwab <schwab@redhat.com>
30886
30887 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
30888 domain only when needed.
30889
89f654c5
AS
308902011-06-30 Andreas Schwab <schwab@redhat.com>
30891
30892 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
30893 is always restored.
30894
cf3b23ff
UD
308952011-06-29 Ulrich Drepper <drepper@gmail.com>
30896
30897 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
30898 are re-adding the entry.
30899 * nscd/servicescache.c (cache_addserv): Likewise.
30900
751626f9
AJ
309012011-06-30 Aurelien Jarno <aurelien@aurel32.net>
30902
30903 * sysdeps/generic/dl-irel.h: fix protection against multiple
30904 inclusions.
30905 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
30906
9113ea1f
UD
309072011-06-28 Ulrich Drepper <drepper@gmail.com>
30908
5c0b8d90
UD
30909 [BZ #12935]
30910 * malloc/memusage.sh: Fix quoting in message.
30911 * debug/xtrace.sh: Likewise.
30912
9113ea1f
UD
30913 * configure.in: Remove support for --experimental-malloc option, make
30914 it the default.
30915 * config.make.in: Likewise.
30916 * malloc/Makefile: Likewise.
30917
a4172181
AS
309182011-06-27 Andreas Schwab <schwab@redhat.com>
30919
30920 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
30921 two-byte characters.
30922
78a7eee7
RM
309232011-06-27 Roland McGrath <roland@hack.frob.com>
30924
62bede13
RM
30925 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
30926 AC_CACHE_CHECK invocation.
30927 * configure: Regenerated.
30928
78a7eee7
RM
30929 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
30930
5ce33a62
UD
309312011-06-27 Ulrich Drepper <drepper@gmail.com>
30932
034807a9
UD
30933 [BZ #12350]
30934 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
30935 bit from old_res_options.
30936
4902da17
UD
30937 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
30938
5ce33a62
UD
30939 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
30940 value type for setfct.
30941
c2344f56
L
309422011-06-23 H.J. Lu <hongjiu.lu@intel.com>
30943
30944 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30945 __gettimeofday instead of gettimeofday.
30946
68468076
UD
309472011-06-26 Ulrich Drepper <drepper@gmail.com>
30948
30949 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
30950
acb0d739
L
309512011-06-24 H.J. Lu <hongjiu.lu@intel.com>
30952
30953 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30954
30955 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30956 info.
30957
8912479f
L
309582011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30959
30960 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30961 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30962 strcpy-sse2-unaligned strncpy-sse2-unaligned
30963 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
30964 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
30965 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
30966 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
30967 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
30968 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
30969 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
30970 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
30971 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
30972 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
30973 (STRCPY): Support SSE2 and SSSE3 versions.
30974
d5495a11
UD
309752011-06-24 Ulrich Drepper <drepper@gmail.com>
30976
30977 [BZ #12874]
30978 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
30979 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
30980 kernels which artificially limit size of requests.
30981
0b1cbaae
L
309822011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30983
30984 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30985 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30986 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
30987 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
30988 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
30989 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
30990 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
30991 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
30992 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
30993 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
30994 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
30995 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
30996 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
30997 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
30998 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
30999 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31000 Enable unaligned load optimization for Intel Core i3, i5 and i7
31001 processors.
31002 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
31003 Define.
31004 (index_Fast_Unaligned_Load): Define.
31005 (HAS_FAST_UNALIGNED_LOAD): Define.
31006
07f494a0
MP
310072011-06-23 Marek Polacek <mpolacek@redhat.com>
31008
31009 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
31010
fa3fc0fe
UD
310112011-06-22 Ulrich Drepper <drepper@gmail.com>
31012
31013 [BZ #12907]
31014 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
31015 until it is clear that the information is realy needed.
31016 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
31017
e12df166
AS
310182011-06-22 Andreas Schwab <schwab@redhat.com>
31019
31020 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
31021
852eb34d
UD
310222011-06-22 Ulrich Drepper <drepper@gmail.com>
31023
84e2a551
UD
31024 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31025 /sys/devices/system/cpu/online if it is usable.
31026
852eb34d
UD
31027 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
31028 reading the information from the /proc filesystem to once a second.
31029
6e502e19
UD
310302011-06-21 Andreas Jaeger <aj@suse.de>
31031
31032 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
31033 NULL after inclusion of kernel headers.
31034
75d39ff2
UD
310352011-06-21 Ulrich Drepper <drepper@gmail.com>
31036
51f9aa6a
UD
31037 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
31038 calls to internal_setent.
31039
c0244a9d
UD
31040 [BZ #12885]
31041 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
31042 addresses using gethostbyname4_r ignore IPv4 addresses.
31043
c5e3c2ae
UD
31044 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
31045 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
31046
75d39ff2
UD
31047 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
31048
42675c6f
DM
310492011-06-20 David S. Miller <davem@davemloft.net>
31050
31051 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
31052 inclusions.
31053 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
31054
31055 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
31056 (elf_irel): Use it.
31057 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
31058 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
31059 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
31060 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
31061 * sysdeps/x86_64/dl-irel.h: Likewise.
31062
31063 * elf/dl-runtime.c: Use elf_ifunc_invoke.
31064 * elf/dl-sym.c: Likewise.
31065
57912a71
UD
310662011-06-15 Ulrich Drepper <drepper@gmail.com>
31067
31068 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
31069 need to dereference resplen2.
31070
ee22793d
AS
310712011-06-14 Andreas Schwab <schwab@redhat.com>
31072
31073 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
31074
a9e836b0
UD
310752011-06-15 Ulrich Drepper <drepper@gmail.com>
31076
77fb9117
UD
31077 * Makeconfig: Define vardbdir and inst_vardbdir.
31078 * nss/Makefile: Add rules to install db-Makefile.
31079
40c1b22c
UD
31080 * nss/nss_db/db-XXX.c: Cleanup.
31081
9f2da732
UD
31082 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
31083 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
31084 GLIBC_PRIVATE.
31085 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
31086 * nss/makedb.c: Implement -g option to specify that value strings
31087 are generated and should not be added to table iterated over for
31088 get*ent calls.
31089 * nss/nss_db/db-initgroups.c: New file.
31090
82e9a1f7
UD
31091 * nss/getent.c: Add support for initgroups lookups through getgrouplist
31092 interface.
31093
c41af17e
UD
31094 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
31095 (internal_getgrouplist): Adjust to name change.
31096 Update use_initgroups_entry if this is not the first call.
31097 * nss/databases.def: Add initgroups entry.
31098
a9e836b0
UD
31099 * nss/makedb.c (compute_tables): Check result of multiple hash table
31100 sizes to minimize maximum chain length.
31101
2666d441
UD
311022011-06-14 Ulrich Drepper <drepper@gmail.com>
31103
31104 * Versions.def: Add entry for libnss_db.
31105 * shlib-versions: Likewise.
31106 * nss/Makefile: Add rules to build libnss_db.
31107 * nss/Versions: Add libnss_db information. Organize libnss_files
31108 entries better.
31109 * nss/db-Makefile: Add gshadow support. Change rules for the new
31110 makedb progra. Some minor improvements to generate smaller files.
31111 * nss/nss_db/nss_db.h: Move NSS database header data structures to
31112 here from...
31113 * nss/makedb.c: ...here.
31114 Improve database format to be smaller and require less memory at
31115 runtime.
31116 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
31117 db anymore.
31118 * nss/nss_db/db-netgrp.c: Likewise.
31119 * nss/nss_db/db-open.c: Likewise.
31120 * nss/nss_files/flies-XXX.x: Adjust comments.
31121 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
31122 * nss/nss_files/files-grp.c: Likewise.
31123 * nss/nss_files/files-hosts.c: Likewise.
31124 * nss/nss_files/files-network.c: Likewise.
31125 * nss/nss_files/files-proto.c: Likewise.
31126 * nss/nss_files/files-pwd.c: Likewise.
31127 * nss/nss_files/files-rpc.c: Likewise.
31128 * nss/nss_files/files-service.c: Likewise.
31129 * nss/nss_files/files-sgrp.c: Likewise.
31130 * nss/nss_files/files-spwd.c: Likewise.
31131 * nss/nss_db/db-alias.c: Removed.
31132 * nss/nss_db/dummy-db.h: Removed.
31133
9ee76b5a
UD
311342011-06-02 Ulrich Drepper <drepper@gmail.com>
31135
31136 * nss/makedb.c: Rewritten to not use database library.
31137 * nss/Makefile: Update to build new makedb program.
31138
c71ca1f8
AJ
311392011-06-14 Andreas Jaeger <aj@suse.de>
31140
31141 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
31142 memset declaration.
31143
3154bfb8
UD
311442011-06-10 Andreas Schwab <schwab@redhat.com>
31145
31146 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
31147 tmpbuf.
31148
b350afab
RM
311492011-06-10 Roland McGrath <roland@hack.frob.com>
31150
decd4e50
RM
31151 * Makerules (shlib.lds): Fail if the linker script comes out empty.
31152 * elf/Makefile ($(objpfx)ld.so): Likewise.
31153
5615eaf2
RM
31154 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
31155 Don't list ld.so twice in dependencies.
31156
31157 * posix/bug-regex31.c: Include <stdlib.h>.
31158
31159 * nscd/hstcache.c (cache_addhst): Remove unused variable.
31160
31161 * nis/nss_compat/compat-spwd.c
31162 (getspent_next_nss_netgr): Remove unused variable.
31163 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
31164
31165 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
31166 nonmembers" output to use the right array.
31167
31168 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
31169
31170 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
31171
31172 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
31173 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
31174 * catgets/gencat.c (read_input_file): Likewise.
31175 * locale/programs/locarchive.c (enlarge_archive): Likewise.
31176
31177 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
31178 variable definition inside #if's controlling its use.
31179
31180 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
31181
31182 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
31183
31184 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
31185
31186 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
31187 unreachable code.
31188
31189 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
31190
b68e08db
RM
31191 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
31192 * configure: Regenerated.
31193
b350afab
RM
31194 * Makerules: Revert last change.
31195 * elf/Makefile: Likewise.
31196
28368601
RM
311972011-06-09 Roland McGrath <roland@hack.frob.com>
31198
31199 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
31200 * elf/Makefile ($(objpfx)librtld.os): Likewise.
31201 (reloc-link): Likewise.
31202
11988f8f
UD
312032011-06-09 Ulrich Drepper <drepper@gmail.com>
31204
31205 * elf/Makefile: Add rules to build pldd.
31206 * elf/pldd.c: New file.
31207 * elf/pldd-xx.c: New file.
31208
e80fab37
UD
312092011-06-07 Ulrich Drepper <drepper@gmail.com>
31210
31211 * version.h: Update for 2.15 development version.
31212
9b849836
DM
312132011-06-07 David S. Miller <davem@davemloft.net>
31214
31215 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
31216 ifuncs.
31217 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
31218 elf_machine_lazy_rel): Likewise.
31219 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
31220 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
31221 elf_machine_lazy_rel): Likewise.
31222 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
31223 dl_hwcap via passed in argument.
31224 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
31225 Likewise.
31226
5a31b283
AK
312272011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31228
31229 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
31230
069e52f8
RM
312312011-06-06 Roland McGrath <roland@hack.frob.com>
31232
31233 [BZ #12849]
31234 * manual/fdl-1.1.texi: New file, verbatim from:
31235 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
31236 * manual/lgpl-2.1.texi: New file, verbatim from:
31237 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
31238 * manual/Makefile (licenses): New variable, list those new file names.
31239 (texis): Use it.
31240 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
31241
31242 * manual/fdl.texi: File removed.
31243 * manual/lesser.texi: File removed.
31244 * manual/libc.texinfo (Copying, Documentation License):
31245 Use new @include file names, put @appendix directive before @include.
31246
f16846a5
JJ
312472011-06-04 Jakub Jelinek <jakub@redhat.com>
31248
31249 [BZ #12841]
31250 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
31251 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
31252 (mq_open): Add __NTH.
31253
3d29045b
L
312542011-06-02 H.J. Lu <hongjiu.lu@intel.com>
31255
31256 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31257 Assume Intel Core i3/i5/i7 processor if AVX is available.
31258
8c297311
UD
312592011-05-31 Ulrich Drepper <drepper@gmail.com>
31260
31261 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
31262 typo.
31263
c8fc0c91
UD
312642011-05-31 Andreas Schwab <schwab@redhat.com>
31265
31266 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
31267 memory. Use alloca_account. Fix memory leak when retrying.
31268
5b27a807
UD
312692011-05-31 Ulrich Drepper <drepper@gmail.com>
31270
356f8bc6
UD
31271 * version.h (RELEASE): Bump for 2.14 release.
31272 * include/features.h (__GLIBC_MINOR__): Bump to 14.
31273
5b27a807
UD
31274 * config.make.in (RANLIB): Remove entry.
31275
01f16ab0
UD
312762011-05-30 Ulrich Drepper <drepper@gmail.com>
31277
41fce8bd
UD
31278 * po/Makefile (po-sed-cmd): Add ksh to extensions.
31279 (libc.pot): Work around missing support for .ksh extension in xgettext.
31280
4769ae77
UD
31281 [BZ #12684]
31282 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
31283 if both request failed.
31284 (send_dg): In case of server errors clear resplen or *resplen2.
31285
6b1e7d19
UD
31286 [BZ #12454]
31287 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
31288 when there are multiple maps.
31289 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
31290 (_dl_fini): Remove test here.
31291
01f16ab0
UD
31292 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
31293
b1ebd700
UD
312942011-05-29 Ulrich Drepper <drepper@gmail.com>
31295
7ae22829
UD
31296 [BZ #12350]
31297 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
31298 bit from old_res_options.
31299 (gaih_inet): Likewise.
31300
553149f6 31301 [BZ #11099]
18a84741 31302 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
31303 as signed.
31304
652ffab1
UD
31305 * resolv/res_init.c (res_setoptions): Make the code more compact.
31306
16985fd0
UD
31307 [BZ #11558]
31308 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
31309 set RES_USEVC.
31310
0464f746
UD
31311 [BZ #11634]
31312 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
31313
7d17596c
UD
31314 * malloc/malloc.h: Mark malloc hook variables as deprecated.
31315
cf6bbbd7
UD
31316 [BZ #11781]
31317 * malloc/malloc.h: Declare malloc hook variables as volatile.
31318
13f1ab36
UD
31319 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
31320 in last patch.
31321
b1ebd700
UD
31322 [BZ #11799]
31323 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 31324 raise in the comment.
80e2212d
UD
31325 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31326 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31327 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 31328
ce67228d
UD
313292011-05-28 Ulrich Drepper <drepper@gmail.com>
31330
8887a920
UD
31331 [BZ #12811]
31332 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
31333 grow the buffers more if it already has to be sufficient.
31334 (build_wcs_upper_buffer): Likewise.
31335 * posix/regexec.c (check_matching): Likewise.
31336 (clean_state_log_if_needed): Likewise.
31337 (extend_buffers): Don't enlarge buffers beyond size of the input
31338 buffer.
31339 Patches mostly by Emil Wojak <emil@wojak.eu>.
31340 * posix/bug-regex32.c: New file.
31341 * posix/Makefile (tests): Add bug-regex32.
31342
4f031072
UD
31343 * locale/findlocale.c (_nl_find_locale): Return right away if
31344 _nl_explode_name failed.
31345 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
31346
d0478f0c
UD
31347 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
31348
de81b246
UD
31349 * debug/xtrace.sh: Unify messages.
31350 * malloc/memusage.sh: Likewise.
31351
c738465a
UD
31352 [BZ #12813]
31353 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
31354 time symbol from vDSO. Substitute with vsyscall if not available.
31355 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
31356 __vdso_time.
31357
f1f929d7
UD
31358 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
31359 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
31360 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
31361 Add sendmmsg and internal_sendmmsg.
31362 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
31363 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
31364 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
31365
ce67228d
UD
31366 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
31367 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
31368 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
31369
e57420c6
UD
313702011-05-27 Ulrich Drepper <drepper@gmail.com>
31371
a8509ca5
UD
31372 [BZ #12813]
31373 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
31374 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
31375 available.
31376 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
31377 __vdso_getcpu.
31378
e57420c6
UD
31379 [BZ #12814]
31380 * iconvdata/Makefile (tests): Add bug-iconv9.
31381 * iconvdata/bug-iconv9.c: New file.
31382
4d07db15
AS
313832011-05-27 Andreas Schwab <schwab@redhat.com>
31384
31385 [BZ #12814]
31386 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
31387
ea486f69
JJ
313882011-05-25 Jakub Jelinek <jakub@redhat.com>
31389
31390 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31391 (struct user_regs_struct): Change intcs field back to cs.
31392
6f038433
UD
313932011-05-25 Ulrich Drepper <drepper@gmail.com>
31394
31395 * po/ja.po: Update from translation team.
31396
67f86a25
UD
313972011-05-23 Ulrich Drepper <drepper@gmail.com>
31398
31399 [BZ #12795]
31400 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
31401 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
31402
def7fbd6
AS
314032011-05-20 Andreas Schwab <schwab@redhat.com>
31404
31405 * stdlib/longlong.h: Update from GCC.
31406
f50ef8f1
AS
314072011-05-23 Andreas Schwab <schwab@redhat.com>
31408
31409 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
31410 parameter name.
31411 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
31412 Add parameter name.
31413 (__sysconf): Pass it down.
31414
de7ce8f1
UD
314152011-05-22 Ulrich Drepper <drepper@gmail.com>
31416
f2962a71
UD
31417 [BZ #12671]
31418 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
31419 some situations.
31420 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31421 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
31422 add in in __libc_use_alloca calls. Adjust callers.
31423 (glob): Use malloc in some situations.
31424
de7ce8f1
UD
31425 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
31426 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
31427 pltexit.
31428
aec84f53
UD
314292011-05-21 Ulrich Drepper <drepper@gmail.com>
31430
05bb4a68
UD
31431 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
31432 and CLOCK_BOOTTIME_ALARM.
31433
7ea72f99
UD
31434 [BZ #12782]
31435 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
31436 is returned.
31437
7e4afad5
UD
31438 * string/_strerror.c (__strerror_r): Print negative errors as signed
31439 numbers.
31440
8e211fec
UD
31441 [BZ #12777]
31442 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
31443 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
31444 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
31445
f7d82dc9
UD
31446 * configure.in: Fix typo in redirection and correct removal of test
31447 files in two cases.
31448
cc9e536d
UD
31449 [BZ #12788]
31450 * locale/setlocale.c (new_composite_name): Fix test to check for
31451 identical name of all categories.
31452
aec84f53
UD
31453 [BZ #12792]
31454 * libio/filedoalloc.c (local_isatty): New function.
31455 (_IO_file_doallocate): Use local_isatty.
31456 * stdio-common/perror.c (perror): In case a new stream is used
31457 forward the stream error.
31458 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
31459 error flag.
31460
78e64fdc
RT
314612011-05-20 Ulrich Drepper <drepper@gmail.com>
31462
34a9094f
UD
31463 [BZ #11869]
31464 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
31465 alloca.
31466 * include/alloca.h (extend_alloca_account): Define.
31467
78e64fdc
RT
31468 [BZ #11857]
31469 * posix/regex.h: Fix comments with documentation of user-accessible
31470 fields after compilation and describe correct free'ing of pattern
31471 after re_compile_pattern.
31472 Patch by Reuben Thomas <rrt@sc3d.org>.
31473
457bddfc
RA
314742011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
31475
31476 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
31477 and -mno-altivec to prevent the compiler from using Altivec and/or
31478 VSX instructions when the corresponding registers are not available.
31479
a4527b51
AS
314802011-05-19 Andreas Schwab <schwab@redhat.com>
31481
31482 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
31483
ed690b2f
UD
314842011-05-19 Ulrich Drepper <drepper@gmail.com>
31485
31486 * libio/freopen.c (freopen): Use __dup2, not dup2.
31487 * libio/freopen64.c (freopen64): Likewise.
31488
8db73634
L
314892011-05-17 H.J. Lu <hongjiu.lu@intel.com>
31490
31491 [BZ #12775]
31492 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
31493 * math/Makefile (tests): Add test-powl.
31494 (CFLAGS-test-powl.c): Define.
31495 * math/test-powl.c: New file.
31496
0a197a9d
L
314972011-05-16 H.J. Lu <hongjiu.lu@intel.com>
31498
31499 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
31500
ee30c380
UD
315012011-05-17 Ulrich Drepper <drepper@gmail.com>
31502
31503 [BZ #11837]
31504 * iconvdata/gb18030.c: Update to GB18020-2005.
31505
6ce75379
UD
315062011-05-16 Ulrich Drepper <drepper@gmail.com>
31507
a4b89fd8
AR
31508 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
31509 RE_SYNTAX_POSIX_AWK): Update to match recent development.
31510 Patch by Aharon Robbins <arnold@skeeve.com>.
31511
ea389b12
UD
31512 [BZ #11892]
31513 * stdlib/putenv.c (putenv): Don't always create copy of the variable
31514 on the stack.
31515
68a3f91f
UD
31516 [BZ #11895]
31517 * misc/pselect.c (__pselect): Handle timeout value errors hidden
31518 through underflows.
31519
15cc7dd1
UD
31520 [BZ #12766]
31521 * misc/error.c (error_at_line): Ensure file_name and old_file_name
31522 point to strings before performing equality test for error_one_per_line
31523 mode.
31524
f3799213
UD
31525 [BZ #11697]
31526 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
31527
d79a9c94
UD
31528 [BZ #11820]
31529 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31530 (struct user_fpregs_struct): Avoid __uint*_t types.
31531
56e5eb46
UD
31532 [BZ #6420]
31533 * malloc/mtrace.c (tr_where): Add additional parameter to point to
31534 symbol info. Use it instead of calling _dl_addr locally.
31535 (lock_and_info): New function.
31536 (tr_freehook): Call lock_and_info and pass symbol info as additional
31537 parameter to tr_where.
31538 (tr_mallochook): Likewise.
31539 (tr_reallochook): Likewise.
31540 (tr_memalignhook): Likewise.
31541
6ce75379
UD
31542 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
31543 used and couldn't be at all thread-safe.
31544
f8a3b5bf
UD
315452011-05-15 Ulrich Drepper <drepper@gmail.com>
31546
94b7cc37
UD
31547 * libio/freopen.c (freopen): Don't close old file descriptor
31548 before the new one is opened. Instead dup the new file descriptor
31549 to the old one after the new stream is created.
31550 * libio/freopen64.c (freopen64): Likewise.
31551 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
31552 * libio/fileops.c (_IO_new_file_close_it): Handle new
31553 _IO_FLAGS2_NOCLOSE flag.
31554 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
31555 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
31556 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
31557 _IO_FLAGS2_NOCLOSE flag.
31558 * include/unistd.h: Add hidden_proto for dup3.
31559 Define __have_dup3.
31560 * io/dup3.c: Define hidden symbol.
31561 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
31562
bd25564e
UD
31563 [BZ #7101]
31564 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
31565 when an incomplete long option is used.
31566 * posix/tst-getopt_long1.c: New file.
31567 * posix/Makefile (tests): Add tst-getopt_long1.
31568
c84cfef4
UD
31569 [BZ #10138]
31570 * scripts/config.guess: Update from autoconf-2.68.
31571 * scripts/config.sub: Likewise.
31572
3b85df27
UD
31573 [BZ #10157]
31574 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
31575 tests into ...
31576 (has_cpuclock): ...this. New function.
31577 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
31578 macro here based on has_cpuclock code.
31579
15a856b1
UD
31580 [BZ #10149]
31581 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31582 First byte (not low byte) is now always NUL.
31583 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
31584
05f399e6
UD
31585 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31586 Use non-cancelable interfaces.
31587
10a52685 31588 [BZ #9809]
94ecc67d
UD
31589 * locale/iso-639.def: Add entry for Sorani.
31590
f8a3b5bf
UD
31591 [BZ #11901]
31592 * include/stdlib.h: Move include protection to the right place.
31593 Define abort_msg_s. Declare __abort_msg with it.
31594 * stdlib/abort.c (__abort_msg): Adjust type.
31595 * assert/assert.c (__assert_fail_base): New function. Majority
31596 of code from __assert_fail. Allocate memory for __abort_msg with
31597 mmap.
31598 (__assert_fail): Now call __assert_fail_base.
31599 * assert/assert-perr.c: Remove bulk of implementation. Use
31600 __assert_fail_base.
31601 * include/assert.hL Declare __assert_fail_base.
31602 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
31603 mmap.
31604 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
31605
1af4e298
UD
316062011-05-14 Ulrich Drepper <drepper@gmail.com>
31607
f8a3b5bf 31608 [BZ #11952]
d26dfc60
MG
31609 [BZ #12453]
31610 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
31611 until all modules are registered in the DTV.
31612 * elf/Makefile: Add rules to build and run tst-tls19.
31613 * elf/tst-tls19.c: New file.
31614 * elf/tst-tls19mod1.c: New file.
31615 * elf/tst-tls19mod2.c: New file.
31616 * elf/tst-tls19mod3.c: New file.
31617 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
31618
2fc54d6f
UD
31619 [BZ #12083]
31620 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
31621 correctly.
31622
98d76b46
UD
31623 [BZ #12601]
31624 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
31625 two-byte sequence errors.
31626 * iconvdata/Makefile (tests): Add bug-iconv8.
31627 * iconvdata/bug-iconv8.c: New file.
31628
da3c19ef
UD
31629 [BZ #12626]
31630 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
31631 buf2 definition.
31632
ca408c15
UD
31633 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
31634
d6f67f7d
UD
31635 [BZ #12432]
31636 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
31637 (dummy_getcfa): New function.
31638 (init): Get _Unwind_GetCFA address, use dummy if not found.
31639 (backtrace_helper): In recursion check, also check whether CFA changes.
31640 (__backtrace): Completely initialize arg.
31641
1af4e298 31642 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
31643 storing incomplete byte sequence in state object. Avoid testing for
31644 guaranteed too small input if we know there is enough data available.
1af4e298 31645
da62f81b
AS
316462011-05-11 Andreas Schwab <schwab@redhat.com>
31647
31648 * Makeconfig (+link-pie): Indent.
31649 * Rules (binaries-pie): Define if $(have-fpie) and
31650 $(build-shared).
31651 (binaries-shared): Also filter out $(binaries-pie).
31652 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
31653 * nscd/Makefile (others-pie): Add nscd.
31654 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
31655 ($(objpfx)nscd): Remove command override.
31656 * login/Makefile (others-pie): Add pt_chown.
31657 ($(objpfx)pt_chown): Remove command override.
31658 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
31659 remove command overrides.
31660
fcabc0f8
UD
316612011-05-13 Ulrich Drepper <drepper@gmail.com>
31662
20030ae6
UD
31663 * libio/tst_putwc.c: Fix error messages.
31664
fcabc0f8
UD
31665 [BZ #12724]
31666 * libio/fileops.c (_IO_new_file_close_it): Always flush when
31667 currently writing and seek to current position when not.
31668 * libio/Makefile (tests): Add bug-fclose1.
31669 * libio/bug-fclose1.c: New file.
31670
320a5dc0
PB
316712011-05-12 Ulrich Drepper <drepper@gmail.com>
31672
31673 [BZ #12511]
31674 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
31675 don't set DF_1_NODELETE here.
31676 (do_lookup_x): When entering new entry test for copy relocation
31677 and if necessary set DF_1_NODELETE flag.
31678 * elf/tst-unique4.cc: New file.
31679 * elf/tst-unique4.h: New file.
31680 * elf/tst-unique4lib.cc: New file.
31681 * elf/Makefile: Add rules to build and run tst-unique4.
31682 Patch by Piotr Bury <pbury@goahead.com>.
31683
22836f52
UD
316842011-05-11 Ulrich Drepper <drepper@gmail.com>
31685
f574184a
UD
31686 [BZ #12052]
31687 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
31688
e1fb097f
UD
31689 [BZ #12625]
31690 * misc/mntent_r.c (addmntent): Flush the stream after the output
31691
22836f52
UD
31692 [BZ #12393]
31693 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
31694 (is_trusted_path_normalize): Skip initial colon. Append slash
31695 to empty buffer. Duplicate is_trusted_path code but allow
31696 constructed patch to be prefix.
31697 (is_dst): Allow $ORIGIN followed by /.
31698 (_dl_dst_substitute): Correct clearing of check_for_trusted.
31699 Correct testing of result of is_trusted_path_normalize
31700 (decompose_rpath): Fix warning.
31701
7b3b0b2a
UD
317022011-05-10 Ulrich Drepper <drepper@gmail.com>
31703
31704 [BZ #11257]
31705 * grp/initgroups.c (internal_getgrouplist): When we found the service
31706 list through the initgroups entry in nsswitch.conf do not always
31707 continue on a successful lookup. Don't always use the
eac80ce2 31708 __nss_group_database value if it is set.
7b3b0b2a
UD
31709 * nss/nsswitch.conf (initgroups): Change action for successful db
31710 lookup to continue for compatibility.
31711
2a81eaa5
UD
317122011-05-09 Ulrich Drepper <drepper@gmail.com>
31713
be97a69e
UD
31714 [BZ #11532]
31715 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
31716 and CP774 modules.
31717 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
31718 and CP774 modules.
31719 * iconvdata/tst-tables.sh: Likewise.
31720 * iconvdata/cp770.c: New file.
31721 * iconvdata/cp771.c: New file.
31722 * iconvdata/cp772.c: New file.
31723 * iconvdata/cp773.c: New file.
31724 * iconvdata/cp774.c: New file.
31725 * iconvdata/testdata/CP770: New file.
31726 * iconvdata/testdata/CP770..UTF8: New file.
31727 * iconvdata/testdata/CP771: New file.
31728 * iconvdata/testdata/CP771..UTF8: New file.
31729 * iconvdata/testdata/CP772: New file.
31730 * iconvdata/testdata/CP772..UTF8: New file.
31731 * iconvdata/testdata/CP773: New file.
31732 * iconvdata/testdata/CP773..UTF8: New file.
31733 * iconvdata/testdata/CP774: New file.
31734 * iconvdata/testdata/CP774..UTF8: New file.
31735
31736 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
31737 END CHARMAP line.
31738 * iconvdata/gen-8bit-gap.sh: Likewise.
31739 * iconvdata/gen-8bit.sh: Likewise.
31740
c1e9e399
UD
31741 * locale/iso-639.def: Add ary entry.
31742
24c55fb3 31743 [BZ #11258]
96b4b1b0
UD
31744 * locale/C-translit.h.in: Add U20A1 transliteration.
31745
bdc2f971
KB
31746 [BZ #12178]
31747 * locale/iso-639.def: Add wae entry.
31748 Patch by Kevin Bortis <bortis@translate-wae.ch>.
31749
2952b117
UD
31750 [BZ #12545]
31751 * locale/programs/localedef.c (construct_output_path): Use ssize_t
31752 for n.
31753
2a81eaa5
UD
31754 [BZ #12711]
31755 * locale/C-translit.h.in: Add entry for U20B9.
31756 Patch by pravin.d.s@gmail.com.
31757
28377d1b
UD
317582011-05-08 Ulrich Drepper <drepper@gmail.com>
31759
7fb90fb8
UD
31760 [BZ #12713]
31761 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
31762 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
31763 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
31764 in rtld. Use *stat64.
7fb90fb8 31765 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 31766 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 31767 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
31768 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
31769 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
31770 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
31771 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
31772 __fstatat64 macros.
7fb90fb8
UD
31773 * include/dirent.h: Add libc_hidden_proto for rewinddir.
31774 * dirent/rewinddir.c: Add libc_hidden_def.
31775 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 31776 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 31777
28377d1b
UD
31778 * include/dirent.h (__alloc_dir): Add flags parameter.
31779 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
31780 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
31781 __alloc_dir.
31782 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
31783 from fdopendir if O_CLOEXEC is already set.
31784
66bdbaa4
AM
317852011-03-15 Alan Modra <amodra@gmail.com>
31786
31787 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
31788 l_tls_firstbyte_offset non-zero. Save padding offset in
31789 l_tls_firstbyte_offset for later use.
31790 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
31791 freeing static tls block.
31792
95721191
JN
317932011-03-05 Jonathan Nieder <jrnieder@gmail.com>
31794
31795 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
31796 where #ifdef was intended. The intent is to prevent ARG_MAX from
31797 being defined by the kernel headers.
31798
f87dfb1f
UD
317992011-05-07 Ulrich Drepper <drepper@gmail.com>
31800
31801 [BZ #12734]
31802 * resolv/resolv.h: Define RES_NOTLDQUERY.
31803 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
31804 no-tld-query and set RES_NOTLDQUERY.
31805 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
31806 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
31807 modern BIND to search name as TLD unless forbidden.
31808
47c3cd7a
UD
318092011-05-07 Petr Baudis <pasky@suse.cz>
31810 Ulrich Drepper <drepper@gmail.com>
31811
31812 [BZ #12393]
31813 * elf/dl-load.c (fillin_rpath): Move trusted path check...
31814 (is_trusted_path): ...to here.
c1e9ea35 31815 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 31816 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 31817 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 31818
8a35c912
PP
318192011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31820
31821 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
31822 __BEGIN/__END_DECLS.
31823
acd41f47
UD
318242011-05-06 Ulrich Drepper <drepper@gmail.com>
31825
31826 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
31827 NSS_STATUS_NOTFOUND if no record was found.
31828
597df647
AS
318292011-05-05 Andreas Schwab <schwab@redhat.com>
31830
31831 * sunrpc/Makefile (headers): Add rpc/netdb.h.
31832 (headers-not-in-tirpc): Remove rpc/netdb.h
31833 * resolv/netdb.h: Revert last change.
31834
b9af1301
PP
318352011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31836
31837 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
31838 circular dependency between libgcc.a and libc.a.
31839
4e34d5f5
AS
318402011-05-05 Andreas Schwab <schwab@redhat.com>
31841
31842 * resolv/netdb.h: Don't include <rpc/netdb.h>.
31843 * nis/Makefile: Don't install rpcsvc/*.
31844 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
31845 instead of <rpc/types.h>.
31846 (MAXHOSTNAMELEN): Define.
31847
00ee369c
AS
318482011-05-03 Andreas Schwab <schwab@redhat.com>
31849
31850 * elf/ldconfig.c (add_dir): Don't crash on empty path.
31851
0b592a30
MB
318522011-04-28 Maciej Babinski <mbabinski@google.com>
31853
31854 [BZ #12714]
31855 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
31856 gethostbyname4_r when IPv6 results are possible.
31857
6e04cbbe
UD
318582011-05-02 Ulrich Drepper <drepper@gmail.com>
31859
31860 [BZ #12723]
31861 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
31862 _PC_PIPE_BUF handling.
31863
e4ecafe0
BH
318642011-04-30 Bruno Haible <bruno@clisp.org>
31865
31866 [BZ #12717]
31867 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
31868 * resolv/netdb.h (getnameinfo): Change type of flags parameter
31869 to 'int'.
31870 * inet/getnameinfo.c (getnameinfo): Likewise.
31871
125ee683
UD
318722011-04-29 Ulrich Drepper <drepper@gmail.com>
31873
31874 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
31875 to groups setting in database lookup.
31876 * nss/nsswitch.conf: Add initgroups entry.
31877
b722481a
EB
318782011-04-22 Ulrich Drepper <drepper@gmail.com>
31879
31880 [BZ #12685]
31881 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
31882 mode string.
31883 Patch by Eric Blake <eblake@redhat.com>.
31884
4df46dbd
L
318852011-04-20 H.J. Lu <hongjiu.lu@intel.com>
31886
31887 * sunrpc/Makefile (need-export-routines): Add svc_run.
31888 (routines): Remove svc_run.
31889 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
31890 * sunrpc/clnt_perr.c (clnt_perrno): Export.
31891 * sunrpc/svc_run.c (svc_run): Likewise.
31892 * sunrpc/svc_udp.c (svcudp_create): Likewise.
31893
e84142d2
UD
318942011-04-21 Ulrich Drepper <drepper@gmail.com>
31895
31896 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
31897 problem in reallocation in last patch.
31898
877175d8
UD
318992011-04-20 Ulrich Drepper <drepper@gmail.com>
31900
31901 * sunrpc/Makefile: Move inclusion of Rules.
31902
ab8eed78
UD
319032011-04-19 Ulrich Drepper <drepper@gmail.com>
31904
31905 * nss/nss_files/files-initgroups.c: New file.
31906 * nss/Makefile (libnss_files-routines): Add files-initgroups.
31907 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
31908 _nss_files_initgroups_dyn.
31909
e3d8f584
RS
319102011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
31911
31912 * elf/elf.h (R_ARM_IRELATIVE): Define.
31913
af190f45
UD
319142011-04-19 Ulrich Drepper <drepper@gmail.com>
31915
31916 * po/ru.po: Update from translation team.
31917
53cf59ef
UD
319182011-04-17 Ulrich Drepper <drepper@gmail.com>
31919
31920 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
31921 dependencies.
31922
4c559bcd
MF
319232011-02-06 Mike Frysinger <vapier@gentoo.org>
31924
31925 [BZ #12653]
31926 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
31927 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
31928 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31929 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31930 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31931
4420675c
AS
319322011-03-28 Andreas Schwab <schwab@linux-m68k.org>
31933
31934 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
31935 differing bytes.
31936 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31937 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31938 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31939
75ea32ab
UD
319402011-04-17 Ulrich Drepper <drepper@gmail.com>
31941
31942 [BZ #12420]
31943 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31944 storing it.
31945 * stdlib/bug-getcontext.c: New file.
31946 * stdlib/Makefile: Add rules to build and run bug-getcontext.
31947
27390476
AK
319482011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31949
31950 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
31951 instructions into .machine "z9-109".
31952 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
31953 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
31954
10442705
AK
319552011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31956
31957 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31958 between environment variables and auxiliary vector.
31959
7b57bfe5
UD
319602011-04-16 Ulrich Drepper <drepper@gmail.com>
31961
31962 * Makefile: Add rules to build linkobj/libc.so.
31963 * include/libc-symbols.h: Define libc_hidden_nolink.
31964 * include/rpc/auth.h: Mark functions which are to be hidden.
31965 * include/rpc/auth_des.h: Likewise.
31966 * include/rpc/auth_unix.h: Likewise.
31967 * include/rpc/clnt.h: Likewise.
31968 * include/rpc/des_crypt.h: Likewise.
31969 * include/rpc/key_prot.h: Likewise.
31970 * include/rpc/pmap_clnt.h: Likewise.
31971 * include/rpc/pmap_prot.h: Likewise.
31972 * include/rpc/pmap_rmt.h: Likewise.
31973 * include/rpc/rpc_msg.h: Likewise.
31974 * include/rpc/svc.h: Likewise.
31975 * include/rpc/svc_auth.h: Likewise.
31976 * include/rpc/xdr.h: Likewise.
31977 * nis/Makefile: Link all DSOs against linkobj/libc.so.
31978 * nss/Makefile: Likewise.
31979 * sunrpc/Makefile: Don't install headers. Build library with normal
31980 entry points. Don't build rpcinfo. Link RPC tests appropriately.
31981 * sunrpc/auth_des.c: Hide exported symbols by default, export some
31982 for the compat linking library. Remove use of INTDEF/INTUSE.
31983 * sunrpc/auth_none.c: Likewise.
31984 * sunrpc/auth_unix.c: Likewise.
31985 * sunrpc/authdes_prot.c: Likewise.
31986 * sunrpc/authuxprot.c: Likewise.
31987 * sunrpc/clnt_gen.c: Likewise.
31988 * sunrpc/clnt_perr.c: Likewise.
31989 * sunrpc/clnt_raw.c: Likewise.
31990 * sunrpc/clnt_simp.c: Likewise.
31991 * sunrpc/clnt_tcp.c: Likewise.
31992 * sunrpc/clnt_udp.c: Likewise.
31993 * sunrpc/clnt_unix.c: Likewise.
31994 * sunrpc/des_crypt.c: Likewise.
31995 * sunrpc/des_soft.c: Likewise.
31996 * sunrpc/get_myaddr.c: Likewise.
31997 * sunrpc/key_call.c: Likewise.
31998 * sunrpc/key_prot.c: Likewise.
31999 * sunrpc/netname.c: Likewise.
32000 * sunrpc/pm_getmaps.c: Likewise.
32001 * sunrpc/pm_getport.c: Likewise.
32002 * sunrpc/pmap_clnt.c: Likewise.
32003 * sunrpc/pmap_prot.c: Likewise.
32004 * sunrpc/pmap_prot2.c: Likewise.
32005 * sunrpc/pmap_rmt.c: Likewise.
32006 * sunrpc/publickey.c: Likewise.
32007 * sunrpc/rpc_cmsg.c: Likewise.
32008 * sunrpc/rpc_common.c: Likewise.
32009 * sunrpc/rpc_dtable.c: Likewise.
32010 * sunrpc/rpc_prot.c: Likewise.
32011 * sunrpc/rpc_thread.c: Likewise.
32012 * sunrpc/rtime.c: Likewise.
32013 * sunrpc/svc.c: Likewise.
32014 * sunrpc/svc_auth.c: Likewise.
32015 * sunrpc/svc_authux.c: Likewise.
32016 * sunrpc/svc_raw.c: Likewise.
32017 * sunrpc/svc_run.c: Likewise.
32018 * sunrpc/svc_simple.c: Likewise.
32019 * sunrpc/svc_tcp.c: Likewise.
32020 * sunrpc/svc_udp.c: Likewise.
32021 * sunrpc/svc_unix.c: Likewise.
32022 * sunrpc/svcauth_des.c: Likewise.
32023 * sunrpc/xcrypt.c: Likewise.
32024 * sunrpc/xdr.c: Likewise.
32025 * sunrpc/xdr_array.c: Likewise.
32026 * sunrpc/xdr_float.c: Likewise.
32027 * sunrpc/xdr_intXX_t.c: Likewise.
32028 * sunrpc/xdr_mem.c: Likewise.
32029 * sunrpc/xdr_rec.c: Likewise.
32030 * sunrpc/xdr_ref.c: Likewise.
32031 * sunrpc/xdr_sizeof.c: Likewise.
32032 * sunrpc/xdr_stdio.c: Likewise.
32033
e6c61494
UD
320342011-04-10 Ulrich Drepper <drepper@gmail.com>
32035
32036 [BZ #12650]
32037 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
32038 * sysdeps/ia64/dl-tls.h: Likewise.
32039 * sysdeps/powerpc/dl-tls.h: Likewise.
32040 * sysdeps/s390/dl-tls.h: Likewise.
32041 * sysdeps/sh/dl-tls.h: Likewise.
32042 * sysdeps/sparc/dl-tls.h: Likewise.
32043 * sysdeps/x86_64/dl-tls.h: Likewise.
32044 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
32045
34fe483e
AS
320462011-03-14 Andreas Schwab <schwab@redhat.com>
32047
32048 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
32049 rpath element also skip the following colon.
32050 (expand_dynamic_string_token): Add is_path parameter and pass
32051 down to DL_DST_REQUIRED and _dl_dst_substitute.
32052 (decompose_rpath): Call expand_dynamic_string_token with
32053 non-zero is_path. Ignore empty rpaths.
32054 (_dl_map_object_from_fd): Call expand_dynamic_string_token
32055 with zero is_path.
32056
f12a32e6
AS
320572011-04-08 Andreas Schwab <schwab@linux-m68k.org>
32058
32059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32060 Make cancelable.
32061
38a7d692
UD
320622011-04-09 Ulrich Drepper <drepper@gmail.com>
32063
32064 [BZ #12655]
32065 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
32066 Patch by Filipe David Manana <fdmanana@apache.org>.
32067
e451d22b
AS
320682011-04-07 Andreas Schwab <schwab@redhat.com>
32069
32070 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
32071 Maintain aligned stack.
32072 (CHECK_RSP): Remove unused macro.
32073
dedc7c7b
UD
320742011-04-03 Ulrich Drepper <drepper@gmail.com>
32075
32076 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
32077 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
32078
94521213
UD
320792011-04-02 Ulrich Drepper <drepper@gmail.com>
32080
32081 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
32082
8cb700c0 32083 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 32084
0354e355
L
320852011-03-26 H.J. Lu <hongjiu.lu@intel.com>
32086
32087 [BZ #12518]
32088 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
32089 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
32090 * sysdeps/x86_64/memmove.c: New file.
32091 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
32092 (memcpy): Renamed to ...
32093 (__new_memcpy): This.
32094 (memcpy): Provide GLIBC_2_14 memcpy.
32095 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
32096 (memcpy): Provide GLIBC_2_2_5 memcpy.
32097
8593482f
UD
320982011-04-01 Ulrich Drepper <drepper@gmail.com>
32099
32100 [BZ #12631]
32101 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
32102
81a5726b
AS
321032011-03-30 Andreas Schwab <schwab@redhat.com>
32104
32105 * misc/syncfs.c: New file.
32106 * misc/Makefile (routines): Add syncfs.
32107 * posix/unistd.h: Declare syncfs.
32108 * sysdeps/unix/syscalls.list: Add syncfs.
32109
00e5419f
AS
321102011-04-01 Andreas Schwab <schwab@redhat.com>
32111
32112 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
32113 open_by_handle_at.
32114 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32115 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32116 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32117 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32118 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32119 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
32120 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32121
748876bf
UD
321222011-04-01 Ulrich Drepper <drepper@gmail.com>
32123
658e451d
UD
32124 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
32125 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32126 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
32127 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32128 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32129 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32130 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32131
748876bf
UD
32132 * io/Makefile: Compile fallocate.c, fallocate64.c, and
32133 sync_file_range.c with -fexceptions.
32134 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
32135 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
32136 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32137 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32138 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
32139 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32140 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
32141 sync_file_range as cancellation point
32142 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
32143 now a wrapper around __call_sync_file_range with cancellation handling.
32144 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
32145 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
32146 function name to __call_sync_file_range.
32147 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
32148 Add call_sync_file_range.
748876bf 32149
6e63d5e1
AS
321502011-04-01 Andreas Schwab <schwab@redhat.com>
32151
32152 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 32153 bits/timex.h.
6e63d5e1 32154
46998f74
UD
321552011-04-01 Ulrich Drepper <drepper@gmail.com>
32156
4c1423ed
UD
32157 * iconv/iconv.h: Fix typo in comment.
32158 * io/fcntl.h: Likewise.
32159 * libio/stdio.h: Likewise.
32160 * posix/spawn.h: Likewise.
32161 * posix/unistd.h: Likewise.
32162 * stdlib/stdlib.h: Likewise.
32163 * time/time.h: Likewise.
32164 * wcsmbs/wchar.h: Likewise.
32165
158648c0
UD
32166 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
32167 open_by_handle): Add.
32168 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
32169 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
32170 Augment a few comments.
32171 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32172 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32173 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32174 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32175 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32176 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
32177 open_by_handle.
32178
46998f74
UD
32179 * io/fcntl.h (AT_EMPTY_PATH): Define.
32180
83fe108b
UD
321812011-03-30 Ulrich Drepper <drepper@gmail.com>
32182
32183 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
32184 * sysdeps/unix/sysv/linux/bits/time.h: New file.
32185 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
32186 to...
32187 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
32188 * Versions.def: Add GLIBC_2.14.
32189 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
32190 Export.
83fe108b 32191
bb242059
UD
321922011-03-22 Ulrich Drepper <drepper@gmail.com>
32193
32194 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
32195 round counter.
32196 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32197
c97a1282
L
321982011-03-20 H.J. Lu <hongjiu.lu@intel.com>
32199
32200 [BZ #12597]
32201 * string/test-strncmp.c (do_page_test): New function.
32202 (check2): Likewise.
32203 (test_main): Call check2.
32204 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
32205
2a115601
UD
322062011-03-20 Ulrich Drepper <drepper@gmail.com>
32207
32208 [BZ #12587]
32209 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
32210 Handle cache information in CPU leaf 4.
32211 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32212
8126d904
UD
322132011-03-18 Ulrich Drepper <drepper@gmail.com>
32214
042c49c6 32215 [BZ #12583]
8126d904
UD
32216 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
32217 character representation.
32218 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
32219
ccfe366e
RA
322202011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
32221
32222 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
32223 END(__isnan) to END(__isnanf) to match function entry point/label
32224 EALIGN(__isnanf,...).
32225
c6e13027
JJ
322262011-03-10 Jakub Jelinek <jakub@redhat.com>
32227
32228 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
32229
33f85a3f
UD
322302011-03-10 Ulrich Drepper <drepper@gmail.com>
32231
028478fa
UD
32232 [BZ #12510]
32233 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
32234 copy from the symbol referenced in the relocation to initialize the
32235 used variable.
32236 Patch by Piotr Bury <pbury@goahead.com>.
32237 * elf/Makefile: Add rules to build and tst-unique3.
32238 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
32239 * elf/tst-unique3.cc: New file.
32240 * elf/tst-unique3.h: New file.
32241 * elf/tst-unique3lib.cc: New file.
32242 * elf/tst-unique3lib2.cc: New file.
32243
33f85a3f
UD
32244 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
32245
03592fc7
MF
322462011-03-10 Mike Frysinger <vapier@gentoo.org>
32247
32248 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
32249 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
32250 to _start.
03592fc7 32251
6a5ee102
UD
322522011-03-06 Ulrich Drepper <drepper@gmail.com>
32253
32254 * elf/dl-load.c (_dl_map_object): If we are looking for the first
32255 to-be-loaded object along a path to loader is ld.so.
32256
7e4ba49c
HJ
322572011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32258 Ulrich Drepper <drepper@gmail.com>
32259
32260 * sysdeps/x86_64/memset.S: After aligning destination, code
32261 branches to different locations depending on the value of
32262 misalignment, when multiarch is enabled. Fix this.
32263
322642011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32265
32266 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
32267 Set _x86_64_preferred_memory_instruction for AMD processsors.
32268 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32269 Set bit_Prefer_SSE_for_memop for AMD processors.
32270
13a804de
UD
322712011-03-04 Ulrich Drepper <drepper@gmail.com>
32272
32273 * libio/fmemopen.c (fmemopen): Optimize a bit.
32274
9d25c392
AS
322752011-03-03 Andreas Schwab <schwab@redhat.com>
32276
32277 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
32278
a5543c6a
RM
322792011-03-03 Roland McGrath <roland@redhat.com>
32280
32281 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
32282
012d35f7
DM
322832011-02-28 Aurelien Jarno <aurelien@aurel32.net>
32284
7e4ba49c 32285 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
32286 __bzero_ultra1 instead of __memset_ultra1.
32287
4bff6e01
AS
322882011-02-23 Andreas Schwab <schwab@redhat.com>
32289 Ulrich Drepper <drepper@gmail.com>
32290
32291 [BZ #12509]
32292 * include/link.h (struct link_map): Add l_orig_initfini.
32293 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
32294 returning unsuccessfully.
32295 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
32296 close of a file loaded at startup, restore the original l_initfini
32297 list.
32298 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
32299 list, store the pointer.
32300 * elf/Makefile ($(objpfx)noload-mem): New rule.
32301 (noload-ENV): Define.
32302 (tests): Add $(objpfx)noload-mem.
32303 * elf/noload.c: Include <memcheck.h>.
32304 (main): Call mtrace. Close all opened handles.
32305
f2092faf
AS
323062011-02-17 Andreas Schwab <schwab@redhat.com>
32307
32308 [BZ #12454]
32309 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
32310 dependencies are missing.
32311
6c8a2e88
ST
323122011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
32313
f2092faf 32314 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
32315 Hurd needs munmap.
32316 * sysdeps/mach/hurd/ifreq.h: New file.
32317
84a42118
PB
323182011-01-27 Petr Baudis <pasky@suse.cz>
32319 Ulrich Drepper <drepper@gmail.com>
32320
071f805e 32321 [BZ 12445]#
84a42118
PB
32322 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
32323 to extend_alloca().
32324 * stdio-common/bug23.c: New file.
32325 * stdio-common/Makefile (tests): Add bug23.
32326
e23fe25b
AS
323272010-09-28 Andreas Schwab <schwab@redhat.com>
32328 Ulrich Drepper <drepper@gmail.com>
32329
32330 [BZ #12489]
32331 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
32332 before performing relro protection. At old place add assertion
32333 to make sure nothing changed.
32334
d3f02e10
NS
323352011-02-17 Nathan Sidwell <nathan@codesourcery.com>
32336 Glauber de Oliveira Costa <glommer@gmail.com>
32337
32338 * elf/elf.h: Add new ARM TLS relocs.
32339
d55fd7a5
RA
323402011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
32341
32342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32343 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
32344 cast from r3.
32345 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
32346 'tests' variable.
32347 * sysdeps/wordsize-64/tst-writev.c: New file.
32348
2206397e
RA
323492011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
32350
32351 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
32352 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
32353 insns in _dl_start to prevent a TOC reference before relocs are
32354 resolved.
32355
e9433893
UD
323562011-02-15 Ulrich Drepper <drepper@gmail.com>
32357
32358 [BZ #12469]
32359 * Makeconfig: Remove RANLIB definition.
32360 * Makerules: Don't use RANLIB.
32361 * aclocal.m4: Remove ranlib test.
32362 * configure.in: No need to check for ranlib.
32363 * elf/rtld-Rules: Don't use RANLIB.
32364
f75286c6
ST
323652011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
32366
8e31c82d
ST
32367 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
32368 protection macro.
32369 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
32370 inclusion protection macro.
32371
f75286c6
ST
32372 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
32373 SIGRTMIN and SIGRTMAX and print information in that case only when
32374 SIGRTMIN is defined.
32375
c1d0e639
JJ
323762011-02-11 Jakub Jelinek <jakub@redhat.com>
32377
32378 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
32379 arginfo fn returning -1.
32380
32381 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
32382 and thousands string is zero terminated.
32383
edf9294e
AS
323842011-02-03 Andreas Schwab <schwab@redhat.com>
32385
32386 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
32387 sysdeps/unix/sysv/linux/bits/socket.h.
32388
2b7e92df
ST
323892011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
32390
edf9294e
AS
32391 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
32392 (__CPU_COUNT): Remove old macros.
32393 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
32394 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
32395 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
32396 (__sched_cpualloc, __sched_cpufree): Add declarations.
32397
a4c7ea7b
UD
323982011-02-05 Ulrich Drepper <drepper@gmail.com>
32399
32400 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
32401 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
32402 * nscd/aicache.c (addhstaiX): Return timeout of added value.
32403 (readdhstai): Return value of addhstaiX call.
32404 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
32405 (addgrbyX): Return value returned by cache_addgr.
32406 (readdgrbyname): Return value returned by addgrbyX.
32407 (readdgrbygid): Likewise.
32408 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
32409 (addpwbyX): Return value returned by cache_addpw.
32410 (readdpwbyname): Return value returned by addhstbyX.
32411 (readdpwbyuid): Likewise.
32412 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
32413 (addservbyX): Return value returned by cache_addserv.
32414 (readdservbyname): Return value returned by addservbyX:
32415 (readdservbyport): Likewise.
32416 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
32417 (addhstbyX): Return value returned by cache_addhst.
32418 (readdhstbyname): Return value returned by addhstbyX.
32419 (readdhstbyaddr): Likewise.
32420 (readdhstbynamev6): Likewise.
32421 (readdhstbyaddrv6): Likewise.
32422 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
32423 (readdinitgroups): Return value returned by addinitgroupsX.
32424 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
32425 (prune_cache): Keep track of timeout value of re-added entries.
32426 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
32427 * nscd/nscd.h: Adjust prototypes of readd* functions.
32428
a0bf67cc
RM
324292011-02-04 Roland McGrath <roland@redhat.com>
32430
32431 * nis/nis_server.c (nis_servstate): Use the right name for 0.
32432 (nis_stats): Likewise.
32433 * nis/nis_modify.c (nis_modify): Likewise.
32434 * nis/nis_remove.c (nis_remove): Likewise.
32435 * nis/nis_add.c (nis_add): Likewise.
32436
32437 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
32438
32439 * posix/fnmatch_loop.c: Add some consts.
32440
32441 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
32442
435b95eb
L
324432011-02-02 H.J. Lu <hongjiu.lu@intel.com>
32444
32445 [BZ #12460]
32446 * config.make.in (config-cflags-novzeroupper): Define.
32447 * configure.in: Substitute libc_cv_cc_novzeroupper.
32448 * elf/Makefile (AVX-CFLAGS): Define.
32449 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
32450 (CFLAGS-tst-auditmod4a.c): Likewise.
32451 (CFLAGS-tst-auditmod4b.c): Likewise.
32452 (CFLAGS-tst-auditmod6b.c): Likewise.
32453 (CFLAGS-tst-auditmod6c.c): Likewise.
32454 (CFLAGS-tst-auditmod7b.c): Likewise.
32455 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
32456
8517b15e
UD
324572011-02-02 Ulrich Drepper <drepper@gmail.com>
32458
32459 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
32460 function to the callback.
32461 Patch partly by Jiri Olsa <jolsa@redhat.com>.
32462
10a656fe
AS
324632011-02-02 Andreas Schwab <schwab@redhat.com>
32464
32465 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
32466 of errno.
32467
968dad0a
UD
324682011-01-19 Ulrich Drepper <drepper@gmail.com>
32469
9f94d2ea 32470 [BZ #11724]
968dad0a
UD
32471 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
32472 of constructors.
32473 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
32474 of destructors.
32475 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
32476
32477 [BZ #11724]
32478 * elf/Makefile: Add rules to build and run new test.
32479 * elf/tst-initorder.c: New file.
32480 * elf/tst-initorder.exp: New file.
32481 * elf/tst-initordera1.c: New file.
32482 * elf/tst-initordera2.c: New file.
32483 * elf/tst-initordera3.c: New file.
32484 * elf/tst-initordera4.c: New file.
32485 * elf/tst-initorderb1.c: New file.
32486 * elf/tst-initorderb2.c: New file.
32487 * elf/tst-order-a1.c: New file.
32488 * elf/tst-order-a2.c: New file.
32489 * elf/tst-order-a3.c: New file.
32490 * elf/tst-order-a4.c: New file.
32491 * elf/tst-order-b1.c: New file.
32492 * elf/tst-order-b2.c: New file.
32493 * elf/tst-order-main.c: New file.
32494 New test case by George Gensure <werkt0@gmail.com>.
32495
86e92359
UD
324962010-10-01 Andreas Schwab <schwab@redhat.com>
32497
32498 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32499 decoding ACE if AI_CANONIDN.
32500
5d5732b0
UD
325012011-01-18 Ulrich Drepper <drepper@gmail.com>
32502
32503 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
32504
a77e8cbc
UD
325052011-01-17 Ulrich Drepper <drepper@gmail.com>
32506
6392473f
UD
32507 * version.h (RELEASE): Bump for 2.13 release.
32508 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
32509
620a0529
UD
32510 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
32511
18ba70a5
UD
32512 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
32513 MADV_NOHUGEPAGE.
32465c3e
UD
32514 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
32515 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
32516 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32517 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32518 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32519 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32520
c0dafcf1
UD
32521 * posix/getconf.c: Update copyright year.
32522 * catgets/gencat.c: Likewise.
32523 * csu/version.c: Likewise.
32524 * debug/catchsegv.sh: Likewise.
32525 * debug/xtrace.sh: Likewise.
32526 * elf/ldconfig.c: Likewise.
32527 * elf/ldd.bash.in: Likewise.
32528 * elf/sprof.c (print_version): Likewise.
32529 * iconv/iconv_prog.c: Likewise.
32530 * iconv/iconvconfig.c: Likewise.
32531 * locale/programs/locale.c: Likewise.
32532 * locale/programs/localedef.c: Likewise.
32533 * malloc/memusage.sh: Likewise.
32534 * malloc/mtrace.pl: Likewise.
32535 * nscd/nscd.c (print_version): Likewise.
32536 * nss/getent.c: Likewise.
32537
a77e8cbc
UD
32538 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
32539 PF_CAIF, and PF_ALG.
32540 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32541
77e8bddf
AS
325422011-01-16 Andreas Schwab <schwab@linux-m68k.org>
32543
1f20b93a
AS
32544 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
32545 (modules-names): Use them.
32546 (ifunc-test-modules, ifunc-pie-tests): Define.
32547 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
32548 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
32549 (test-extras): Likewise.
32550 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
32551 $(compile-command.c).
32552 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
32553 (all-built-dso): Define.
32554 (check-textrel.out, check-execstack.out): Depend on it.
32555
77e8bddf
AS
32556 * configure.in: Don't override --enable-multi-arch.
32557
bc425b33
UD
325582011-01-15 Ulrich Drepper <drepper@gmail.com>
32559
32560 [BZ #6812]
32561 * nscd/hstcache.c (tryagain): Define.
32562 (cache_addhst): Return tryagain not notfound for temporary errors.
32563 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
32564 failed.
32565
794c3ad3
UD
325662011-01-14 Ulrich Drepper <drepper@gmail.com>
32567
70181fdd
UD
32568 [BZ #10563]
32569 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
32570 to make the syscall.
32571 * sysdeps/unix/sysv/linux/setgroups.c: New file.
32572
794c3ad3
UD
32573 [BZ #12378]
32574 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
32575 and fall back to matching as normal character if the string ends before
32576 the matching ']' is found. This is what POSIX requires.
32577 * posix/testfnm.c: Adjust test result.
32578 * posix/globtest.sh: Adjust test result. Add new test.
32579 * posix/tst-fnmatch.input: Likewise.
32580 * posix/tst-fnmatch2.c: Add new test.
32581
68dc9497
AS
325822010-12-28 Andreas Schwab <schwab@linux-m68k.org>
32583
32584 * elf/Makefile (check-execstack): Revert last change. Depend on
32585 check-execstack.h.
32586 (check-execstack.h): New target.
32587 (generated): Add check-execstack.h.
32588 * elf/check-execstack.c: Include "check-execstack.h".
32589 (main): Revert last change.
32590 (handle_file): Return zero if GNU_STACK is absent and
32591 DEFAULT_STACK_PERMS doesn't include PF_X.
32592
451f001b
UD
325932011-01-13 Ulrich Drepper <drepper@gmail.com>
32594
cfa28e56
UD
32595 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
32596 in child fails because the descriptor is already closed.
8cf8ce17
UD
32597 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
32598 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
32599 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 32600
1086d70d
UD
32601 [BZ #12397]
32602 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
32603 syscall.
32604
451f001b
UD
32605 [BZ #10484]
32606 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
32607 temporary buffer used to handle multi lookups locally.
a85b5cb4 32608 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 32609
08769175
UD
326102011-01-12 Ulrich Drepper <drepper@gmail.com>
32611
32612 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
32613 loader is ld.so.
32614
5e49c52e
UD
326152011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
32616
32617 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
32618 alignment for SSE2.
32619
60522a5f
UD
326202011-01-12 Ulrich Drepper <drepper@gmail.com>
32621
32622 [BZ #12394]
32623 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
32624 characters. When rounding increased number of integer digits recompute
32625 number of groups.
32626 * stdio-common/tst-grouping.c: New file.
32627 * stdio-common/Makefile: Add rules to build and run tst-grouping.
32628
f257bbd7
UD
326292011-01-09 Ulrich Drepper <drepper@gmail.com>
32630
32631 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
32632 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
32633
32634 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
32635 void.
32636 * bits/select.h: Likewise.
32637
fa9c15cb
UD
326382011-01-08 Ulrich Drepper <drepper@gmail.com>
32639
32640 * po/ja.po: Update from translation team.
32641
16c2895f
DM
326422011-01-04 David S. Miller <davem@sunset.davemloft.net>
32643
32644 [BZ #11155]
32645 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
32646 implementation just like for lxstat, fxstatat, et al.
32647
2543fef2
JM
326482010-12-27 Jim Meyering <meyering@redhat.com>
32649
32650 [BZ #12348]
32651 * posix/regexec.c (build_trtable): Return failure indication upon
32652 calloc failure. Otherwise, re_search_internal could infloop on OOM.
32653
98727dbe
UD
326542010-12-25 Ulrich Drepper <drepper@gmail.com>
32655
5bd6dc5c
UD
32656 [BZ #12201]
32657 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
32658 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
32659 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
32660 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
32661
97983464
UD
32662 [BZ #12207]
32663 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
32664
98727dbe
UD
32665 [BZ #12204]
32666 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
32667 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
32668
4a531bb0
L
326692010-12-15 H.J. Lu <hongjiu.lu@intel.com>
32670
32671 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
32672 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
32673 script has SORT_BY_INIT_PRIORITY.
32674 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
32675 NO_CTORS_DTORS_SECTIONS is defined.
32676 * elf/soinit.c: Likewise.
32677 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
32678 NO_CTORS_DTORS_SECTIONS is defined.
32679 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
32680 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
32681 * sysdeps/sh/init-first.c: Likewise.
32682 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
32683
07eb4b71
UD
326842010-12-24 Ulrich Drepper <drepper@gmail.com>
32685
32686 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
32687 always use the slow path.
32688
30950a5f
RA
326892010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
32690
32691 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
32692 similar rule which adds the sysdep directories to the header search in
32693 order to pick up the correct platform stackinfo.h.
32694 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
32695 perform test if it is, otherwise return successfully without testing.
32696 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
32697 DEFAULT_STACK_PERMS define in stackinfo.h.
32698 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
32699 defined in stackinfo.h.
32700 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
32701 DEFAULT_STACK_PERMS defined in stackinfo.h.
32702 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
32703 * sysdeps/ia64/stackinfo.h: Likewise.
32704 * sysdeps/s390/stackinfo.h: Likewise.
32705 * sysdeps/sh/stackinfo.h: Likewise.
32706 * sysdeps/sparc/stackinfo.h: Likewise.
32707 * sysdeps/x86_64/stackinfo.h: Likewise.
32708 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
32709 PF_X for powerpc64. Retain PF_X for powerpc32.
32710
db753e2c
UD
327112010-12-19 Ulrich Drepper <drepper@gmail.com>
32712
14b697f7
UD
32713 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
32714 accurately.
db753e2c
UD
32715 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
32716 GETDENTS_64BIT_ALIGNED.
32717
28300719
UD
327182010-12-14 Ulrich Drepper <dreper@gmail.com>
32719
14b697f7 32720 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 32721
4f197237
AS
327222010-12-10 Andreas Schwab <schwab@redhat.com>
32723
dbb0472f
AS
32724 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
32725 _GNU_SOURCE.
32726
4f197237
AS
32727 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
32728 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
32729 Remove __restrict.
32730 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
32731 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
32732
fb88ac72
UD
327332010-12-09 Ulrich Drepper <drepper@gmail.com>
32734
32735 [BZ #11655]
32736 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
32737 are initialized.
32738
42acbb92
JJ
327392010-12-09 Jakub Jelinek <jakub@redhat.com>
32740
32741 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
32742
c038d98d
UD
327432010-12-03 Ulrich Drepper <drepper@gmail.com>
32744
32745 * po/it.po: Update from translation team.
32746
3a4a2499
L
327472010-12-01 H.J. Lu <hongjiu.lu@intel.com>
32748
32749 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
32750 unused codes.
32751
1e24cf6e
UD
327522010-11-30 Ulrich Drepper <drepper@gmail.com>
32753
32754 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
32755
a7690819
AS
327562010-11-24 Andreas Schwab <schwab@redhat.com>
32757
32758 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
32759 specially.
32760 (gaih_getanswer_slice): Likewise.
32761
3bf8d1b1
JJ
327622010-10-20 Jakub Jelinek <jakub@redhat.com>
32763
32764 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
32765
6db52fbb
PB
327662010-05-31 Petr Baudis <pasky@suse.cz>
32767
32768 [BZ #11149]
32769 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
32770 silently even in the chroot mode.
32771
eaca7569
UD
327722010-11-22 Ulrich Drepper <drepper@gmail.com>
32773
32774 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
32775 last patch a bit. Pretty printing
32776
3056dcdb
UD
327772010-05-31 Petr Baudis <pasky@suse.cz>
32778
32779 [BZ #10085]
32780 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
32781 initialization of skip_initgroups_dyn.
32782
cf7c9078
UD
327832010-11-19 Ulrich Drepper <drepper@gmail.com>
32784
32785 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
32786 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32787
a1fb5e3e
UD
327882010-11-16 Ulrich Drepper <drepper@gmail.com>
32789
32790 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
32791
3540d66b
AS
327922010-11-11 Andreas Schwab <schwab@redhat.com>
32793
32794 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
32795 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
32796 (tst-fnmatch-ENV): Set MALLOC_TRACE.
32797 ($(objpfx)tst-fnmatch-mem): New rule.
32798 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
32799 * posix/tst-fnmatch.c (main): Call mtrace.
32800
13b69574
L
328012010-11-11 H.J. Lu <hongjiu.lu@intel.com>
32802
32803 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32804 Support Intel processor model 6 and model 0x2c.
32805
da93d214
LM
328062010-11-10 Luis Machado <luisgpm@br.ibm.com>
32807
32808 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
32809 signed comparison.
32810
8ca52c6e
L
328112010-11-09 H.J. Lu <hongjiu.lu@intel.com>
32812
32813 [BZ #12205]
32814 * string/test-strncasecmp.c (check_result): New function.
32815 (do_one_test): Use it.
32816 (check1): New function.
32817 (test_main): Use it.
32818 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
32819 Support strcasecmp and strncasecmp.
32820
69da074d
UD
328212010-11-08 Ulrich Drepper <drepper@gmail.com>
32822
32823 [BZ #12194]
32824 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
32825 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32826
ff02d528
L
328272010-11-07 H.J. Lu <hongjiu.lu@intel.com>
32828
32829 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
32830 IFUNC support.
32831 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32832 memset-x86-64.
32833 * sysdeps/x86_64/multiarch/bzero.S: New file.
32834 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
32835 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
32836 * sysdeps/x86_64/multiarch/memset.S: New file.
32837 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
32838 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32839 Set bit_Prefer_SSE_for_memop for Intel processors.
32840 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
32841 Define.
32842 (index_Prefer_SSE_for_memop): Define.
32843 (HAS_PREFER_SSE_FOR_MEMOP): Define.
32844
344d0b54
LM
328452010-11-04 Luis Machado <luisgpm@br.ibm.com>
32846
32847 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
32848 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
32849
c0dde15b
UD
328502010-11-03 H.J. Lu <hongjiu.lu@intel.com>
32851
32852 [BZ #12191]
32853 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32854 (__x86_64_raw_data_cache_size_half): Likewise.
32855 (__x86_64_raw_shared_cache_size): Likewise.
32856 (__x86_64_raw_shared_cache_size_half): Likewise.
32857
32858 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32859 (__x86_64_raw_data_cache_size_half): Likewise.
32860 (__x86_64_raw_shared_cache_size): Likewise.
32861 (__x86_64_raw_shared_cache_size_half): Likewise.
32862 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
32863 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
32864 and __x86_64_raw_shared_cache_size_half. Round
32865 __x86_64_data_cache_size_half, __x86_64_data_cache_size
32866 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
32867 to multiple of 256 bytes.
32868
0e516e0e
MS
328692010-11-03 Ulrich Drepper <drepper@gmail.com>
32870
32871 [BZ #12167]
32872 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
32873 of inacessible symlinks. Verify result of symlink before returning it.
32874 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32875 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
32876
0e012e87
ER
328772010-10-28 Erich Ritz <erichritz@gmail.com>
32878
32879 * math/math.h (isinf): Fix typo in comment.
32880
de0ff7bc
UD
328812010-11-01 Ulrich Drepper <drepper@gmail.com>
32882
32883 * po/da.po: Update from translation team.
32884
fa41c84d
UD
328852010-10-26 Ulrich Drepper <drepper@gmail.com>
32886
32887 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
32888 is added to the list.
32889
f0967738
AK
328902010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32891 Ulrich Drepper <drepper@gmail.com>
32892
32893 * elf/dl-object.c (_dl_new_object): Don't append the new object to
32894 the global list here. Move code to...
32895 (_dl_add_to_namespace_list): ...here. New function.
32896 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
32897 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
32898 * elf/dl-load.c (lose): Don't remove the element from the list.
32899 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
32900 (_dl_map_object): Likewise.
32901
329022010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
32903
32904 [BZ #12159]
32905 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
32906 into all bytes of SSE register.
32907 Patch by Richard Li <richardpku@gmail.com>.
32908
f0967738 329092010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
32910
32911 [BZ #12140]
32912 * malloc/malloc.c (_int_free): Fill correct number of bytes when
32913 perturbing.
32914
d0b9e94f
MB
329152010-10-20 Michael B. Brutman <brutman@us.ibm.com>
32916
32917 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
32918 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
32919 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
32920 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
32922 submachine.
32923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
32924
8e9f92e9
AS
329252010-10-22 Andreas Schwab <schwab@redhat.com>
32926
32927 * include/dlfcn.h (__RTLD_SECURE): Define.
32928 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
32929 mode & __RTLD_SECURE instead.
32930 (open_path): Rename preloaded parameter to secure.
32931 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
32932 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
32933 * elf/dl-deps.c (openaux): Likewise.
32934 * elf/rtld.c (struct map_args): Remove is_preloaded.
32935 (map_doit): Don't use it.
32936 (dl_main): Likewise.
32937 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
32938 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
32939
bc96fbda
AS
329402010-09-09 Andreas Schwab <schwab@redhat.com>
32941
32942 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
32943 (sysd-rules-targets): Remove duplicates.
32944 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
32945 rtld-%.$o dependency.
32946
22cd1c9b
AS
329472010-10-18 Andreas Schwab <schwab@redhat.com>
32948
32949 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
32950 _dl_map_object do it.
32951
18edac48
UD
329522010-10-19 Ulrich Drepper <drepper@gmail.com>
32953
32954 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
32955 fast fma builtins, define the macros in the C99 standard.
32956 (FP_FAST_FMAF): Likewise.
32957 (FP_FAST_FMAL): Likewise.
32958 * sysdeps/x86_64/bits/mathdef.h: Likewise.
32959
32960 * bits/mathdef.h: Update copyright year.
32961 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32962
d2050124
MM
329632010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
32964
32965 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
32966 builtins, define the macros in the C99 standard.
32967 (FP_FAST_FMAF): Likewise.
32968 (FP_FAST_FMAL): Likewise.
32969 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
32970 multiply/add.
32971 (FP_FAST_FMAF): Likewise.
32972
475facd1
JJ
329732010-10-15 Jakub Jelinek <jakub@redhat.com>
32974
32975 [BZ #3268]
32976 * math/libm-test.inc (fma_test): Some new testcases.
32977 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
32978 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
32979 y and infinite z. Do multiplication by C already in long double.
32980 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
32981 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
32982 y and infinite z. Do bitwise or of inexact bit into u.d.
32983 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
32984 * sysdeps/i386/fpu/s_fmaf.S: Removed.
32985 * sysdeps/i386/fpu/s_fma.S: Removed.
32986 * sysdeps/i386/fpu/s_fmal.S: Removed.
32987
7c08a05c
JJ
329882010-10-16 Jakub Jelinek <jakub@redhat.com>
32989
32990 [BZ #3268]
32991 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
32992 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
32993 computation is not scheduled after fetestexcept. Fix value
32994 of minimum denormal long double.
32995
f3f7372d
JJ
329962010-10-14 Jakub Jelinek <jakub@redhat.com>
32997
32998 [BZ #3268]
32999 * math/libm-test.inc (fma_test): Add some more tests.
33000 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
33001 correctly.
33002
14d43591
AS
330032010-10-15 Andreas Schwab <schwab@redhat.com>
33004
33005 * scripts/data/localplt-s390-linux-gnu.data: New file.
33006 * scripts/data/localplt-s390x-linux-gnu.data: New file.
33007
5e908464
JJ
330082010-10-13 Jakub Jelinek <jakub@redhat.com>
33009
33010 [BZ #3268]
33011 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
33012 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
33013 instead of dbl-64.
33014 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
33015 inlines.
33016 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
33017 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
33018 if one of x and y is very large and the other is subnormal.
33019 * sysdeps/s390/fpu/s_fmaf.c: New file.
33020 * sysdeps/s390/fpu/s_fma.c: New file.
33021 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
33022 * sysdeps/powerpc/fpu/s_fma.S: New file.
33023 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
33024 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
33025 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
33026
330272010-10-12 Jakub Jelinek <jakub@redhat.com>
33028
33029 [BZ #3268]
33030 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
33031 fma tests.
33032 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
33033 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
33034 * sysdeps/i386/i686/multiarch/s_fma.c: Include
33035 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
33036 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
33037 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
33038 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
33039
b833d51f
UD
330402010-10-12 Ulrich Drepper <drepper@redhat.com>
33041
33042 [BZ #12078]
33043 * posix/regcomp.c (parse_branch): One more memory leak plugged.
33044 * posix/bug-regex31.input: Add test case.
33045
1751705d
UD
330462010-10-11 Ulrich Drepper <drepper@gmail.com>
33047
e9b9cbf5
UD
33048 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
33049 * posix/bug-regex31.input: New file.
33050
33051 [BZ #12078]
33052 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
33053 (parse_sub_exp): Fix last change, use postorder.
33054
ef06edbe
UD
33055 * posix/bug-regex31.c: New file.
33056 * posix/Makefile: Add rules to build and run bug-regex31.
33057
a129c80d
UD
33058 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
33059
33060 [BZ #12078]
33061 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
33062
b76b818e
UD
33063 [BZ #12108]
33064 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
33065 to have entries in sys_siglist.
33066
1751705d
UD
33067 [BZ #12093]
33068 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
33069 be NULL.
33070
9ff8d36f
JJ
330712010-10-07 Jakub Jelinek <jakub@redhat.com>
33072
33073 [BZ #3268]
33074 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
33075 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
33076 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
33077 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
33078 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33079 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
33080 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
33081 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
33082 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
33083 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
33084 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
33085 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
33086 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33087 * math/ftestexcept.c (fetestexcept): Likewise.
33088 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
33089 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
33090 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
33091 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
33092 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
33093 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
33094 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33095
af325969
UD
330962010-10-11 Ulrich Drepper <drepper@gmail.com>
33097
c579b202 33098 [BZ #12107]
af325969
UD
33099 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
33100 newline.
33101
67a67b95
UD
331022010-10-06 Ulrich Drepper <drepper@gmail.com>
33103
33104 * string/bug-strstr1.c: New file.
33105 * string/Makefile: Add rules to build and run bug-strstr1.
33106
5fb308bc
EB
331072010-10-05 Eric Blake <eblake@redhat.com>
33108
33109 [BZ #12092]
33110 * string/str-two-way.h (two_way_long_needle): Always clear memory
33111 when skipping input due to the shift table.
33112
45db99c7
UD
331132010-10-03 Ulrich Drepper <drepper@gmail.com>
33114
3b111893
UD
33115 [BZ #12005]
33116 * malloc/mcheck.c: Handle large requests.
33117
45db99c7
UD
33118 [BZ #12077]
33119 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
33120 for strncmp and strncasecmp.
33121 * string/stratcliff.c: Add tests for strcmp and strncmp.
33122 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
33123
cf7a1eb8
NI
331242010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33125
33126 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
33127 __set_fpscr.
33128
6484ba5e
AJ
331292010-09-30 Andreas Jaeger <aj@suse.de>
33130
33131 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
33132 (CGROUP_SUPER_MAGIC): Define.
33133 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33134 Handle btrfs and cgroup file systems.
33135 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33136 Likewise.
33137
91c42559
LM
331382010-09-27 Luis Machado <luisgpm@br.ibm.com>
33139
33140 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
33141 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
33142
87a97932
AK
331432010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33144
33145 [BZ #12067]
33146 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
33147 trying to locate the ELF header.
33148
c21cc9bc
AS
331492010-09-27 Andreas Schwab <schwab@redhat.com>
33150
33151 [BZ #11611]
33152 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
33153 Mask out sign-bit copies when constructing f_fsid.
33154
315970f6
PB
331552010-09-24 Petr Baudis <pasky@suse.cz>
33156
33157 * debug/stack_chk_fail_local.c: Add missing licence exception.
33158 * debug/warning-nop.c: Likewise.
33159
1ac7a2c7
JM
331602010-09-15 Joseph Myers <joseph@codesourcery.com>
33161
33162 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
33163 implementing getdents64 using getdents syscall, set d_type if
33164 __ASSUME_GETDENTS32_D_TYPE.
33165
56801c50
AS
331662010-09-16 Andreas Schwab <schwab@redhat.com>
33167
33168 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
33169 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
33170
dda51327
UD
331712010-09-21 Ulrich Drepper <drepper@redhat.com>
33172
33173 [BZ #12037]
33174 * posix/unistd.h: Undo change of feature selection for ftruncate from
33175 2010-01-11.
33176
8ffcee4a
UD
331772010-09-20 Ulrich Drepper <drepper@redhat.com>
33178
a545ecd9 33179 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
33180 detection.
33181
e24f0a8b
AS
331822010-09-20 Andreas Schwab <schwab@redhat.com>
33183
33184 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
33185 fanotify_mark.
33186 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33187
7291c56f
AS
331882010-09-14 Andreas Schwab <schwab@redhat.com>
33189
33190 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
33191 variables after CHECK_SP call.
33192 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
33193
bc5fb037
AS
331942010-09-13 Andreas Schwab <schwab@redhat.com>
33195 Ulrich Drepper <drepper@redhat.com>
33196
33197 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
33198 re-relocationg ld.so.
33199 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
33200 _dl_init_paths call.
33201 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
33202 here anymore.
33203
e66e7419
UD
332042010-09-14 Ulrich Drepper <drepper@redhat.com>
33205
33206 * resolv/res_init.c (__res_vinit): Count the default server we added.
33207
c044aa75
CLT
332082010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
33209 Ulrich Drepper <drepper@redhat.com>
33210
33211 [BZ #11968]
33212 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33213 (____longjmp_chk): Use %ebx for saving value across system call.
33214 Add unwind info.
33215
32cf4069
AS
332162010-09-06 Andreas Schwab <schwab@redhat.com>
33217
33218 * manual/Makefile: Don't mix pattern rules with normal rules.
33219
817328ee
AS
332202010-09-05 Andreas Schwab <schwab@linux-m68k.org>
33221
33222 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
33223 operation.
33224 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
33225 * libio/iofopncook.c (_IO_cookie_init): Likewise.
33226 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
33227 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
33228 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33229 Likewise.
33230
29fddf61
UD
332312010-09-04 Ulrich Drepper <drepper@redhat.com>
33232
33233 [BZ #11979]
33234 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
33235 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
33236
0959ffc9
UD
332372010-09-02 Ulrich Drepper <drepper@redhat.com>
33238
33239 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
33240 * sysdeps/x86_64/addmul_1.S: Likewise.
33241 * sysdeps/x86_64/lshift.S: Likewise.
33242 * sysdeps/x86_64/mul_1.S: Likewise.
33243 * sysdeps/x86_64/rshift.S: Likewise.
33244 * sysdeps/x86_64/sub_n.S: Likewise.
33245 * sysdeps/x86_64/submul_1.S: Likewise.
33246
ece29840
ST
332472010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
33248
0959ffc9
UD
33249 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
33250 Define __sched_param instead of SCHED_* and sched_param when
ece29840 33251 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 33252 * bits/sched.h [__need_schedparam]
ece29840 33253 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
33254 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
33255 (__defined_schedparam): Define to 1.
ece29840
ST
33256 (__sched_param): New structure, identical to sched_param.
33257 (__need_schedparam): Undefine.
33258
e53a31fe
MF
332592010-08-31 Mike Frysinger <vapier@gentoo.org>
33260
fdc0c10d
MF
33261 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
33262 (epoll_create1): Declare.
33263
e53a31fe
MF
33264 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
33265
a726d796
AS
332662010-08-31 Andreas Schwab <schwab@redhat.com>
33267
33268 [BZ #7066]
33269 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
33270 shifting retval into place.
33271
2f3e3dc7
UD
332722010-09-01 Ulrich Drepper <drepper@redhat.com>
33273
f2933da9
UD
33274 * nis/rpcsvc/nis.h: Update copyright notice.
33275 * nis/rpcsvc/nis.x: Likewise.
33276 * nis/rpcsvc/nis_callback.h: Likewise.
33277 * nis/rpcsvc/nis_callback.x: Likewise.
33278 * nis/rpcsvc/nis_object.x: Likewise.
33279 * nis/rpcsvc/nis_tags.h: Likewise.
33280 * nis/rpcsvc/yp.h: Likewise.
33281 * nis/rpcsvc/yp.x: Likewise.
33282 * nis/rpcsvc/ypupd.h: Likewise.
33283 * nis/yp_xdr.c: Likewise.
33284 * nis/ypupdate_xdr.c: Likewise.
33285
2f3e3dc7
UD
33286 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
33287 mainly the body of pmap_getport. Add parameters to specify timeouts.
33288 (pmap_getport): Use __libc_rpc_getport.
33289 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
33290 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
33291 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
33292
f3dcc2f9
AS
332932010-08-31 Andreas Schwab <schwab@linux-m68k.org>
33294
33295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
33296 fanotify_mark.
33297
6d34eb5b
RM
332982010-08-27 Roland McGrath <roland@redhat.com>
33299
33300 * sysdeps/i386/i686/multiarch/Makefile
33301 (CFLAGS-varshift.c): New variable.
33302
9ea3de11
UD
333032010-08-27 Ulrich Drepper <drepper@redhat.com>
33304
c96d23fc
UD
33305 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
33306 * sysdeps/i386/i686/multiarch/varshift.c: New file.
33307
9ea3de11
UD
33308 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
33309
33310 * sysdeps/x86_64/strlen.S: Minimal code improvement.
33311
623aac7f
L
333122010-08-26 H.J. Lu <hongjiu.lu@intel.com>
33313
33314 * sysdeps/x86_64/strlen.S: Unroll the loop.
33315 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33316 strlen-sse2 strlen-sse2-bsf.
33317 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
33318 __strlen_no_bsf if bit_Slow_BSF is set.
33319 (__strlen_sse42): Removed.
33320 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
33321 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
33322
8b2b7715
RM
333232010-08-25 Roland McGrath <roland@redhat.com>
33324
33325 * sysdeps/x86_64/multiarch/varshift.S: File removed.
33326 * sysdeps/x86_64/multiarch/varshift.c: New file.
33327 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
33328 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
33329 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
33330 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33331
e73015f2
L
333322010-08-25 H.J. Lu <hongjiu.lu@intel.com>
33333
33334 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33335 strlen-sse2 strlen-sse2-bsf.
33336 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
33337 __strlen_sse2_bsf if bit_Slow_BSF is unset.
33338 (__strlen_sse2): Removed.
33339 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
33340 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
33341 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33342 bit_Slow_BSF for Atom.
33343 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
33344 (index_Slow_BSF): Define.
33345 (HAS_SLOW_BSF): Define.
33346
df24a73e
UD
333472010-08-25 Ulrich Drepper <drepper@redhat.com>
33348
33349 [BZ #10851]
33350 * resolv/res_init.c (__res_vinit): When no server address at all
33351 is given default to loopback.
33352
f2ac4868
RM
333532010-08-24 Roland McGrath <roland@redhat.com>
33354
09055553
RM
33355 * configure.in: Remove config-name.h generation.
33356 * configure: Regenerated.
33357 * config-name.in: File removed.
33358 * scripts/config-uname.sh: New file.
33359 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
33360 ($(objdir)config-name.h): New target.
33361
f2ac4868
RM
33362 * sunrpc/rpc_parse.h: Avoid nested comment.
33363
73f27d5e
RH
333642010-08-24 Richard Henderson <rth@redhat.com>
33365 Ulrich Drepper <drepper@redhat.com>
33366 H.J. Lu <hongjiu.lu@intel.com>
33367
33368 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
33369 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
33370 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
33371 Replace _mm_srli_si128 with __m128i_shift_right. Replace
33372 _mm_alignr_epi8 with _mm_loadu_si128.
33373 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
33374 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
33375 (__m128i_shift_right): Removed.
33376 * sysdeps/i386/i686/multiarch/varshift.h: New file.
33377 * sysdeps/i386/i686/multiarch/varshift.S: New file.
33378 * sysdeps/x86_64/multiarch/varshift.h: New file.
33379 * sysdeps/x86_64/multiarch/varshift.S: New file.
33380
84b9230c
MF
333812010-08-21 Mike Frysinger <vapier@gentoo.org>
33382
33383 * configure.in: Move assembler checks to before sysdep dir checking.
33384
9bbd0ddc
PB
333852010-08-20 Petr Baudis <pasky@suse.cz>
33386
33387 * LICENSES: Sync the sunrpc license.
33388
9da4bb31
UD
333892010-08-19 Ulrich Drepper <drepper@redhat.com>
33390
a7ab6ec8
UD
33391 * sunrpc/auth_des.c: Update copyright notice once again.
33392 * sunrpc/auth_none.c: Likewise.
33393 * sunrpc/auth_unix.c: Likewise.
33394 * sunrpc/authdes_prot.c: Likewise.
33395 * sunrpc/authuxprot.c: Likewise.
33396 * sunrpc/bindrsvprt.c: Likewise.
33397 * sunrpc/clnt_gen.c: Likewise.
33398 * sunrpc/clnt_perr.c: Likewise.
33399 * sunrpc/clnt_raw.c: Likewise.
33400 * sunrpc/clnt_simp.c: Likewise.
33401 * sunrpc/clnt_tcp.c: Likewise.
33402 * sunrpc/clnt_udp.c: Likewise.
33403 * sunrpc/clnt_unix.c: Likewise.
33404 * sunrpc/des_crypt.c: Likewise.
33405 * sunrpc/des_soft.c: Likewise.
33406 * sunrpc/get_myaddr.c: Likewise.
33407 * sunrpc/getrpcport.c: Likewise.
33408 * sunrpc/key_call.c: Likewise.
33409 * sunrpc/key_prot.c: Likewise.
33410 * sunrpc/openchild.c: Likewise.
33411 * sunrpc/pm_getmaps.c: Likewise.
33412 * sunrpc/pm_getport.c: Likewise.
33413 * sunrpc/pmap_clnt.c: Likewise.
33414 * sunrpc/pmap_prot.c: Likewise.
33415 * sunrpc/pmap_prot2.c: Likewise.
33416 * sunrpc/pmap_rmt.c: Likewise.
33417 * sunrpc/rpc/auth.h: Likewise.
33418 * sunrpc/rpc/auth_unix.h: Likewise.
33419 * sunrpc/rpc/clnt.h: Likewise.
33420 * sunrpc/rpc/des_crypt.h: Likewise.
33421 * sunrpc/rpc/key_prot.h: Likewise.
33422 * sunrpc/rpc/netdb.h: Likewise.
33423 * sunrpc/rpc/pmap_clnt.h: Likewise.
33424 * sunrpc/rpc/pmap_prot.h: Likewise.
33425 * sunrpc/rpc/pmap_rmt.h: Likewise.
33426 * sunrpc/rpc/rpc.h: Likewise.
33427 * sunrpc/rpc/rpc_des.h: Likewise.
33428 * sunrpc/rpc/rpc_msg.h: Likewise.
33429 * sunrpc/rpc/svc.h: Likewise.
33430 * sunrpc/rpc/svc_auth.h: Likewise.
33431 * sunrpc/rpc/types.h: Likewise.
33432 * sunrpc/rpc/xdr.h: Likewise.
33433 * sunrpc/rpc_clntout.c: Likewise.
33434 * sunrpc/rpc_cmsg.c: Likewise.
33435 * sunrpc/rpc_common.c: Likewise.
33436 * sunrpc/rpc_cout.c: Likewise.
33437 * sunrpc/rpc_dtable.c: Likewise.
33438 * sunrpc/rpc_hout.c: Likewise.
33439 * sunrpc/rpc_main.c: Likewise.
33440 * sunrpc/rpc_parse.c: Likewise.
33441 * sunrpc/rpc_parse.h: Likewise.
33442 * sunrpc/rpc_prot.c: Likewise.
33443 * sunrpc/rpc_sample.c: Likewise.
33444 * sunrpc/rpc_scan.c: Likewise.
33445 * sunrpc/rpc_scan.h: Likewise.
33446 * sunrpc/rpc_svcout.c: Likewise.
33447 * sunrpc/rpc_tblout.c: Likewise.
33448 * sunrpc/rpc_util.c: Likewise.
33449 * sunrpc/rpc_util.h: Likewise.
33450 * sunrpc/rpcinfo.c: Likewise.
33451 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
33452 * sunrpc/rpcsvc/key_prot.x: Likewise.
33453 * sunrpc/rpcsvc/klm_prot.x: Likewise.
33454 * sunrpc/rpcsvc/mount.x: Likewise.
33455 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
33456 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
33457 * sunrpc/rpcsvc/rex.x: Likewise.
33458 * sunrpc/rpcsvc/rstat.x: Likewise.
33459 * sunrpc/rpcsvc/rusers.x: Likewise.
33460 * sunrpc/rpcsvc/sm_inter.x: Likewise.
33461 * sunrpc/rpcsvc/spray.x: Likewise.
33462 * sunrpc/rpcsvc/yppasswd.x: Likewise.
33463 * sunrpc/rtime.c: Likewise.
33464 * sunrpc/svc.c: Likewise.
33465 * sunrpc/svc_auth.c: Likewise.
33466 * sunrpc/svc_authux.c: Likewise.
33467 * sunrpc/svc_raw.c: Likewise.
33468 * sunrpc/svc_run.c: Likewise.
33469 * sunrpc/svc_simple.c: Likewise.
33470 * sunrpc/svc_tcp.c: Likewise.
33471 * sunrpc/svc_udp.c: Likewise.
33472 * sunrpc/svc_unix.c: Likewise.
33473 * sunrpc/svcauth_des.c: Likewise.
33474 * sunrpc/xcrypt.c: Likewise.
33475 * sunrpc/xdr.c: Likewise.
33476 * sunrpc/xdr_array.c: Likewise.
33477 * sunrpc/xdr_float.c: Likewise.
33478 * sunrpc/xdr_mem.c: Likewise.
33479 * sunrpc/xdr_rec.c: Likewise.
33480 * sunrpc/xdr_ref.c: Likewise.
33481 * sunrpc/xdr_sizeof.c: Likewise.
33482 * sunrpc/xdr_stdio.c: Likewise.
33483
9da4bb31
UD
33484 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
33485 handling.
33486
bdaa77bc
AS
334872010-08-19 Andreas Schwab <schwab@redhat.com>
33488
33489 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
33490
fe2f79db
LM
334912010-08-19 Luis Machado <luisgpm@br.ibm.com>
33492
33493 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
33494 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
33495 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
33496 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
33497 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
33498 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
33499 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
33500 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
33501 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
33502 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
33503 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
33504 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
33505 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
33506 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
33507
b9b42ee0
AB
335082010-07-26 Anton Blanchard <anton@samba.org>
33509
33510 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
33511 * malloc/arena.c (heap_trim): Likewise.
33512
1c06ba31
UD
335132010-08-16 Ulrich Drepper <drepper@redhat.com>
33514
33515 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
33516 here. Not...
33517 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
33518 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
33519
f8392f40
L
335202010-08-12 H.J. Lu <hongjiu.lu@intel.com>
33521
33522 * sysdeps/i386/elf/Makefile: New file.
33523
3162f12e
AS
335242010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33525
33526 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
33527 from fanotify_init.
33528 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
33529 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33530
28c90b2c
UD
335312010-08-15 Ulrich Drepper <drepper@redhat.com>
33532
33533 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
33534 of strncasecmp_l.
1feccb6c 33535 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 33536
ca6bb004
UD
335372010-08-14 Ulrich Drepper <drepper@redhat.com>
33538
e9f82e0d
UD
33539 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33540 strncase_l-nonascii.
33541 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33542 Add strncase_l-ssse3.
33543 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
33544 * sysdeps/x86_64/strcmp.S: Likewise.
33545 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
33546 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
33547 * sysdeps/x86_64/strncase.S: New file.
33548 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
33549 * sysdeps/x86_64/strncase_l.S: New file.
33550 * string/Makefile (strop-tests): Add strncasecmp.
33551 * string/test-strncasecmp.c: New file.
33552
33553 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
33554 warning.
33555
ca6bb004
UD
33556 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
33557 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
33558
052fa7b3
AS
335592010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33560
33561 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
33562
962dba78
UD
335632010-08-12 Ulrich Drepper <drepper@redhat.com>
33564
33565 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
33566 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
33567 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
33568
bebff237
AM
335692010-05-01 Alan Modra <amodra@gmail.com>
33570
33571 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
33572 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
33573 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
33574 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
33575 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
33576 tidying. Don't tail-call __sigjmp_save for static lib.
33577 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
33578 save location.
33579 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
33580 (CALL_MCOUNT): Add eh info, and nop after bl.
33581 (TAIL_CALL_SYSCALL_ERROR): New macro.
33582 (PSEUDO_RET): Use it.
33583 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
33584 Correct save location of integer regs and cr.
33585 (_dl_profile_resolve): Correct cr save location. Delete nops
33586 after bl when SHARED. Reduce cfi size a little by better
33587 placement of cfi directives.
33588 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
33589 make a stack frame. Instead use parm save area as a temp.
33590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
33591 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
33592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
33593 Don't make a stack frame for parent, use parm save area.
33594 Increase child stack frame to 112 bytes. Don't save unused reg,
33595 and adjust reg usage. Set up cfi on error recovery and
33596 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
33597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33598 (__makecontext): Add dummy nop after jump to exit.
33599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
33600 Use correct parm save area and cr save, reduce stack frame.
33601 Correct cfi for possible PSEUDO_RET frame setup.
33602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
33603 Branch to local label emitted by PSEUDO_RET rather than
33604 __syscall_error.
33605
02637374
AS
336062010-08-12 Andreas Schwab <schwab@redhat.com>
33607
33608 [BZ #11904]
33609 * locale/programs/locale.c (print_assignment): New function.
33610 (show_locale_vars): Use it.
33611
c3e2f19b
UD
336122010-08-11 Ulrich Drepper <drepper@redhat.com>
33613
3cdaa6ad
UD
33614 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
33615 field.
33616 (struct statfs64): Likewise.
33617 (_STATFS_F_FLAGS): Define.
33618 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
33619 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33620 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
33621 (ST_VALID): Define locally.
33622 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
33623 __statvfs_getflags, use the provided value.
33624 * sysdeps/unix/sysv/linux/kernel-features.h: Define
33625 __ASSUME_STATFS_F_FLAGS.
33626
754f7da3
UD
33627 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
33628
10b3bedc
UD
33629 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
33630 Add sys/fanotify.h.
33631 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
33632 fanotify_mask for GLIBC_2.13.
33633 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
33634 fanotify_init and fanotify_mark.
33635 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33636 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
33637
c08fb0d7
UD
33638 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
33639 Add prlimit.
33640 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
33641 prlimit64 for GLIBC_2.13.
33642 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
33643 prlimit64.
33644 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
33645 syscall.
33646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
33647 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33648 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
33649 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
33650 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
33651 add prlimit alias.
33652 * sysdeps/unix/sysv/linux/prlimit.c: New file.
33653
15bac72b
UD
33654 [BZ #11903]
33655 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
33656 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
33657
c3e2f19b
UD
33658 * nss/Makefile: Add rules to build and run tst-nss-test1.
33659 * shlib-versions: Add entry for libnss_test1.
33660 * nss/nss_test1.c: New file.
33661 * nss/tst-nss-test1.c: New file.
33662
33663 * nss/nsswitch.c (__nss_database_custom): Define new variable.
33664 (__nss_configure_lookup): Set appropriate entry in
33665 __nss_configure_lookup to true.
33666 * nss/nsswitch.h: Define enum with indeces of databases in
33667 databases and __nss_database_custom arrays. Declare
33668 __nss_database_custom.
33669 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
33670 to avoid using nscd when custom rules are installed.
33671 * nss/getXXbyYY_r.c: Likewise.
33672 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33673
33674 * nss/nss_files/files-parse.c: Whitespace fixes.
33675
f15ce4d8
UD
336762010-08-09 Ulrich Drepper <drepper@redhat.com>
33677
33678 [BZ #11883]
33679 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
33680 * posix/fnmatch_loop.c: Likewise.
33681
d22e4cc9
AK
336822010-07-17 Andi Kleen <ak@linux.intel.com>
33683
33684 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
33685 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
33686 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
33687 * Versions.def [GLIBC_2.13]: Add.
33688
805bc17d
UD
336892010-08-06 Ulrich Drepper <drepper@redhat.com>
33690
33691 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33692 Also fail if tpwd after pwuid call is NULL.
33693
5a42321d
ST
336942010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
33695
33696 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
33697 when converting to ms.
33698
fd3ebeda
ST
336992010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33700
33701 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
33702 EOPNOTSUPP errors with ENOTTY.
33703 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
33704 EOPNOTSUPP errors with ENOTTY.
33705
73507d3a
UD
337062010-07-31 Ulrich Drepper <drepper@redhat.com>
33707
33708 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33709 Add strcasecmp_l-ssse3.
33710 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
33711 strcasecmp.
33712 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
33713 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
33714 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
33715
fe36dd02
UD
337162010-07-30 Ulrich Drepper <drepper@redhat.com>
33717
66f6765a
UD
33718 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
33719
42e08a54
UD
33720 * string/Makefile (strop-tests): Add strcasecmp.
33721 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33722 strcasecmp_l-nonascii.
33723 (gen-as-const-headers): Add locale-defines.sym.
33724 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
33725 * sysdeps/x86_64/strcasecmp.S: New file.
33726 * sysdeps/x86_64/strcasecmp_l.S: New file.
33727 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
33728 * sysdeps/x86_64/locale-defines.sym: New file.
33729 * string/test-strcasecmp.c: New file.
33730
fe36dd02
UD
33731 * string/test-strcasestr.c: Test both ends of the range of characters.
33732 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
33733
48cbc0d6
RM
337342010-07-29 Roland McGrath <roland@redhat.com>
33735
76e6d6bc 33736 [BZ #11856]
48cbc0d6
RM
33737 * manual/locale.texi (Yes-or-No Questions): Fix example code.
33738
880113d9
UD
337392010-07-27 Ulrich Drepper <drepper@redhat.com>
33740
33741 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
33742 for ld.so.
33743
deb9cabb
AS
337442010-07-27 Andreas Schwab <schwab@redhat.com>
33745
33746 * manual/memory.texi (Malloc Tunable Parameters): Document
33747 M_PERTURB.
33748
1c7570ff
RM
337492010-07-26 Roland McGrath <roland@redhat.com>
33750
33751 [BZ #11840]
33752 * configure.in (-fgnu89-inline check): Set and substitute
33753 gnu89_inline, not libc_cv_gnu89_inline.
33754 * configure: Regenerated.
33755 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
33756
24fb0f88
UD
337572010-07-26 Ulrich Drepper <drepper@redhat.com>
33758
33759 * string/test-strnlen.c: New file.
33760 * string/Makefile (strop-tests): Add strnlen.
33761 * string/tester.c (test_strnlen): Add a few more test cases.
33762 * string/tst-strlen.c: Better error reporting.
33763
33764 * sysdeps/x86_64/strnlen.S: New file.
33765
8e96b93a
UD
337662010-07-24 Ulrich Drepper <drepper@redhat.com>
33767
33768 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
33769 lower-latency instructions.
33770
dbc676d4
UD
337712010-07-23 Ulrich Drepper <drepper@redhat.com>
33772
33773 * string/test-strcasestr.c: New file.
33774 * string/test-strstr.c: New file.
33775 * string/Makefile (strop-tests): Add strstr and strcasestr.
33776 * string/str-two-way.h: Don't undefine MAX.
33777 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
33778
f6a31e0e
AS
337792010-07-21 Andreas Schwab <schwab@redhat.com>
33780
33781 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33782 strcasestr-nonascii.
33783 (CFLAGS-strcasestr-nonascii.c): Define.
33784 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
33785 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
33786 Remove unused attribute.
33787
5dbc3b6c
RM
337882010-07-20 Roland McGrath <roland@redhat.com>
33789
33790 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
33791 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
33792 ld.so.cache was broken. With it, there is no way to disable dsocaps
33793 like LD_HWCAP_MASK can disable hwcaps.
33794
23d101d8
EPM
337952010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33796
33797 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
33798
cc9f2e47
UD
337992010-07-16 Ulrich Drepper <drepper@redhat.com>
33800
33801 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
33802 call in strcasestr.
33803 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
33804 __strcasestr_sse42_nonascii.
33805 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
33806 strcasestr-nonascii.c.
33807 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
33808
77c1b069
LM
338092010-06-15 Luis Machado <luisgpm@br.ibm.com>
33810
33811 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
33812 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
33813 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
33814 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
33815
440566c3
UD
338162010-07-09 Ulrich Drepper <drepper@redhat.com>
33817
33818 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
33819 fcntl.
33820
5be9d05d
AS
338212010-07-06 Andreas Schwab <schwab@redhat.com>
33822
c30b7ee2 33823 [BZ #11577]
5be9d05d
AS
33824 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
33825 dl_signal_cerror.
33826
8a492a67
UD
338272010-07-06 Ulrich Drepper <drepper@redhat.com>
33828
33829 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
33830 _PC_PIPE_BUF using F_GETPIPE_SZ.
33831
713df3d5
RM
338322010-07-05 Roland McGrath <roland@redhat.com>
33833
33834 * manual/arith.texi (Rounding Functions): Fix rint description
33835 implicit in round description.
33836
702e8f14
UD
338372010-07-02 Ulrich Drepper <drepper@redhat.com>
33838
33839 * elf/Makefile: Fix linking for a few tests to make recent linker
33840 happy.
33841
52ed8be9
AS
338422010-06-30 Andreas Schwab <schwab@redhat.com>
33843
33844 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33845 $(common-objpfx)libc_nonshared.a.
33846
f47c9a11
LM
338472010-06-21 Luis Machado <luisgpm@br.ibm.com>
33848
33849 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
33850 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
33851 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33852 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33853 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
33854 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
33855 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33856 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
33858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
33859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
33860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
33862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
33864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
33865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
33866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
33867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
33869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
33871 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
33872 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
33873 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
33874 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
33875 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
33876 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
33877 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
33878 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
33879 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
33880 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
33881 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
33882 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
33883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
33884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
33885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
33886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
33887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
33888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
33889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
33890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
33891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
33892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
33893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
33894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
33895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
33896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
33897
6fb8cbcb
L
338982010-06-25 H.J. Lu <hongjiu.lu@intel.com>
33899
33900 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
33901 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
33902 * string/memmove.c (memmove): Renamed to ...
33903 (MEMMOVE): ...this. Default to memmove.
33904 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
33905 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
33906 (END_CHK): Define.
33907 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33908 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
33909 mempcpy-ssse3-back memmove-ssse3-back.
33910 * sysdeps/x86_64/multiarch/bcopy.S: New file .
33911 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
33912 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
33913 * sysdeps/x86_64/multiarch/memcpy.S: New file.
33914 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
33915 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
33916 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
33917 * sysdeps/x86_64/multiarch/memmove.c: New file.
33918 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
33919 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
33920 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
33921 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
33922 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
33923 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
33924 Define.
33925 (index_Fast_Copy_Backward): Define.
33926 (HAS_ARCH_FEATURE): Define.
33927 (HAS_FAST_REP_STRING): Define.
33928 (HAS_FAST_COPY_BACKWARD): Define.
33929
4e733bac 339302010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
33931
33932 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33933 Restore proper fallback handling.
33934
63c4ed22
UD
339352010-06-19 Ulrich Drepper <drepper@redhat.com>
33936
ac2b484c
UD
33937 [BZ #11701]
33938 * posix/group_member.c (__group_member): Correct checking loop.
33939
63c4ed22
UD
33940 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
33941 OOM in getpwuid_r correctly. Return error number when the caller
33942 should return, otherwise -1.
33943 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
33944 call returning > 0 value.
33945 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
33946
765ade4b
AS
339472010-06-07 Andreas Schwab <schwab@redhat.com>
33948
33949 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
33950 libc_nonshared.a from targets in modules-names.
33951
80da2e09
KS
339522010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
33953
33954 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33955 requires it.
33956
158db122
LM
339572010-06-10 Luis Machado <luisgpm@br.ibm.com>
33958
33959 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
33960 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
33961 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
33962 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
33963
caa78cf8
AS
339642010-06-02 Andreas Schwab <schwab@redhat.com>
33965
33966 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
33967
b2ef2c01
UD
339682010-06-14 Ulrich Drepper <drepper@redhat.com>
33969
33970 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
33971 and F_GETPIPE_SZ.
33972 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33973 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33974 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33975 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33976 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33977 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
33978
fbd643b6
RM
339792010-06-14 Roland McGrath <roland@redhat.com>
33980
33981 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
33982
f32f2869
JJ
339832010-06-07 Jakub Jelinek <jakub@redhat.com>
33984
33985 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
33986 __REDIRECT followed by __THROW.
33987 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
33988 * posix/getopt.h (getopt): Likewise.
33989
2a50c078
EPM
339902010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33991
33992 * hurd/lookup-at.c (__file_name_lookup_at): Accept
33993 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
33994 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
33995 in AT_FLAGS.
33996 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33997 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33998
eb5ad2eb
LM
339992010-05-28 Luis Machado <luisgpm@br.ibm.com>
34000
34001 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
34002
3c88fe1e
L
340032010-05-26 H.J. Lu <hongjiu.lu@intel.com>
34004
34005 [BZ #11640]
34006 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34007 Properly check family and model.
34008
d2f73151
TY
340092010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
34010
34011 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
34012
ebd2e13d
LM
340132010-05-24 Luis Machado <luisgpm@br.ibm.com>
34014
34015 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
34016
b32b8b45
UD
340172010-05-21 Ulrich Drepper <drepper@redhat.com>
34018
34019 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
34020 symbol reference.
34021
9acbe24d
AS
340222010-05-19 Andreas Schwab <schwab@redhat.com>
34023
34024 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
34025 symbol reference.
34026
f0ccf6ea
AS
340272010-05-21 Andreas Schwab <schwab@redhat.com>
34028
3d04ff3a
AS
34029 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
34030 and internal_recvmmsg.
34031 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
34032 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
34033 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
34034 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
34035
f0ccf6ea
AS
34036 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
34037 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34038 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34039
5b08ac57
AS
340402010-05-20 Andreas Schwab <schwab@redhat.com>
34041
34042 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
34043
4828935d
LM
340442010-05-17 Luis Machado <luisgpm@br.ibm.com>
34045
34046 POWER7 optimizations.
34047 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
34048 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
34049
373d545e
UD
340502010-05-19 Ulrich Drepper <drepper@redhat.com>
34051
34052 * version.h: Update for 2.13 development version.
34053
21a2b1ae
AS
340542010-05-12 Andrew Stubbs <ams@codesourcery.com>
34055
34056 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
34057 exceptions. Return 0.
34058
3f7dcb2b
RM
340592010-05-07 Roland McGrath <roland@redhat.com>
34060
34061 * elf/ldconfig.c (main): Add a const.
34062
5f24d53a 340632010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 34064
a160f8d8
UD
34065 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
34066 (args_options): Add no-idn option.
34067 (ahosts_keys_int): Add idn_flags to ai_flags.
34068 (parse_option): Handle 'i' option to clear idn_flags.
34069
5f24d53a
UD
34070 * malloc/malloc.c (_int_free): Possible race in the most recently
34071 added check. Only act on the data if no current modification
34072 happened.
265bb1ce
UD
34073
34074See ChangeLog.17 for earlier changes.
This page took 4.514544 seconds and 5 git commands to generate.